feat: 移植截图中心(浏览/分组/编辑/导出)
Sync source to CNB / Sync Git ref (push) Has been cancelled
Prepare pnpm cache / prepare (push) Has been cancelled

This commit is contained in:
AxTps committed 2026-10-01 22:45:02 +08:00
1 parent 300df18aca
commit b5406c2da0
34 files changed
+7954 -1124

No files matched your search

@@ -0,0 +1,15 @@
import type {
ImageViewerEditorData,
ImageViewerEditorSource,
} from '#ui/components/image-viewer-editor/types'
import { createContext } from '.'
export interface ImageViewerEditorContext {
loadEditorData: (source: ImageViewerEditorSource) => Promise<ImageViewerEditorData>
onShow?: () => void
onHide?: () => void
}
export const [injectImageViewerEditor, provideImageViewerEditor] =
createContext<ImageViewerEditorContext>('ImageViewerEditor')
+1
View File
@@ -6,6 +6,7 @@ export { createContext } from './create-context'
export * from './file-drop'
export * from './file-picker'
export * from './i18n'
export * from './image-viewer-editor'
export * from './instance-import'
export * from './loading-state'
export * from './modal-behavior'