@luxonis/visualizer-protobuf 2.0.0 → 2.0.2

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.
Files changed (93) hide show
  1. package/dist/apps/depthai-visualizer/src/connection/adapter.d.ts +3 -2
  2. package/dist/apps/depthai-visualizer/src/connection/adapter.d.ts.map +1 -1
  3. package/dist/apps/depthai-visualizer/src/connection/adapter.js.map +1 -1
  4. package/dist/apps/depthai-visualizer/src/connection/communicator.d.ts +1 -1
  5. package/dist/apps/depthai-visualizer/src/connection/communicator.d.ts.map +1 -1
  6. package/dist/apps/depthai-visualizer/src/connection/communicator.js +1 -1
  7. package/dist/apps/depthai-visualizer/src/connection/communicator.js.map +1 -1
  8. package/dist/apps/depthai-visualizer/src/connection/connection.d.ts +3 -1
  9. package/dist/apps/depthai-visualizer/src/connection/connection.d.ts.map +1 -1
  10. package/dist/apps/depthai-visualizer/src/connection/connection.js +3 -2
  11. package/dist/apps/depthai-visualizer/src/connection/connection.js.map +1 -1
  12. package/dist/apps/depthai-visualizer/src/connection/webrtc/bridge.d.ts +8 -0
  13. package/dist/apps/depthai-visualizer/src/connection/webrtc/bridge.d.ts.map +1 -0
  14. package/dist/apps/depthai-visualizer/src/connection/webrtc/bridge.js +137 -0
  15. package/dist/apps/depthai-visualizer/src/connection/webrtc/bridge.js.map +1 -0
  16. package/dist/apps/depthai-visualizer/src/connection/webrtc/worker-utils.d.ts +43 -26
  17. package/dist/apps/depthai-visualizer/src/connection/webrtc/worker-utils.d.ts.map +1 -1
  18. package/dist/apps/depthai-visualizer/src/connection/webrtc/worker-utils.js +59 -92
  19. package/dist/apps/depthai-visualizer/src/connection/webrtc/worker-utils.js.map +1 -1
  20. package/dist/apps/depthai-visualizer/src/connection/webrtc/worker.js +13 -2
  21. package/dist/apps/depthai-visualizer/src/connection/webrtc/worker.js.map +1 -1
  22. package/dist/apps/depthai-visualizer/src/connection/ws/worker-utils.js +1 -1
  23. package/dist/apps/depthai-visualizer/src/connection/ws/worker-utils.js.map +1 -1
  24. package/dist/apps/depthai-visualizer/src/index.d.ts +0 -1
  25. package/dist/apps/depthai-visualizer/src/index.d.ts.map +1 -1
  26. package/dist/apps/depthai-visualizer/src/index.js +0 -1
  27. package/dist/apps/depthai-visualizer/src/index.js.map +1 -1
  28. package/dist/apps/depthai-visualizer/src/messaging/deserialization/detections/custom.d.ts.map +1 -1
  29. package/dist/apps/depthai-visualizer/src/messaging/deserialization/detections/custom.js +37 -17
  30. package/dist/apps/depthai-visualizer/src/messaging/deserialization/detections/custom.js.map +1 -1
  31. package/dist/apps/depthai-visualizer/src/protobuf.generated/EncodedFrame.d.ts.map +1 -1
  32. package/dist/apps/depthai-visualizer/src/protobuf.generated/EncodedFrame.js +0 -3
  33. package/dist/apps/depthai-visualizer/src/protobuf.generated/EncodedFrame.js.map +1 -1
  34. package/dist/apps/depthai-visualizer/src/protobuf.generated/ImageAnnotations.d.ts.map +1 -1
  35. package/dist/apps/depthai-visualizer/src/protobuf.generated/ImageAnnotations.js +0 -3
  36. package/dist/apps/depthai-visualizer/src/protobuf.generated/ImageAnnotations.js.map +1 -1
  37. package/dist/apps/depthai-visualizer/src/protobuf.generated/ImgDetections.d.ts.map +1 -1
  38. package/dist/apps/depthai-visualizer/src/protobuf.generated/ImgDetections.js +0 -3
  39. package/dist/apps/depthai-visualizer/src/protobuf.generated/ImgDetections.js.map +1 -1
  40. package/dist/apps/depthai-visualizer/src/protobuf.generated/ImgFrame.d.ts.map +1 -1
  41. package/dist/apps/depthai-visualizer/src/protobuf.generated/ImgFrame.js +0 -3
  42. package/dist/apps/depthai-visualizer/src/protobuf.generated/ImgFrame.js.map +1 -1
  43. package/dist/apps/depthai-visualizer/src/protobuf.generated/PointCloudData.d.ts.map +1 -1
  44. package/dist/apps/depthai-visualizer/src/protobuf.generated/PointCloudData.js +0 -3
  45. package/dist/apps/depthai-visualizer/src/protobuf.generated/PointCloudData.js.map +1 -1
  46. package/dist/apps/depthai-visualizer/src/protobuf.generated/SpatialImgDetections.d.ts.map +1 -1
  47. package/dist/apps/depthai-visualizer/src/protobuf.generated/SpatialImgDetections.js +0 -3
  48. package/dist/apps/depthai-visualizer/src/protobuf.generated/SpatialImgDetections.js.map +1 -1
  49. package/dist/apps/depthai-visualizer/src/protobuf.generated/common.d.ts.map +1 -1
  50. package/dist/apps/depthai-visualizer/src/protobuf.generated/common.js +0 -3
  51. package/dist/apps/depthai-visualizer/src/protobuf.generated/common.js.map +1 -1
  52. package/dist/apps/depthai-visualizer/src/utils/artificial-worker.d.ts +6 -0
  53. package/dist/apps/depthai-visualizer/src/utils/artificial-worker.d.ts.map +1 -0
  54. package/dist/apps/depthai-visualizer/src/utils/artificial-worker.js +16 -0
  55. package/dist/apps/depthai-visualizer/src/utils/artificial-worker.js.map +1 -0
  56. package/dist/apps/depthai-visualizer/src/utils/encoding.d.ts.map +1 -1
  57. package/dist/{clike-BjlaHgsH.js → clike-CS-poxoD.js} +2 -0
  58. package/dist/{communicator-D_EeiIbd.js → communicator-ZAqNuwq6.js} +37 -23
  59. package/dist/{groovy-BD9p_7sW.js → groovy-ioGz2WSV.js} +2 -4
  60. package/dist/{index-DpXY8ing.js → index-9D6nsmX0.js} +4 -4
  61. package/dist/{index-DQCAxiet.js → index-B68UDyAv.js} +12509 -5359
  62. package/dist/{index-CnbrHWCd.js → index-B7v9Ptl2.js} +4 -4
  63. package/dist/{index-DudYiuIt.js → index-BHmiJ5Qk.js} +4 -4
  64. package/dist/{index-BeQsiPfT.js → index-By6lF-Xz.js} +4 -4
  65. package/dist/{index-QNisWGZ4.js → index-ByP7YJPY.js} +4 -4
  66. package/dist/{index-Al0pDnqr.js → index-C04gVVoP.js} +4 -4
  67. package/dist/{index-FOw7-sDA.js → index-CLESgVaD.js} +4 -4
  68. package/dist/{index-BtdqjdG0.js → index-CX_Do7kl.js} +4 -4
  69. package/dist/{index-doJtQKmP.js → index-CXwbrQKL.js} +4 -4
  70. package/dist/{index-D-Et9RVh.js → index-CsJJiZos.js} +4 -4
  71. package/dist/{index-M-zdB4A1.js → index-CsyZMo6w.js} +4 -4
  72. package/dist/{index-r1jTO4Ay.js → index-D502DL2z.js} +4 -4
  73. package/dist/{index-BfF6NM_p.js → index-Ddm491YR.js} +4 -4
  74. package/dist/{index-By94udNp.js → index-SWsY2eOm.js} +7 -7
  75. package/dist/{index-BOSrUvKZ.js → index-T_ckFaRN.js} +4 -4
  76. package/dist/{index-D0vwBTE3.js → index-WSNQlHZC.js} +4 -4
  77. package/dist/{index-IoSJKto7.js → index-qrTNSyOQ.js} +5 -5
  78. package/dist/{index-CgoOLCnB.js → index-uD6dIRaN.js} +15 -11
  79. package/dist/index.js +4 -4
  80. package/dist/packages/studio-base/src/panels/ThreeDeeRender/renderables/ImageMode/annotations/RenderableLineAnnotation.js +3 -3
  81. package/dist/packages/studio-base/src/panels/ThreeDeeRender/renderables/ImageMode/annotations/RenderableLineAnnotation.js.map +1 -1
  82. package/dist/packages/studio-base/src/panels/ThreeDeeRender/renderables/ImageMode/annotations/normalizeAnnotations.d.ts +8 -0
  83. package/dist/packages/studio-base/src/panels/ThreeDeeRender/renderables/ImageMode/annotations/normalizeAnnotations.d.ts.map +1 -1
  84. package/dist/packages/studio-base/src/panels/ThreeDeeRender/renderables/ImageMode/annotations/normalizeAnnotations.js +2 -0
  85. package/dist/packages/studio-base/src/panels/ThreeDeeRender/renderables/ImageMode/annotations/normalizeAnnotations.js.map +1 -1
  86. package/dist/packages/studio-base/src/panels/ThreeDeeRender/renderables/ImageMode/annotations/types.d.ts +2 -0
  87. package/dist/packages/studio-base/src/panels/ThreeDeeRender/renderables/ImageMode/annotations/types.d.ts.map +1 -1
  88. package/dist/worker-ByVSTHSI.js +102 -0
  89. package/dist/{worker-1z9jlpUn.js → worker-DlZ2xp8p.js} +2 -2
  90. package/dist/{worker-utils-DfViKOHw.js → worker-utils-BNThsbdN.js} +2 -2
  91. package/package.json +3 -3
  92. package/dist/worker-DNYPTnyn.js +0 -9
  93. package/dist/worker-utils-BbyBpOVt.js +0 -453
@@ -1466,9 +1466,11 @@ Long.fromBytesBE = function fromBytesBE(bytes, unsigned) {
1466
1466
  );
1467
1467
  };
1468
1468
 
1469
- // This Source Code Form is subject to the terms of the Mozilla Public
1470
- // License, v2.0. If a copy of the MPL was not distributed with this
1471
- // file, You can obtain one at http://mozilla.org/MPL/2.0/
1469
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
1470
+ // versions:
1471
+ // protoc-gen-ts_proto v1.181.1
1472
+ // protoc v3.19.6
1473
+ // source: common.proto
1472
1474
 
1473
1475
  let CameraModel = /*#__PURE__*/function (CameraModel) {
1474
1476
  CameraModel[CameraModel["PERSPECTIVE"] = 0] = "PERSPECTIVE";
@@ -2162,9 +2164,11 @@ function isSet$6(value) {
2162
2164
  return value !== null && value !== undefined;
2163
2165
  }
2164
2166
 
2165
- // This Source Code Form is subject to the terms of the Mozilla Public
2166
- // License, v2.0. If a copy of the MPL was not distributed with this
2167
- // file, You can obtain one at http://mozilla.org/MPL/2.0/
2167
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2168
+ // versions:
2169
+ // protoc-gen-ts_proto v1.181.1
2170
+ // protoc v3.19.6
2171
+ // source: ImageAnnotations.proto
2168
2172
 
2169
2173
  const protobufPackage$5 = "dai.proto.image_annotations";
2170
2174
  let PointsAnnotationType = /*#__PURE__*/function (PointsAnnotationType) {
@@ -2774,9 +2778,11 @@ function isSet$5(value) {
2774
2778
  }
2775
2779
  const protobufName$5 = "ImageAnnotations";
2776
2780
 
2777
- // This Source Code Form is subject to the terms of the Mozilla Public
2778
- // License, v2.0. If a copy of the MPL was not distributed with this
2779
- // file, You can obtain one at http://mozilla.org/MPL/2.0/
2781
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2782
+ // versions:
2783
+ // protoc-gen-ts_proto v1.181.1
2784
+ // protoc v3.19.6
2785
+ // source: ImgFrame.proto
2780
2786
 
2781
2787
  const protobufPackage$4 = "dai.proto.img_frame";
2782
2788
  let Type = /*#__PURE__*/function (Type) {
@@ -3406,9 +3412,11 @@ function isSet$4(value) {
3406
3412
  }
3407
3413
  const protobufName$4 = "ImgFrame";
3408
3414
 
3409
- // This Source Code Form is subject to the terms of the Mozilla Public
3410
- // License, v2.0. If a copy of the MPL was not distributed with this
3411
- // file, You can obtain one at http://mozilla.org/MPL/2.0/
3415
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3416
+ // versions:
3417
+ // protoc-gen-ts_proto v1.181.1
3418
+ // protoc v3.19.6
3419
+ // source: EncodedFrame.proto
3412
3420
 
3413
3421
  const protobufPackage$3 = "dai.proto.encoded_frame";
3414
3422
  let Profile = /*#__PURE__*/function (Profile) {
@@ -3811,9 +3819,11 @@ function isSet$3(value) {
3811
3819
  }
3812
3820
  const protobufName$3 = "EncodedFrame";
3813
3821
 
3814
- // This Source Code Form is subject to the terms of the Mozilla Public
3815
- // License, v2.0. If a copy of the MPL was not distributed with this
3816
- // file, You can obtain one at http://mozilla.org/MPL/2.0/
3822
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3823
+ // versions:
3824
+ // protoc-gen-ts_proto v1.181.1
3825
+ // protoc v3.19.6
3826
+ // source: ImgDetections.proto
3817
3827
 
3818
3828
  const protobufPackage$2 = "dai.proto.img_detections";
3819
3829
  function createBaseImgDetections() {
@@ -4077,9 +4087,11 @@ function isSet$2(value) {
4077
4087
  }
4078
4088
  const protobufName$2 = "ImgDetections";
4079
4089
 
4080
- // This Source Code Form is subject to the terms of the Mozilla Public
4081
- // License, v2.0. If a copy of the MPL was not distributed with this
4082
- // file, You can obtain one at http://mozilla.org/MPL/2.0/
4090
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
4091
+ // versions:
4092
+ // protoc-gen-ts_proto v1.181.1
4093
+ // protoc v3.19.6
4094
+ // source: PointCloudData.proto
4083
4095
 
4084
4096
  const protobufPackage$1 = "dai.proto.point_cloud_data";
4085
4097
  function createBasePointCloudData() {
@@ -4387,9 +4399,11 @@ function isSet$1(value) {
4387
4399
  }
4388
4400
  const protobufName$1 = "PointCloudData";
4389
4401
 
4390
- // This Source Code Form is subject to the terms of the Mozilla Public
4391
- // License, v2.0. If a copy of the MPL was not distributed with this
4392
- // file, You can obtain one at http://mozilla.org/MPL/2.0/
4402
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
4403
+ // versions:
4404
+ // protoc-gen-ts_proto v1.181.1
4405
+ // protoc v3.19.6
4406
+ // source: SpatialImgDetections.proto
4393
4407
 
4394
4408
  const protobufPackage = "dai.proto.spatial_img_detections";
4395
4409
  let SpatialLocationCalculatorAlgorithm = /*#__PURE__*/function (SpatialLocationCalculatorAlgorithm) {
@@ -5152,7 +5166,7 @@ class FoxgloveCommunicator {
5152
5166
  data
5153
5167
  });
5154
5168
  }
5155
- handleServiceResponses(response) {
5169
+ handleServiceResponse(response) {
5156
5170
  const name = this.#serviceCalls.get(response.callId) ?? 'unknown';
5157
5171
  this.#serviceCalls.delete(response.callId);
5158
5172
  this.sendWithTransfer({
@@ -5209,4 +5223,4 @@ class FoxgloveCommunicator {
5209
5223
  }
5210
5224
  }
5211
5225
 
5212
- export { FoxgloveCommunicator as F, PointsAnnotationType as P, Type as T, Profile as a, protobufsBySchema as p };
5226
+ export { FoxgloveCommunicator as F, PointsAnnotationType as P, Type as T, Profile as a, protobufsBySchema as p, recordToDataView as r };
@@ -115,10 +115,8 @@ function tokenBaseUntilBrace() {
115
115
 
116
116
  function tokenVariableDeref(stream, state) {
117
117
  var next = stream.match(/^(\.|[\w\$_]+)/);
118
- if (!next) {
119
- state.tokenize.pop();
120
- return state.tokenize[state.tokenize.length-1](stream, state)
121
- }
118
+ if (!next || !stream.match(next[0] == "." ? /^[\w$_]/ : /^\./)) state.tokenize.pop();
119
+ if (!next) return state.tokenize[state.tokenize.length-1](stream, state)
122
120
  return next[0] == "." ? null : "variable"
123
121
  }
124
122
 
@@ -1,15 +1,14 @@
1
- import { aq as styleTags, ar as tags, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aB as foldInside, aH as defineCSSCompletionSource, at as LanguageSupport, av as LRParser, au as ExternalTokenizer } from './index-DQCAxiet.js';
2
- import './worker-utils-DfViKOHw.js';
1
+ import { aq as styleTags, ar as tags, as as LRLanguage, an as indentNodeProp, ao as continuedIndent, ap as foldNodeProp, aB as foldInside, aH as defineCSSCompletionSource, at as LanguageSupport, av as LRParser, au as ExternalTokenizer } from './index-B68UDyAv.js';
2
+ import './worker-utils-BNThsbdN.js';
3
3
  import 'hydrated-ws';
4
4
  import 'ms';
5
- import './communicator-D_EeiIbd.js';
5
+ import './communicator-ZAqNuwq6.js';
6
6
  import 'protobufjs/minimal';
7
7
  import 'react';
8
8
  import 'zustand';
9
9
  import 'react-mosaic-component';
10
10
  import '@mui/material';
11
11
  import './i18next-C5Qe4-E1.js';
12
- import './worker-utils-BbyBpOVt.js';
13
12
  import 'react-dnd';
14
13
  import 'react-dnd-html5-backend';
15
14
  import '@emotion/react';
@@ -18,6 +17,7 @@ import 'react/jsx-runtime';
18
17
  import 'react-dom';
19
18
  import 'react-syntax-highlighter/dist/esm/styles/prism';
20
19
  import 'react-syntax-highlighter';
20
+ import 'rehype-sanitize';
21
21
  import 'extend';
22
22
  import 'react-icons';
23
23
  import '@pandacss/dev';