med-viewer-sdk 0.1.5 → 0.1.7
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/med-viewer-sdk.d.ts +2 -1
- package/package.json +1 -1
- package/src/index.ts +2 -2
package/dist/med-viewer-sdk.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { MedViewerEngine, type MedEngineOptions } from './core/Engine';
|
|
2
|
+
import { type ScalebarOptions } from './core/Scalebar';
|
|
2
3
|
import { AnnoAnnotator } from './core/AnnoAnnotator';
|
|
3
4
|
import { MedToolbar, type ToolbarOptions } from './core/Toolbar';
|
|
4
5
|
import { SelectionPlugin, type SelectionOptions } from './core/SelectionPlugin';
|
|
5
6
|
import { ColorAdjustPlugin, type ColorAdjustOptions } from './core/ColorAdjustPlugin';
|
|
6
7
|
import { MagnificationPlugin, type MagnificationOptions } from './core/Magnification';
|
|
7
|
-
export { MedViewerEngine, type MedEngineOptions, AnnoAnnotator, MedToolbar, type ToolbarOptions, SelectionPlugin, type SelectionOptions, ColorAdjustPlugin, type ColorAdjustOptions, MagnificationPlugin, type MagnificationOptions };
|
|
8
|
+
export { MedViewerEngine, type MedEngineOptions, AnnoAnnotator, MedToolbar, type ToolbarOptions, SelectionPlugin, type SelectionOptions, ColorAdjustPlugin, type ColorAdjustOptions, MagnificationPlugin, type MagnificationOptions, type ScalebarOptions };
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MedViewerEngine, type MedEngineOptions } from './core/Engine';
|
|
2
|
-
|
|
2
|
+
import { type ScalebarOptions } from './core/Scalebar';
|
|
3
3
|
import { AnnoAnnotator } from './core/AnnoAnnotator';
|
|
4
4
|
import { MedToolbar, type ToolbarOptions } from './core/Toolbar';
|
|
5
5
|
import { SelectionPlugin, type SelectionOptions } from './core/SelectionPlugin';
|
|
@@ -7,7 +7,7 @@ import { ColorAdjustPlugin, type ColorAdjustOptions } from './core/ColorAdjustPl
|
|
|
7
7
|
import { MagnificationPlugin, type MagnificationOptions } from './core/Magnification';
|
|
8
8
|
|
|
9
9
|
// 1. 导出供模块化开发使用 (Vue/React/Vite)
|
|
10
|
-
export { MedViewerEngine, type MedEngineOptions, AnnoAnnotator, MedToolbar, type ToolbarOptions, SelectionPlugin, type SelectionOptions, ColorAdjustPlugin, type ColorAdjustOptions, MagnificationPlugin, type MagnificationOptions };
|
|
10
|
+
export { MedViewerEngine, type MedEngineOptions, AnnoAnnotator, MedToolbar, type ToolbarOptions, SelectionPlugin, type SelectionOptions, ColorAdjustPlugin, type ColorAdjustOptions, MagnificationPlugin, type MagnificationOptions, type ScalebarOptions };
|
|
11
11
|
|
|
12
12
|
// 2. 导出供原生 HTML 全局变量使用 (window.MedViewerSDK)
|
|
13
13
|
if (typeof window !== 'undefined') {
|