brainsmatics 1.0.28 → 1.0.30

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 (121) hide show
  1. package/.dockerignore +1 -0
  2. package/Dockerfile +19 -0
  3. package/LICENSE +21 -21
  4. package/docker-compose.yml +11 -0
  5. package/index.html +13 -13
  6. package/package.json +3 -3
  7. package/tsconfig.json +1 -1
  8. package/.vscode/settings.json +0 -3
  9. package/dist/App.d.ts +0 -4
  10. package/dist/Isocortex.stl +0 -107718
  11. package/dist/basedecoder-0503cc54.js +0 -1
  12. package/dist/basedecoder-11034ec6.mjs +0 -89
  13. package/dist/component/2d/config.d.ts +0 -40
  14. package/dist/component/2d/contextmenu/ContextMenuX.d.ts +0 -3
  15. package/dist/component/2d/distribution/index.d.ts +0 -4
  16. package/dist/component/2d/gridviewer/GridViewer.d.ts +0 -4
  17. package/dist/component/2d/gridviewer/index.d.ts +0 -9
  18. package/dist/component/2d/gridviewer/index1.d.ts +0 -8
  19. package/dist/component/2d/index.d.ts +0 -9
  20. package/dist/component/2d/infodiv/InfoDiv.d.ts +0 -3
  21. package/dist/component/2d/infodiv/index.d.ts +0 -7
  22. package/dist/component/2d/js/index.d.ts +0 -3
  23. package/dist/component/2d/js/index.js +0 -59517
  24. package/dist/component/2d/modelloder.d.ts +0 -3
  25. package/dist/component/2d/mulifiveiewer/MulfiViewer.d.ts +0 -3
  26. package/dist/component/2d/mulifiveiewer/index.d.ts +0 -4
  27. package/dist/component/2d/navigation/NaviGation.d.ts +0 -4
  28. package/dist/component/2d/navigation/index.d.ts +0 -12
  29. package/dist/component/2d/navtree/NavTree.d.ts +0 -8
  30. package/dist/component/2d/navtree/index.d.ts +0 -13
  31. package/dist/component/2d/tast1/config.d.ts +0 -20
  32. package/dist/component/2d/tast1/index.d.ts +0 -4
  33. package/dist/component/2d/thumbnail/Thumbnail.d.ts +0 -8
  34. package/dist/component/2d/thumbnail/VirtualList.d.ts +0 -14
  35. package/dist/component/2d/thumbnail/index.d.ts +0 -12
  36. package/dist/component/2d/twoveiewer/2DViewer.d.ts +0 -7
  37. package/dist/component/2d/twoviewer/index.d.ts +0 -19
  38. package/dist/component/3d/ai/index.d.ts +0 -4
  39. package/dist/component/3d/atlas.d.ts +0 -33
  40. package/dist/component/3d/auxiliary/index.d.ts +0 -100
  41. package/dist/component/3d/bottomTabs/index.d.ts +0 -16
  42. package/dist/component/3d/cardData/index.d.ts +0 -3
  43. package/dist/component/3d/chartViewer/index.d.ts +0 -12
  44. package/dist/component/3d/dataset/index.d.ts +0 -3
  45. package/dist/component/3d/index.d.ts +0 -11
  46. package/dist/component/3d/lengthViewer/index.d.ts +0 -10
  47. package/dist/component/3d/modal2DLoader/index.d.ts +0 -11
  48. package/dist/component/3d/modalLoader/index.d.ts +0 -13
  49. package/dist/component/3d/pipeline/index.d.ts +0 -77
  50. package/dist/component/3d/registration/index.d.ts +0 -4
  51. package/dist/component/3d/sangjiViewer/index.d.ts +0 -6
  52. package/dist/component/3d/section/index.d.ts +0 -53
  53. package/dist/component/3d/showreglions/index.d.ts +0 -7
  54. package/dist/component/3d/sideBar/index.d.ts +0 -66
  55. package/dist/component/3d/stlLoader/index.d.ts +0 -9
  56. package/dist/component/3d/swctree/index.d.ts +0 -3
  57. package/dist/component/3d/tabViewer/index.d.ts +0 -13
  58. package/dist/component/STAM.d.ts +0 -4
  59. package/dist/component/common/Button/index.d.ts +0 -45
  60. package/dist/component/common/Header/index.d.ts +0 -19
  61. package/dist/component/common/index.d.ts +0 -2
  62. package/dist/component/index.d.ts +0 -2
  63. package/dist/component/types/header.d.ts +0 -9
  64. package/dist/component/types/index.d.ts +0 -1
  65. package/dist/component/util/CommonFunctions.d.ts +0 -23
  66. package/dist/component/util/global.d.ts +0 -17
  67. package/dist/component/util/i18n.d.ts +0 -3
  68. package/dist/component/util/index.d.ts +0 -2
  69. package/dist/deflate-6812f4b0.js +0 -1
  70. package/dist/deflate-8168bb6c.mjs +0 -12
  71. package/dist/index-b55d2b55.js +0 -4753
  72. package/dist/index-fbd8c1d2.mjs +0 -158489
  73. package/dist/index.d.ts +0 -1
  74. package/dist/index.js +0 -1
  75. package/dist/index.mjs +0 -49
  76. package/dist/jpeg-335c778f.mjs +0 -515
  77. package/dist/jpeg-f3c7cefc.js +0 -1
  78. package/dist/lerc-1572fcf4.js +0 -1
  79. package/dist/lerc-c27dd1d7.mjs +0 -1035
  80. package/dist/lzw-82d7fc69.mjs +0 -84
  81. package/dist/lzw-f00e8c8c.js +0 -1
  82. package/dist/main.d.ts +0 -1
  83. package/dist/new2.js +0 -8226
  84. package/dist/packbits-58fd9c05.js +0 -1
  85. package/dist/packbits-8b95f4d7.mjs +0 -24
  86. package/dist/raw-9c0f4034.js +0 -1
  87. package/dist/raw-c0fe1c20.mjs +0 -9
  88. package/dist/stories/3Ddata.stories.d.ts +0 -12
  89. package/dist/stories/3Dlabel.d.ts +0 -4
  90. package/dist/stories/3Dlabelreglions.d.ts +0 -4
  91. package/dist/stories/3Dlable.stories.d.ts +0 -12
  92. package/dist/stories/3Dlablereglions.stories.d.ts +0 -12
  93. package/dist/stories/3Dneurons.d.ts +0 -4
  94. package/dist/stories/3Dneurons.stories.d.ts +0 -12
  95. package/dist/stories/3Dswc.stories.d.ts +0 -12
  96. package/dist/stories/ArlasViewer.stories.d.ts +0 -12
  97. package/dist/stories/AtlasViewer.d.ts +0 -3
  98. package/dist/stories/Button.stories.d.ts +0 -25
  99. package/dist/stories/Distribution.stories.d.ts +0 -11
  100. package/dist/stories/Header.stories.d.ts +0 -31
  101. package/dist/stories/MulfiViewer.stories.d.ts +0 -11
  102. package/dist/stories/Page.d.ts +0 -3
  103. package/dist/stories/Page.stories.d.ts +0 -15
  104. package/dist/stories/Sangjiviewer.stories.d.ts +0 -14
  105. package/dist/stories/Soma.d.ts +0 -4
  106. package/dist/stories/Soma.stories.d.ts +0 -12
  107. package/dist/stories/Task3D.stories.d.ts +0 -12
  108. package/dist/stories/Thumbnail.stories.d.ts +0 -25
  109. package/dist/stories/Vessel.d.ts +0 -4
  110. package/dist/stories/Vessel.stories.d.ts +0 -12
  111. package/dist/stories/chartviewer.stories.d.ts +0 -20
  112. package/dist/stories/lengthviewer.stories.d.ts +0 -17
  113. package/dist/stories/navtree.stories.d.ts +0 -25
  114. package/dist/stories/registration.stories.d.ts +0 -12
  115. package/dist/stories/task3D.d.ts +0 -4
  116. package/dist/stories/tast1.stories.d.ts +0 -11
  117. package/dist/stories/twoview.stories.d.ts +0 -31
  118. package/dist/style.css +0 -1
  119. package/dist/vite.svg +0 -1
  120. package/dist/webimage-affb95d1.mjs +0 -19
  121. package/dist/webimage-bc81928d.js +0 -1
package/.dockerignore ADDED
@@ -0,0 +1 @@
1
+ public
package/Dockerfile ADDED
@@ -0,0 +1,19 @@
1
+ # 使用 Node.js 18 的 Alpine 版本作为基础镜像
2
+ FROM node:18-alpine
3
+
4
+ # 设置工作目录
5
+ WORKDIR /app
6
+
7
+ # 复制 package.json 和 yarn.lock
8
+ COPY package.json yarn.lock ./
9
+
10
+ # 安装项目依赖
11
+ RUN yarn install --frozen-lockfile --ignore-scripts
12
+ # 复制项目文件
13
+ COPY . .
14
+
15
+ # 暴露应用运行的端口
16
+ EXPOSE 6006
17
+
18
+ # 启动应用
19
+ CMD ["yarn", "run", "storybook"]
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2018 Chroma Software Inc.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Chroma Software Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,11 @@
1
+ version: "3.8"
2
+ services:
3
+ app:
4
+ image: brain-ui-image
5
+ build: .
6
+ ports:
7
+ - "6006:6006"
8
+ volumes:
9
+ - .:/app
10
+ - /app/node_modules
11
+ command: tail -f /dev/null
package/index.html CHANGED
@@ -1,13 +1,13 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <title>Vite + React</title>
8
- </head>
9
- <body>
10
- <div id="root"></div>
11
- <script type="module" src="/src/main.jsx"></script>
12
- </body>
13
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <title>Vite + React</title>
8
+ </head>
9
+ <body>
10
+ <div id="root"></div>
11
+ <script type="module" src="/src/main.jsx"></script>
12
+ </body>
13
+ </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brainsmatics",
3
- "version": "1.0.28",
3
+ "version": "1.0.30",
4
4
  "description": "brainsmatics",
5
5
  "author": "ygwang",
6
6
  "license": "MIT",
@@ -11,8 +11,8 @@
11
11
  "./style.css": "./dist/style.css"
12
12
  },
13
13
  "peerDependencies": {
14
- "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
15
- "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
14
+ "react": ">=18.0.0",
15
+ "react-dom": ">=18.0.0"
16
16
  },
17
17
  "dependencies": {
18
18
  "@babel/preset-react": "7.22.15",
package/tsconfig.json CHANGED
@@ -34,6 +34,6 @@
34
34
  "esModuleInterop": true
35
35
  },
36
36
  "allowImportingTsExtensions":true,
37
- "include": ["src/**/*", "index.d.ts","env.d.ts","STAM.d.ts"],
37
+ "include": ["src/**/*", "index.d.ts","env.d.ts"],
38
38
  "exclude": ["node_modules", "build", "dist", "scripts"]
39
39
  }
@@ -1,3 +0,0 @@
1
- {
2
- "typescript.tsdk": "node_modules\\typescript\\lib"
3
- }
package/dist/App.d.ts DELETED
@@ -1,4 +0,0 @@
1
- import './App.css';
2
- import React from 'react';
3
- declare const App: () => React.JSX.Element;
4
- export default App;