@glodon-aiot/dataset-annotation 3.14.0-alpha.32 → 3.14.0-alpha.33
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/es/components/VLMAnnotation/RegionItem.mjs +1 -1
- package/dist/es/components/VLMAnnotation/VLMLabelMaker/hooks/useAIButtonHover.mjs +193 -0
- package/dist/es/components/VLMAnnotation/VLMLabelMaker/hooks/useDrawingMode.mjs +300 -237
- package/dist/es/components/VLMAnnotation/VLMLabelMaker/hooks/useRegionSelection.mjs +158 -56
- package/dist/es/components/VLMAnnotation/VLMLabelMaker/index.mjs +424 -397
- package/dist/es/components/VLMAnnotation/components/AIErrorTooltip/AIErrorTooltip.less.mjs +4 -0
- package/dist/es/components/VLMAnnotation/components/AIErrorTooltip/index.mjs +24 -0
- package/dist/es/components/VLMAnnotation/components/ZoomControls.mjs +1 -1
- package/dist/es/components/VLMAnnotation/constants.mjs +1 -1
- package/dist/es/index.mjs +1 -1
- package/dist/lib/index.js +4 -4
- package/dist/src/components/VLMAnnotation/VLMLabelMaker/hooks/useAIButtonHover.d.ts +16 -0
- package/dist/src/components/VLMAnnotation/VLMLabelMaker/hooks/useDrawingMode.d.ts +2 -1
- package/dist/src/components/VLMAnnotation/components/AIErrorTooltip/index.d.ts +8 -0
- package/dist/src/components/VLMAnnotation/constants.d.ts +2 -2
- package/package.json +2 -2
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsxs as i, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import "./AIErrorTooltip.less.mjs";
|
|
3
|
+
const s = ({
|
|
4
|
+
visible: o,
|
|
5
|
+
x: l,
|
|
6
|
+
y: t
|
|
7
|
+
}) => o ? /* @__PURE__ */ i("div", {
|
|
8
|
+
className: "vlm-ai-error-tooltip",
|
|
9
|
+
style: {
|
|
10
|
+
left: `${l}px`,
|
|
11
|
+
top: `${t}px`
|
|
12
|
+
},
|
|
13
|
+
children: [/* @__PURE__ */ r("div", {
|
|
14
|
+
className: "vlm-ai-error-tooltip-content",
|
|
15
|
+
children: "预置服务调用失败"
|
|
16
|
+
}), /* @__PURE__ */ r("div", {
|
|
17
|
+
className: "vlm-ai-error-tooltip-arrow"
|
|
18
|
+
}), /* @__PURE__ */ r("div", {
|
|
19
|
+
className: "vlm-ai-error-tooltip-logo"
|
|
20
|
+
})]
|
|
21
|
+
}) : null;
|
|
22
|
+
export {
|
|
23
|
+
s as default
|
|
24
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const _ = 8, E = 0.1, O = 0.999, T = 0.01, R = 100, L = 2, C = "#EAD4FF", A = "#9C24F2", I = "rgba(156, 36, 242, 0.1)", n = "rgba(156, 36, 242, 0.05)", s = "transparent", t = "rgba(0, 0, 0, 0)", N = [5, 5], c = "vlm-label-maker-canvas", o = 300, S = 0.7, F = 0.05, D = 0.95, M = "rect", a = "区域", r = "区域1", P = "Arial, sans-serif", H = 12, U = 4, X = 3, G = 3, g = 1.5, Y = 0.5, b = 3e-3, K = "rgba(156, 36, 242, 0.2)", Z = "rgba(156, 36, 242, 0.5)", e = "#9C24F2", B = "rgba(156, 36, 242, 0.2)", W = "rgba(156, 36, 242, 0.2)", l = "rgba(156, 36, 242, 0.5)", V = "rgba(0, 255, 0, 0.2)", i = 300, m = "#9C24F2", p = 6, v = 24, f = 20, k =
|
|
1
|
+
const _ = 8, E = 0.1, O = 0.999, T = 0.01, R = 100, L = 2, C = "#EAD4FF", A = "#9C24F2", I = "rgba(156, 36, 242, 0.1)", n = "rgba(156, 36, 242, 0.05)", s = "transparent", t = "rgba(0, 0, 0, 0)", N = [5, 5], c = "vlm-label-maker-canvas", o = 300, S = 0.7, F = 0.05, D = 0.95, M = "rect", a = "区域", r = "区域1", P = "Arial, sans-serif", H = 12, U = 4, X = 3, G = 3, g = 1.5, Y = 0.5, b = 3e-3, K = "rgba(156, 36, 242, 0.2)", Z = "rgba(156, 36, 242, 0.5)", e = "#9C24F2", B = "rgba(156, 36, 242, 0.2)", W = "rgba(156, 36, 242, 0.2)", l = "rgba(156, 36, 242, 0.5)", V = "rgba(0, 255, 0, 0.2)", i = 300, m = "#9C24F2", p = 6, v = 24, f = 20, k = 8, x = 24, d = 20, h = 8, j = "#9C24F2", q = "image/png", u = "确认删除", w = "确定要删除此标注区域吗?", y = "确定", z = "取消", J = "rgba(156, 36, 242, 0.5)", Q = 1, $ = [5, 5];
|
|
2
2
|
export {
|
|
3
3
|
A as ACTIVE_RECT_STROKE_COLOR,
|
|
4
4
|
d as AI_CONTROL_OFFSET_X,
|