@celestia-island/hikari 0.55.449 → 0.55.451
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/types/DemoApp.d.ts +2 -0
- package/dist/types/animation/registerAnimations.d.ts +26 -0
- package/dist/types/components/HkAboutModal.d.ts +482 -0
- package/dist/types/components/HkActionBar.d.ts +14 -0
- package/dist/types/components/HkAdaptiveDialog.d.ts +137 -0
- package/dist/types/components/HkAdaptiveTabs.d.ts +98 -0
- package/dist/types/components/HkAddTile.d.ts +90 -0
- package/dist/types/components/HkAdminHeader.d.ts +532 -0
- package/dist/types/components/HkAdminShell.d.ts +298 -0
- package/dist/types/components/HkAdminTablePage.d.ts +273 -0
- package/dist/types/components/HkAffixPicker.d.ts +305 -0
- package/dist/types/components/HkAlert.d.ts +80 -0
- package/dist/types/components/HkAltSignIn.d.ts +74 -0
- package/dist/types/components/HkAmbientLayer.d.ts +87 -0
- package/dist/types/components/HkAuthCard.d.ts +94 -0
- package/dist/types/components/HkAuthMethodList.d.ts +73 -0
- package/dist/types/components/HkAuthSubmitButton.d.ts +153 -0
- package/dist/types/components/HkAvatar.d.ts +28 -0
- package/dist/types/components/HkAvatarButton.d.ts +86 -0
- package/dist/types/components/HkBadge.d.ts +102 -0
- package/dist/types/components/HkBarChart.d.ts +159 -0
- package/dist/types/components/HkBlankCanvas.d.ts +81 -0
- package/dist/types/components/HkBlockingToast.d.ts +3 -0
- package/dist/types/components/HkBoard.d.ts +196 -0
- package/dist/types/components/HkBoard3D.d.ts +462 -0
- package/dist/types/components/HkBreadcrumb.d.ts +36 -0
- package/dist/types/components/HkButton.d.ts +145 -0
- package/dist/types/components/HkCalendarHeatmap.d.ts +167 -0
- package/dist/types/components/HkCaptchaModal.d.ts +86 -0
- package/dist/types/components/HkCaptchaWidget.d.ts +89 -0
- package/dist/types/components/HkCard.d.ts +96 -0
- package/dist/types/components/HkCardList.d.ts +196 -0
- package/dist/types/components/HkCheckbox.d.ts +56 -0
- package/dist/types/components/HkColorPicker.d.ts +105 -0
- package/dist/types/components/HkColorSchemeDialog.d.ts +66 -0
- package/dist/types/components/HkColorSchemeEditor.d.ts +106 -0
- package/dist/types/components/HkConfirmDialog.d.ts +76 -0
- package/dist/types/components/HkConnectionInfo.d.ts +18 -0
- package/dist/types/components/HkConnectionStatus.d.ts +111 -0
- package/dist/types/components/HkContextMenuProvider.d.ts +66 -0
- package/dist/types/components/HkCookieConsent.d.ts +10 -0
- package/dist/types/components/HkCopyBadge.d.ts +160 -0
- package/dist/types/components/HkCornerBadge.d.ts +160 -0
- package/dist/types/components/HkCountdownDigit.d.ts +22 -0
- package/dist/types/components/HkCrossfade.d.ts +133 -0
- package/dist/types/components/HkCurrencySelect.d.ts +149 -0
- package/dist/types/components/HkDatePicker.d.ts +99 -0
- package/dist/types/components/HkDateTag.d.ts +76 -0
- package/dist/types/components/HkDateTimePicker.d.ts +107 -0
- package/dist/types/components/HkDebugFloat.d.ts +202 -0
- package/dist/types/components/HkDeleteFact.d.ts +32 -0
- package/dist/types/components/HkDeleteGateWindow.d.ts +119 -0
- package/dist/types/components/HkDiffViewer.d.ts +88 -0
- package/dist/types/components/HkDivider.d.ts +57 -0
- package/dist/types/components/HkDockBar.d.ts +196 -0
- package/dist/types/components/HkDonutChart.d.ts +116 -0
- package/dist/types/components/HkDraggableGrid.d.ts +37 -0
- package/dist/types/components/HkDraggableList.d.ts +87 -0
- package/dist/types/components/HkDrawer.d.ts +122 -0
- package/dist/types/components/HkEdgeGlow.d.ts +151 -0
- package/dist/types/components/HkEditableTable.d.ts +198 -0
- package/dist/types/components/HkEmergencyAlert.d.ts +3 -0
- package/dist/types/components/HkEmergencySnoozeTray.d.ts +33 -0
- package/dist/types/components/HkEmptyState.d.ts +79 -0
- package/dist/types/components/HkErrorBoundary.d.ts +66 -0
- package/dist/types/components/HkErrorLanding.d.ts +171 -0
- package/dist/types/components/HkExpansionPanel.d.ts +82 -0
- package/dist/types/components/HkFab.d.ts +159 -0
- package/dist/types/components/HkFaceShell.d.ts +504 -0
- package/dist/types/components/HkFileBrowserDialog.d.ts +145 -0
- package/dist/types/components/HkFileField.d.ts +176 -0
- package/dist/types/components/HkFilePickerField.d.ts +177 -0
- package/dist/types/components/HkFilterBar.d.ts +102 -0
- package/dist/types/components/HkFilterChip.d.ts +209 -0
- package/dist/types/components/HkFilterOperatorIcon.d.ts +23 -0
- package/dist/types/components/HkFilterPanel.d.ts +123 -0
- package/dist/types/components/HkFilterTrigger.d.ts +80 -0
- package/dist/types/components/HkFloatingLayer.d.ts +117 -0
- package/dist/types/components/HkGaugeRing.d.ts +73 -0
- package/dist/types/components/HkHeaderPicker.d.ts +160 -0
- package/dist/types/components/HkHoverRevealAction.d.ts +95 -0
- package/dist/types/components/HkIcon.d.ts +30 -0
- package/dist/types/components/HkIconButton.d.ts +101 -0
- package/dist/types/components/HkIconButtonGroup.d.ts +162 -0
- package/dist/types/components/HkIconChip.d.ts +55 -0
- package/dist/types/components/HkImageLightbox.d.ts +47 -0
- package/dist/types/components/HkImagePreview.d.ts +72 -0
- package/dist/types/components/HkImageViewer.d.ts +38 -0
- package/dist/types/components/HkInfiniteTail.d.ts +157 -0
- package/dist/types/components/HkInput.d.ts +468 -0
- package/dist/types/components/HkJsonTree.d.ts +239 -0
- package/dist/types/components/HkKanban.d.ts +231 -0
- package/dist/types/components/HkKbd.d.ts +23 -0
- package/dist/types/components/HkKeywordSearchModal.d.ts +110 -0
- package/dist/types/components/HkLabel.d.ts +45 -0
- package/dist/types/components/HkListTransition.d.ts +90 -0
- package/dist/types/components/HkLoadMore.d.ts +58 -0
- package/dist/types/components/HkLoadingVeil.d.ts +28 -0
- package/dist/types/components/HkLocalePicker.d.ts +41 -0
- package/dist/types/components/HkLocalePickerPopup.d.ts +79 -0
- package/dist/types/components/HkLocalizedInput.d.ts +209 -0
- package/dist/types/components/HkLogWindow.d.ts +88 -0
- package/dist/types/components/HkLogo.d.ts +47 -0
- package/dist/types/components/HkMarkdownRenderer.d.ts +82 -0
- package/dist/types/components/HkMasonry.d.ts +101 -0
- package/dist/types/components/HkMediaControlBar.d.ts +126 -0
- package/dist/types/components/HkMediaPlayer.d.ts +42 -0
- package/dist/types/components/HkMediaSlider.d.ts +70 -0
- package/dist/types/components/HkMediaVisualizer.d.ts +25 -0
- package/dist/types/components/HkMenu.d.ts +368 -0
- package/dist/types/components/HkMenuActionItem.d.ts +81 -0
- package/dist/types/components/HkMenuIdentityItem.d.ts +52 -0
- package/dist/types/components/HkMenuPanel.d.ts +32 -0
- package/dist/types/components/HkMenuSection.d.ts +49 -0
- package/dist/types/components/HkMermaidDiagram.d.ts +96 -0
- package/dist/types/components/HkMessageBox.d.ts +72 -0
- package/dist/types/components/HkMfaVerifyCard.d.ts +209 -0
- package/dist/types/components/HkMinimap.d.ts +333 -0
- package/dist/types/components/HkMinimap3D.d.ts +70 -0
- package/dist/types/components/HkModal.d.ts +244 -0
- package/dist/types/components/HkModalBreadcrumb.d.ts +101 -0
- package/dist/types/components/HkModelCard.d.ts +72 -0
- package/dist/types/components/HkMoneyInput.d.ts +170 -0
- package/dist/types/components/HkNavItem.d.ts +64 -0
- package/dist/types/components/HkNavSidebar.d.ts +43 -0
- package/dist/types/components/HkNodeCanvas.d.ts +535 -0
- package/dist/types/components/HkNotificationBell.d.ts +3 -0
- package/dist/types/components/HkNumberInput.d.ts +110 -0
- package/dist/types/components/HkNumberSteppers.d.ts +92 -0
- package/dist/types/components/HkOtpInput.d.ts +250 -0
- package/dist/types/components/HkPageHeader.d.ts +59 -0
- package/dist/types/components/HkPaneHolder.d.ts +58 -0
- package/dist/types/components/HkPasswordSurface.d.ts +293 -0
- package/dist/types/components/HkPersistentToast.d.ts +130 -0
- package/dist/types/components/HkPersistentToastGroup.d.ts +37 -0
- package/dist/types/components/HkPhaseTransition.d.ts +18 -0
- package/dist/types/components/HkPhoneInput.d.ts +180 -0
- package/dist/types/components/HkPillToggleGroup.d.ts +125 -0
- package/dist/types/components/HkPlaceholderMarquee.d.ts +68 -0
- package/dist/types/components/HkPopover.d.ts +192 -0
- package/dist/types/components/HkPopupSelect.d.ts +125 -0
- package/dist/types/components/HkPrice.d.ts +107 -0
- package/dist/types/components/HkProgressBar.d.ts +163 -0
- package/dist/types/components/HkProgressDialog.d.ts +3 -0
- package/dist/types/components/HkProgressRing.d.ts +117 -0
- package/dist/types/components/HkProtocolModal.d.ts +103 -0
- package/dist/types/components/HkQrCode.d.ts +118 -0
- package/dist/types/components/HkQuote.d.ts +88 -0
- package/dist/types/components/HkRadio.d.ts +60 -0
- package/dist/types/components/HkRangeRibbon.d.ts +295 -0
- package/dist/types/components/HkRemoteInputDock.d.ts +77 -0
- package/dist/types/components/HkRollingNumber.d.ts +14 -0
- package/dist/types/components/HkRowActions.d.ts +97 -0
- package/dist/types/components/HkScreenIdentifyCard.d.ts +85 -0
- package/dist/types/components/HkScreenIdentifyHost.d.ts +51 -0
- package/dist/types/components/HkScrollContainer.d.ts +925 -0
- package/dist/types/components/HkScrollPin.d.ts +96 -0
- package/dist/types/components/HkScrollProgressDock.d.ts +159 -0
- package/dist/types/components/HkSearchInput.d.ts +84 -0
- package/dist/types/components/HkSearchTrigger.d.ts +114 -0
- package/dist/types/components/HkSecretRevealModal.d.ts +80 -0
- package/dist/types/components/HkSectionCard.d.ts +146 -0
- package/dist/types/components/HkSectionHeader.d.ts +100 -0
- package/dist/types/components/HkSelect.d.ts +138 -0
- package/dist/types/components/HkSelectPanel.d.ts +229 -0
- package/dist/types/components/HkSelectionGrid.d.ts +168 -0
- package/dist/types/components/HkSelectionWaterfall.d.ts +63 -0
- package/dist/types/components/HkSerpentineUnlock.d.ts +137 -0
- package/dist/types/components/HkSettingsDialog.d.ts +241 -0
- package/dist/types/components/HkShareBar.d.ts +71 -0
- package/dist/types/components/HkSidebar.d.ts +117 -0
- package/dist/types/components/HkSidebarRailSwap.d.ts +144 -0
- package/dist/types/components/HkSidebarRailToggle.d.ts +77 -0
- package/dist/types/components/HkSignInCard.d.ts +194 -0
- package/dist/types/components/HkSkeleton.d.ts +53 -0
- package/dist/types/components/HkSkeletonList.d.ts +44 -0
- package/dist/types/components/HkSlider.d.ts +99 -0
- package/dist/types/components/HkSliderField.d.ts +111 -0
- package/dist/types/components/HkSolarLocationEditor.d.ts +89 -0
- package/dist/types/components/HkSolarLocationSetting.d.ts +71 -0
- package/dist/types/components/HkSpinner.d.ts +53 -0
- package/dist/types/components/HkSplash.d.ts +52 -0
- package/dist/types/components/HkStarSystem.d.ts +63 -0
- package/dist/types/components/HkStatCard.d.ts +160 -0
- package/dist/types/components/HkStatusBar.d.ts +205 -0
- package/dist/types/components/HkStatusPill.d.ts +58 -0
- package/dist/types/components/HkStatusRow.d.ts +69 -0
- package/dist/types/components/HkStepFlow.d.ts +96 -0
- package/dist/types/components/HkStepGuide.d.ts +91 -0
- package/dist/types/components/HkSupplementInset.d.ts +83 -0
- package/dist/types/components/HkSwitch.d.ts +91 -0
- package/dist/types/components/HkTable.d.ts +299 -0
- package/dist/types/components/HkTabs.d.ts +365 -0
- package/dist/types/components/HkTag.d.ts +60 -0
- package/dist/types/components/HkTagDotRow.d.ts +59 -0
- package/dist/types/components/HkTagInput.d.ts +308 -0
- package/dist/types/components/HkTemplateField.d.ts +145 -0
- package/dist/types/components/HkTemplateText.d.ts +60 -0
- package/dist/types/components/HkTerminal.d.ts +141 -0
- package/dist/types/components/HkTextarea.d.ts +73 -0
- package/dist/types/components/HkThemeDecor.d.ts +109 -0
- package/dist/types/components/HkThemePanelContent.d.ts +160 -0
- package/dist/types/components/HkThemeToggle.d.ts +128 -0
- package/dist/types/components/HkThirdPartySignInCard.d.ts +130 -0
- package/dist/types/components/HkTimePicker.d.ts +166 -0
- package/dist/types/components/HkTimeZoneGlobe.d.ts +73 -0
- package/dist/types/components/HkTimeZonePicker.d.ts +150 -0
- package/dist/types/components/HkTimeline.d.ts +94 -0
- package/dist/types/components/HkTitleBar.d.ts +144 -0
- package/dist/types/components/HkToast.d.ts +25 -0
- package/dist/types/components/HkTokenInput.d.ts +97 -0
- package/dist/types/components/HkTooltip.d.ts +132 -0
- package/dist/types/components/HkTransitionContainer.d.ts +130 -0
- package/dist/types/components/HkTree.d.ts +75 -0
- package/dist/types/components/HkTreemap.d.ts +167 -0
- package/dist/types/components/HkTreemapStage.d.ts +104 -0
- package/dist/types/components/HkTrendChart.d.ts +219 -0
- package/dist/types/components/HkUsageFlow.d.ts +149 -0
- package/dist/types/components/HkUserPicker.d.ts +114 -0
- package/dist/types/components/HkVirtualCursor.d.ts +89 -0
- package/dist/types/components/HkWallpaperBackdrop.d.ts +178 -0
- package/dist/types/components/HkWaterfall.d.ts +281 -0
- package/dist/types/components/HkWeekdayPicker.d.ts +98 -0
- package/dist/types/components/HkWindowControls.d.ts +78 -0
- package/dist/types/components/HkWindowedItem.d.ts +43 -0
- package/dist/types/components/HkZoomToolbar.d.ts +50 -0
- package/dist/types/components/avatarImage.d.ts +11 -0
- package/dist/types/components/barChart.d.ts +50 -0
- package/dist/types/components/board3dHoverBox.d.ts +63 -0
- package/dist/types/components/calendarGrid.d.ts +67 -0
- package/dist/types/components/calendarHeatmap.d.ts +109 -0
- package/dist/types/components/debugFloat.d.ts +72 -0
- package/dist/types/components/diffParse.d.ts +72 -0
- package/dist/types/components/donutGeometry.d.ts +50 -0
- package/dist/types/components/filePicker.d.ts +70 -0
- package/dist/types/components/inlineChips.d.ts +64 -0
- package/dist/types/components/inputAffixGeometry.d.ts +54 -0
- package/dist/types/components/jsonTreeEdit.d.ts +73 -0
- package/dist/types/components/nodeCanvasTypes.d.ts +183 -0
- package/dist/types/components/remoteInputTypes.d.ts +71 -0
- package/dist/types/components/revealKinematogram.d.ts +320 -0
- package/dist/types/components/serpentineGeometry.d.ts +71 -0
- package/dist/types/components/templateGrammar.d.ts +61 -0
- package/dist/types/components/treemapSquarify.d.ts +37 -0
- package/dist/types/components/trendGeometry.d.ts +268 -0
- package/dist/types/components/usageFlowLayout.d.ts +140 -0
- package/dist/types/composables/defaultContextMenu.d.ts +75 -0
- package/dist/types/composables/engineHealthTypes.d.ts +44 -0
- package/dist/types/composables/iconRegistry.d.ts +24 -0
- package/dist/types/composables/layoutGeometry.d.ts +162 -0
- package/dist/types/composables/messaging/browserTransport.d.ts +29 -0
- package/dist/types/composables/messaging/index.d.ts +43 -0
- package/dist/types/composables/messaging/toastTransport.d.ts +13 -0
- package/dist/types/composables/messaging/types.d.ts +109 -0
- package/dist/types/composables/useActionBar.d.ts +117 -0
- package/dist/types/composables/useAnimationLoop.d.ts +40 -0
- package/dist/types/composables/useApproachEnd.d.ts +46 -0
- package/dist/types/composables/useBoardCamera.d.ts +58 -0
- package/dist/types/composables/useChromeActionSize.d.ts +16 -0
- package/dist/types/composables/useContextMenu.d.ts +115 -0
- package/dist/types/composables/useDeferredTransition.d.ts +4 -0
- package/dist/types/composables/useHighlight.d.ts +15 -0
- package/dist/types/composables/useImage.d.ts +19 -0
- package/dist/types/composables/useInfinitePages.d.ts +102 -0
- package/dist/types/composables/useMeasuredHighlight.d.ts +46 -0
- package/dist/types/composables/useMenuGroupState.d.ts +70 -0
- package/dist/types/composables/useOptionStrip.d.ts +56 -0
- package/dist/types/composables/useOrientationLock.d.ts +15 -0
- package/dist/types/composables/useOverlayScrollbar.d.ts +106 -0
- package/dist/types/composables/usePageTitle.d.ts +8 -0
- package/dist/types/composables/usePointerReorder.d.ts +142 -0
- package/dist/types/composables/useProgressDialog.d.ts +16 -0
- package/dist/types/composables/useRailIconFlight.d.ts +141 -0
- package/dist/types/composables/useReducedMotion.d.ts +18 -0
- package/dist/types/composables/useRemoteTouchGestures.d.ts +34 -0
- package/dist/types/composables/useReportedTransition.d.ts +8 -0
- package/dist/types/composables/useResourceListModal.d.ts +26 -0
- package/dist/types/composables/useSafeArea.d.ts +34 -0
- package/dist/types/composables/useScrollWindow.d.ts +7 -0
- package/dist/types/composables/useSidebarRail.d.ts +147 -0
- package/dist/types/composables/useSizeMorph.d.ts +176 -0
- package/dist/types/composables/useSurfaceContentHold.d.ts +41 -0
- package/dist/types/composables/useSurfaceMachine.d.ts +58 -0
- package/dist/types/composables/useSurfaceTransition.d.ts +48 -0
- package/dist/types/composables/useVirtualPointer.d.ts +59 -0
- package/dist/types/composables/useZoomPan.d.ts +21 -0
- package/dist/types/data/dialCodes.d.ts +68 -0
- package/dist/types/demo.d.ts +1 -0
- package/dist/types/errorReporting/HkErrorReportingOverlay.d.ts +16 -0
- package/dist/types/errorReporting/index.d.ts +40 -0
- package/dist/types/errorReporting/state.d.ts +63 -0
- package/dist/types/i18n/context.d.ts +12 -0
- package/dist/types/i18n/detectLocale.d.ts +10 -0
- package/dist/types/index.d.ts +552 -0
- package/dist/types/mermaid/engine.d.ts +27 -0
- package/dist/types/mermaid/index.d.ts +20 -0
- package/dist/types/mermaid/layout.d.ts +86 -0
- package/dist/types/mermaid/types.d.ts +121 -0
- package/dist/types/mermaid/wasmEngine.d.ts +2 -0
- package/dist/types/overlay/hudRoot.d.ts +57 -0
- package/dist/types/overlay/overlayRoot.d.ts +76 -0
- package/dist/types/plugins/bootScriptsPlugin.d.ts +19 -0
- package/dist/types/plugins/buildHashPlugin.d.ts +11 -0
- package/dist/types/plugins/index.d.ts +6 -0
- package/dist/types/render.d.ts +1 -0
- package/dist/types/runtime/animationBus.d.ts +34 -0
- package/dist/types/runtime/backStack.d.ts +114 -0
- package/dist/types/runtime/closeGuard.d.ts +37 -0
- package/dist/types/runtime/containerPad.d.ts +38 -0
- package/dist/types/runtime/createAuthGuard.d.ts +59 -0
- package/dist/types/runtime/credentialAutofill.d.ts +28 -0
- package/dist/types/runtime/cronBus.d.ts +5 -0
- package/dist/types/runtime/cssZoom.d.ts +23 -0
- package/dist/types/runtime/displayWidth.d.ts +37 -0
- package/dist/types/runtime/env.d.ts +4 -0
- package/dist/types/runtime/hasRenderedContent.d.ts +16 -0
- package/dist/types/runtime/historySafetyNet.d.ts +54 -0
- package/dist/types/runtime/hyperlink.d.ts +99 -0
- package/dist/types/runtime/imageFallback.d.ts +18 -0
- package/dist/types/runtime/index.d.ts +38 -0
- package/dist/types/runtime/intervalBus.d.ts +17 -0
- package/dist/types/runtime/mobileViewport.d.ts +47 -0
- package/dist/types/runtime/navigationGuard.d.ts +35 -0
- package/dist/types/runtime/notificationCenter.d.ts +146 -0
- package/dist/types/runtime/pageLifecycle.d.ts +36 -0
- package/dist/types/runtime/popupBounds.d.ts +49 -0
- package/dist/types/runtime/registry.d.ts +120 -0
- package/dist/types/runtime/surfaceMachine.d.ts +46 -0
- package/dist/types/runtime/tapHighlight.d.ts +22 -0
- package/dist/types/runtime/tooltipBridge.d.ts +32 -0
- package/dist/types/runtime/tooltipPosition.d.ts +105 -0
- package/dist/types/runtime/touchHint.d.ts +70 -0
- package/dist/types/runtime/useBlockingToast.d.ts +43 -0
- package/dist/types/runtime/useBreakpoint.d.ts +11 -0
- package/dist/types/runtime/useClipboard.d.ts +26 -0
- package/dist/types/runtime/useConfirm.d.ts +14 -0
- package/dist/types/runtime/useConfirmView.d.ts +17 -0
- package/dist/types/runtime/useEmergencyAlert.d.ts +127 -0
- package/dist/types/runtime/useMediaQuery.d.ts +29 -0
- package/dist/types/runtime/useOverlay.d.ts +18 -0
- package/dist/types/runtime/usePopupManager.d.ts +125 -0
- package/dist/types/runtime/useScreenIdentify.d.ts +87 -0
- package/dist/types/runtime/useToast.d.ts +81 -0
- package/dist/types/runtime/viewportGutter.d.ts +23 -0
- package/dist/types/runtime/windowChrome.d.ts +219 -0
- package/dist/types/scene3d/ground.d.ts +35 -0
- package/dist/types/scene3d/holographicFleetBody.d.ts +57 -0
- package/dist/types/scene3d/holographicFleetScene.d.ts +45 -0
- package/dist/types/scene3d/holographicFleetSpec.d.ts +166 -0
- package/dist/types/scene3d/lighting.d.ts +54 -0
- package/dist/types/scene3d/modelLayer.d.ts +76 -0
- package/dist/types/scene3d/wasmFleetSpec.d.ts +3 -0
- package/dist/types/shared.d.ts +4 -0
- package/dist/types/stores/system.d.ts +16 -0
- package/dist/types/test-utils/fakes.d.ts +41 -0
- package/dist/types/test-utils/invalid.d.ts +18 -0
- package/dist/types/test-utils/vueJsxSsrRegisterHelper.d.ts +25 -0
- package/dist/types/theme/authCard.d.ts +37 -0
- package/dist/types/theme/fontContext.d.ts +21 -0
- package/dist/types/theme/index.d.ts +30 -0
- package/dist/types/theme/presets.d.ts +133 -0
- package/dist/types/theme/safeStorage.d.ts +23 -0
- package/dist/types/theme/semanticPalette.d.ts +47 -0
- package/dist/types/theme/solarGlobeMap.d.ts +35 -0
- package/dist/types/theme/solarTimeZones.d.ts +91 -0
- package/dist/types/theme/standardDecor.d.ts +45 -0
- package/dist/types/theme/standardGroups.d.ts +28 -0
- package/dist/types/theme/themeDecor.d.ts +98 -0
- package/dist/types/theme/tokenGroups.d.ts +274 -0
- package/dist/types/theme/useBackgroundLuminance.d.ts +46 -0
- package/dist/types/theme/useSolarTime.d.ts +129 -0
- package/dist/types/theme/useTheme.d.ts +499 -0
- package/dist/types/theme/useWallpaper.d.ts +141 -0
- package/dist/types/theme/wallpaper.d.ts +139 -0
- package/dist/types/theme/wallpaperDisplay.d.ts +8 -0
- package/dist/types/theme/wallpaperShaderPresets.d.ts +91 -0
- package/dist/types/theme/wallpaperShaderRenderer.d.ts +94 -0
- package/dist/types/theme/wallpaperUpload.d.ts +39 -0
- package/dist/types/utils/base64.d.ts +15 -0
- package/dist/types/utils/boardCamera.d.ts +111 -0
- package/dist/types/utils/boardEdges.d.ts +73 -0
- package/dist/types/utils/connectivity.d.ts +20 -0
- package/dist/types/utils/currency.d.ts +111 -0
- package/dist/types/utils/dom.d.ts +85 -0
- package/dist/types/utils/download.d.ts +6 -0
- package/dist/types/utils/fileType.d.ts +11 -0
- package/dist/types/utils/format.d.ts +35 -0
- package/dist/types/utils/fuzzy.d.ts +27 -0
- package/dist/types/utils/healthProbe.d.ts +37 -0
- package/dist/types/utils/objectPath.d.ts +11 -0
- package/dist/types/utils/password.d.ts +29 -0
- package/dist/types/utils/pow.d.ts +34 -0
- package/dist/types/utils/powNonce.d.ts +33 -0
- package/dist/types/utils/qr/qrEncoder.d.ts +16 -0
- package/dist/types/utils/safeHref.d.ts +7 -0
- package/dist/types/utils/scene3d.d.ts +96 -0
- package/dist/types/utils/typing.d.ts +34 -0
- package/package.json +105 -103
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface CssAnimationOptions {
|
|
2
|
+
/** True for looping animations (`animation-iteration-count: infinite`). */
|
|
3
|
+
infinite?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export interface RegisteredCssAnimation {
|
|
6
|
+
name: string;
|
|
7
|
+
infinite: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Register a CSS keyframes animation. Idempotent: re-registering the
|
|
11
|
+
* same name overwrites the previous entry.
|
|
12
|
+
*/
|
|
13
|
+
export declare function registerCssAnimation(name: string, opts?: CssAnimationOptions): RegisteredCssAnimation;
|
|
14
|
+
/** All registered CSS animations, sorted by name for stable output. */
|
|
15
|
+
export declare function listCssAnimations(): RegisteredCssAnimation[];
|
|
16
|
+
/**
|
|
17
|
+
* Flip the global CSS animation switch. `false` sets
|
|
18
|
+
* `html[data-css-animations="0"]`, which pauses every registered (and
|
|
19
|
+
* any unregistered) keyframes animation via `animation-play-state` and
|
|
20
|
+
* downgrades smooth scrolling — see `theme/theme.scss`.
|
|
21
|
+
*
|
|
22
|
+
* No-op on the server (no `document`).
|
|
23
|
+
*/
|
|
24
|
+
export declare function setCssAnimationsEnabled(enabled: boolean): void;
|
|
25
|
+
/** Current switch state; `true` when animations are enabled (or unknown). */
|
|
26
|
+
export declare function isCssAnimationsEnabled(): boolean;
|
|
@@ -0,0 +1,482 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import "./HkAboutModal.scss";
|
|
3
|
+
/**
|
|
4
|
+
* How a link presents itself.
|
|
5
|
+
*
|
|
6
|
+
* `chip` is the dialog's original face — a ghost tag. `plain` is bare text:
|
|
7
|
+
* no frame, no underline, so the hover colour shift is the whole
|
|
8
|
+
* affordance. `accent` is also bare text, but tinted in the primary colour
|
|
9
|
+
* so the link visibly stands out of the sentence it sits in — the "this is
|
|
10
|
+
* clickable" cue (user direction 2026-09-15). Chosen per link, because one
|
|
11
|
+
* dialog can want both (the credits names / URLs / filings read as sentence
|
|
12
|
+
* text, the licenses stay tags).
|
|
13
|
+
*/
|
|
14
|
+
export type HAboutLinkFace = "chip" | "plain" | "accent";
|
|
15
|
+
/** Leading icon a link can carry; an icon-only link shows it alone. */
|
|
16
|
+
export type HAboutLinkIcon = "github";
|
|
17
|
+
export interface HAboutLink {
|
|
18
|
+
/** Visible text. Omit for an icon-only link — then name it with
|
|
19
|
+
* `ariaLabel`. */
|
|
20
|
+
label?: string;
|
|
21
|
+
href: string;
|
|
22
|
+
/** Optional leading icon (e.g. the project's GitHub home). */
|
|
23
|
+
icon?: HAboutLinkIcon;
|
|
24
|
+
/** Link face; defaults to `chip`. */
|
|
25
|
+
face?: HAboutLinkFace;
|
|
26
|
+
/**
|
|
27
|
+
* Accessible name for an icon-only link — falls back to `label`, then to
|
|
28
|
+
* the icon's own name (brand names are locale-invariant, so they need no
|
|
29
|
+
* i18n key of their own).
|
|
30
|
+
*/
|
|
31
|
+
ariaLabel?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* One piece of the credits line.
|
|
35
|
+
*
|
|
36
|
+
* The line is a sentence assembled from parts so a host can phrase (and
|
|
37
|
+
* order) it freely per locale: literal `text` runs sit between linked
|
|
38
|
+
* `name` runs (organization first, author second, …). Each linked name
|
|
39
|
+
* carries its own `face`, so one dialog can mix a chip here with bare text
|
|
40
|
+
* there (and an unlinked name is always plain text).
|
|
41
|
+
*/
|
|
42
|
+
export interface HAboutCredit {
|
|
43
|
+
/** Literal sentence fragment (mutually exclusive with `name`). */
|
|
44
|
+
text?: string;
|
|
45
|
+
/** Linked name (mutually exclusive with `text`). */
|
|
46
|
+
name?: string;
|
|
47
|
+
/** Target for a `name`; opens in a new tab. */
|
|
48
|
+
href?: string;
|
|
49
|
+
/** Face for a linked `name` (an unlinked name stays plain text). */
|
|
50
|
+
face?: HAboutLinkFace;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* One software-component version row.
|
|
54
|
+
*
|
|
55
|
+
* `value` is the machine-readable half (version, optionally plus a build
|
|
56
|
+
* hash) and renders in the mono/tabular face; `meta` is the optional
|
|
57
|
+
* human-facing trailing tag (e.g. the environment word 生产 / 测试),
|
|
58
|
+
* rendered as a separate muted pill so it never melts into the version
|
|
59
|
+
* string. `metaTone` tints that pill when the tag carries a status
|
|
60
|
+
* meaning (e.g. a production environment).
|
|
61
|
+
*
|
|
62
|
+
* `danger` is the red "not wired up / unreachable" state: a host whose
|
|
63
|
+
* component (e.g. an edge master node engine) has no version to report
|
|
64
|
+
* passes an EMPTY `value` and names the state in `meta` with
|
|
65
|
+
* `metaTone: "danger"`. The empty value then renders the pill alone —
|
|
66
|
+
* the mono number cell is dropped rather than leaving a blank tabular
|
|
67
|
+
* slot — so the row reads as one red label instead of `unknown`.
|
|
68
|
+
*/
|
|
69
|
+
export interface HAboutComponentVersion {
|
|
70
|
+
label: string;
|
|
71
|
+
value: string;
|
|
72
|
+
meta?: string;
|
|
73
|
+
metaTone?: "neutral" | "positive" | "caution" | "danger";
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* HkAboutBody — the About dialog's body, mountable OUTSIDE a modal.
|
|
77
|
+
*
|
|
78
|
+
* Extracted verbatim from HkAboutModal (2026-10-29): the desktop settings'
|
|
79
|
+
* About section renders this same body inside its own pane, so every
|
|
80
|
+
* surface shares one implementation of the identity hero, the credits
|
|
81
|
+
* sentence, the spec card and the link rows — the hand-copied second body
|
|
82
|
+
* is exactly how the credits links drifted (both names pointing at the
|
|
83
|
+
* organization's URL, the trailing role word lost).
|
|
84
|
+
*
|
|
85
|
+
* Two body-level knobs exist for hosts that are not a modal:
|
|
86
|
+
* - `filingsAsChips` renders the legal filings as a chip group
|
|
87
|
+
* (`data-slot="filings"`) instead of the bare footer-text row — the
|
|
88
|
+
* desktop surface's standing direction (2026-10-23: no bare text
|
|
89
|
+
* hyperlinks on that surface) while the modal keeps the plain row
|
|
90
|
+
* (2026-09-14).
|
|
91
|
+
* - the default slot appends host content after the copyright footer
|
|
92
|
+
* (the desktop's update-check row), still inside the body's flow.
|
|
93
|
+
*/
|
|
94
|
+
export declare const HkAboutBody: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
95
|
+
/** Application display name. */
|
|
96
|
+
appName: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
required: true;
|
|
99
|
+
};
|
|
100
|
+
/** Application version (e.g. "0.1.4"). */
|
|
101
|
+
version: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
required: true;
|
|
104
|
+
};
|
|
105
|
+
/** Optional logo image URL — replaces the first-letter tile. */
|
|
106
|
+
logoSrc: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
default: undefined;
|
|
109
|
+
};
|
|
110
|
+
/** Optional one-liner shown beside the version (e.g. the app tagline). */
|
|
111
|
+
tagline: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
default: undefined;
|
|
114
|
+
};
|
|
115
|
+
/** Optional centered small line under the credits (organization blurb). */
|
|
116
|
+
description: {
|
|
117
|
+
type: StringConstructor;
|
|
118
|
+
default: undefined;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* Credits sentence, assembled from text runs and linked names
|
|
122
|
+
* (e.g. 来自 <Celestia Island>,由 <伊欧> 主创). Each name renders in the
|
|
123
|
+
* face its entry asks for — `chip`, bare text with `plain`, or bare
|
|
124
|
+
* text tinted in the primary colour with `accent`.
|
|
125
|
+
*/
|
|
126
|
+
credits: {
|
|
127
|
+
type: PropType<HAboutCredit[]>;
|
|
128
|
+
default: () => never[];
|
|
129
|
+
};
|
|
130
|
+
/** License links (e.g. SySL-1.0 / BUSL-1.1), rendered centered. */
|
|
131
|
+
licenses: {
|
|
132
|
+
type: PropType<HAboutLink[]>;
|
|
133
|
+
default: () => never[];
|
|
134
|
+
};
|
|
135
|
+
/** Software-component version rows (WebUI / engines), label + value. */
|
|
136
|
+
componentVersions: {
|
|
137
|
+
type: PropType<HAboutComponentVersion[]>;
|
|
138
|
+
default: () => never[];
|
|
139
|
+
};
|
|
140
|
+
/** Optional copyright holder in the footer (defaults to the app name). */
|
|
141
|
+
copyright: {
|
|
142
|
+
type: StringConstructor;
|
|
143
|
+
default: undefined;
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* Optional external links (e.g. the site domains, the project's GitHub
|
|
147
|
+
* home). An entry may carry an `icon` instead of a `label` — that is how
|
|
148
|
+
* the GitHub mark rides at the end of the domain row.
|
|
149
|
+
*/
|
|
150
|
+
links: {
|
|
151
|
+
type: PropType<HAboutLink[]>;
|
|
152
|
+
default: () => never[];
|
|
153
|
+
};
|
|
154
|
+
/** Optional centered legal links above the copyright (ICP filings). */
|
|
155
|
+
footerLinks: {
|
|
156
|
+
type: PropType<HAboutLink[]>;
|
|
157
|
+
default: () => never[];
|
|
158
|
+
};
|
|
159
|
+
/** Render the legal filings as a chip group instead of the bare
|
|
160
|
+
* footer-text row (the desktop surface's standing direction). */
|
|
161
|
+
filingsAsChips: {
|
|
162
|
+
type: BooleanConstructor;
|
|
163
|
+
default: boolean;
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* Optional decorative backdrop factory, rendered behind the content
|
|
167
|
+
* inside a clipped, pointer-inert layer. The body owns only the layer —
|
|
168
|
+
* sizing, theming and the render loop belong to the returned subtree.
|
|
169
|
+
*/
|
|
170
|
+
backdrop: {
|
|
171
|
+
type: PropType<() => unknown>;
|
|
172
|
+
default: undefined;
|
|
173
|
+
};
|
|
174
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
175
|
+
/** Application display name. */
|
|
176
|
+
appName: {
|
|
177
|
+
type: StringConstructor;
|
|
178
|
+
required: true;
|
|
179
|
+
};
|
|
180
|
+
/** Application version (e.g. "0.1.4"). */
|
|
181
|
+
version: {
|
|
182
|
+
type: StringConstructor;
|
|
183
|
+
required: true;
|
|
184
|
+
};
|
|
185
|
+
/** Optional logo image URL — replaces the first-letter tile. */
|
|
186
|
+
logoSrc: {
|
|
187
|
+
type: StringConstructor;
|
|
188
|
+
default: undefined;
|
|
189
|
+
};
|
|
190
|
+
/** Optional one-liner shown beside the version (e.g. the app tagline). */
|
|
191
|
+
tagline: {
|
|
192
|
+
type: StringConstructor;
|
|
193
|
+
default: undefined;
|
|
194
|
+
};
|
|
195
|
+
/** Optional centered small line under the credits (organization blurb). */
|
|
196
|
+
description: {
|
|
197
|
+
type: StringConstructor;
|
|
198
|
+
default: undefined;
|
|
199
|
+
};
|
|
200
|
+
/**
|
|
201
|
+
* Credits sentence, assembled from text runs and linked names
|
|
202
|
+
* (e.g. 来自 <Celestia Island>,由 <伊欧> 主创). Each name renders in the
|
|
203
|
+
* face its entry asks for — `chip`, bare text with `plain`, or bare
|
|
204
|
+
* text tinted in the primary colour with `accent`.
|
|
205
|
+
*/
|
|
206
|
+
credits: {
|
|
207
|
+
type: PropType<HAboutCredit[]>;
|
|
208
|
+
default: () => never[];
|
|
209
|
+
};
|
|
210
|
+
/** License links (e.g. SySL-1.0 / BUSL-1.1), rendered centered. */
|
|
211
|
+
licenses: {
|
|
212
|
+
type: PropType<HAboutLink[]>;
|
|
213
|
+
default: () => never[];
|
|
214
|
+
};
|
|
215
|
+
/** Software-component version rows (WebUI / engines), label + value. */
|
|
216
|
+
componentVersions: {
|
|
217
|
+
type: PropType<HAboutComponentVersion[]>;
|
|
218
|
+
default: () => never[];
|
|
219
|
+
};
|
|
220
|
+
/** Optional copyright holder in the footer (defaults to the app name). */
|
|
221
|
+
copyright: {
|
|
222
|
+
type: StringConstructor;
|
|
223
|
+
default: undefined;
|
|
224
|
+
};
|
|
225
|
+
/**
|
|
226
|
+
* Optional external links (e.g. the site domains, the project's GitHub
|
|
227
|
+
* home). An entry may carry an `icon` instead of a `label` — that is how
|
|
228
|
+
* the GitHub mark rides at the end of the domain row.
|
|
229
|
+
*/
|
|
230
|
+
links: {
|
|
231
|
+
type: PropType<HAboutLink[]>;
|
|
232
|
+
default: () => never[];
|
|
233
|
+
};
|
|
234
|
+
/** Optional centered legal links above the copyright (ICP filings). */
|
|
235
|
+
footerLinks: {
|
|
236
|
+
type: PropType<HAboutLink[]>;
|
|
237
|
+
default: () => never[];
|
|
238
|
+
};
|
|
239
|
+
/** Render the legal filings as a chip group instead of the bare
|
|
240
|
+
* footer-text row (the desktop surface's standing direction). */
|
|
241
|
+
filingsAsChips: {
|
|
242
|
+
type: BooleanConstructor;
|
|
243
|
+
default: boolean;
|
|
244
|
+
};
|
|
245
|
+
/**
|
|
246
|
+
* Optional decorative backdrop factory, rendered behind the content
|
|
247
|
+
* inside a clipped, pointer-inert layer. The body owns only the layer —
|
|
248
|
+
* sizing, theming and the render loop belong to the returned subtree.
|
|
249
|
+
*/
|
|
250
|
+
backdrop: {
|
|
251
|
+
type: PropType<() => unknown>;
|
|
252
|
+
default: undefined;
|
|
253
|
+
};
|
|
254
|
+
}>> & Readonly<{}>, {
|
|
255
|
+
description: string;
|
|
256
|
+
backdrop: () => unknown;
|
|
257
|
+
logoSrc: string;
|
|
258
|
+
tagline: string;
|
|
259
|
+
credits: HAboutCredit[];
|
|
260
|
+
licenses: HAboutLink[];
|
|
261
|
+
componentVersions: HAboutComponentVersion[];
|
|
262
|
+
copyright: string;
|
|
263
|
+
links: HAboutLink[];
|
|
264
|
+
footerLinks: HAboutLink[];
|
|
265
|
+
filingsAsChips: boolean;
|
|
266
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
267
|
+
/**
|
|
268
|
+
* HkAboutModal — version / about dialog.
|
|
269
|
+
* (Upstreamed from shittim-chest's plana-legacy layer.)
|
|
270
|
+
*
|
|
271
|
+
* A centered HModal wrapping {@link HkAboutBody} — the body carries the
|
|
272
|
+
* whole layout (identity hero, credits block, spec card, link rows) and is
|
|
273
|
+
* the piece other surfaces mount directly, so the modal and the settings
|
|
274
|
+
* pane cannot drift. Every link opens in a new tab and renders in the face
|
|
275
|
+
* its entry asks for: the ghost chip, or bare text (`plain` / tinted
|
|
276
|
+
* `accent`) for names / URLs / filings that should read as ordinary
|
|
277
|
+
* sentence text. Every branding prop is optional — the modal degrades to
|
|
278
|
+
* the plain identity card when none are given.
|
|
279
|
+
*/
|
|
280
|
+
export declare const HkAboutModal: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
281
|
+
modelValue: {
|
|
282
|
+
type: BooleanConstructor;
|
|
283
|
+
default: boolean;
|
|
284
|
+
};
|
|
285
|
+
/** Application display name. */
|
|
286
|
+
appName: {
|
|
287
|
+
type: StringConstructor;
|
|
288
|
+
required: true;
|
|
289
|
+
};
|
|
290
|
+
/** Application version (e.g. "0.1.4"). */
|
|
291
|
+
version: {
|
|
292
|
+
type: StringConstructor;
|
|
293
|
+
required: true;
|
|
294
|
+
};
|
|
295
|
+
/** Optional logo image URL — replaces the first-letter tile. */
|
|
296
|
+
logoSrc: {
|
|
297
|
+
type: StringConstructor;
|
|
298
|
+
default: undefined;
|
|
299
|
+
};
|
|
300
|
+
/** Optional one-liner shown beside the version (e.g. the app tagline). */
|
|
301
|
+
tagline: {
|
|
302
|
+
type: StringConstructor;
|
|
303
|
+
default: undefined;
|
|
304
|
+
};
|
|
305
|
+
/** Optional centered small line under the credits (organization blurb). */
|
|
306
|
+
description: {
|
|
307
|
+
type: StringConstructor;
|
|
308
|
+
default: undefined;
|
|
309
|
+
};
|
|
310
|
+
/**
|
|
311
|
+
* Credits sentence, assembled from text runs and linked names
|
|
312
|
+
* (e.g. 来自 <Celestia Island>,由 <伊欧> 主创). Each name renders in the
|
|
313
|
+
* face its entry asks for — `chip`, bare text with `plain`, or bare
|
|
314
|
+
* text tinted in the primary colour with `accent`.
|
|
315
|
+
*/
|
|
316
|
+
credits: {
|
|
317
|
+
type: PropType<HAboutCredit[]>;
|
|
318
|
+
default: () => never[];
|
|
319
|
+
};
|
|
320
|
+
/** License links (e.g. SySL-1.0 / BUSL-1.1), rendered centered. */
|
|
321
|
+
licenses: {
|
|
322
|
+
type: PropType<HAboutLink[]>;
|
|
323
|
+
default: () => never[];
|
|
324
|
+
};
|
|
325
|
+
/** Software-component version rows (WebUI / engines), label + value. */
|
|
326
|
+
componentVersions: {
|
|
327
|
+
type: PropType<HAboutComponentVersion[]>;
|
|
328
|
+
default: () => never[];
|
|
329
|
+
};
|
|
330
|
+
/** Optional copyright holder in the footer (defaults to the app name). */
|
|
331
|
+
copyright: {
|
|
332
|
+
type: StringConstructor;
|
|
333
|
+
default: undefined;
|
|
334
|
+
};
|
|
335
|
+
/**
|
|
336
|
+
* Optional external links (e.g. the site domains, the project's GitHub
|
|
337
|
+
* home). An entry may carry an `icon` instead of a `label` — that is how
|
|
338
|
+
* the GitHub mark rides at the end of the domain row.
|
|
339
|
+
*/
|
|
340
|
+
links: {
|
|
341
|
+
type: PropType<HAboutLink[]>;
|
|
342
|
+
default: () => never[];
|
|
343
|
+
};
|
|
344
|
+
/** Optional centered legal links above the copyright (ICP filings). */
|
|
345
|
+
footerLinks: {
|
|
346
|
+
type: PropType<HAboutLink[]>;
|
|
347
|
+
default: () => never[];
|
|
348
|
+
};
|
|
349
|
+
/** Render the legal filings as a chip group (see {@link HkAboutBody}). */
|
|
350
|
+
filingsAsChips: {
|
|
351
|
+
type: BooleanConstructor;
|
|
352
|
+
default: boolean;
|
|
353
|
+
};
|
|
354
|
+
/**
|
|
355
|
+
* Optional decorative backdrop factory. In the MODAL this rides the
|
|
356
|
+
* window-level material slot: one clipped, pointer-inert layer the
|
|
357
|
+
* whole frame wears — header, body padding and footer included — so
|
|
358
|
+
* the padding is part of the artwork instead of a second surface
|
|
359
|
+
* (2026-11-12; the body-level bed this used to mount showed the
|
|
360
|
+
* artwork clipped to the content box with a different material band
|
|
361
|
+
* around it). Non-modal hosts mounting {@link HkAboutBody} directly
|
|
362
|
+
* still get the body-level layer from that component.
|
|
363
|
+
*/
|
|
364
|
+
backdrop: {
|
|
365
|
+
type: PropType<() => unknown>;
|
|
366
|
+
default: undefined;
|
|
367
|
+
};
|
|
368
|
+
title: {
|
|
369
|
+
type: StringConstructor;
|
|
370
|
+
default: undefined;
|
|
371
|
+
};
|
|
372
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
373
|
+
"update:modelValue": (_v: boolean) => true;
|
|
374
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
375
|
+
modelValue: {
|
|
376
|
+
type: BooleanConstructor;
|
|
377
|
+
default: boolean;
|
|
378
|
+
};
|
|
379
|
+
/** Application display name. */
|
|
380
|
+
appName: {
|
|
381
|
+
type: StringConstructor;
|
|
382
|
+
required: true;
|
|
383
|
+
};
|
|
384
|
+
/** Application version (e.g. "0.1.4"). */
|
|
385
|
+
version: {
|
|
386
|
+
type: StringConstructor;
|
|
387
|
+
required: true;
|
|
388
|
+
};
|
|
389
|
+
/** Optional logo image URL — replaces the first-letter tile. */
|
|
390
|
+
logoSrc: {
|
|
391
|
+
type: StringConstructor;
|
|
392
|
+
default: undefined;
|
|
393
|
+
};
|
|
394
|
+
/** Optional one-liner shown beside the version (e.g. the app tagline). */
|
|
395
|
+
tagline: {
|
|
396
|
+
type: StringConstructor;
|
|
397
|
+
default: undefined;
|
|
398
|
+
};
|
|
399
|
+
/** Optional centered small line under the credits (organization blurb). */
|
|
400
|
+
description: {
|
|
401
|
+
type: StringConstructor;
|
|
402
|
+
default: undefined;
|
|
403
|
+
};
|
|
404
|
+
/**
|
|
405
|
+
* Credits sentence, assembled from text runs and linked names
|
|
406
|
+
* (e.g. 来自 <Celestia Island>,由 <伊欧> 主创). Each name renders in the
|
|
407
|
+
* face its entry asks for — `chip`, bare text with `plain`, or bare
|
|
408
|
+
* text tinted in the primary colour with `accent`.
|
|
409
|
+
*/
|
|
410
|
+
credits: {
|
|
411
|
+
type: PropType<HAboutCredit[]>;
|
|
412
|
+
default: () => never[];
|
|
413
|
+
};
|
|
414
|
+
/** License links (e.g. SySL-1.0 / BUSL-1.1), rendered centered. */
|
|
415
|
+
licenses: {
|
|
416
|
+
type: PropType<HAboutLink[]>;
|
|
417
|
+
default: () => never[];
|
|
418
|
+
};
|
|
419
|
+
/** Software-component version rows (WebUI / engines), label + value. */
|
|
420
|
+
componentVersions: {
|
|
421
|
+
type: PropType<HAboutComponentVersion[]>;
|
|
422
|
+
default: () => never[];
|
|
423
|
+
};
|
|
424
|
+
/** Optional copyright holder in the footer (defaults to the app name). */
|
|
425
|
+
copyright: {
|
|
426
|
+
type: StringConstructor;
|
|
427
|
+
default: undefined;
|
|
428
|
+
};
|
|
429
|
+
/**
|
|
430
|
+
* Optional external links (e.g. the site domains, the project's GitHub
|
|
431
|
+
* home). An entry may carry an `icon` instead of a `label` — that is how
|
|
432
|
+
* the GitHub mark rides at the end of the domain row.
|
|
433
|
+
*/
|
|
434
|
+
links: {
|
|
435
|
+
type: PropType<HAboutLink[]>;
|
|
436
|
+
default: () => never[];
|
|
437
|
+
};
|
|
438
|
+
/** Optional centered legal links above the copyright (ICP filings). */
|
|
439
|
+
footerLinks: {
|
|
440
|
+
type: PropType<HAboutLink[]>;
|
|
441
|
+
default: () => never[];
|
|
442
|
+
};
|
|
443
|
+
/** Render the legal filings as a chip group (see {@link HkAboutBody}). */
|
|
444
|
+
filingsAsChips: {
|
|
445
|
+
type: BooleanConstructor;
|
|
446
|
+
default: boolean;
|
|
447
|
+
};
|
|
448
|
+
/**
|
|
449
|
+
* Optional decorative backdrop factory. In the MODAL this rides the
|
|
450
|
+
* window-level material slot: one clipped, pointer-inert layer the
|
|
451
|
+
* whole frame wears — header, body padding and footer included — so
|
|
452
|
+
* the padding is part of the artwork instead of a second surface
|
|
453
|
+
* (2026-11-12; the body-level bed this used to mount showed the
|
|
454
|
+
* artwork clipped to the content box with a different material band
|
|
455
|
+
* around it). Non-modal hosts mounting {@link HkAboutBody} directly
|
|
456
|
+
* still get the body-level layer from that component.
|
|
457
|
+
*/
|
|
458
|
+
backdrop: {
|
|
459
|
+
type: PropType<() => unknown>;
|
|
460
|
+
default: undefined;
|
|
461
|
+
};
|
|
462
|
+
title: {
|
|
463
|
+
type: StringConstructor;
|
|
464
|
+
default: undefined;
|
|
465
|
+
};
|
|
466
|
+
}>> & Readonly<{
|
|
467
|
+
"onUpdate:modelValue"?: ((_v: boolean) => any) | undefined;
|
|
468
|
+
}>, {
|
|
469
|
+
description: string;
|
|
470
|
+
title: string;
|
|
471
|
+
modelValue: boolean;
|
|
472
|
+
backdrop: () => unknown;
|
|
473
|
+
logoSrc: string;
|
|
474
|
+
tagline: string;
|
|
475
|
+
credits: HAboutCredit[];
|
|
476
|
+
licenses: HAboutLink[];
|
|
477
|
+
componentVersions: HAboutComponentVersion[];
|
|
478
|
+
copyright: string;
|
|
479
|
+
links: HAboutLink[];
|
|
480
|
+
footerLinks: HAboutLink[];
|
|
481
|
+
filingsAsChips: boolean;
|
|
482
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
gap: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
gap: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
}>> & Readonly<{}>, {
|
|
12
|
+
gap: string;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HkAdaptiveDialog — one dialog contract, two shells.
|
|
3
|
+
*
|
|
4
|
+
* Renders HkModal on desktop viewports and HkDrawer side="bottom" on
|
|
5
|
+
* mobile (switched by `useBreakpoint().isMobile`, i.e. width < 768), so
|
|
6
|
+
* one `v-model` component gives a centered dialog on wide screens and a
|
|
7
|
+
* slide-up sheet on phones. The shell only picks which inner component
|
|
8
|
+
* renders and normalizes props/slots — overlay, teleport, z-index
|
|
9
|
+
* stacking, body scroll lock, focus handling and Escape-to-close all
|
|
10
|
+
* come from the inner components via usePopupManager and are never
|
|
11
|
+
* re-implemented here.
|
|
12
|
+
*
|
|
13
|
+
* Slot mapping:
|
|
14
|
+
* default -> body of whichever shell renders
|
|
15
|
+
* header -> HkModal sub-header (below the title bar); on mobile the
|
|
16
|
+
* drawer header is composed so the title stays in the title
|
|
17
|
+
* bar and the slot content rides under it (visual parity
|
|
18
|
+
* with the modal)
|
|
19
|
+
* footer -> footer slot of either shell; wins over footerActions,
|
|
20
|
+
* matching HkModal's own precedence
|
|
21
|
+
*
|
|
22
|
+
* footerActions pass straight into HkModal's prop on desktop; HkDrawer
|
|
23
|
+
* has no footerActions prop, so on mobile the shell renders the
|
|
24
|
+
* equivalent HButton row inside the drawer's footer slot (same order,
|
|
25
|
+
* variants, loading, disabled and onClick handlers).
|
|
26
|
+
*
|
|
27
|
+
* Caveat: if the viewport crosses the mobile breakpoint while a leave
|
|
28
|
+
* transition is still in flight, the inner Transition unmounts without
|
|
29
|
+
* firing its after-leave hook — the forwarded `afterLeave` emit and
|
|
30
|
+
* HkModal's focus restore are skipped for that close (no resource leak:
|
|
31
|
+
* popup handle and scroll lock are released on unmount). Consumers
|
|
32
|
+
* relying on afterLeave (e.g. focus hand-off) should not depend on it
|
|
33
|
+
* firing during a live shell flip.
|
|
34
|
+
*/
|
|
35
|
+
import { type PropType } from "vue";
|
|
36
|
+
import "./HkAdaptiveDialog.scss";
|
|
37
|
+
import { type ModalAction, type ModalWidth } from "./HkModal";
|
|
38
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
39
|
+
modelValue: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
title: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: undefined;
|
|
46
|
+
};
|
|
47
|
+
closable: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
/** Desktop modal width (HkModal `width`). */
|
|
52
|
+
width: {
|
|
53
|
+
type: PropType<ModalWidth>;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
/** Desktop-only: the modal header becomes a drag handle (see
|
|
57
|
+
* HkModal `draggable`); the mobile sheet never drags. */
|
|
58
|
+
draggable: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
/** Mobile drawer height (HkDrawer `size`). HkDrawer's bottom-side CSS
|
|
63
|
+
* clamps panels at maxHeight 70vh, so the default equals the cap;
|
|
64
|
+
* pass `panelClass` with a custom max-height for taller sheets. */
|
|
65
|
+
mobileSize: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
footerActions: {
|
|
70
|
+
type: PropType<ModalAction[]>;
|
|
71
|
+
default: undefined;
|
|
72
|
+
};
|
|
73
|
+
/** Extra classes for the mobile drawer panel — same escape hatch as
|
|
74
|
+
* HkDrawer.panelClass (attrs fallthrough cannot reach a teleported
|
|
75
|
+
* panel). Desktop has no equivalent hook on HkModal. */
|
|
76
|
+
panelClass: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: undefined;
|
|
79
|
+
};
|
|
80
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
81
|
+
"update:modelValue": (_value: boolean) => true;
|
|
82
|
+
afterLeave: () => true;
|
|
83
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
84
|
+
modelValue: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
required: true;
|
|
87
|
+
};
|
|
88
|
+
title: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
default: undefined;
|
|
91
|
+
};
|
|
92
|
+
closable: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
/** Desktop modal width (HkModal `width`). */
|
|
97
|
+
width: {
|
|
98
|
+
type: PropType<ModalWidth>;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
/** Desktop-only: the modal header becomes a drag handle (see
|
|
102
|
+
* HkModal `draggable`); the mobile sheet never drags. */
|
|
103
|
+
draggable: {
|
|
104
|
+
type: BooleanConstructor;
|
|
105
|
+
default: boolean;
|
|
106
|
+
};
|
|
107
|
+
/** Mobile drawer height (HkDrawer `size`). HkDrawer's bottom-side CSS
|
|
108
|
+
* clamps panels at maxHeight 70vh, so the default equals the cap;
|
|
109
|
+
* pass `panelClass` with a custom max-height for taller sheets. */
|
|
110
|
+
mobileSize: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
default: string;
|
|
113
|
+
};
|
|
114
|
+
footerActions: {
|
|
115
|
+
type: PropType<ModalAction[]>;
|
|
116
|
+
default: undefined;
|
|
117
|
+
};
|
|
118
|
+
/** Extra classes for the mobile drawer panel — same escape hatch as
|
|
119
|
+
* HkDrawer.panelClass (attrs fallthrough cannot reach a teleported
|
|
120
|
+
* panel). Desktop has no equivalent hook on HkModal. */
|
|
121
|
+
panelClass: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
default: undefined;
|
|
124
|
+
};
|
|
125
|
+
}>> & Readonly<{
|
|
126
|
+
"onUpdate:modelValue"?: ((_value: boolean) => any) | undefined;
|
|
127
|
+
onAfterLeave?: (() => any) | undefined;
|
|
128
|
+
}>, {
|
|
129
|
+
title: string;
|
|
130
|
+
width: ModalWidth;
|
|
131
|
+
closable: boolean;
|
|
132
|
+
panelClass: string;
|
|
133
|
+
footerActions: ModalAction[];
|
|
134
|
+
draggable: boolean;
|
|
135
|
+
mobileSize: string;
|
|
136
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
137
|
+
export default _default;
|