brainsmatics 1.0.42 → 1.0.43
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/.storybook/middleware.js +0 -33
- package/dist/component/3d/atlasBottomTabs/index.d.ts +3 -0
- package/dist/component/3d/atlasSiderBar/index.d.ts +4 -0
- package/dist/{deflate-3e54563f.mjs → deflate-9ecc2d7c.mjs} +1 -1
- package/dist/{deflate-6fdb6036.js → deflate-fdbe4b93.js} +1 -1
- package/dist/{index-1692c416.mjs → index-57f0cd88.mjs} +17665 -17664
- package/dist/{index-d6b6efd0.js → index-ead083ae.js} +114 -114
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{lerc-6f9822e8.mjs → lerc-4fc96e0f.mjs} +1 -1
- package/dist/{lerc-3e3f52e6.js → lerc-bb759b70.js} +1 -1
- package/package.json +1 -1
package/.storybook/middleware.js
CHANGED
|
@@ -71,39 +71,6 @@ module.exports = function expressMiddleware(router) {
|
|
|
71
71
|
})
|
|
72
72
|
);
|
|
73
73
|
// p2p接口
|
|
74
|
-
router.use(
|
|
75
|
-
"/app-api/p2p-api",
|
|
76
|
-
createProxyMiddleware("/app-api/p2p-api",{
|
|
77
|
-
target: "http://192.168.20.124:8088/api",
|
|
78
|
-
pathRewrite: {
|
|
79
|
-
'^/app-api/p2p-api': '', // 将路径中的 /api 重写为空字符串
|
|
80
|
-
},
|
|
81
|
-
changeOrigin: true
|
|
82
|
-
})
|
|
83
|
-
);
|
|
84
|
-
// p2p接口
|
|
85
|
-
router.use(
|
|
86
|
-
"/app-api/p2p-api",
|
|
87
|
-
createProxyMiddleware("/app-api/p2p-api",{
|
|
88
|
-
target: "http://192.168.20.124:8088/api",
|
|
89
|
-
pathRewrite: {
|
|
90
|
-
'^/app-api/p2p-api': '', // 将路径中的 /api 重写为空字符串
|
|
91
|
-
},
|
|
92
|
-
changeOrigin: true
|
|
93
|
-
})
|
|
94
|
-
);
|
|
95
|
-
// p2p接口
|
|
96
|
-
router.use(
|
|
97
|
-
"/app-api/p2p-api",
|
|
98
|
-
createProxyMiddleware("/app-api/p2p-api",{
|
|
99
|
-
target: "http://192.168.20.124:8088/api",
|
|
100
|
-
pathRewrite: {
|
|
101
|
-
'^/app-api/p2p-api': '', // 将路径中的 /api 重写为空字符串
|
|
102
|
-
},
|
|
103
|
-
changeOrigin: true
|
|
104
|
-
})
|
|
105
|
-
);
|
|
106
|
-
// p2p接口
|
|
107
74
|
router.use(
|
|
108
75
|
"/app-api/p2p-api",
|
|
109
76
|
createProxyMiddleware("/app-api/p2p-api",{
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { TrackballControls } from "three/examples/jsm/controls/TrackballControls";
|
|
3
3
|
import "./index.css";
|
|
4
|
+
import { BaseOptionType, DefaultOptionType } from "antd/es/select";
|
|
4
5
|
interface tabsProps {
|
|
5
6
|
t: any;
|
|
6
7
|
controls: React.MutableRefObject<TrackballControls>;
|
|
@@ -11,6 +12,8 @@ interface tabsProps {
|
|
|
11
12
|
activetabIndex: React.MutableRefObject<number>;
|
|
12
13
|
index: boolean;
|
|
13
14
|
home?: string;
|
|
15
|
+
Selectoptions: (BaseOptionType | DefaultOptionType)[];
|
|
16
|
+
setFormshow: React.Dispatch<React.SetStateAction<boolean>>;
|
|
14
17
|
}
|
|
15
18
|
declare const AtlasBottomTabs: React.FC<tabsProps>;
|
|
16
19
|
export default AtlasBottomTabs;
|
|
@@ -2,6 +2,7 @@ import React from "react";
|
|
|
2
2
|
import './index.css';
|
|
3
3
|
import type { DataNode } from 'antd/es/tree';
|
|
4
4
|
import * as THREE from 'three';
|
|
5
|
+
import { BaseOptionType, DefaultOptionType } from "antd/es/select";
|
|
5
6
|
interface dataType extends DataNode {
|
|
6
7
|
name: string;
|
|
7
8
|
open: boolean;
|
|
@@ -69,6 +70,9 @@ interface SideBarProps {
|
|
|
69
70
|
atlasData?: string;
|
|
70
71
|
setSelected?: React.Dispatch<React.SetStateAction<string[]>>;
|
|
71
72
|
Selected?: string[];
|
|
73
|
+
Selectoptions?: (BaseOptionType | DefaultOptionType)[];
|
|
74
|
+
setFormshow?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
75
|
+
formshow?: boolean;
|
|
72
76
|
}
|
|
73
77
|
export declare let sphereflag: boolean;
|
|
74
78
|
declare const AtlasSideBar: React.FC<SideBarProps>;
|
|
@@ -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-ead083ae.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;
|