brainsmatics 1.0.33 → 1.0.35

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.
@@ -3,13 +3,6 @@ import React from 'react';
3
3
  import { TrackballControls } from "three/examples/jsm/controls/TrackballControls";
4
4
  import "./index.css";
5
5
  import { EffectComposer } from 'three/examples/jsm/postprocessing/EffectComposer';
6
- type DataStructure = Record<string, {
7
- up: string[];
8
- down: string[];
9
- soma: string[];
10
- axon: string[];
11
- id: number;
12
- }>;
13
6
  interface AuxiliaryProps {
14
7
  regionData: string;
15
8
  setoffset_factor: React.Dispatch<React.SetStateAction<number>>;
@@ -19,8 +12,8 @@ interface AuxiliaryProps {
19
12
  hrefStr: string;
20
13
  leftTreeRef: React.RefObject<HTMLDivElement>;
21
14
  centerRef: React.RefObject<HTMLDivElement>;
22
- angleRef: React.RefObject<HTMLDivElement>;
23
- jiaoduRef: React.RefObject<HTMLDivElement>;
15
+ angleRef: React.MutableRefObject<string>;
16
+ jiaoduRef: React.MutableRefObject<string>;
24
17
  mouseflag: React.MutableRefObject<boolean>;
25
18
  renderer: THREE.WebGLRenderer;
26
19
  controls: React.MutableRefObject<TrackballControls>;
@@ -58,7 +51,13 @@ interface AuxiliaryProps {
58
51
  setLeftMenuTabIndex: React.Dispatch<React.SetStateAction<number>>;
59
52
  updatePage: {};
60
53
  swcItem: string;
61
- axon_check?: DataStructure;
54
+ axon_check?: Record<string, {
55
+ up: string[];
56
+ down: string[];
57
+ soma: string[];
58
+ axon: string[];
59
+ id: number;
60
+ }>;
62
61
  swcnameMesh: React.MutableRefObject<{}>;
63
62
  setMode: React.Dispatch<React.SetStateAction<number>>;
64
63
  vesselStr: string;
@@ -105,6 +104,7 @@ interface AuxiliaryProps {
105
104
  };
106
105
  lefttab: string[];
107
106
  righttab: string[];
107
+ atlasData: string;
108
108
  }
109
109
  declare const Auxiliary: React.FC<AuxiliaryProps>;
110
110
  export default Auxiliary;
@@ -8,8 +8,8 @@ interface propsType {
8
8
  vesselObj: React.MutableRefObject<{}>;
9
9
  currentRef: React.RefObject<HTMLDivElement> | null;
10
10
  setHrefStr?: React.Dispatch<React.SetStateAction<string>>;
11
- angleRef?: React.RefObject<HTMLDivElement>;
12
- jiaoduRef?: React.RefObject<HTMLDivElement>;
11
+ angleRef?: React.MutableRefObject<string>;
12
+ jiaoduRef?: React.MutableRefObject<string>;
13
13
  mouseflag?: React.MutableRefObject<boolean>;
14
14
  menutagShow?: boolean;
15
15
  setMenuTagShow: React.Dispatch<React.SetStateAction<boolean>>;
@@ -42,6 +42,13 @@ interface propsType {
42
42
  setSwcItem: React.Dispatch<React.SetStateAction<string>>;
43
43
  swcItem: string;
44
44
  swcnameMesh: React.MutableRefObject<{}>;
45
+ axon_check?: Record<string, {
46
+ up: string[];
47
+ down: string[];
48
+ soma: string[];
49
+ axon: string[];
50
+ id: number;
51
+ }>;
45
52
  automaticGroup: React.MutableRefObject<string[]>;
46
53
  setCheckItems: React.Dispatch<React.SetStateAction<string[]>>;
47
54
  vesselRef: React.MutableRefObject<undefined>;
@@ -66,6 +66,7 @@ interface SideBarProps {
66
66
  swclist?: string[];
67
67
  metadata?: boolean;
68
68
  resourceTab?: string[];
69
+ atlasData?: string;
69
70
  }
70
71
  export declare let sphereflag: boolean;
71
72
  declare const SideBar: React.FC<SideBarProps>;
@@ -1,4 +1,4 @@
1
- import { i as r } from "./index-009d7797.mjs";
1
+ import { i as r } from "./index-5012f8ff.mjs";
2
2
  import { B as o } from "./basedecoder-11034ec6.mjs";
3
3
  import "react";
4
4
  import "react-dom";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-85bc1caa.js"),t=require("./basedecoder-0503cc54.js");require("react");require("react-dom");class d extends t.BaseDecoder{decodeBlock(e){return r.inflate_1(new Uint8Array(e)).buffer}}exports.default=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-5afb7780.js"),t=require("./basedecoder-0503cc54.js");require("react");require("react-dom");class d extends t.BaseDecoder{decodeBlock(e){return r.inflate_1(new Uint8Array(e)).buffer}}exports.default=d;