brainsmatics 1.0.47 → 1.0.49

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 (109) hide show
  1. package/.storybook/middleware.js +2 -2
  2. package/.vscode/settings.json +3 -0
  3. package/Dockerfile +3 -4
  4. package/docker-compose.yml +1 -1
  5. package/package.json +9 -2
  6. package/dist/App.d.ts +0 -4
  7. package/dist/basedecoder-0503cc54.js +0 -1
  8. package/dist/basedecoder-11034ec6.mjs +0 -89
  9. package/dist/component/2d/config.d.ts +0 -40
  10. package/dist/component/2d/contextmenu/ContextMenuX.d.ts +0 -3
  11. package/dist/component/2d/distribution/index.d.ts +0 -4
  12. package/dist/component/2d/gridviewer/index.d.ts +0 -9
  13. package/dist/component/2d/gridviewer/index1.d.ts +0 -8
  14. package/dist/component/2d/index.d.ts +0 -9
  15. package/dist/component/2d/infodiv/index.d.ts +0 -7
  16. package/dist/component/2d/modelloder.d.ts +0 -3
  17. package/dist/component/2d/mulifiveiewer/index.d.ts +0 -4
  18. package/dist/component/2d/navigation/index.d.ts +0 -12
  19. package/dist/component/2d/navtree/index.d.ts +0 -13
  20. package/dist/component/2d/tast1/config.d.ts +0 -20
  21. package/dist/component/2d/tast1/index.d.ts +0 -4
  22. package/dist/component/2d/thumbnail/VirtualList.d.ts +0 -14
  23. package/dist/component/2d/thumbnail/index.d.ts +0 -12
  24. package/dist/component/2d/twoviewer/index.d.ts +0 -19
  25. package/dist/component/3d/ai/index.d.ts +0 -7
  26. package/dist/component/3d/atlas.d.ts +0 -31
  27. package/dist/component/3d/atlasBottomTabs/index.d.ts +0 -19
  28. package/dist/component/3d/atlasSiderBar/index.d.ts +0 -79
  29. package/dist/component/3d/auxiliary/index.d.ts +0 -110
  30. package/dist/component/3d/bottomTabs/index.d.ts +0 -16
  31. package/dist/component/3d/cardData/index.d.ts +0 -3
  32. package/dist/component/3d/chartViewer/index.d.ts +0 -12
  33. package/dist/component/3d/dataset/index.d.ts +0 -3
  34. package/dist/component/3d/index.d.ts +0 -14
  35. package/dist/component/3d/lengthViewer/index.d.ts +0 -10
  36. package/dist/component/3d/modal2DLoader/index.d.ts +0 -11
  37. package/dist/component/3d/modalLoader/index.d.ts +0 -13
  38. package/dist/component/3d/pipeline/index.d.ts +0 -83
  39. package/dist/component/3d/registration/index.d.ts +0 -4
  40. package/dist/component/3d/sangjiViewer/index.d.ts +0 -6
  41. package/dist/component/3d/section/index.d.ts +0 -53
  42. package/dist/component/3d/showreglions/index.d.ts +0 -7
  43. package/dist/component/3d/sideBar/index.d.ts +0 -73
  44. package/dist/component/3d/stlLoader/index.d.ts +0 -9
  45. package/dist/component/3d/swctree/index.d.ts +0 -3
  46. package/dist/component/3d/tabViewer/index.d.ts +0 -13
  47. package/dist/component/STAM.d.ts +0 -4
  48. package/dist/component/common/Button/index.d.ts +0 -45
  49. package/dist/component/common/Header/index.d.ts +0 -19
  50. package/dist/component/common/index.d.ts +0 -2
  51. package/dist/component/index.d.ts +0 -2
  52. package/dist/component/types/header.d.ts +0 -9
  53. package/dist/component/types/index.d.ts +0 -1
  54. package/dist/component/util/CommonFunctions.d.ts +0 -23
  55. package/dist/component/util/global.d.ts +0 -17
  56. package/dist/component/util/i18n.d.ts +0 -3
  57. package/dist/component/util/index.d.ts +0 -2
  58. package/dist/deflate-b61ee4a7.js +0 -1
  59. package/dist/deflate-db9b1342.mjs +0 -12
  60. package/dist/index-2ff68cde.js +0 -5024
  61. package/dist/index-b0743e50.mjs +0 -162676
  62. package/dist/index.d.ts +0 -1
  63. package/dist/index.js +0 -1
  64. package/dist/index.mjs +0 -52
  65. package/dist/jpeg-335c778f.mjs +0 -515
  66. package/dist/jpeg-f3c7cefc.js +0 -1
  67. package/dist/lerc-d8ba474e.js +0 -1
  68. package/dist/lerc-f314aeda.mjs +0 -1035
  69. package/dist/lzw-82d7fc69.mjs +0 -84
  70. package/dist/lzw-f00e8c8c.js +0 -1
  71. package/dist/main.d.ts +0 -1
  72. package/dist/packbits-58fd9c05.js +0 -1
  73. package/dist/packbits-8b95f4d7.mjs +0 -24
  74. package/dist/raw-9c0f4034.js +0 -1
  75. package/dist/raw-c0fe1c20.mjs +0 -9
  76. package/dist/stories/3Ddata.stories.d.ts +0 -12
  77. package/dist/stories/3Dlabel.d.ts +0 -4
  78. package/dist/stories/3Dlabelreglions.d.ts +0 -4
  79. package/dist/stories/3Dlable.stories.d.ts +0 -12
  80. package/dist/stories/3Dlablereglions.stories.d.ts +0 -12
  81. package/dist/stories/3Dneurons.d.ts +0 -4
  82. package/dist/stories/3Dneurons.stories.d.ts +0 -12
  83. package/dist/stories/3Dswc.stories.d.ts +0 -12
  84. package/dist/stories/ArlasViewer.stories.d.ts +0 -12
  85. package/dist/stories/AtlasViewer.d.ts +0 -3
  86. package/dist/stories/Button.stories.d.ts +0 -25
  87. package/dist/stories/Distribution.stories.d.ts +0 -11
  88. package/dist/stories/Header.stories.d.ts +0 -31
  89. package/dist/stories/MulfiViewer.stories.d.ts +0 -11
  90. package/dist/stories/Page.d.ts +0 -3
  91. package/dist/stories/Page.stories.d.ts +0 -15
  92. package/dist/stories/Sangjiviewer.stories.d.ts +0 -14
  93. package/dist/stories/Soma.d.ts +0 -4
  94. package/dist/stories/Soma.stories.d.ts +0 -12
  95. package/dist/stories/Task3D.stories.d.ts +0 -12
  96. package/dist/stories/Thumbnail.stories.d.ts +0 -25
  97. package/dist/stories/Vessel.d.ts +0 -4
  98. package/dist/stories/Vessel.stories.d.ts +0 -12
  99. package/dist/stories/chartviewer.stories.d.ts +0 -20
  100. package/dist/stories/lengthviewer.stories.d.ts +0 -17
  101. package/dist/stories/navtree.stories.d.ts +0 -25
  102. package/dist/stories/registration.stories.d.ts +0 -12
  103. package/dist/stories/task3D.d.ts +0 -4
  104. package/dist/stories/tast1.stories.d.ts +0 -11
  105. package/dist/stories/twoview.stories.d.ts +0 -31
  106. package/dist/style.css +0 -1
  107. package/dist/webimage-affb95d1.mjs +0 -19
  108. package/dist/webimage-bc81928d.js +0 -1
  109. package/package-lock.json +0 -30352
@@ -15,9 +15,9 @@ module.exports = function expressMiddleware(router) {
15
15
  router.use(
16
16
  "/app-api/up-api",
17
17
  createProxyMiddleware("/app-api/up-api",{
18
- target: "http://atlas.brainsmatics.org/app-api/up-api/",
18
+ // target: "http://atlas.brainsmatics.org/app-api/up-api/",
19
19
 
20
- // target: "http://mouse.brains-atlas.org",
20
+ target: "http://192.168.70.115:3000",
21
21
  pathRewrite: {
22
22
  '^/app-api/up-api': '', // 将路径中的 /api 重写为空字符串
23
23
  },
@@ -0,0 +1,3 @@
1
+ {
2
+ "typescript.tsdk": "node_modules/typescript/lib"
3
+ }
package/Dockerfile CHANGED
@@ -1,19 +1,18 @@
1
1
  # 使用 Node.js 18 的 Alpine 版本作为基础镜像
2
- FROM node:18-alpine
2
+ FROM node:19-alpine
3
3
 
4
4
  # 设置工作目录
5
5
  WORKDIR /app
6
6
 
7
7
  # 复制 package.json 和 yarn.lock
8
- COPY package.json yarn.lock ./
8
+ COPY package.json .
9
9
 
10
10
  # 安装项目依赖
11
11
  RUN yarn install --frozen-lockfile --ignore-scripts
12
12
  # 复制项目文件
13
- COPY . .
14
13
 
15
14
  # 暴露应用运行的端口
16
15
  EXPOSE 6006
17
16
 
18
17
  # 启动应用
19
- CMD ["yarn", "run", "storybook"]
18
+ # CMD ["yarn", "run", "storybook"]
@@ -6,6 +6,6 @@ services:
6
6
  ports:
7
7
  - "6006:6006"
8
8
  volumes:
9
- - .:/app
9
+ - /opt/brain_ui:/app
10
10
  - /app/node_modules
11
11
  command: tail -f /dev/null
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brainsmatics",
3
- "version": "1.0.47",
3
+ "version": "1.0.49",
4
4
  "description": "brainsmatics",
5
5
  "author": "ygwang",
6
6
  "license": "MIT",
@@ -15,23 +15,30 @@
15
15
  "react-dom": ">=18.0.0"
16
16
  },
17
17
  "dependencies": {
18
+ "@ant-design/x": "^1.1.0",
18
19
  "@babel/preset-react": "7.22.15",
19
20
  "@rollup/plugin-typescript": "11.1.5",
20
21
  "@storybook/addon-console": "^3.0.0",
21
22
  "@types/echarts": "^4.9.22",
22
23
  "@types/three": "0.157.2",
23
- "antd": "^5.19.2",
24
+ "antd": "^5.24.6",
24
25
  "cross-env": "7.0.3",
26
+ "dompurify": "^3.2.5",
25
27
  "echarts": "^5.5.1",
26
28
  "geotiff": "^2.1.3",
27
29
  "http-proxy-middleware": "^2.0.6",
28
30
  "i18next": "^24.0.4",
31
+ "markdown-it": "^14.1.0",
29
32
  "react": "18.x",
30
33
  "react-contexify": "^6.0.0",
31
34
  "react-dom": "18.x",
32
35
  "react-i18next": "^15.1.3",
36
+ "react-markdown": "^10.1.0",
33
37
  "react-scroll": "^1.9.0",
38
+ "react-syntax-highlighter": "^15.6.1",
34
39
  "react-window": "^1.8.9",
40
+ "rehype-raw": "^7.0.0",
41
+ "remark-gfm": "^4.0.1",
35
42
  "socket.io-client": "^4.8.1",
36
43
  "three": "0.157.0",
37
44
  "tiff": "^6.0.0",
package/dist/App.d.ts DELETED
@@ -1,4 +0,0 @@
1
- import './App.css';
2
- import React from 'react';
3
- declare const App: () => React.JSX.Element;
4
- export default App;
@@ -1 +0,0 @@
1
- "use strict";function l(o,e){let t=o.length-e,r=0;do{for(let a=e;a>0;a--)o[r+e]+=o[r],r++;t-=e}while(t>0)}function d(o,e,t){let r=0,a=o.length;const i=a/t;for(;a>e;){for(let n=e;n>0;--n)o[r+e]+=o[r],++r;a-=e}const s=o.slice();for(let n=0;n<i;++n)for(let c=0;c<t;++c)o[t*n+c]=s[(t-c-1)*i+n]}function f(o,e,t,r,a,i){if(!e||e===1)return o;for(let c=0;c<a.length;++c){if(a[c]%8!==0)throw new Error("When decoding with predictor, only multiple of 8 bits are supported.");if(a[c]!==a[0])throw new Error("When decoding with predictor, all samples must have the same size.")}const s=a[0]/8,n=i===2?1:a.length;for(let c=0;c<r&&!(c*n*t*s>=o.byteLength);++c){let h;if(e===2){switch(a[0]){case 8:h=new Uint8Array(o,c*n*t*s,n*t*s);break;case 16:h=new Uint16Array(o,c*n*t*s,n*t*s/2);break;case 32:h=new Uint32Array(o,c*n*t*s,n*t*s/4);break;default:throw new Error(`Predictor 2 not allowed with ${a[0]} bits per sample.`)}l(h,n)}else e===3&&(h=new Uint8Array(o,c*n*t*s,n*t*s),d(h,n,s))}return o}class g{async decode(e,t){const r=await this.decodeBlock(t),a=e.Predictor||1;if(a!==1){const i=!e.StripOffsets,s=i?e.TileWidth:e.ImageWidth,n=i?e.TileLength:e.RowsPerStrip||e.ImageLength;return f(r,a,s,n,e.BitsPerSample,e.PlanarConfiguration)}return r}}exports.BaseDecoder=g;
@@ -1,89 +0,0 @@
1
- function l(o, n) {
2
- let t = o.length - n, r = 0;
3
- do {
4
- for (let a = n; a > 0; a--)
5
- o[r + n] += o[r], r++;
6
- t -= n;
7
- } while (t > 0);
8
- }
9
- function d(o, n, t) {
10
- let r = 0, a = o.length;
11
- const i = a / t;
12
- for (; a > n; ) {
13
- for (let e = n; e > 0; --e)
14
- o[r + n] += o[r], ++r;
15
- a -= n;
16
- }
17
- const s = o.slice();
18
- for (let e = 0; e < i; ++e)
19
- for (let c = 0; c < t; ++c)
20
- o[t * e + c] = s[(t - c - 1) * i + e];
21
- }
22
- function f(o, n, t, r, a, i) {
23
- if (!n || n === 1)
24
- return o;
25
- for (let c = 0; c < a.length; ++c) {
26
- if (a[c] % 8 !== 0)
27
- throw new Error("When decoding with predictor, only multiple of 8 bits are supported.");
28
- if (a[c] !== a[0])
29
- throw new Error("When decoding with predictor, all samples must have the same size.");
30
- }
31
- const s = a[0] / 8, e = i === 2 ? 1 : a.length;
32
- for (let c = 0; c < r && !(c * e * t * s >= o.byteLength); ++c) {
33
- let h;
34
- if (n === 2) {
35
- switch (a[0]) {
36
- case 8:
37
- h = new Uint8Array(
38
- o,
39
- c * e * t * s,
40
- e * t * s
41
- );
42
- break;
43
- case 16:
44
- h = new Uint16Array(
45
- o,
46
- c * e * t * s,
47
- e * t * s / 2
48
- );
49
- break;
50
- case 32:
51
- h = new Uint32Array(
52
- o,
53
- c * e * t * s,
54
- e * t * s / 4
55
- );
56
- break;
57
- default:
58
- throw new Error(`Predictor 2 not allowed with ${a[0]} bits per sample.`);
59
- }
60
- l(h, e);
61
- } else
62
- n === 3 && (h = new Uint8Array(
63
- o,
64
- c * e * t * s,
65
- e * t * s
66
- ), d(h, e, s));
67
- }
68
- return o;
69
- }
70
- class g {
71
- async decode(n, t) {
72
- const r = await this.decodeBlock(t), a = n.Predictor || 1;
73
- if (a !== 1) {
74
- const i = !n.StripOffsets, s = i ? n.TileWidth : n.ImageWidth, e = i ? n.TileLength : n.RowsPerStrip || n.ImageLength;
75
- return f(
76
- r,
77
- a,
78
- s,
79
- e,
80
- n.BitsPerSample,
81
- n.PlanarConfiguration
82
- );
83
- }
84
- return r;
85
- }
86
- }
87
- export {
88
- g as B
89
- };
@@ -1,40 +0,0 @@
1
- export declare const config: {
2
- x: number;
3
- y: number;
4
- z: number;
5
- };
6
- export declare const rotate: {
7
- x: number;
8
- y: number;
9
- z: number;
10
- };
11
- export declare const zif = true;
12
- export declare const distribution = true;
13
- export declare const items: {
14
- label: string;
15
- key: string;
16
- }[];
17
- export declare const menu: {
18
- label: string;
19
- key: string;
20
- }[];
21
- export declare const ZifData: {
22
- Width: number;
23
- Height: number;
24
- voxelResolution: number;
25
- Coronal: {
26
- count: number;
27
- zif_start: string;
28
- zif_end: string;
29
- };
30
- Sagittal: {
31
- count: number;
32
- zif_start: string;
33
- zif_end: string;
34
- };
35
- Horizontal: {
36
- count: number;
37
- zif_start: string;
38
- zif_end: string;
39
- };
40
- };
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const App: React.FC;
3
- export default App;
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import "./index.css";
3
- declare const Distribution: React.FC;
4
- export default Distribution;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import './index.css';
3
- declare const GridViewer: ({ orgX, orgY, ZifData, setMouse }: {
4
- orgX: number;
5
- orgY: number;
6
- ZifData: any;
7
- setMouse: React.Dispatch<React.SetStateAction<number[]>>;
8
- }) => React.JSX.Element;
9
- export default GridViewer;
@@ -1,8 +0,0 @@
1
- import React from "react";
2
- import "./index.css";
3
- declare const GridViewer: React.MemoExoticComponent<({ isGridViewer, setMouse, ZifData }: {
4
- isGridViewer: boolean;
5
- setMouse: React.Dispatch<React.SetStateAction<number[]>>;
6
- ZifData: any;
7
- }) => React.JSX.Element | null>;
8
- export default GridViewer;
@@ -1,9 +0,0 @@
1
- export { default as GridViewer } from "./gridviewer";
2
- export { default as NavTree } from "./navtree";
3
- export { default as NaviGation } from "./navigation";
4
- export { default as InfoDiv } from "./infodiv";
5
- export { default as TwoViewer } from "./twoviewer";
6
- export { default as Thumbnail } from "./thumbnail";
7
- export { default as MulfiViewer } from "./mulifiveiewer";
8
- export { default as Distribution } from "./distribution";
9
- export { default as Z } from "./js/index.js";
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- declare const InfoDiv: ({ mouse, hovername, CurrentLevel }: {
3
- mouse: number[];
4
- hovername: string;
5
- CurrentLevel: number;
6
- }) => React.JSX.Element;
7
- export default InfoDiv;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const MulfiViewer1: React.FC;
3
- export default MulfiViewer1;
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import './index.css';
3
- declare const MulfiViewer: React.FC;
4
- export default MulfiViewer;
@@ -1,12 +0,0 @@
1
- import './index.css';
2
- import React from 'react';
3
- declare const NaviGation: React.MemoExoticComponent<({ CurrentLevel, fbxname, threeview, TotalLevel, data_path, setCurrentLevel, Z }: {
4
- CurrentLevel: number;
5
- fbxname: string;
6
- threeview?: string | undefined;
7
- TotalLevel: number;
8
- data_path: string;
9
- setCurrentLevel: React.Dispatch<React.SetStateAction<number>>;
10
- Z: any;
11
- }) => React.JSX.Element>;
12
- export default NaviGation;
@@ -1,13 +0,0 @@
1
- import React from "react";
2
- import "./index.css";
3
- declare const NavTree: React.MemoExoticComponent<({ data_path, json, fbxname, layerxyz, setfbxname, CurrentLevel, setCurrentLevel, Z, }: {
4
- data_path: string;
5
- json: string;
6
- fbxname: string;
7
- layerxyz: string;
8
- CurrentLevel: number;
9
- setCurrentLevel: React.Dispatch<React.SetStateAction<number>>;
10
- setfbxname: React.Dispatch<React.SetStateAction<string>>;
11
- Z: any;
12
- }) => React.JSX.Element>;
13
- export default NavTree;
@@ -1,20 +0,0 @@
1
- export declare const ZifData: {
2
- Width: number;
3
- Height: number;
4
- voxelResolution: number;
5
- Coronal: {
6
- count: number;
7
- zif_start: string;
8
- zif_end: string;
9
- };
10
- Sagittal: {
11
- count: number;
12
- zif_start: string;
13
- zif_end: string;
14
- };
15
- Horizontal: {
16
- count: number;
17
- zif_start: string;
18
- zif_end: string;
19
- };
20
- };
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import './index.css';
3
- declare const Tast1: React.FC;
4
- export default Tast1;
@@ -1,14 +0,0 @@
1
- import React from "react";
2
- import "./index.css";
3
- declare const VirtualList: ({ items, layerxyz, itemDimensions, itemCount, CurrentLevel, setCurrentLevel, }: {
4
- items: string[];
5
- layerxyz: string;
6
- itemDimensions: {
7
- width: number;
8
- height: number;
9
- };
10
- itemCount: number;
11
- CurrentLevel: number;
12
- setCurrentLevel: React.Dispatch<React.SetStateAction<number>>;
13
- }) => React.JSX.Element;
14
- export default VirtualList;
@@ -1,12 +0,0 @@
1
- import "./index.css";
2
- import React from "react";
3
- declare const Thumbnail: React.MemoExoticComponent<({ data_path, layerxyz, TotalLevel, CurrentLevel, setCurrentLevel, isListVisible, setListVisible, }: {
4
- data_path: string;
5
- layerxyz: string;
6
- TotalLevel: number;
7
- CurrentLevel: number;
8
- setCurrentLevel: React.Dispatch<React.SetStateAction<number>>;
9
- isListVisible: boolean;
10
- setListVisible: React.Dispatch<React.SetStateAction<boolean>>;
11
- }) => React.JSX.Element>;
12
- export default Thumbnail;
@@ -1,19 +0,0 @@
1
- import React from "react";
2
- import "./index.css";
3
- declare const TwoViewer: React.MemoExoticComponent<({ data_path, layer, CurrentLevel, isListVisible, setListVisible, isGridViewer, setGridViewer, is3DViewer, set3DViewer, ZifData, fbxname, Z, threeview, setCurrentLevel, }: {
4
- data_path: string;
5
- layer: string;
6
- CurrentLevel: number;
7
- isListVisible: boolean;
8
- setListVisible: React.Dispatch<React.SetStateAction<boolean>>;
9
- isGridViewer: boolean;
10
- setGridViewer: React.Dispatch<React.SetStateAction<boolean>>;
11
- is3DViewer: boolean;
12
- set3DViewer: React.Dispatch<React.SetStateAction<boolean>>;
13
- setCurrentLevel: React.Dispatch<React.SetStateAction<number>>;
14
- ZifData: any;
15
- fbxname: string;
16
- Z: any;
17
- threeview?: string | undefined;
18
- }) => React.JSX.Element>;
19
- export default TwoViewer;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import "./index.css";
3
- interface ChildProps {
4
- loadAssign: (name: string) => void;
5
- }
6
- declare const AIChatWindow: React.FC<ChildProps>;
7
- export default AIChatWindow;
@@ -1,31 +0,0 @@
1
- import React from "react";
2
- import { DataNode } from "antd/es/tree";
3
- import "../util/i18n";
4
- interface dataType extends DataNode {
5
- name: string;
6
- open: boolean;
7
- path: string;
8
- color: string;
9
- children: any;
10
- nameflag?: string;
11
- fullname: string;
12
- x: string;
13
- y: string;
14
- z: string;
15
- cname: string;
16
- }
17
- interface AtlasProps {
18
- atlasTopography: string;
19
- cerebralVessels?: dataType[];
20
- datumMarks?: never[];
21
- atlasOntology: never[];
22
- atlasColormap?: React.MutableRefObject<any>;
23
- resourceTab: string[];
24
- toolTab: string[];
25
- ScaleNum: number;
26
- lang?: string;
27
- home?: string;
28
- ServerUrl?: string;
29
- }
30
- declare const Atlas: React.FC<AtlasProps>;
31
- export default Atlas;
@@ -1,19 +0,0 @@
1
- import React from "react";
2
- import { TrackballControls } from "three/examples/jsm/controls/TrackballControls";
3
- import "./index.css";
4
- import { BaseOptionType, DefaultOptionType } from "antd/es/select";
5
- interface tabsProps {
6
- t: any;
7
- controls: React.MutableRefObject<TrackballControls>;
8
- setUpdatePage: React.Dispatch<React.SetStateAction<{}>>;
9
- setShowSettingModal: React.Dispatch<React.SetStateAction<boolean>>;
10
- il8n: any;
11
- auxRef: React.MutableRefObject<any>;
12
- activetabIndex: React.MutableRefObject<number>;
13
- index: boolean;
14
- home?: string;
15
- Selectoptions: (BaseOptionType | DefaultOptionType)[];
16
- setFormshow: React.Dispatch<React.SetStateAction<boolean>>;
17
- }
18
- declare const AtlasBottomTabs: React.FC<tabsProps>;
19
- export default AtlasBottomTabs;
@@ -1,79 +0,0 @@
1
- import React from "react";
2
- import './index.css';
3
- import type { DataNode } from 'antd/es/tree';
4
- import * as THREE from 'three';
5
- import { BaseOptionType, DefaultOptionType } from "antd/es/select";
6
- interface dataType extends DataNode {
7
- name: string;
8
- open: boolean;
9
- path: string;
10
- color: string;
11
- children: any;
12
- nameflag?: string;
13
- fullname: string;
14
- x: string;
15
- y: string;
16
- z: string;
17
- cname: string;
18
- }
19
- interface SideBarProps {
20
- regionData: string;
21
- treeDatas: dataType[];
22
- fbxTreeDatas?: dataType[];
23
- vesselObj: React.MutableRefObject<{}>;
24
- offset_factor_R?: React.MutableRefObject<number>;
25
- type: string;
26
- leftTreeRef?: React.RefObject<HTMLDivElement>;
27
- baozhaRef?: React.RefObject<HTMLDivElement>;
28
- needBaozha?: boolean;
29
- offset_factor?: number;
30
- step_offset?: React.MutableRefObject<number>;
31
- renderer: THREE.WebGLRenderer;
32
- dataUrl?: React.MutableRefObject<string>;
33
- axis_font: React.MutableRefObject<THREE.Mesh[]>;
34
- t: any;
35
- title?: string;
36
- json_name?: string;
37
- setdatum?: React.Dispatch<React.SetStateAction<boolean>>;
38
- ref?: any;
39
- StepsCount?: number;
40
- showimage?: boolean;
41
- checkItems: string[];
42
- setCheckItems: React.Dispatch<React.SetStateAction<string[]>>;
43
- outflag?: boolean;
44
- clickPoint: React.MutableRefObject<THREE.Vector3>;
45
- setendPoint?: React.Dispatch<React.SetStateAction<THREE.Vector3>>;
46
- automaticGroup?: React.MutableRefObject<string[]>;
47
- mode: number;
48
- axon_check?: Record<string, {
49
- up: string[];
50
- down: string[];
51
- soma: string[];
52
- axon: string[];
53
- id: number;
54
- }>;
55
- swcnameMesh?: React.MutableRefObject<{}>;
56
- updatePage?: {};
57
- childRef?: React.MutableRefObject<undefined>;
58
- setEchartValue?: React.Dispatch<React.SetStateAction<string>>;
59
- echartValue?: string;
60
- auxRef?: React.MutableRefObject<any>;
61
- PointShow?: React.MutableRefObject<{
62
- start: boolean;
63
- end: boolean;
64
- start_color: string;
65
- }>;
66
- tasktype: string;
67
- swclist?: string[];
68
- metadata?: boolean;
69
- resourceTab?: string[];
70
- atlasData?: string;
71
- setSelected?: React.Dispatch<React.SetStateAction<string[]>>;
72
- Selected?: string[];
73
- Selectoptions?: (BaseOptionType | DefaultOptionType)[];
74
- setFormshow?: React.Dispatch<React.SetStateAction<boolean>>;
75
- formshow?: boolean;
76
- }
77
- export declare let sphereflag: boolean;
78
- declare const AtlasSideBar: React.FC<SideBarProps>;
79
- export default AtlasSideBar;
@@ -1,110 +0,0 @@
1
- import * as THREE from "three";
2
- import React from 'react';
3
- import { TrackballControls } from "three/examples/jsm/controls/TrackballControls";
4
- import "./index.css";
5
- import { EffectComposer } from 'three/examples/jsm/postprocessing/EffectComposer';
6
- interface AuxiliaryProps {
7
- regionData: string;
8
- setoffset_factor: React.Dispatch<React.SetStateAction<number>>;
9
- baozhaRef: React.RefObject<HTMLDivElement>;
10
- t?: any;
11
- ref?: any;
12
- hrefStr: string;
13
- leftTreeRef: React.RefObject<HTMLDivElement>;
14
- centerRef: React.RefObject<HTMLDivElement>;
15
- angleRef: React.MutableRefObject<string>;
16
- jiaoduRef: React.MutableRefObject<string>;
17
- mouseflag: React.MutableRefObject<boolean>;
18
- renderer: THREE.WebGLRenderer;
19
- controls: React.MutableRefObject<TrackballControls>;
20
- offset_factor_R: React.MutableRefObject<number>;
21
- menutagShow: boolean;
22
- startselect: React.MutableRefObject<boolean>;
23
- linemeshs_jing: React.MutableRefObject<THREE.Line>;
24
- points: React.MutableRefObject<any[]>;
25
- points2: React.MutableRefObject<any[]>;
26
- setMenuTag: React.Dispatch<React.SetStateAction<any[]>>;
27
- activetabIndex?: React.MutableRefObject<number>;
28
- fetchCoordinateFunc: React.MutableRefObject<(point: THREE.Vector3) => THREE.Vector3>;
29
- material: React.MutableRefObject<THREE.RawShaderMaterial>;
30
- setShowimage: React.Dispatch<React.SetStateAction<boolean>>;
31
- childRef: React.MutableRefObject<any>;
32
- checkItems: string[];
33
- setoutflag: React.Dispatch<React.SetStateAction<boolean>>;
34
- outflag: boolean;
35
- setendPoint: React.Dispatch<React.SetStateAction<THREE.Vector3>>;
36
- clickPoint: React.MutableRefObject<THREE.Vector3>;
37
- outflagRef: React.MutableRefObject<boolean>;
38
- axis_font: React.MutableRefObject<THREE.Mesh[]>;
39
- setdatum?: React.Dispatch<React.SetStateAction<boolean>>;
40
- modeChoose: boolean;
41
- setShowModeChoose: React.Dispatch<React.SetStateAction<boolean>>;
42
- virusModeValue: React.MutableRefObject<string>;
43
- setShowTabNums: React.Dispatch<React.SetStateAction<number>>;
44
- pipelineClickEvent: React.MutableRefObject<any>;
45
- automaticGroup: React.MutableRefObject<string[]>;
46
- focusVirusLineItem: string;
47
- setMenuTagShow: React.Dispatch<React.SetStateAction<boolean>>;
48
- responsefunc: React.MutableRefObject<() => void>;
49
- mode: number;
50
- setCheckItems: React.Dispatch<React.SetStateAction<string[]>>;
51
- setLeftMenuTabIndex: React.Dispatch<React.SetStateAction<number>>;
52
- updatePage: {};
53
- swcItem: string;
54
- axon_check?: Record<string, {
55
- up: string[];
56
- down: string[];
57
- soma: string[];
58
- axon: string[];
59
- id: number;
60
- }>;
61
- swcnameMesh: React.MutableRefObject<{}>;
62
- setMode: React.Dispatch<React.SetStateAction<number>>;
63
- vesselStr: string;
64
- lableStr: string;
65
- vesselRef: React.MutableRefObject<undefined>;
66
- swcRef: React.MutableRefObject<undefined>;
67
- setShowSettingModal: React.Dispatch<React.SetStateAction<boolean>>;
68
- showSettingModal: boolean;
69
- fbxTreeDatas: never[];
70
- composer: EffectComposer;
71
- setEchartValue: React.Dispatch<React.SetStateAction<string>>;
72
- echartValue?: string;
73
- setLuguchecked: React.Dispatch<React.SetStateAction<number>>;
74
- Luguchecked: number;
75
- setSectionsInfo: React.Dispatch<React.SetStateAction<{
76
- gray?: string | undefined;
77
- brains?: string | undefined;
78
- top?: number | undefined;
79
- left?: number | undefined;
80
- }>>;
81
- sectionsInfo: {
82
- gray?: string | undefined;
83
- brains?: string | undefined;
84
- top?: number | undefined;
85
- left?: number | undefined;
86
- };
87
- sectionsInfoRef: React.MutableRefObject<{
88
- gray?: number | undefined;
89
- brains?: string | undefined;
90
- top?: number | undefined;
91
- left?: number | undefined;
92
- }>;
93
- gray_value: React.MutableRefObject<any>;
94
- datum: boolean;
95
- setGridShow: React.Dispatch<React.SetStateAction<boolean>>;
96
- PointShow: React.MutableRefObject<{
97
- start: boolean;
98
- end: boolean;
99
- start_color: string;
100
- }>;
101
- nodeStr: {
102
- name?: string;
103
- Lable?: string;
104
- };
105
- lefttab: string[];
106
- righttab: string[];
107
- atlasData: string;
108
- }
109
- declare const Auxiliary: React.FC<AuxiliaryProps>;
110
- export default Auxiliary;
@@ -1,16 +0,0 @@
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 BottomTabs: React.FC<tabsProps>;
16
- export default BottomTabs;