@spear-ai/spectral 1.3.32 → 1.3.34
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/.js +70 -66
- package/dist/Badge/BadgeBase.js +13 -13
- package/dist/Button.js +11 -11
- package/dist/Dialog/DialogBase.js +205 -0
- package/dist/Dialog.js +99 -0
- package/dist/Icons/DashboardIcon.js +4 -4
- package/dist/Icons/HarmonicCursorsIcon.js +37 -0
- package/dist/Icons/WarningIcon.js +27 -0
- package/dist/Icons.js +46 -42
- package/dist/Toggle.js +5 -5
- package/dist/assets/main.css +1 -1
- package/dist/components/Dialog/Dialog.d.ts +16 -0
- package/dist/components/Dialog/Dialog.d.ts.map +1 -0
- package/dist/components/Dialog/DialogBase.d.ts +71 -0
- package/dist/components/Dialog/DialogBase.d.ts.map +1 -0
- package/dist/components/Icons/HarmonicCursorsIcon.d.ts +3 -0
- package/dist/components/Icons/HarmonicCursorsIcon.d.ts.map +1 -0
- package/dist/components/Icons/WarningIcon.d.ts +3 -0
- package/dist/components/Icons/WarningIcon.d.ts.map +1 -0
- package/dist/components/Icons/index.d.ts +2 -0
- package/dist/components/Icons/index.d.ts.map +1 -1
- package/dist/features/ClearDialog/ClearDialog.d.ts +2 -0
- package/dist/features/ClearDialog/ClearDialog.d.ts.map +1 -0
- package/dist/features/ClearDialog.js +30 -0
- package/dist/features/LabelingTools/LabelingTools.d.ts.map +1 -1
- package/dist/features/LabelingTools.js +105 -68
- package/dist/features/SensorMetadata.js +4 -2
- package/dist/features/SettingsPopover/SettingsPopover.d.ts.map +1 -1
- package/dist/features/SettingsPopover.js +60 -54
- package/package.json +1 -1
|
@@ -1,112 +1,149 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { Badge as
|
|
1
|
+
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Badge as a } from "../Badge.js";
|
|
3
3
|
import "../Icons/AnnotationsIcon.js";
|
|
4
4
|
import "../Icons/CalendarIcon.js";
|
|
5
5
|
import "../Icons/ClockIcon.js";
|
|
6
6
|
import "../Icons/DashboardIcon.js";
|
|
7
|
-
import { DeleteIcon as
|
|
7
|
+
import { DeleteIcon as n } from "../Icons/DeleteIcon.js";
|
|
8
8
|
import "../Icons/DurationIcon.js";
|
|
9
|
-
import { EraserIcon as
|
|
9
|
+
import { EraserIcon as c } from "../Icons/EraserIcon.js";
|
|
10
10
|
import "../Icons/GoToFirstIcon.js";
|
|
11
11
|
import "../Icons/GoToLastIcon.js";
|
|
12
|
+
import "../Icons/HarmonicCursorsIcon.js";
|
|
12
13
|
import "../Icons/InfoIcon.js";
|
|
13
|
-
import { LabelIcon as
|
|
14
|
-
import { LassoIcon as
|
|
14
|
+
import { LabelIcon as m } from "../Icons/LabelIcon.js";
|
|
15
|
+
import { LassoIcon as g } from "../Icons/LassoIcon.js";
|
|
15
16
|
import { LineToolIcon as p } from "../Icons/LineToolIcon.js";
|
|
16
17
|
import "../Icons/LiveViewIcon.js";
|
|
17
18
|
import "../Icons/LocationIcon.js";
|
|
18
19
|
import "../Icons/LogoutIcon.js";
|
|
19
|
-
import { MetadataIcon as
|
|
20
|
-
import { OntologyIcon as
|
|
20
|
+
import { MetadataIcon as b } from "../Icons/MetadataIcon.js";
|
|
21
|
+
import { OntologyIcon as h } from "../Icons/OntologyIcon.js";
|
|
21
22
|
import "../Icons/PanelIcon.js";
|
|
22
23
|
import "../Icons/PlayIcon.js";
|
|
23
|
-
import { PlusIcon as
|
|
24
|
+
import { PlusIcon as f } from "../Icons/PlusIcon.js";
|
|
24
25
|
import "../Icons/ResetIcon.js";
|
|
25
26
|
import { ScissorsIcon as v } from "../Icons/ScissorsIcon.js";
|
|
26
27
|
import "../Icons/SettingsIcon.js";
|
|
27
28
|
import "../Icons/TrashIcon.js";
|
|
28
|
-
import { UndoIcon as
|
|
29
|
+
import { UndoIcon as u } from "../Icons/UndoIcon.js";
|
|
29
30
|
import "../Icons/UserIcon.js";
|
|
31
|
+
import "../Icons/WarningIcon.js";
|
|
30
32
|
import "../Icons/ZoomAllIcon.js";
|
|
31
33
|
import "../Icons/ZoomXIcon.js";
|
|
32
34
|
import "../Icons/ZoomYIcon.js";
|
|
33
35
|
import { Toggle as d } from "../Toggle.js";
|
|
34
|
-
import { ToggleGroup as
|
|
35
|
-
import { Tooltip as
|
|
36
|
-
const
|
|
37
|
-
/* @__PURE__ */ e("div", { className: "flex", children: /* @__PURE__ */
|
|
38
|
-
/* @__PURE__ */ i
|
|
39
|
-
/* @__PURE__ */ e(
|
|
40
|
-
/* @__PURE__ */ e(
|
|
41
|
-
/* @__PURE__ */ e(
|
|
36
|
+
import { ToggleGroup as s, ToggleGroupItem as l } from "../ToggleGroup.js";
|
|
37
|
+
import { Tooltip as i, TooltipTrigger as o, TooltipContent as t } from "../Tooltip.js";
|
|
38
|
+
const ie = () => /* @__PURE__ */ r("div", { className: "align-center flex gap-4", children: [
|
|
39
|
+
/* @__PURE__ */ e("div", { className: "flex", children: /* @__PURE__ */ r(s, { type: "single", variant: "outline", children: [
|
|
40
|
+
/* @__PURE__ */ r(i, { children: [
|
|
41
|
+
/* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(l, { value: "crosshairs", children: [
|
|
42
|
+
/* @__PURE__ */ e(f, { size: 22 }),
|
|
43
|
+
/* @__PURE__ */ e(a, { className: "ml-1", children: "C" })
|
|
42
44
|
] }) }),
|
|
43
|
-
/* @__PURE__ */ e(
|
|
45
|
+
/* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Crosshairs tool (C)" })
|
|
44
46
|
] }),
|
|
45
|
-
/* @__PURE__ */ i
|
|
46
|
-
/* @__PURE__ */ e(
|
|
47
|
-
/* @__PURE__ */ e(
|
|
48
|
-
/* @__PURE__ */ e(
|
|
47
|
+
/* @__PURE__ */ r(i, { children: [
|
|
48
|
+
/* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(l, { value: "lasso", children: [
|
|
49
|
+
/* @__PURE__ */ e(g, { size: 22 }),
|
|
50
|
+
/* @__PURE__ */ e(a, { className: "ml-1", children: "L" })
|
|
49
51
|
] }) }),
|
|
50
|
-
/* @__PURE__ */ e(
|
|
52
|
+
/* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Lasso tool (L)" })
|
|
51
53
|
] }),
|
|
52
|
-
/* @__PURE__ */ i
|
|
53
|
-
/* @__PURE__ */ e(
|
|
54
|
+
/* @__PURE__ */ r(i, { children: [
|
|
55
|
+
/* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(l, { value: "points", children: [
|
|
54
56
|
/* @__PURE__ */ e(p, { size: 22 }),
|
|
55
|
-
/* @__PURE__ */ e(
|
|
57
|
+
/* @__PURE__ */ e(a, { className: "ml-1", children: "P" })
|
|
56
58
|
] }) }),
|
|
57
|
-
/* @__PURE__ */ e(
|
|
59
|
+
/* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Points tool (P)" })
|
|
58
60
|
] })
|
|
59
61
|
] }) }),
|
|
60
|
-
/* @__PURE__ */ e("div", { className: "flex", children: /* @__PURE__ */
|
|
61
|
-
/* @__PURE__ */ i
|
|
62
|
-
/* @__PURE__ */ e(
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
62
|
+
/* @__PURE__ */ e("div", { className: "flex", children: /* @__PURE__ */ r(s, { type: "single", variant: "outline", children: [
|
|
63
|
+
/* @__PURE__ */ r(i, { children: [
|
|
64
|
+
/* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(
|
|
65
|
+
l,
|
|
66
|
+
{
|
|
67
|
+
value: "crosshairs",
|
|
68
|
+
className: "data-[state=on]:bg-toggle-bg data-[state=on]:border-toggle-border",
|
|
69
|
+
children: [
|
|
70
|
+
/* @__PURE__ */ e(v, { size: 22 }),
|
|
71
|
+
/* @__PURE__ */ e(a, { className: "group-data-[state=on]:bg-badge-primary-bg active:bg-badge-primary-bg--active ml-1", children: "⌘X" })
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
) }),
|
|
75
|
+
/* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Scissor tool (⌘X)" })
|
|
67
76
|
] }),
|
|
68
|
-
/* @__PURE__ */ i
|
|
69
|
-
/* @__PURE__ */ e(
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
77
|
+
/* @__PURE__ */ r(i, { children: [
|
|
78
|
+
/* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(
|
|
79
|
+
l,
|
|
80
|
+
{
|
|
81
|
+
value: "lasso",
|
|
82
|
+
className: "data-[state=on]:bg-toggle-bg data-[state=on]:border-toggle-border",
|
|
83
|
+
children: [
|
|
84
|
+
/* @__PURE__ */ e(m, { size: 22 }),
|
|
85
|
+
/* @__PURE__ */ e(a, { className: "group-data-[state=on]:bg-badge-primary-bg active:bg-badge-primary-bg--active ml-1", children: "⌘T" })
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
) }),
|
|
89
|
+
/* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Label tool (⌘T)" })
|
|
74
90
|
] })
|
|
75
91
|
] }) }),
|
|
76
|
-
/* @__PURE__ */ e("div", { className: "flex", children: /* @__PURE__ */
|
|
77
|
-
/* @__PURE__ */ i
|
|
78
|
-
/* @__PURE__ */ e(
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
92
|
+
/* @__PURE__ */ e("div", { className: "flex", children: /* @__PURE__ */ r(s, { type: "single", variant: "outline", children: [
|
|
93
|
+
/* @__PURE__ */ r(i, { children: [
|
|
94
|
+
/* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(
|
|
95
|
+
l,
|
|
96
|
+
{
|
|
97
|
+
value: "undo",
|
|
98
|
+
className: "data-[state=on]:bg-toggle-bg data-[state=on]:border-toggle-border",
|
|
99
|
+
children: [
|
|
100
|
+
/* @__PURE__ */ e(u, { size: 22 }),
|
|
101
|
+
/* @__PURE__ */ e(a, { className: "group-data-[state=on]:bg-badge-primary-bg active:bg-badge-primary-bg--active ml-1", children: "⌘X" })
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
) }),
|
|
105
|
+
/* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Undo last (⌘X)" })
|
|
83
106
|
] }),
|
|
84
|
-
/* @__PURE__ */ i
|
|
85
|
-
/* @__PURE__ */ e(
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
107
|
+
/* @__PURE__ */ r(i, { children: [
|
|
108
|
+
/* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(
|
|
109
|
+
l,
|
|
110
|
+
{
|
|
111
|
+
value: "delete",
|
|
112
|
+
className: "data-[state=on]:bg-toggle-bg data-[state=on]:border-toggle-border",
|
|
113
|
+
children: [
|
|
114
|
+
/* @__PURE__ */ e(n, { size: 22 }),
|
|
115
|
+
/* @__PURE__ */ e(a, { className: "group-data-[state=on]:bg-badge-primary-bg active:bg-badge-primary-bg--active ml-1", children: "⌫" })
|
|
116
|
+
]
|
|
117
|
+
}
|
|
118
|
+
) }),
|
|
119
|
+
/* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Delete selected (⌫)" })
|
|
90
120
|
] }),
|
|
91
|
-
/* @__PURE__ */ i
|
|
92
|
-
/* @__PURE__ */ e(
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
121
|
+
/* @__PURE__ */ r(i, { children: [
|
|
122
|
+
/* @__PURE__ */ e(o, { children: /* @__PURE__ */ r(
|
|
123
|
+
l,
|
|
124
|
+
{
|
|
125
|
+
value: "clear",
|
|
126
|
+
className: "data-[state=on]:bg-toggle-bg data-[state=on]:border-toggle-border",
|
|
127
|
+
children: [
|
|
128
|
+
/* @__PURE__ */ e(c, { size: 22 }),
|
|
129
|
+
/* @__PURE__ */ e(a, { className: "group-data-[state=on]:bg-badge-primary-bg active:bg-badge-primary-bg--active ml-1", children: "⌘⇧A" })
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
) }),
|
|
133
|
+
/* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Clear (⌘⇧A)" })
|
|
97
134
|
] })
|
|
98
135
|
] }) }),
|
|
99
|
-
/* @__PURE__ */
|
|
100
|
-
/* @__PURE__ */ i
|
|
101
|
-
/* @__PURE__ */ e(
|
|
102
|
-
/* @__PURE__ */ e(
|
|
136
|
+
/* @__PURE__ */ r("div", { className: "flex gap-4", children: [
|
|
137
|
+
/* @__PURE__ */ r(i, { children: [
|
|
138
|
+
/* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(d, { pressed: !1, children: /* @__PURE__ */ e(b, { size: 22 }) }) }),
|
|
139
|
+
/* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Metadata" })
|
|
103
140
|
] }),
|
|
104
|
-
/* @__PURE__ */ i
|
|
105
|
-
/* @__PURE__ */ e(
|
|
106
|
-
/* @__PURE__ */ e(
|
|
141
|
+
/* @__PURE__ */ r(i, { children: [
|
|
142
|
+
/* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(d, { pressed: !1, children: /* @__PURE__ */ e(h, { size: 22 }) }) }),
|
|
143
|
+
/* @__PURE__ */ e(t, { sideOffset: 8, side: "bottom", children: "Ontology" })
|
|
107
144
|
] })
|
|
108
145
|
] })
|
|
109
146
|
] });
|
|
110
147
|
export {
|
|
111
|
-
|
|
148
|
+
ie as LabelingTools
|
|
112
149
|
};
|
|
@@ -9,6 +9,7 @@ import { DurationIcon as a } from "../Icons/DurationIcon.js";
|
|
|
9
9
|
import "../Icons/EraserIcon.js";
|
|
10
10
|
import "../Icons/GoToFirstIcon.js";
|
|
11
11
|
import "../Icons/GoToLastIcon.js";
|
|
12
|
+
import "../Icons/HarmonicCursorsIcon.js";
|
|
12
13
|
import { InfoIcon as s } from "../Icons/InfoIcon.js";
|
|
13
14
|
import "../Icons/LabelIcon.js";
|
|
14
15
|
import "../Icons/LassoIcon.js";
|
|
@@ -27,10 +28,11 @@ import "../Icons/SettingsIcon.js";
|
|
|
27
28
|
import "../Icons/TrashIcon.js";
|
|
28
29
|
import "../Icons/UndoIcon.js";
|
|
29
30
|
import "../Icons/UserIcon.js";
|
|
31
|
+
import "../Icons/WarningIcon.js";
|
|
30
32
|
import "../Icons/ZoomAllIcon.js";
|
|
31
33
|
import "../Icons/ZoomXIcon.js";
|
|
32
34
|
import "../Icons/ZoomYIcon.js";
|
|
33
|
-
const
|
|
35
|
+
const G = () => /* @__PURE__ */ e(r, { description: "Recording Details", title: "Sensor Metadata", trigger: /* @__PURE__ */ e(m, {}), children: /* @__PURE__ */ t("div", { className: "flex flex-col gap-4", children: [
|
|
34
36
|
/* @__PURE__ */ t("div", { className: "bg-card-bg-secondary rounded-md px-4 py-5", children: [
|
|
35
37
|
/* @__PURE__ */ t("div", { className: "flex items-center gap-2 !text-sm font-semibold uppercase", children: [
|
|
36
38
|
/* @__PURE__ */ e(s, { size: 16 }),
|
|
@@ -85,5 +87,5 @@ const E = () => /* @__PURE__ */ e(r, { description: "Recording Details", title:
|
|
|
85
87
|
] })
|
|
86
88
|
] }) });
|
|
87
89
|
export {
|
|
88
|
-
|
|
90
|
+
G as SensorMetadata
|
|
89
91
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SettingsPopover.d.ts","sourceRoot":"","sources":["../../../src/features/SettingsPopover/SettingsPopover.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SettingsPopover.d.ts","sourceRoot":"","sources":["../../../src/features/SettingsPopover/SettingsPopover.tsx"],"names":[],"mappings":"AAmBA,eAAO,MAAM,eAAe,+CAkK3B,CAAA"}
|
|
@@ -7,13 +7,14 @@ import "../Icons/DashboardIcon.js";
|
|
|
7
7
|
import "../Icons/DeleteIcon.js";
|
|
8
8
|
import "../Icons/DurationIcon.js";
|
|
9
9
|
import "../Icons/EraserIcon.js";
|
|
10
|
-
import { GoToFirstIcon as
|
|
10
|
+
import { GoToFirstIcon as y } from "../Icons/GoToFirstIcon.js";
|
|
11
11
|
import { GoToLastIcon as N } from "../Icons/GoToLastIcon.js";
|
|
12
|
+
import { HarmonicCursorsIcon as T } from "../Icons/HarmonicCursorsIcon.js";
|
|
12
13
|
import "../Icons/InfoIcon.js";
|
|
13
14
|
import "../Icons/LabelIcon.js";
|
|
14
15
|
import "../Icons/LassoIcon.js";
|
|
15
16
|
import "../Icons/LineToolIcon.js";
|
|
16
|
-
import { LiveViewIcon as
|
|
17
|
+
import { LiveViewIcon as x } from "../Icons/LiveViewIcon.js";
|
|
17
18
|
import "../Icons/LocationIcon.js";
|
|
18
19
|
import "../Icons/LogoutIcon.js";
|
|
19
20
|
import "../Icons/MetadataIcon.js";
|
|
@@ -21,27 +22,28 @@ import "../Icons/OntologyIcon.js";
|
|
|
21
22
|
import "../Icons/PanelIcon.js";
|
|
22
23
|
import "../Icons/PlayIcon.js";
|
|
23
24
|
import "../Icons/PlusIcon.js";
|
|
24
|
-
import { ResetIcon as
|
|
25
|
+
import { ResetIcon as z } from "../Icons/ResetIcon.js";
|
|
25
26
|
import "../Icons/ScissorsIcon.js";
|
|
26
|
-
import { SettingsIcon as
|
|
27
|
+
import { SettingsIcon as O } from "../Icons/SettingsIcon.js";
|
|
27
28
|
import "../Icons/TrashIcon.js";
|
|
28
29
|
import "../Icons/UndoIcon.js";
|
|
29
30
|
import "../Icons/UserIcon.js";
|
|
30
|
-
import
|
|
31
|
-
import {
|
|
31
|
+
import "../Icons/WarningIcon.js";
|
|
32
|
+
import { ZoomAllIcon as I } from "../Icons/ZoomAllIcon.js";
|
|
33
|
+
import { ZoomXIcon as C } from "../Icons/ZoomXIcon.js";
|
|
32
34
|
import { ZoomYIcon as k } from "../Icons/ZoomYIcon.js";
|
|
33
|
-
import { Popover as G, PopoverTrigger as V, PopoverContent as
|
|
34
|
-
import { RadioGroup as
|
|
35
|
-
import { Switch as
|
|
36
|
-
import { Toggle as
|
|
37
|
-
import { ToggleGroup as h, ToggleGroupItem as
|
|
38
|
-
import { Tooltip as a, TooltipTrigger as
|
|
39
|
-
import { useState as
|
|
40
|
-
const
|
|
41
|
-
const [g, b] =
|
|
35
|
+
import { Popover as G, PopoverTrigger as V, PopoverContent as R } from "../Popover.js";
|
|
36
|
+
import { RadioGroup as S, RadioGroupItem as l } from "../RadioGroup.js";
|
|
37
|
+
import { Switch as A } from "../Switch.js";
|
|
38
|
+
import { Toggle as s } from "../Toggle.js";
|
|
39
|
+
import { ToggleGroup as h, ToggleGroupItem as t } from "../ToggleGroup.js";
|
|
40
|
+
import { Tooltip as a, TooltipTrigger as m, TooltipContent as n } from "../Tooltip.js";
|
|
41
|
+
import { useState as c } from "react";
|
|
42
|
+
const ye = () => {
|
|
43
|
+
const [g, b] = c("green-black"), [f, d] = c(""), [v, p] = c(!1), [u, w] = c(!1);
|
|
42
44
|
return /* @__PURE__ */ r(G, { open: v, onOpenChange: p, children: [
|
|
43
|
-
/* @__PURE__ */ e(V, { children: /* @__PURE__ */ e(
|
|
44
|
-
/* @__PURE__ */ r(
|
|
45
|
+
/* @__PURE__ */ e(V, { children: /* @__PURE__ */ e(s, { pressed: !1, children: /* @__PURE__ */ e(O, {}) }) }),
|
|
46
|
+
/* @__PURE__ */ r(R, { side: "bottom", align: "end", children: [
|
|
45
47
|
/* @__PURE__ */ r("div", { className: "mb-6 w-full", children: [
|
|
46
48
|
/* @__PURE__ */ e("p", { className: "text-md text-md mb-3 font-semibold", children: "Zoom Options" }),
|
|
47
49
|
/* @__PURE__ */ r(
|
|
@@ -50,20 +52,20 @@ const ve = () => {
|
|
|
50
52
|
type: "single",
|
|
51
53
|
layout: "expanded",
|
|
52
54
|
value: f,
|
|
53
|
-
onValueChange: (
|
|
54
|
-
const i = typeof
|
|
55
|
-
|
|
55
|
+
onValueChange: (o) => {
|
|
56
|
+
const i = typeof o == "string" ? o : "";
|
|
57
|
+
d(i), i && p(!1);
|
|
56
58
|
},
|
|
57
59
|
children: [
|
|
58
|
-
/* @__PURE__ */ r(
|
|
59
|
-
/* @__PURE__ */ e(
|
|
60
|
+
/* @__PURE__ */ r(t, { value: "zoom-all", children: [
|
|
61
|
+
/* @__PURE__ */ e(I, { size: 16 }),
|
|
60
62
|
"All"
|
|
61
63
|
] }),
|
|
62
|
-
/* @__PURE__ */ r(
|
|
63
|
-
/* @__PURE__ */ e(
|
|
64
|
+
/* @__PURE__ */ r(t, { value: "zoom-bearing", children: [
|
|
65
|
+
/* @__PURE__ */ e(C, { size: 16 }),
|
|
64
66
|
"Bearing"
|
|
65
67
|
] }),
|
|
66
|
-
/* @__PURE__ */ r(
|
|
68
|
+
/* @__PURE__ */ r(t, { value: "zoom-time", children: [
|
|
67
69
|
/* @__PURE__ */ e(k, { size: 16 }),
|
|
68
70
|
"Time"
|
|
69
71
|
] })
|
|
@@ -71,16 +73,16 @@ const ve = () => {
|
|
|
71
73
|
}
|
|
72
74
|
),
|
|
73
75
|
/* @__PURE__ */ r(
|
|
74
|
-
|
|
76
|
+
s,
|
|
75
77
|
{
|
|
76
78
|
pressed: !1,
|
|
77
79
|
"aria-label": "Reset zoom",
|
|
78
|
-
className: "
|
|
80
|
+
className: "mt-4 w-full",
|
|
79
81
|
onClick: () => {
|
|
80
|
-
|
|
82
|
+
d("");
|
|
81
83
|
},
|
|
82
84
|
children: [
|
|
83
|
-
/* @__PURE__ */ e(
|
|
85
|
+
/* @__PURE__ */ e(z, { size: 16 }),
|
|
84
86
|
"Reset"
|
|
85
87
|
]
|
|
86
88
|
}
|
|
@@ -91,47 +93,51 @@ const ve = () => {
|
|
|
91
93
|
/* @__PURE__ */ r("div", { className: "flex items-center justify-between", children: [
|
|
92
94
|
"View Annotations",
|
|
93
95
|
/* @__PURE__ */ e(
|
|
94
|
-
|
|
96
|
+
A,
|
|
95
97
|
{
|
|
96
98
|
checked: u,
|
|
97
|
-
onChange: (
|
|
98
|
-
|
|
99
|
+
onChange: (o) => {
|
|
100
|
+
w(o);
|
|
99
101
|
},
|
|
100
102
|
labelText: "View Annotations",
|
|
101
103
|
hideLabel: !0,
|
|
102
104
|
id: "view-annotations"
|
|
103
105
|
}
|
|
104
106
|
)
|
|
105
|
-
] })
|
|
107
|
+
] }),
|
|
108
|
+
/* @__PURE__ */ e("div", { className: "mt-4 flex w-full items-center justify-center gap-2", children: /* @__PURE__ */ r(s, { pressed: !1, className: "w-full", children: [
|
|
109
|
+
/* @__PURE__ */ e(T, { size: 16 }),
|
|
110
|
+
"Harmonic Cursors"
|
|
111
|
+
] }) })
|
|
106
112
|
] }),
|
|
107
113
|
/* @__PURE__ */ r("div", { className: "border-border-secondary mb-6 w-full border-t pt-4", children: [
|
|
108
114
|
/* @__PURE__ */ e("p", { className: "text-md text-md mb-3 font-semibold", children: "Theme Options" }),
|
|
109
115
|
/* @__PURE__ */ r(
|
|
110
|
-
|
|
116
|
+
S,
|
|
111
117
|
{
|
|
112
118
|
orientation: "horizontal",
|
|
113
119
|
className: "flex items-center gap-3",
|
|
114
120
|
value: g,
|
|
115
|
-
onValueChange: (
|
|
116
|
-
b(typeof
|
|
121
|
+
onValueChange: (o) => {
|
|
122
|
+
b(typeof o == "string" ? o : "green-black");
|
|
117
123
|
},
|
|
118
124
|
variant: "unstyled",
|
|
119
125
|
children: [
|
|
120
126
|
/* @__PURE__ */ e(l, { value: "green-black", "aria-label": "green & black theme", children: /* @__PURE__ */ r(a, { children: [
|
|
121
|
-
/* @__PURE__ */ e(
|
|
122
|
-
/* @__PURE__ */ e(
|
|
127
|
+
/* @__PURE__ */ e(m, { children: /* @__PURE__ */ e("img", { src: "/themes/green-black-theme.webp", alt: "green & black theme", className: "h-8 w-8" }) }),
|
|
128
|
+
/* @__PURE__ */ e(n, { side: "bottom", sideOffset: 8, children: /* @__PURE__ */ e("p", { children: "Green & Black Theme" }) })
|
|
123
129
|
] }) }),
|
|
124
130
|
/* @__PURE__ */ e(l, { value: "grayscale", "aria-label": "grayscale theme", children: /* @__PURE__ */ r(a, { children: [
|
|
125
|
-
/* @__PURE__ */ e(
|
|
126
|
-
/* @__PURE__ */ e(
|
|
131
|
+
/* @__PURE__ */ e(m, { children: /* @__PURE__ */ e("img", { src: "/themes/grayscale-theme.webp", alt: "grayscale theme", className: "h-8 w-8" }) }),
|
|
132
|
+
/* @__PURE__ */ e(n, { side: "bottom", sideOffset: 8, children: /* @__PURE__ */ e("p", { children: "Grayscale Theme" }) })
|
|
127
133
|
] }) }),
|
|
128
134
|
/* @__PURE__ */ e(l, { value: "reverse-grayscale", "aria-label": "reverse grayscale theme", children: /* @__PURE__ */ r(a, { children: [
|
|
129
|
-
/* @__PURE__ */ e(
|
|
130
|
-
/* @__PURE__ */ e(
|
|
135
|
+
/* @__PURE__ */ e(m, { children: /* @__PURE__ */ e("img", { src: "/themes/reverse-grayscale-theme.webp", alt: "reverse grayscale theme", className: "h-8 w-8" }) }),
|
|
136
|
+
/* @__PURE__ */ e(n, { side: "bottom", sideOffset: 8, children: /* @__PURE__ */ e("p", { children: "Reverse Grayscale Theme" }) })
|
|
131
137
|
] }) }),
|
|
132
138
|
/* @__PURE__ */ e(l, { value: "viridis", "aria-label": "viridis theme", children: /* @__PURE__ */ r(a, { children: [
|
|
133
|
-
/* @__PURE__ */ e(
|
|
134
|
-
/* @__PURE__ */ e(
|
|
139
|
+
/* @__PURE__ */ e(m, { children: /* @__PURE__ */ e("img", { src: "/themes/viridis-theme.webp", alt: "viridis theme", className: "h-8 w-8" }) }),
|
|
140
|
+
/* @__PURE__ */ e(n, { side: "bottom", sideOffset: 8, children: /* @__PURE__ */ e("p", { children: "Viridis Theme" }) })
|
|
135
141
|
] }) })
|
|
136
142
|
]
|
|
137
143
|
}
|
|
@@ -139,8 +145,8 @@ const ve = () => {
|
|
|
139
145
|
] }),
|
|
140
146
|
/* @__PURE__ */ r("div", { className: "border-border-secondary mb-2 w-full border-t pt-4", children: [
|
|
141
147
|
/* @__PURE__ */ e("p", { className: "text-md text-md mb-3 font-semibold", children: "View Options" }),
|
|
142
|
-
/* @__PURE__ */ r(
|
|
143
|
-
/* @__PURE__ */ e(
|
|
148
|
+
/* @__PURE__ */ r(s, { pressed: !1, className: "mb-4 w-full", children: [
|
|
149
|
+
/* @__PURE__ */ e(x, { size: 18 }),
|
|
144
150
|
"Realtime Stream"
|
|
145
151
|
] }),
|
|
146
152
|
/* @__PURE__ */ r(
|
|
@@ -148,26 +154,26 @@ const ve = () => {
|
|
|
148
154
|
{
|
|
149
155
|
type: "single",
|
|
150
156
|
layout: "expanded",
|
|
151
|
-
onValueChange: (
|
|
152
|
-
|
|
157
|
+
onValueChange: (o) => {
|
|
158
|
+
d(typeof o == "string" ? o : "");
|
|
153
159
|
},
|
|
154
160
|
children: [
|
|
155
161
|
/* @__PURE__ */ r(
|
|
156
|
-
|
|
162
|
+
t,
|
|
157
163
|
{
|
|
158
164
|
value: "zoom-time",
|
|
159
|
-
className: "
|
|
165
|
+
className: "data-[state=on]:bg-toggle-bg data-[state=on]:border-toggle-border",
|
|
160
166
|
children: [
|
|
161
|
-
/* @__PURE__ */ e(
|
|
167
|
+
/* @__PURE__ */ e(y, { size: 16 }),
|
|
162
168
|
"Oldest Data"
|
|
163
169
|
]
|
|
164
170
|
}
|
|
165
171
|
),
|
|
166
172
|
/* @__PURE__ */ r(
|
|
167
|
-
|
|
173
|
+
t,
|
|
168
174
|
{
|
|
169
175
|
value: "zoom-bearing",
|
|
170
|
-
className: "
|
|
176
|
+
className: "data-[state=on]:bg-toggle-bg data-[state=on]:border-toggle-border",
|
|
171
177
|
children: [
|
|
172
178
|
/* @__PURE__ */ e(N, { size: 16 }),
|
|
173
179
|
"Newest Data"
|
|
@@ -182,5 +188,5 @@ const ve = () => {
|
|
|
182
188
|
] });
|
|
183
189
|
};
|
|
184
190
|
export {
|
|
185
|
-
|
|
191
|
+
ye as SettingsPopover
|
|
186
192
|
};
|