med-viewer-sdk 0.1.8 → 0.1.10
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/core/Engine.d.ts +1 -1
- package/dist/med-viewer-sdk.d.ts +8 -8
- package/dist/med-viewer-sdk.mjs +10379 -9460
- package/dist/med-viewer-sdk.umd.js +2 -2
- package/package.json +37 -35
- package/src/core/AnnoAnnotator.ts +1 -2
- package/src/core/Engine.ts +34 -17
- package/src/core/SelectionPlugin.ts +1 -1
- package/src/core/Toolbar.ts +1 -1
- package/src/{core → i18n}/i18n.ts +23 -0
- package/src/index.ts +36 -11
- package/src/plugins/ShapeLabelsFormatter.js +215 -138
- package/src/types/ShapeLabelsFormatter.d.ts +12 -0
- package/src/types/type.d.ts +1 -0
- /package/dist/{core → i18n}/i18n.d.ts +0 -0
package/dist/core/Engine.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { ColorAdjustPlugin, type ColorAdjustOptions } from "./ColorAdjustPlugin"
|
|
|
6
6
|
import { SelectionPlugin, type SelectionOptions } from "./SelectionPlugin";
|
|
7
7
|
import { ScalebarPlugin, type ScalebarOptions } from "./Scalebar";
|
|
8
8
|
import { MagnificationPlugin, type MagnificationOptions } from "./Magnification";
|
|
9
|
-
import { Locale } from "
|
|
9
|
+
import { Locale } from "../i18n/i18n";
|
|
10
10
|
/**
|
|
11
11
|
* 引擎配置接口
|
|
12
12
|
*/
|
package/dist/med-viewer-sdk.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { MedViewerEngine, type MedEngineOptions } from
|
|
2
|
-
import { type ScalebarOptions } from
|
|
3
|
-
import { AnnoAnnotator } from
|
|
4
|
-
import { MedToolbar, type ToolbarOptions } from
|
|
5
|
-
import { SelectionPlugin, type SelectionOptions } from
|
|
6
|
-
import { ColorAdjustPlugin, type ColorAdjustOptions } from
|
|
7
|
-
import { MagnificationPlugin, type MagnificationOptions } from
|
|
8
|
-
export { MedViewerEngine, type MedEngineOptions, AnnoAnnotator, MedToolbar, type ToolbarOptions, SelectionPlugin, type SelectionOptions, ColorAdjustPlugin, type ColorAdjustOptions, MagnificationPlugin, type MagnificationOptions, type ScalebarOptions };
|
|
1
|
+
import { MedViewerEngine, type MedEngineOptions } from "./core/Engine";
|
|
2
|
+
import { type ScalebarOptions, ScalebarType, ScalebarLocation } from "./core/Scalebar";
|
|
3
|
+
import { AnnoAnnotator } from "./core/AnnoAnnotator";
|
|
4
|
+
import { MedToolbar, type ToolbarOptions } from "./core/Toolbar";
|
|
5
|
+
import { SelectionPlugin, type SelectionOptions } from "./core/SelectionPlugin";
|
|
6
|
+
import { ColorAdjustPlugin, type ColorAdjustOptions } from "./core/ColorAdjustPlugin";
|
|
7
|
+
import { MagnificationPlugin, type MagnificationOptions } from "./core/Magnification";
|
|
8
|
+
export { MedViewerEngine, type MedEngineOptions, AnnoAnnotator, MedToolbar, type ToolbarOptions, SelectionPlugin, type SelectionOptions, ColorAdjustPlugin, type ColorAdjustOptions, MagnificationPlugin, type MagnificationOptions, type ScalebarOptions, ScalebarType, ScalebarLocation, };
|