brainsmatics 1.0.27 → 1.0.29
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/.dockerignore +1 -0
- package/Dockerfile +19 -0
- package/LICENSE +21 -21
- package/dist/component/3d/ai/index.d.ts +4 -1
- package/dist/component/3d/auxiliary/index.d.ts +6 -3
- package/dist/component/3d/bottomTabs/index.d.ts +1 -1
- package/dist/component/3d/sideBar/index.d.ts +1 -1
- package/dist/component/util/CommonFunctions.d.ts +1 -1
- package/dist/component/util/global.d.ts +1 -1
- package/dist/{deflate-8168bb6c.mjs → deflate-bc2f5878.mjs} +1 -1
- package/dist/{deflate-6812f4b0.js → deflate-fd030590.js} +1 -1
- package/dist/{index-b55d2b55.js → index-4a8df519.js} +420 -336
- package/dist/{index-fbd8c1d2.mjs → index-9ffe6cd0.mjs} +37083 -36939
- package/dist/index.html +38 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{lerc-1572fcf4.js → lerc-451551c1.js} +1 -1
- package/dist/{lerc-c27dd1d7.mjs → lerc-8f87b457.mjs} +1 -1
- package/docker-compose.yml +11 -0
- package/index.html +13 -13
- package/package.json +3 -3
- package/removePublishRules.js +1 -1
- package/tsconfig.json +1 -1
- package/.vscode/settings.json +0 -3
- package/dist/Isocortex.stl +0 -107718
- package/dist/component/2d/gridviewer/GridViewer.d.ts +0 -4
- package/dist/component/2d/infodiv/InfoDiv.d.ts +0 -3
- package/dist/component/2d/js/index.d.ts +0 -3
- package/dist/component/2d/js/index.js +0 -59517
- package/dist/component/2d/mulifiveiewer/MulfiViewer.d.ts +0 -3
- package/dist/component/2d/navigation/NaviGation.d.ts +0 -4
- package/dist/component/2d/navtree/NavTree.d.ts +0 -8
- package/dist/component/2d/thumbnail/Thumbnail.d.ts +0 -8
- package/dist/component/2d/twoveiewer/2DViewer.d.ts +0 -7
- package/dist/new2.js +0 -8226
- package/dist/vite.svg +0 -1
package/.dockerignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
public
|
package/Dockerfile
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# 使用 Node.js 18 的 Alpine 版本作为基础镜像
|
|
2
|
+
FROM node:18-alpine
|
|
3
|
+
|
|
4
|
+
# 设置工作目录
|
|
5
|
+
WORKDIR /app
|
|
6
|
+
|
|
7
|
+
# 复制 package.json 和 yarn.lock
|
|
8
|
+
COPY package.json yarn.lock ./
|
|
9
|
+
|
|
10
|
+
# 安装项目依赖
|
|
11
|
+
RUN yarn install --frozen-lockfile --ignore-scripts
|
|
12
|
+
# 复制项目文件
|
|
13
|
+
COPY . .
|
|
14
|
+
|
|
15
|
+
# 暴露应用运行的端口
|
|
16
|
+
EXPOSE 6006
|
|
17
|
+
|
|
18
|
+
# 启动应用
|
|
19
|
+
CMD ["yarn", "run", "storybook"]
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2018 Chroma Software Inc.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018 Chroma Software Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -28,7 +28,7 @@ interface AuxiliaryProps {
|
|
|
28
28
|
fetchCoordinateFunc: React.MutableRefObject<(point: THREE.Vector3) => THREE.Vector3>;
|
|
29
29
|
material: React.MutableRefObject<THREE.RawShaderMaterial>;
|
|
30
30
|
setShowimage: React.Dispatch<React.SetStateAction<boolean>>;
|
|
31
|
-
childRef: React.MutableRefObject<
|
|
31
|
+
childRef: React.MutableRefObject<any>;
|
|
32
32
|
checkItems: string[];
|
|
33
33
|
setoutflag: React.Dispatch<React.SetStateAction<boolean>>;
|
|
34
34
|
outflag: boolean;
|
|
@@ -62,7 +62,7 @@ interface AuxiliaryProps {
|
|
|
62
62
|
showSettingModal: boolean;
|
|
63
63
|
fbxTreeDatas: never[];
|
|
64
64
|
composer: EffectComposer;
|
|
65
|
-
setEchartValue
|
|
65
|
+
setEchartValue: React.Dispatch<React.SetStateAction<string>>;
|
|
66
66
|
echartValue?: string;
|
|
67
67
|
setLuguchecked: React.Dispatch<React.SetStateAction<number>>;
|
|
68
68
|
Luguchecked: number;
|
|
@@ -92,7 +92,10 @@ interface AuxiliaryProps {
|
|
|
92
92
|
end: boolean;
|
|
93
93
|
start_color: string;
|
|
94
94
|
}>;
|
|
95
|
-
nodeStr: {
|
|
95
|
+
nodeStr: {
|
|
96
|
+
name?: string;
|
|
97
|
+
Lable?: string;
|
|
98
|
+
};
|
|
96
99
|
lefttab: string[];
|
|
97
100
|
righttab: string[];
|
|
98
101
|
}
|
|
@@ -7,7 +7,7 @@ interface tabsProps {
|
|
|
7
7
|
setUpdatePage: React.Dispatch<React.SetStateAction<{}>>;
|
|
8
8
|
setShowSettingModal: React.Dispatch<React.SetStateAction<boolean>>;
|
|
9
9
|
il8n: any;
|
|
10
|
-
auxRef: React.MutableRefObject<
|
|
10
|
+
auxRef: React.MutableRefObject<any>;
|
|
11
11
|
activetabIndex: React.MutableRefObject<number>;
|
|
12
12
|
index: boolean;
|
|
13
13
|
home?: string;
|
|
@@ -50,7 +50,7 @@ interface SideBarProps {
|
|
|
50
50
|
childRef?: React.MutableRefObject<undefined>;
|
|
51
51
|
setEchartValue?: React.Dispatch<React.SetStateAction<string>>;
|
|
52
52
|
echartValue?: string;
|
|
53
|
-
auxRef?: React.MutableRefObject<
|
|
53
|
+
auxRef?: React.MutableRefObject<any>;
|
|
54
54
|
PointShow?: React.MutableRefObject<{
|
|
55
55
|
start: boolean;
|
|
56
56
|
end: boolean;
|
|
@@ -16,7 +16,7 @@ interface LoadFBXOptions {
|
|
|
16
16
|
export declare const LoadsceneFBX: (options: LoadFBXOptions, extractedSurface?: React.MutableRefObject<THREE.Object3D | null>) => void;
|
|
17
17
|
export declare const LoadFBX: (filepath: string, index: string, color: string, opacity?: number, offsetZ?: number, mytype?: string, callback?: () => void) => void;
|
|
18
18
|
export declare const findNodeListByfather: (fatherkey: string, tree: any) => any[];
|
|
19
|
-
export declare const findChildrenByKey: (key: string, tree:
|
|
19
|
+
export declare const findChildrenByKey: (key: string, tree: any[]) => string[];
|
|
20
20
|
export declare const findNodeByName: (key: string, tree: any) => any;
|
|
21
21
|
export declare const getParentKey: (key: string, tree: any) => string;
|
|
22
22
|
export declare const findfatherlist: (key: string, tree: any[]) => string[];
|
|
@@ -10,7 +10,7 @@ export declare const tranZ: MutableRefObject<number>;
|
|
|
10
10
|
export declare const fbxmeshs: MutableRefObject<Record<string, THREE.Object3D>>;
|
|
11
11
|
export declare const fbxmeshs_jing: MutableRefObject<Record<string, THREE.Object3D>>;
|
|
12
12
|
export declare const mirrorDisplayTag: MutableRefObject<boolean>;
|
|
13
|
-
export declare const node_data: MutableRefObject<Record<string, number>>;
|
|
13
|
+
export declare const node_data: MutableRefObject<Record<string, [THREE.Vector3, number] | number>>;
|
|
14
14
|
export declare let bbox: {
|
|
15
15
|
min: THREE.Vector3;
|
|
16
16
|
max: THREE.Vector3;
|
|
@@ -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-4a8df519.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;
|