brainsmatics 1.0.41 → 1.0.42
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/.storybook/middleware.js +45 -0
- package/dist/component/2d/js/index.d.ts +3 -0
- package/dist/component/2d/js/index.js +59517 -0
- package/dist/component/3d/atlas.d.ts +0 -2
- package/dist/component/3d/atlasBottomTabs/index.d.ts +16 -0
- package/dist/component/3d/atlasSiderBar/index.d.ts +75 -0
- package/dist/component/3d/index.d.ts +2 -0
- package/dist/{deflate-6f3ea749.mjs → deflate-3e54563f.mjs} +1 -1
- package/dist/{deflate-bbc1d77b.js → deflate-6fdb6036.js} +1 -1
- package/dist/{index-aa08e79d.mjs → index-1692c416.mjs} +45556 -43657
- package/dist/index-d6b6efd0.js +4975 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +42 -40
- package/dist/{lerc-f0825d23.js → lerc-3e3f52e6.js} +1 -1
- package/dist/{lerc-a6f233ff.mjs → lerc-6f9822e8.mjs} +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/tsconfig.json +0 -1
- package/dist/index-bb24f737.js +0 -4864
|
@@ -18,10 +18,8 @@ interface AtlasProps {
|
|
|
18
18
|
atlasTopography: string;
|
|
19
19
|
cerebralVessels?: dataType[];
|
|
20
20
|
datumMarks?: never[];
|
|
21
|
-
nodeDistribution?: never[];
|
|
22
21
|
atlasOntology: never[];
|
|
23
22
|
atlasColormap?: React.MutableRefObject<any>;
|
|
24
|
-
neuronMorphologies?: never[];
|
|
25
23
|
resourceTab: string[];
|
|
26
24
|
toolTab: string[];
|
|
27
25
|
ScaleNum: number;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { TrackballControls } from "three/examples/jsm/controls/TrackballControls";
|
|
3
|
+
import "./index.css";
|
|
4
|
+
interface tabsProps {
|
|
5
|
+
t: any;
|
|
6
|
+
controls: React.MutableRefObject<TrackballControls>;
|
|
7
|
+
setUpdatePage: React.Dispatch<React.SetStateAction<{}>>;
|
|
8
|
+
setShowSettingModal: React.Dispatch<React.SetStateAction<boolean>>;
|
|
9
|
+
il8n: any;
|
|
10
|
+
auxRef: React.MutableRefObject<any>;
|
|
11
|
+
activetabIndex: React.MutableRefObject<number>;
|
|
12
|
+
index: boolean;
|
|
13
|
+
home?: string;
|
|
14
|
+
}
|
|
15
|
+
declare const AtlasBottomTabs: React.FC<tabsProps>;
|
|
16
|
+
export default AtlasBottomTabs;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import './index.css';
|
|
3
|
+
import type { DataNode } from 'antd/es/tree';
|
|
4
|
+
import * as THREE from 'three';
|
|
5
|
+
interface dataType extends DataNode {
|
|
6
|
+
name: string;
|
|
7
|
+
open: boolean;
|
|
8
|
+
path: string;
|
|
9
|
+
color: string;
|
|
10
|
+
children: any;
|
|
11
|
+
nameflag?: string;
|
|
12
|
+
fullname: string;
|
|
13
|
+
x: string;
|
|
14
|
+
y: string;
|
|
15
|
+
z: string;
|
|
16
|
+
cname: string;
|
|
17
|
+
}
|
|
18
|
+
interface SideBarProps {
|
|
19
|
+
regionData: string;
|
|
20
|
+
treeDatas: dataType[];
|
|
21
|
+
fbxTreeDatas?: dataType[];
|
|
22
|
+
vesselObj: React.MutableRefObject<{}>;
|
|
23
|
+
offset_factor_R?: React.MutableRefObject<number>;
|
|
24
|
+
type: string;
|
|
25
|
+
leftTreeRef?: React.RefObject<HTMLDivElement>;
|
|
26
|
+
baozhaRef?: React.RefObject<HTMLDivElement>;
|
|
27
|
+
needBaozha?: boolean;
|
|
28
|
+
offset_factor?: number;
|
|
29
|
+
step_offset?: React.MutableRefObject<number>;
|
|
30
|
+
renderer: THREE.WebGLRenderer;
|
|
31
|
+
dataUrl?: React.MutableRefObject<string>;
|
|
32
|
+
axis_font: React.MutableRefObject<THREE.Mesh[]>;
|
|
33
|
+
t: any;
|
|
34
|
+
title?: string;
|
|
35
|
+
json_name?: string;
|
|
36
|
+
setdatum?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
37
|
+
ref?: any;
|
|
38
|
+
StepsCount?: number;
|
|
39
|
+
showimage?: boolean;
|
|
40
|
+
checkItems: string[];
|
|
41
|
+
setCheckItems: React.Dispatch<React.SetStateAction<string[]>>;
|
|
42
|
+
outflag?: boolean;
|
|
43
|
+
clickPoint: React.MutableRefObject<THREE.Vector3>;
|
|
44
|
+
setendPoint?: React.Dispatch<React.SetStateAction<THREE.Vector3>>;
|
|
45
|
+
automaticGroup?: React.MutableRefObject<string[]>;
|
|
46
|
+
mode: number;
|
|
47
|
+
axon_check?: Record<string, {
|
|
48
|
+
up: string[];
|
|
49
|
+
down: string[];
|
|
50
|
+
soma: string[];
|
|
51
|
+
axon: string[];
|
|
52
|
+
id: number;
|
|
53
|
+
}>;
|
|
54
|
+
swcnameMesh?: React.MutableRefObject<{}>;
|
|
55
|
+
updatePage?: {};
|
|
56
|
+
childRef?: React.MutableRefObject<undefined>;
|
|
57
|
+
setEchartValue?: React.Dispatch<React.SetStateAction<string>>;
|
|
58
|
+
echartValue?: string;
|
|
59
|
+
auxRef?: React.MutableRefObject<any>;
|
|
60
|
+
PointShow?: React.MutableRefObject<{
|
|
61
|
+
start: boolean;
|
|
62
|
+
end: boolean;
|
|
63
|
+
start_color: string;
|
|
64
|
+
}>;
|
|
65
|
+
tasktype: string;
|
|
66
|
+
swclist?: string[];
|
|
67
|
+
metadata?: boolean;
|
|
68
|
+
resourceTab?: string[];
|
|
69
|
+
atlasData?: string;
|
|
70
|
+
setSelected?: React.Dispatch<React.SetStateAction<string[]>>;
|
|
71
|
+
Selected?: string[];
|
|
72
|
+
}
|
|
73
|
+
export declare let sphereflag: boolean;
|
|
74
|
+
declare const AtlasSideBar: React.FC<SideBarProps>;
|
|
75
|
+
export default AtlasSideBar;
|
|
@@ -8,4 +8,6 @@ export { default as Modal2DLoader } from "./modal2DLoader";
|
|
|
8
8
|
export { default as BottomTabs } from "./bottomTabs";
|
|
9
9
|
export { default as Swctree } from "./swctree";
|
|
10
10
|
export { default as ShowReglions } from "./showreglions";
|
|
11
|
+
export { default as AtlasSideBar } from "./atlasSiderBar";
|
|
12
|
+
export { default as AtlasBottomTabs } from "./atlasBottomTabs";
|
|
11
13
|
export { default as Atlas } from "./atlas";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-d6b6efd0.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;
|