@luxonis/visualizer-protobuf 2.33.0 → 2.35.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/{FoxgloveServer-BssAO1ix.js → FoxgloveServer-C39Uooyk.js} +4 -15
- package/dist/{communicator-CzBZDASw.js → communicator-D49kmBTQ.js} +1 -1
- package/dist/{deserialization.worker-CXyfLlRt.js → deserialization.worker-DsCOJqEa.js} +1 -1
- package/dist/{foxglove-protocol-BQ1FsNfG.js → foxglove-protocol-CYoMweAY.js} +1 -1
- package/dist/{index-BUBQn6Kl.js → index-B0STFQmU.js} +3 -4
- package/dist/{index-CvW9Q4VD.js → index-B13odtD4.js} +3 -4
- package/dist/{index-TgfyH0by.js → index-B1XiXp8f.js} +3 -4
- package/dist/{index-Bg2wGIRX.js → index-B3FXkEX-.js} +3 -4
- package/dist/{index-CX4A9Odw.js → index-BMhXEexX.js} +3 -4
- package/dist/{index-DoIQXSoy.js → index-BVoQTy60.js} +3 -4
- package/dist/{index-iUK2g5-Z.js → index-BfRV8GM9.js} +4257 -670
- package/dist/{index-Bt_1Ingm.js → index-BoI3ALeF.js} +3 -4
- package/dist/{index-CYGRFZj-.js → index-ByPsJjYK.js} +3 -4
- package/dist/{index-Dpjb_uMZ.js → index-C-cI8dE7.js} +3 -4
- package/dist/{index-BmrFCWrk.js → index-C4bu9CwP.js} +3 -4
- package/dist/{index-CdL1JTfy.js → index-CFyETGYY.js} +3 -4
- package/dist/{index-af73Jp_A.js → index-CnqkI6yW.js} +3 -4
- package/dist/{index-C2xXrJ3A.js → index-D1HLpOAF.js} +4 -5
- package/dist/{index-D0SP7fRp.js → index-DCxgBMTe.js} +3 -4
- package/dist/{index-DN4ToaLh.js → index-DWqG1kKL.js} +3 -4
- package/dist/{index-C8AIoPAv.js → index-DXRsZeIF.js} +3 -4
- package/dist/{index-DTVwWGhY.js → index-NHuLyXtC.js} +3 -4
- package/dist/{index-C47Ti8Df.js → index-denIhk8V.js} +3 -4
- package/dist/index.js +3 -4
- package/dist/lib/src/components/Panel.d.ts +4 -0
- package/dist/lib/src/components/Panel.d.ts.map +1 -1
- package/dist/lib/src/components/Panel.js +2 -2
- package/dist/lib/src/components/Panel.js.map +1 -1
- package/dist/lib/src/components/PanelLayout.js +1 -1
- package/dist/lib/src/components/PanelLayout.js.map +1 -1
- package/dist/lib/src/components/PanelToolbar.d.ts +4 -0
- package/dist/lib/src/components/PanelToolbar.d.ts.map +1 -1
- package/dist/lib/src/components/PanelToolbar.js +9 -8
- package/dist/lib/src/components/PanelToolbar.js.map +1 -1
- package/dist/lib/src/panels/ImagePanel.d.ts.map +1 -1
- package/dist/lib/src/panels/ImagePanel.js +1 -1
- package/dist/lib/src/panels/ImagePanel.js.map +1 -1
- package/dist/lib/src/panels/PointCloudPanel.d.ts +4 -0
- package/dist/lib/src/panels/PointCloudPanel.d.ts.map +1 -1
- package/dist/lib/src/panels/PointCloudPanel.js +2 -2
- package/dist/lib/src/panels/PointCloudPanel.js.map +1 -1
- package/dist/lib/src/protobuf.generated/EncodedFrame.d.ts.map +1 -1
- package/dist/lib/src/protobuf.generated/EncodedFrame.js +0 -3
- package/dist/lib/src/protobuf.generated/EncodedFrame.js.map +1 -1
- package/dist/lib/src/protobuf.generated/Event.d.ts.map +1 -1
- package/dist/lib/src/protobuf.generated/Event.js +0 -3
- package/dist/lib/src/protobuf.generated/Event.js.map +1 -1
- package/dist/lib/src/protobuf.generated/IMUData.d.ts.map +1 -1
- package/dist/lib/src/protobuf.generated/IMUData.js +0 -3
- package/dist/lib/src/protobuf.generated/IMUData.js.map +1 -1
- package/dist/lib/src/protobuf.generated/ImageAnnotations.d.ts.map +1 -1
- package/dist/lib/src/protobuf.generated/ImageAnnotations.js +0 -3
- package/dist/lib/src/protobuf.generated/ImageAnnotations.js.map +1 -1
- package/dist/lib/src/protobuf.generated/ImgDetections.d.ts.map +1 -1
- package/dist/lib/src/protobuf.generated/ImgDetections.js +0 -3
- package/dist/lib/src/protobuf.generated/ImgDetections.js.map +1 -1
- package/dist/lib/src/protobuf.generated/ImgFrame.d.ts.map +1 -1
- package/dist/lib/src/protobuf.generated/ImgFrame.js +0 -3
- package/dist/lib/src/protobuf.generated/ImgFrame.js.map +1 -1
- package/dist/lib/src/protobuf.generated/PointCloudData.d.ts.map +1 -1
- package/dist/lib/src/protobuf.generated/PointCloudData.js +0 -3
- package/dist/lib/src/protobuf.generated/PointCloudData.js.map +1 -1
- package/dist/lib/src/protobuf.generated/SpatialImgDetections.d.ts.map +1 -1
- package/dist/lib/src/protobuf.generated/SpatialImgDetections.js +0 -3
- package/dist/lib/src/protobuf.generated/SpatialImgDetections.js.map +1 -1
- package/dist/lib/src/protobuf.generated/common.d.ts.map +1 -1
- package/dist/lib/src/protobuf.generated/common.js +0 -3
- package/dist/lib/src/protobuf.generated/common.js.map +1 -1
- package/dist/{protobuf-WAAVwVKb.js → protobuf-Cr0sn6Ua.js} +35 -21
- package/dist/{worker-DgLpu88k.js → worker-B5OJw-Fq.js} +4 -4
- package/dist/{worker-OyuK26A1.js → worker-aVL4LGa3.js} +3 -3
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { V as ExternalTokenizer, O as styleTags, Q as tags, X as LRParser, T as LRLanguage, K as indentNodeProp, M as continuedIndent, a0 as flatIndent, a1 as delimitedIndent, N as foldNodeProp, a2 as foldInside, U as LanguageSupport } from './index-
|
|
1
|
+
import { V as ExternalTokenizer, O as styleTags, Q as tags, X as LRParser, T as LRLanguage, K as indentNodeProp, M as continuedIndent, a0 as flatIndent, a1 as delimitedIndent, N as foldNodeProp, a2 as foldInside, U as LanguageSupport } from './index-BfRV8GM9.js';
|
|
2
2
|
import './tslib.es6-C73eoP_E.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'react-mosaic-component';
|
|
@@ -7,9 +7,9 @@ import '@mui/material';
|
|
|
7
7
|
import './isArrayLikeObject-Bytw9p-q.js';
|
|
8
8
|
import './comlink-DHMAu6X7.js';
|
|
9
9
|
import './utils-Hzt3wxhG.js';
|
|
10
|
-
import './FoxgloveServer-
|
|
10
|
+
import './FoxgloveServer-C39Uooyk.js';
|
|
11
11
|
import 'ms';
|
|
12
|
-
import './foxglove-protocol-
|
|
12
|
+
import './foxglove-protocol-CYoMweAY.js';
|
|
13
13
|
import 'react-dnd';
|
|
14
14
|
import 'react-dnd-html5-backend';
|
|
15
15
|
import './i18next-IYI3-Nuv.js';
|
|
@@ -20,7 +20,6 @@ import 'react/jsx-runtime';
|
|
|
20
20
|
import 'react-dom';
|
|
21
21
|
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
22
22
|
import 'react-syntax-highlighter';
|
|
23
|
-
import 'rehype-sanitize';
|
|
24
23
|
import 'extend';
|
|
25
24
|
import 'react-icons';
|
|
26
25
|
import '@pandacss/dev';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as styleTags, Q as tags, T as LRLanguage, K as indentNodeProp, M as continuedIndent, N as foldNodeProp, a2 as foldInside, a8 as defineCSSCompletionSource, U as LanguageSupport, X as LRParser, V as ExternalTokenizer } from './index-
|
|
1
|
+
import { O as styleTags, Q as tags, T as LRLanguage, K as indentNodeProp, M as continuedIndent, N as foldNodeProp, a2 as foldInside, a8 as defineCSSCompletionSource, U as LanguageSupport, X as LRParser, V as ExternalTokenizer } from './index-BfRV8GM9.js';
|
|
2
2
|
import './tslib.es6-C73eoP_E.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'react-mosaic-component';
|
|
@@ -7,9 +7,9 @@ import '@mui/material';
|
|
|
7
7
|
import './isArrayLikeObject-Bytw9p-q.js';
|
|
8
8
|
import './comlink-DHMAu6X7.js';
|
|
9
9
|
import './utils-Hzt3wxhG.js';
|
|
10
|
-
import './FoxgloveServer-
|
|
10
|
+
import './FoxgloveServer-C39Uooyk.js';
|
|
11
11
|
import 'ms';
|
|
12
|
-
import './foxglove-protocol-
|
|
12
|
+
import './foxglove-protocol-CYoMweAY.js';
|
|
13
13
|
import 'react-dnd';
|
|
14
14
|
import 'react-dnd-html5-backend';
|
|
15
15
|
import './i18next-IYI3-Nuv.js';
|
|
@@ -20,7 +20,6 @@ import 'react/jsx-runtime';
|
|
|
20
20
|
import 'react-dom';
|
|
21
21
|
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
22
22
|
import 'react-syntax-highlighter';
|
|
23
|
-
import 'rehype-sanitize';
|
|
24
23
|
import 'extend';
|
|
25
24
|
import 'react-icons';
|
|
26
25
|
import '@pandacss/dev';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { V as ExternalTokenizer, O as styleTags, Q as tags, X as LRParser, T as LRLanguage, K as indentNodeProp, M as continuedIndent, a1 as delimitedIndent, N as foldNodeProp, a2 as foldInside, ab as html, U as LanguageSupport, ac as parseMixed } from './index-
|
|
1
|
+
import { V as ExternalTokenizer, O as styleTags, Q as tags, X as LRParser, T as LRLanguage, K as indentNodeProp, M as continuedIndent, a1 as delimitedIndent, N as foldNodeProp, a2 as foldInside, ab as html, U as LanguageSupport, ac as parseMixed } from './index-BfRV8GM9.js';
|
|
2
2
|
import './tslib.es6-C73eoP_E.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'react-mosaic-component';
|
|
@@ -7,9 +7,9 @@ import '@mui/material';
|
|
|
7
7
|
import './isArrayLikeObject-Bytw9p-q.js';
|
|
8
8
|
import './comlink-DHMAu6X7.js';
|
|
9
9
|
import './utils-Hzt3wxhG.js';
|
|
10
|
-
import './FoxgloveServer-
|
|
10
|
+
import './FoxgloveServer-C39Uooyk.js';
|
|
11
11
|
import 'ms';
|
|
12
|
-
import './foxglove-protocol-
|
|
12
|
+
import './foxglove-protocol-CYoMweAY.js';
|
|
13
13
|
import 'react-dnd';
|
|
14
14
|
import 'react-dnd-html5-backend';
|
|
15
15
|
import './i18next-IYI3-Nuv.js';
|
|
@@ -20,7 +20,6 @@ import 'react/jsx-runtime';
|
|
|
20
20
|
import 'react-dom';
|
|
21
21
|
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
22
22
|
import 'react-syntax-highlighter';
|
|
23
|
-
import 'rehype-sanitize';
|
|
24
23
|
import 'extend';
|
|
25
24
|
import 'react-icons';
|
|
26
25
|
import '@pandacss/dev';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a3 as ContextTracker, V as ExternalTokenizer, O as styleTags, Q as tags, X as LRParser, T as LRLanguage, K as indentNodeProp, N as foldNodeProp, ad as bracketMatchingHandle, U as LanguageSupport, a9 as EditorView, $ as syntaxTree, aa as EditorSelection } from './index-
|
|
1
|
+
import { a3 as ContextTracker, V as ExternalTokenizer, O as styleTags, Q as tags, X as LRParser, T as LRLanguage, K as indentNodeProp, N as foldNodeProp, ad as bracketMatchingHandle, U as LanguageSupport, a9 as EditorView, $ as syntaxTree, aa as EditorSelection } from './index-BfRV8GM9.js';
|
|
2
2
|
import './tslib.es6-C73eoP_E.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'react-mosaic-component';
|
|
@@ -7,9 +7,9 @@ import '@mui/material';
|
|
|
7
7
|
import './isArrayLikeObject-Bytw9p-q.js';
|
|
8
8
|
import './comlink-DHMAu6X7.js';
|
|
9
9
|
import './utils-Hzt3wxhG.js';
|
|
10
|
-
import './FoxgloveServer-
|
|
10
|
+
import './FoxgloveServer-C39Uooyk.js';
|
|
11
11
|
import 'ms';
|
|
12
|
-
import './foxglove-protocol-
|
|
12
|
+
import './foxglove-protocol-CYoMweAY.js';
|
|
13
13
|
import 'react-dnd';
|
|
14
14
|
import 'react-dnd-html5-backend';
|
|
15
15
|
import './i18next-IYI3-Nuv.js';
|
|
@@ -20,7 +20,6 @@ import 'react/jsx-runtime';
|
|
|
20
20
|
import 'react-dom';
|
|
21
21
|
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
22
22
|
import 'react-syntax-highlighter';
|
|
23
|
-
import 'rehype-sanitize';
|
|
24
23
|
import 'extend';
|
|
25
24
|
import 'react-icons';
|
|
26
25
|
import '@pandacss/dev';
|
|
@@ -3,7 +3,7 @@ import React__default, { useReducer, useRef, useCallback, useLayoutEffect, Compo
|
|
|
3
3
|
import ReactDOM__default from 'react-dom';
|
|
4
4
|
import { S as isSymbol, U as toString, V as keys, W as getSymbols$1, X as stubArray, Y as arrayPush, Z as baseGetAllKeys, g as getTag, $ as getAllKeys, k as baseGet, c as baseIteratee, j as castPath, t as toKey, a0 as arrayMap$1, a1 as baseUniq, b as baseFlatten, a2 as useMustNotChange, a3 as useCurrentLayoutActions, a4 as useCurrentLayoutSelector, r as reportError, A as AppError, L as Logger, u as useGuaranteedContext, a5 as usePanelMosaicId, a6 as useSelectedPanels, a7 as PANEL_TITLE_CONFIG_KEY, a8 as noop$4, o as getPanelTypeFromId, M as useShallowMemo, T as TAB_PANEL_TYPE, J as filterMap, d as dist$3, a9 as useAppConfiguration, aa as useValueChangedDebugLog, ab as useJsonTreeTheme } from './tslib.es6-C73eoP_E.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, h as EmptyState, i as isEmpty, j as PanelContext, k as PanelCatalogContext, l as usePanelStateStore, n as useDefaultPanelTitle, o as useWorkspaceStore, p as WorkspaceStoreSelectors, q as difference, r as usePanelContext, s as useMessagePipeline, v as v4, t as useHoverValue, w as useSetHoverValue, x as useClearHoverValue, y as useMessagePipelineGetter, z as usePanelSettingsTreeUpdate, B as PlayerCapabilities, C as assertNever, D as PlayerPresence, F as isEqual, G as isDesktopApp, H as createTheme, I as propTypesExports, J as DEFAULT_CAMERA_STATE$1 } from './index-
|
|
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, h as EmptyState, i as isEmpty, j as PanelContext, k as PanelCatalogContext, l as usePanelStateStore, n as useDefaultPanelTitle, o as useWorkspaceStore, p as WorkspaceStoreSelectors, q as difference, r as usePanelContext, s as useMessagePipeline, v as v4, t as useHoverValue, w as useSetHoverValue, x as useClearHoverValue, y as useMessagePipelineGetter, z as usePanelSettingsTreeUpdate, B as PlayerCapabilities, C as assertNever, D as PlayerPresence, F as isEqual, G as isDesktopApp, H as createTheme, I as propTypesExports, J as DEFAULT_CAMERA_STATE$1 } from './index-BfRV8GM9.js';
|
|
7
7
|
import { MosaicDragType, MosaicContext, MosaicWindowContext, getOtherBranch, getNodeAtPath } from 'react-mosaic-component';
|
|
8
8
|
import { t as typescript } from './useMessageReducer-jNx5e6JW.js';
|
|
9
9
|
import { g as getDefaultExportFromCjs, c as commonjsGlobal, a as getAugmentedNamespace } from './_commonjsHelpers-E-ZsRS8r.js';
|
|
@@ -20,19 +20,18 @@ import { useDrag, useDrop } from 'react-dnd';
|
|
|
20
20
|
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-CxUhz2gE.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-C39Uooyk.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-DHMAu6X7.js';
|
|
28
28
|
import './utils-Hzt3wxhG.js';
|
|
29
|
-
import './foxglove-protocol-
|
|
29
|
+
import './foxglove-protocol-CYoMweAY.js';
|
|
30
30
|
import 'react-dnd-html5-backend';
|
|
31
31
|
import 'object-assign';
|
|
32
32
|
import 'react/jsx-runtime';
|
|
33
33
|
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
34
34
|
import 'react-syntax-highlighter';
|
|
35
|
-
import 'rehype-sanitize';
|
|
36
35
|
import 'extend';
|
|
37
36
|
import 'react-icons';
|
|
38
37
|
import '@pandacss/dev';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as styleTags, Q as tags, T as LRLanguage, U as LanguageSupport, X as LRParser, a4 as LocalTokenGroup, ab as html, ac as parseMixed, ae as javascriptLanguage } from './index-
|
|
1
|
+
import { O as styleTags, Q as tags, T as LRLanguage, U as LanguageSupport, X as LRParser, a4 as LocalTokenGroup, ab as html, ac as parseMixed, ae as javascriptLanguage } from './index-BfRV8GM9.js';
|
|
2
2
|
import './tslib.es6-C73eoP_E.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'react-mosaic-component';
|
|
@@ -7,9 +7,9 @@ import '@mui/material';
|
|
|
7
7
|
import './isArrayLikeObject-Bytw9p-q.js';
|
|
8
8
|
import './comlink-DHMAu6X7.js';
|
|
9
9
|
import './utils-Hzt3wxhG.js';
|
|
10
|
-
import './FoxgloveServer-
|
|
10
|
+
import './FoxgloveServer-C39Uooyk.js';
|
|
11
11
|
import 'ms';
|
|
12
|
-
import './foxglove-protocol-
|
|
12
|
+
import './foxglove-protocol-CYoMweAY.js';
|
|
13
13
|
import 'react-dnd';
|
|
14
14
|
import 'react-dnd-html5-backend';
|
|
15
15
|
import './i18next-IYI3-Nuv.js';
|
|
@@ -20,7 +20,6 @@ import 'react/jsx-runtime';
|
|
|
20
20
|
import 'react-dom';
|
|
21
21
|
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
22
22
|
import 'react-syntax-highlighter';
|
|
23
|
-
import 'rehype-sanitize';
|
|
24
23
|
import 'extend';
|
|
25
24
|
import 'react-icons';
|
|
26
25
|
import '@pandacss/dev';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ImagePanel } from './index-
|
|
1
|
+
import { ImagePanel } from './index-CFyETGYY.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-dom';
|
|
4
4
|
import './tslib.es6-C73eoP_E.js';
|
|
@@ -7,12 +7,12 @@ import './_commonjsHelpers-E-ZsRS8r.js';
|
|
|
7
7
|
import '@mui/material';
|
|
8
8
|
import './isArrayLikeObject-Bytw9p-q.js';
|
|
9
9
|
import 'zustand';
|
|
10
|
-
import './index-
|
|
10
|
+
import './index-BfRV8GM9.js';
|
|
11
11
|
import './comlink-DHMAu6X7.js';
|
|
12
12
|
import './utils-Hzt3wxhG.js';
|
|
13
|
-
import './FoxgloveServer-
|
|
13
|
+
import './FoxgloveServer-C39Uooyk.js';
|
|
14
14
|
import 'ms';
|
|
15
|
-
import './foxglove-protocol-
|
|
15
|
+
import './foxglove-protocol-CYoMweAY.js';
|
|
16
16
|
import 'react-dnd';
|
|
17
17
|
import 'react-dnd-html5-backend';
|
|
18
18
|
import './i18next-IYI3-Nuv.js';
|
|
@@ -21,7 +21,6 @@ import 'object-assign';
|
|
|
21
21
|
import 'react/jsx-runtime';
|
|
22
22
|
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
23
23
|
import 'react-syntax-highlighter';
|
|
24
|
-
import 'rehype-sanitize';
|
|
25
24
|
import 'extend';
|
|
26
25
|
import 'react-icons';
|
|
27
26
|
import '@pandacss/dev';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { V as ExternalTokenizer, a3 as ContextTracker, O as styleTags, Q as tags, X as LRParser, a4 as LocalTokenGroup, a5 as snippetCompletion, $ as syntaxTree, T as LRLanguage, K as indentNodeProp, M as continuedIndent, a0 as flatIndent, a1 as delimitedIndent, N as foldNodeProp, a2 as foldInside, U as LanguageSupport, Y as ifNotIn, Z as completeFromList, a6 as IterMode, a7 as NodeWeakMap } from './index-
|
|
1
|
+
import { V as ExternalTokenizer, a3 as ContextTracker, O as styleTags, Q as tags, X as LRParser, a4 as LocalTokenGroup, a5 as snippetCompletion, $ as syntaxTree, T as LRLanguage, K as indentNodeProp, M as continuedIndent, a0 as flatIndent, a1 as delimitedIndent, N as foldNodeProp, a2 as foldInside, U as LanguageSupport, Y as ifNotIn, Z as completeFromList, a6 as IterMode, a7 as NodeWeakMap } from './index-BfRV8GM9.js';
|
|
2
2
|
import './tslib.es6-C73eoP_E.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'react-mosaic-component';
|
|
@@ -7,9 +7,9 @@ import '@mui/material';
|
|
|
7
7
|
import './isArrayLikeObject-Bytw9p-q.js';
|
|
8
8
|
import './comlink-DHMAu6X7.js';
|
|
9
9
|
import './utils-Hzt3wxhG.js';
|
|
10
|
-
import './FoxgloveServer-
|
|
10
|
+
import './FoxgloveServer-C39Uooyk.js';
|
|
11
11
|
import 'ms';
|
|
12
|
-
import './foxglove-protocol-
|
|
12
|
+
import './foxglove-protocol-CYoMweAY.js';
|
|
13
13
|
import 'react-dnd';
|
|
14
14
|
import 'react-dnd-html5-backend';
|
|
15
15
|
import './i18next-IYI3-Nuv.js';
|
|
@@ -20,7 +20,6 @@ import 'react/jsx-runtime';
|
|
|
20
20
|
import 'react-dom';
|
|
21
21
|
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
22
22
|
import 'react-syntax-highlighter';
|
|
23
|
-
import 'rehype-sanitize';
|
|
24
23
|
import 'extend';
|
|
25
24
|
import 'react-icons';
|
|
26
25
|
import '@pandacss/dev';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as LRLanguage, K as indentNodeProp, a1 as delimitedIndent, N as foldNodeProp, a2 as foldInside, O as styleTags, Q as tags, U as LanguageSupport, X as LRParser } from './index-
|
|
1
|
+
import { T as LRLanguage, K as indentNodeProp, a1 as delimitedIndent, N as foldNodeProp, a2 as foldInside, O as styleTags, Q as tags, U as LanguageSupport, X as LRParser } from './index-BfRV8GM9.js';
|
|
2
2
|
import './tslib.es6-C73eoP_E.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'react-mosaic-component';
|
|
@@ -7,9 +7,9 @@ import '@mui/material';
|
|
|
7
7
|
import './isArrayLikeObject-Bytw9p-q.js';
|
|
8
8
|
import './comlink-DHMAu6X7.js';
|
|
9
9
|
import './utils-Hzt3wxhG.js';
|
|
10
|
-
import './FoxgloveServer-
|
|
10
|
+
import './FoxgloveServer-C39Uooyk.js';
|
|
11
11
|
import 'ms';
|
|
12
|
-
import './foxglove-protocol-
|
|
12
|
+
import './foxglove-protocol-CYoMweAY.js';
|
|
13
13
|
import 'react-dnd';
|
|
14
14
|
import 'react-dnd-html5-backend';
|
|
15
15
|
import './i18next-IYI3-Nuv.js';
|
|
@@ -20,7 +20,6 @@ import 'react/jsx-runtime';
|
|
|
20
20
|
import 'react-dom';
|
|
21
21
|
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
22
22
|
import 'react-syntax-highlighter';
|
|
23
|
-
import 'rehype-sanitize';
|
|
24
23
|
import 'extend';
|
|
25
24
|
import 'react-icons';
|
|
26
25
|
import '@pandacss/dev';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as styleTags, Q as tags, X as LRParser, T as LRLanguage, K as indentNodeProp, M as continuedIndent, a0 as flatIndent, a1 as delimitedIndent, N as foldNodeProp, a2 as foldInside, U as LanguageSupport } from './index-
|
|
1
|
+
import { O as styleTags, Q as tags, X as LRParser, T as LRLanguage, K as indentNodeProp, M as continuedIndent, a0 as flatIndent, a1 as delimitedIndent, N as foldNodeProp, a2 as foldInside, U as LanguageSupport } from './index-BfRV8GM9.js';
|
|
2
2
|
import './tslib.es6-C73eoP_E.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'react-mosaic-component';
|
|
@@ -7,9 +7,9 @@ import '@mui/material';
|
|
|
7
7
|
import './isArrayLikeObject-Bytw9p-q.js';
|
|
8
8
|
import './comlink-DHMAu6X7.js';
|
|
9
9
|
import './utils-Hzt3wxhG.js';
|
|
10
|
-
import './FoxgloveServer-
|
|
10
|
+
import './FoxgloveServer-C39Uooyk.js';
|
|
11
11
|
import 'ms';
|
|
12
|
-
import './foxglove-protocol-
|
|
12
|
+
import './foxglove-protocol-CYoMweAY.js';
|
|
13
13
|
import 'react-dnd';
|
|
14
14
|
import 'react-dnd-html5-backend';
|
|
15
15
|
import './i18next-IYI3-Nuv.js';
|
|
@@ -20,7 +20,6 @@ import 'react/jsx-runtime';
|
|
|
20
20
|
import 'react-dom';
|
|
21
21
|
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
22
22
|
import 'react-syntax-highlighter';
|
|
23
|
-
import 'rehype-sanitize';
|
|
24
23
|
import 'extend';
|
|
25
24
|
import 'react-icons';
|
|
26
25
|
import '@pandacss/dev';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { V as ExternalTokenizer, O as styleTags, Q as tags, X as LRParser, T as LRLanguage, K as indentNodeProp, M as continuedIndent, N as foldNodeProp, a2 as foldInside, U as LanguageSupport } from './index-
|
|
1
|
+
import { V as ExternalTokenizer, O as styleTags, Q as tags, X as LRParser, T as LRLanguage, K as indentNodeProp, M as continuedIndent, N as foldNodeProp, a2 as foldInside, U as LanguageSupport } from './index-BfRV8GM9.js';
|
|
2
2
|
import './tslib.es6-C73eoP_E.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'react-mosaic-component';
|
|
@@ -7,9 +7,9 @@ import '@mui/material';
|
|
|
7
7
|
import './isArrayLikeObject-Bytw9p-q.js';
|
|
8
8
|
import './comlink-DHMAu6X7.js';
|
|
9
9
|
import './utils-Hzt3wxhG.js';
|
|
10
|
-
import './FoxgloveServer-
|
|
10
|
+
import './FoxgloveServer-C39Uooyk.js';
|
|
11
11
|
import 'ms';
|
|
12
|
-
import './foxglove-protocol-
|
|
12
|
+
import './foxglove-protocol-CYoMweAY.js';
|
|
13
13
|
import 'react-dnd';
|
|
14
14
|
import 'react-dnd-html5-backend';
|
|
15
15
|
import './i18next-IYI3-Nuv.js';
|
|
@@ -20,7 +20,6 @@ import 'react/jsx-runtime';
|
|
|
20
20
|
import 'react-dom';
|
|
21
21
|
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
22
22
|
import 'react-syntax-highlighter';
|
|
23
|
-
import 'rehype-sanitize';
|
|
24
23
|
import 'extend';
|
|
25
24
|
import 'react-icons';
|
|
26
25
|
import '@pandacss/dev';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as styleTags, Q as tags, ae as javascriptLanguage, T as LRLanguage, U as LanguageSupport, X as LRParser, ab as html, ac as parseMixed, V as ExternalTokenizer } from './index-
|
|
1
|
+
import { O as styleTags, Q as tags, ae as javascriptLanguage, T as LRLanguage, U as LanguageSupport, X as LRParser, ab as html, ac as parseMixed, V as ExternalTokenizer } from './index-BfRV8GM9.js';
|
|
2
2
|
import './tslib.es6-C73eoP_E.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'react-mosaic-component';
|
|
@@ -7,9 +7,9 @@ import '@mui/material';
|
|
|
7
7
|
import './isArrayLikeObject-Bytw9p-q.js';
|
|
8
8
|
import './comlink-DHMAu6X7.js';
|
|
9
9
|
import './utils-Hzt3wxhG.js';
|
|
10
|
-
import './FoxgloveServer-
|
|
10
|
+
import './FoxgloveServer-C39Uooyk.js';
|
|
11
11
|
import 'ms';
|
|
12
|
-
import './foxglove-protocol-
|
|
12
|
+
import './foxglove-protocol-CYoMweAY.js';
|
|
13
13
|
import 'react-dnd';
|
|
14
14
|
import 'react-dnd-html5-backend';
|
|
15
15
|
import './i18next-IYI3-Nuv.js';
|
|
@@ -20,7 +20,6 @@ import 'react/jsx-runtime';
|
|
|
20
20
|
import 'react-dom';
|
|
21
21
|
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
22
22
|
import 'react-syntax-highlighter';
|
|
23
|
-
import 'rehype-sanitize';
|
|
24
23
|
import 'extend';
|
|
25
24
|
import 'react-icons';
|
|
26
25
|
import '@pandacss/dev';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ak as EventMetricsManager, ai as ImagePanel, ah as PanelLayout, aj as PointCloudPanel, al as ThroughputMetricsManager, af as VisualizerConnection, ag as VisualizerContext } from './index-
|
|
1
|
+
export { ak as EventMetricsManager, ai as ImagePanel, ah as PanelLayout, aj as PointCloudPanel, al as ThroughputMetricsManager, af as VisualizerConnection, ag as VisualizerContext } from './index-BfRV8GM9.js';
|
|
2
2
|
import './tslib.es6-C73eoP_E.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'react-mosaic-component';
|
|
@@ -7,9 +7,9 @@ import '@mui/material';
|
|
|
7
7
|
import './isArrayLikeObject-Bytw9p-q.js';
|
|
8
8
|
import './comlink-DHMAu6X7.js';
|
|
9
9
|
import './utils-Hzt3wxhG.js';
|
|
10
|
-
import './FoxgloveServer-
|
|
10
|
+
import './FoxgloveServer-C39Uooyk.js';
|
|
11
11
|
import 'ms';
|
|
12
|
-
import './foxglove-protocol-
|
|
12
|
+
import './foxglove-protocol-CYoMweAY.js';
|
|
13
13
|
import 'react-dnd';
|
|
14
14
|
import 'react-dnd-html5-backend';
|
|
15
15
|
import './i18next-IYI3-Nuv.js';
|
|
@@ -20,7 +20,6 @@ import 'react/jsx-runtime';
|
|
|
20
20
|
import 'react-dom';
|
|
21
21
|
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
22
22
|
import 'react-syntax-highlighter';
|
|
23
|
-
import 'rehype-sanitize';
|
|
24
23
|
import 'extend';
|
|
25
24
|
import 'react-icons';
|
|
26
25
|
import '@pandacss/dev';
|
|
@@ -20,6 +20,10 @@ export type PanelProps = React.PropsWithChildren<{
|
|
|
20
20
|
toggleTopic?: (topic: string) => void;
|
|
21
21
|
toggleFullscreen?: (panelRef: MutableRefObject<HTMLElement>) => void;
|
|
22
22
|
hideToolbar?: boolean;
|
|
23
|
+
canMoveUp?: boolean;
|
|
24
|
+
moveUp?: () => void;
|
|
25
|
+
canMoveDown?: boolean;
|
|
26
|
+
moveDown?: () => void;
|
|
23
27
|
}>;
|
|
24
28
|
export type PanelDetections = Record<string, boolean>;
|
|
25
29
|
export type AllDetections = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Panel.d.ts","sourceRoot":"","sources":["../../../../src/components/Panel.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAoB,MAAM,OAAO,CAAC;AAO3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,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,EAA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,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;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,gBAAgB,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACrE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,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;AAaF,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAkFtC,CAAC"}
|
|
@@ -17,7 +17,7 @@ const rawToAnnotations = (rawAnnotations, kind, current) => rawAnnotations.map((
|
|
|
17
17
|
extra: kind === "extra",
|
|
18
18
|
enabled: current.find(({ name }) => name === annotationTopic)?.enabled ?? kind === "main",
|
|
19
19
|
}));
|
|
20
|
-
export const Panel = ({ children, kind, topic, disableAnnotations = false, annotationTopics = [], extraAnnotationTopics = [], targetFps, renderedFps, annotationsFps, renderDelay, toggleTopic, triggerToast, hideToolbar = false, toggleFullscreen, }) => {
|
|
20
|
+
export const Panel = ({ children, kind, topic, disableAnnotations = false, annotationTopics = [], extraAnnotationTopics = [], targetFps, renderedFps, annotationsFps, renderDelay, toggleTopic, triggerToast, hideToolbar = false, toggleFullscreen, canMoveUp, moveUp, canMoveDown, moveDown, }) => {
|
|
21
21
|
const [detections, setDetections] = React.useState([]);
|
|
22
22
|
const sectionRef = useRef(null);
|
|
23
23
|
React.useEffect(() => {
|
|
@@ -35,6 +35,6 @@ export const Panel = ({ children, kind, topic, disableAnnotations = false, annot
|
|
|
35
35
|
}
|
|
36
36
|
toggleFullscreen(sectionRef);
|
|
37
37
|
};
|
|
38
|
-
return (_jsx(RemountOnValueChange, { value: "internal-player", children: _jsx(ErrorBoundary, { children: _jsx(DetectionContext.Provider, { value: { detections }, children: _jsxs("section", { className: "flex flex-col grow border border-solid border-[#d3d3d3d9] overflow-hidden rounded-lg", ref: sectionRef, children: [!hideToolbar && (_jsx(PanelToolbar, { kind: kind, topic: topic, setDetections: setDetections, disableAnnotations: disableAnnotations, targetFps: targetFps, renderedFps: renderedFps, annotationsFps: annotationsFps, renderDelay: renderDelay, toggleTopic: toggleTopic, toggleFullscreen: toggleFullscreenForThisPanel, triggerToast: triggerToast })), _jsx(Suspense, { fallback: _jsx(EmptyState, { children: _jsx("div", { children: "Loading..." }) }), children: _jsx(RemountOnValueChange, { value: detections, children: children }) })] }) }) }) }));
|
|
38
|
+
return (_jsx(RemountOnValueChange, { value: "internal-player", children: _jsx(ErrorBoundary, { children: _jsx(DetectionContext.Provider, { value: { detections }, children: _jsxs("section", { className: "flex flex-col grow border border-solid border-[#d3d3d3d9] overflow-hidden rounded-lg", ref: sectionRef, children: [!hideToolbar && (_jsx(PanelToolbar, { kind: kind, topic: topic, setDetections: setDetections, disableAnnotations: disableAnnotations, targetFps: targetFps, renderedFps: renderedFps, annotationsFps: annotationsFps, renderDelay: renderDelay, toggleTopic: toggleTopic, toggleFullscreen: toggleFullscreenForThisPanel, triggerToast: triggerToast, canMoveUp: canMoveUp, moveUp: moveUp, canMoveDown: canMoveDown, moveDown: moveDown })), _jsx(Suspense, { fallback: _jsx(EmptyState, { children: _jsx("div", { children: "Loading..." }) }), children: _jsx(RemountOnValueChange, { value: detections, children: children }) })] }) }) }) }));
|
|
39
39
|
};
|
|
40
40
|
//# sourceMappingURL=Panel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Panel.js","sourceRoot":"","sources":["../../../../src/components/Panel.tsx"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,oEAAoE;AACpE,0DAA0D;AAE1D,OAAO,EAAoB,QAAQ,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE3D,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;
|
|
1
|
+
{"version":3,"file":"Panel.js","sourceRoot":"","sources":["../../../../src/components/Panel.tsx"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,oEAAoE;AACpE,0DAA0D;AAE1D,OAAO,EAAoB,QAAQ,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE3D,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;AAkC5B,MAAM,gBAAgB,GAAG,KAAK,CAAC,aAAa,CAAgB,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,CAAC;AAEhF,MAAM,CAAC,MAAM,a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
|
|
13
13
|
}
|
|
14
14
|
}, []);
|
|
15
|
-
return (_jsx(Stack, { direction: "row",
|
|
15
|
+
return (_jsx(Stack, { direction: "row", gap: 1, fullWidth: true, fullHeight: true, children: children }));
|
|
16
16
|
};
|
|
17
17
|
//# sourceMappingURL=PanelLayout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PanelLayout.js","sourceRoot":"","sources":["../../../../src/components/PanelLayout.tsx"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,oEAAoE;AACpE,0DAA0D;AAE1D,OAAO,KAAK,MAAM,2CAA2C,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAE/D,MAAM,CAAC,MAAM,WAAW,GAAsC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC7E,MAAM,kBAAkB,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAE/C,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,IAAI,CAAC,kBAAkB,CAAC,OAAO,EAAE,CAAC;YAChC,kBAAkB,CAAC,OAAO,GAAG,KAAK,CAAC;YACnC,KAAK,QAAQ,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAC;QACxC,CAAC;IACH,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACL,KAAC,KAAK,IAAC,SAAS,EAAC,KAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"PanelLayout.js","sourceRoot":"","sources":["../../../../src/components/PanelLayout.tsx"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,oEAAoE;AACpE,0DAA0D;AAE1D,OAAO,KAAK,MAAM,2CAA2C,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAE/D,MAAM,CAAC,MAAM,WAAW,GAAsC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC7E,MAAM,kBAAkB,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAE/C,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,IAAI,CAAC,kBAAkB,CAAC,OAAO,EAAE,CAAC;YAChC,kBAAkB,CAAC,OAAO,GAAG,KAAK,CAAC;YACnC,KAAK,QAAQ,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAC;QACxC,CAAC;IACH,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACL,KAAC,KAAK,IAAC,SAAS,EAAC,KAAK,EAAC,GAAG,EAAE,CAAC,EAAE,SAAS,QAAC,UAAU,kBAChD,QAAQ,GACH,CACT,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -14,6 +14,10 @@ export type PanelToolbarProps = {
|
|
|
14
14
|
triggerToast?: () => void;
|
|
15
15
|
toggleTopic?: (topic: string) => void;
|
|
16
16
|
toggleFullscreen?: () => void;
|
|
17
|
+
canMoveUp?: boolean;
|
|
18
|
+
moveUp?: () => void;
|
|
19
|
+
canMoveDown?: boolean;
|
|
20
|
+
moveDown?: () => void;
|
|
17
21
|
};
|
|
18
22
|
export declare const PanelToolbar: React.FC<PanelToolbarProps>;
|
|
19
23
|
//# sourceMappingURL=PanelToolbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PanelToolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/PanelToolbar.tsx"],"names":[],"mappings":"AAGA,OAAO,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"PanelToolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/PanelToolbar.tsx"],"names":[],"mappings":"AAGA,OAAO,eAAe,CAAC;AAyBvB,OAAO,EAAE,KAAK,UAAU,EAAiB,MAAM,YAAY,CAAC;AAI5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,sCAAsC,CAAC;AA+J9C,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;IACrE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAoOpD,CAAC"}
|
|
@@ -4,6 +4,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
4
4
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/
|
|
5
5
|
import "../output.css";
|
|
6
6
|
import { ArrowDownIcon, ArrowUpIcon, Button, CrossIcon, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, Flex, FullscreenIcon, HelpIcon, Icon, Label, NormalText, SubHeader, Tooltip, } from "@luxonis/common-fe-components";
|
|
7
|
+
import { FaCaretUp, FaCaretDown } from "react-icons/fa";
|
|
7
8
|
import { CiFilter } from "react-icons/ci";
|
|
8
9
|
import { ImCheckboxChecked, ImCheckboxUnchecked } from "react-icons/im";
|
|
9
10
|
import { RiNumbersFill } from "react-icons/ri";
|
|
@@ -23,12 +24,10 @@ function PanelToolbarMetrics({ renderedFps, annotationsFps, targetFps, metrics,
|
|
|
23
24
|
setVariant("full");
|
|
24
25
|
}
|
|
25
26
|
}, [descriptionRef.current?.offsetWidth]);
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
!Number.isFinite(annotationsFps)
|
|
27
|
+
const parentContainer = descriptionRef.current ?? document.body;
|
|
28
|
+
return (_jsx(Flex, { direction: "row", gap: "sm", align: "start", justify: "end", ref: descriptionRef, width: "full", children: variant === "compact" ? (_jsx(Tooltip, { parentContainer: parentContainer, content: _jsxs("ul", { children: [_jsxs("li", { children: [_jsx("b", { className: "font-semibold", children: " Camera:" }), " ", !targetFps || targetFps === 0 ? "-" : targetFps, "\u00A0FPS"] }), _jsxs("li", { children: [_jsx("b", { className: "font-semibold", children: "Network: " }), !metrics || metrics?.incomingMessagesFps === 0 ? "-" : metrics.incomingMessagesFps, "\u00A0FPS"] }), _jsxs("li", { children: [_jsx("b", { className: "font-semibold", children: "Decoding: " }), !metrics || metrics?.decodedMessagesFps === 0 ? "-" : metrics.decodedMessagesFps, "\u00A0FPS"] }), _jsxs("li", { children: [_jsx("b", { className: "font-semibold", children: "Rendering:" }), " ", !renderedFps || renderedFps === 0 ? "-" : renderedFps, "\u00A0FPS"] }), _jsxs("li", { children: [_jsx("b", { className: "font-semibold", children: "Annotations: " }), !annotationsFps || annotationsFps === 0 || !Number.isFinite(annotationsFps)
|
|
29
29
|
? "-"
|
|
30
|
-
: annotationsFps, "
|
|
31
|
-
!Number.isFinite(annotationsFps) ? "-" : annotationsFps} FPS` })), metrics?.messageThroughput !== undefined && (_jsx(Label, { text: `Throughput: ${metrics.messageThroughput === 0 ? "-" : metrics.messageThroughput} Mbps` })), eventLoopDelay !== undefined && (_jsx(Label, { text: `Frontend Delay: ${Math.ceil(eventLoopDelay)} ms` }))] })) }));
|
|
30
|
+
: annotationsFps, "\u00A0FPS"] }), _jsxs("li", { children: [_jsx("b", { className: "font-semibold", children: "Throughput: " }), !metrics || metrics?.messageThroughput === 0 ? "-" : metrics.messageThroughput, "\u00A0Mbps"] }), _jsxs("li", { children: [_jsx("b", { className: "font-semibold", children: "Frontend Delay: " }), eventLoopDelay.toFixed(2), "\u00A0ms"] })] }), direction: "bottom", className: "ml-auto", children: _jsx(Button, { icon: RiNumbersFill, variant: "outline", colorVariant: "white", size: "sm", className: "text-gray-700" }) })) : (_jsxs(_Fragment, { children: [targetFps !== undefined && (_jsx(Label, { text: `Camera: ${targetFps === 0 ? "-" : targetFps}\u00A0FPS` })), metrics?.incomingMessagesFps !== undefined && (_jsx(Label, { text: `Network: ${metrics.incomingMessagesFps === 0 ? "-" : metrics.incomingMessagesFps}\u00A0FPS` })), metrics?.decodedMessagesFps !== undefined && (_jsx(Label, { text: `Decoding: ${metrics.decodedMessagesFps === 0 ? "-" : metrics.decodedMessagesFps}\u00A0FPS` })), renderedFps !== undefined && (_jsx(Label, { text: `Rendering: ${renderedFps === 0 ? "-" : renderedFps}\u00A0FPS` })), annotationsFps !== undefined && (_jsx(Label, { text: `Annotations: ${annotationsFps === 0 || !Number.isFinite(annotationsFps) ? "-" : annotationsFps}\u00A0FPS` })), metrics?.messageThroughput !== undefined && (_jsx(Label, { text: `Throughput: ${metrics.messageThroughput === 0 ? "-" : metrics.messageThroughput}\u00A0Mbps` })), eventLoopDelay !== undefined && (_jsx(Label, { text: `Frontend Delay: ${Math.ceil(eventLoopDelay)}\u00A0ms` }))] })) }));
|
|
32
31
|
}
|
|
33
32
|
const PanelAnnotationButton = ({ topic, onClick }) => {
|
|
34
33
|
const handleClick = React.useCallback((event) => {
|
|
@@ -37,7 +36,7 @@ const PanelAnnotationButton = ({ topic, onClick }) => {
|
|
|
37
36
|
}, [onClick]);
|
|
38
37
|
return (_jsx(DropdownMenuItem, { onClick: handleClick, children: _jsxs(Flex, { align: "center", gap: "sm", children: [_jsx(Icon, { color: "active", icon: topic.enabled ? ImCheckboxChecked : ImCheckboxUnchecked }), _jsx(NormalText, { text: topic.name })] }) }));
|
|
39
38
|
};
|
|
40
|
-
export const PanelToolbar = ({ topic, kind, setDetections, disableAnnotations = false, targetFps, triggerToast, renderedFps, annotationsFps, toggleTopic, toggleFullscreen, }) => {
|
|
39
|
+
export const PanelToolbar = ({ topic, kind, setDetections, disableAnnotations = false, targetFps, triggerToast, renderedFps, annotationsFps, toggleTopic, toggleFullscreen, canMoveUp, moveUp, canMoveDown, moveDown, }) => {
|
|
41
40
|
const [metrics, setMetrics] = React.useState();
|
|
42
41
|
const { detections } = useDetections();
|
|
43
42
|
const connections = useConnections();
|
|
@@ -82,11 +81,13 @@ export const PanelToolbar = ({ topic, kind, setDetections, disableAnnotations =
|
|
|
82
81
|
const makeDetection = React.useCallback((detection, { extra }) => (extra ? detection.extra && !detection.enabled : !detection.extra || detection.enabled) && (_jsx(PanelAnnotationButton, { topic: detection, onClick: () => {
|
|
83
82
|
onToggleTopic(detection.name);
|
|
84
83
|
} }, detection.name)), [onToggleTopic]);
|
|
85
|
-
|
|
84
|
+
const wrapperRef = React.useRef(null);
|
|
85
|
+
const parentContainer = wrapperRef.current ?? document.body;
|
|
86
|
+
return (_jsx(Flex, { direction: "row", gap: "sm", align: "center", justify: "space-between", className: "px-4 bg-white", ref: wrapperRef, children: _jsxs(Flex, { direction: "row", gap: "xs", align: "center", justify: "start", width: "full", paddingY: "xs", children: [_jsxs(Flex, { width: "fit", gap: "xxs", className: "flex-col xl:flex-row items-start xl:items-end", children: [_jsx(SubHeader, { text: name, className: "whitespace-nowrap text-[20px]/[20px]" }), resolution && (_jsx(Label, { text: `(${resolution})`, className: "text-[14px]/[14px] xl:pb-[2px]" }))] }), _jsx(PanelToolbarMetrics, { renderedFps: renderedFps, annotationsFps: annotationsFps, targetFps: targetFps, metrics: metrics }), _jsxs(Flex, { direction: "row", gap: "xs", align: "center", justify: "start", marginLeft: "auto", width: "fit", children: [!disableAnnotations && kind === "image" && (_jsxs(DropdownMenu, { children: [_jsx(Tooltip, { content: "Annotations", parentContainer: parentContainer, children: _jsx(DropdownMenuTrigger, { asChild: true, disabled: detections.length === 0, children: _jsx(Button, { variant: "outline", colorVariant: "white", size: "sm", icon: CiFilter, disabled: detections.length === 0 }) }) }), _jsxs(DropdownMenuContent, { parentContainer: parentContainer, children: [detections.map((detection) => makeDetection(detection, { extra: false })), hasExtra && (_jsx(Button, { width: "full", paddingY: "xs", variant: "ghost", "aria-expanded": extraVisible ? "true" : undefined, onClick: () => {
|
|
86
87
|
setExtraVisible((current) => !current);
|
|
87
88
|
}, icon: extraVisible ? ArrowUpIcon : ArrowDownIcon, style: {
|
|
88
89
|
borderRadius: 4,
|
|
89
90
|
}, children: extraVisible ? "Less" : "More" })), extraVisible &&
|
|
90
|
-
detections.map((detection) => makeDetection(detection, { extra: true }))] })] })), kind === "pointCloud" && (_jsx(Flex, { children: _jsx(Tooltip, { side: "bottom", content: _jsxs(_Fragment, { children: [_jsx(Label, { text: "To move camera:" }), _jsxs("ul", { children: [_jsxs("li", { children: [_jsx("b", { className: "font-semibold", children: "Scroll:" }), " Zoom In and Out"] }), _jsxs("li", { children: [_jsx("b", { className: "font-semibold", children: "Left-click + Drag:" }), " Rotate Camera"] }), _jsxs("li", { children: [_jsx("b", { className: "font-semibold", children: "Right-click + Drag:" }), " Move Camera (X and Y axes)"] })] })] }), children: _jsx(Button, { icon: HelpIcon, variant: "outline", colorVariant: "white", size: "sm", className: "text-gray-700" }) }) })), toggleFullscreen && (_jsx(Tooltip, { content: "Fullscreen", children: _jsx(Button, { icon: FullscreenIcon, variant: "outline", colorVariant: "white", size: "sm", onClick: toggleFullscreen }) })), _jsx(Tooltip, { content: "Close Stream", children: _jsx(Button, { icon: CrossIcon, variant: "outline", colorVariant: "white", size: "sm", onClick: () => toggleTopic?.(name) }) })] })] }) }));
|
|
91
|
+
detections.map((detection) => makeDetection(detection, { extra: true }))] })] })), kind === "pointCloud" && (_jsx(Flex, { children: _jsx(Tooltip, { parentContainer: parentContainer, side: "bottom", content: _jsxs(_Fragment, { children: [_jsx(Label, { text: "To move camera:" }), _jsxs("ul", { children: [_jsxs("li", { children: [_jsx("b", { className: "font-semibold", children: "Scroll:" }), " Zoom In and Out"] }), _jsxs("li", { children: [_jsx("b", { className: "font-semibold", children: "Left-click + Drag:" }), " Rotate Camera"] }), _jsxs("li", { children: [_jsx("b", { className: "font-semibold", children: "Right-click + Drag:" }), " Move Camera (X and Y axes)"] })] })] }), children: _jsx(Button, { icon: HelpIcon, variant: "outline", colorVariant: "white", size: "sm", className: "text-gray-700" }) }) })), _jsx(Tooltip, { content: "Move Panel Up", parentContainer: parentContainer, children: _jsx(Button, { icon: FaCaretUp, variant: "outline", colorVariant: "white", size: "sm", disabled: !canMoveUp, onClick: moveUp }) }), _jsx(Tooltip, { content: "Move Panel Down", parentContainer: parentContainer, children: _jsx(Button, { icon: FaCaretDown, variant: "outline", colorVariant: "white", size: "sm", disabled: !canMoveDown, onClick: moveDown }) }), toggleFullscreen && (_jsx(Tooltip, { content: "Fullscreen", parentContainer: parentContainer, children: _jsx(Button, { icon: FullscreenIcon, variant: "outline", colorVariant: "white", size: "sm", onClick: toggleFullscreen }) })), _jsx(Tooltip, { content: "Close Stream", parentContainer: parentContainer, children: _jsx(Button, { icon: CrossIcon, variant: "outline", colorVariant: "white", size: "sm", onClick: () => toggleTopic?.(name) }) })] })] }) }));
|
|
91
92
|
};
|
|
92
93
|
//# sourceMappingURL=PanelToolbar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PanelToolbar.js","sourceRoot":"","sources":["../../../../src/components/PanelToolbar.tsx"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,oEAAoE;AACpE,0DAA0D;AAC1D,OAAO,eAAe,CAAC;AACvB,OAAO,EACL,aAAa,EACb,WAAW,EACX,MAAM,EACN,SAAS,EACT,YAAY,EACZ,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,IAAI,EACJ,cAAc,EACd,QAAQ,EACR,IAAI,EACJ,KAA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anel.d.ts","sourceRoot":"","sources":["../../../../src/panels/ImagePanel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAS,KAAK,UAAU,EAAiB,MAAM,wBAAwB,CAAC;AAQ/E,KAAK,mBAAmB,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,kBAAkB,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,2BAA2B,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACxD,CAAC;AAyBF,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC,GAAG,mBAAmB,GAAG;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC;AAEpL,eAAO,MAAM,UAAU,6CAyDrB,CAAC"}
|
|
@@ -50,6 +50,6 @@ export const ImagePanel = React.memo(function ImagePanel(props) {
|
|
|
50
50
|
const handleAnnotationsFpsUpdate = React.useCallback((fps) => {
|
|
51
51
|
setAnnotationsFps(fps);
|
|
52
52
|
}, []);
|
|
53
|
-
return (_jsx(Panel, { kind: "image", ...props, toggleTopic: props.toggleTopic, toggleFullscreen: props.toggleFullscreen, renderedFps: renderedFps, annotationsFps: annotationsFps, renderDelay: averageFrameDelay, children: _jsx(ImagePanelBody, { topic: props.topic, frameRenderedEvent: handleFrameRendered, annotationsFpsUpdateHandler: handleAnnotationsFpsUpdate }) }));
|
|
53
|
+
return (_jsx(Panel, { kind: "image", ...props, toggleTopic: props.toggleTopic, toggleFullscreen: props.toggleFullscreen, renderedFps: renderedFps, annotationsFps: annotationsFps, renderDelay: averageFrameDelay, canMoveUp: props.canMoveUp, moveUp: props.moveUp, canMoveDown: props.canMoveDown, moveDown: props.moveDown, children: _jsx(ImagePanelBody, { topic: props.topic, frameRenderedEvent: handleFrameRendered, annotationsFpsUpdateHandler: handleAnnotationsFpsUpdate }) }));
|
|
54
54
|
});
|
|
55
55
|
//# sourceMappingURL=ImagePanel.js.map
|