@luxonis/visualizer-protobuf 2.3.0 → 2.4.0
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/apps/depthai-visualizer/src/components/Panel.d.ts.map +1 -1
- package/dist/apps/depthai-visualizer/src/components/Panel.js +4 -13
- package/dist/apps/depthai-visualizer/src/components/Panel.js.map +1 -1
- package/dist/apps/depthai-visualizer/src/components/PanelToolbar.d.ts.map +1 -1
- package/dist/apps/depthai-visualizer/src/components/PanelToolbar.js +3 -3
- package/dist/apps/depthai-visualizer/src/components/PanelToolbar.js.map +1 -1
- package/dist/apps/depthai-visualizer/src/connection/webrtc/{worker-utils.d.ts → handler.d.ts} +1 -1
- package/dist/apps/depthai-visualizer/src/connection/webrtc/handler.d.ts.map +1 -0
- package/dist/apps/depthai-visualizer/src/connection/webrtc/{worker-utils.js → handler.js} +20 -22
- package/dist/apps/depthai-visualizer/src/connection/webrtc/handler.js.map +1 -0
- package/dist/apps/depthai-visualizer/src/connection/webrtc/worker.js +1 -1
- package/dist/apps/depthai-visualizer/src/connection/webrtc/worker.js.map +1 -1
- package/dist/{index-Bmv-vCsr.js → index--nzAFiZd.js} +1 -1
- package/dist/{index-BeMujwTx.js → index-BB5d7Wdh.js} +1 -1
- package/dist/{index-fDKFJqYA.js → index-BHaIc2C4.js} +1 -1
- package/dist/{index-CzJG5yoW.js → index-BVRwpAVC.js} +1 -1
- package/dist/{index-BatOjqHR.js → index-BYSKaUpM.js} +1 -1
- package/dist/{index-Dx5rKk7S.js → index-BmgfyPqg.js} +27 -37
- package/dist/{index-lcxcWrBB.js → index-BoC3cisy.js} +1 -1
- package/dist/{index-Cjzn2Mk3.js → index-BozWkluR.js} +1 -1
- package/dist/{index-D8PL1mUz.js → index-Bt0NSrqQ.js} +1 -1
- package/dist/{index-Bpb1nLXX.js → index-CDi1cz7Q.js} +1 -1
- package/dist/{index-kO40p_fI.js → index-CPdu31YI.js} +1 -1
- package/dist/{index-C38MwKQ5.js → index-CeamuSdm.js} +1 -1
- package/dist/{index-D2tE4ai8.js → index-CgejPf93.js} +2 -2
- package/dist/{index-CCjTYhIj.js → index-CqufTx2r.js} +1 -1
- package/dist/{index-CTV8k4Ur.js → index-GlkMngOu.js} +1 -1
- package/dist/{index-LBWmbzab.js → index-GvvAhoPF.js} +1 -1
- package/dist/{index-CRzS8jhh.js → index-KSDq22q_.js} +1 -1
- package/dist/{index-JdSlhtdz.js → index-q-pdHK_j.js} +1 -1
- package/dist/{index-C4Xw5gJf.js → index-tb3sDWD8.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{worker-BX0SIDt0.js → worker-CXuTdrjS.js} +17 -19
- package/package.json +1 -1
- package/dist/apps/depthai-visualizer/src/connection/webrtc/worker-utils.d.ts.map +0 -1
- package/dist/apps/depthai-visualizer/src/connection/webrtc/worker-utils.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Panel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Panel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Panel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Panel.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,OAAO,oBAAoB,CAAC;AAE5B,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,YAAY,CAAC;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;CAClC,CAAC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEtD,MAAM,MAAM,aAAa,GAAG;IAC1B,UAAU,EAAE,UAAU,EAAE,CAAC;CAC1B,CAAC;AAIF,eAAO,MAAM,aAAa,QAAO,aAEhC,CAAC;AASF,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAkDtC,CAAC"}
|
|
@@ -8,7 +8,6 @@ import EmptyState from "@foxglove/studio-base/components/EmptyState.js";
|
|
|
8
8
|
import ErrorBoundary from "@foxglove/studio-base/components/ErrorBoundary.js";
|
|
9
9
|
import RemountOnValueChange from "@foxglove/studio-base/components/RemountOnValueChange.js";
|
|
10
10
|
import { PanelToolbar } from "./PanelToolbar.js";
|
|
11
|
-
import { useConnections } from "../context/ConnectionsProvider.js";
|
|
12
11
|
import '../fonts/fonts.css';
|
|
13
12
|
const DetectionContext = React.createContext({ detections: [] });
|
|
14
13
|
export const useDetections = () => {
|
|
@@ -20,21 +19,13 @@ const rawToAnnotations = (rawAnnotations, kind, current) => rawAnnotations.map((
|
|
|
20
19
|
enabled: current.find(({ name }) => name === annotationTopic)?.enabled ?? kind === 'main'
|
|
21
20
|
}));
|
|
22
21
|
export const Panel = ({ children, kind, topic, disableAnnotations = false, annotationTopics = [], extraAnnotationTopics = [] }) => {
|
|
23
|
-
const connections = useConnections();
|
|
24
22
|
const [detections, setDetections] = React.useState([]);
|
|
25
23
|
React.useEffect(() => {
|
|
26
24
|
if (!disableAnnotations) {
|
|
27
|
-
setDetections(current =>
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
];
|
|
32
|
-
for (const connection of connections) {
|
|
33
|
-
connection.unsubscribe({ topics: current.map(c => c.name) });
|
|
34
|
-
connection.subscribe({ topics: newAnnotations.filter(c => c.enabled).map(c => c.name) });
|
|
35
|
-
}
|
|
36
|
-
return newAnnotations;
|
|
37
|
-
});
|
|
25
|
+
setDetections(current => [
|
|
26
|
+
...rawToAnnotations(annotationTopics, 'main', current),
|
|
27
|
+
...rawToAnnotations(extraAnnotationTopics, 'extra', current)
|
|
28
|
+
]);
|
|
38
29
|
}
|
|
39
30
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
40
31
|
}, [JSON.stringify(annotationTopics), JSON.stringify(extraAnnotationTopics)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Panel.js","sourceRoot":"","sources":["../../../../../src/components/Panel.tsx"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,oEAAoE;AACpE,0DAA0D;AAE1D,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,UAAU,MAAM,gDAAgD,CAAC;AACxE,OAAO,aAAa,MAAM,mDAAmD,CAAC;AAC9E,OAAO,oBAAoB,MAAM,0DAA0D,CAAC;AAE5F,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Panel.js","sourceRoot":"","sources":["../../../../../src/components/Panel.tsx"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,oEAAoE;AACpE,0DAA0D;AAE1D,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,UAAU,MAAM,gDAAgD,CAAC;AACxE,OAAO,aAAa,MAAM,mDAAmD,CAAC;AAC9E,OAAO,oBAAoB,MAAM,0DAA0D,CAAC;AAE5F,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGjD,OAAO,oBAAoB,CAAC;AAsB5B,MAAM,gBAAgB,GAAG,KAAK,CAAC,aAAa,CAAgB,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,CAAC;AAEhF,MAAM,CAAC,MAAM,aAAa,GAAG,GAAkB,EAAE;IAC/C,OAAO,KAAK,CAAC,UAAU,CAAC,g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AAE,EAAE,UAAU,EAAE,YAC9C,MAAC,KAAK,IACJ,QAAQ,EAAE,CAAC,EACX,QAAQ,EAAC,QAAQ,EACjB,MAAM,EAAC,qBAAqB,EAC5B,KAAK,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,aAE9B,KAAC,YAAY,IACX,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,KAAK,EACZ,aAAa,EAAE,aAAa,EAC5B,kBAAkB,EAAE,kBAAkB,GACtC,EACF,KAAC,QAAQ,IACP,QAAQ,EACN,KAAC,UAAU,cACT,uCAAqB,GACV,YAGf,KAAC,oBAAoB,IAAC,KAAK,EAAE,UAAU,YAAG,QAAQ,GAAwB,GACjE,IACL,GACkB,GACd,GACK,CACxB,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PanelToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/PanelToolbar.tsx"],"names":[],"mappings":"AASA,OAAO,EAAiB,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAG5D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,OAAO,sCAAsC,CAAC;AAuB9C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,YAAY,CAAC;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,aAAa,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,UAAU,EAAE,KAAK,IAAI,CAAC;CACtE,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,
|
|
1
|
+
{"version":3,"file":"PanelToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/PanelToolbar.tsx"],"names":[],"mappings":"AASA,OAAO,EAAiB,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAG5D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,OAAO,sCAAsC,CAAC;AAuB9C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,YAAY,CAAC;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,aAAa,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,UAAU,EAAE,KAAK,IAAI,CAAC;CACtE,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAmIpD,CAAC"}
|
|
@@ -38,15 +38,15 @@ export const PanelToolbar = ({ topic, kind, setDetections, disableAnnotations =
|
|
|
38
38
|
}, [setDetections]);
|
|
39
39
|
// TODO: show only when debug mode is ON
|
|
40
40
|
const name = React.useMemo(() => {
|
|
41
|
-
return `${topic} - ${metrics?.
|
|
41
|
+
return `${topic} - ${metrics?.postDecodeFPS ?? 0}/${metrics?.inputFPS ?? 0} FPS`;
|
|
42
42
|
}, [topic, metrics]);
|
|
43
43
|
const makeDetection = React.useCallback((detection, { extra }) => (extra ? (detection.extra && !detection.enabled) : (!detection.extra || detection.enabled)) && (_jsx(PanelAnnotationButton, { topic: detection, onClick: () => { onToggleTopic(detection.name); } }, detection.name)), [onToggleTopic]);
|
|
44
44
|
return (_jsxs(Flex, { direction: "row", gap: "sm", align: "center", justify: "space-between", style: {
|
|
45
45
|
paddingLeft: 16
|
|
46
|
-
}, children: [_jsx(SubHeader, { text: name }), !disableAnnotations && kind === 'image' && (_jsxs(DropdownMenu, { onOpenChange: setAnnotationsOpened, children: [_jsx(DropdownMenuTrigger, { asChild: true, disabled: detections.length === 0, children: _jsx(Button, { variant: "outline", label: "Annotations", "aria-controls": annotationsOpened ? "basic-menu" : undefined, "aria-haspopup": "true", "aria-expanded": annotationsOpened ? "true" : undefined, icon: annotationsOpened ? ArrowUpIcon : ArrowDownIcon, disabled: detections.length === 0, style: {
|
|
46
|
+
}, children: [_jsx(Tooltip, { content: "Post-decode FPS / Receive FPS (maximum available)", children: _jsx(SubHeader, { text: name }) }), !disableAnnotations && kind === 'image' && (_jsxs(DropdownMenu, { onOpenChange: setAnnotationsOpened, children: [_jsx(DropdownMenuTrigger, { asChild: true, disabled: detections.length === 0, children: _jsx(Button, { variant: "outline", label: "Annotations", "aria-controls": annotationsOpened ? "basic-menu" : undefined, "aria-haspopup": "true", "aria-expanded": annotationsOpened ? "true" : undefined, icon: annotationsOpened ? ArrowUpIcon : ArrowDownIcon, disabled: detections.length === 0, style: {
|
|
47
47
|
borderRadius: 0,
|
|
48
48
|
borderTopRightRadius: 8,
|
|
49
|
-
} }) }), _jsxs(DropdownMenuContent, { children: [
|
|
49
|
+
} }) }), _jsxs(DropdownMenuContent, { children: [detections.map(detection => makeDetection(detection, { extra: false })), hasExtra && (_jsx(Button, { width: "full", paddingY: "xs", variant: "ghost", "aria-expanded": extraVisible ? "true" : undefined, onClick: () => { setExtraVisible((current) => !current); }, icon: extraVisible ? ArrowUpIcon : ArrowDownIcon, style: {
|
|
50
50
|
borderRadius: 4,
|
|
51
51
|
}, children: extraVisible ? "Less" : "More" })), extraVisible && detections.map(detection => makeDetection(detection, { extra: true }))] })] })), kind === 'pointCloud' && (_jsx(Tooltip, { content: _jsxs(_Fragment, { children: [_jsx(Label, { text: "To move camera:" }), _jsxs("ul", { children: [_jsx("li", { children: "w - Move camera forward" }), _jsx("li", { children: "a - Move camera backward" }), _jsx("li", { children: "s - Move camera to the left" }), _jsx("li", { children: "d - Move camera to the right" }), _jsx("li", { children: "Scroll \u2013 Zoom in and out" }), _jsx("li", { children: "Drag \u2013 Move camera parallel to the ground" }), _jsx("li", { children: `Right-click + Drag horizontally – Rotate the camera around the world's z-axis` }), _jsx("li", { children: `Right-click + Drag vertically – Pan the camera around the world's x- and y- axes` })] })] }), children: _jsx(Button, { variant: "ghost", colorVariant: "white", cursor: "help", icon: HelpIcon, style: {
|
|
52
52
|
borderRadius: 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,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,aAAa,EAChD,KAAK,EAAE;oCACL,YAAY,EAAE,CAAC;iCAChB,YAEA,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,GACxB,CACV,EACA,YAAY,IAAI,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC,aAAa,CAAC,SAAS,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,IACnE,IACT,CAChB,EACA,IAAI,KAAK,YAAY,IAAI,CACxB,KAAC,OAAO,IAAC,OAAO,EACd,8BACE,KAAC,KAAK,IAAC,IAAI,EAAC,iBAAiB,GAAG,EAChC,yBACE,mDAAgC,EAChC,oDAAiC,EACjC,uDAAoC,EACpC,wDAAqC,EACrC,yDAAiC,EACjC,0EAAkD,EAClD,uBAAK,+EAA+E,GAAM,EAC1F,uBAAK,kFAAkF,GAAM,IAC1F,IACJ,YAEH,KAAC,MAAM,IACL,OAAO,EAAC,OAAO,EACf,YAAY,EAAC,OAAO,EACpB,MAAM,EAAC,MAAM,EACb,IAAI,EAAE,QAAQ,EACd,KAAK,EAAE;wBACL,YAAY,EAAE,CAAC;wBACf,oBAAoB,EAAE,CAAC;qBACxB,GACD,GACM,CACX,IACI,CACR,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../../../../src/connection/webrtc/handler.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,SAAS,EACT,iBAAiB,EACjB,kBAAkB,EAElB,WAAW,EACX,mBAAmB,EAEpB,MAAM,uBAAuB,CAAC;AAI/B,OAAO,EACL,oBAAoB,EAEpB,mBAAmB,EACpB,MAAM,iBAAiB,CAAC;AAGzB,KAAK,cAAc,GAAG;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,QAAQ,CAAC;CAChB,CAAC;AAEF,MAA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AM,EAAE,MAAM,EAAE,CAAA;SAAE,CAAC;KAC/B,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE;QACJ,OAAO,EAAE,SAAS,GAAG,QAAQ,CAAC;QAC9B,IAAI,EAAE,MAAM,GAAG,QAAQ,CAAC;KACzB,CAAC;CACH,CAAC;AAEF,qBAAa,aAAc,SAAQ,oBAAoB;;cASlC,OAAO,IAAI,OAAO;IAIrB,IAAI,CAAC,OAAO,EAAE,mBAAmB,GAAG,IAAI;IAIxC,gBAAgB,CAC9B,OAAO,EAAE,mBAAmB,EAC5B,QAAQ,EAAE,WAAW,EAAE,GACtB,IAAI;IA0BA,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI;IA0BjC,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI;IAQ1B,sBAAsB,CAAC,IAAI,EAAE,kBAAkB,GAAG,IAAI;IAQ/D,aAAa,CAAC,IAAI,EAAE,yBAAyB,CAAC,MAAM,CAAC,GAAG,IAAI;IAO5D,gBAAgB,CACrB,IAAI,EAAE,CAAC,wBAAwB,GAAG;QAAE,IAAI,EAAE,YAAY,CAAA;KAAE,CAAC,CAAC,MAAM,CAAC,GAChE,IAAI;IASA,aAAa,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI;IAW5C,iBAAiB,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI;IAIpD,YAAY,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;CAwBlD"}
|
|
@@ -18,11 +18,12 @@ export class WebRtcHandler extends FoxgloveCommunicator {
|
|
|
18
18
|
sendWithTransfer(message, transfer) {
|
|
19
19
|
self.postMessage(message, transfer);
|
|
20
20
|
}
|
|
21
|
-
#rawSubscribe(
|
|
22
|
-
const
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
#rawSubscribe(channelId) {
|
|
22
|
+
const subscriptionId = ++this.#subscriptionId;
|
|
23
|
+
const subscriptions = [{
|
|
24
|
+
id: subscriptionId,
|
|
25
|
+
channelId,
|
|
26
|
+
}];
|
|
26
27
|
self.postMessage({
|
|
27
28
|
type: "send",
|
|
28
29
|
data: {
|
|
@@ -33,39 +34,36 @@ export class WebRtcHandler extends FoxgloveCommunicator {
|
|
|
33
34
|
}),
|
|
34
35
|
},
|
|
35
36
|
});
|
|
36
|
-
return
|
|
37
|
+
return subscriptionId;
|
|
37
38
|
}
|
|
38
39
|
subscribe(topics) {
|
|
39
|
-
const
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
kind: channel.kind,
|
|
48
|
-
});
|
|
49
|
-
}
|
|
40
|
+
const channels = this.getPublicChannels().filter(publicChannel => topics.includes(publicChannel.topic));
|
|
41
|
+
for (const channel of channels) {
|
|
42
|
+
const subscription = this.#rawSubscribe(channel.id);
|
|
43
|
+
this.#subscriptions.set(subscription, {
|
|
44
|
+
topic: channel.topic,
|
|
45
|
+
schema: channel.schemaName,
|
|
46
|
+
kind: channel.kind
|
|
47
|
+
});
|
|
50
48
|
}
|
|
51
49
|
}
|
|
52
|
-
#rawUnsubscribe(
|
|
50
|
+
#rawUnsubscribe(subscriptionId) {
|
|
53
51
|
self.postMessage({
|
|
54
52
|
type: "send",
|
|
55
53
|
data: {
|
|
56
54
|
channel: "system",
|
|
57
55
|
data: recordToDataView({
|
|
58
56
|
op: "unsubscribe",
|
|
59
|
-
subscriptionIds,
|
|
57
|
+
subscriptionIds: [subscriptionId],
|
|
60
58
|
}),
|
|
61
59
|
},
|
|
62
60
|
});
|
|
63
61
|
}
|
|
64
62
|
unsubscribe(topics) {
|
|
65
|
-
const subscriptionIds = [...this.#subscriptions.entries()].filter(([_id, data]) => topics.includes(data.topic)).map(
|
|
66
|
-
this.#rawUnsubscribe(subscriptionIds);
|
|
63
|
+
const subscriptionIds = [...this.#subscriptions.entries()].filter(([_id, data]) => topics.includes(data.topic)).map(subscription => subscription[0]);
|
|
67
64
|
for (const subscriptionId of subscriptionIds) {
|
|
68
65
|
this.#subscriptions.delete(subscriptionId);
|
|
66
|
+
this.#rawUnsubscribe(subscriptionId);
|
|
69
67
|
}
|
|
70
68
|
}
|
|
71
69
|
sendServiceCallRequest(args) {
|
|
@@ -123,4 +121,4 @@ export class WebRtcHandler extends FoxgloveCommunicator {
|
|
|
123
121
|
}
|
|
124
122
|
}
|
|
125
123
|
}
|
|
126
|
-
//# sourceMappingURL=
|
|
124
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../../../src/connection/webrtc/handler.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,oEAAoE;AACpE,0DAA0D;AAa1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EACL,oBAAoB,GAGrB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAsE9D,MAAM,OAAO,aAAc,SAAQ,oBAAoB;IACrD,eAAe,GAAG,CAAC,CAAC;IACpB,aAAa,GAAG,KAAK,CAAC;IACtB,YAAY,GAAG,KAAK,CAAC;IACrB,cAAc,GAAG,IAAI,GAAG,EAGrB,CAAC;IAEe,OAAO;QACxB,OAAO,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,YAAY,CAAC;IACjD,CAAC;IAEe,IAAI,CAAC,OAA4B;QAC/C,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAC5B,CAAC;IAEe,gBAAgB,CAC9B,OAA4B,EAC5B,QAAuB;QAEvB,IAAI,CAAC,WAAW,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;IACtC,CAAC;IAED,aAAa,CAAC,SAAiB;QAC7B,MAAM,cAAc,GAAG,EAAE,IAAI,CAA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AC;QACrE,IAAI,YAAY,EAAE,CAAC;YACjB,IAAI,CAAC,oBAAoB,CACvB,YAAY,CAAC,KAAK,EAClB,YAAY,CAAC,MAAM,EACnB,OAAO,CAAC,IAAI,CACb,CAAC;QACJ,CAAC;IACH,CAAC;IAEM,iBAAiB,CAAC,OAA2B;QAClD,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAC5B,CAAC;IAEM,YAAY,CAAC,OAAsB;QACxC,QAAQ,OAAO,CAAC,EAAE,EAAE,CAAC;YACnB,KAAK,WAAW,CAAC,CAAC,CAAC;gBACjB,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;gBACnD,MAAM;YACR,CAAC;YACD,KAAK,aAAa,CAAC,CAAC,CAAC;gBACnB,IAAI,CAAC,6BAA6B,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;gBACvD,MAAM;YACR,CAAC;YACD,KAAK,mBAAmB,CAAC,CAAC,CAAC;gBACzB,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;gBACnD,MAAM;YACR,CAAC;YACD,KAAK,qBAAqB,CAAC,CAAC,CAAC;gBAC3B,IAAI,CAAC,6BAA6B,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;gBACvD,MAAM;YACR,CAAC;YACD,KAAK,iBAAiB,CAAC,CAAC,CAAC;gBACvB,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC;gBACpC,MAAM;YACR,CAAC;QACH,CAAC;IACH,CAAC;CACF"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
2
2
|
// License, v2.0. If a copy of the MPL was not distributed with this
|
|
3
3
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/
|
|
4
|
-
import { WebRtcHandler } from "./
|
|
4
|
+
import { WebRtcHandler } from "./handler.js";
|
|
5
5
|
const handler = new WebRtcHandler();
|
|
6
6
|
self.addEventListener("message", (event) => {
|
|
7
7
|
if (event.data.kind === 'genericMessage') {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"worker.js","sourceRoot":"","sources":["../../../../../../src/connection/webrtc/worker.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,oEAAoE;AACpE,0DAA0D;AAE1D,OAAO,EAAE,aAAa,EAA4B,MAAM,
|
|
1
|
+
{"version":3,"file":"worker.js","sourceRoot":"","sources":["../../../../../../src/connection/webrtc/worker.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,oEAAoE;AACpE,0DAA0D;AAE1D,OAAO,EAAE,aAAa,EAA4B,MAAM,cAAc,CAAC;AAEvE,MAAM,OAAO,GAAG,IAAI,aAAa,EAAE,CAAC;AAEpC,IAAI,CAAC,gBAAgB,CAAC,SAAS,EAAE,CAAC,KAA6C,EAAE,EAAE;IACjF,IAAI,KAAK,CAAC,IAAI,CAAC,IAAI,KAAK,gBAAgB,EAAE,CAAC;QACzC,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACjD,CAAC;SAAM,IAAI,KAAK,CAAC,IAAI,CAAC,IAAI,KAAK,eAAe,EAAE,CAAC;QAC/C,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChD,CAAC;SAAM,IAAI,KAAK,CAAC,IAAI,CAAC,IAAI,KAAK,aAAa,EAAE,CAAC;QAC7C,OAAO,CAAC,iBAAiB,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrD,CAAC;SAAM,IAAI,KAAK,CAAC,IAAI,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;QACzC,OAAO,CAAC,aAAa,CAAC;YACpB,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO;YACxC,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO;SACtC,CAAC,CAAC;IACL,CAAC;SAAM,IAAI,KAAK,CAAC,IAAI,CAAC,IAAI,KAAK,WAAW,EAAE,CAAC;QAC3C,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IACpD,CAAC;SAAM,IAAI,KAAK,CAAC,IAAI,CAAC,IAAI,KAAK,aAAa,EAAE,CAAC;QAC7C,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IACtD,CAAC;SAAM,CAAC;QACN,OAAO,CAAC,gBAAgB,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC5C,CAAC;AACH,CAAC,CAAC,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, aK as html, at as LanguageSupport, aL as parseMixed } from './index-
|
|
1
|
+
import { au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, aK as html, at as LanguageSupport, aL as parseMixed } from './index-BmgfyPqg.js';
|
|
2
2
|
import './FoxgloveServer-tJZcJH5-.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import React__default, { useReducer, useRef, useCallback, useLayoutEffect, Component, useContext, useState, useEffect, createContext, forwardRef, createElement, cloneElement, useMemo, Profiler, StrictMode } from 'react';
|
|
3
3
|
import ReactDOM__default from 'react-dom';
|
|
4
|
-
import { i as isSymbol, t as toString, k as keys, g as getSymbols$1, s as stubArray, a as arrayPush, b as baseGetAllKeys, c as getTag, d as getAllKeys, e as createAggregator, f as baseGet, h as baseIteratee, j as castPath, l as toKey, m as flatRest, n as arrayMap$1, o as baseSet, p as baseUniq, q as baseFlatten, r as generateUtilityClass, A as AnalyticsContext, u as useMustNotChange, P as PropTypes, v as useCurrentLayoutActions, w as useCurrentLayoutSelector, x as reportError, y as AppError, E as ErrorDisplay, S as Stack$1, z as makeStyles$1, _ as _extends$1, L as Logger, B as useGuaranteedContext, W as WorkspaceContext, C as useAnalytics, D as AppEvent, F as LeftSidebarItemKeys, R as RightSidebarItemKeys, G as usePanelMosaicId, H as useTranslation, I as usePanelCatalog, J as EmptyState, K as isEmpty, M as PanelContext, N as PanelCatalogContext, O as useSelectedPanels, Q as usePanelStateStore, T as useDefaultPanelTitle, U as PANEL_TITLE_CONFIG_KEY, V as noop$4, X as getPanelTypeFromId, Y as useWorkspaceStore, Z as useShallowMemo, $ as TAB_PANEL_TYPE, a0 as WorkspaceStoreSelectors, a1 as difference, a2 as filterMap, a3 as dist$3, a4 as usePanelContext, a5 as useMessagePipeline, a6 as v4, a7 as useHoverValue, a8 as useSetHoverValue, a9 as useClearHoverValue, aa as useAppConfiguration, ab as useMessagePipelineGetter, ac as usePanelSettingsTreeUpdate, ad as PlayerCapabilities, ae as useValueChangedDebugLog, af as assertNever, ag as PlayerPresence, ah as typescript, ai as isEqual, aj as isDesktopApp, ak as createTheme, al as propTypesExports, am as useJsonTreeTheme } from './index-
|
|
4
|
+
import { i as isSymbol, t as toString, k as keys, g as getSymbols$1, s as stubArray, a as arrayPush, b as baseGetAllKeys, c as getTag, d as getAllKeys, e as createAggregator, f as baseGet, h as baseIteratee, j as castPath, l as toKey, m as flatRest, n as arrayMap$1, o as baseSet, p as baseUniq, q as baseFlatten, r as generateUtilityClass, A as AnalyticsContext, u as useMustNotChange, P as PropTypes, v as useCurrentLayoutActions, w as useCurrentLayoutSelector, x as reportError, y as AppError, E as ErrorDisplay, S as Stack$1, z as makeStyles$1, _ as _extends$1, L as Logger, B as useGuaranteedContext, W as WorkspaceContext, C as useAnalytics, D as AppEvent, F as LeftSidebarItemKeys, R as RightSidebarItemKeys, G as usePanelMosaicId, H as useTranslation, I as usePanelCatalog, J as EmptyState, K as isEmpty, M as PanelContext, N as PanelCatalogContext, O as useSelectedPanels, Q as usePanelStateStore, T as useDefaultPanelTitle, U as PANEL_TITLE_CONFIG_KEY, V as noop$4, X as getPanelTypeFromId, Y as useWorkspaceStore, Z as useShallowMemo, $ as TAB_PANEL_TYPE, a0 as WorkspaceStoreSelectors, a1 as difference, a2 as filterMap, a3 as dist$3, a4 as usePanelContext, a5 as useMessagePipeline, a6 as v4, a7 as useHoverValue, a8 as useSetHoverValue, a9 as useClearHoverValue, aa as useAppConfiguration, ab as useMessagePipelineGetter, ac as usePanelSettingsTreeUpdate, ad as PlayerCapabilities, ae as useValueChangedDebugLog, af as assertNever, ag as PlayerPresence, ah as typescript, ai as isEqual, aj as isDesktopApp, ak as createTheme, al as propTypesExports, am as useJsonTreeTheme } from './index-BmgfyPqg.js';
|
|
5
5
|
import { createStore, useStore } from 'zustand';
|
|
6
6
|
import { MosaicDragType, MosaicContext, MosaicWindowContext, getOtherBranch, getNodeAtPath } from 'react-mosaic-component';
|
|
7
7
|
import { a as getDefaultExportFromCjs, c as commonjsGlobal, g as getAugmentedNamespace, E as EventEmitter } from './FoxgloveServer-tJZcJH5-.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as ExternalTokenizer, aC as ContextTracker, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, ap as foldNodeProp, aB as foldInside, an as indentNodeProp, ao as continuedIndent, aH as defineCSSCompletionSource, at as LanguageSupport } from './index-
|
|
1
|
+
import { au as ExternalTokenizer, aC as ContextTracker, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, ap as foldNodeProp, aB as foldInside, an as indentNodeProp, ao as continuedIndent, aH as defineCSSCompletionSource, at as LanguageSupport } from './index-BmgfyPqg.js';
|
|
2
2
|
import './FoxgloveServer-tJZcJH5-.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as ExternalTokenizer, aC as ContextTracker, aq as styleTags, ar as tags, av as LRParser, ay as syntaxTree, aw as ifNotIn, as as LRLanguage, an as indentNodeProp, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport, aF as IterMode, ax as completeFromList, aG as NodeWeakMap, aE as snippetCompletion } from './index-
|
|
1
|
+
import { au as ExternalTokenizer, aC as ContextTracker, aq as styleTags, ar as tags, av as LRParser, ay as syntaxTree, aw as ifNotIn, as as LRLanguage, an as indentNodeProp, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport, aF as IterMode, ax as completeFromList, aG as NodeWeakMap, aE as snippetCompletion } from './index-BmgfyPqg.js';
|
|
2
2
|
import './FoxgloveServer-tJZcJH5-.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { as as LRLanguage, an as indentNodeProp, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, aq as styleTags, ar as tags, at as LanguageSupport, av as LRParser } from './index-
|
|
1
|
+
import { as as LRLanguage, an as indentNodeProp, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, aq as styleTags, ar as tags, at as LanguageSupport, av as LRParser } from './index-BmgfyPqg.js';
|
|
2
2
|
import './FoxgloveServer-tJZcJH5-.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -12293,7 +12293,7 @@ class WebRtcBridge extends ArtificialWorker {
|
|
|
12293
12293
|
#systemChannel = null;
|
|
12294
12294
|
constructor() {
|
|
12295
12295
|
super();
|
|
12296
|
-
this.#worker = new Worker(new URL("worker-
|
|
12296
|
+
this.#worker = new Worker(new URL("worker-CXuTdrjS.js", import.meta.url), {
|
|
12297
12297
|
type: "module"
|
|
12298
12298
|
});
|
|
12299
12299
|
this.#setupArtificialWorker();
|
|
@@ -89663,7 +89663,7 @@ function legacy(parser) {
|
|
|
89663
89663
|
return new LanguageSupport(StreamLanguage.define(parser));
|
|
89664
89664
|
}
|
|
89665
89665
|
function sql$1(dialectName) {
|
|
89666
|
-
return import('./index-
|
|
89666
|
+
return import('./index-GvvAhoPF.js').then(m => m.sql({ dialect: m[dialectName] }));
|
|
89667
89667
|
}
|
|
89668
89668
|
/**
|
|
89669
89669
|
An array of language descriptions for known language packages.
|
|
@@ -89674,7 +89674,7 @@ const languages = [
|
|
|
89674
89674
|
name: "C",
|
|
89675
89675
|
extensions: ["c", "h", "ino"],
|
|
89676
89676
|
load() {
|
|
89677
|
-
return import('./index-
|
|
89677
|
+
return import('./index-q-pdHK_j.js').then(m => m.cpp());
|
|
89678
89678
|
}
|
|
89679
89679
|
}),
|
|
89680
89680
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -89682,7 +89682,7 @@ const languages = [
|
|
|
89682
89682
|
alias: ["cpp"],
|
|
89683
89683
|
extensions: ["cpp", "c++", "cc", "cxx", "hpp", "h++", "hh", "hxx"],
|
|
89684
89684
|
load() {
|
|
89685
|
-
return import('./index-
|
|
89685
|
+
return import('./index-q-pdHK_j.js').then(m => m.cpp());
|
|
89686
89686
|
}
|
|
89687
89687
|
}),
|
|
89688
89688
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -89702,7 +89702,7 @@ const languages = [
|
|
|
89702
89702
|
name: "Go",
|
|
89703
89703
|
extensions: ["go"],
|
|
89704
89704
|
load() {
|
|
89705
|
-
return import('./index-
|
|
89705
|
+
return import('./index-BoC3cisy.js').then(m => m.go());
|
|
89706
89706
|
}
|
|
89707
89707
|
}),
|
|
89708
89708
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -89717,7 +89717,7 @@ const languages = [
|
|
|
89717
89717
|
name: "Java",
|
|
89718
89718
|
extensions: ["java"],
|
|
89719
89719
|
load() {
|
|
89720
|
-
return import('./index-
|
|
89720
|
+
return import('./index-CPdu31YI.js').then(m => m.java());
|
|
89721
89721
|
}
|
|
89722
89722
|
}),
|
|
89723
89723
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -89733,7 +89733,7 @@ const languages = [
|
|
|
89733
89733
|
alias: ["json5"],
|
|
89734
89734
|
extensions: ["json", "map"],
|
|
89735
89735
|
load() {
|
|
89736
|
-
return import('./index-
|
|
89736
|
+
return import('./index-CeamuSdm.js').then(m => m.json());
|
|
89737
89737
|
}
|
|
89738
89738
|
}),
|
|
89739
89739
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -89747,14 +89747,14 @@ const languages = [
|
|
|
89747
89747
|
name: "LESS",
|
|
89748
89748
|
extensions: ["less"],
|
|
89749
89749
|
load() {
|
|
89750
|
-
return import('./index-
|
|
89750
|
+
return import('./index-GlkMngOu.js').then(m => m.less());
|
|
89751
89751
|
}
|
|
89752
89752
|
}),
|
|
89753
89753
|
/*@__PURE__*/LanguageDescription.of({
|
|
89754
89754
|
name: "Liquid",
|
|
89755
89755
|
extensions: ["liquid"],
|
|
89756
89756
|
load() {
|
|
89757
|
-
return import('./index-
|
|
89757
|
+
return import('./index-tb3sDWD8.js').then(m => m.liquid());
|
|
89758
89758
|
}
|
|
89759
89759
|
}),
|
|
89760
89760
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -89780,7 +89780,7 @@ const languages = [
|
|
|
89780
89780
|
name: "PHP",
|
|
89781
89781
|
extensions: ["php", "php3", "php4", "php5", "php7", "phtml"],
|
|
89782
89782
|
load() {
|
|
89783
|
-
return import('./index
|
|
89783
|
+
return import('./index--nzAFiZd.js').then(m => m.php());
|
|
89784
89784
|
}
|
|
89785
89785
|
}),
|
|
89786
89786
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -89797,28 +89797,28 @@ const languages = [
|
|
|
89797
89797
|
extensions: ["BUILD", "bzl", "py", "pyw"],
|
|
89798
89798
|
filename: /^(BUCK|BUILD)$/,
|
|
89799
89799
|
load() {
|
|
89800
|
-
return import('./index-
|
|
89800
|
+
return import('./index-BVRwpAVC.js').then(m => m.python());
|
|
89801
89801
|
}
|
|
89802
89802
|
}),
|
|
89803
89803
|
/*@__PURE__*/LanguageDescription.of({
|
|
89804
89804
|
name: "Rust",
|
|
89805
89805
|
extensions: ["rs"],
|
|
89806
89806
|
load() {
|
|
89807
|
-
return import('./index-
|
|
89807
|
+
return import('./index-KSDq22q_.js').then(m => m.rust());
|
|
89808
89808
|
}
|
|
89809
89809
|
}),
|
|
89810
89810
|
/*@__PURE__*/LanguageDescription.of({
|
|
89811
89811
|
name: "Sass",
|
|
89812
89812
|
extensions: ["sass"],
|
|
89813
89813
|
load() {
|
|
89814
|
-
return import('./index-
|
|
89814
|
+
return import('./index-BHaIc2C4.js').then(m => m.sass({ indented: true }));
|
|
89815
89815
|
}
|
|
89816
89816
|
}),
|
|
89817
89817
|
/*@__PURE__*/LanguageDescription.of({
|
|
89818
89818
|
name: "SCSS",
|
|
89819
89819
|
extensions: ["scss"],
|
|
89820
89820
|
load() {
|
|
89821
|
-
return import('./index-
|
|
89821
|
+
return import('./index-BHaIc2C4.js').then(m => m.sass());
|
|
89822
89822
|
}
|
|
89823
89823
|
}),
|
|
89824
89824
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -89849,7 +89849,7 @@ const languages = [
|
|
|
89849
89849
|
name: "WebAssembly",
|
|
89850
89850
|
extensions: ["wat", "wast"],
|
|
89851
89851
|
load() {
|
|
89852
|
-
return import('./index-
|
|
89852
|
+
return import('./index-BYSKaUpM.js').then(m => m.wast());
|
|
89853
89853
|
}
|
|
89854
89854
|
}),
|
|
89855
89855
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -89857,7 +89857,7 @@ const languages = [
|
|
|
89857
89857
|
alias: ["rss", "wsdl", "xsd"],
|
|
89858
89858
|
extensions: ["xml", "xsl", "xsd", "svg"],
|
|
89859
89859
|
load() {
|
|
89860
|
-
return import('./index-
|
|
89860
|
+
return import('./index-CDi1cz7Q.js').then(m => m.xml());
|
|
89861
89861
|
}
|
|
89862
89862
|
}),
|
|
89863
89863
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -89865,7 +89865,7 @@ const languages = [
|
|
|
89865
89865
|
alias: ["yml"],
|
|
89866
89866
|
extensions: ["yaml", "yml"],
|
|
89867
89867
|
load() {
|
|
89868
|
-
return import('./index-
|
|
89868
|
+
return import('./index-BozWkluR.js').then(m => m.yaml());
|
|
89869
89869
|
}
|
|
89870
89870
|
}),
|
|
89871
89871
|
// Legacy modes ported from CodeMirror 5
|
|
@@ -90661,13 +90661,13 @@ const languages = [
|
|
|
90661
90661
|
name: "Vue",
|
|
90662
90662
|
extensions: ["vue"],
|
|
90663
90663
|
load() {
|
|
90664
|
-
return import('./index-
|
|
90664
|
+
return import('./index-Bt0NSrqQ.js').then(m => m.vue());
|
|
90665
90665
|
}
|
|
90666
90666
|
}),
|
|
90667
90667
|
/*@__PURE__*/LanguageDescription.of({
|
|
90668
90668
|
name: "Angular Template",
|
|
90669
90669
|
load() {
|
|
90670
|
-
return import('./index-
|
|
90670
|
+
return import('./index-CqufTx2r.js').then(m => m.angular());
|
|
90671
90671
|
}
|
|
90672
90672
|
})
|
|
90673
90673
|
];
|
|
@@ -161444,7 +161444,7 @@ const PanelToolbar = ({
|
|
|
161444
161444
|
|
|
161445
161445
|
// TODO: show only when debug mode is ON
|
|
161446
161446
|
const name = React__default.useMemo(() => {
|
|
161447
|
-
return `${topic} - ${metrics?.
|
|
161447
|
+
return `${topic} - ${metrics?.postDecodeFPS ?? 0}/${metrics?.inputFPS ?? 0} FPS`;
|
|
161448
161448
|
}, [topic, metrics]);
|
|
161449
161449
|
const makeDetection = React__default.useCallback((detection, {
|
|
161450
161450
|
extra
|
|
@@ -161463,9 +161463,11 @@ const PanelToolbar = ({
|
|
|
161463
161463
|
style: {
|
|
161464
161464
|
paddingLeft: 16
|
|
161465
161465
|
}
|
|
161466
|
+
}, /*#__PURE__*/React__default.createElement(Tooltip, {
|
|
161467
|
+
content: "Post-decode FPS / Receive FPS (maximum available)"
|
|
161466
161468
|
}, /*#__PURE__*/React__default.createElement(SubHeader, {
|
|
161467
161469
|
text: name
|
|
161468
|
-
}), !disableAnnotations && kind === 'image' && /*#__PURE__*/React__default.createElement(DropdownMenu, {
|
|
161470
|
+
})), !disableAnnotations && kind === 'image' && /*#__PURE__*/React__default.createElement(DropdownMenu, {
|
|
161469
161471
|
onOpenChange: setAnnotationsOpened
|
|
161470
161472
|
}, /*#__PURE__*/React__default.createElement(DropdownMenuTrigger, {
|
|
161471
161473
|
asChild: true,
|
|
@@ -161482,7 +161484,7 @@ const PanelToolbar = ({
|
|
|
161482
161484
|
borderRadius: 0,
|
|
161483
161485
|
borderTopRightRadius: 8
|
|
161484
161486
|
}
|
|
161485
|
-
})), /*#__PURE__*/React__default.createElement(DropdownMenuContent, null,
|
|
161487
|
+
})), /*#__PURE__*/React__default.createElement(DropdownMenuContent, null, detections.map(detection => makeDetection(detection, {
|
|
161486
161488
|
extra: false
|
|
161487
161489
|
})), hasExtra && /*#__PURE__*/React__default.createElement(Button, {
|
|
161488
161490
|
width: "full",
|
|
@@ -161538,22 +161540,10 @@ const Panel = ({
|
|
|
161538
161540
|
annotationTopics = [],
|
|
161539
161541
|
extraAnnotationTopics = []
|
|
161540
161542
|
}) => {
|
|
161541
|
-
const connections = useConnections();
|
|
161542
161543
|
const [detections, setDetections] = React__default.useState([]);
|
|
161543
161544
|
React__default.useEffect(() => {
|
|
161544
161545
|
if (!disableAnnotations) {
|
|
161545
|
-
setDetections(current =>
|
|
161546
|
-
const newAnnotations = [...rawToAnnotations(annotationTopics, 'main', current), ...rawToAnnotations(extraAnnotationTopics, 'extra', current)];
|
|
161547
|
-
for (const connection of connections) {
|
|
161548
|
-
connection.unsubscribe({
|
|
161549
|
-
topics: current.map(c => c.name)
|
|
161550
|
-
});
|
|
161551
|
-
connection.subscribe({
|
|
161552
|
-
topics: newAnnotations.filter(c => c.enabled).map(c => c.name)
|
|
161553
|
-
});
|
|
161554
|
-
}
|
|
161555
|
-
return newAnnotations;
|
|
161556
|
-
});
|
|
161546
|
+
setDetections(current => [...rawToAnnotations(annotationTopics, 'main', current), ...rawToAnnotations(extraAnnotationTopics, 'extra', current)]);
|
|
161557
161547
|
}
|
|
161558
161548
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
161559
161549
|
}, [JSON.stringify(annotationTopics), JSON.stringify(extraAnnotationTopics)]);
|
|
@@ -161582,7 +161572,7 @@ const Panel = ({
|
|
|
161582
161572
|
}, children))))));
|
|
161583
161573
|
};
|
|
161584
161574
|
|
|
161585
|
-
const ImagePanelComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-
|
|
161575
|
+
const ImagePanelComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-CgejPf93.js'));
|
|
161586
161576
|
const ImagePanelBody = ({
|
|
161587
161577
|
topic
|
|
161588
161578
|
}) => {
|
|
@@ -161617,7 +161607,7 @@ const ImagePanel = /*#__PURE__*/React__default.memo(function ImagePanel(props) {
|
|
|
161617
161607
|
// License, v2.0. If a copy of the MPL was not distributed with this
|
|
161618
161608
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/
|
|
161619
161609
|
|
|
161620
|
-
const ThreeDeeRenderComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-
|
|
161610
|
+
const ThreeDeeRenderComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-BB5d7Wdh.js'));
|
|
161621
161611
|
const PointCloudPanelBody = ({
|
|
161622
161612
|
topic
|
|
161623
161613
|
}) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as ExternalTokenizer, aC as ContextTracker, aq as styleTags, ar as tags, av as LRParser, aD as LocalTokenGroup, aE as snippetCompletion, ay as syntaxTree, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, az as flatIndent, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport, aw as ifNotIn, ax as completeFromList, aF as IterMode, aG as NodeWeakMap } from './index-
|
|
1
|
+
import { au as ExternalTokenizer, aC as ContextTracker, aq as styleTags, ar as tags, av as LRParser, aD as LocalTokenGroup, aE as snippetCompletion, ay as syntaxTree, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, az as flatIndent, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport, aw as ifNotIn, ax as completeFromList, aF as IterMode, aG as NodeWeakMap } from './index-BmgfyPqg.js';
|
|
2
2
|
import './FoxgloveServer-tJZcJH5-.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aC as ContextTracker, au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport, aL as parseMixed } from './index-
|
|
1
|
+
import { aC as ContextTracker, au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport, aL as parseMixed } from './index-BmgfyPqg.js';
|
|
2
2
|
import './FoxgloveServer-tJZcJH5-.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aq as styleTags, ar as tags, as as LRLanguage, at as LanguageSupport, av as LRParser, aD as LocalTokenGroup, aK as html, aL as parseMixed, aN as javascriptLanguage } from './index-
|
|
1
|
+
import { aq as styleTags, ar as tags, as as LRLanguage, at as LanguageSupport, av as LRParser, aD as LocalTokenGroup, aK as html, aL as parseMixed, aN as javascriptLanguage } from './index-BmgfyPqg.js';
|
|
2
2
|
import './FoxgloveServer-tJZcJH5-.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aC as ContextTracker, au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ap as foldNodeProp, aM as bracketMatchingHandle, at as LanguageSupport, aI as EditorView, ay as syntaxTree, aJ as EditorSelection } from './index-
|
|
1
|
+
import { aC as ContextTracker, au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ap as foldNodeProp, aM as bracketMatchingHandle, at as LanguageSupport, aI as EditorView, ay as syntaxTree, aJ as EditorSelection } from './index-BmgfyPqg.js';
|
|
2
2
|
import './FoxgloveServer-tJZcJH5-.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, az as flatIndent, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport } from './index-
|
|
1
|
+
import { aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, az as flatIndent, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport } from './index-BmgfyPqg.js';
|
|
2
2
|
import './FoxgloveServer-tJZcJH5-.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport } from './index-
|
|
1
|
+
import { aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport } from './index-BmgfyPqg.js';
|
|
2
2
|
import './FoxgloveServer-tJZcJH5-.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ImagePanel } from './index-
|
|
1
|
+
import { ImagePanel } from './index-BB5d7Wdh.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-dom';
|
|
4
|
-
import './index-
|
|
4
|
+
import './index-BmgfyPqg.js';
|
|
5
5
|
import './FoxgloveServer-tJZcJH5-.js';
|
|
6
6
|
import 'protobufjs/minimal';
|
|
7
7
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aq as styleTags, ar as tags, aN as javascriptLanguage, as as LRLanguage, at as LanguageSupport, av as LRParser, aK as html, aL as parseMixed, au as ExternalTokenizer } from './index-
|
|
1
|
+
import { aq as styleTags, ar as tags, aN as javascriptLanguage, as as LRLanguage, at as LanguageSupport, av as LRParser, aK as html, aL as parseMixed, au as ExternalTokenizer } from './index-BmgfyPqg.js';
|
|
2
2
|
import './FoxgloveServer-tJZcJH5-.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aq as styleTags, ar as tags, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aB as foldInside, aH as defineCSSCompletionSource, at as LanguageSupport, av as LRParser, au as ExternalTokenizer } from './index-
|
|
1
|
+
import { aq as styleTags, ar as tags, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aB as foldInside, aH as defineCSSCompletionSource, at as LanguageSupport, av as LRParser, au as ExternalTokenizer } from './index-BmgfyPqg.js';
|
|
2
2
|
import './FoxgloveServer-tJZcJH5-.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aq as styleTags, ar as tags, as as LRLanguage, at as LanguageSupport, au as ExternalTokenizer, av as LRParser, aw as ifNotIn, ax as completeFromList, ay as syntaxTree } from './index-
|
|
1
|
+
import { an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aq as styleTags, ar as tags, as as LRLanguage, at as LanguageSupport, au as ExternalTokenizer, av as LRParser, aw as ifNotIn, ax as completeFromList, ay as syntaxTree } from './index-BmgfyPqg.js';
|
|
2
2
|
import './FoxgloveServer-tJZcJH5-.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport } from './index-
|
|
1
|
+
import { au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport } from './index-BmgfyPqg.js';
|
|
2
2
|
import './FoxgloveServer-tJZcJH5-.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, az as flatIndent, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport } from './index-
|
|
1
|
+
import { au as ExternalTokenizer, aq as styleTags, ar as tags, av as LRParser, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, az as flatIndent, aA as delimitedIndent, ap as foldNodeProp, aB as foldInside, at as LanguageSupport } from './index-BmgfyPqg.js';
|
|
2
2
|
import './FoxgloveServer-tJZcJH5-.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aI as EditorView, aJ as EditorSelection, as as LRLanguage, aq as styleTags, ar as tags, an as indentNodeProp, aA as delimitedIndent, ap as foldNodeProp, at as LanguageSupport, av as LRParser, ay as syntaxTree, aK as html, aL as parseMixed, au as ExternalTokenizer } from './index-
|
|
1
|
+
import { aI as EditorView, aJ as EditorSelection, as as LRLanguage, aq as styleTags, ar as tags, an as indentNodeProp, aA as delimitedIndent, ap as foldNodeProp, at as LanguageSupport, av as LRParser, ay as syntaxTree, aK as html, aL as parseMixed, au as ExternalTokenizer } from './index-BmgfyPqg.js';
|
|
2
2
|
import './FoxgloveServer-tJZcJH5-.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aR as ImagePanel, aQ as PanelLayout, aS as PointCloudPanel, aO as VisualizerConnection, aP as VisualizerContext } from './index-
|
|
1
|
+
export { aR as ImagePanel, aQ as PanelLayout, aS as PointCloudPanel, aO as VisualizerConnection, aP as VisualizerContext } from './index-BmgfyPqg.js';
|
|
2
2
|
import './FoxgloveServer-tJZcJH5-.js';
|
|
3
3
|
import 'protobufjs/minimal';
|
|
4
4
|
import 'ms';
|
|
@@ -22,11 +22,12 @@ class WebRtcHandler extends FoxgloveCommunicator {
|
|
|
22
22
|
sendWithTransfer(message, transfer) {
|
|
23
23
|
self.postMessage(message, transfer);
|
|
24
24
|
}
|
|
25
|
-
#rawSubscribe(
|
|
26
|
-
const
|
|
27
|
-
|
|
25
|
+
#rawSubscribe(channelId) {
|
|
26
|
+
const subscriptionId = ++this.#subscriptionId;
|
|
27
|
+
const subscriptions = [{
|
|
28
|
+
id: subscriptionId,
|
|
28
29
|
channelId
|
|
29
|
-
}
|
|
30
|
+
}];
|
|
30
31
|
self.postMessage({
|
|
31
32
|
type: "send",
|
|
32
33
|
data: {
|
|
@@ -37,39 +38,36 @@ class WebRtcHandler extends FoxgloveCommunicator {
|
|
|
37
38
|
})
|
|
38
39
|
}
|
|
39
40
|
});
|
|
40
|
-
return
|
|
41
|
+
return subscriptionId;
|
|
41
42
|
}
|
|
42
43
|
subscribe(topics) {
|
|
43
|
-
const
|
|
44
|
-
const
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
kind: channel.kind
|
|
52
|
-
});
|
|
53
|
-
}
|
|
44
|
+
const channels = this.getPublicChannels().filter(publicChannel => topics.includes(publicChannel.topic));
|
|
45
|
+
for (const channel of channels) {
|
|
46
|
+
const subscription = this.#rawSubscribe(channel.id);
|
|
47
|
+
this.#subscriptions.set(subscription, {
|
|
48
|
+
topic: channel.topic,
|
|
49
|
+
schema: channel.schemaName,
|
|
50
|
+
kind: channel.kind
|
|
51
|
+
});
|
|
54
52
|
}
|
|
55
53
|
}
|
|
56
|
-
#rawUnsubscribe(
|
|
54
|
+
#rawUnsubscribe(subscriptionId) {
|
|
57
55
|
self.postMessage({
|
|
58
56
|
type: "send",
|
|
59
57
|
data: {
|
|
60
58
|
channel: "system",
|
|
61
59
|
data: recordToDataView({
|
|
62
60
|
op: "unsubscribe",
|
|
63
|
-
subscriptionIds
|
|
61
|
+
subscriptionIds: [subscriptionId]
|
|
64
62
|
})
|
|
65
63
|
}
|
|
66
64
|
});
|
|
67
65
|
}
|
|
68
66
|
unsubscribe(topics) {
|
|
69
67
|
const subscriptionIds = [...this.#subscriptions.entries()].filter(([_id, data]) => topics.includes(data.topic)).map(subscription => subscription[0]);
|
|
70
|
-
this.#rawUnsubscribe(subscriptionIds);
|
|
71
68
|
for (const subscriptionId of subscriptionIds) {
|
|
72
69
|
this.#subscriptions.delete(subscriptionId);
|
|
70
|
+
this.#rawUnsubscribe(subscriptionId);
|
|
73
71
|
}
|
|
74
72
|
}
|
|
75
73
|
sendServiceCallRequest(args) {
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"worker-utils.d.ts","sourceRoot":"","sources":["../../../../../../src/connection/webrtc/worker-utils.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,SAAS,EACT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