@ndmspc/ndmvr 1.1.0-rc.9 → 1.1.1
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/ndmvr.es.js +43 -43
- package/package.json +5 -4
package/dist/ndmvr.es.js
CHANGED
|
@@ -17586,7 +17586,7 @@ var ks = {
|
|
|
17586
17586
|
function js(e, t) {
|
|
17587
17587
|
if (e == null || Number.isNaN(e)) return "-";
|
|
17588
17588
|
let n = Number.parseFloat(String(e)), r = Math.abs(n);
|
|
17589
|
-
return n !== 0 && (r >= 1e6 || r > 0 && r < .001) ? n.toExponential() : n.toFixed(t);
|
|
17589
|
+
return n !== 0 && (r >= 1e6 || r > 0 && r < .001) ? n.toExponential(t) : n.toFixed(t);
|
|
17590
17590
|
}
|
|
17591
17591
|
function Ms(e) {
|
|
17592
17592
|
let t = F(23), { precision: n } = e, r = n === void 0 ? 2 : n, [i, a] = v(null), o = _(null), s, c;
|
|
@@ -17596,63 +17596,63 @@ function Ms(e) {
|
|
|
17596
17596
|
});
|
|
17597
17597
|
return () => e.unsubscribe();
|
|
17598
17598
|
}, c = [], t[0] = s, t[1] = c) : (s = t[0], c = t[1]), p(s, c);
|
|
17599
|
-
let l = Ps, u
|
|
17600
|
-
t[2] ===
|
|
17599
|
+
let l = Ps, u;
|
|
17600
|
+
t[2] === i ? u = t[3] : (u = i?.content === void 0 ? "-" : `${js(i.content, 3)} +/- ${js(i.error, 3)}`, t[2] = i, t[3] = u);
|
|
17601
|
+
let d = u, f, m;
|
|
17602
|
+
t[4] === Symbol.for("react.memo_cache_sentinel") ? (f = ["menuContainer"], m = { noto: {
|
|
17601
17603
|
medium: ks,
|
|
17602
17604
|
bold: As
|
|
17603
|
-
} }, t[
|
|
17604
|
-
let f;
|
|
17605
|
-
t[4] === Symbol.for("react.memo_cache_sentinel") ? (f = /* @__PURE__ */ L(q, {
|
|
17606
|
-
classList: ["menuHeader"],
|
|
17607
|
-
children: "Bin information"
|
|
17608
|
-
}), t[4] = f) : f = t[4];
|
|
17609
|
-
let m;
|
|
17610
|
-
t[5] === Symbol.for("react.memo_cache_sentinel") ? (m = ["section", "sectionInner"], t[5] = m) : m = t[5];
|
|
17605
|
+
} }, t[4] = f, t[5] = m) : (f = t[4], m = t[5]);
|
|
17611
17606
|
let h;
|
|
17612
17607
|
t[6] === Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ L(q, {
|
|
17608
|
+
classList: ["menuHeader"],
|
|
17609
|
+
children: "Bin information"
|
|
17610
|
+
}), t[6] = h) : h = t[6];
|
|
17611
|
+
let g;
|
|
17612
|
+
t[7] === Symbol.for("react.memo_cache_sentinel") ? (g = ["section", "sectionInner"], t[7] = g) : g = t[7];
|
|
17613
|
+
let y;
|
|
17614
|
+
t[8] === Symbol.for("react.memo_cache_sentinel") ? (y = /* @__PURE__ */ L(q, {
|
|
17613
17615
|
fontSize: 12,
|
|
17614
17616
|
fontWeight: "bold",
|
|
17615
17617
|
children: "Level:"
|
|
17616
|
-
}), t[
|
|
17617
|
-
let
|
|
17618
|
-
t[
|
|
17618
|
+
}), t[8] = y) : y = t[8];
|
|
17619
|
+
let b = i?.coords?.length ?? 0, x;
|
|
17620
|
+
t[9] === b ? x = t[10] : (x = /* @__PURE__ */ R(Z, {
|
|
17619
17621
|
flexDirection: "row",
|
|
17620
17622
|
alignItems: "center",
|
|
17621
17623
|
gap: 4,
|
|
17622
|
-
children: [
|
|
17624
|
+
children: [y, /* @__PURE__ */ L(q, {
|
|
17623
17625
|
fontSize: 12,
|
|
17624
|
-
children:
|
|
17626
|
+
children: b
|
|
17625
17627
|
})]
|
|
17626
|
-
}), t[
|
|
17627
|
-
let
|
|
17628
|
-
t[
|
|
17628
|
+
}), t[9] = b, t[10] = x);
|
|
17629
|
+
let S;
|
|
17630
|
+
t[11] === Symbol.for("react.memo_cache_sentinel") ? (S = /* @__PURE__ */ L(q, {
|
|
17629
17631
|
fontSize: 12,
|
|
17630
17632
|
fontWeight: "bold",
|
|
17631
17633
|
children: "Content:"
|
|
17632
|
-
}), t[
|
|
17633
|
-
let
|
|
17634
|
-
t[
|
|
17635
|
-
let S;
|
|
17636
|
-
t[12] === x ? S = t[13] : (S = /* @__PURE__ */ R(Z, {
|
|
17634
|
+
}), t[11] = S) : S = t[11];
|
|
17635
|
+
let w;
|
|
17636
|
+
t[12] === d ? w = t[13] : (w = /* @__PURE__ */ R(Z, {
|
|
17637
17637
|
flexDirection: "row",
|
|
17638
17638
|
alignItems: "center",
|
|
17639
17639
|
gap: 4,
|
|
17640
|
-
children: [
|
|
17640
|
+
children: [S, /* @__PURE__ */ L(q, {
|
|
17641
17641
|
fontSize: 12,
|
|
17642
|
-
children:
|
|
17642
|
+
children: d
|
|
17643
17643
|
})]
|
|
17644
|
-
}), t[12] =
|
|
17645
|
-
let
|
|
17646
|
-
t[14] !==
|
|
17647
|
-
classList:
|
|
17644
|
+
}), t[12] = d, t[13] = w);
|
|
17645
|
+
let T;
|
|
17646
|
+
t[14] !== x || t[15] !== w ? (T = /* @__PURE__ */ R(Z, {
|
|
17647
|
+
classList: g,
|
|
17648
17648
|
minWidth: 200,
|
|
17649
17649
|
flexDirection: "column",
|
|
17650
17650
|
padding: 10,
|
|
17651
17651
|
borderRadius: 8,
|
|
17652
|
-
children: [
|
|
17653
|
-
}), t[14] =
|
|
17654
|
-
let
|
|
17655
|
-
t[17] !== i?.coords || t[18] !== r ? (
|
|
17652
|
+
children: [x, w]
|
|
17653
|
+
}), t[14] = x, t[15] = w, t[16] = T) : T = t[16];
|
|
17654
|
+
let E;
|
|
17655
|
+
t[17] !== i?.coords || t[18] !== r ? (E = i?.coords?.map((e, t) => {
|
|
17656
17656
|
let { r: n, g: i, b: a } = e.color || {
|
|
17657
17657
|
r: 255,
|
|
17658
17658
|
g: 255,
|
|
@@ -17719,17 +17719,17 @@ function Ms(e) {
|
|
|
17719
17719
|
})
|
|
17720
17720
|
})]
|
|
17721
17721
|
}, t);
|
|
17722
|
-
}), t[17] = i?.coords, t[18] = r, t[19] =
|
|
17723
|
-
let
|
|
17724
|
-
return t[20] !==
|
|
17725
|
-
classList:
|
|
17726
|
-
fontFamilies:
|
|
17722
|
+
}), t[17] = i?.coords, t[18] = r, t[19] = E) : E = t[19];
|
|
17723
|
+
let D;
|
|
17724
|
+
return t[20] !== T || t[21] !== E ? (D = /* @__PURE__ */ R(Z, {
|
|
17725
|
+
classList: f,
|
|
17726
|
+
fontFamilies: m,
|
|
17727
17727
|
children: [
|
|
17728
|
-
|
|
17729
|
-
|
|
17730
|
-
|
|
17728
|
+
h,
|
|
17729
|
+
T,
|
|
17730
|
+
E
|
|
17731
17731
|
]
|
|
17732
|
-
}), t[20] =
|
|
17732
|
+
}), t[20] = T, t[21] = E, t[22] = D) : D = t[22], D;
|
|
17733
17733
|
}
|
|
17734
17734
|
function Ns(e) {
|
|
17735
17735
|
let [, t] = e;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ndmspc/ndmvr",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "NDMVR React three fiber components",
|
|
5
5
|
"author": "NDMSPC community",
|
|
6
6
|
"repository": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"react-dom": ">=19 <20"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@ndmspc/ndmvr-core": "1.1.
|
|
49
|
+
"@ndmspc/ndmvr-core": "1.1.1",
|
|
50
50
|
"@pmndrs/uikit": "^1.0.64",
|
|
51
51
|
"@react-three/drei": "^10.7.7",
|
|
52
52
|
"@react-three/fiber": "^9.5.0",
|
|
@@ -55,7 +55,6 @@
|
|
|
55
55
|
"@react-three/uikit-horizon": "^1.0.64",
|
|
56
56
|
"@react-three/uikit-lucide": "^1.0.64",
|
|
57
57
|
"@react-three/xr": "^6.6.29",
|
|
58
|
-
"@types/d3-selection": "^3.0.11",
|
|
59
58
|
"ajv": "^8.18.0",
|
|
60
59
|
"d3-selection": "^3.0.0",
|
|
61
60
|
"jsroot": "^7.10.3",
|
|
@@ -66,13 +65,14 @@
|
|
|
66
65
|
},
|
|
67
66
|
"devDependencies": {
|
|
68
67
|
"@eslint/js": "^9.39.4",
|
|
68
|
+
"@types/d3-selection": "^3.0.11",
|
|
69
69
|
"@types/node": "^25.4.0",
|
|
70
70
|
"@types/react": "^19.2.14",
|
|
71
71
|
"@types/react-dom": "^19.2.3",
|
|
72
72
|
"@types/three": "^0.183.1",
|
|
73
|
-
"@vitejs/plugin-react": "^5.1.4",
|
|
74
73
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
75
74
|
"cross-env": "^10.1.0",
|
|
75
|
+
"esbuild": "^0.27.4",
|
|
76
76
|
"eslint": "^9.39.4",
|
|
77
77
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
78
78
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
@@ -81,6 +81,7 @@
|
|
|
81
81
|
"typescript": "^5.9.3",
|
|
82
82
|
"typescript-eslint": "^8.57.0",
|
|
83
83
|
"vite": "^8.0.2",
|
|
84
|
+
"@vitejs/plugin-react": "^5.1.4",
|
|
84
85
|
"vite-plugin-dts": "^4.5.4"
|
|
85
86
|
}
|
|
86
87
|
}
|