@aivex/ui 1.2.0-dev.3 → 1.2.0-dev.5
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/components/ShapeEditor/ShapeEditor.d.ts +1 -1
- package/dist/components/ShapeEditor/ShapeViewer.d.ts +42 -0
- package/dist/components/ShapeEditor/_components/ContextMenu.d.ts +1 -1
- package/dist/components/ShapeEditor/_components/Minimap.d.ts +4 -4
- package/dist/components/ShapeEditor/_components/RegionOverlay.d.ts +21 -0
- package/dist/components/ShapeEditor/_model/geometry.d.ts +2 -0
- package/dist/components/ShapeEditor/_model/imageFetch.d.ts +9 -0
- package/dist/components/ShapeEditor/_model/keymap.d.ts +1 -1
- package/dist/components/ShapeEditor/_model/overlays.d.ts +82 -15
- package/dist/components/ShapeEditor/_model/overlays.test.d.ts +1 -0
- package/dist/components/ShapeEditor/_model/props.d.ts +48 -12
- package/dist/components/ShapeEditor/_model/strings.d.ts +1 -3
- package/dist/components/ShapeEditor/_model/viewSettings.d.ts +1 -1
- package/dist/components/ShapeEditor/_renderers/KonvaRenderer.d.ts +13 -6
- package/dist/components/ShapeEditor/_renderers/PixiRenderer.d.ts +16 -10
- package/dist/components/ShapeEditor/_renderers/transformSession.d.ts +5 -0
- package/dist/components/ShapeEditor/_renderers/types.d.ts +21 -9
- package/dist/components/ShapeEditor/_state/useDrawSession.d.ts +2 -1
- package/dist/components/ShapeEditor/_state/useEditorHotkeys.d.ts +2 -0
- package/dist/components/ShapeEditor/_state/useEngineLifecycle.d.ts +16 -6
- package/dist/components/ShapeEditor/_state/useSelectionActions.d.ts +1 -2
- package/dist/components/ShapeEditor/index.d.ts +3 -1
- package/dist/shape-editor.cjs +1 -1
- package/dist/shape-editor.cjs.map +1 -1
- package/dist/shape-editor.js +1999 -1579
- package/dist/shape-editor.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/ShapeEditor/_components/RoiOverlay.d.ts +0 -21
package/package.json
CHANGED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties } from "react";
|
|
2
|
-
import type { ExcludedZone, RoiRect } from "../_model/overlays";
|
|
3
|
-
/**
|
|
4
|
-
* ROI(어둡게 처리)/제외영역 오버레이 SVG. 캔버스 오버레이와 미니맵이 공유한다.
|
|
5
|
-
* ROI 밖을 반투명 검정으로 덮고, 제외영역은 다시 뚫으며, 경계선을 점선으로 그린다.
|
|
6
|
-
* 좌표계는 이미지 좌표(viewBox=image), 화면 크기/선 두께는 호출부가 정한다.
|
|
7
|
-
*/
|
|
8
|
-
export declare function RoiOverlay({ image, rois, excludedZones, maskId, width, height, strokeWidth, strokeDasharray, style, }: {
|
|
9
|
-
image: {
|
|
10
|
-
w: number;
|
|
11
|
-
h: number;
|
|
12
|
-
};
|
|
13
|
-
rois: RoiRect[];
|
|
14
|
-
excludedZones?: ExcludedZone[];
|
|
15
|
-
maskId: string;
|
|
16
|
-
width: number;
|
|
17
|
-
height: number;
|
|
18
|
-
strokeWidth: number | string;
|
|
19
|
-
strokeDasharray: string;
|
|
20
|
-
style?: CSSProperties;
|
|
21
|
-
}): import("react/jsx-runtime").JSX.Element;
|