@luxonis/visualizer-protobuf 2.68.8 → 2.68.10
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/{FoxgloveServer-h5m-pXp3.js → FoxgloveServer-VUfAN9DL.js} +1 -1
- package/dist/{communicator-Ch92rcoU.js → communicator-CuoUie5N.js} +1 -1
- package/dist/{depth-CFY2W_Vf.js → depth-BEHWbtlK.js} +100 -100
- package/dist/{deserialization.worker-DAmdYYfb.js → deserialization.worker-C4T3Eokf.js} +3 -3
- package/dist/{foxglove-protocol-BSYuI-q2.js → foxglove-protocol-DuBdoM6O.js} +1 -1
- package/dist/{index-DQ-Y9h3D.js → index-5dSWYE02.js} +5 -5
- package/dist/{index-CnIQYhNg.js → index-B3B1EKLu.js} +7 -7
- package/dist/{index-C253OuSj.js → index-BNOguuXJ.js} +5 -5
- package/dist/{index-CYJDY0hm.js → index-BNURNYen.js} +2 -2
- package/dist/{index-Dh8OYuxP.js → index-BQS2Zm_4.js} +5 -5
- package/dist/{index-BRYP3I3Y.js → index-C4r5IcKB.js} +5 -5
- package/dist/{index-CuBKjTze.js → index-C5otNkzD.js} +5 -5
- package/dist/{index-B8WI1K1N.js → index-C8J-pcJN.js} +5 -5
- package/dist/{index-Cq-AQ_3n.js → index-CD0PEqJC.js} +5 -5
- package/dist/{index-1Mp2uiPR.js → index-CF3Qalgd.js} +5 -5
- package/dist/{index-CLKf126y.js → index-Ct9xm-pq.js} +5 -5
- package/dist/{index-DuHl2uxK.js → index-DV7ZF_In.js} +5 -5
- package/dist/{index-BIIHWu1p.js → index-DgJK8CVA.js} +316 -120
- package/dist/{index-CPm4j5Ig.js → index-Dl-BT0Go.js} +5 -5
- package/dist/{index-DDTzdpi1.js → index-Dtvj50qi.js} +5 -5
- package/dist/{index-Dz5WEhSI.js → index-HZpBmPlK.js} +123 -100
- package/dist/{index-BHkyh3c6.js → index-JBRGZ0QJ.js} +5 -5
- package/dist/{index-CoZiK0Iq.js → index-LKUpPytZ.js} +5 -5
- package/dist/{index-DHS5r_kP.js → index-NWR-Tbbg.js} +5 -5
- package/dist/{index-CYS8JdxE.js → index-arKUGhuG.js} +5 -5
- package/dist/index.js +5 -5
- package/dist/lib/src/components/PanelToolbar.js +1 -1
- package/dist/lib/src/components/PanelToolbar.js.map +1 -1
- package/dist/lib/src/output.css +3 -0
- package/dist/lib/src/protobuf.generated/EncodedFrame.js +1 -1
- package/dist/lib/src/protobuf.generated/EncodedFrame.js.map +1 -1
- package/dist/lib/src/protobuf.generated/Event.js +1 -1
- package/dist/lib/src/protobuf.generated/Event.js.map +1 -1
- package/dist/lib/src/protobuf.generated/IMUData.js +1 -1
- package/dist/lib/src/protobuf.generated/IMUData.js.map +1 -1
- package/dist/lib/src/protobuf.generated/ImageAnnotations.js +1 -1
- package/dist/lib/src/protobuf.generated/ImageAnnotations.js.map +1 -1
- package/dist/lib/src/protobuf.generated/ImgDetections.js +1 -1
- package/dist/lib/src/protobuf.generated/ImgDetections.js.map +1 -1
- package/dist/lib/src/protobuf.generated/ImgFrame.js +1 -1
- package/dist/lib/src/protobuf.generated/ImgFrame.js.map +1 -1
- package/dist/lib/src/protobuf.generated/PointCloudData.js +1 -1
- package/dist/lib/src/protobuf.generated/PointCloudData.js.map +1 -1
- package/dist/lib/src/protobuf.generated/SpatialImgDetections.js +1 -1
- package/dist/lib/src/protobuf.generated/SpatialImgDetections.js.map +1 -1
- package/dist/lib/src/protobuf.generated/common.js +1 -1
- package/dist/lib/src/protobuf.generated/common.js.map +1 -1
- package/dist/packages/studio-base/src/components/ExpandingToolbar.d.ts +2 -1
- package/dist/packages/studio-base/src/components/ExpandingToolbar.d.ts.map +1 -1
- package/dist/packages/studio-base/src/components/ExpandingToolbar.js +3 -3
- package/dist/packages/studio-base/src/components/ExpandingToolbar.js.map +1 -1
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/Interactions/Interactions.d.ts.map +1 -1
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/Interactions/Interactions.js +1 -1
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/Interactions/Interactions.js.map +1 -1
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/RendererOverlay.d.ts.map +1 -1
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/RendererOverlay.js +13 -22
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/RendererOverlay.js.map +1 -1
- package/dist/{protobuf-BFCtaU7c.js → protobuf-CUXoOgMk.js} +8 -8
- package/dist/{worker-BaUgfqvr.js → worker-B98aztFc.js} +4 -4
- package/dist/{worker-BpVhgPF8.js → worker-BKBqfM0E.js} +3 -3
- package/package.json +1 -1
- package/dist/packages/studio-base/src/hooks/usePanelMousePresence.d.ts +0 -9
- package/dist/packages/studio-base/src/hooks/usePanelMousePresence.d.ts.map +0 -1
- package/dist/packages/studio-base/src/hooks/usePanelMousePresence.js +0 -40
- package/dist/packages/studio-base/src/hooks/usePanelMousePresence.js.map +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import './depth-
|
|
1
|
+
import { ad as EditorView, ae as EditorSelection, Y as LRLanguage, V as styleTags, X as tags, Q as indentNodeProp, a5 as delimitedIndent, U as foldNodeProp, Z as LanguageSupport, a0 as LRParser, a3 as syntaxTree, af as html, ag as parseMixed, $ as ExternalTokenizer } from './index-DgJK8CVA.js';
|
|
2
|
+
import './depth-BEHWbtlK.js';
|
|
3
3
|
import './comlink-CsH1ih07.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'zustand';
|
|
6
6
|
import 'react-mosaic-component';
|
|
7
|
-
import './protobuf-
|
|
7
|
+
import './protobuf-CUXoOgMk.js';
|
|
8
8
|
import 'protobufjs/minimal';
|
|
9
9
|
import '@mui/material';
|
|
10
10
|
import './isArrayLikeObject-Bytw9p-q.js';
|
|
11
11
|
import './utils-Hzt3wxhG.js';
|
|
12
|
-
import './FoxgloveServer-
|
|
12
|
+
import './FoxgloveServer-VUfAN9DL.js';
|
|
13
13
|
import 'ms';
|
|
14
|
-
import './foxglove-protocol-
|
|
14
|
+
import './foxglove-protocol-DuBdoM6O.js';
|
|
15
15
|
import 'react-dnd';
|
|
16
16
|
import 'react-dnd-html5-backend';
|
|
17
17
|
import './i18next-IYI3-Nuv.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import './depth-
|
|
1
|
+
import { $ as ExternalTokenizer, V as styleTags, X as tags, a0 as LRParser, Y as LRLanguage, Q as indentNodeProp, T as continuedIndent, a5 as delimitedIndent, U as foldNodeProp, a6 as foldInside, af as html, Z as LanguageSupport, ag as parseMixed } from './index-DgJK8CVA.js';
|
|
2
|
+
import './depth-BEHWbtlK.js';
|
|
3
3
|
import './comlink-CsH1ih07.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'zustand';
|
|
6
6
|
import 'react-mosaic-component';
|
|
7
|
-
import './protobuf-
|
|
7
|
+
import './protobuf-CUXoOgMk.js';
|
|
8
8
|
import 'protobufjs/minimal';
|
|
9
9
|
import '@mui/material';
|
|
10
10
|
import './isArrayLikeObject-Bytw9p-q.js';
|
|
11
11
|
import './utils-Hzt3wxhG.js';
|
|
12
|
-
import './FoxgloveServer-
|
|
12
|
+
import './FoxgloveServer-VUfAN9DL.js';
|
|
13
13
|
import 'ms';
|
|
14
|
-
import './foxglove-protocol-
|
|
14
|
+
import './foxglove-protocol-DuBdoM6O.js';
|
|
15
15
|
import 'react-dnd';
|
|
16
16
|
import 'react-dnd-html5-backend';
|
|
17
17
|
import './i18next-IYI3-Nuv.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
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 { Y as isSymbol, Z as toString, $ as keys, a0 as getSymbols$1, a1 as stubArray, a2 as arrayPush, a3 as baseGetAllKeys, g as getTag, a4 as getAllKeys,
|
|
4
|
+
import { Y as isSymbol, Z as toString, $ as keys, a0 as getSymbols$1, a1 as stubArray, a2 as arrayPush, a3 as baseGetAllKeys, g as getTag, a4 as getAllKeys, j as baseGet, c as baseIteratee, i as castPath, t as toKey, a5 as arrayMap$1, a6 as baseUniq, b as baseFlatten, a7 as useMustNotChange, L as Logger, a8 as useCurrentLayoutActions, a9 as useCurrentLayoutSelector, r as reportError, A as AppError, u as useGuaranteedContext, aa as usePanelMosaicId, ab as useSelectedPanels, ac as PANEL_TITLE_CONFIG_KEY, ad as noop$4, n as getPanelTypeFromId, K as useShallowMemo, T as TAB_PANEL_TYPE, I as filterMap, d as dist$2, ae as useAppConfiguration, af as useValueChangedDebugLog, ag as useJsonTreeTheme } from './depth-BEHWbtlK.js';
|
|
5
5
|
import { createStore, useStore } from 'zustand';
|
|
6
|
-
import { g as generateUtilityClass, c as createAggregator, f as flatRest, b as baseSet, A as AnalyticsContext, P as PropTypes, E as ErrorDisplay, S as Stack$1, m as makeStyles$1, _ as _extends$1, W as WorkspaceContext, u as useAnalytics, a as AppEvent, L as LeftSidebarItemKeys, R as RightSidebarItemKeys, d as useTranslation, e as usePanelCatalog,
|
|
6
|
+
import { g as generateUtilityClass, c as createAggregator, f as flatRest, b as baseSet, A as AnalyticsContext, P as PropTypes, E as ErrorDisplay, S as Stack$1, m as makeStyles$1, _ as _extends$1, W as WorkspaceContext, u as useAnalytics, a as AppEvent, L as LeftSidebarItemKeys, R as RightSidebarItemKeys, d as useTranslation, e as usePanelCatalog, i as isEmpty, h as PanelContext, j as PanelCatalogContext, k as usePanelStateStore, l as useDefaultPanelTitle, n as useWorkspaceStore, o as WorkspaceStoreSelectors, p as difference, q as usePanelContext, r as useMessagePipeline, v as v4, s as useHoverValue, t as useSetHoverValue, w as useClearHoverValue, x as useMessagePipelineGetter, y as usePanelSettingsTreeUpdate, z as PlayerCapabilities, B as assertNever, C as PlayerPresence, D as isEqual, F as isDesktopApp, G as createTheme, H as propTypesExports, I as format$1, J as z, K as serializeError, M as stringify$1, N as createIntl, O as createIntlCache } from './index-DgJK8CVA.js';
|
|
7
7
|
import { MosaicDragType, MosaicContext, MosaicWindowContext, getOtherBranch, getNodeAtPath } from 'react-mosaic-component';
|
|
8
|
-
import { g as getDefaultExportFromCjs, c as commonjsGlobal, d as getAugmentedNamespace } from './protobuf-
|
|
9
|
-
import { Link, Button, alpha, IconButton, Card, CardActionArea, CardMedia, CardContent,
|
|
8
|
+
import { g as getDefaultExportFromCjs, c as commonjsGlobal, d as getAugmentedNamespace } from './protobuf-CUXoOgMk.js';
|
|
9
|
+
import { Link, Button, alpha, IconButton, Typography, Card, CardActionArea, CardMedia, CardContent, Container, Tooltip, Fade, ListItem, ListItemButton, ListItemText, List, TextField, InputAdornment, Popper, Grow, Paper, ClickAwayListener, Menu, MenuItem, Divider, buttonClasses, Backdrop, Chip, useTheme, alertClasses, darken, lighten, inputBaseClasses, autocompleteClasses, inputClasses, Checkbox, dialogActionsClasses, filledInputClasses, inputAdornmentClasses, listSubheaderClasses, selectClasses, tableCellClasses, ThemeProvider as ThemeProvider$1, SvgIcon, tabsClasses as tabsClasses$1, tabClasses, Tabs, Tab, ListItemIcon } from '@mui/material';
|
|
10
10
|
import { c as copyObject, k as keysIn, g as getPrototype, d as cloneArrayBuffer, e as cloneTypedArray, f as copyArray, h as cloneBuffer, j as initCloneObject, a as assignValue, b as baseAssignValue, l as isPlainObject$1, t as tinycolor, n as t$1, m as merge$1, i as instance } from './i18next-IYI3-Nuv.js';
|
|
11
11
|
import FullscreenExitIcon from '@mui/icons-material/FullscreenExit';
|
|
12
12
|
import SettingsIcon from '@mui/icons-material/Settings';
|
|
@@ -17,16 +17,16 @@ import CancelIcon from '@mui/icons-material/Cancel';
|
|
|
17
17
|
import SearchIcon from '@mui/icons-material/Search';
|
|
18
18
|
import { useDrag, useDrop } from 'react-dnd';
|
|
19
19
|
import { B as Box3, V as Vector3, I as InstancedBufferGeometry, F as Float32BufferAttribute, a as InstancedInterleavedBuffer, b as InterleavedBufferAttribute, W as WireframeGeometry, S as Sphere, U as UniformsLib, c as Vector2, e as ShaderLib, f as UniformsUtils, g as ShaderMaterial, h as Vector4, M as Matrix4, L as Line3, i as Mesh, j as MathUtils, O as Object3D, C as Color, r as rgbToThreeColor, s as stringToRgba, m as makeRgba, k as MeshStandardMaterial, R as ReplaceStencilOp, N as NotEqualStencilFunc, D as DoubleSide, P as PointsMaterial, l as rgbaToCssString, n as colorModeSettingsFields, o as autoSelectColorSettings, p as PlaneGeometry, q as DataTexture, t as UVMapping, u as ClampToEdgeWrapping, v as NearestFilter, w as LinearFilter, x as FS_SRGB_TO_LINEAR, y as SRGBColorSpace, z as LinearSRGBColorSpace, A as rgbaToLinear, E as RedFormat, G as RGBAFormat, H as getColorConverter, J as FloatType, K as UnsignedByteType, Q as NEEDS_MIN_MAX$1, T as InstancedMesh, X as CylinderGeometry, Y as ConeGeometry, Z as DataTextureLoader, _ as LinearMipmapLinearFilter, $ as Loader, a0 as LoaderUtils, a1 as FileLoader, a2 as MeshBasicMaterial, a3 as Scene, a4 as TextureLoader, a5 as AnimationClip, a6 as VectorKeyframeTrack, a7 as QuaternionKeyframeTrack, a8 as MeshLambertMaterial, a9 as MeshPhongMaterial, aa as FrontSide, ab as PerspectiveCamera, ac as OrthographicCamera, ad as AmbientLight, ae as SpotLight, af as PointLight, ag as DirectionalLight, ah as BufferGeometry, ai as Group, aj as Quaternion, ak as Bone, al as LineBasicMaterial, am as SkinnedMesh, an as Line, ao as LineSegments, ap as RepeatWrapping, aq as Skeleton, ar as BufferAttribute, as as TrianglesDrawMode, at as TriangleFanDrawMode, au as TriangleStripDrawMode, av as MeshPhysicalMaterial, aw as ImageBitmapLoader, ax as InterleavedBuffer, ay as Material, az as PropertyBinding, aA as LineLoop, aB as Points, aC as InterpolateLinear, aD as ColorManagement, aE as NearestMipmapNearestFilter, aF as LinearMipmapNearestFilter, aG as NearestMipmapLinearFilter, aH as MirroredRepeatWrapping, aI as InterpolateDiscrete, aJ as Texture, aK as NumberKeyframeTrack, aL as Interpolant, aM as EdgesGeometry, aN as LoadingManager, aO as stringToRgb, aP as getLuminance, aQ as Euler, aR as vec3TupleApproxEquals, aS as decodeCompressedImageToBitmap, aT as CanvasTexture, aU as Shape, aV as SRGBToLinear, aW as ShapeGeometry, aX as DynamicDrawUsage, aY as ShaderChunk, aZ as IMAGE_DEFAULT_COLOR_MODE_SETTINGS, a_ as colorHasTransparency, a$ as StaticDrawUsage, b0 as RawShaderMaterial, b1 as GLSL3, b2 as colorFieldComputedPrefix, b3 as getRotationTo, b4 as SphereGeometry, b5 as rgbaGradient, b6 as InstancedBufferAttribute, b7 as BoxGeometry, b8 as DARK_OUTLINE, b9 as LIGHT_OUTLINE, ba as CircleGeometry, bb as LineDashedMaterial, bc as GreaterDepth, bd as EventDispatcher$1, be as Plane, bf as Raycaster, bg as WebGLRenderTarget, bh as THREE$1, bi as Spherical, bj as WebGLRenderer, bk as NoToneMapping, bl as VSMShadowMap, bm as HemisphereLight } from './decodeImage-DAWmFdMI.js';
|
|
20
|
-
import { t as typescript } from './index-
|
|
20
|
+
import { t as typescript } from './index-BNURNYen.js';
|
|
21
21
|
import { CacheProvider } from '@emotion/react';
|
|
22
22
|
import '@mui/material/styles/createTypography';
|
|
23
|
-
import { E as EventEmitter } from './FoxgloveServer-
|
|
23
|
+
import { E as EventEmitter } from './FoxgloveServer-VUfAN9DL.js';
|
|
24
24
|
import require$$1$3 from 'color';
|
|
25
25
|
import require$$2$1 from 'lodash.curry';
|
|
26
26
|
import OpenInNewIcon from '@mui/icons-material/OpenInNew';
|
|
27
27
|
import './comlink-CsH1ih07.js';
|
|
28
28
|
import './utils-Hzt3wxhG.js';
|
|
29
|
-
import './foxglove-protocol-
|
|
29
|
+
import './foxglove-protocol-DuBdoM6O.js';
|
|
30
30
|
import 'react-dnd-html5-backend';
|
|
31
31
|
import 'object-assign';
|
|
32
32
|
import 'react/jsx-runtime';
|
|
@@ -5189,6 +5189,21 @@ var useLongPress = function (callback, _a) {
|
|
|
5189
5189
|
};
|
|
5190
5190
|
};
|
|
5191
5191
|
|
|
5192
|
+
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
5193
|
+
// License, v2.0. If a copy of the MPL was not distributed with this
|
|
5194
|
+
// file, You can obtain one at http://mozilla.org/MPL/2.0/
|
|
5195
|
+
//
|
|
5196
|
+
// This file incorporates work covered by the following copyright and
|
|
5197
|
+
// permission notice:
|
|
5198
|
+
//
|
|
5199
|
+
// Copyright 2018-2021 Cruise LLC
|
|
5200
|
+
//
|
|
5201
|
+
// This source code is licensed under the Apache License, Version 2.0,
|
|
5202
|
+
// found at http://www.apache.org/licenses/LICENSE-2.0
|
|
5203
|
+
// You may not use this file except in compliance with the License.
|
|
5204
|
+
|
|
5205
|
+
Logger.getLogger("src/index.ts");
|
|
5206
|
+
|
|
5192
5207
|
function isPrimitive(value) {
|
|
5193
5208
|
return ((typeof value !== 'object') && (typeof value !== 'function')) || (value === null);
|
|
5194
5209
|
}
|
|
@@ -5521,7 +5536,7 @@ class PanelErrorBoundary extends Component {
|
|
|
5521
5536
|
const APP_BAR_HEIGHT = 44;
|
|
5522
5537
|
|
|
5523
5538
|
const PANEL_ROOT_CLASS_NAME = "FoxglovePanelRoot-root";
|
|
5524
|
-
const useStyles$
|
|
5539
|
+
const useStyles$g = makeStyles$1()((theme, props) => {
|
|
5525
5540
|
const {
|
|
5526
5541
|
palette,
|
|
5527
5542
|
transitions
|
|
@@ -5622,7 +5637,7 @@ const PanelRoot = /*#__PURE__*/forwardRef(function PanelRoot(props, ref) {
|
|
|
5622
5637
|
const {
|
|
5623
5638
|
classes,
|
|
5624
5639
|
cx
|
|
5625
|
-
} = useStyles$
|
|
5640
|
+
} = useStyles$g({
|
|
5626
5641
|
sourceRect,
|
|
5627
5642
|
hasFullscreenDescendant
|
|
5628
5643
|
});
|
|
@@ -5639,7 +5654,7 @@ const PanelRoot = /*#__PURE__*/forwardRef(function PanelRoot(props, ref) {
|
|
|
5639
5654
|
}, rest), props.children);
|
|
5640
5655
|
});
|
|
5641
5656
|
|
|
5642
|
-
const useStyles$
|
|
5657
|
+
const useStyles$f = makeStyles$1()(theme => ({
|
|
5643
5658
|
root: {
|
|
5644
5659
|
padding: theme.spacing(0.375),
|
|
5645
5660
|
fontSize: "0.875rem",
|
|
@@ -5658,7 +5673,7 @@ var ToolbarIconButton = /*#__PURE__*/forwardRef(function ToolbarIconButton(props
|
|
|
5658
5673
|
const {
|
|
5659
5674
|
classes,
|
|
5660
5675
|
cx
|
|
5661
|
-
} = useStyles$
|
|
5676
|
+
} = useStyles$f();
|
|
5662
5677
|
return /*#__PURE__*/React__default.createElement(IconButton, _extends$1({
|
|
5663
5678
|
ref: ref,
|
|
5664
5679
|
className: cx(classes.root, className)
|
|
@@ -8667,6 +8682,39 @@ var fuzzysort = {exports: {}};
|
|
|
8667
8682
|
var fuzzysortExports = fuzzysort.exports;
|
|
8668
8683
|
var fuzzySort = /*@__PURE__*/getDefaultExportFromCjs(fuzzysortExports);
|
|
8669
8684
|
|
|
8685
|
+
const useStyles$e = makeStyles$1()(theme => ({
|
|
8686
|
+
root: {
|
|
8687
|
+
whiteSpace: "pre-line",
|
|
8688
|
+
code: {
|
|
8689
|
+
color: theme.palette.primary.main,
|
|
8690
|
+
background: "transparent",
|
|
8691
|
+
padding: 0
|
|
8692
|
+
}
|
|
8693
|
+
}
|
|
8694
|
+
}));
|
|
8695
|
+
function EmptyState({
|
|
8696
|
+
children,
|
|
8697
|
+
className
|
|
8698
|
+
}) {
|
|
8699
|
+
const {
|
|
8700
|
+
classes,
|
|
8701
|
+
cx
|
|
8702
|
+
} = useStyles$e();
|
|
8703
|
+
return /*#__PURE__*/React__default.createElement(Stack$1, {
|
|
8704
|
+
className: cx(classes.root, className),
|
|
8705
|
+
flex: "auto",
|
|
8706
|
+
alignItems: "center",
|
|
8707
|
+
justifyContent: "center",
|
|
8708
|
+
fullHeight: true,
|
|
8709
|
+
paddingX: 1
|
|
8710
|
+
}, /*#__PURE__*/React__default.createElement(Typography, {
|
|
8711
|
+
variant: "body2",
|
|
8712
|
+
color: "text.secondary",
|
|
8713
|
+
lineHeight: 1.4,
|
|
8714
|
+
align: "center"
|
|
8715
|
+
}, children));
|
|
8716
|
+
}
|
|
8717
|
+
|
|
8670
8718
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
8671
8719
|
// License, v2.0. If a copy of the MPL was not distributed with this
|
|
8672
8720
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/
|
|
@@ -31981,7 +32029,7 @@ const t3D = threeDeeKey => t$1(`threeDee:${threeDeeKey}`);
|
|
|
31981
32029
|
// License, v2.0. If a copy of the MPL was not distributed with this
|
|
31982
32030
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/
|
|
31983
32031
|
|
|
31984
|
-
const DEFAULT_CAMERA_STATE = {
|
|
32032
|
+
const DEFAULT_CAMERA_STATE$1 = {
|
|
31985
32033
|
near: 0.001,
|
|
31986
32034
|
far: 1000
|
|
31987
32035
|
};
|
|
@@ -31989,7 +32037,7 @@ const MIN_USER_ZOOM = 0.5;
|
|
|
31989
32037
|
const MAX_USER_ZOOM = 50;
|
|
31990
32038
|
class ImageModeCamera extends PerspectiveCamera {
|
|
31991
32039
|
#model;
|
|
31992
|
-
#cameraState = DEFAULT_CAMERA_STATE;
|
|
32040
|
+
#cameraState = DEFAULT_CAMERA_STATE$1;
|
|
31993
32041
|
#rotation = 0;
|
|
31994
32042
|
#flipHorizontal = false;
|
|
31995
32043
|
#flipVertical = false;
|
|
@@ -59731,6 +59779,23 @@ class CameraControls extends EventDispatcher {
|
|
|
59731
59779
|
}
|
|
59732
59780
|
}
|
|
59733
59781
|
|
|
59782
|
+
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
59783
|
+
// License, v2.0. If a copy of the MPL was not distributed with this
|
|
59784
|
+
// file, You can obtain one at http://mozilla.org/MPL/2.0/
|
|
59785
|
+
|
|
59786
|
+
const DEFAULT_CAMERA_STATE = {
|
|
59787
|
+
distance: -500,
|
|
59788
|
+
perspective: localStorage.getItem("perspective") ? localStorage.getItem("perspective") === "true" : true,
|
|
59789
|
+
phi: 89,
|
|
59790
|
+
target: [0, 0, 0],
|
|
59791
|
+
targetOffset: [0, 0, 0],
|
|
59792
|
+
targetOrientation: [0, 1, 1, 1],
|
|
59793
|
+
thetaOffset: 180,
|
|
59794
|
+
fovy: 60,
|
|
59795
|
+
near: 2,
|
|
59796
|
+
far: 20000
|
|
59797
|
+
};
|
|
59798
|
+
|
|
59734
59799
|
/**
|
|
59735
59800
|
* Types of items that can be included in a context menu. Either a clickable item
|
|
59736
59801
|
* or a divider.
|
|
@@ -59867,45 +59932,6 @@ function PublishPoseEstimateIcon(props) {
|
|
|
59867
59932
|
// License, v2.0. If a copy of the MPL was not distributed with this
|
|
59868
59933
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/
|
|
59869
59934
|
|
|
59870
|
-
|
|
59871
|
-
/**
|
|
59872
|
-
* Tracks the presence of the mouse in the parent panel.
|
|
59873
|
-
*
|
|
59874
|
-
* @param ref The element to hide and show on panel hove
|
|
59875
|
-
* @returns True if the mouse is currently within the parent panel.
|
|
59876
|
-
*/
|
|
59877
|
-
function usePanelMousePresence(ref) {
|
|
59878
|
-
const [present, setPresent] = useState(false);
|
|
59879
|
-
const listener = useCallback(ev => {
|
|
59880
|
-
if (!ref.current) {
|
|
59881
|
-
return;
|
|
59882
|
-
}
|
|
59883
|
-
if (ev.type === "mouseenter") {
|
|
59884
|
-
setPresent(true);
|
|
59885
|
-
} else {
|
|
59886
|
-
setPresent(false);
|
|
59887
|
-
}
|
|
59888
|
-
}, [ref]);
|
|
59889
|
-
useEffect(() => {
|
|
59890
|
-
const element = ref.current;
|
|
59891
|
-
if (!element) {
|
|
59892
|
-
return;
|
|
59893
|
-
}
|
|
59894
|
-
const parent = element.closest(`.${PANEL_ROOT_CLASS_NAME}`);
|
|
59895
|
-
parent?.addEventListener("mouseenter", listener);
|
|
59896
|
-
parent?.addEventListener("mouseleave", listener);
|
|
59897
|
-
return () => {
|
|
59898
|
-
parent?.removeEventListener("mouseenter", listener);
|
|
59899
|
-
parent?.removeEventListener("mouseleave", listener);
|
|
59900
|
-
};
|
|
59901
|
-
}, [ref, listener]);
|
|
59902
|
-
return present;
|
|
59903
|
-
}
|
|
59904
|
-
|
|
59905
|
-
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
59906
|
-
// License, v2.0. If a copy of the MPL was not distributed with this
|
|
59907
|
-
// file, You can obtain one at http://mozilla.org/MPL/2.0/
|
|
59908
|
-
|
|
59909
59935
|
const RendererContext = /*#__PURE__*/createContext(undefined);
|
|
59910
59936
|
|
|
59911
59937
|
/**
|
|
@@ -60072,7 +60098,8 @@ function ExpandingToolbar({
|
|
|
60072
60098
|
onSelectTab,
|
|
60073
60099
|
selectedTab,
|
|
60074
60100
|
tooltip,
|
|
60075
|
-
dataTest
|
|
60101
|
+
dataTest,
|
|
60102
|
+
style
|
|
60076
60103
|
}) {
|
|
60077
60104
|
const {
|
|
60078
60105
|
classes
|
|
@@ -60090,7 +60117,8 @@ function ExpandingToolbar({
|
|
|
60090
60117
|
square: false,
|
|
60091
60118
|
elevation: 4,
|
|
60092
60119
|
style: {
|
|
60093
|
-
pointerEvents: "auto"
|
|
60120
|
+
pointerEvents: "auto",
|
|
60121
|
+
...style
|
|
60094
60122
|
}
|
|
60095
60123
|
}, /*#__PURE__*/React__default.createElement(Tooltip, {
|
|
60096
60124
|
placement: "left",
|
|
@@ -60101,6 +60129,10 @@ function ExpandingToolbar({
|
|
|
60101
60129
|
"data-testid": `ExpandingToolbar-${tooltip}`,
|
|
60102
60130
|
onClick: () => {
|
|
60103
60131
|
onSelectTab(selectedTabLocal);
|
|
60132
|
+
},
|
|
60133
|
+
style: {
|
|
60134
|
+
width: "100%",
|
|
60135
|
+
height: "100%"
|
|
60104
60136
|
}
|
|
60105
60137
|
}, icon)));
|
|
60106
60138
|
}
|
|
@@ -72646,6 +72678,10 @@ const InteractionsBaseComponent = React__default.memo(function InteractionsBaseC
|
|
|
72646
72678
|
selectedTab: interactionsTabType,
|
|
72647
72679
|
onSelectTab: newSelectedTab => {
|
|
72648
72680
|
setInteractionsTabType(newSelectedTab);
|
|
72681
|
+
},
|
|
72682
|
+
style: {
|
|
72683
|
+
width: 34,
|
|
72684
|
+
height: 34
|
|
72649
72685
|
}
|
|
72650
72686
|
}, /*#__PURE__*/React__default.createElement(ToolGroup, {
|
|
72651
72687
|
name: OBJECT_TAB_TYPE
|
|
@@ -73129,16 +73165,11 @@ function RendererOverlay(props) {
|
|
|
73129
73165
|
const getContextMenuItems = useCallback(() => {
|
|
73130
73166
|
return renderer?.getContextMenuItems() ?? [];
|
|
73131
73167
|
}, [renderer]);
|
|
73132
|
-
const mousePresenceRef = useRef(null);
|
|
73133
|
-
const mousePresent = usePanelMousePresence(mousePresenceRef);
|
|
73134
73168
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, props.interfaceMode === "image" && /*#__PURE__*/React__default.createElement(PanelContextMenu, {
|
|
73135
73169
|
getItems: getContextMenuItems
|
|
73136
73170
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
73137
|
-
ref: mousePresenceRef,
|
|
73138
73171
|
className: classes.root
|
|
73139
|
-
},
|
|
73140
|
-
// Only show on hover for image panel
|
|
73141
|
-
(props.interfaceMode === "3d" || mousePresent) && /*#__PURE__*/React__default.createElement(Interactions, {
|
|
73172
|
+
}, props.interfaceMode === "3d" && /*#__PURE__*/React__default.createElement(Interactions, {
|
|
73142
73173
|
addPanel: props.addPanel,
|
|
73143
73174
|
interactionsTabType: interactionsTabType,
|
|
73144
73175
|
onShowTopicSettings: props.onShowTopicSettings,
|
|
@@ -73161,6 +73192,10 @@ function RendererOverlay(props) {
|
|
|
73161
73192
|
color: "inherit",
|
|
73162
73193
|
onClick: () => {
|
|
73163
73194
|
on3dSceneReset.emit("resetView");
|
|
73195
|
+
},
|
|
73196
|
+
style: {
|
|
73197
|
+
width: "34px",
|
|
73198
|
+
height: "34px"
|
|
73164
73199
|
}
|
|
73165
73200
|
}, /*#__PURE__*/React__default.createElement(ArrowResetRegular, null))), publishControls), props.interfaceMode === "3d" && /*#__PURE__*/React__default.createElement(Paper, {
|
|
73166
73201
|
square: false,
|
|
@@ -73215,44 +73250,32 @@ function RendererOverlay(props) {
|
|
|
73215
73250
|
});
|
|
73216
73251
|
}
|
|
73217
73252
|
}, renderer?.config.cameraState.perspective ? /*#__PURE__*/React__default.createElement("svg", {
|
|
73218
|
-
|
|
73253
|
+
stroke: "currentColor",
|
|
73219
73254
|
fill: "none",
|
|
73220
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
73221
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
73222
|
-
id: "SVGRepo_bgCarrier",
|
|
73223
|
-
"stroke-width": "0"
|
|
73224
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
73225
|
-
id: "SVGRepo_tracerCarrier",
|
|
73226
|
-
"stroke-linecap": "round",
|
|
73227
|
-
"stroke-linejoin": "round"
|
|
73228
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
73229
|
-
id: "SVGRepo_iconCarrier"
|
|
73230
|
-
}, " ", /*#__PURE__*/React__default.createElement("path", {
|
|
73231
|
-
d: "M16 5.00007L16 19.0001M10 4.00007L10 20.0001M3 12.0001H21M3 5.98924L3 18.0109C3 19.3749 3 20.0569 3.28134 20.5297C3.52803 20.9442 3.9162 21.2556 4.37434 21.4065C4.89685 21.5785 5.56262 21.4306 6.89418 21.1347L18.4942 18.5569C19.3883 18.3582 19.8354 18.2589 20.1691 18.0185C20.4634 17.8064 20.6945 17.5183 20.8377 17.1849C21 16.807 21 16.3491 21 15.4331V8.56702C21 7.65109 21 7.19312 20.8377 6.8152C20.6945 6.48186 20.4634 6.19373 20.1691 5.98168C19.8354 5.74126 19.3883 5.64191 18.4942 5.44322L6.89418 2.86544C5.56262 2.56954 4.89685 2.42159 4.37434 2.59368C3.9162 2.74457 3.52803 3.05596 3.28134 3.47045C3 3.94318 3 4.6252 3 5.98924Z",
|
|
73232
|
-
stroke: "#000000",
|
|
73233
73255
|
"stroke-width": "2",
|
|
73234
|
-
"stroke-linecap": "round",
|
|
73235
|
-
"stroke-linejoin": "round"
|
|
73236
|
-
}), " ")) : /*#__PURE__*/React__default.createElement("svg", {
|
|
73237
73256
|
viewBox: "0 0 24 24",
|
|
73238
|
-
fill: "none",
|
|
73239
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
73240
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
73241
|
-
id: "SVGRepo_bgCarrier",
|
|
73242
|
-
"stroke-width": "0"
|
|
73243
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
73244
|
-
id: "SVGRepo_tracerCarrier",
|
|
73245
73257
|
"stroke-linecap": "round",
|
|
73246
|
-
"stroke-linejoin": "round"
|
|
73247
|
-
|
|
73248
|
-
|
|
73249
|
-
|
|
73250
|
-
|
|
73251
|
-
|
|
73258
|
+
"stroke-linejoin": "round",
|
|
73259
|
+
height: "24px",
|
|
73260
|
+
width: "24px",
|
|
73261
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
73262
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
73263
|
+
d: "M4 4v16h16"
|
|
73264
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
73265
|
+
d: "m4 20 7-7"
|
|
73266
|
+
})) : /*#__PURE__*/React__default.createElement("svg", {
|
|
73267
|
+
stroke: "currentColor",
|
|
73268
|
+
fill: "none",
|
|
73252
73269
|
"stroke-width": "2",
|
|
73270
|
+
viewBox: "0 0 24 24",
|
|
73253
73271
|
"stroke-linecap": "round",
|
|
73254
|
-
"stroke-linejoin": "round"
|
|
73255
|
-
|
|
73272
|
+
"stroke-linejoin": "round",
|
|
73273
|
+
height: "24px",
|
|
73274
|
+
width: "24px",
|
|
73275
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
73276
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
73277
|
+
d: "M6.141 4.163l12 1.714a1 1 0 0 1 .859 .99v10.266a1 1 0 0 1 -.859 .99l-12 1.714a1 1 0 0 1 -1.141 -.99v-13.694a1 1 0 0 1 1.141 -.99z"
|
|
73278
|
+
})))), publishControls)), clickedObjects.length > 1 && !selectedObject && /*#__PURE__*/React__default.createElement(InteractionContextMenu, {
|
|
73256
73279
|
onClose: () => {
|
|
73257
73280
|
setSelectedRenderables([]);
|
|
73258
73281
|
},
|
|
@@ -73325,7 +73348,7 @@ class CameraStateSettings extends SceneExtension {
|
|
|
73325
73348
|
this.add(this.#cameraGroup);
|
|
73326
73349
|
this.renderer.updateConfig(draft => {
|
|
73327
73350
|
if (!draft.cameraState) {
|
|
73328
|
-
draft.cameraState = cloneDeep(DEFAULT_CAMERA_STATE
|
|
73351
|
+
draft.cameraState = cloneDeep(DEFAULT_CAMERA_STATE);
|
|
73329
73352
|
}
|
|
73330
73353
|
});
|
|
73331
73354
|
const isPerspective = this.renderer.config.cameraState.perspective;
|
|
@@ -73410,7 +73433,7 @@ class CameraStateSettings extends SceneExtension {
|
|
|
73410
73433
|
this.#perspectiveCamera.position.set(0, 0, 0);
|
|
73411
73434
|
this.#orthographicCamera.position.set(0, 0, 0);
|
|
73412
73435
|
this.renderer.updateConfig(draft => {
|
|
73413
|
-
draft.cameraState = cloneDeep(DEFAULT_CAMERA_STATE
|
|
73436
|
+
draft.cameraState = cloneDeep(DEFAULT_CAMERA_STATE);
|
|
73414
73437
|
});
|
|
73415
73438
|
}
|
|
73416
73439
|
let restoredCameraState = false;
|
|
@@ -73431,7 +73454,7 @@ class CameraStateSettings extends SceneExtension {
|
|
|
73431
73454
|
const activeCamera = this.getActiveCamera();
|
|
73432
73455
|
activeCamera.updateMatrixWorld(true);
|
|
73433
73456
|
this.renderer.queueAnimationFrame();
|
|
73434
|
-
const cameraState = defaultCameraState ?? DEFAULT_CAMERA_STATE
|
|
73457
|
+
const cameraState = defaultCameraState ?? DEFAULT_CAMERA_STATE;
|
|
73435
73458
|
this.#applyCameraStateToControls(cameraState, undefined);
|
|
73436
73459
|
this.#controls.update(0);
|
|
73437
73460
|
this.renderer.queueAnimationFrame();
|
|
@@ -73601,7 +73624,7 @@ class CameraStateSettings extends SceneExtension {
|
|
|
73601
73624
|
near: {
|
|
73602
73625
|
label: t$1("threeDee:near"),
|
|
73603
73626
|
input: "number",
|
|
73604
|
-
step: DEFAULT_CAMERA_STATE
|
|
73627
|
+
step: DEFAULT_CAMERA_STATE.near,
|
|
73605
73628
|
precision: PRECISION_DISTANCE,
|
|
73606
73629
|
value: camera.near
|
|
73607
73630
|
},
|
|
@@ -73671,7 +73694,7 @@ class CameraStateSettings extends SceneExtension {
|
|
|
73671
73694
|
if (action.action === "perform-node-action" && action.payload.id === "reset-camera") {
|
|
73672
73695
|
const previousState = cloneDeep(this.renderer.config.cameraState);
|
|
73673
73696
|
this.renderer.updateConfig(draft => {
|
|
73674
|
-
draft.cameraState = cloneDeep(DEFAULT_CAMERA_STATE
|
|
73697
|
+
draft.cameraState = cloneDeep(DEFAULT_CAMERA_STATE);
|
|
73675
73698
|
});
|
|
73676
73699
|
this.#applyCameraStateToControls(this.renderer.config.cameraState, previousState);
|
|
73677
73700
|
this.renderer.emit("cameraMove", this.renderer);
|
|
@@ -73721,10 +73744,10 @@ class CameraStateSettings extends SceneExtension {
|
|
|
73721
73744
|
const followMode = value;
|
|
73722
73745
|
this.renderer.updateConfig(draft => {
|
|
73723
73746
|
if (draft.followMode === "follow-none" || followMode === "follow-pose") {
|
|
73724
|
-
draft.cameraState.targetOffset = [...DEFAULT_CAMERA_STATE
|
|
73747
|
+
draft.cameraState.targetOffset = [...DEFAULT_CAMERA_STATE.targetOffset];
|
|
73725
73748
|
}
|
|
73726
73749
|
if (followMode === "follow-pose") {
|
|
73727
|
-
draft.cameraState.thetaOffset = DEFAULT_CAMERA_STATE
|
|
73750
|
+
draft.cameraState.thetaOffset = DEFAULT_CAMERA_STATE.thetaOffset;
|
|
73728
73751
|
}
|
|
73729
73752
|
draft.followMode = followMode;
|
|
73730
73753
|
});
|
|
@@ -79759,7 +79782,7 @@ function ThreeDeeRender(props) {
|
|
|
79759
79782
|
const partialConfig = initialState;
|
|
79760
79783
|
|
|
79761
79784
|
// Initialize the camera from default settings overlaid with persisted settings
|
|
79762
|
-
const cameraState = merge$1(cloneDeep(DEFAULT_CAMERA_STATE
|
|
79785
|
+
const cameraState = merge$1(cloneDeep(DEFAULT_CAMERA_STATE), partialConfig?.cameraState);
|
|
79763
79786
|
const publish = merge$1(cloneDeep(DEFAULT_PUBLISH_SETTINGS), partialConfig?.publish);
|
|
79764
79787
|
const transforms = partialConfig?.transforms ?? {};
|
|
79765
79788
|
return {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import './depth-
|
|
1
|
+
import { $ as ExternalTokenizer, V as styleTags, X as tags, a0 as LRParser, Y as LRLanguage, Q as indentNodeProp, T as continuedIndent, U as foldNodeProp, a6 as foldInside, Z as LanguageSupport } from './index-DgJK8CVA.js';
|
|
2
|
+
import './depth-BEHWbtlK.js';
|
|
3
3
|
import './comlink-CsH1ih07.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'zustand';
|
|
6
6
|
import 'react-mosaic-component';
|
|
7
|
-
import './protobuf-
|
|
7
|
+
import './protobuf-CUXoOgMk.js';
|
|
8
8
|
import 'protobufjs/minimal';
|
|
9
9
|
import '@mui/material';
|
|
10
10
|
import './isArrayLikeObject-Bytw9p-q.js';
|
|
11
11
|
import './utils-Hzt3wxhG.js';
|
|
12
|
-
import './FoxgloveServer-
|
|
12
|
+
import './FoxgloveServer-VUfAN9DL.js';
|
|
13
13
|
import 'ms';
|
|
14
|
-
import './foxglove-protocol-
|
|
14
|
+
import './foxglove-protocol-DuBdoM6O.js';
|
|
15
15
|
import 'react-dnd';
|
|
16
16
|
import 'react-dnd-html5-backend';
|
|
17
17
|
import './i18next-IYI3-Nuv.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import './depth-
|
|
1
|
+
import { Y as LRLanguage, Q as indentNodeProp, a5 as delimitedIndent, U as foldNodeProp, a6 as foldInside, V as styleTags, X as tags, Z as LanguageSupport, a0 as LRParser } from './index-DgJK8CVA.js';
|
|
2
|
+
import './depth-BEHWbtlK.js';
|
|
3
3
|
import './comlink-CsH1ih07.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'zustand';
|
|
6
6
|
import 'react-mosaic-component';
|
|
7
|
-
import './protobuf-
|
|
7
|
+
import './protobuf-CUXoOgMk.js';
|
|
8
8
|
import 'protobufjs/minimal';
|
|
9
9
|
import '@mui/material';
|
|
10
10
|
import './isArrayLikeObject-Bytw9p-q.js';
|
|
11
11
|
import './utils-Hzt3wxhG.js';
|
|
12
|
-
import './FoxgloveServer-
|
|
12
|
+
import './FoxgloveServer-VUfAN9DL.js';
|
|
13
13
|
import 'ms';
|
|
14
|
-
import './foxglove-protocol-
|
|
14
|
+
import './foxglove-protocol-DuBdoM6O.js';
|
|
15
15
|
import 'react-dnd';
|
|
16
16
|
import 'react-dnd-html5-backend';
|
|
17
17
|
import './i18next-IYI3-Nuv.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import './depth-
|
|
1
|
+
import { $ as ExternalTokenizer, a7 as ContextTracker, V as styleTags, X as tags, a0 as LRParser, a3 as syntaxTree, a1 as ifNotIn, Y as LRLanguage, Q as indentNodeProp, a5 as delimitedIndent, U as foldNodeProp, a6 as foldInside, Z as LanguageSupport, aa as IterMode, a2 as completeFromList, ab as NodeWeakMap, a9 as snippetCompletion } from './index-DgJK8CVA.js';
|
|
2
|
+
import './depth-BEHWbtlK.js';
|
|
3
3
|
import './comlink-CsH1ih07.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'zustand';
|
|
6
6
|
import 'react-mosaic-component';
|
|
7
|
-
import './protobuf-
|
|
7
|
+
import './protobuf-CUXoOgMk.js';
|
|
8
8
|
import 'protobufjs/minimal';
|
|
9
9
|
import '@mui/material';
|
|
10
10
|
import './isArrayLikeObject-Bytw9p-q.js';
|
|
11
11
|
import './utils-Hzt3wxhG.js';
|
|
12
|
-
import './FoxgloveServer-
|
|
12
|
+
import './FoxgloveServer-VUfAN9DL.js';
|
|
13
13
|
import 'ms';
|
|
14
|
-
import './foxglove-protocol-
|
|
14
|
+
import './foxglove-protocol-DuBdoM6O.js';
|
|
15
15
|
import 'react-dnd';
|
|
16
16
|
import 'react-dnd-html5-backend';
|
|
17
17
|
import './i18next-IYI3-Nuv.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import './depth-
|
|
1
|
+
import { V as styleTags, X as tags, ai as javascriptLanguage, Y as LRLanguage, Z as LanguageSupport, a0 as LRParser, af as html, ag as parseMixed, $ as ExternalTokenizer } from './index-DgJK8CVA.js';
|
|
2
|
+
import './depth-BEHWbtlK.js';
|
|
3
3
|
import './comlink-CsH1ih07.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'zustand';
|
|
6
6
|
import 'react-mosaic-component';
|
|
7
|
-
import './protobuf-
|
|
7
|
+
import './protobuf-CUXoOgMk.js';
|
|
8
8
|
import 'protobufjs/minimal';
|
|
9
9
|
import '@mui/material';
|
|
10
10
|
import './isArrayLikeObject-Bytw9p-q.js';
|
|
11
11
|
import './utils-Hzt3wxhG.js';
|
|
12
|
-
import './FoxgloveServer-
|
|
12
|
+
import './FoxgloveServer-VUfAN9DL.js';
|
|
13
13
|
import 'ms';
|
|
14
|
-
import './foxglove-protocol-
|
|
14
|
+
import './foxglove-protocol-DuBdoM6O.js';
|
|
15
15
|
import 'react-dnd';
|
|
16
16
|
import 'react-dnd-html5-backend';
|
|
17
17
|
import './i18next-IYI3-Nuv.js';
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { at as FrameStore, am as ImagePanel, al as PanelLayout, an as PointCloudPanel, aj as VisualizerConnection, ak as VisualizerContext, ao as constructKeyForTopicRenderMetrics, au as getIMUEventEmitter, aq as globalDecodeMetricsManager, ap as globalInputEventMetricsManager, ar as globalRenderMetricsManager, as as globalThroughputMetricsManager } from './index-DgJK8CVA.js';
|
|
2
|
+
export { R as getDistanceFromDepthDataForOffset } from './depth-BEHWbtlK.js';
|
|
3
3
|
import './comlink-CsH1ih07.js';
|
|
4
4
|
import './utils-Hzt3wxhG.js';
|
|
5
|
-
import './protobuf-
|
|
5
|
+
import './protobuf-CUXoOgMk.js';
|
|
6
6
|
import 'protobufjs/minimal';
|
|
7
7
|
import 'react';
|
|
8
|
-
import './FoxgloveServer-
|
|
8
|
+
import './FoxgloveServer-VUfAN9DL.js';
|
|
9
9
|
import 'ms';
|
|
10
|
-
import './foxglove-protocol-
|
|
10
|
+
import './foxglove-protocol-DuBdoM6O.js';
|
|
11
11
|
import 'react-dnd';
|
|
12
12
|
import 'react-dnd-html5-backend';
|
|
13
13
|
import 'react-mosaic-component';
|
|
@@ -164,7 +164,7 @@ export const PanelToolbar = ({ topic, fakedAs, kind, setDetections, disableAnnot
|
|
|
164
164
|
const makeDetection = React.useCallback((detection, { extra }) => (extra ? detection.extra && !detection.enabled : !detection.extra || detection.enabled) && (_jsx(PanelAnnotationButton, { topic: detection, onClick: () => {
|
|
165
165
|
onToggleTopic(detection.name);
|
|
166
166
|
} }, detection.name)), [onToggleTopic]);
|
|
167
|
-
return (_jsx(Flex, { direction: "row", gap: "xs", align: "center", justify: "space-between", className: "px-4 bg-white", ref: wrapperRef, children: _jsxs(Flex, { direction: "row", gap: "xs", align: "center", justify: touchesBreakpoint ? "space-between" : "start", width: "full", paddingY: "xs", maxWidth: "full", children: [_jsxs(Flex, { width: "fit", gap: "xxs", className: "flex-col xl:flex-row items-start xl:items-end max-w-[60%%]", children: [_jsx(Tooltip, { content: resolution, children: _jsx(SubHeader, { text: name, className: "text-[20px]/[20px]" }) }), showResolution && resolution && (_jsx(Label, { text: `(${resolution})`, className: "text-[14px]/[14px] xl:pb-[2px]" }))] }), touchesBreakpoint ? (_jsxs(Flex, { direction: "row", gap: "xs", align: "center", children: [actions, _jsxs(DropdownMenu, { children: [_jsx(DropdownMenuTrigger, { asChild: true, children: _jsx(Button, { icon: MoreMenuIcon, variant: "outline", colorVariant: "white", size: "sm" }) }), _jsxs(DropdownMenuContent, { ref: wrapperBreakpointRef, children: [_jsx(PanelToolbarMetrics, { targetFps: targetFps, metrics: fakedMetrics ?? metrics, topic: topic, inDropdown: true, isPointcloud: kind === "pointCloud" }), kind === "pointCloud" && (_jsx(Tooltip, { parentContainer: parentContainer, side: "bottom", content: _jsx(PointCloudPanelInstructions, {}), children: _jsx(DropdownMenuItem, { icon: HelpIcon, onClick: (e) => {
|
|
167
|
+
return (_jsx(Flex, { direction: "row", gap: "xs", align: "center", justify: "space-between", className: "px-4 bg-white", ref: wrapperRef, children: _jsxs(Flex, { direction: "row", gap: "xs", align: "center", justify: touchesBreakpoint ? "space-between" : "start", width: "full", paddingY: "xs", maxWidth: "full", children: [_jsxs(Flex, { width: "fit", gap: "xxs", className: "flex-col xl:flex-row items-start xl:items-end max-w-[60%%]", children: [_jsx(Tooltip, { content: resolution, children: _jsx(SubHeader, { text: name, className: "text-[20px]/[20px] text-nowrap" }) }), showResolution && resolution && (_jsx(Label, { text: `(${resolution})`, className: "text-[14px]/[14px] xl:pb-[2px]" }))] }), touchesBreakpoint ? (_jsxs(Flex, { direction: "row", gap: "xs", align: "center", children: [actions, _jsxs(DropdownMenu, { children: [_jsx(DropdownMenuTrigger, { asChild: true, children: _jsx(Button, { icon: MoreMenuIcon, variant: "outline", colorVariant: "white", size: "sm" }) }), _jsxs(DropdownMenuContent, { ref: wrapperBreakpointRef, children: [_jsx(PanelToolbarMetrics, { targetFps: targetFps, metrics: fakedMetrics ?? metrics, topic: topic, inDropdown: true, isPointcloud: kind === "pointCloud" }), kind === "pointCloud" && (_jsx(Tooltip, { parentContainer: parentContainer, side: "bottom", content: _jsx(PointCloudPanelInstructions, {}), children: _jsx(DropdownMenuItem, { icon: HelpIcon, onClick: (e) => {
|
|
168
168
|
e.stopPropagation();
|
|
169
169
|
e.preventDefault();
|
|
170
170
|
}, cursor: "help", children: "Point Cloud Details" }) })), !disableAnnotations && kind === "image" && detections.length > 0 && (_jsxs(DropdownMenuSub, { children: [_jsx(DropdownMenuSubTrigger, { disabled: detections.length === 0, style: { opacity: detections.length === 0 ? 0.5 : 1 }, children: "Annotations" }), _jsxs(DropdownMenuSubContent, { children: [detections.map((detection) => makeDetection(detection, { extra: false })), hasExtra && (_jsx(Button, { width: "full", paddingY: "xs", variant: "ghost", "aria-expanded": extraVisible ? "true" : undefined, onClick: () => {
|