@spear-ai/spectral 1.3.59 → 1.3.60
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.
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../styles/main.css";
|
|
3
|
-
import { jsxs as
|
|
4
|
-
import
|
|
5
|
-
import { forwardRef as
|
|
6
|
-
const
|
|
7
|
-
|
|
3
|
+
import { jsxs as h, jsx as o } from "react/jsx-runtime";
|
|
4
|
+
import i from "./IconBase.js";
|
|
5
|
+
import { forwardRef as c } from "react";
|
|
6
|
+
const k = ({ className: r, ariaHidden: a, title: t = "Dashboard", description: e, size: n = 24, ...s }, d) => /* @__PURE__ */ h(
|
|
7
|
+
i,
|
|
8
8
|
{
|
|
9
|
-
size:
|
|
9
|
+
size: n,
|
|
10
10
|
className: r,
|
|
11
|
-
title:
|
|
12
|
-
description:
|
|
13
|
-
ariaHidden:
|
|
14
|
-
ref:
|
|
15
|
-
...
|
|
11
|
+
title: t,
|
|
12
|
+
description: e,
|
|
13
|
+
ariaHidden: a,
|
|
14
|
+
ref: d,
|
|
15
|
+
...s,
|
|
16
16
|
children: [
|
|
17
17
|
/* @__PURE__ */ o(
|
|
18
18
|
"path",
|
|
19
19
|
{
|
|
20
|
-
d: "
|
|
20
|
+
d: "M4 4m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v1a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z",
|
|
21
21
|
stroke: "currentColor",
|
|
22
22
|
strokeWidth: "2",
|
|
23
23
|
strokeLinecap: "round",
|
|
@@ -27,7 +27,7 @@ const c = ({ className: r, ariaHidden: t, title: e = "Dashboard", description: n
|
|
|
27
27
|
/* @__PURE__ */ o(
|
|
28
28
|
"path",
|
|
29
29
|
{
|
|
30
|
-
d: "
|
|
30
|
+
d: "M4 13m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z",
|
|
31
31
|
stroke: "currentColor",
|
|
32
32
|
strokeWidth: "2",
|
|
33
33
|
strokeLinecap: "round",
|
|
@@ -37,17 +37,7 @@ const c = ({ className: r, ariaHidden: t, title: e = "Dashboard", description: n
|
|
|
37
37
|
/* @__PURE__ */ o(
|
|
38
38
|
"path",
|
|
39
39
|
{
|
|
40
|
-
d: "
|
|
41
|
-
stroke: "currentColor",
|
|
42
|
-
strokeWidth: "2",
|
|
43
|
-
strokeLinecap: "round",
|
|
44
|
-
strokeLinejoin: "round"
|
|
45
|
-
}
|
|
46
|
-
),
|
|
47
|
-
/* @__PURE__ */ o(
|
|
48
|
-
"path",
|
|
49
|
-
{
|
|
50
|
-
d: "M13.345 3.16956H16.6215C17.9322 3.16956 18.5877 3.16956 19.0883 3.42451C19.5286 3.64877 19.8867 4.00662 20.111 4.44677C20.3661 4.94715 20.3661 5.60219 20.3661 6.91225V12.5263H13.345V3.16956Z",
|
|
40
|
+
d: "M14 4m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z",
|
|
51
41
|
stroke: "currentColor",
|
|
52
42
|
strokeWidth: "2",
|
|
53
43
|
strokeLinecap: "round",
|
|
@@ -56,8 +46,8 @@ const c = ({ className: r, ariaHidden: t, title: e = "Dashboard", description: n
|
|
|
56
46
|
)
|
|
57
47
|
]
|
|
58
48
|
}
|
|
59
|
-
),
|
|
60
|
-
|
|
49
|
+
), p = c(k);
|
|
50
|
+
p.displayName = "DashboardIcon";
|
|
61
51
|
export {
|
|
62
|
-
|
|
52
|
+
p as DashboardIcon
|
|
63
53
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/DashboardIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"DashboardIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/DashboardIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AA0C5C,eAAO,MAAM,aAAa,qGAA4B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LabelingTools.d.ts","sourceRoot":"","sources":["../../../src/features/LabelingTools/LabelingTools.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LabelingTools.d.ts","sourceRoot":"","sources":["../../../src/features/LabelingTools/LabelingTools.tsx"],"names":[],"mappings":"AAgBA,eAAO,MAAM,aAAa,+CA8IzB,CAAA"}
|
|
@@ -12,10 +12,10 @@ import "../Icons/ClockIcon.js";
|
|
|
12
12
|
import "../Icons/CloseCircleIcon.js";
|
|
13
13
|
import "../Icons/CloseIcon.js";
|
|
14
14
|
import "../Icons/DashboardIcon.js";
|
|
15
|
-
import { DeleteIcon as
|
|
15
|
+
import { DeleteIcon as d } from "../Icons/DeleteIcon.js";
|
|
16
16
|
import "../Icons/DurationIcon.js";
|
|
17
17
|
import "../Icons/EmailIcon.js";
|
|
18
|
-
import { EraserIcon as
|
|
18
|
+
import { EraserIcon as m } from "../Icons/EraserIcon.js";
|
|
19
19
|
import "../Icons/ErrorIcon.js";
|
|
20
20
|
import "../Icons/EyeClosedIcon.js";
|
|
21
21
|
import "../Icons/EyeClosedIcon2.js";
|
|
@@ -25,73 +25,73 @@ import "../Icons/GoToLastIcon.js";
|
|
|
25
25
|
import "../Icons/HarmonicCursorsIcon.js";
|
|
26
26
|
import "../Icons/InfoIcon.js";
|
|
27
27
|
import { LabelIcon as c } from "../Icons/LabelIcon.js";
|
|
28
|
-
import { LassoIcon as
|
|
29
|
-
import { LineToolIcon as
|
|
28
|
+
import { LassoIcon as n } from "../Icons/LassoIcon.js";
|
|
29
|
+
import { LineToolIcon as g } from "../Icons/LineToolIcon.js";
|
|
30
30
|
import "../Icons/LiveViewIcon.js";
|
|
31
31
|
import "../Icons/LoaderIcon.js";
|
|
32
32
|
import "../Icons/LocationIcon.js";
|
|
33
33
|
import "../Icons/LogoutIcon.js";
|
|
34
|
-
import { MetadataIcon as
|
|
34
|
+
import { MetadataIcon as p } from "../Icons/MetadataIcon.js";
|
|
35
35
|
import "../Icons/MinusIcon.js";
|
|
36
|
-
import
|
|
36
|
+
import "../Icons/OntologyIcon.js";
|
|
37
37
|
import "../Icons/PanelIconClose.js";
|
|
38
38
|
import "../Icons/PanelIconOpen.js";
|
|
39
39
|
import "../Icons/PlayIcon.js";
|
|
40
|
-
import { PlusIcon as
|
|
40
|
+
import { PlusIcon as h } from "../Icons/PlusIcon.js";
|
|
41
41
|
import "../Icons/ResetIcon.js";
|
|
42
|
-
import { ScissorsIcon as
|
|
42
|
+
import { ScissorsIcon as b } from "../Icons/ScissorsIcon.js";
|
|
43
43
|
import "../Icons/SettingsIcon.js";
|
|
44
44
|
import "../Icons/TrashIcon.js";
|
|
45
|
-
import { UndoIcon as
|
|
45
|
+
import { UndoIcon as f } from "../Icons/UndoIcon.js";
|
|
46
46
|
import "../Icons/UserIcon.js";
|
|
47
47
|
import "../Icons/WarningIcon.js";
|
|
48
48
|
import "../Icons/ZoomAllIcon.js";
|
|
49
49
|
import "../Icons/ZoomXIcon.js";
|
|
50
50
|
import "../Icons/ZoomYIcon.js";
|
|
51
|
-
import { Toggle as
|
|
51
|
+
import { Toggle as u } from "../Toggle.js";
|
|
52
52
|
import { ToggleGroup as s, ToggleGroupItem as l } from "../ToggleGroup.js";
|
|
53
|
-
import { Tooltip as
|
|
54
|
-
const
|
|
53
|
+
import { Tooltip as t, TooltipTrigger as i, TooltipContent as o } from "../Tooltip.js";
|
|
54
|
+
const fe = () => /* @__PURE__ */ r("div", { className: "flex items-center gap-4", children: [
|
|
55
55
|
/* @__PURE__ */ e("div", { className: "flex", children: /* @__PURE__ */ r(s, { type: "single", variant: "outline", children: [
|
|
56
|
-
/* @__PURE__ */ r(
|
|
57
|
-
/* @__PURE__ */ e(
|
|
58
|
-
/* @__PURE__ */ e(
|
|
56
|
+
/* @__PURE__ */ r(t, { children: [
|
|
57
|
+
/* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ r(l, { value: "crosshairs", children: [
|
|
58
|
+
/* @__PURE__ */ e(h, { size: 22 }),
|
|
59
59
|
/* @__PURE__ */ e(a, { className: "ml-1", children: "C" })
|
|
60
60
|
] }) }),
|
|
61
|
-
/* @__PURE__ */ e(
|
|
61
|
+
/* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Crosshairs tool (C)" })
|
|
62
62
|
] }),
|
|
63
|
-
/* @__PURE__ */ r(
|
|
64
|
-
/* @__PURE__ */ e(
|
|
65
|
-
/* @__PURE__ */ e(
|
|
63
|
+
/* @__PURE__ */ r(t, { children: [
|
|
64
|
+
/* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ r(l, { value: "lasso", children: [
|
|
65
|
+
/* @__PURE__ */ e(n, { size: 22 }),
|
|
66
66
|
/* @__PURE__ */ e(a, { className: "ml-1", children: "L" })
|
|
67
67
|
] }) }),
|
|
68
|
-
/* @__PURE__ */ e(
|
|
68
|
+
/* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Lasso tool (L)" })
|
|
69
69
|
] }),
|
|
70
|
-
/* @__PURE__ */ r(
|
|
71
|
-
/* @__PURE__ */ e(
|
|
72
|
-
/* @__PURE__ */ e(
|
|
70
|
+
/* @__PURE__ */ r(t, { children: [
|
|
71
|
+
/* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ r(l, { value: "points", children: [
|
|
72
|
+
/* @__PURE__ */ e(g, { size: 22 }),
|
|
73
73
|
/* @__PURE__ */ e(a, { className: "ml-1", children: "P" })
|
|
74
74
|
] }) }),
|
|
75
|
-
/* @__PURE__ */ e(
|
|
75
|
+
/* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Points tool (P)" })
|
|
76
76
|
] })
|
|
77
77
|
] }) }),
|
|
78
78
|
/* @__PURE__ */ e("div", { className: "flex", children: /* @__PURE__ */ r(s, { type: "single", variant: "outline", children: [
|
|
79
|
-
/* @__PURE__ */ r(
|
|
80
|
-
/* @__PURE__ */ e(
|
|
79
|
+
/* @__PURE__ */ r(t, { children: [
|
|
80
|
+
/* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ r(
|
|
81
81
|
l,
|
|
82
82
|
{
|
|
83
83
|
value: "crosshairs",
|
|
84
84
|
className: "data-[state=on]:bg-toggle-bg data-[state=on]:border-toggle-border",
|
|
85
85
|
children: [
|
|
86
|
-
/* @__PURE__ */ e(
|
|
86
|
+
/* @__PURE__ */ e(b, { size: 22 }),
|
|
87
87
|
/* @__PURE__ */ e(a, { className: "group-data-[state=on]:bg-badge-primary-bg active:bg-badge-primary-bg--active ml-1", children: "⌘X" })
|
|
88
88
|
]
|
|
89
89
|
}
|
|
90
90
|
) }),
|
|
91
|
-
/* @__PURE__ */ e(
|
|
91
|
+
/* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Scissor tool (⌘X)" })
|
|
92
92
|
] }),
|
|
93
|
-
/* @__PURE__ */ r(
|
|
94
|
-
/* @__PURE__ */ e(
|
|
93
|
+
/* @__PURE__ */ r(t, { children: [
|
|
94
|
+
/* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ r(
|
|
95
95
|
l,
|
|
96
96
|
{
|
|
97
97
|
value: "lasso",
|
|
@@ -102,64 +102,58 @@ const ve = () => /* @__PURE__ */ r("div", { className: "flex items-center gap-4"
|
|
|
102
102
|
]
|
|
103
103
|
}
|
|
104
104
|
) }),
|
|
105
|
-
/* @__PURE__ */ e(
|
|
105
|
+
/* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Label tool (⌘T)" })
|
|
106
106
|
] })
|
|
107
107
|
] }) }),
|
|
108
108
|
/* @__PURE__ */ e("div", { className: "flex", children: /* @__PURE__ */ r(s, { type: "single", variant: "outline", children: [
|
|
109
|
-
/* @__PURE__ */ r(
|
|
110
|
-
/* @__PURE__ */ e(
|
|
109
|
+
/* @__PURE__ */ r(t, { children: [
|
|
110
|
+
/* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ r(
|
|
111
111
|
l,
|
|
112
112
|
{
|
|
113
113
|
value: "undo",
|
|
114
114
|
className: "data-[state=on]:bg-toggle-bg data-[state=on]:border-toggle-border",
|
|
115
115
|
children: [
|
|
116
|
-
/* @__PURE__ */ e(
|
|
116
|
+
/* @__PURE__ */ e(f, { size: 22 }),
|
|
117
117
|
/* @__PURE__ */ e(a, { className: "group-data-[state=on]:bg-badge-primary-bg active:bg-badge-primary-bg--active ml-1", children: "⌘X" })
|
|
118
118
|
]
|
|
119
119
|
}
|
|
120
120
|
) }),
|
|
121
|
-
/* @__PURE__ */ e(
|
|
121
|
+
/* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Undo last (⌘X)" })
|
|
122
122
|
] }),
|
|
123
|
-
/* @__PURE__ */ r(
|
|
124
|
-
/* @__PURE__ */ e(
|
|
123
|
+
/* @__PURE__ */ r(t, { children: [
|
|
124
|
+
/* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ r(
|
|
125
125
|
l,
|
|
126
126
|
{
|
|
127
127
|
value: "delete",
|
|
128
128
|
className: "data-[state=on]:bg-toggle-bg data-[state=on]:border-toggle-border",
|
|
129
129
|
children: [
|
|
130
|
-
/* @__PURE__ */ e(
|
|
130
|
+
/* @__PURE__ */ e(d, { size: 22 }),
|
|
131
131
|
/* @__PURE__ */ e(a, { className: "group-data-[state=on]:bg-badge-primary-bg active:bg-badge-primary-bg--active ml-1", children: "⌫" })
|
|
132
132
|
]
|
|
133
133
|
}
|
|
134
134
|
) }),
|
|
135
|
-
/* @__PURE__ */ e(
|
|
135
|
+
/* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Delete selected (⌫)" })
|
|
136
136
|
] }),
|
|
137
|
-
/* @__PURE__ */ r(
|
|
138
|
-
/* @__PURE__ */ e(
|
|
137
|
+
/* @__PURE__ */ r(t, { children: [
|
|
138
|
+
/* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ r(
|
|
139
139
|
l,
|
|
140
140
|
{
|
|
141
141
|
value: "clear",
|
|
142
142
|
className: "data-[state=on]:bg-toggle-bg data-[state=on]:border-toggle-border",
|
|
143
143
|
children: [
|
|
144
|
-
/* @__PURE__ */ e(
|
|
144
|
+
/* @__PURE__ */ e(m, { size: 22 }),
|
|
145
145
|
/* @__PURE__ */ e(a, { className: "group-data-[state=on]:bg-badge-primary-bg active:bg-badge-primary-bg--active ml-1", children: "⌘⇧A" })
|
|
146
146
|
]
|
|
147
147
|
}
|
|
148
148
|
) }),
|
|
149
|
-
/* @__PURE__ */ e(
|
|
149
|
+
/* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Clear (⌘⇧A)" })
|
|
150
150
|
] })
|
|
151
151
|
] }) }),
|
|
152
|
-
/* @__PURE__ */
|
|
153
|
-
/* @__PURE__ */
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
] }),
|
|
157
|
-
/* @__PURE__ */ r(i, { children: [
|
|
158
|
-
/* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(d, { pressed: !1, children: /* @__PURE__ */ e(h, { size: 22 }) }) }),
|
|
159
|
-
/* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Ontology" })
|
|
160
|
-
] })
|
|
161
|
-
] })
|
|
152
|
+
/* @__PURE__ */ e("div", { className: "flex gap-4", children: /* @__PURE__ */ r(t, { children: [
|
|
153
|
+
/* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ e(u, { pressed: !1, children: /* @__PURE__ */ e(p, { size: 22 }) }) }),
|
|
154
|
+
/* @__PURE__ */ e(o, { sideOffset: 8, side: "bottom", children: "Metadata" })
|
|
155
|
+
] }) })
|
|
162
156
|
] });
|
|
163
157
|
export {
|
|
164
|
-
|
|
158
|
+
fe as LabelingTools
|
|
165
159
|
};
|