brainsmatics 1.1.97 → 1.1.98
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/atlas.d.ts +5 -5
- package/dist/component/3d/atlasuserUpload/index.d.ts +4 -4
- package/dist/component/3d/auxiliary/index.d.ts +1 -1
- package/dist/component/3d/index.d.ts +2 -0
- package/dist/component/3d/pipeline/index.d.ts +1 -1
- package/dist/component/3d/util/authKey.d.ts +3 -0
- package/dist/{deflate-7fe46729.mjs → deflate-83d64ce5.mjs} +1 -1
- package/dist/{deflate-038152cd.js → deflate-d92d1c90.js} +1 -1
- package/dist/{index-22969a19.js → index-854fceb5.js} +672 -779
- package/dist/{index-9eb91231.mjs → index-be998de2.mjs} +86856 -82757
- package/dist/index.js +1 -1
- package/dist/index.mjs +73 -72
- package/dist/{lerc-6c48456c.mjs → lerc-6607ec5a.mjs} +1 -1
- package/dist/{lerc-aa73a9b6.js → lerc-9d2990fb.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { DataNode } from "antd/es/tree";
|
|
3
|
+
import "../util/i18n";
|
|
3
4
|
interface dataType extends DataNode {
|
|
4
5
|
name: string;
|
|
5
6
|
open: boolean;
|
|
6
7
|
path: string;
|
|
7
8
|
color: string;
|
|
8
|
-
children
|
|
9
|
+
children: any;
|
|
9
10
|
nameflag?: string;
|
|
10
11
|
fullname: string;
|
|
11
12
|
x: string;
|
|
12
13
|
y: string;
|
|
13
14
|
z: string;
|
|
14
15
|
cname: string;
|
|
15
|
-
"3D"?: boolean;
|
|
16
16
|
}
|
|
17
17
|
interface AtlasProps {
|
|
18
18
|
atlasTopography: string;
|
|
19
19
|
cerebralVessels?: dataType[];
|
|
20
20
|
datumMarks?: never[];
|
|
21
21
|
atlasOntology: never[];
|
|
22
|
-
atlasColormap?: React.MutableRefObject<
|
|
22
|
+
atlasColormap?: React.MutableRefObject<any>;
|
|
23
23
|
resourceTab: string[];
|
|
24
24
|
toolTab: string[];
|
|
25
25
|
ScaleNum: number;
|
|
26
26
|
lang?: string;
|
|
27
27
|
home?: string;
|
|
28
28
|
ServerUrl?: string;
|
|
29
|
-
urlRef
|
|
29
|
+
urlRef: React.MutableRefObject<URL>;
|
|
30
30
|
datasetOptions?: {
|
|
31
31
|
label: string;
|
|
32
32
|
value: string;
|
|
@@ -36,7 +36,7 @@ interface AtlasProps {
|
|
|
36
36
|
pluginTreeDatas?: dataType[];
|
|
37
37
|
pluginRegionData?: string;
|
|
38
38
|
pluginRegionFiles?: string[];
|
|
39
|
-
fbxCenters
|
|
39
|
+
fbxCenters: React.MutableRefObject<any>;
|
|
40
40
|
}
|
|
41
41
|
declare const Atlas: React.FC<AtlasProps>;
|
|
42
42
|
export default Atlas;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import "./index.css";
|
|
3
3
|
export type DisclosureLevel = 'private' | 'metadata_only' | 'aggregated' | 'full_access';
|
|
4
|
-
interface
|
|
4
|
+
export interface AtlasUserUploadProps {
|
|
5
5
|
embedded?: boolean;
|
|
6
6
|
onFolderChange?: (folderKey: string) => void;
|
|
7
7
|
onFileUpdated?: () => void;
|
|
8
8
|
}
|
|
9
|
-
export interface
|
|
9
|
+
export interface AtlasUserUploadHandle {
|
|
10
10
|
openFolder: (folderKey: string) => void;
|
|
11
11
|
clear: () => void;
|
|
12
12
|
refresh: () => Promise<void>;
|
|
13
13
|
getSelectedFolder: () => string;
|
|
14
14
|
getApiKey: () => string;
|
|
15
15
|
}
|
|
16
|
-
declare const
|
|
17
|
-
export default
|
|
16
|
+
declare const AtlasUserUpload: React.ForwardRefExoticComponent<AtlasUserUploadProps & React.RefAttributes<AtlasUserUploadHandle>>;
|
|
17
|
+
export default AtlasUserUpload;
|
|
@@ -4,7 +4,7 @@ import { TrackballControls } from "three/examples/jsm/controls/TrackballControls
|
|
|
4
4
|
import "./index.css";
|
|
5
5
|
import { EffectComposer } from 'three/examples/jsm/postprocessing/EffectComposer.js';
|
|
6
6
|
import { SwcTreeItem } from "../../util/global";
|
|
7
|
-
import {
|
|
7
|
+
import type { ComputeAngles } from "../computeAngles";
|
|
8
8
|
interface AuxiliaryProps {
|
|
9
9
|
regionData?: string;
|
|
10
10
|
setoffset_factor?: React.Dispatch<React.SetStateAction<number>>;
|
|
@@ -16,6 +16,8 @@ export { default as Atlas } from "./atlas";
|
|
|
16
16
|
export { default as FunctionLoop } from "./functionLoop";
|
|
17
17
|
export { default as FunctionLoopSwc } from "./functionLoopSwc";
|
|
18
18
|
export { default as UserUpload } from "./userUpload";
|
|
19
|
+
export { default as AtlasUserUpload } from "./atlasuserUpload";
|
|
20
|
+
export type { AtlasUserUploadHandle, AtlasUserUploadProps } from "./atlasuserUpload";
|
|
19
21
|
export { default as UploadComponent } from "./uploadComponent";
|
|
20
22
|
export { default as AtlasUploadComponent } from "./atlasuploadComponent";
|
|
21
23
|
export { default as VolumeAnalysis } from "./volumeAnalysis";
|
|
@@ -2,7 +2,7 @@ import * as THREE from "three";
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { TrackballControls } from 'three/examples/jsm/controls/TrackballControls.js';
|
|
4
4
|
import "./index.css";
|
|
5
|
-
import {
|
|
5
|
+
import type { ComputeAngles } from "../computeAngles";
|
|
6
6
|
interface propsType {
|
|
7
7
|
renderer?: THREE.WebGLRenderer;
|
|
8
8
|
controls?: React.MutableRefObject<TrackballControls>;
|
|
@@ -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-854fceb5.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;
|