brainsmatics 1.0.25 → 1.0.27

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 (34) hide show
  1. package/dist/component/3d/ai/index.d.ts +4 -3
  2. package/dist/component/3d/atlas.d.ts +33 -0
  3. package/dist/component/3d/auxiliary/index.d.ts +100 -0
  4. package/dist/component/3d/bottomTabs/index.d.ts +16 -0
  5. package/dist/component/3d/index.d.ts +11 -0
  6. package/dist/component/3d/modal2DLoader/index.d.ts +11 -0
  7. package/dist/component/3d/modalLoader/index.d.ts +13 -0
  8. package/dist/component/3d/pipeline/index.d.ts +77 -0
  9. package/dist/component/3d/section/index.d.ts +53 -0
  10. package/dist/component/3d/showreglions/index.d.ts +7 -0
  11. package/dist/component/3d/sideBar/index.d.ts +66 -0
  12. package/dist/component/3d/stlLoader/index.d.ts +9 -0
  13. package/dist/component/3d/swctree/index.d.ts +3 -0
  14. package/dist/component/STAM.d.ts +4 -0
  15. package/dist/component/common/Button/index.d.ts +45 -0
  16. package/dist/component/common/Header/index.d.ts +19 -0
  17. package/dist/component/common/index.d.ts +2 -0
  18. package/dist/component/types/header.d.ts +9 -0
  19. package/dist/component/types/index.d.ts +1 -0
  20. package/dist/component/util/CommonFunctions.d.ts +23 -0
  21. package/dist/component/util/global.d.ts +17 -0
  22. package/dist/component/util/i18n.d.ts +3 -0
  23. package/dist/component/util/index.d.ts +2 -0
  24. package/dist/{deflate-cc4fbf28.js → deflate-6812f4b0.js} +1 -1
  25. package/dist/{deflate-42ad30a4.mjs → deflate-8168bb6c.mjs} +1 -1
  26. package/dist/{index-589b0d4e.js → index-b55d2b55.js} +101 -101
  27. package/dist/{index-360967aa.mjs → index-fbd8c1d2.mjs} +3515 -3515
  28. package/dist/index.js +1 -1
  29. package/dist/index.mjs +1 -1
  30. package/dist/{lerc-28acbd54.js → lerc-1572fcf4.js} +1 -1
  31. package/dist/{lerc-dfd28971.mjs → lerc-c27dd1d7.mjs} +1 -1
  32. package/dist/style.css +1 -1
  33. package/package.json +1 -1
  34. package/removePublishRules.js +1 -1
@@ -1,3 +1,4 @@
1
- import React from "react";
2
- declare const aiComponent: React.FC;
3
- export default aiComponent;
1
+ import React from 'react';
2
+ import "./index.css";
3
+ declare const AIChatWindow: () => React.JSX.Element;
4
+ export default AIChatWindow;
@@ -0,0 +1,33 @@
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
+ nodeDistribution?: never[];
22
+ atlasOntology: never[];
23
+ atlasColormap?: React.MutableRefObject<any>;
24
+ neuronMorphologies?: never[];
25
+ resourceTab: string[];
26
+ toolTab: string[];
27
+ ScaleNum: number;
28
+ lang?: string;
29
+ home?: string;
30
+ ServerUrl?: string;
31
+ }
32
+ declare const Atlas: React.FC<AtlasProps>;
33
+ export default Atlas;
@@ -0,0 +1,100 @@
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.RefObject<HTMLDivElement>;
16
+ jiaoduRef: React.RefObject<HTMLDivElement>;
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<undefined>;
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?: any[];
55
+ swcnameMesh: React.MutableRefObject<{}>;
56
+ setMode: React.Dispatch<React.SetStateAction<number>>;
57
+ vesselStr: string;
58
+ lableStr: string;
59
+ vesselRef: React.MutableRefObject<undefined>;
60
+ swcRef: React.MutableRefObject<undefined>;
61
+ setShowSettingModal: React.Dispatch<React.SetStateAction<boolean>>;
62
+ showSettingModal: boolean;
63
+ fbxTreeDatas: never[];
64
+ composer: EffectComposer;
65
+ setEchartValue?: React.Dispatch<React.SetStateAction<string>>;
66
+ echartValue?: string;
67
+ setLuguchecked: React.Dispatch<React.SetStateAction<number>>;
68
+ Luguchecked: number;
69
+ setSectionsInfo: React.Dispatch<React.SetStateAction<{
70
+ gray?: string | undefined;
71
+ brains?: string | undefined;
72
+ top?: number | undefined;
73
+ left?: number | undefined;
74
+ }>>;
75
+ sectionsInfo: {
76
+ gray?: string | undefined;
77
+ brains?: string | undefined;
78
+ top?: number | undefined;
79
+ left?: number | undefined;
80
+ };
81
+ sectionsInfoRef: React.MutableRefObject<{
82
+ gray?: number | undefined;
83
+ brains?: string | undefined;
84
+ top?: number | undefined;
85
+ left?: number | undefined;
86
+ }>;
87
+ gray_value: React.MutableRefObject<any>;
88
+ datum: boolean;
89
+ setGridShow: React.Dispatch<React.SetStateAction<boolean>>;
90
+ PointShow: React.MutableRefObject<{
91
+ start: boolean;
92
+ end: boolean;
93
+ start_color: string;
94
+ }>;
95
+ nodeStr: {};
96
+ lefttab: string[];
97
+ righttab: string[];
98
+ }
99
+ declare const Auxiliary: React.FC<AuxiliaryProps>;
100
+ export default Auxiliary;
@@ -0,0 +1,16 @@
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<undefined>;
11
+ activetabIndex: React.MutableRefObject<number>;
12
+ index: boolean;
13
+ home?: string;
14
+ }
15
+ declare const BottomTabs: React.FC<tabsProps>;
16
+ export default BottomTabs;
@@ -0,0 +1,11 @@
1
+ export { default as SideBar } from "./sideBar";
2
+ export { default as PipeLine } from "./pipeline";
3
+ export { default as ModalLoader } from "./modalLoader";
4
+ export { default as Auxiliary } from "./auxiliary";
5
+ export { default as Sections } from "./section";
6
+ export { default as StlLoader } from "./stlLoader";
7
+ export { default as Modal2DLoader } from "./modal2DLoader";
8
+ export { default as BottomTabs } from "./bottomTabs";
9
+ export { default as Swctree } from "./swctree";
10
+ export { default as ShowReglions } from "./showreglions";
11
+ export { default as Atlas } from "./atlas";
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import "./index.css";
3
+ declare const Modal2DLoader: React.MemoExoticComponent<({ currentLevel, totalLevel, layerxyz, is3DViewer, setcurrentLevel, is2DViewer }: {
4
+ totalLevel: number;
5
+ is3DViewer: boolean;
6
+ setcurrentLevel: React.Dispatch<React.SetStateAction<number>>;
7
+ currentLevel: number;
8
+ layerxyz: string;
9
+ is2DViewer: boolean;
10
+ }) => React.JSX.Element>;
11
+ export default Modal2DLoader;
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import * as THREE from "three";
3
+ import './index.css';
4
+ interface LoaderProps {
5
+ regionData: string;
6
+ vesselObj?: React.MutableRefObject<{}>;
7
+ setbbox: React.Dispatch<React.SetStateAction<{
8
+ min: THREE.Vector3;
9
+ max: THREE.Vector3;
10
+ }>>;
11
+ }
12
+ declare const modalLoader: React.FC<LoaderProps>;
13
+ export default modalLoader;
@@ -0,0 +1,77 @@
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
+ interface propsType {
6
+ renderer: THREE.WebGLRenderer;
7
+ controls: React.MutableRefObject<TrackballControls>;
8
+ vesselObj: React.MutableRefObject<{}>;
9
+ currentRef: React.RefObject<HTMLDivElement> | null;
10
+ setHrefStr?: React.Dispatch<React.SetStateAction<string>>;
11
+ angleRef?: React.RefObject<HTMLDivElement>;
12
+ jiaoduRef?: React.RefObject<HTMLDivElement>;
13
+ mouseflag?: React.MutableRefObject<boolean>;
14
+ menutagShow?: boolean;
15
+ setMenuTagShow: React.Dispatch<React.SetStateAction<boolean>>;
16
+ menuTag?: any[];
17
+ pointDatas: any[];
18
+ datum: boolean;
19
+ axis_font: React.MutableRefObject<THREE.Mesh[]>;
20
+ startselect?: React.MutableRefObject<boolean>;
21
+ linemeshs_jing?: React.MutableRefObject<THREE.Line>;
22
+ points?: React.MutableRefObject<any[]>;
23
+ points2?: React.MutableRefObject<any[]>;
24
+ activetabIndex?: React.MutableRefObject<number>;
25
+ fetchCoordinateFunc?: React.MutableRefObject<(point: THREE.Vector3) => THREE.Vector3>;
26
+ checkItems: string[];
27
+ outflag?: boolean;
28
+ clickPoint: React.MutableRefObject<THREE.Vector3>;
29
+ endPoint: THREE.Vector3;
30
+ setoutflag: React.Dispatch<React.SetStateAction<boolean>>;
31
+ outflagRef: React.MutableRefObject<boolean>;
32
+ setShowModeChoose?: React.Dispatch<React.SetStateAction<boolean>>;
33
+ virusModeValue: React.MutableRefObject<string>;
34
+ pipelineClickEvent: React.MutableRefObject<any>;
35
+ setFocusVirusLineItem: React.Dispatch<React.SetStateAction<string>>;
36
+ focusVirusLineItem: string;
37
+ responsefunc: React.MutableRefObject<() => void>;
38
+ childRef: React.MutableRefObject<undefined>;
39
+ mode: React.MutableRefObject<number>;
40
+ setUpdatePage: React.Dispatch<React.SetStateAction<{}>>;
41
+ t?: any;
42
+ setSwcItem: React.Dispatch<React.SetStateAction<string>>;
43
+ swcItem: string;
44
+ swcnameMesh: React.MutableRefObject<{}>;
45
+ axon_check?: any[];
46
+ automaticGroup: React.MutableRefObject<string[]>;
47
+ setCheckItems: React.Dispatch<React.SetStateAction<string[]>>;
48
+ vesselRef: React.MutableRefObject<undefined>;
49
+ setLableStr: React.Dispatch<React.SetStateAction<string>>;
50
+ setVesselStr: React.Dispatch<React.SetStateAction<string>>;
51
+ vesselStr: string;
52
+ lableStr: string;
53
+ tabIndex: React.MutableRefObject<number>;
54
+ updatePage: {};
55
+ swcRef: React.MutableRefObject<undefined>;
56
+ Luguchecked: number;
57
+ setSectionsInfo: React.Dispatch<React.SetStateAction<{
58
+ gray?: string | undefined;
59
+ brains?: string | undefined;
60
+ top?: number | undefined;
61
+ left?: number | undefined;
62
+ }>>;
63
+ sectionsInfoRef: React.MutableRefObject<{
64
+ gray?: number | undefined;
65
+ brains?: string | undefined;
66
+ top?: number | undefined;
67
+ left?: number | undefined;
68
+ }>;
69
+ gray_value: React.MutableRefObject<any>;
70
+ gridShow: boolean;
71
+ setNodeStr: React.Dispatch<React.SetStateAction<{}>>;
72
+ regionData: string;
73
+ }
74
+ export declare var sphereBig: THREE.Mesh<THREE.SphereGeometry, THREE.MeshPhongMaterial, THREE.Object3DEventMap>;
75
+ export declare var sphereMiddelClick: THREE.Mesh<THREE.ConeGeometry, THREE.MeshPhongMaterial, THREE.Object3DEventMap>;
76
+ declare const PipeLine: React.FC<propsType>;
77
+ export default PipeLine;
@@ -0,0 +1,53 @@
1
+ import { TransformControls } from "three/examples/jsm/controls/TransformControls";
2
+ import * as THREE from "three";
3
+ import React from 'react';
4
+ import { TrackballControls } from "three/examples/jsm/controls/TrackballControls";
5
+ import { EffectComposer } from 'three/examples/jsm/postprocessing/EffectComposer';
6
+ interface positionUpdate {
7
+ positionx: number;
8
+ positiony: number;
9
+ positionz: number;
10
+ }
11
+ interface CubeSliceProps {
12
+ direction: number;
13
+ percentage: number;
14
+ pointMax: THREE.Vector3;
15
+ pointMin: THREE.Vector3;
16
+ color: THREE.Color | number;
17
+ sliceImgNum: number;
18
+ slicePath: string;
19
+ transformControls: React.MutableRefObject<TransformControls>;
20
+ controls: React.MutableRefObject<TrackballControls>;
21
+ handleStateUpdate?: (props: positionUpdate) => void;
22
+ canvas_width: React.MutableRefObject<number>;
23
+ canvas_height: React.MutableRefObject<number>;
24
+ cube_helper: React.MutableRefObject<THREE.Mesh>;
25
+ renderer: THREE.WebGLRenderer;
26
+ showMesh: boolean;
27
+ slice_arbitrary?: React.MutableRefObject<THREE.Mesh>;
28
+ normalVector?: React.MutableRefObject<THREE.Vector3 | null>;
29
+ canMouseMove?: boolean;
30
+ setAngleX: React.Dispatch<React.SetStateAction<number>>;
31
+ setAngleY: React.Dispatch<React.SetStateAction<number>>;
32
+ setAngleZ: React.Dispatch<React.SetStateAction<number>>;
33
+ gray_value: React.MutableRefObject<any>;
34
+ setSectionsInfo: React.Dispatch<React.SetStateAction<{
35
+ gray?: string | undefined;
36
+ brains?: string | undefined;
37
+ left?: number | undefined;
38
+ top?: number | undefined;
39
+ }>>;
40
+ sectionsInfoRef: React.MutableRefObject<{
41
+ gray?: number | undefined;
42
+ brains?: string | undefined;
43
+ top?: number | undefined;
44
+ left?: number | undefined;
45
+ }>;
46
+ sectionPointRef: React.MutableRefObject<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>>;
47
+ composer: EffectComposer;
48
+ menutagShowRef: React.MutableRefObject<boolean>;
49
+ tabIndex: number;
50
+ settransformControlsType?: React.Dispatch<React.SetStateAction<number>>;
51
+ }
52
+ declare const Sections: React.FC<CubeSliceProps>;
53
+ export default Sections;
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ interface propsType {
3
+ reglionsData: any;
4
+ LaleNanme: string;
5
+ }
6
+ declare const ShowReglions: React.FC<propsType>;
7
+ export default ShowReglions;
@@ -0,0 +1,66 @@
1
+ import React from "react";
2
+ import './index.css';
3
+ import type { DataNode } from 'antd/es/tree';
4
+ import * as THREE from 'three';
5
+ interface dataType extends DataNode {
6
+ name: string;
7
+ open: boolean;
8
+ path: string;
9
+ color: string;
10
+ children: any;
11
+ nameflag?: string;
12
+ fullname: string;
13
+ x: string;
14
+ y: string;
15
+ z: string;
16
+ cname: string;
17
+ }
18
+ interface SideBarProps {
19
+ regionData: string;
20
+ treeDatas: dataType[];
21
+ fbxTreeDatas?: dataType[];
22
+ vesselObj: React.MutableRefObject<{}>;
23
+ offset_factor_R?: React.MutableRefObject<number>;
24
+ type: string;
25
+ leftTreeRef?: React.RefObject<HTMLDivElement>;
26
+ baozhaRef?: React.RefObject<HTMLDivElement>;
27
+ needBaozha?: boolean;
28
+ offset_factor?: number;
29
+ step_offset?: React.MutableRefObject<number>;
30
+ renderer: THREE.WebGLRenderer;
31
+ dataUrl?: React.MutableRefObject<string>;
32
+ axis_font: React.MutableRefObject<THREE.Mesh[]>;
33
+ t: any;
34
+ title?: string;
35
+ json_name?: string;
36
+ setdatum?: React.Dispatch<React.SetStateAction<boolean>>;
37
+ ref?: any;
38
+ StepsCount?: number;
39
+ showimage?: boolean;
40
+ checkItems: string[];
41
+ setCheckItems: React.Dispatch<React.SetStateAction<string[]>>;
42
+ outflag?: boolean;
43
+ clickPoint: React.MutableRefObject<THREE.Vector3>;
44
+ setendPoint?: React.Dispatch<React.SetStateAction<THREE.Vector3>>;
45
+ automaticGroup?: React.MutableRefObject<string[]>;
46
+ mode: number;
47
+ axon_check?: any[];
48
+ swcnameMesh?: React.MutableRefObject<{}>;
49
+ updatePage?: {};
50
+ childRef?: React.MutableRefObject<undefined>;
51
+ setEchartValue?: React.Dispatch<React.SetStateAction<string>>;
52
+ echartValue?: string;
53
+ auxRef?: React.MutableRefObject<undefined>;
54
+ PointShow?: React.MutableRefObject<{
55
+ start: boolean;
56
+ end: boolean;
57
+ start_color: string;
58
+ }>;
59
+ tasktype: string;
60
+ swclist?: string[];
61
+ metadata?: boolean;
62
+ resourceTab?: string[];
63
+ }
64
+ export declare let sphereflag: boolean;
65
+ declare const SideBar: React.FC<SideBarProps>;
66
+ export default SideBar;
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import * as THREE from "three";
3
+ interface stlProps {
4
+ percentage: number;
5
+ layerxyz: string;
6
+ scene: React.MutableRefObject<THREE.Scene>;
7
+ }
8
+ declare const StlLoader: React.FC<stlProps>;
9
+ export default StlLoader;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const Swctree: () => React.JSX.Element;
3
+ export default Swctree;
@@ -0,0 +1,4 @@
1
+ export * from "./3d";
2
+ export * from "./common";
3
+ export * from "./types";
4
+ export * from "./util";
@@ -0,0 +1,45 @@
1
+ import React from 'react';
2
+ import PropTypes from 'prop-types';
3
+ import './index.css';
4
+ /**
5
+ * Primary UI component for user interaction
6
+ */
7
+ interface buttonProps {
8
+ primary?: boolean;
9
+ backgroundColor?: any;
10
+ size?: string;
11
+ label: string;
12
+ [key: string]: any;
13
+ }
14
+ export declare const Button: {
15
+ (props: buttonProps): React.JSX.Element;
16
+ propTypes: {
17
+ /**
18
+ * Is this the principal call to action on the page?
19
+ */
20
+ primary: PropTypes.Requireable<boolean>;
21
+ /**
22
+ * What background color to use
23
+ */
24
+ backgroundColor: PropTypes.Requireable<string>;
25
+ /**
26
+ * How large should the button be?
27
+ */
28
+ size: PropTypes.Requireable<string>;
29
+ /**
30
+ * Button contents
31
+ */
32
+ label: PropTypes.Validator<string>;
33
+ /**
34
+ * Optional click handler
35
+ */
36
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
37
+ };
38
+ defaultProps: {
39
+ backgroundColor: null;
40
+ primary: boolean;
41
+ size: string;
42
+ onClick: undefined;
43
+ };
44
+ };
45
+ export {};
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import PropTypes from 'prop-types';
3
+ import './index.css';
4
+ import { headerProps } from 'component';
5
+ declare const Header: {
6
+ (props: headerProps): React.JSX.Element;
7
+ propTypes: {
8
+ user: PropTypes.Requireable<PropTypes.InferProps<{
9
+ name: PropTypes.Validator<string>;
10
+ }>>;
11
+ onLogin: PropTypes.Validator<(...args: any[]) => any>;
12
+ onLogout: PropTypes.Validator<(...args: any[]) => any>;
13
+ onCreateAccount: PropTypes.Validator<(...args: any[]) => any>;
14
+ };
15
+ defaultProps: {
16
+ user: undefined;
17
+ };
18
+ };
19
+ export default Header;
@@ -0,0 +1,2 @@
1
+ export { default as Header } from "./Header";
2
+ export * from "./Button";
@@ -0,0 +1,9 @@
1
+ export interface userContent {
2
+ name: string;
3
+ }
4
+ export interface headerProps {
5
+ user?: userContent | undefined;
6
+ onLogin?: () => void;
7
+ onLogout?: () => void;
8
+ onCreateAccount?: () => void;
9
+ }
@@ -0,0 +1 @@
1
+ export * from "./header";
@@ -0,0 +1,23 @@
1
+ import * as THREE from "three";
2
+ export declare const fetchData: (url: string, callback: {
3
+ current: any;
4
+ } | ((data: any) => void)) => Promise<void>;
5
+ export declare const logMessage: (message: string) => void;
6
+ export declare const formatDate: (date: Date) => string;
7
+ interface LoadFBXOptions {
8
+ filepath: string;
9
+ index: string;
10
+ color: string;
11
+ opacity?: number;
12
+ offsetZ?: number;
13
+ R: number;
14
+ callback?: () => void;
15
+ }
16
+ export declare const LoadsceneFBX: (options: LoadFBXOptions, extractedSurface?: React.MutableRefObject<THREE.Object3D | null>) => void;
17
+ export declare const LoadFBX: (filepath: string, index: string, color: string, opacity?: number, offsetZ?: number, mytype?: string, callback?: () => void) => void;
18
+ export declare const findNodeListByfather: (fatherkey: string, tree: any) => any[];
19
+ export declare const findChildrenByKey: (key: string, tree: dataType[]) => string[];
20
+ export declare const findNodeByName: (key: string, tree: any) => any;
21
+ export declare const getParentKey: (key: string, tree: any) => string;
22
+ export declare const findfatherlist: (key: string, tree: any[]) => string[];
23
+ export {};
@@ -0,0 +1,17 @@
1
+ import * as THREE from 'three';
2
+ import { MutableRefObject } from 'react';
3
+ export declare const scene: MutableRefObject<THREE.Scene>;
4
+ export declare const cameralight: MutableRefObject<THREE.PointLight>;
5
+ export declare const camera: MutableRefObject<THREE.PerspectiveCamera>;
6
+ export declare const scale: MutableRefObject<number>;
7
+ export declare const tranX: MutableRefObject<number>;
8
+ export declare const tranY: MutableRefObject<number>;
9
+ export declare const tranZ: MutableRefObject<number>;
10
+ export declare const fbxmeshs: MutableRefObject<Record<string, THREE.Object3D>>;
11
+ export declare const fbxmeshs_jing: MutableRefObject<Record<string, THREE.Object3D>>;
12
+ export declare const mirrorDisplayTag: MutableRefObject<boolean>;
13
+ export declare const node_data: MutableRefObject<Record<string, number>>;
14
+ export declare let bbox: {
15
+ min: THREE.Vector3;
16
+ max: THREE.Vector3;
17
+ };
@@ -0,0 +1,3 @@
1
+ import i18n from 'i18next';
2
+ export declare function change_language(newLang: string): void;
3
+ export default i18n;
@@ -0,0 +1,2 @@
1
+ export * from "./CommonFunctions";
2
+ export * from "./global";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-589b0d4e.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-b55d2b55.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,4 +1,4 @@
1
- import { i as r } from "./index-360967aa.mjs";
1
+ import { i as r } from "./index-fbd8c1d2.mjs";
2
2
  import { B as o } from "./basedecoder-11034ec6.mjs";
3
3
  import "react";
4
4
  import "react-dom";