brainsmatics 1.1.1 → 1.1.3
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/component/3d/aichat/index.d.ts +4 -0
- package/dist/component/3d/auxiliary/index.d.ts +2 -0
- package/dist/component/3d/functionLoop/index.d.ts +14 -0
- package/dist/component/3d/functionLoopSwc/index.d.ts +15 -0
- package/dist/component/3d/index.d.ts +2 -0
- package/dist/component/3d/markdown/index.d.ts +3 -3
- package/dist/component/3d/pipeline/index.d.ts +1 -0
- package/dist/component/util/global.d.ts +9 -0
- package/dist/{deflate-3575bb80.mjs → deflate-15fb7dad.mjs} +1 -1
- package/dist/{deflate-ac330064.js → deflate-7af54791.js} +1 -1
- package/dist/{index-7dd7817e.mjs → index-0b91bfdf.mjs} +111260 -67795
- package/dist/index-de4a2866.js +5808 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +42 -39
- package/dist/{lerc-b1cb60c6.mjs → lerc-6bddd197.mjs} +1 -1
- package/dist/{lerc-101dcfb7.js → lerc-a22e97ff.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index-b54fad25.js +0 -5226
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './index.module.css';
|
|
3
|
+
export declare function sendQuery(query: string, currentConversationId: string | null, signal: AbortSignal, onUpdate?: (contentChunk: string) => void, onConversationIdUpdate?: (conversationId: string) => void): Promise<{
|
|
4
|
+
answer: string;
|
|
5
|
+
conversationId: string | null;
|
|
6
|
+
}>;
|
|
3
7
|
interface ChildProps {
|
|
4
8
|
loadAssign: (name: string) => void;
|
|
5
9
|
tip: string;
|
|
@@ -3,6 +3,7 @@ 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
|
+
import { SwcTreeItem } from "../../util/global";
|
|
6
7
|
interface AuxiliaryProps {
|
|
7
8
|
regionData: string;
|
|
8
9
|
setoffset_factor: React.Dispatch<React.SetStateAction<number>>;
|
|
@@ -110,6 +111,7 @@ interface AuxiliaryProps {
|
|
|
110
111
|
tip: string;
|
|
111
112
|
setTip: React.Dispatch<React.SetStateAction<string>>;
|
|
112
113
|
startRegionAnimation: React.MutableRefObject<boolean>;
|
|
114
|
+
setFunctionLoopSwcData: React.Dispatch<React.SetStateAction<SwcTreeItem[]>>;
|
|
113
115
|
}
|
|
114
116
|
declare const Auxiliary: React.FC<AuxiliaryProps>;
|
|
115
117
|
export default Auxiliary;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
import { SwcTreeItem } from "../../util/global";
|
|
4
|
+
interface FunctionloopProps {
|
|
5
|
+
t: (key: string) => string;
|
|
6
|
+
loadFunctionLoopFBX: (key: string) => void;
|
|
7
|
+
style: React.CSSProperties;
|
|
8
|
+
setFunctionLoopSwcData: React.Dispatch<React.SetStateAction<SwcTreeItem[]>>;
|
|
9
|
+
fbxCheckItems: string[];
|
|
10
|
+
rightTabIndex: number;
|
|
11
|
+
setLeftMenuTabIndex: React.Dispatch<React.SetStateAction<number>>;
|
|
12
|
+
}
|
|
13
|
+
declare const Functionloop: React.FC<FunctionloopProps>;
|
|
14
|
+
export default Functionloop;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface SwcTreeItem {
|
|
3
|
+
name: string;
|
|
4
|
+
type: string;
|
|
5
|
+
show: boolean;
|
|
6
|
+
url: string;
|
|
7
|
+
image: string;
|
|
8
|
+
path: string[];
|
|
9
|
+
}
|
|
10
|
+
interface FunctionLoopSwcProps {
|
|
11
|
+
functionLoopSwcData: SwcTreeItem[];
|
|
12
|
+
t: any;
|
|
13
|
+
}
|
|
14
|
+
declare const FunctionLoopSwc: React.FC<FunctionLoopSwcProps>;
|
|
15
|
+
export default FunctionLoopSwc;
|
|
@@ -12,3 +12,5 @@ export { default as AtlasSideBar } from "./atlasSiderBar";
|
|
|
12
12
|
export { default as AtlasBottomTabs } from "./atlasBottomTabs";
|
|
13
13
|
export { default as Carddata } from "./cardData";
|
|
14
14
|
export { default as Atlas } from "./atlas";
|
|
15
|
+
export { default as FunctionLoop } from "./functionLoop";
|
|
16
|
+
export { default as FunctionLoopSwc } from "./functionLoopSwc";
|
|
@@ -79,6 +79,7 @@ interface propsType {
|
|
|
79
79
|
setNodeStr: React.Dispatch<React.SetStateAction<{}>>;
|
|
80
80
|
regionData: string;
|
|
81
81
|
mouseIsHoverbrainRegionPoints: React.MutableRefObject<boolean>;
|
|
82
|
+
auxRef: React.MutableRefObject<any>;
|
|
82
83
|
}
|
|
83
84
|
export declare var sphereBig: THREE.Mesh<THREE.SphereGeometry, THREE.MeshPhongMaterial, THREE.Object3DEventMap>;
|
|
84
85
|
export declare var sphereMiddelClick: THREE.Mesh<THREE.ConeGeometry, THREE.MeshPhongMaterial, THREE.Object3DEventMap>;
|
|
@@ -7,6 +7,7 @@ export declare const scale: MutableRefObject<number>;
|
|
|
7
7
|
export declare const tranX: MutableRefObject<number>;
|
|
8
8
|
export declare const tranY: MutableRefObject<number>;
|
|
9
9
|
export declare const tranZ: MutableRefObject<number>;
|
|
10
|
+
export declare const currentPathAbortController: MutableRefObject<AbortController | null>;
|
|
10
11
|
export declare const fbxmeshs: MutableRefObject<Record<string, THREE.Object3D>>;
|
|
11
12
|
export declare const fbxmeshs_jing: MutableRefObject<Record<string, THREE.Object3D>>;
|
|
12
13
|
export declare const mirrorDisplayTag: MutableRefObject<boolean>;
|
|
@@ -28,3 +29,11 @@ export interface brainRegionDataType {
|
|
|
28
29
|
Text: string;
|
|
29
30
|
Type: string;
|
|
30
31
|
}
|
|
32
|
+
export interface SwcTreeItem {
|
|
33
|
+
name: string;
|
|
34
|
+
type: string;
|
|
35
|
+
show: boolean;
|
|
36
|
+
url: string;
|
|
37
|
+
image: string;
|
|
38
|
+
path: string[];
|
|
39
|
+
}
|
|
@@ -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-de4a2866.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;
|