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.
@@ -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?: dataType[];
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<unknown>;
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?: React.MutableRefObject<URL>;
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?: React.MutableRefObject<unknown>;
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 UserUploadProps {
4
+ export interface AtlasUserUploadProps {
5
5
  embedded?: boolean;
6
6
  onFolderChange?: (folderKey: string) => void;
7
7
  onFileUpdated?: () => void;
8
8
  }
9
- export interface UserUploadHandle {
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 UserUpload: React.ForwardRefExoticComponent<UserUploadProps & React.RefAttributes<UserUploadHandle>>;
17
- export default UserUpload;
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 { type ComputeAngles } from "../computeAngles";
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 { type ComputeAngles } from "../computeAngles";
5
+ import type { ComputeAngles } from "../computeAngles";
6
6
  interface propsType {
7
7
  renderer?: THREE.WebGLRenderer;
8
8
  controls?: React.MutableRefObject<TrackballControls>;
@@ -0,0 +1,3 @@
1
+ export declare const saveAuthKeyToBrowser: (value?: string) => string;
2
+ /** Load config.json's authKey from the current server and persist it in the browser. */
3
+ export declare const initializeAuthKey: () => Promise<string>;
@@ -1,4 +1,4 @@
1
- import { i as r } from "./index-9eb91231.mjs";
1
+ import { i as r } from "./index-be998de2.mjs";
2
2
  import { B as o } from "./basedecoder-11034ec6.mjs";
3
3
  import "react";
4
4
  import "react-dom";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-22969a19.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;
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;