@luxonis/visualizer-protobuf 2.44.0 → 2.46.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-C39Uooyk.js → FoxgloveServer-CruhDQNF.js} +1 -1
- package/dist/{communicator-Rs8pk0Io.js → communicator-B5nHOFKk.js} +2 -1
- package/dist/{deserialization.worker-BKq1x9xw.js → deserialization.worker-CV6Id_6m.js} +4 -4
- package/dist/encoding-DqlhpFR2.js +20 -0
- package/dist/{foxglove-protocol-CYoMweAY.js → foxglove-protocol-s8GTnGYJ.js} +1 -1
- package/dist/{index-Dy_V-DfR.js → index-87wHKS0R.js} +6 -5
- package/dist/{index-U1lmcSHD.js → index-B3otsYGR.js} +6 -5
- package/dist/{index-CUGtBqn4.js → index-B7nj_5U_.js} +6 -5
- package/dist/{index-BzDi48AW.js → index-BUfJBOfG.js} +6 -5
- package/dist/{index-CGiadoVA.js → index-B_WkZK5b.js} +6 -5
- package/dist/{index-DKFF_z4v.js → index-BnVGquYj.js} +6 -5
- package/dist/{index-C9o4w-t2.js → index-BoWfJ3jL.js} +6 -5
- package/dist/{index-BrXP6SIZ.js → index-CLYGtCqg.js} +6 -5
- package/dist/{index-aUJRZxmm.js → index-CaSiKV0w.js} +6 -5
- package/dist/{index-BhMsFlKj.js → index-Cbu4R-Ou.js} +6 -5
- package/dist/{index-DXCv8tws.js → index-Cjt5Hi3s.js} +6 -5
- package/dist/{index-_Reh-70u.js → index-D3v8Tab6.js} +6 -5
- package/dist/{index--R8PL3a1.js → index-DNt3mAbf.js} +6 -5
- package/dist/{index-JW_1o4zI.js → index-DO2F3hfT.js} +215 -120
- package/dist/{index-DGa0rqWH.js → index-DfKsehgj.js} +22 -71
- package/dist/{index-DR0APcXh.js → index-DtEtnArD.js} +6 -5
- package/dist/{index-CJ9fIZ-J.js → index-FjwoQBwa.js} +8 -7
- package/dist/{index-Bsjq5fXE.js → index-ff1kTzaW.js} +6 -5
- package/dist/{index-BTV3yGFf.js → index-uAPfbADO.js} +6 -5
- package/dist/index.js +6 -5
- package/dist/lib/src/components/Panel.d.ts +0 -2
- 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/PanelToolbar.d.ts +0 -2
- package/dist/lib/src/components/PanelToolbar.d.ts.map +1 -1
- package/dist/lib/src/components/PanelToolbar.js +33 -8
- package/dist/lib/src/components/PanelToolbar.js.map +1 -1
- package/dist/lib/src/connection/foxglove-connection.d.ts +9 -4
- package/dist/lib/src/connection/foxglove-connection.d.ts.map +1 -1
- package/dist/lib/src/connection/foxglove-connection.js +63 -7
- package/dist/lib/src/connection/foxglove-connection.js.map +1 -1
- package/dist/lib/src/index.d.ts +5 -5
- package/dist/lib/src/index.d.ts.map +1 -1
- package/dist/lib/src/index.js +3 -3
- package/dist/lib/src/index.js.map +1 -1
- package/dist/lib/src/messaging/deserialization/pointcloud/poitcloudPoolManager.d.ts.map +1 -1
- package/dist/lib/src/messaging/deserialization/pointcloud/poitcloudPoolManager.js +7 -3
- package/dist/lib/src/messaging/deserialization/pointcloud/poitcloudPoolManager.js.map +1 -1
- package/dist/lib/src/messaging/event-loop-delay-sampler.d.ts +9 -0
- package/dist/lib/src/messaging/event-loop-delay-sampler.d.ts.map +1 -0
- package/dist/lib/src/messaging/event-loop-delay-sampler.js +19 -0
- package/dist/lib/src/messaging/event-loop-delay-sampler.js.map +1 -0
- package/dist/lib/src/messaging/protobuf.d.ts +3 -1
- package/dist/lib/src/messaging/protobuf.d.ts.map +1 -1
- package/dist/lib/src/messaging/protobuf.js +27 -12
- package/dist/lib/src/messaging/protobuf.js.map +1 -1
- package/dist/lib/src/messaging/rate-limiter.d.ts +19 -0
- package/dist/lib/src/messaging/rate-limiter.d.ts.map +1 -0
- package/dist/lib/src/messaging/rate-limiter.js +50 -0
- package/dist/lib/src/messaging/rate-limiter.js.map +1 -0
- package/dist/lib/src/output.css +1 -1
- package/dist/lib/src/panels/ImagePanel.d.ts +2 -2
- package/dist/lib/src/panels/ImagePanel.d.ts.map +1 -1
- package/dist/lib/src/panels/ImagePanel.js +15 -31
- package/dist/lib/src/panels/ImagePanel.js.map +1 -1
- package/dist/lib/src/panels/PointCloudPanel.d.ts.map +1 -1
- package/dist/lib/src/panels/PointCloudPanel.js +3 -21
- package/dist/lib/src/panels/PointCloudPanel.js.map +1 -1
- 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.d.ts +1 -1
- package/dist/lib/src/protobuf.generated/ImgDetections.d.ts.map +1 -1
- package/dist/lib/src/protobuf.generated/ImgDetections.js +9 -9
- 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/lib/src/utils/metrics-manager.d.ts +18 -9
- package/dist/lib/src/utils/metrics-manager.d.ts.map +1 -1
- package/dist/lib/src/utils/metrics-manager.js +38 -16
- package/dist/lib/src/utils/metrics-manager.js.map +1 -1
- package/dist/package.json +1 -0
- package/dist/packages/studio-base/src/i18n/en/threeDee.js +2 -2
- package/dist/packages/studio-base/src/i18n/en/threeDee.js.map +1 -1
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/Renderer.d.ts +1 -1
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/Renderer.d.ts.map +1 -1
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/Renderer.js +3 -3
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/Renderer.js.map +1 -1
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/ThreeDeeRender.d.ts +1 -1
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/ThreeDeeRender.d.ts.map +1 -1
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/ThreeDeeRender.js +8 -4
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/ThreeDeeRender.js.map +1 -1
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/index.d.ts +1 -1
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/index.d.ts.map +1 -1
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/index.js +4 -4
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/index.js.map +1 -1
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/renderables/ImageMode/ImageMode.d.ts +1 -1
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/renderables/ImageMode/ImageMode.d.ts.map +1 -1
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/renderables/ImageMode/ImageMode.js +3 -3
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/renderables/ImageMode/ImageMode.js.map +1 -1
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/renderables/ImageMode/MessageHandler.d.ts +2 -2
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/renderables/ImageMode/MessageHandler.d.ts.map +1 -1
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/renderables/ImageMode/MessageHandler.js +4 -53
- package/dist/packages/studio-base/src/panels/ThreeDeeRender/renderables/ImageMode/MessageHandler.js.map +1 -1
- package/dist/{encoding-D95pQf33.js → protobuf-BlRCdy5s.js} +68 -41
- package/dist/{tslib.es6-C73eoP_E.js → tslib.es6-D9ciouxB.js} +1 -1
- package/dist/{useMessageReducer-jNx5e6JW.js → useMessageReducer-DaJKuX4-.js} +2 -2
- package/dist/{worker-ChOPGWcQ.js → worker-BQkGHKKV.js} +5 -5
- package/dist/{worker-BCJnECSn.js → worker-CCDWOQkn.js} +5 -5
- package/package.json +5 -5
- package/dist/_commonjsHelpers-E-ZsRS8r.js +0 -32
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
import _m0 from 'protobufjs/minimal';
|
|
2
2
|
|
|
3
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4
|
+
|
|
5
|
+
function getDefaultExportFromCjs (x) {
|
|
6
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
function getAugmentedNamespace(n) {
|
|
10
|
+
if (n.__esModule) return n;
|
|
11
|
+
var f = n.default;
|
|
12
|
+
if (typeof f == "function") {
|
|
13
|
+
var a = function a () {
|
|
14
|
+
if (this instanceof a) {
|
|
15
|
+
return Reflect.construct(f, arguments, this.constructor);
|
|
16
|
+
}
|
|
17
|
+
return f.apply(this, arguments);
|
|
18
|
+
};
|
|
19
|
+
a.prototype = f.prototype;
|
|
20
|
+
} else a = {};
|
|
21
|
+
Object.defineProperty(a, '__esModule', {value: true});
|
|
22
|
+
Object.keys(n).forEach(function (k) {
|
|
23
|
+
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
24
|
+
Object.defineProperty(a, k, d.get ? d : {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () {
|
|
27
|
+
return n[k];
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
return a;
|
|
32
|
+
}
|
|
33
|
+
|
|
3
34
|
/**
|
|
4
35
|
* @license
|
|
5
36
|
* Copyright 2009 The Closure Library Authors
|
|
@@ -1469,7 +1500,7 @@ Long.fromBytesBE = function fromBytesBE(bytes, unsigned) {
|
|
|
1469
1500
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
1470
1501
|
// versions:
|
|
1471
1502
|
// protoc-gen-ts_proto v1.181.1
|
|
1472
|
-
// protoc
|
|
1503
|
+
// protoc v3.21.12
|
|
1473
1504
|
// source: common.proto
|
|
1474
1505
|
|
|
1475
1506
|
let CameraModel = /*#__PURE__*/function (CameraModel) {
|
|
@@ -2167,7 +2198,7 @@ function isSet$6(value) {
|
|
|
2167
2198
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2168
2199
|
// versions:
|
|
2169
2200
|
// protoc-gen-ts_proto v1.181.1
|
|
2170
|
-
// protoc
|
|
2201
|
+
// protoc v3.21.12
|
|
2171
2202
|
// source: EncodedFrame.proto
|
|
2172
2203
|
|
|
2173
2204
|
const protobufPackage$5 = "dai.proto.encoded_frame";
|
|
@@ -2574,7 +2605,7 @@ const protobufName$5 = "EncodedFrame";
|
|
|
2574
2605
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2575
2606
|
// versions:
|
|
2576
2607
|
// protoc-gen-ts_proto v1.181.1
|
|
2577
|
-
// protoc
|
|
2608
|
+
// protoc v3.21.12
|
|
2578
2609
|
// source: ImageAnnotations.proto
|
|
2579
2610
|
|
|
2580
2611
|
const protobufPackage$4 = "dai.proto.image_annotations";
|
|
@@ -3188,7 +3219,7 @@ const protobufName$4 = "ImageAnnotations";
|
|
|
3188
3219
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3189
3220
|
// versions:
|
|
3190
3221
|
// protoc-gen-ts_proto v1.181.1
|
|
3191
|
-
// protoc
|
|
3222
|
+
// protoc v3.21.12
|
|
3192
3223
|
// source: ImgDetections.proto
|
|
3193
3224
|
|
|
3194
3225
|
const protobufPackage$3 = "dai.proto.img_detections";
|
|
@@ -3314,7 +3345,7 @@ function createBaseImgDetection() {
|
|
|
3314
3345
|
ymin: 0,
|
|
3315
3346
|
xmax: 0,
|
|
3316
3347
|
ymax: 0,
|
|
3317
|
-
|
|
3348
|
+
labelName: ""
|
|
3318
3349
|
};
|
|
3319
3350
|
}
|
|
3320
3351
|
const ImgDetection = {
|
|
@@ -3337,8 +3368,8 @@ const ImgDetection = {
|
|
|
3337
3368
|
if (message.ymax !== 0) {
|
|
3338
3369
|
writer.uint32(53).float(message.ymax);
|
|
3339
3370
|
}
|
|
3340
|
-
if (message.
|
|
3341
|
-
writer.uint32(58).string(message.
|
|
3371
|
+
if (message.labelName !== "") {
|
|
3372
|
+
writer.uint32(58).string(message.labelName);
|
|
3342
3373
|
}
|
|
3343
3374
|
return writer;
|
|
3344
3375
|
},
|
|
@@ -3389,7 +3420,7 @@ const ImgDetection = {
|
|
|
3389
3420
|
if (tag !== 58) {
|
|
3390
3421
|
break;
|
|
3391
3422
|
}
|
|
3392
|
-
message.
|
|
3423
|
+
message.labelName = reader.string();
|
|
3393
3424
|
continue;
|
|
3394
3425
|
}
|
|
3395
3426
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -3407,7 +3438,7 @@ const ImgDetection = {
|
|
|
3407
3438
|
ymin: isSet$3(object.ymin) ? globalThis.Number(object.ymin) : 0,
|
|
3408
3439
|
xmax: isSet$3(object.xmax) ? globalThis.Number(object.xmax) : 0,
|
|
3409
3440
|
ymax: isSet$3(object.ymax) ? globalThis.Number(object.ymax) : 0,
|
|
3410
|
-
|
|
3441
|
+
labelName: isSet$3(object.labelName) ? globalThis.String(object.labelName) : ""
|
|
3411
3442
|
};
|
|
3412
3443
|
},
|
|
3413
3444
|
toJSON(message) {
|
|
@@ -3430,8 +3461,8 @@ const ImgDetection = {
|
|
|
3430
3461
|
if (message.ymax !== 0) {
|
|
3431
3462
|
obj.ymax = message.ymax;
|
|
3432
3463
|
}
|
|
3433
|
-
if (message.
|
|
3434
|
-
obj.
|
|
3464
|
+
if (message.labelName !== "") {
|
|
3465
|
+
obj.labelName = message.labelName;
|
|
3435
3466
|
}
|
|
3436
3467
|
return obj;
|
|
3437
3468
|
},
|
|
@@ -3446,7 +3477,7 @@ const ImgDetection = {
|
|
|
3446
3477
|
message.ymin = object.ymin ?? 0;
|
|
3447
3478
|
message.xmax = object.xmax ?? 0;
|
|
3448
3479
|
message.ymax = object.ymax ?? 0;
|
|
3449
|
-
message.
|
|
3480
|
+
message.labelName = object.labelName ?? "";
|
|
3450
3481
|
return message;
|
|
3451
3482
|
}
|
|
3452
3483
|
};
|
|
@@ -3471,7 +3502,7 @@ const protobufName$3 = "ImgDetections";
|
|
|
3471
3502
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3472
3503
|
// versions:
|
|
3473
3504
|
// protoc-gen-ts_proto v1.181.1
|
|
3474
|
-
// protoc
|
|
3505
|
+
// protoc v3.21.12
|
|
3475
3506
|
// source: ImgFrame.proto
|
|
3476
3507
|
|
|
3477
3508
|
const protobufPackage$2 = "dai.proto.img_frame";
|
|
@@ -4105,7 +4136,7 @@ const protobufName$2 = "ImgFrame";
|
|
|
4105
4136
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
4106
4137
|
// versions:
|
|
4107
4138
|
// protoc-gen-ts_proto v1.181.1
|
|
4108
|
-
// protoc
|
|
4139
|
+
// protoc v3.21.12
|
|
4109
4140
|
// source: PointCloudData.proto
|
|
4110
4141
|
|
|
4111
4142
|
const protobufPackage$1 = "dai.proto.point_cloud_data";
|
|
@@ -4417,7 +4448,7 @@ const protobufName$1 = "PointCloudData";
|
|
|
4417
4448
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
4418
4449
|
// versions:
|
|
4419
4450
|
// protoc-gen-ts_proto v1.181.1
|
|
4420
|
-
// protoc
|
|
4451
|
+
// protoc v3.21.12
|
|
4421
4452
|
// source: SpatialImgDetections.proto
|
|
4422
4453
|
|
|
4423
4454
|
const protobufPackage = "dai.proto.spatial_img_detections";
|
|
@@ -5051,56 +5082,52 @@ const protobufs = {
|
|
|
5051
5082
|
encodedFrame: {
|
|
5052
5083
|
name: `${protobufPackage$5}.${protobufName$5}`,
|
|
5053
5084
|
decoder: EncodedFrame,
|
|
5054
|
-
kind:
|
|
5085
|
+
kind: "image"
|
|
5055
5086
|
},
|
|
5056
5087
|
imageFrame: {
|
|
5057
5088
|
name: `${protobufPackage$2}.${protobufName$2}`,
|
|
5058
5089
|
decoder: ImgFrame,
|
|
5059
|
-
kind:
|
|
5090
|
+
kind: "image"
|
|
5060
5091
|
},
|
|
5061
5092
|
imageDetections: {
|
|
5062
5093
|
name: `${protobufPackage$3}.${protobufName$3}`,
|
|
5063
5094
|
decoder: ImgDetections,
|
|
5064
|
-
kind:
|
|
5095
|
+
kind: "annotations"
|
|
5065
5096
|
},
|
|
5066
5097
|
imageDetectionsCustom: {
|
|
5067
5098
|
name: `${protobufPackage$4}.${protobufName$4}`,
|
|
5068
5099
|
decoder: ImageAnnotations,
|
|
5069
|
-
kind:
|
|
5100
|
+
kind: "annotations"
|
|
5070
5101
|
},
|
|
5071
5102
|
imageDetectionsSpatial: {
|
|
5072
5103
|
name: `${protobufPackage}.${protobufName}`,
|
|
5073
5104
|
decoder: SpatialImgDetections,
|
|
5074
|
-
kind:
|
|
5105
|
+
kind: "annotations"
|
|
5075
5106
|
},
|
|
5076
5107
|
pointCloud: {
|
|
5077
5108
|
name: `${protobufPackage$1}.${protobufName$1}`,
|
|
5078
5109
|
decoder: PointCloudData,
|
|
5079
|
-
kind:
|
|
5110
|
+
kind: "pointCloud"
|
|
5080
5111
|
}
|
|
5081
5112
|
};
|
|
5113
|
+
function protobufSchemaNameToType(name) {
|
|
5114
|
+
switch (name) {
|
|
5115
|
+
case "imageFrame":
|
|
5116
|
+
case "encodedFrame":
|
|
5117
|
+
return "image";
|
|
5118
|
+
case "imageDetections":
|
|
5119
|
+
case "imageDetectionsCustom":
|
|
5120
|
+
case "imageDetectionsSpatial":
|
|
5121
|
+
return "annotations";
|
|
5122
|
+
case "pointCloud":
|
|
5123
|
+
return "pointCloud";
|
|
5124
|
+
default:
|
|
5125
|
+
throw new Error(`Unknown protobuf schema name: ${name}`);
|
|
5126
|
+
}
|
|
5127
|
+
}
|
|
5082
5128
|
const protobufsBySchema = Object.fromEntries(Object.entries(protobufs).map(([type, data]) => [data.name, {
|
|
5083
5129
|
type,
|
|
5084
5130
|
...data
|
|
5085
5131
|
}]));
|
|
5086
5132
|
|
|
5087
|
-
|
|
5088
|
-
// License, v2.0. If a copy of the MPL was not distributed with this
|
|
5089
|
-
// file, You can obtain one at http://mozilla.org/MPL/2.0/
|
|
5090
|
-
|
|
5091
|
-
// Function decides if the current browser is capable of working with encoded streams
|
|
5092
|
-
function isCapableOfEncodedStream() {
|
|
5093
|
-
return !!navigator?.userAgent?.includes("Chrome");
|
|
5094
|
-
}
|
|
5095
|
-
function recordToDataView(record) {
|
|
5096
|
-
const text = JSON.stringify(record);
|
|
5097
|
-
if (!text) {
|
|
5098
|
-
throw new Error("Invalid record");
|
|
5099
|
-
}
|
|
5100
|
-
const encoder = new TextEncoder();
|
|
5101
|
-
const data = encoder.encode(text);
|
|
5102
|
-
const dataView = new DataView(data.buffer);
|
|
5103
|
-
return dataView;
|
|
5104
|
-
}
|
|
5105
|
-
|
|
5106
|
-
export { PointsAnnotationType as P, Type as T, Profile as a, isCapableOfEncodedStream as i, protobufsBySchema as p, recordToDataView as r };
|
|
5133
|
+
export { PointsAnnotationType as P, Type as T, protobufsBySchema as a, Profile as b, commonjsGlobal as c, getAugmentedNamespace as d, getDefaultExportFromCjs as g, protobufSchemaNameToType as p };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useContext, useRef, useLayoutEffect, createContext, useReducer, useState, useCallback } from 'react';
|
|
2
2
|
import { isParent, getLeaves, createRemoveUpdate, updateTree, getNodeAtPath } from 'react-mosaic-component';
|
|
3
|
-
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './
|
|
3
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './protobuf-BlRCdy5s.js';
|
|
4
4
|
import { useTheme } from '@mui/material';
|
|
5
5
|
import { k as isObjectLike, l as baseGetTag, S as Symbol$1, i as isArray, m as getNative, r as root, n as overArg, g as isPrototype, c as isArrayLike, p as arrayLikeKeys, M as MapCache, f as isArguments, t as toSource, q as Map$1, u as eq, U as Uint8Array, d as isBuffer, v as Stack, e as isTypedArray, h as isObject, w as isLength, j as isIndex, x as identity, y as baseFor, b as baseRest, a as isArrayLikeObject } from './isArrayLikeObject-Bytw9p-q.js';
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ac as tslib_es6, L as Logger } from './tslib.es6-
|
|
2
|
-
import {
|
|
1
|
+
import { ac as tslib_es6, L as Logger } from './tslib.es6-D9ciouxB.js';
|
|
2
|
+
import { d as getAugmentedNamespace } from './protobuf-BlRCdy5s.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'zustand';
|
|
5
5
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as recordToDataView } from './encoding-
|
|
2
|
-
import { F as FoxgloveCommunicator } from './communicator-
|
|
3
|
-
import { m as makeServiceCallRequest } from './foxglove-protocol-
|
|
1
|
+
import { r as recordToDataView } from './encoding-DqlhpFR2.js';
|
|
2
|
+
import { F as FoxgloveCommunicator } from './communicator-B5nHOFKk.js';
|
|
3
|
+
import { m as makeServiceCallRequest } from './foxglove-protocol-s8GTnGYJ.js';
|
|
4
|
+
import './protobuf-BlRCdy5s.js';
|
|
4
5
|
import 'protobufjs/minimal';
|
|
5
|
-
import './FoxgloveServer-
|
|
6
|
-
import './_commonjsHelpers-E-ZsRS8r.js';
|
|
6
|
+
import './FoxgloveServer-CruhDQNF.js';
|
|
7
7
|
import 'ms';
|
|
8
8
|
|
|
9
9
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { F as FoxgloveClient } from './FoxgloveServer-
|
|
2
|
-
import { F as FoxgloveCommunicator } from './communicator-
|
|
3
|
-
import './
|
|
4
|
-
import 'ms';
|
|
5
|
-
import './encoding-D95pQf33.js';
|
|
1
|
+
import { F as FoxgloveClient } from './FoxgloveServer-CruhDQNF.js';
|
|
2
|
+
import { F as FoxgloveCommunicator } from './communicator-B5nHOFKk.js';
|
|
3
|
+
import './protobuf-BlRCdy5s.js';
|
|
6
4
|
import 'protobufjs/minimal';
|
|
5
|
+
import 'ms';
|
|
6
|
+
import './encoding-DqlhpFR2.js';
|
|
7
7
|
|
|
8
8
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
9
9
|
// License, v2.0. If a copy of the MPL was not distributed with this
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luxonis/visualizer-protobuf",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.46.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "RobotHub Visualizer Library",
|
|
6
6
|
"author": "Luxonis Corp",
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
"types": "./dist/lib/src/index.js",
|
|
9
9
|
"license": "UNLICENSED",
|
|
10
10
|
"scripts": {
|
|
11
|
-
"build": "
|
|
12
|
-
"tailwind": "
|
|
13
|
-
"lint": "
|
|
11
|
+
"build": "yarn run gen:proto && yarn run tailwind && rm -rf dist && tsc && rollup -c && cp -r ./src/fonts dist/src && cp ./src/output.css dist/lib/src",
|
|
12
|
+
"tailwind": "yarn dlx @tailwindcss/cli -i ./src/index.css -o ./src/output.css",
|
|
13
|
+
"lint": "yarn dlx eslint . --fix",
|
|
14
14
|
"gen:proto": "bash ./protobuf-gen.sh",
|
|
15
|
-
"prepublishOnly": "
|
|
15
|
+
"prepublishOnly": "yarn run build"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@emotion/react": "11.11.3",
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
2
|
-
|
|
3
|
-
function getDefaultExportFromCjs (x) {
|
|
4
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
function getAugmentedNamespace(n) {
|
|
8
|
-
if (n.__esModule) return n;
|
|
9
|
-
var f = n.default;
|
|
10
|
-
if (typeof f == "function") {
|
|
11
|
-
var a = function a () {
|
|
12
|
-
if (this instanceof a) {
|
|
13
|
-
return Reflect.construct(f, arguments, this.constructor);
|
|
14
|
-
}
|
|
15
|
-
return f.apply(this, arguments);
|
|
16
|
-
};
|
|
17
|
-
a.prototype = f.prototype;
|
|
18
|
-
} else a = {};
|
|
19
|
-
Object.defineProperty(a, '__esModule', {value: true});
|
|
20
|
-
Object.keys(n).forEach(function (k) {
|
|
21
|
-
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
22
|
-
Object.defineProperty(a, k, d.get ? d : {
|
|
23
|
-
enumerable: true,
|
|
24
|
-
get: function () {
|
|
25
|
-
return n[k];
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
});
|
|
29
|
-
return a;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export { getAugmentedNamespace as a, commonjsGlobal as c, getDefaultExportFromCjs as g };
|