brainsmatics 1.0.29 → 1.0.31
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/App.d.ts +4 -4
- package/dist/component/2d/config.d.ts +40 -40
- package/dist/component/2d/contextmenu/ContextMenuX.d.ts +3 -3
- package/dist/component/2d/distribution/index.d.ts +4 -4
- package/dist/component/2d/gridviewer/index.d.ts +9 -9
- package/dist/component/2d/gridviewer/index1.d.ts +8 -8
- package/dist/component/2d/index.d.ts +9 -9
- package/dist/component/2d/infodiv/index.d.ts +7 -7
- package/dist/component/2d/js/index.d.ts +3 -0
- package/dist/component/2d/js/index.js +59517 -0
- package/dist/component/2d/modelloder.d.ts +3 -3
- package/dist/component/2d/mulifiveiewer/index.d.ts +4 -4
- package/dist/component/2d/navigation/index.d.ts +12 -12
- package/dist/component/2d/navtree/index.d.ts +13 -13
- package/dist/component/2d/tast1/config.d.ts +20 -20
- package/dist/component/2d/tast1/index.d.ts +4 -4
- package/dist/component/2d/thumbnail/VirtualList.d.ts +14 -14
- package/dist/component/2d/thumbnail/index.d.ts +12 -12
- package/dist/component/2d/twoviewer/index.d.ts +19 -19
- package/dist/component/3d/ai/index.d.ts +7 -7
- package/dist/component/3d/atlas.d.ts +33 -33
- package/dist/component/3d/auxiliary/index.d.ts +110 -103
- package/dist/component/3d/bottomTabs/index.d.ts +16 -16
- package/dist/component/3d/cardData/index.d.ts +3 -3
- package/dist/component/3d/chartViewer/index.d.ts +12 -12
- package/dist/component/3d/dataset/index.d.ts +3 -3
- package/dist/component/3d/index.d.ts +11 -11
- package/dist/component/3d/lengthViewer/index.d.ts +10 -10
- package/dist/component/3d/modal2DLoader/index.d.ts +11 -11
- package/dist/component/3d/modalLoader/index.d.ts +13 -13
- package/dist/component/3d/pipeline/index.d.ts +76 -77
- package/dist/component/3d/registration/index.d.ts +4 -4
- package/dist/component/3d/sangjiViewer/index.d.ts +6 -6
- package/dist/component/3d/section/index.d.ts +53 -53
- package/dist/component/3d/showreglions/index.d.ts +7 -7
- package/dist/component/3d/sideBar/index.d.ts +72 -66
- package/dist/component/3d/stlLoader/index.d.ts +9 -9
- package/dist/component/3d/swctree/index.d.ts +3 -3
- package/dist/component/3d/tabViewer/index.d.ts +13 -13
- package/dist/component/STAM.d.ts +4 -4
- package/dist/component/common/Button/index.d.ts +45 -45
- package/dist/component/common/Header/index.d.ts +19 -19
- package/dist/component/common/index.d.ts +2 -2
- package/dist/component/index.d.ts +2 -2
- package/dist/component/types/header.d.ts +9 -9
- package/dist/component/types/index.d.ts +1 -1
- package/dist/component/util/CommonFunctions.d.ts +23 -23
- package/dist/component/util/global.d.ts +17 -17
- package/dist/component/util/i18n.d.ts +3 -3
- package/dist/component/util/index.d.ts +2 -2
- package/dist/{deflate-fd030590.js → deflate-7ee40dd3.js} +1 -1
- package/dist/{deflate-bc2f5878.mjs → deflate-e918a370.mjs} +1 -1
- package/dist/{index-4a8df519.js → index-39446a35.js} +340 -313
- package/dist/{index-9ffe6cd0.mjs → index-ba7e3ea7.mjs} +21337 -21492
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{lerc-451551c1.js → lerc-0cc2a934.js} +1 -1
- package/dist/{lerc-8f87b457.mjs → lerc-d8759313.mjs} +1 -1
- package/dist/main.d.ts +1 -1
- package/dist/stories/3Ddata.stories.d.ts +12 -12
- package/dist/stories/3Dlabel.d.ts +4 -4
- package/dist/stories/3Dlabelreglions.d.ts +4 -4
- package/dist/stories/3Dlable.stories.d.ts +12 -12
- package/dist/stories/3Dlablereglions.stories.d.ts +12 -12
- package/dist/stories/3Dneurons.d.ts +4 -4
- package/dist/stories/3Dneurons.stories.d.ts +12 -12
- package/dist/stories/3Dswc.stories.d.ts +12 -12
- package/dist/stories/ArlasViewer.stories.d.ts +12 -12
- package/dist/stories/AtlasViewer.d.ts +3 -3
- package/dist/stories/Button.stories.d.ts +25 -25
- package/dist/stories/Distribution.stories.d.ts +11 -11
- package/dist/stories/Header.stories.d.ts +31 -31
- package/dist/stories/MulfiViewer.stories.d.ts +11 -11
- package/dist/stories/Page.d.ts +3 -3
- package/dist/stories/Page.stories.d.ts +15 -15
- package/dist/stories/Sangjiviewer.stories.d.ts +14 -14
- package/dist/stories/Soma.d.ts +4 -4
- package/dist/stories/Soma.stories.d.ts +12 -12
- package/dist/stories/Task3D.stories.d.ts +12 -12
- package/dist/stories/Thumbnail.stories.d.ts +25 -25
- package/dist/stories/Vessel.d.ts +4 -4
- package/dist/stories/Vessel.stories.d.ts +12 -12
- package/dist/stories/chartviewer.stories.d.ts +20 -20
- package/dist/stories/lengthviewer.stories.d.ts +17 -17
- package/dist/stories/navtree.stories.d.ts +25 -25
- package/dist/stories/registration.stories.d.ts +12 -12
- package/dist/stories/task3D.d.ts +4 -4
- package/dist/stories/tast1.stories.d.ts +11 -11
- package/dist/stories/twoview.stories.d.ts +31 -31
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/tsconfig.json +0 -1
- package/vite.config.js +1 -0
- package/dist/index.html +0 -38
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: {
|
|
5
|
-
(props: import("../component").headerProps): import("react").JSX.Element;
|
|
6
|
-
propTypes: {
|
|
7
|
-
user: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
8
|
-
name: import("prop-types").Validator<string>;
|
|
9
|
-
}>>;
|
|
10
|
-
onLogin: import("prop-types").Validator<(...args: any[]) => any>;
|
|
11
|
-
onLogout: import("prop-types").Validator<(...args: any[]) => any>;
|
|
12
|
-
onCreateAccount: import("prop-types").Validator<(...args: any[]) => any>;
|
|
13
|
-
};
|
|
14
|
-
defaultProps: {
|
|
15
|
-
user: undefined;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
tags: string[];
|
|
19
|
-
parameters: {
|
|
20
|
-
layout: string;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export default _default;
|
|
24
|
-
export declare const LoggedIn: {
|
|
25
|
-
args: {
|
|
26
|
-
user: {
|
|
27
|
-
name: string;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
export declare const LoggedOut: {};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: {
|
|
5
|
+
(props: import("../component").headerProps): import("react").JSX.Element;
|
|
6
|
+
propTypes: {
|
|
7
|
+
user: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
8
|
+
name: import("prop-types").Validator<string>;
|
|
9
|
+
}>>;
|
|
10
|
+
onLogin: import("prop-types").Validator<(...args: any[]) => any>;
|
|
11
|
+
onLogout: import("prop-types").Validator<(...args: any[]) => any>;
|
|
12
|
+
onCreateAccount: import("prop-types").Validator<(...args: any[]) => any>;
|
|
13
|
+
};
|
|
14
|
+
defaultProps: {
|
|
15
|
+
user: undefined;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
tags: string[];
|
|
19
|
+
parameters: {
|
|
20
|
+
layout: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export default _default;
|
|
24
|
+
export declare const LoggedIn: {
|
|
25
|
+
args: {
|
|
26
|
+
user: {
|
|
27
|
+
name: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export declare const LoggedOut: {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("react").FC<{}>;
|
|
5
|
-
tags: string[];
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const MulfiViewerStory: {};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").FC<{}>;
|
|
5
|
+
tags: string[];
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const MulfiViewerStory: {};
|
package/dist/stories/Page.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './page.css';
|
|
3
|
-
export declare const Page: React.FC;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './page.css';
|
|
3
|
+
export declare const Page: React.FC;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("react").FC<{}>;
|
|
5
|
-
parameters: {
|
|
6
|
-
layout: string;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
10
|
-
export declare const LoggedOut: {};
|
|
11
|
-
export declare const LoggedIn: {
|
|
12
|
-
play: ({ canvasElement }: {
|
|
13
|
-
canvasElement: any;
|
|
14
|
-
}) => Promise<void>;
|
|
15
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").FC<{}>;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
10
|
+
export declare const LoggedOut: {};
|
|
11
|
+
export declare const LoggedIn: {
|
|
12
|
+
play: ({ canvasElement }: {
|
|
13
|
+
canvasElement: any;
|
|
14
|
+
}) => Promise<void>;
|
|
15
|
+
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("react").FC<{
|
|
5
|
-
fbxTreeDatas: any[];
|
|
6
|
-
data: any;
|
|
7
|
-
}>;
|
|
8
|
-
tags: string[];
|
|
9
|
-
parameters: {
|
|
10
|
-
layout: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export default _default;
|
|
14
|
-
export declare const DistributionStory: {};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").FC<{
|
|
5
|
+
fbxTreeDatas: any[];
|
|
6
|
+
data: any;
|
|
7
|
+
}>;
|
|
8
|
+
tags: string[];
|
|
9
|
+
parameters: {
|
|
10
|
+
layout: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
14
|
+
export declare const DistributionStory: {};
|
package/dist/stories/Soma.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import './soma.css';
|
|
3
|
-
declare const Vessel: React.FC;
|
|
4
|
-
export default Vessel;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import './soma.css';
|
|
3
|
+
declare const Vessel: React.FC;
|
|
4
|
+
export default Vessel;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("react").FC<{}>;
|
|
5
|
-
parameters: {
|
|
6
|
-
layout: string;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
10
|
-
export declare const LoggedIn: {
|
|
11
|
-
args: {};
|
|
12
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").FC<{}>;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
10
|
+
export declare const LoggedIn: {
|
|
11
|
+
args: {};
|
|
12
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("react").FC<{}>;
|
|
5
|
-
parameters: {
|
|
6
|
-
layout: string;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
10
|
-
export declare const LoggedIn: {
|
|
11
|
-
args: {};
|
|
12
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").FC<{}>;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
10
|
+
export declare const LoggedIn: {
|
|
11
|
+
args: {};
|
|
12
|
+
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("react").MemoExoticComponent<({ data_path, layerxyz, TotalLevel, CurrentLevel, setCurrentLevel, isListVisible, setListVisible, }: {
|
|
5
|
-
data_path: string;
|
|
6
|
-
layerxyz: string;
|
|
7
|
-
TotalLevel: number;
|
|
8
|
-
CurrentLevel: number;
|
|
9
|
-
setCurrentLevel: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
10
|
-
isListVisible: boolean;
|
|
11
|
-
setListVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
12
|
-
}) => import("react").JSX.Element>;
|
|
13
|
-
tags: string[];
|
|
14
|
-
parameters: {
|
|
15
|
-
layout: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export default _default;
|
|
19
|
-
export declare const ThumbnailStory: {
|
|
20
|
-
args: {
|
|
21
|
-
layer: string;
|
|
22
|
-
CurrentLevel: number;
|
|
23
|
-
TotalLevel: number;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").MemoExoticComponent<({ data_path, layerxyz, TotalLevel, CurrentLevel, setCurrentLevel, isListVisible, setListVisible, }: {
|
|
5
|
+
data_path: string;
|
|
6
|
+
layerxyz: string;
|
|
7
|
+
TotalLevel: number;
|
|
8
|
+
CurrentLevel: number;
|
|
9
|
+
setCurrentLevel: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
10
|
+
isListVisible: boolean;
|
|
11
|
+
setListVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
12
|
+
}) => import("react").JSX.Element>;
|
|
13
|
+
tags: string[];
|
|
14
|
+
parameters: {
|
|
15
|
+
layout: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
19
|
+
export declare const ThumbnailStory: {
|
|
20
|
+
args: {
|
|
21
|
+
layer: string;
|
|
22
|
+
CurrentLevel: number;
|
|
23
|
+
TotalLevel: number;
|
|
24
|
+
};
|
|
25
|
+
};
|
package/dist/stories/Vessel.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import './vessel.css';
|
|
3
|
-
declare const Vessel: React.FC;
|
|
4
|
-
export default Vessel;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import './vessel.css';
|
|
3
|
+
declare const Vessel: React.FC;
|
|
4
|
+
export default Vessel;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("react").FC<{}>;
|
|
5
|
-
parameters: {
|
|
6
|
-
layout: string;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
10
|
-
export declare const LoggedIn: {
|
|
11
|
-
args: {};
|
|
12
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").FC<{}>;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
10
|
+
export declare const LoggedIn: {
|
|
11
|
+
args: {};
|
|
12
|
+
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("react").FC<{
|
|
5
|
-
axon_check: any[];
|
|
6
|
-
fbxTreeDatas: any[];
|
|
7
|
-
setLeftMenuTabIndex: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
8
|
-
reset: boolean;
|
|
9
|
-
swcRef: import("react").MutableRefObject<undefined>;
|
|
10
|
-
setIsChartOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
11
|
-
setChartValue: import("react").Dispatch<any>;
|
|
12
|
-
setEchartValue: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
13
|
-
}>;
|
|
14
|
-
tags: string[];
|
|
15
|
-
parameters: {
|
|
16
|
-
layout: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export default _default;
|
|
20
|
-
export declare const DistributionStory: {};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").FC<{
|
|
5
|
+
axon_check: any[];
|
|
6
|
+
fbxTreeDatas: any[];
|
|
7
|
+
setLeftMenuTabIndex: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
8
|
+
reset: boolean;
|
|
9
|
+
swcRef: import("react").MutableRefObject<undefined>;
|
|
10
|
+
setIsChartOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
11
|
+
setChartValue: import("react").Dispatch<any>;
|
|
12
|
+
setEchartValue: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
13
|
+
}>;
|
|
14
|
+
tags: string[];
|
|
15
|
+
parameters: {
|
|
16
|
+
layout: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export default _default;
|
|
20
|
+
export declare const DistributionStory: {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("react").FC<{
|
|
5
|
-
t: any;
|
|
6
|
-
data_change: any;
|
|
7
|
-
data_c: any;
|
|
8
|
-
col: string[];
|
|
9
|
-
row: string[];
|
|
10
|
-
}>;
|
|
11
|
-
tags: string[];
|
|
12
|
-
parameters: {
|
|
13
|
-
layout: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export default _default;
|
|
17
|
-
export declare const DistributionStory: {};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").FC<{
|
|
5
|
+
t: any;
|
|
6
|
+
data_change: any;
|
|
7
|
+
data_c: any;
|
|
8
|
+
col: string[];
|
|
9
|
+
row: string[];
|
|
10
|
+
}>;
|
|
11
|
+
tags: string[];
|
|
12
|
+
parameters: {
|
|
13
|
+
layout: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
17
|
+
export declare const DistributionStory: {};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("react").MemoExoticComponent<({ data_path, json, fbxname, layerxyz, setfbxname, CurrentLevel, setCurrentLevel, Z, }: {
|
|
5
|
-
data_path: string;
|
|
6
|
-
json: string;
|
|
7
|
-
fbxname: string;
|
|
8
|
-
layerxyz: string;
|
|
9
|
-
CurrentLevel: number;
|
|
10
|
-
setCurrentLevel: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
11
|
-
setfbxname: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
12
|
-
Z: any;
|
|
13
|
-
}) => import("react").JSX.Element>;
|
|
14
|
-
tags: string[];
|
|
15
|
-
parameters: {
|
|
16
|
-
layout: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export default _default;
|
|
20
|
-
export declare const NavTreeStory: {
|
|
21
|
-
args: {
|
|
22
|
-
json: string;
|
|
23
|
-
defaultSelectedKeys: string[];
|
|
24
|
-
};
|
|
25
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").MemoExoticComponent<({ data_path, json, fbxname, layerxyz, setfbxname, CurrentLevel, setCurrentLevel, Z, }: {
|
|
5
|
+
data_path: string;
|
|
6
|
+
json: string;
|
|
7
|
+
fbxname: string;
|
|
8
|
+
layerxyz: string;
|
|
9
|
+
CurrentLevel: number;
|
|
10
|
+
setCurrentLevel: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
11
|
+
setfbxname: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
12
|
+
Z: any;
|
|
13
|
+
}) => import("react").JSX.Element>;
|
|
14
|
+
tags: string[];
|
|
15
|
+
parameters: {
|
|
16
|
+
layout: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export default _default;
|
|
20
|
+
export declare const NavTreeStory: {
|
|
21
|
+
args: {
|
|
22
|
+
json: string;
|
|
23
|
+
defaultSelectedKeys: string[];
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("react").FC<{}>;
|
|
5
|
-
parameters: {
|
|
6
|
-
layout: string;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
10
|
-
export declare const LoggedIn: {
|
|
11
|
-
args: {};
|
|
12
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").FC<{}>;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
10
|
+
export declare const LoggedIn: {
|
|
11
|
+
args: {};
|
|
12
|
+
};
|
package/dist/stories/task3D.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import './soma.css';
|
|
3
|
-
declare const Task3D: React.FC;
|
|
4
|
-
export default Task3D;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import './soma.css';
|
|
3
|
+
declare const Task3D: React.FC;
|
|
4
|
+
export default Task3D;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("react").FC<{}>;
|
|
5
|
-
tags: string[];
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const DistributionStory: {};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").FC<{}>;
|
|
5
|
+
tags: string[];
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const DistributionStory: {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("react").MemoExoticComponent<({ data_path, layer, CurrentLevel, isListVisible, setListVisible, isGridViewer, setGridViewer, is3DViewer, set3DViewer, ZifData, fbxname, Z, threeview, setCurrentLevel, }: {
|
|
5
|
-
data_path: string;
|
|
6
|
-
layer: string;
|
|
7
|
-
CurrentLevel: number;
|
|
8
|
-
isListVisible: boolean;
|
|
9
|
-
setListVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
10
|
-
isGridViewer: boolean;
|
|
11
|
-
setGridViewer: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
12
|
-
is3DViewer: boolean;
|
|
13
|
-
set3DViewer: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
14
|
-
setCurrentLevel: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
15
|
-
ZifData: any;
|
|
16
|
-
fbxname: string;
|
|
17
|
-
Z: any;
|
|
18
|
-
threeview?: string | undefined;
|
|
19
|
-
}) => import("react").JSX.Element>;
|
|
20
|
-
tags: string[];
|
|
21
|
-
parameters: {
|
|
22
|
-
layout: string;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
export default _default;
|
|
26
|
-
export declare const TwoViewerStory: {
|
|
27
|
-
args: {
|
|
28
|
-
layer: string;
|
|
29
|
-
CurrentLevel: number;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").MemoExoticComponent<({ data_path, layer, CurrentLevel, isListVisible, setListVisible, isGridViewer, setGridViewer, is3DViewer, set3DViewer, ZifData, fbxname, Z, threeview, setCurrentLevel, }: {
|
|
5
|
+
data_path: string;
|
|
6
|
+
layer: string;
|
|
7
|
+
CurrentLevel: number;
|
|
8
|
+
isListVisible: boolean;
|
|
9
|
+
setListVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
10
|
+
isGridViewer: boolean;
|
|
11
|
+
setGridViewer: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
12
|
+
is3DViewer: boolean;
|
|
13
|
+
set3DViewer: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
14
|
+
setCurrentLevel: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
15
|
+
ZifData: any;
|
|
16
|
+
fbxname: string;
|
|
17
|
+
Z: any;
|
|
18
|
+
threeview?: string | undefined;
|
|
19
|
+
}) => import("react").JSX.Element>;
|
|
20
|
+
tags: string[];
|
|
21
|
+
parameters: {
|
|
22
|
+
layout: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export default _default;
|
|
26
|
+
export declare const TwoViewerStory: {
|
|
27
|
+
args: {
|
|
28
|
+
layer: string;
|
|
29
|
+
CurrentLevel: number;
|
|
30
|
+
};
|
|
31
|
+
};
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.grid-container{display:grid;position:absolute;grid-template-columns:repeat(10,1fr);width:100%;height:100%;margin:0 auto}.grid-container1{display:grid;position:absolute;width:100%;height:100%;margin:0 auto;align-content:stretch}.grid-column{background-color:#d4d0d05c;width:2px;height:100vh}.grid-row{background-color:#d4d0d05c;position:relative;width:100%;height:2px}#slider{width:300px;position:absolute;top:175px;left:45px;z-index:9}#nav_left{width:300px;height:600px;position:absolute;top:230px;left:50px;z-index:2}#nav_left .ant-dropdown-trigger{position:absolute;width:300px}#nav_left #nav_menu{position:absolute;top:35px;height:600px;width:auto}#nav_left #nav_menu #nav_div{position:absolute;width:100%}#nav_left #nav_menu #nav_div #nav_tree{height:360px;padding:5px;overflow:overlay;white-space:nowrap;border:1px solid #aaa;background-color:#fff}#nav_bottom{display:flex;width:100%;height:100px;position:fixed;bottom:0;z-index:1;flex-direction:row}#nav_bottom #nav_gation{display:flex;width:100%;flex-direction:row;justify-content:center}#nav_bottom #nav_gation table td{padding:5px}#nav_bottom #nav_gation table td input{width:80px}#nav_bottom #nav_gation table img{width:35px;height:35px;transition:transform .2s}#nav_bottom #nav_gation table img:hover{transform:scale(1.3)}#nav_bottom #info_div{position:absolute;height:100px;left:50px;background-color:#a1a0a087;padding-left:5px;padding-right:5px;display:flex;flex-direction:column;justify-content:center;width:210px;height:90px}table{background-color:#ffffff87}#zoomify-container{height:100%;position:relative;z-index:1}#nav_right{position:fixed;right:5px;top:20px;z-index:2}#ex{width:100%;position:fixed;top:0;height:100%;z-index:2;pointer-events:none}#open_btn{cursor:pointer;width:35px;height:35px;transition:transform .2s;position:absolute;top:20px;z-index:2}#open_btn:hover{width:40px;transform:scale(1.3)}#Thumbnail{position:relative;transition:right .3s ease}#Thumbnail.visible{right:0}.imgNum{position:absolute;bottom:0;left:0}.bregma{position:absolute;bottom:0;right:0}#list_img{box-sizing:border-box;cursor:pointer;transition:all .5s ease-out;overflow:hidden}#list_img img{width:100%}#list_img span{font-size:small}.img{width:20px}.lihover{list-style-type:none;padding:4px 15px;border-radius:2px;cursor:pointer;display:flex}.lihover:hover{background-color:#428bca;color:#fff}.img-icon{width:25px}.ant-tree-select-dropdown .ant-select-tree .ant-select-tree-switcher{display:flex;width:20px;align-items:center}.SwcTable .ant-table-cell{padding:12px 8px!important}.svgleft{margin-left:5px}.customDropDown{z-index:1000;position:absolute;transition:ease-in .3s;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d}.customDropDownItem:first-child{border-radius:6px 6px 0 0}.customDropDownItem:last-child{border-radius:0 0 6px 6px}.customDropDownItem{background:#fff;padding:6px 10px}.innerCustomDropDown{padding:5px;border-radius:6px}.innerCustomDropDown:hover{background:rgba(0,0,0,.1)}.pipeline_dropdown .ant-dropdown-menu{padding:10px}.gray-column{background-color:#a8a7a7!important}.ant-table-tbody>tr:hover{background-color:transparent!important}.ant-table-row>.ant-table-cell-row-hover{background:transparent!important}.celltable .ant-table-cell{padding:0!important}.column-has{border-right:#a8a7a7 1px solid!important}.celltable .ant-table-fixed{table-layout:fixed}.celltable .ant-table-tbody>tr>td{word-wrap:break-word;word-break:break-all;border-bottom-color:#fff}.celltitle_left{width:45%!important}.celltitle_right{width:50%!important}.tabsCompnent .ant-tabs-content-holder{background:#fff;padding:10px;overflow:hidden;border-left:1px solid rgb(225,218,218);border-radius:4px}.tabsCompnent .ant-tabs-content-holder .ant-tabs-content{-webkit-user-drag:none;-moz-user-drag:none;-ms-user-drag:none;user-drag:none}.tabsCompnent .ant-tabs-content-holder .ant-tabs-content .ant-tabs-tabpane{padding-right:0}.Echart .ant-modal-content{border-radius:0}.AIComponent{width:25px;height:25px;position:fixed;bottom:80px;right:10px}.AIComponent:hover{cursor:pointer;fill:#e9192a}.
|
|
1
|
+
.grid-container{display:grid;position:absolute;grid-template-columns:repeat(10,1fr);width:100%;height:100%;margin:0 auto}.grid-container1{display:grid;position:absolute;width:100%;height:100%;margin:0 auto;align-content:stretch}.grid-column{background-color:#d4d0d05c;width:2px;height:100vh}.grid-row{background-color:#d4d0d05c;position:relative;width:100%;height:2px}#slider{width:300px;position:absolute;top:175px;left:45px;z-index:9}#nav_left{width:300px;height:600px;position:absolute;top:230px;left:50px;z-index:2}#nav_left .ant-dropdown-trigger{position:absolute;width:300px}#nav_left #nav_menu{position:absolute;top:35px;height:600px;width:auto}#nav_left #nav_menu #nav_div{position:absolute;width:100%}#nav_left #nav_menu #nav_div #nav_tree{height:360px;padding:5px;overflow:overlay;white-space:nowrap;border:1px solid #aaa;background-color:#fff}#nav_bottom{display:flex;width:100%;height:100px;position:fixed;bottom:0;z-index:1;flex-direction:row}#nav_bottom #nav_gation{display:flex;width:100%;flex-direction:row;justify-content:center}#nav_bottom #nav_gation table td{padding:5px}#nav_bottom #nav_gation table td input{width:80px}#nav_bottom #nav_gation table img{width:35px;height:35px;transition:transform .2s}#nav_bottom #nav_gation table img:hover{transform:scale(1.3)}#nav_bottom #info_div{position:absolute;height:100px;left:50px;background-color:#a1a0a087;padding-left:5px;padding-right:5px;display:flex;flex-direction:column;justify-content:center;width:210px;height:90px}table{background-color:#ffffff87}#zoomify-container{height:100%;position:relative;z-index:1}#nav_right{position:fixed;right:5px;top:20px;z-index:2}#ex{width:100%;position:fixed;top:0;height:100%;z-index:2;pointer-events:none}#open_btn{cursor:pointer;width:35px;height:35px;transition:transform .2s;position:absolute;top:20px;z-index:2}#open_btn:hover{width:40px;transform:scale(1.3)}#Thumbnail{position:relative;transition:right .3s ease}#Thumbnail.visible{right:0}.imgNum{position:absolute;bottom:0;left:0}.bregma{position:absolute;bottom:0;right:0}#list_img{box-sizing:border-box;cursor:pointer;transition:all .5s ease-out;overflow:hidden}#list_img img{width:100%}#list_img span{font-size:small}.img{width:20px}.lihover{list-style-type:none;padding:4px 15px;border-radius:2px;cursor:pointer;display:flex}.lihover:hover{background-color:#428bca;color:#fff}.img-icon{width:25px}.ant-tree-select-dropdown .ant-select-tree .ant-select-tree-switcher{display:flex;width:20px;align-items:center}.SwcTable .ant-table-cell{padding:12px 8px!important}.svgleft{margin-left:5px}.customDropDown{z-index:1000;position:absolute;transition:ease-in .3s;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d}.customDropDownItem:first-child{border-radius:6px 6px 0 0}.customDropDownItem:last-child{border-radius:0 0 6px 6px}.customDropDownItem{background:#fff;padding:6px 10px}.innerCustomDropDown{padding:5px;border-radius:6px}.innerCustomDropDown:hover{background:rgba(0,0,0,.1)}.pipeline_dropdown .ant-dropdown-menu{padding:10px}.gray-column{background-color:#a8a7a7!important}.ant-table-tbody>tr:hover{background-color:transparent!important}.ant-table-row>.ant-table-cell-row-hover{background:transparent!important}.celltable .ant-table-cell{padding:0!important}.column-has{border-right:#a8a7a7 1px solid!important}.celltable .ant-table-fixed{table-layout:fixed}.celltable .ant-table-tbody>tr>td{word-wrap:break-word;word-break:break-all;border-bottom-color:#fff}.celltitle_left{width:45%!important}.celltitle_right{width:50%!important}.tabsCompnent .ant-tabs-content-holder{background:#fff;padding:10px;overflow:hidden;border-left:1px solid rgb(225,218,218);border-radius:4px}.tabsCompnent .ant-tabs-content-holder .ant-tabs-content{-webkit-user-drag:none;-moz-user-drag:none;-ms-user-drag:none;user-drag:none}.tabsCompnent .ant-tabs-content-holder .ant-tabs-content .ant-tabs-tabpane{padding-right:0}.Echart .ant-modal-content{border-radius:0}.AIComponent{width:25px;height:25px;position:fixed;bottom:80px;right:10px}.AIComponent:hover{cursor:pointer;fill:#e9192a}.bottom_tabs_outer_div{position:absolute;bottom:13px;left:50%;transform:translate(-39%);background:rgba(97,98,99,.3);padding:10px 30px;border-radius:8px;display:flex;user-select:none}.bottom_tabs_outer_div .bottom_tabs_icon{width:auto;height:30px;margin-right:20px;cursor:pointer;border-radius:4px}.bottom_tabs_outer_div .bottom_tabs_icon:hover{background:#d3e5e5}.bottom_tabs_outer_div .bottom_tabs_icon:last-child{margin-right:0}.SideBar{height:200px}#list_img span{color:#000}body{overflow:hidden}.wrapper{font-family:Nunito Sans,Helvetica Neue,Helvetica,Arial,sans-serif;border-bottom:1px solid rgba(0,0,0,.1);padding:15px 20px;display:flex;align-items:center;justify-content:space-between}svg{display:inline-block;vertical-align:top}h1{font-weight:700;font-size:20px;line-height:1;margin:6px 0 6px 10px;display:inline-block;vertical-align:top}button+button{margin-left:10px}.welcome{color:#333;font-size:14px;margin-right:10px}.storybook-button{font-family:Nunito Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;border:0;border-radius:3em;cursor:pointer;display:inline-block;line-height:1}.storybook-button--primary{color:#fff;background-color:#1ea7fd}.storybook-button--secondary{color:#333;background-color:transparent;box-shadow:#00000026 0 0 0 1px inset}.storybook-button--small{font-size:12px;padding:10px 16px}.storybook-button--medium{font-size:14px;padding:11px 20px}.storybook-button--large{font-size:16px;padding:12px 24px}
|
package/package.json
CHANGED
package/tsconfig.json
CHANGED
package/vite.config.js
CHANGED
package/dist/index.html
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>Chat Interface</title>
|
|
7
|
-
</head>
|
|
8
|
-
<body>
|
|
9
|
-
<canvas id="canvas"></canvas>
|
|
10
|
-
<script>
|
|
11
|
-
const img = new Image();
|
|
12
|
-
img.onload = function() {
|
|
13
|
-
const canvas = document.getElementById('canvas');
|
|
14
|
-
const ctx = canvas.getContext('2d');
|
|
15
|
-
|
|
16
|
-
canvas.width = img.width;
|
|
17
|
-
canvas.height = img.height;
|
|
18
|
-
|
|
19
|
-
ctx.drawImage(img, 0, 0);
|
|
20
|
-
|
|
21
|
-
const imageData = ctx.getImageData(0, 0, canvas.width, canvas.height);
|
|
22
|
-
const data = imageData.data;
|
|
23
|
-
|
|
24
|
-
for (let i = 0; i < data.length; i += 4) {
|
|
25
|
-
if (data[i] === 255 && data[i + 1] === 255 && data[i + 2] === 255) {
|
|
26
|
-
data[i + 3] = 0; // Set alpha to 0
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
ctx.putImageData(imageData, 0, 0);
|
|
31
|
-
|
|
32
|
-
const resultImg = document.getElementById('result');
|
|
33
|
-
resultImg.src = canvas.toDataURL();
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
img.src = './staticresource/img/shuiping.png';
|
|
37
|
-
</script>
|
|
38
|
-
</body>
|