@abraca/nuxt 1.8.2 → 2.0.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 +27 -2
- package/dist/module.d.mts +4 -3
- package/dist/module.json +1 -1
- package/dist/module.mjs +50 -4
- package/dist/runtime/components/ADocumentTree.vue +1 -1
- package/dist/runtime/components/AEditor.d.vue.ts +26 -1
- package/dist/runtime/components/AEditor.vue +153 -4
- package/dist/runtime/components/AEditor.vue.d.ts +26 -1
- package/dist/runtime/components/AIdentityModal.d.vue.ts +46 -0
- package/dist/runtime/components/AIdentityModal.vue +157 -0
- package/dist/runtime/components/AIdentityModal.vue.d.ts +46 -0
- package/dist/runtime/components/AMnemonicLoginModal.d.vue.ts +35 -0
- package/dist/runtime/components/AMnemonicLoginModal.vue +173 -0
- package/dist/runtime/components/AMnemonicLoginModal.vue.d.ts +35 -0
- package/dist/runtime/components/ANodePanel.d.vue.ts +29 -2
- package/dist/runtime/components/ANodePanel.vue +148 -27
- package/dist/runtime/components/ANodePanel.vue.d.ts +29 -2
- package/dist/runtime/components/ANodePanelHeader.d.vue.ts +64 -0
- package/dist/runtime/components/ANodePanelHeader.vue +105 -0
- package/dist/runtime/components/ANodePanelHeader.vue.d.ts +64 -0
- package/dist/runtime/components/ANodeSettingsPanel.d.vue.ts +49 -0
- package/dist/runtime/components/ANodeSettingsPanel.vue +59 -0
- package/dist/runtime/components/ANodeSettingsPanel.vue.d.ts +49 -0
- package/dist/runtime/components/ANotificationBell.d.vue.ts +26 -0
- package/dist/runtime/components/ANotificationBell.vue +55 -0
- package/dist/runtime/components/ANotificationBell.vue.d.ts +26 -0
- package/dist/runtime/components/AOfflineSync.d.vue.ts +11 -0
- package/dist/runtime/components/AOfflineSync.vue +217 -0
- package/dist/runtime/components/AOfflineSync.vue.d.ts +11 -0
- package/dist/runtime/components/ARecoveryPhraseDisplay.d.vue.ts +26 -0
- package/dist/runtime/components/ARecoveryPhraseDisplay.vue +94 -0
- package/dist/runtime/components/ARecoveryPhraseDisplay.vue.d.ts +26 -0
- package/dist/runtime/components/AServerInfoModal.d.vue.ts +43 -0
- package/dist/runtime/components/AServerInfoModal.vue +150 -0
- package/dist/runtime/components/AServerInfoModal.vue.d.ts +43 -0
- package/dist/runtime/components/ASpaceFormModal.vue +1 -1
- package/dist/runtime/components/aware/AAccordion.d.vue.ts +25 -0
- package/dist/runtime/components/aware/AAccordion.vue +107 -0
- package/dist/runtime/components/aware/AAccordion.vue.d.ts +25 -0
- package/dist/runtime/components/aware/AArea.vue +24 -11
- package/dist/runtime/components/aware/AAvatar.d.vue.ts +6 -0
- package/dist/runtime/components/aware/AAvatar.vue +33 -3
- package/dist/runtime/components/aware/AAvatar.vue.d.ts +6 -0
- package/dist/runtime/components/aware/AAvatarGroup.d.vue.ts +10 -0
- package/dist/runtime/components/aware/AAvatarGroup.vue +30 -0
- package/dist/runtime/components/aware/AAvatarGroup.vue.d.ts +10 -0
- package/dist/runtime/components/aware/AButton.d.vue.ts +4 -2
- package/dist/runtime/components/aware/AButton.vue +46 -14
- package/dist/runtime/components/aware/AButton.vue.d.ts +4 -2
- package/dist/runtime/components/aware/ACalendar.d.vue.ts +17 -0
- package/dist/runtime/components/aware/ACalendar.vue +145 -0
- package/dist/runtime/components/aware/ACalendar.vue.d.ts +17 -0
- package/dist/runtime/components/aware/ACarousel.d.vue.ts +25 -0
- package/dist/runtime/components/aware/ACarousel.vue +39 -0
- package/dist/runtime/components/aware/ACarousel.vue.d.ts +25 -0
- package/dist/runtime/components/aware/ACheckbox.d.vue.ts +11 -0
- package/dist/runtime/components/aware/ACheckbox.vue +74 -0
- package/dist/runtime/components/aware/ACheckbox.vue.d.ts +11 -0
- package/dist/runtime/components/aware/ACheckboxGroup.d.vue.ts +27 -0
- package/dist/runtime/components/aware/ACheckboxGroup.vue +79 -0
- package/dist/runtime/components/aware/ACheckboxGroup.vue.d.ts +27 -0
- package/dist/runtime/components/aware/ACollapsible.d.vue.ts +25 -0
- package/dist/runtime/components/aware/ACollapsible.vue +45 -0
- package/dist/runtime/components/aware/ACollapsible.vue.d.ts +25 -0
- package/dist/runtime/components/aware/AColorPicker.d.vue.ts +15 -0
- package/dist/runtime/components/aware/AColorPicker.vue +48 -0
- package/dist/runtime/components/aware/AColorPicker.vue.d.ts +15 -0
- package/dist/runtime/components/aware/ACommandPalette.d.vue.ts +33 -0
- package/dist/runtime/components/aware/ACommandPalette.vue +123 -0
- package/dist/runtime/components/aware/ACommandPalette.vue.d.ts +33 -0
- package/dist/runtime/components/aware/AContextMenu.d.vue.ts +25 -0
- package/dist/runtime/components/aware/AContextMenu.vue +63 -0
- package/dist/runtime/components/aware/AContextMenu.vue.d.ts +25 -0
- package/dist/runtime/components/aware/ADrawer.d.vue.ts +25 -0
- package/dist/runtime/components/aware/ADrawer.vue +57 -0
- package/dist/runtime/components/aware/ADrawer.vue.d.ts +25 -0
- package/dist/runtime/components/aware/ADropdownMenu.d.vue.ts +25 -0
- package/dist/runtime/components/aware/ADropdownMenu.vue +63 -0
- package/dist/runtime/components/aware/ADropdownMenu.vue.d.ts +25 -0
- package/dist/runtime/components/aware/AFileUpload.d.vue.ts +27 -0
- package/dist/runtime/components/aware/AFileUpload.vue +67 -0
- package/dist/runtime/components/aware/AFileUpload.vue.d.ts +27 -0
- package/dist/runtime/components/aware/AFollowBar.d.vue.ts +21 -0
- package/dist/runtime/components/aware/AFollowBar.vue +62 -0
- package/dist/runtime/components/aware/AFollowBar.vue.d.ts +21 -0
- package/dist/runtime/components/aware/AFollowScroll.d.vue.ts +7 -0
- package/dist/runtime/components/aware/AFollowScroll.vue +17 -0
- package/dist/runtime/components/aware/AFollowScroll.vue.d.ts +7 -0
- package/dist/runtime/components/aware/AFormSync.d.vue.ts +21 -0
- package/dist/runtime/components/aware/AFormSync.vue +52 -0
- package/dist/runtime/components/aware/AFormSync.vue.d.ts +21 -0
- package/dist/runtime/components/aware/AGlobalFocusLayer.d.vue.ts +3 -0
- package/dist/runtime/components/aware/AGlobalFocusLayer.vue +90 -0
- package/dist/runtime/components/aware/AGlobalFocusLayer.vue.d.ts +3 -0
- package/dist/runtime/components/aware/AHoverItem.d.vue.ts +27 -0
- package/dist/runtime/components/aware/AHoverItem.vue +124 -0
- package/dist/runtime/components/aware/AHoverItem.vue.d.ts +27 -0
- package/dist/runtime/components/aware/AInput.d.vue.ts +12 -2
- package/dist/runtime/components/aware/AInput.vue +72 -19
- package/dist/runtime/components/aware/AInput.vue.d.ts +12 -2
- package/dist/runtime/components/aware/AInputMenu.d.vue.ts +17 -0
- package/dist/runtime/components/aware/AInputMenu.vue +138 -0
- package/dist/runtime/components/aware/AInputMenu.vue.d.ts +17 -0
- package/dist/runtime/components/aware/AInputNumber.d.vue.ts +15 -0
- package/dist/runtime/components/aware/AInputNumber.vue +67 -0
- package/dist/runtime/components/aware/AInputNumber.vue.d.ts +15 -0
- package/dist/runtime/components/aware/AInputTags.d.vue.ts +15 -0
- package/dist/runtime/components/aware/AInputTags.vue +67 -0
- package/dist/runtime/components/aware/AInputTags.vue.d.ts +15 -0
- package/dist/runtime/components/aware/AKeyHint.d.vue.ts +3 -0
- package/dist/runtime/components/aware/AKeyHint.vue +23 -0
- package/dist/runtime/components/aware/AKeyHint.vue.d.ts +3 -0
- package/dist/runtime/components/aware/AMedia.d.vue.ts +19 -0
- package/dist/runtime/components/aware/AMedia.vue +85 -0
- package/dist/runtime/components/aware/AMedia.vue.d.ts +19 -0
- package/dist/runtime/components/aware/AModal.d.vue.ts +33 -0
- package/dist/runtime/components/aware/AModal.vue +110 -0
- package/dist/runtime/components/aware/AModal.vue.d.ts +33 -0
- package/dist/runtime/components/aware/ANavigationMenu.d.vue.ts +25 -0
- package/dist/runtime/components/aware/ANavigationMenu.vue +82 -0
- package/dist/runtime/components/aware/ANavigationMenu.vue.d.ts +25 -0
- package/dist/runtime/components/aware/APagination.d.vue.ts +13 -0
- package/dist/runtime/components/aware/APagination.vue +53 -0
- package/dist/runtime/components/aware/APagination.vue.d.ts +13 -0
- package/dist/runtime/components/aware/APeerCaretLayer.d.vue.ts +10 -0
- package/dist/runtime/components/aware/APeerCaretLayer.vue +133 -0
- package/dist/runtime/components/aware/APeerCaretLayer.vue.d.ts +10 -0
- package/dist/runtime/components/aware/APinInput.d.vue.ts +15 -0
- package/dist/runtime/components/aware/APinInput.vue +48 -0
- package/dist/runtime/components/aware/APinInput.vue.d.ts +15 -0
- package/dist/runtime/components/aware/APopover.d.vue.ts +25 -0
- package/dist/runtime/components/aware/APopover.vue +57 -0
- package/dist/runtime/components/aware/APopover.vue.d.ts +25 -0
- package/dist/runtime/components/aware/APresenceBlobs.d.vue.ts +3 -0
- package/dist/runtime/components/aware/APresenceBlobs.vue +69 -0
- package/dist/runtime/components/aware/APresenceBlobs.vue.d.ts +3 -0
- package/dist/runtime/components/aware/APresenceCursors.d.vue.ts +20 -0
- package/dist/runtime/components/aware/APresenceCursors.vue +47 -0
- package/dist/runtime/components/aware/APresenceCursors.vue.d.ts +20 -0
- package/dist/runtime/components/aware/ARadioGroup.d.vue.ts +27 -0
- package/dist/runtime/components/aware/ARadioGroup.vue +86 -0
- package/dist/runtime/components/aware/ARadioGroup.vue.d.ts +27 -0
- package/dist/runtime/components/aware/AScroll.d.vue.ts +25 -0
- package/dist/runtime/components/aware/AScroll.vue +87 -0
- package/dist/runtime/components/aware/AScroll.vue.d.ts +25 -0
- package/dist/runtime/components/aware/ASelect.d.vue.ts +12 -2
- package/dist/runtime/components/aware/ASelect.vue +146 -22
- package/dist/runtime/components/aware/ASelect.vue.d.ts +12 -2
- package/dist/runtime/components/aware/ASelectMenu.d.vue.ts +17 -0
- package/dist/runtime/components/aware/ASelectMenu.vue +139 -0
- package/dist/runtime/components/aware/ASelectMenu.vue.d.ts +17 -0
- package/dist/runtime/components/aware/ASlideover.d.vue.ts +33 -0
- package/dist/runtime/components/aware/ASlideover.vue +110 -0
- package/dist/runtime/components/aware/ASlideover.vue.d.ts +33 -0
- package/dist/runtime/components/aware/ASlider.d.vue.ts +19 -0
- package/dist/runtime/components/aware/ASlider.vue +77 -0
- package/dist/runtime/components/aware/ASlider.vue.d.ts +19 -0
- package/dist/runtime/components/aware/AStepper.d.vue.ts +25 -0
- package/dist/runtime/components/aware/AStepper.vue +82 -0
- package/dist/runtime/components/aware/AStepper.vue.d.ts +25 -0
- package/dist/runtime/components/aware/ASwitch.d.vue.ts +11 -0
- package/dist/runtime/components/aware/ASwitch.vue +75 -0
- package/dist/runtime/components/aware/ASwitch.vue.d.ts +11 -0
- package/dist/runtime/components/aware/ATable.d.vue.ts +23 -0
- package/dist/runtime/components/aware/ATable.vue +97 -0
- package/dist/runtime/components/aware/ATable.vue.d.ts +23 -0
- package/dist/runtime/components/aware/ATabs.d.vue.ts +27 -0
- package/dist/runtime/components/aware/ATabs.vue +128 -0
- package/dist/runtime/components/aware/ATabs.vue.d.ts +27 -0
- package/dist/runtime/components/aware/ATextarea.d.vue.ts +12 -2
- package/dist/runtime/components/aware/ATextarea.vue +72 -19
- package/dist/runtime/components/aware/ATextarea.vue.d.ts +12 -2
- package/dist/runtime/components/aware/AToggleGroup.d.vue.ts +27 -0
- package/dist/runtime/components/aware/AToggleGroup.vue +79 -0
- package/dist/runtime/components/aware/AToggleGroup.vue.d.ts +27 -0
- package/dist/runtime/components/aware/ATree.d.vue.ts +27 -0
- package/dist/runtime/components/aware/ATree.vue +111 -0
- package/dist/runtime/components/aware/ATree.vue.d.ts +27 -0
- package/dist/runtime/components/chat/AChatPanel.d.vue.ts +6 -6
- package/dist/runtime/components/chat/AChatPanel.vue.d.ts +6 -6
- package/dist/runtime/components/chat/ANodeChatPanel.d.vue.ts +42 -0
- package/dist/runtime/components/chat/ANodeChatPanel.vue +53 -0
- package/dist/runtime/components/chat/ANodeChatPanel.vue.d.ts +42 -0
- package/dist/runtime/components/docs/ADocsNavigation.d.vue.ts +155 -0
- package/dist/runtime/components/docs/ADocsNavigation.vue +154 -0
- package/dist/runtime/components/docs/ADocsNavigation.vue.d.ts +155 -0
- package/dist/runtime/components/docs/ADocsSearch.d.vue.ts +249 -0
- package/dist/runtime/components/docs/ADocsSearch.vue +187 -0
- package/dist/runtime/components/docs/ADocsSearch.vue.d.ts +249 -0
- package/dist/runtime/components/docs/ADocsSearchButton.d.vue.ts +253 -0
- package/dist/runtime/components/docs/ADocsSearchButton.vue +99 -0
- package/dist/runtime/components/docs/ADocsSearchButton.vue.d.ts +253 -0
- package/dist/runtime/components/docs/ADocsSurround.d.vue.ts +56 -0
- package/dist/runtime/components/docs/ADocsSurround.vue +68 -0
- package/dist/runtime/components/docs/ADocsSurround.vue.d.ts +56 -0
- package/dist/runtime/components/docs/ADocsToc.d.vue.ts +117 -0
- package/dist/runtime/components/docs/ADocsToc.vue +194 -0
- package/dist/runtime/components/docs/ADocsToc.vue.d.ts +117 -0
- package/dist/runtime/components/editor/ADocLinkPopover.vue +1 -5
- package/dist/runtime/components/editor/AEditorRedoButton.d.vue.ts +26 -0
- package/dist/runtime/components/editor/AEditorRedoButton.vue +38 -0
- package/dist/runtime/components/editor/AEditorRedoButton.vue.d.ts +26 -0
- package/dist/runtime/components/editor/AEditorUndoButton.d.vue.ts +26 -0
- package/dist/runtime/components/editor/AEditorUndoButton.vue +38 -0
- package/dist/runtime/components/editor/AEditorUndoButton.vue.d.ts +26 -0
- package/dist/runtime/components/editor/AIconPickerPopover.d.vue.ts +24 -0
- package/dist/runtime/components/editor/AIconPickerPopover.vue +113 -0
- package/dist/runtime/components/editor/AIconPickerPopover.vue.d.ts +24 -0
- package/dist/runtime/components/editor/ANodeInlineLabel.d.vue.ts +24 -0
- package/dist/runtime/components/editor/ANodeInlineLabel.vue +101 -0
- package/dist/runtime/components/editor/ANodeInlineLabel.vue.d.ts +24 -0
- package/dist/runtime/components/renderers/ADocLoadError.d.vue.ts +3 -0
- package/dist/runtime/components/renderers/ADocLoadError.vue +11 -0
- package/dist/runtime/components/renderers/ADocLoadError.vue.d.ts +3 -0
- package/dist/runtime/components/renderers/ADocLoadingSkeleton.d.vue.ts +3 -0
- package/dist/runtime/components/renderers/ADocLoadingSkeleton.vue +5 -0
- package/dist/runtime/components/renderers/ADocLoadingSkeleton.vue.d.ts +3 -0
- package/dist/runtime/components/renderers/AMediaRenderer.vue +1 -1
- package/dist/runtime/components/renderers/AOverviewRenderer.d.vue.ts +22 -0
- package/dist/runtime/components/renderers/AOverviewRenderer.vue +1041 -0
- package/dist/runtime/components/renderers/AOverviewRenderer.vue.d.ts +22 -0
- package/dist/runtime/components/renderers/AProseRenderer.d.vue.ts +23 -0
- package/dist/runtime/components/renderers/AProseRenderer.vue +31 -0
- package/dist/runtime/components/renderers/AProseRenderer.vue.d.ts +23 -0
- package/dist/runtime/components/renderers/ASheetsRenderer.client.d.vue.ts +19 -0
- package/dist/runtime/components/renderers/ASheetsRenderer.client.vue +865 -0
- package/dist/runtime/components/renderers/ASheetsRenderer.client.vue.d.ts +19 -0
- package/dist/runtime/components/renderers/calendar/ACalendarDayCell.d.vue.ts +14 -0
- package/dist/runtime/components/renderers/calendar/ACalendarDayCell.vue +45 -15
- package/dist/runtime/components/renderers/calendar/ACalendarDayCell.vue.d.ts +14 -0
- package/dist/runtime/components/renderers/calendar/ACalendarDayView.d.vue.ts +15 -0
- package/dist/runtime/components/renderers/calendar/ACalendarDayView.vue +93 -20
- package/dist/runtime/components/renderers/calendar/ACalendarDayView.vue.d.ts +15 -0
- package/dist/runtime/components/renderers/calendar/ACalendarEventChip.d.vue.ts +9 -0
- package/dist/runtime/components/renderers/calendar/ACalendarEventChip.vue +31 -2
- package/dist/runtime/components/renderers/calendar/ACalendarEventChip.vue.d.ts +9 -0
- package/dist/runtime/components/renderers/calendar/ACalendarToolbar.d.vue.ts +4 -4
- package/dist/runtime/components/renderers/calendar/ACalendarToolbar.vue.d.ts +4 -4
- package/dist/runtime/components/renderers/calendar/ACalendarWeekView.d.vue.ts +15 -0
- package/dist/runtime/components/renderers/calendar/ACalendarWeekView.vue +94 -21
- package/dist/runtime/components/renderers/calendar/ACalendarWeekView.vue.d.ts +15 -0
- package/dist/runtime/components/renderers/media/MediaTransportBar.d.vue.ts +2 -2
- package/dist/runtime/components/renderers/media/MediaTransportBar.vue.d.ts +2 -2
- package/dist/runtime/components/renderers/sheets/ASheetsCell.d.vue.ts +45 -0
- package/dist/runtime/components/renderers/sheets/ASheetsCell.vue +123 -0
- package/dist/runtime/components/renderers/sheets/ASheetsCell.vue.d.ts +45 -0
- package/dist/runtime/components/renderers/sheets/ASheetsGrid.d.vue.ts +111 -0
- package/dist/runtime/components/renderers/sheets/ASheetsGrid.vue +737 -0
- package/dist/runtime/components/renderers/sheets/ASheetsGrid.vue.d.ts +111 -0
- package/dist/runtime/components/renderers/sheets/ASheetsMobileActionBar.d.vue.ts +26 -0
- package/dist/runtime/components/renderers/sheets/ASheetsMobileActionBar.vue +100 -0
- package/dist/runtime/components/renderers/sheets/ASheetsMobileActionBar.vue.d.ts +26 -0
- package/dist/runtime/components/renderers/sheets/ASheetsToolbar.d.vue.ts +48 -0
- package/dist/runtime/components/renderers/sheets/ASheetsToolbar.vue +243 -0
- package/dist/runtime/components/renderers/sheets/ASheetsToolbar.vue.d.ts +48 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellColor.d.vue.ts +1 -0
- package/dist/runtime/components/renderers/table/cells/ATableCellColor.vue +13 -32
- package/dist/runtime/components/renderers/table/cells/ATableCellColor.vue.d.ts +1 -0
- package/dist/runtime/components/renderers/timeline/ATimelineBar.d.vue.ts +6 -0
- package/dist/runtime/components/renderers/timeline/ATimelineBar.vue +34 -4
- package/dist/runtime/components/renderers/timeline/ATimelineBar.vue.d.ts +6 -0
- package/dist/runtime/components/renderers/timeline/ATimelineBarArea.d.vue.ts +16 -0
- package/dist/runtime/components/renderers/timeline/ATimelineBarArea.vue +14 -3
- package/dist/runtime/components/renderers/timeline/ATimelineBarArea.vue.d.ts +16 -0
- package/dist/runtime/components/renderers/timeline/ATimelineLabelPanel.d.vue.ts +13 -1
- package/dist/runtime/components/renderers/timeline/ATimelineLabelPanel.vue +114 -47
- package/dist/runtime/components/renderers/timeline/ATimelineLabelPanel.vue.d.ts +13 -1
- package/dist/runtime/components/renderers/timeline/ATimelineMilestone.d.vue.ts +4 -0
- package/dist/runtime/components/renderers/timeline/ATimelineMilestone.vue +21 -4
- package/dist/runtime/components/renderers/timeline/ATimelineMilestone.vue.d.ts +4 -0
- package/dist/runtime/components/renderers/timeline/ATimelineToolbar.d.vue.ts +2 -2
- package/dist/runtime/components/renderers/timeline/ATimelineToolbar.vue.d.ts +2 -2
- package/dist/runtime/components/settings/ASettingsSpacesPanel.vue +7 -25
- package/dist/runtime/components/shell/ADocPanelSettings.d.vue.ts +34 -4
- package/dist/runtime/components/shell/ADocPanelSettings.vue +289 -2
- package/dist/runtime/components/shell/ADocPanelSettings.vue.d.ts +34 -4
- package/dist/runtime/components/shell/ASyncStatus.d.vue.ts +1 -1
- package/dist/runtime/components/shell/ASyncStatus.vue.d.ts +1 -1
- package/dist/runtime/components/shell/AUserMenu.d.vue.ts +2 -2
- package/dist/runtime/components/shell/AUserMenu.vue.d.ts +2 -2
- package/dist/runtime/components/shell/AWelcomeScreen.d.vue.ts +1 -1
- package/dist/runtime/components/shell/AWelcomeScreen.vue.d.ts +1 -1
- package/dist/runtime/composables/useAACaret.d.ts +29 -0
- package/dist/runtime/composables/useAACaret.js +64 -0
- package/dist/runtime/composables/useAAEphemeral.d.ts +32 -0
- package/dist/runtime/composables/useAAEphemeral.js +33 -0
- package/dist/runtime/composables/useAAField.d.ts +10 -2
- package/dist/runtime/composables/useAAField.js +31 -2
- package/dist/runtime/composables/useAAFieldValue.d.ts +26 -0
- package/dist/runtime/composables/useAAFieldValue.js +32 -0
- package/dist/runtime/composables/useAAFocus.d.ts +68 -0
- package/dist/runtime/composables/useAAFocus.js +174 -0
- package/dist/runtime/composables/useAAFollowAnchor.d.ts +25 -0
- package/dist/runtime/composables/useAAFollowAnchor.js +69 -0
- package/dist/runtime/composables/useAAFollowPeer.d.ts +29 -0
- package/dist/runtime/composables/useAAFollowPeer.js +75 -0
- package/dist/runtime/composables/useAAKey.d.ts +22 -0
- package/dist/runtime/composables/useAAKey.js +24 -0
- package/dist/runtime/composables/useAAPointer.d.ts +30 -0
- package/dist/runtime/composables/useAAPointer.js +53 -0
- package/dist/runtime/composables/useAAUIState.d.ts +29 -0
- package/dist/runtime/composables/useAAUIState.js +28 -0
- package/dist/runtime/composables/useAAViewport.d.ts +22 -0
- package/dist/runtime/composables/useAAViewport.js +50 -0
- package/dist/runtime/composables/useAbraAdmin.d.ts +54 -0
- package/dist/runtime/composables/useAbraAdmin.js +115 -0
- package/dist/runtime/composables/useAbracadabraAuth.d.ts +8 -0
- package/dist/runtime/composables/useAbracadabraAuth.js +8 -0
- package/dist/runtime/composables/useAggregatedPresence.d.ts +23 -0
- package/dist/runtime/composables/useAggregatedPresence.js +140 -0
- package/dist/runtime/composables/useChat.d.ts +16 -2
- package/dist/runtime/composables/useChat.js +257 -66
- package/dist/runtime/composables/useChatUsers.d.ts +2 -0
- package/dist/runtime/composables/useChatUsers.js +2 -1
- package/dist/runtime/composables/useDocLookup.d.ts +4 -0
- package/dist/runtime/composables/useDocLookup.js +25 -0
- package/dist/runtime/composables/useDocSnapshots.d.ts +79 -0
- package/dist/runtime/composables/useDocSnapshots.js +234 -0
- package/dist/runtime/composables/useDocsSearch.d.ts +24 -0
- package/dist/runtime/composables/useDocsSearch.js +34 -0
- package/dist/runtime/composables/useEditorDragHandle.d.ts +7 -0
- package/dist/runtime/composables/useEditorDragHandle.js +19 -1
- package/dist/runtime/composables/useEditorSuggestions.js +26 -1
- package/dist/runtime/composables/useEditorToolbar.js +9 -1
- package/dist/runtime/composables/useEmailVerification.d.ts +33 -0
- package/dist/runtime/composables/useEmailVerification.js +58 -0
- package/dist/runtime/composables/useIdentityDoc.js +0 -3
- package/dist/runtime/composables/useItemPresence.d.ts +47 -0
- package/dist/runtime/composables/useItemPresence.js +73 -0
- package/dist/runtime/composables/useResizableWidth.d.ts +24 -0
- package/dist/runtime/composables/useResizableWidth.js +87 -0
- package/dist/runtime/composables/useServerInfo.d.ts +17 -2
- package/dist/runtime/composables/useServerInfo.js +30 -6
- package/dist/runtime/composables/useServerSearch.d.ts +36 -0
- package/dist/runtime/composables/useServerSearch.js +91 -0
- package/dist/runtime/composables/useServerTrash.d.ts +67 -0
- package/dist/runtime/composables/useServerTrash.js +128 -0
- package/dist/runtime/composables/useSheetsClipboard.d.ts +42 -0
- package/dist/runtime/composables/useSheetsClipboard.js +109 -0
- package/dist/runtime/composables/useSheetsFormulas.d.ts +38 -0
- package/dist/runtime/composables/useSheetsFormulas.js +725 -0
- package/dist/runtime/composables/useSheetsSelection.d.ts +68 -0
- package/dist/runtime/composables/useSheetsSelection.js +390 -0
- package/dist/runtime/composables/useSheetsView.d.ts +31 -0
- package/dist/runtime/composables/useSheetsView.js +77 -0
- package/dist/runtime/composables/useSpaceConnections.d.ts +43 -0
- package/dist/runtime/composables/useSpaceConnections.js +72 -0
- package/dist/runtime/composables/useSpaces.d.ts +1 -3
- package/dist/runtime/composables/useSpaces.js +2 -5
- package/dist/runtime/composables/useTiptapHistory.d.ts +22 -0
- package/dist/runtime/composables/useTiptapHistory.js +12 -0
- package/dist/runtime/composables/useTreeExpansion.d.ts +28 -0
- package/dist/runtime/composables/useTreeExpansion.js +94 -0
- package/dist/runtime/composables/useYDoc.js +12 -1
- package/dist/runtime/extensions/button.d.ts +3 -0
- package/dist/runtime/extensions/button.js +62 -0
- package/dist/runtime/extensions/color-swatch.d.ts +2 -0
- package/dist/runtime/extensions/color-swatch.js +34 -0
- package/dist/runtime/extensions/diff.d.ts +2 -0
- package/dist/runtime/extensions/diff.js +40 -0
- package/dist/runtime/extensions/divider.d.ts +2 -0
- package/dist/runtime/extensions/divider.js +33 -0
- package/dist/runtime/extensions/doc-embed.js +2 -1
- package/dist/runtime/extensions/doc-link-drop.js +4 -4
- package/dist/runtime/extensions/doc-link.d.ts +12 -0
- package/dist/runtime/extensions/doc-link.js +60 -0
- package/dist/runtime/extensions/embed.d.ts +2 -0
- package/dist/runtime/extensions/embed.js +40 -0
- package/dist/runtime/extensions/figure.d.ts +2 -0
- package/dist/runtime/extensions/figure.js +49 -0
- package/dist/runtime/extensions/math.d.ts +15 -0
- package/dist/runtime/extensions/math.js +66 -0
- package/dist/runtime/extensions/progress.d.ts +2 -0
- package/dist/runtime/extensions/progress.js +43 -0
- package/dist/runtime/extensions/quote.d.ts +2 -0
- package/dist/runtime/extensions/quote.js +39 -0
- package/dist/runtime/extensions/spoiler.d.ts +2 -0
- package/dist/runtime/extensions/spoiler.js +36 -0
- package/dist/runtime/extensions/stat.d.ts +3 -0
- package/dist/runtime/extensions/stat.js +58 -0
- package/dist/runtime/extensions/video.d.ts +2 -0
- package/dist/runtime/extensions/video.js +40 -0
- package/dist/runtime/extensions/views/ButtonGroupView.d.vue.ts +4 -0
- package/dist/runtime/extensions/views/ButtonGroupView.vue +25 -0
- package/dist/runtime/extensions/views/ButtonGroupView.vue.d.ts +4 -0
- package/dist/runtime/extensions/views/ButtonView.d.vue.ts +4 -0
- package/dist/runtime/extensions/views/ButtonView.vue +171 -0
- package/dist/runtime/extensions/views/ButtonView.vue.d.ts +4 -0
- package/dist/runtime/extensions/views/ColorSwatchView.d.vue.ts +4 -0
- package/dist/runtime/extensions/views/ColorSwatchView.vue +134 -0
- package/dist/runtime/extensions/views/ColorSwatchView.vue.d.ts +4 -0
- package/dist/runtime/extensions/views/DiffView.d.vue.ts +4 -0
- package/dist/runtime/extensions/views/DiffView.vue +163 -0
- package/dist/runtime/extensions/views/DiffView.vue.d.ts +4 -0
- package/dist/runtime/extensions/views/DividerView.d.vue.ts +4 -0
- package/dist/runtime/extensions/views/DividerView.vue +40 -0
- package/dist/runtime/extensions/views/DividerView.vue.d.ts +4 -0
- package/dist/runtime/extensions/views/DocEmbedView.vue +18 -3
- package/dist/runtime/extensions/views/DocLinkView.d.vue.ts +4 -0
- package/dist/runtime/extensions/views/DocLinkView.vue +71 -0
- package/dist/runtime/extensions/views/DocLinkView.vue.d.ts +4 -0
- package/dist/runtime/extensions/views/EmbedView.d.vue.ts +4 -0
- package/dist/runtime/extensions/views/EmbedView.vue +166 -0
- package/dist/runtime/extensions/views/EmbedView.vue.d.ts +4 -0
- package/dist/runtime/extensions/views/FigureView.d.vue.ts +4 -0
- package/dist/runtime/extensions/views/FigureView.vue +122 -0
- package/dist/runtime/extensions/views/FigureView.vue.d.ts +4 -0
- package/dist/runtime/extensions/views/FileNodeView.vue +21 -24
- package/dist/runtime/extensions/views/MathBlockView.d.vue.ts +4 -0
- package/dist/runtime/extensions/views/MathBlockView.vue +151 -0
- package/dist/runtime/extensions/views/MathBlockView.vue.d.ts +4 -0
- package/dist/runtime/extensions/views/MathInlineView.d.vue.ts +4 -0
- package/dist/runtime/extensions/views/MathInlineView.vue +149 -0
- package/dist/runtime/extensions/views/MathInlineView.vue.d.ts +4 -0
- package/dist/runtime/extensions/views/MetaFieldView.vue +1129 -550
- package/dist/runtime/extensions/views/ProgressView.d.vue.ts +4 -0
- package/dist/runtime/extensions/views/ProgressView.vue +156 -0
- package/dist/runtime/extensions/views/ProgressView.vue.d.ts +4 -0
- package/dist/runtime/extensions/views/QuoteView.d.vue.ts +4 -0
- package/dist/runtime/extensions/views/QuoteView.vue +128 -0
- package/dist/runtime/extensions/views/QuoteView.vue.d.ts +4 -0
- package/dist/runtime/extensions/views/SpoilerView.d.vue.ts +4 -0
- package/dist/runtime/extensions/views/SpoilerView.vue +62 -0
- package/dist/runtime/extensions/views/SpoilerView.vue.d.ts +4 -0
- package/dist/runtime/extensions/views/StatGroupView.d.vue.ts +4 -0
- package/dist/runtime/extensions/views/StatGroupView.vue +25 -0
- package/dist/runtime/extensions/views/StatGroupView.vue.d.ts +4 -0
- package/dist/runtime/extensions/views/StatView.d.vue.ts +4 -0
- package/dist/runtime/extensions/views/StatView.vue +89 -0
- package/dist/runtime/extensions/views/StatView.vue.d.ts +4 -0
- package/dist/runtime/extensions/views/VideoView.d.vue.ts +4 -0
- package/dist/runtime/extensions/views/VideoView.vue +190 -0
- package/dist/runtime/extensions/views/VideoView.vue.d.ts +4 -0
- package/dist/runtime/locale.d.ts +133 -0
- package/dist/runtime/locale.js +121 -2
- package/dist/runtime/plugin-abracadabra.client.js +251 -38
- package/dist/runtime/plugin-abracadabra.server.js +0 -1
- package/dist/runtime/plugins/core.plugin.js +76 -4
- package/dist/runtime/server/plugins/abracadabra-service.js +4 -2
- package/dist/runtime/server/utils/rpcHandler.d.ts +74 -0
- package/dist/runtime/server/utils/rpcHandler.js +74 -0
- package/dist/runtime/server/utils/spaceManager.js +10 -9
- package/dist/runtime/theme/content/_shared.d.ts +6 -0
- package/dist/runtime/theme/content/_shared.js +6 -0
- package/dist/runtime/theme/content/content-navigation.d.ts +120 -0
- package/dist/runtime/theme/content/content-navigation.js +155 -0
- package/dist/runtime/theme/content/content-search-button.d.ts +16 -0
- package/dist/runtime/theme/content/content-search-button.js +15 -0
- package/dist/runtime/theme/content/content-search.d.ts +24 -0
- package/dist/runtime/theme/content/content-search.js +23 -0
- package/dist/runtime/theme/content/content-surround.d.ts +22 -0
- package/dist/runtime/theme/content/content-surround.js +23 -0
- package/dist/runtime/theme/content/content-toc.d.ts +84 -0
- package/dist/runtime/theme/content/content-toc.js +94 -0
- package/dist/runtime/theme/content/index.d.ts +5 -0
- package/dist/runtime/theme/content/index.js +5 -0
- package/dist/runtime/types.d.ts +63 -10
- package/dist/runtime/utils/awareRingStyle.d.ts +22 -0
- package/dist/runtime/utils/awareRingStyle.js +16 -0
- package/dist/runtime/utils/caretCoordinates.d.ts +41 -0
- package/dist/runtime/utils/caretCoordinates.js +126 -0
- package/dist/runtime/utils/content.d.ts +19 -0
- package/dist/runtime/utils/content.js +23 -0
- package/dist/runtime/utils/docReferenceEdges.js +1 -1
- package/dist/runtime/utils/docTypes.js +44 -13
- package/dist/runtime/utils/domPath.d.ts +42 -0
- package/dist/runtime/utils/domPath.js +89 -0
- package/dist/runtime/utils/loadKatex.d.ts +1 -0
- package/dist/runtime/utils/loadKatex.js +29 -0
- package/dist/runtime/utils/lucideIcons.d.ts +16 -0
- package/dist/runtime/utils/lucideIcons.js +451 -0
- package/dist/runtime/utils/time.d.ts +15 -0
- package/dist/runtime/utils/time.js +5 -0
- package/dist/types.d.mts +4 -0
- package/package.json +38 -20
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
as: {
|
|
5
|
+
type: null;
|
|
6
|
+
required: false;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
defaultOpen: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
required: false;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
trailingIcon: {
|
|
15
|
+
type: null;
|
|
16
|
+
required: false;
|
|
17
|
+
};
|
|
18
|
+
color: {
|
|
19
|
+
type: null;
|
|
20
|
+
required: false;
|
|
21
|
+
};
|
|
22
|
+
variant: {
|
|
23
|
+
type: null;
|
|
24
|
+
required: false;
|
|
25
|
+
};
|
|
26
|
+
highlight: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
required: false;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
highlightColor: {
|
|
32
|
+
type: null;
|
|
33
|
+
required: false;
|
|
34
|
+
};
|
|
35
|
+
collapsible: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
required: false;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
level: {
|
|
41
|
+
type: NumberConstructor;
|
|
42
|
+
required: false;
|
|
43
|
+
default: number;
|
|
44
|
+
};
|
|
45
|
+
navigation: {
|
|
46
|
+
type: ArrayConstructor;
|
|
47
|
+
required: false;
|
|
48
|
+
};
|
|
49
|
+
class: {
|
|
50
|
+
type: null;
|
|
51
|
+
required: false;
|
|
52
|
+
};
|
|
53
|
+
ui: {
|
|
54
|
+
type: ObjectConstructor;
|
|
55
|
+
required: false;
|
|
56
|
+
};
|
|
57
|
+
disabled: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
required: false;
|
|
60
|
+
};
|
|
61
|
+
type: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
required: false;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
unmountOnHide: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
required: false;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
72
|
+
"update:modelValue": (...args: any[]) => void;
|
|
73
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
74
|
+
as: {
|
|
75
|
+
type: null;
|
|
76
|
+
required: false;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
defaultOpen: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
required: false;
|
|
82
|
+
default: undefined;
|
|
83
|
+
};
|
|
84
|
+
trailingIcon: {
|
|
85
|
+
type: null;
|
|
86
|
+
required: false;
|
|
87
|
+
};
|
|
88
|
+
color: {
|
|
89
|
+
type: null;
|
|
90
|
+
required: false;
|
|
91
|
+
};
|
|
92
|
+
variant: {
|
|
93
|
+
type: null;
|
|
94
|
+
required: false;
|
|
95
|
+
};
|
|
96
|
+
highlight: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
required: false;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
highlightColor: {
|
|
102
|
+
type: null;
|
|
103
|
+
required: false;
|
|
104
|
+
};
|
|
105
|
+
collapsible: {
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
required: false;
|
|
108
|
+
default: boolean;
|
|
109
|
+
};
|
|
110
|
+
level: {
|
|
111
|
+
type: NumberConstructor;
|
|
112
|
+
required: false;
|
|
113
|
+
default: number;
|
|
114
|
+
};
|
|
115
|
+
navigation: {
|
|
116
|
+
type: ArrayConstructor;
|
|
117
|
+
required: false;
|
|
118
|
+
};
|
|
119
|
+
class: {
|
|
120
|
+
type: null;
|
|
121
|
+
required: false;
|
|
122
|
+
};
|
|
123
|
+
ui: {
|
|
124
|
+
type: ObjectConstructor;
|
|
125
|
+
required: false;
|
|
126
|
+
};
|
|
127
|
+
disabled: {
|
|
128
|
+
type: BooleanConstructor;
|
|
129
|
+
required: false;
|
|
130
|
+
};
|
|
131
|
+
type: {
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
required: false;
|
|
134
|
+
default: string;
|
|
135
|
+
};
|
|
136
|
+
unmountOnHide: {
|
|
137
|
+
type: BooleanConstructor;
|
|
138
|
+
required: false;
|
|
139
|
+
default: boolean;
|
|
140
|
+
};
|
|
141
|
+
}>> & Readonly<{
|
|
142
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
143
|
+
}>, {
|
|
144
|
+
type: string;
|
|
145
|
+
disabled: boolean;
|
|
146
|
+
level: number;
|
|
147
|
+
as: any;
|
|
148
|
+
collapsible: boolean;
|
|
149
|
+
highlight: boolean;
|
|
150
|
+
defaultOpen: boolean;
|
|
151
|
+
unmountOnHide: boolean;
|
|
152
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, __VLS_Slots>;
|
|
153
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
154
|
+
$slots: S;
|
|
155
|
+
});
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
import theme from "../../theme/content/content-navigation";
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<script setup>
|
|
6
|
+
import { computed } from "vue";
|
|
7
|
+
import { Primitive, AccordionRoot, AccordionItem, AccordionTrigger, AccordionContent, useForwardPropsEmits } from "reka-ui";
|
|
8
|
+
import { reactivePick, createReusableTemplate } from "@vueuse/core";
|
|
9
|
+
import { useRoute, useAppConfig } from "#imports";
|
|
10
|
+
import { useComponentUI } from "@nuxt/ui/composables/useComponentUI";
|
|
11
|
+
import { pickLinkProps } from "@nuxt/ui/utils/link";
|
|
12
|
+
import { tv } from "@nuxt/ui/utils/tv";
|
|
13
|
+
import { mapContentNavigationItem } from "../../utils/content";
|
|
14
|
+
import ADocsNavigation from "./ADocsNavigation.vue";
|
|
15
|
+
defineOptions({ inheritAttrs: false });
|
|
16
|
+
const props = defineProps({
|
|
17
|
+
as: { type: null, required: false, default: "nav" },
|
|
18
|
+
defaultOpen: { type: Boolean, required: false, default: void 0 },
|
|
19
|
+
trailingIcon: { type: null, required: false },
|
|
20
|
+
color: { type: null, required: false },
|
|
21
|
+
variant: { type: null, required: false },
|
|
22
|
+
highlight: { type: Boolean, required: false, default: false },
|
|
23
|
+
highlightColor: { type: null, required: false },
|
|
24
|
+
collapsible: { type: Boolean, required: false, default: true },
|
|
25
|
+
level: { type: Number, required: false, default: 0 },
|
|
26
|
+
navigation: { type: Array, required: false },
|
|
27
|
+
class: { type: null, required: false },
|
|
28
|
+
ui: { type: Object, required: false },
|
|
29
|
+
disabled: { type: Boolean, required: false },
|
|
30
|
+
type: { type: String, required: false, default: "multiple" },
|
|
31
|
+
unmountOnHide: { type: Boolean, required: false, default: true }
|
|
32
|
+
});
|
|
33
|
+
const emits = defineEmits(["update:modelValue"]);
|
|
34
|
+
const slots = defineSlots();
|
|
35
|
+
const rootProps = useForwardPropsEmits(reactivePick(props, "collapsible", "type", "unmountOnHide"), emits);
|
|
36
|
+
const route = useRoute();
|
|
37
|
+
const appConfig = useAppConfig();
|
|
38
|
+
const uiProp = useComponentUI("contentNavigation", props);
|
|
39
|
+
const [DefineLinkTemplate, ReuseLinkTemplate] = createReusableTemplate();
|
|
40
|
+
const ui = computed(() => tv({ extend: tv(theme), ...appConfig.ui?.contentNavigation || {} })({
|
|
41
|
+
color: props.color,
|
|
42
|
+
variant: props.variant,
|
|
43
|
+
highlight: props.highlight,
|
|
44
|
+
highlightColor: props.highlightColor || props.color
|
|
45
|
+
}));
|
|
46
|
+
const disabled = computed(() => props.disabled || props.type === "multiple" && props.collapsible === false);
|
|
47
|
+
function isRouteInTree(link, routePath) {
|
|
48
|
+
if (link.children?.length) {
|
|
49
|
+
return link.children.some((child) => isRouteInTree(child, routePath));
|
|
50
|
+
}
|
|
51
|
+
return routePath === link.path;
|
|
52
|
+
}
|
|
53
|
+
const defaultValue = computed(() => {
|
|
54
|
+
if (props.defaultOpen === false) {
|
|
55
|
+
return void 0;
|
|
56
|
+
}
|
|
57
|
+
if (props.defaultOpen === void 0) {
|
|
58
|
+
return props.type === "single" ? "0" : props.navigation?.map((link, index) => link.defaultOpen !== false && String(index)).filter(Boolean);
|
|
59
|
+
}
|
|
60
|
+
const indices = props.navigation?.reduce((acc, link, index) => {
|
|
61
|
+
if (isRouteInTree(link, route.path)) {
|
|
62
|
+
acc.push(String(index));
|
|
63
|
+
}
|
|
64
|
+
return acc;
|
|
65
|
+
}, []) || [];
|
|
66
|
+
return props.type === "multiple" ? indices : indices[0];
|
|
67
|
+
});
|
|
68
|
+
</script>
|
|
69
|
+
|
|
70
|
+
<template>
|
|
71
|
+
<DefineLinkTemplate v-slot="{ link, active }">
|
|
72
|
+
<slot name="link" :link="link" :active="active" :ui="ui">
|
|
73
|
+
<slot name="link-leading" :link="link" :active="active" :ui="ui">
|
|
74
|
+
<UIcon v-if="link.icon" :name="link.icon" data-slot="linkLeadingIcon" :class="ui.linkLeadingIcon({ class: [uiProp?.linkLeadingIcon, link.ui?.linkLeadingIcon], active })" />
|
|
75
|
+
</slot>
|
|
76
|
+
|
|
77
|
+
<span v-if="link.title || !!slots['link-title']" data-slot="linkTitle" :class="ui.linkTitle({ class: [uiProp?.linkTitle, link.ui?.linkTitle], active })">
|
|
78
|
+
<slot name="link-title" :link="link" :active="active" :ui="ui">
|
|
79
|
+
{{ link.title }}
|
|
80
|
+
</slot>
|
|
81
|
+
|
|
82
|
+
<UIcon v-if="link.target === '_blank'" :name="appConfig.ui.icons.external" data-slot="linkTitleExternalIcon" :class="ui.linkTitleExternalIcon({ class: [uiProp?.linkTitleExternalIcon, link.ui?.linkTitleExternalIcon], active })" />
|
|
83
|
+
</span>
|
|
84
|
+
|
|
85
|
+
<span v-if="link.badge || link.badge === 0 || link.children?.length && !disabled || link.trailingIcon || !!slots['link-trailing']" data-slot="linkTrailing" :class="ui.linkTrailing({ class: [uiProp?.linkTrailing, link.ui?.linkTrailing] })">
|
|
86
|
+
<slot name="link-trailing" :link="link" :active="active" :ui="ui">
|
|
87
|
+
<UBadge
|
|
88
|
+
v-if="link.badge || link.badge === 0"
|
|
89
|
+
color="neutral"
|
|
90
|
+
variant="outline"
|
|
91
|
+
:size="uiProp?.linkTrailingBadgeSize || ui.linkTrailingBadgeSize()"
|
|
92
|
+
v-bind="typeof link.badge === 'string' || typeof link.badge === 'number' ? { label: link.badge } : link.badge"
|
|
93
|
+
data-slot="linkTrailingBadge"
|
|
94
|
+
:class="ui.linkTrailingBadge({ class: uiProp?.linkTrailingBadge })"
|
|
95
|
+
/>
|
|
96
|
+
<UIcon v-if="link.children?.length && !disabled" :name="link.trailingIcon || trailingIcon || appConfig.ui.icons.chevronDown" data-slot="linkTrailingIcon" :class="ui.linkTrailingIcon({ class: [uiProp?.linkTrailingIcon, link.ui?.linkTrailingIcon] })" />
|
|
97
|
+
<UIcon v-else-if="link.trailingIcon" :name="link.trailingIcon" data-slot="linkTrailingIcon" :class="ui.linkTrailingIcon({ class: [uiProp?.linkTrailingIcon, link.ui?.linkTrailingIcon] })" />
|
|
98
|
+
</slot>
|
|
99
|
+
</span>
|
|
100
|
+
</slot>
|
|
101
|
+
</DefineLinkTemplate>
|
|
102
|
+
|
|
103
|
+
<Primitive :as="as" v-bind="$attrs" :as-child="level > 0" data-slot="root" :class="ui.root({ class: [uiProp?.root, props.class] })">
|
|
104
|
+
<AccordionRoot as="ul" :disabled="disabled" v-bind="rootProps" :default-value="defaultValue" :class="level > 0 ? ui.listWithChildren({ class: uiProp?.listWithChildren }) : ui.list({ class: uiProp?.list })">
|
|
105
|
+
<template v-for="(link, index) in navigation" :key="index">
|
|
106
|
+
<AccordionItem
|
|
107
|
+
v-if="link.children?.length"
|
|
108
|
+
as="li"
|
|
109
|
+
:disabled="!!link.disabled"
|
|
110
|
+
data-slot="itemWithChildren"
|
|
111
|
+
:class="ui.itemWithChildren({ class: [uiProp?.itemWithChildren, link.ui?.itemWithChildren], level: level > 0 })"
|
|
112
|
+
:value="String(index)"
|
|
113
|
+
>
|
|
114
|
+
<AccordionTrigger
|
|
115
|
+
as="button"
|
|
116
|
+
:class="[
|
|
117
|
+
ui.link({ class: [uiProp?.link, link.ui?.link, link.class], active: link.active, disabled: !!link.disabled || disabled }),
|
|
118
|
+
ui.trigger({ class: [uiProp?.trigger, link.ui?.trigger], disabled: !!link.disabled || disabled })
|
|
119
|
+
]"
|
|
120
|
+
>
|
|
121
|
+
<ReuseLinkTemplate :link="link" :active="link.active || false" />
|
|
122
|
+
</AccordionTrigger>
|
|
123
|
+
|
|
124
|
+
<AccordionContent data-slot="content" :class="ui.content({ class: [uiProp?.content, link.ui?.content] })">
|
|
125
|
+
<ADocsNavigation
|
|
126
|
+
v-bind="rootProps"
|
|
127
|
+
:navigation="link.children"
|
|
128
|
+
:default-open="defaultOpen"
|
|
129
|
+
:level="level + 1"
|
|
130
|
+
:trailing-icon="trailingIcon"
|
|
131
|
+
:color="color"
|
|
132
|
+
:variant="variant"
|
|
133
|
+
:highlight="highlight"
|
|
134
|
+
:highlight-color="highlightColor"
|
|
135
|
+
:ui="uiProp"
|
|
136
|
+
>
|
|
137
|
+
<template v-for="(_, name) in slots" #[name]="slotData">
|
|
138
|
+
<slot :name="name" v-bind="{ ...slotData, link: slotData.link }" />
|
|
139
|
+
</template>
|
|
140
|
+
</ADocsNavigation>
|
|
141
|
+
</AccordionContent>
|
|
142
|
+
</AccordionItem>
|
|
143
|
+
|
|
144
|
+
<li v-else data-slot="item" :class="ui.item({ class: [uiProp?.item, link.ui?.item], level: level > 0 })">
|
|
145
|
+
<ULink v-slot="{ active, ...slotProps }" v-bind="pickLinkProps(mapContentNavigationItem(link))" custom>
|
|
146
|
+
<ULinkBase v-bind="slotProps" data-slot="link" :class="ui.link({ class: [uiProp?.link, link.ui?.link, link.class], active, disabled: !!link.disabled, level: level > 0 })">
|
|
147
|
+
<ReuseLinkTemplate :link="link" :active="active" />
|
|
148
|
+
</ULinkBase>
|
|
149
|
+
</ULink>
|
|
150
|
+
</li>
|
|
151
|
+
</template>
|
|
152
|
+
</AccordionRoot>
|
|
153
|
+
</Primitive>
|
|
154
|
+
</template>
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
as: {
|
|
5
|
+
type: null;
|
|
6
|
+
required: false;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
defaultOpen: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
required: false;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
trailingIcon: {
|
|
15
|
+
type: null;
|
|
16
|
+
required: false;
|
|
17
|
+
};
|
|
18
|
+
color: {
|
|
19
|
+
type: null;
|
|
20
|
+
required: false;
|
|
21
|
+
};
|
|
22
|
+
variant: {
|
|
23
|
+
type: null;
|
|
24
|
+
required: false;
|
|
25
|
+
};
|
|
26
|
+
highlight: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
required: false;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
highlightColor: {
|
|
32
|
+
type: null;
|
|
33
|
+
required: false;
|
|
34
|
+
};
|
|
35
|
+
collapsible: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
required: false;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
level: {
|
|
41
|
+
type: NumberConstructor;
|
|
42
|
+
required: false;
|
|
43
|
+
default: number;
|
|
44
|
+
};
|
|
45
|
+
navigation: {
|
|
46
|
+
type: ArrayConstructor;
|
|
47
|
+
required: false;
|
|
48
|
+
};
|
|
49
|
+
class: {
|
|
50
|
+
type: null;
|
|
51
|
+
required: false;
|
|
52
|
+
};
|
|
53
|
+
ui: {
|
|
54
|
+
type: ObjectConstructor;
|
|
55
|
+
required: false;
|
|
56
|
+
};
|
|
57
|
+
disabled: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
required: false;
|
|
60
|
+
};
|
|
61
|
+
type: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
required: false;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
unmountOnHide: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
required: false;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
72
|
+
"update:modelValue": (...args: any[]) => void;
|
|
73
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
74
|
+
as: {
|
|
75
|
+
type: null;
|
|
76
|
+
required: false;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
defaultOpen: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
required: false;
|
|
82
|
+
default: undefined;
|
|
83
|
+
};
|
|
84
|
+
trailingIcon: {
|
|
85
|
+
type: null;
|
|
86
|
+
required: false;
|
|
87
|
+
};
|
|
88
|
+
color: {
|
|
89
|
+
type: null;
|
|
90
|
+
required: false;
|
|
91
|
+
};
|
|
92
|
+
variant: {
|
|
93
|
+
type: null;
|
|
94
|
+
required: false;
|
|
95
|
+
};
|
|
96
|
+
highlight: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
required: false;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
highlightColor: {
|
|
102
|
+
type: null;
|
|
103
|
+
required: false;
|
|
104
|
+
};
|
|
105
|
+
collapsible: {
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
required: false;
|
|
108
|
+
default: boolean;
|
|
109
|
+
};
|
|
110
|
+
level: {
|
|
111
|
+
type: NumberConstructor;
|
|
112
|
+
required: false;
|
|
113
|
+
default: number;
|
|
114
|
+
};
|
|
115
|
+
navigation: {
|
|
116
|
+
type: ArrayConstructor;
|
|
117
|
+
required: false;
|
|
118
|
+
};
|
|
119
|
+
class: {
|
|
120
|
+
type: null;
|
|
121
|
+
required: false;
|
|
122
|
+
};
|
|
123
|
+
ui: {
|
|
124
|
+
type: ObjectConstructor;
|
|
125
|
+
required: false;
|
|
126
|
+
};
|
|
127
|
+
disabled: {
|
|
128
|
+
type: BooleanConstructor;
|
|
129
|
+
required: false;
|
|
130
|
+
};
|
|
131
|
+
type: {
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
required: false;
|
|
134
|
+
default: string;
|
|
135
|
+
};
|
|
136
|
+
unmountOnHide: {
|
|
137
|
+
type: BooleanConstructor;
|
|
138
|
+
required: false;
|
|
139
|
+
default: boolean;
|
|
140
|
+
};
|
|
141
|
+
}>> & Readonly<{
|
|
142
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
143
|
+
}>, {
|
|
144
|
+
type: string;
|
|
145
|
+
disabled: boolean;
|
|
146
|
+
level: number;
|
|
147
|
+
as: any;
|
|
148
|
+
collapsible: boolean;
|
|
149
|
+
highlight: boolean;
|
|
150
|
+
defaultOpen: boolean;
|
|
151
|
+
unmountOnHide: boolean;
|
|
152
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, __VLS_Slots>;
|
|
153
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
154
|
+
$slots: S;
|
|
155
|
+
});
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
size: {
|
|
5
|
+
type: null;
|
|
6
|
+
required: false;
|
|
7
|
+
};
|
|
8
|
+
icon: {
|
|
9
|
+
type: null;
|
|
10
|
+
required: false;
|
|
11
|
+
};
|
|
12
|
+
placeholder: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: false;
|
|
15
|
+
};
|
|
16
|
+
autofocus: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
required: false;
|
|
19
|
+
};
|
|
20
|
+
loading: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
required: false;
|
|
23
|
+
};
|
|
24
|
+
loadingIcon: {
|
|
25
|
+
type: null;
|
|
26
|
+
required: false;
|
|
27
|
+
};
|
|
28
|
+
close: {
|
|
29
|
+
type: (ObjectConstructor | BooleanConstructor)[];
|
|
30
|
+
required: false;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
closeIcon: {
|
|
34
|
+
type: null;
|
|
35
|
+
required: false;
|
|
36
|
+
};
|
|
37
|
+
shortcut: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
required: false;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
links: {
|
|
43
|
+
type: ArrayConstructor;
|
|
44
|
+
required: false;
|
|
45
|
+
};
|
|
46
|
+
navigation: {
|
|
47
|
+
type: ArrayConstructor;
|
|
48
|
+
required: false;
|
|
49
|
+
};
|
|
50
|
+
groups: {
|
|
51
|
+
type: ArrayConstructor;
|
|
52
|
+
required: false;
|
|
53
|
+
};
|
|
54
|
+
files: {
|
|
55
|
+
type: ArrayConstructor;
|
|
56
|
+
required: false;
|
|
57
|
+
};
|
|
58
|
+
fuse: {
|
|
59
|
+
type: ObjectConstructor;
|
|
60
|
+
required: false;
|
|
61
|
+
};
|
|
62
|
+
colorMode: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
required: false;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
class: {
|
|
68
|
+
type: null;
|
|
69
|
+
required: false;
|
|
70
|
+
};
|
|
71
|
+
ui: {
|
|
72
|
+
type: ObjectConstructor;
|
|
73
|
+
required: false;
|
|
74
|
+
};
|
|
75
|
+
title: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
required: false;
|
|
78
|
+
};
|
|
79
|
+
description: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
required: false;
|
|
82
|
+
};
|
|
83
|
+
overlay: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
required: false;
|
|
86
|
+
};
|
|
87
|
+
transition: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
required: false;
|
|
90
|
+
};
|
|
91
|
+
content: {
|
|
92
|
+
type: ObjectConstructor;
|
|
93
|
+
required: false;
|
|
94
|
+
};
|
|
95
|
+
dismissible: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
required: false;
|
|
98
|
+
};
|
|
99
|
+
fullscreen: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
required: false;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
modal: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
required: false;
|
|
107
|
+
};
|
|
108
|
+
portal: {
|
|
109
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
110
|
+
required: false;
|
|
111
|
+
skipCheck: boolean;
|
|
112
|
+
};
|
|
113
|
+
searchTerm: {
|
|
114
|
+
type: import("vue").PropType<string>;
|
|
115
|
+
};
|
|
116
|
+
}>, {
|
|
117
|
+
commandPaletteRef: Readonly<import("vue").ShallowRef<any, any>>;
|
|
118
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
119
|
+
"update:searchTerm": (value: string | undefined) => any;
|
|
120
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
121
|
+
size: {
|
|
122
|
+
type: null;
|
|
123
|
+
required: false;
|
|
124
|
+
};
|
|
125
|
+
icon: {
|
|
126
|
+
type: null;
|
|
127
|
+
required: false;
|
|
128
|
+
};
|
|
129
|
+
placeholder: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
required: false;
|
|
132
|
+
};
|
|
133
|
+
autofocus: {
|
|
134
|
+
type: BooleanConstructor;
|
|
135
|
+
required: false;
|
|
136
|
+
};
|
|
137
|
+
loading: {
|
|
138
|
+
type: BooleanConstructor;
|
|
139
|
+
required: false;
|
|
140
|
+
};
|
|
141
|
+
loadingIcon: {
|
|
142
|
+
type: null;
|
|
143
|
+
required: false;
|
|
144
|
+
};
|
|
145
|
+
close: {
|
|
146
|
+
type: (ObjectConstructor | BooleanConstructor)[];
|
|
147
|
+
required: false;
|
|
148
|
+
default: boolean;
|
|
149
|
+
};
|
|
150
|
+
closeIcon: {
|
|
151
|
+
type: null;
|
|
152
|
+
required: false;
|
|
153
|
+
};
|
|
154
|
+
shortcut: {
|
|
155
|
+
type: StringConstructor;
|
|
156
|
+
required: false;
|
|
157
|
+
default: string;
|
|
158
|
+
};
|
|
159
|
+
links: {
|
|
160
|
+
type: ArrayConstructor;
|
|
161
|
+
required: false;
|
|
162
|
+
};
|
|
163
|
+
navigation: {
|
|
164
|
+
type: ArrayConstructor;
|
|
165
|
+
required: false;
|
|
166
|
+
};
|
|
167
|
+
groups: {
|
|
168
|
+
type: ArrayConstructor;
|
|
169
|
+
required: false;
|
|
170
|
+
};
|
|
171
|
+
files: {
|
|
172
|
+
type: ArrayConstructor;
|
|
173
|
+
required: false;
|
|
174
|
+
};
|
|
175
|
+
fuse: {
|
|
176
|
+
type: ObjectConstructor;
|
|
177
|
+
required: false;
|
|
178
|
+
};
|
|
179
|
+
colorMode: {
|
|
180
|
+
type: BooleanConstructor;
|
|
181
|
+
required: false;
|
|
182
|
+
default: boolean;
|
|
183
|
+
};
|
|
184
|
+
class: {
|
|
185
|
+
type: null;
|
|
186
|
+
required: false;
|
|
187
|
+
};
|
|
188
|
+
ui: {
|
|
189
|
+
type: ObjectConstructor;
|
|
190
|
+
required: false;
|
|
191
|
+
};
|
|
192
|
+
title: {
|
|
193
|
+
type: StringConstructor;
|
|
194
|
+
required: false;
|
|
195
|
+
};
|
|
196
|
+
description: {
|
|
197
|
+
type: StringConstructor;
|
|
198
|
+
required: false;
|
|
199
|
+
};
|
|
200
|
+
overlay: {
|
|
201
|
+
type: BooleanConstructor;
|
|
202
|
+
required: false;
|
|
203
|
+
};
|
|
204
|
+
transition: {
|
|
205
|
+
type: BooleanConstructor;
|
|
206
|
+
required: false;
|
|
207
|
+
};
|
|
208
|
+
content: {
|
|
209
|
+
type: ObjectConstructor;
|
|
210
|
+
required: false;
|
|
211
|
+
};
|
|
212
|
+
dismissible: {
|
|
213
|
+
type: BooleanConstructor;
|
|
214
|
+
required: false;
|
|
215
|
+
};
|
|
216
|
+
fullscreen: {
|
|
217
|
+
type: BooleanConstructor;
|
|
218
|
+
required: false;
|
|
219
|
+
default: boolean;
|
|
220
|
+
};
|
|
221
|
+
modal: {
|
|
222
|
+
type: BooleanConstructor;
|
|
223
|
+
required: false;
|
|
224
|
+
};
|
|
225
|
+
portal: {
|
|
226
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
227
|
+
required: false;
|
|
228
|
+
skipCheck: boolean;
|
|
229
|
+
};
|
|
230
|
+
searchTerm: {
|
|
231
|
+
type: import("vue").PropType<string>;
|
|
232
|
+
};
|
|
233
|
+
}>> & Readonly<{
|
|
234
|
+
"onUpdate:searchTerm"?: ((value: string | undefined) => any) | undefined;
|
|
235
|
+
}>, {
|
|
236
|
+
close: boolean | Record<string, any>;
|
|
237
|
+
shortcut: string;
|
|
238
|
+
transition: boolean;
|
|
239
|
+
autofocus: boolean;
|
|
240
|
+
loading: boolean;
|
|
241
|
+
colorMode: boolean;
|
|
242
|
+
overlay: boolean;
|
|
243
|
+
dismissible: boolean;
|
|
244
|
+
fullscreen: boolean;
|
|
245
|
+
modal: boolean;
|
|
246
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, __VLS_Slots>;
|
|
247
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
248
|
+
$slots: S;
|
|
249
|
+
});
|