@bytechain.cn/colamd 1.5.1-beta.2 → 1.5.2

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 (204) hide show
  1. package/CHANGELOG.md +194 -162
  2. package/README.md +148 -5
  3. package/README_CN.md +163 -13
  4. package/dist/lib/colamd-renderer.js +193804 -0
  5. package/dist/lib/colamd-renderer.js.map +1 -0
  6. package/dist/lib/colamd.css +1810 -0
  7. package/dist/lib/editor/editor.d.ts +27 -0
  8. package/dist/lib/editor/html-view.d.ts +2 -0
  9. package/dist/lib/editor/lib.d.ts +49 -0
  10. package/dist/lib/editor/plugins/index.d.ts +56 -0
  11. package/dist/lib/editor/plugins/lib-entry.d.ts +10 -0
  12. package/dist/lib/editor/plugins/math-plugin.d.ts +9 -0
  13. package/dist/lib/editor/plugins/mermaid-plugin.d.ts +19 -0
  14. package/dist/lib/editor/plugins/themes/theme-manager.d.ts +30 -0
  15. package/dist/main/index.js +107 -37
  16. package/dist/preload/index.js +3 -2
  17. package/dist/renderer/assets/{arc-CPdeInCG.js → arc-CpIo2PoE.js} +1 -1
  18. package/dist/renderer/assets/{architectureDiagram-3BPJPVTR-BAbnaR9G.js → architectureDiagram-3BPJPVTR-T-4Cq0Bz.js} +2 -2
  19. package/dist/renderer/assets/{blockDiagram-GPEHLZMM-CYSWjnJg.js → blockDiagram-GPEHLZMM-C-SuR6eu.js} +4 -4
  20. package/dist/renderer/assets/{c4Diagram-AAUBKEIU-Rb1tstnr.js → c4Diagram-AAUBKEIU-PJp81cGm.js} +2 -2
  21. package/dist/renderer/assets/{channel-DpG2A6fE.js → channel-CtIHaaRI.js} +1 -1
  22. package/dist/renderer/assets/{chunk-2J33WTMH-DFc0Jxy_.js → chunk-2J33WTMH-BrchfQL6.js} +1 -1
  23. package/dist/renderer/assets/{chunk-4BX2VUAB-BhRxDTNn.js → chunk-4BX2VUAB-BCc3Ev_H.js} +1 -1
  24. package/dist/renderer/assets/{chunk-55IACEB6-DEgMVBk8.js → chunk-55IACEB6-B2M27HQo.js} +1 -1
  25. package/dist/renderer/assets/{chunk-727SXJPM-bjBIfiz8.js → chunk-727SXJPM-DXDHGECs.js} +5 -5
  26. package/dist/renderer/assets/{chunk-AQP2D5EJ-DwQMzTzD.js → chunk-AQP2D5EJ-BNb1lOQY.js} +3 -3
  27. package/dist/renderer/assets/{chunk-FMBD7UC4-CkphwJzs.js → chunk-FMBD7UC4-CzgfEH2z.js} +1 -1
  28. package/dist/renderer/assets/{chunk-ND2GUHAM-oU09z4y4.js → chunk-ND2GUHAM-BUFT_yOe.js} +1 -1
  29. package/dist/renderer/assets/{chunk-QZHKN3VN-rCbVuPBn.js → chunk-QZHKN3VN-C-zV7oBi.js} +1 -1
  30. package/dist/renderer/assets/{classDiagram-v2-Q7XG4LA2-DGS2faoM.js → classDiagram-4FO5ZUOK-CAyhGSvf.js} +6 -6
  31. package/dist/renderer/assets/{classDiagram-4FO5ZUOK-DGS2faoM.js → classDiagram-v2-Q7XG4LA2-CAyhGSvf.js} +6 -6
  32. package/dist/renderer/assets/{cose-bilkent-S5V4N54A-iqY6-EwA.js → cose-bilkent-S5V4N54A-ldu81kCk.js} +1 -1
  33. package/dist/renderer/assets/{dagre-BM42HDAG-5t3X5sDa.js → dagre-BM42HDAG-NJgy8CTw.js} +3 -3
  34. package/dist/renderer/assets/{diagram-2AECGRRQ-DzHiYDPh.js → diagram-2AECGRRQ-CuIcMpOn.js} +2 -2
  35. package/dist/renderer/assets/{diagram-5GNKFQAL-BiNv6Keq.js → diagram-5GNKFQAL-BJwFCroB.js} +3 -3
  36. package/dist/renderer/assets/{diagram-KO2AKTUF-ClzeDG6f.js → diagram-KO2AKTUF-C7NgQ8ju.js} +2 -2
  37. package/dist/renderer/assets/{diagram-LMA3HP47-CGkw7wII.js → diagram-LMA3HP47-B71v6MOq.js} +2 -2
  38. package/dist/renderer/assets/{diagram-OG6HWLK6-Dl-Hyk1_.js → diagram-OG6HWLK6-D2ZxkrSe.js} +3 -3
  39. package/dist/renderer/assets/{erDiagram-TEJ5UH35-BxUN79Qb.js → erDiagram-TEJ5UH35-4ToW0p3h.js} +4 -4
  40. package/dist/renderer/assets/{flowDiagram-I6XJVG4X-CzFk-KNI.js → flowDiagram-I6XJVG4X-DBkZLqwn.js} +6 -6
  41. package/dist/renderer/assets/{ganttDiagram-6RSMTGT7-C2xl6Igx.js → ganttDiagram-6RSMTGT7-G3xD2VXj.js} +2 -2
  42. package/dist/renderer/assets/{gitGraphDiagram-PVQCEYII-_fn7XCa7.js → gitGraphDiagram-PVQCEYII-BcTNiFfg.js} +3 -3
  43. package/dist/renderer/assets/{graph-CDoHYrHm.js → graph--Vhl4p4D.js} +1 -1
  44. package/dist/renderer/assets/{index-DAlXyxzt.js → index-C63bU7CF.js} +693 -162
  45. package/dist/renderer/assets/{index-CeFpoCKV.css → index-D8nA981z.css} +17 -6
  46. package/dist/renderer/assets/{infoDiagram-5YYISTIA-DL6XIxLz.js → infoDiagram-5YYISTIA-DjKa7Yv-.js} +1 -1
  47. package/dist/renderer/assets/{ishikawaDiagram-YF4QCWOH-BUZLjRo-.js → ishikawaDiagram-YF4QCWOH-xIWzW1pL.js} +1 -1
  48. package/dist/renderer/assets/{journeyDiagram-JHISSGLW-C4rH_mQM.js → journeyDiagram-JHISSGLW-DxMBkVOF.js} +4 -4
  49. package/dist/renderer/assets/{kanban-definition-UN3LZRKU-DRbrBcWV.js → kanban-definition-UN3LZRKU-DqJeL6E1.js} +2 -2
  50. package/dist/renderer/assets/{layout-DZl4n4qu.js → layout-B3giiMoK.js} +2 -2
  51. package/dist/renderer/assets/{linear-B0Krxg21.js → linear-Cqh3vVIf.js} +1 -1
  52. package/dist/renderer/assets/{mindmap-definition-RKZ34NQL-DdmPsWrn.js → mindmap-definition-RKZ34NQL-DUay02ma.js} +3 -3
  53. package/dist/renderer/assets/{pieDiagram-4H26LBE5-BPZLqwG0.js → pieDiagram-4H26LBE5-CVcfLtky.js} +3 -3
  54. package/dist/renderer/assets/{quadrantDiagram-W4KKPZXB-Dr-oWRk9.js → quadrantDiagram-W4KKPZXB-wDHffPOs.js} +2 -2
  55. package/dist/renderer/assets/{requirementDiagram-4Y6WPE33-B6QZd0lo.js → requirementDiagram-4Y6WPE33-C4pgGDGv.js} +3 -3
  56. package/dist/renderer/assets/{sankeyDiagram-5OEKKPKP-Cyl9ojEt.js → sankeyDiagram-5OEKKPKP-Jsf0rRMo.js} +1 -1
  57. package/dist/renderer/assets/{sequenceDiagram-3UESZ5HK-D48Yr9T6.js → sequenceDiagram-3UESZ5HK-e6QS7gt8.js} +3 -3
  58. package/dist/renderer/assets/{stateDiagram-AJRCARHV-qyb8ETsa.js → stateDiagram-AJRCARHV-DgYKZzDq.js} +6 -6
  59. package/dist/renderer/assets/{stateDiagram-v2-BHNVJYJU-DmDOyyrJ.js → stateDiagram-v2-BHNVJYJU-CUdmd_50.js} +4 -4
  60. package/dist/renderer/assets/{timeline-definition-PNZ67QCA-C-KQxTi1.js → timeline-definition-PNZ67QCA-S12e1Mp_.js} +2 -2
  61. package/dist/renderer/assets/{vennDiagram-CIIHVFJN-BdaZlnH-.js → vennDiagram-CIIHVFJN-CNDBG6A2.js} +1 -1
  62. package/dist/renderer/assets/{wardleyDiagram-YWT4CUSO-B2hBE-EE.js → wardleyDiagram-YWT4CUSO-CLlGQcof.js} +2 -2
  63. package/dist/renderer/assets/{xychartDiagram-2RQKCTM6-CSvswDTY.js → xychartDiagram-2RQKCTM6-CUtsHUQd.js} +2 -2
  64. package/dist/renderer/index.html +6 -2
  65. package/package.json +25 -1
  66. package/themes/README.md +18 -1
  67. package/themes/academic-paper-pt.css +1321 -0
  68. package/themes/academic-paper.css +192 -97
  69. package/.github/workflows/release.yml +0 -66
  70. package/.trae/specs/optimize-theme-loading/checklist.md +0 -20
  71. package/.trae/specs/optimize-theme-loading/spec.md +0 -103
  72. package/.trae/specs/optimize-theme-loading/tasks.md +0 -40
  73. package/CLAUDE.md +0 -143
  74. package/android/app/build/.npmkeep +0 -0
  75. package/android/app/build.gradle +0 -76
  76. package/android/app/capacitor.build.gradle +0 -24
  77. package/android/app/proguard-rules.pro +0 -21
  78. package/android/app/release.keystore +0 -0
  79. package/android/app/src/androidTest/java/com/getcapacitor/myapp/ExampleInstrumentedTest.java +0 -26
  80. package/android/app/src/main/AndroidManifest.xml +0 -64
  81. package/android/app/src/main/java/cn/bytechain/colamd/MainActivity.java +0 -180
  82. package/android/app/src/main/res/drawable/ic_launcher_background.xml +0 -170
  83. package/android/app/src/main/res/drawable/splash.png +0 -0
  84. package/android/app/src/main/res/drawable-land-hdpi/splash.png +0 -0
  85. package/android/app/src/main/res/drawable-land-mdpi/splash.png +0 -0
  86. package/android/app/src/main/res/drawable-land-xhdpi/splash.png +0 -0
  87. package/android/app/src/main/res/drawable-land-xxhdpi/splash.png +0 -0
  88. package/android/app/src/main/res/drawable-land-xxxhdpi/splash.png +0 -0
  89. package/android/app/src/main/res/drawable-port-hdpi/splash.png +0 -0
  90. package/android/app/src/main/res/drawable-port-mdpi/splash.png +0 -0
  91. package/android/app/src/main/res/drawable-port-xhdpi/splash.png +0 -0
  92. package/android/app/src/main/res/drawable-port-xxhdpi/splash.png +0 -0
  93. package/android/app/src/main/res/drawable-port-xxxhdpi/splash.png +0 -0
  94. package/android/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +0 -34
  95. package/android/app/src/main/res/layout/activity_main.xml +0 -12
  96. package/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +0 -5
  97. package/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +0 -5
  98. package/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  99. package/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png +0 -0
  100. package/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  101. package/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  102. package/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png +0 -0
  103. package/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  104. package/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  105. package/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png +0 -0
  106. package/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  107. package/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  108. package/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png +0 -0
  109. package/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  110. package/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  111. package/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png +0 -0
  112. package/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  113. package/android/app/src/main/res/values/ic_launcher_background.xml +0 -4
  114. package/android/app/src/main/res/values/strings.xml +0 -7
  115. package/android/app/src/main/res/values/styles.xml +0 -22
  116. package/android/app/src/main/res/xml/file_paths.xml +0 -5
  117. package/android/app/src/main/res/xml/network_security_config.xml +0 -8
  118. package/android/app/src/test/java/com/getcapacitor/myapp/ExampleUnitTest.java +0 -18
  119. package/android/build.gradle +0 -29
  120. package/android/capacitor.settings.gradle +0 -21
  121. package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  122. package/android/gradle/wrapper/gradle-wrapper.properties +0 -7
  123. package/android/gradle.properties +0 -22
  124. package/android/gradlew +0 -248
  125. package/android/gradlew.bat +0 -92
  126. package/android/settings.gradle +0 -5
  127. package/android/variables.gradle +0 -16
  128. package/bytechain.cn-colamd-1.5.1-beta.2.tgz +0 -0
  129. package/capacitor.config.js +0 -29
  130. package/capacitor.config.ts +0 -30
  131. package/demo.md +0 -193
  132. package/docs/academic-demo.md +0 -566
  133. package/docs/agent-diff-view.md +0 -48
  134. package/docs/demo.html +0 -748
  135. package/docs/demo.md +0 -546
  136. package/docs/demo.pdf +0 -0
  137. package/docs/theme-paradigm.md +0 -658
  138. package/electron-builder.yml +0 -64
  139. package/electron.vite.config.js +0 -31
  140. package/electron.vite.config.ts +0 -30
  141. package/ios/App/App/AppDelegate.swift +0 -49
  142. package/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png +0 -0
  143. package/ios/App/App/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -14
  144. package/ios/App/App/Assets.xcassets/Contents.json +0 -6
  145. package/ios/App/App/Assets.xcassets/Splash.imageset/Contents.json +0 -23
  146. package/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-1.png +0 -0
  147. package/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png +0 -0
  148. package/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732.png +0 -0
  149. package/ios/App/App/Base.lproj/LaunchScreen.storyboard +0 -32
  150. package/ios/App/App/Base.lproj/Main.storyboard +0 -19
  151. package/ios/App/App/Info.plist +0 -49
  152. package/ios/App/App.xcodeproj/project.pbxproj +0 -408
  153. package/ios/App/App.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  154. package/ios/App/Podfile +0 -28
  155. package/resources/entitlements.mac.plist +0 -12
  156. package/resources/icon.icns +0 -0
  157. package/resources/icon.png +0 -0
  158. package/resources/icon.svg +0 -23
  159. package/resources/templates/slides/icon.png +0 -0
  160. package/resources/templates/slides/slides-template.md +0 -74
  161. package/resources/templates/slides/template-forest-ink.html +0 -540
  162. package/resources/templates/slides/template.html +0 -535
  163. package/scripts/afterPack.js +0 -13
  164. package/scripts/generate-icons.js +0 -102
  165. package/src/main/index.ts +0 -905
  166. package/src/preload/index.d.ts +0 -51
  167. package/src/preload/index.js +0 -70
  168. package/src/preload/index.ts +0 -110
  169. package/src/renderer/capacitor-api.ts +0 -713
  170. package/src/renderer/editor/editor.ts +0 -287
  171. package/src/renderer/editor/html-view.ts +0 -15
  172. package/src/renderer/editor/plugins/index.ts +0 -68
  173. package/src/renderer/editor/plugins/math-plugin.ts +0 -297
  174. package/src/renderer/editor/plugins/mermaid-plugin-custom.css +0 -46
  175. package/src/renderer/editor/plugins/mermaid-plugin-dark.css +0 -428
  176. package/src/renderer/editor/plugins/mermaid-plugin-elegant.css +0 -443
  177. package/src/renderer/editor/plugins/mermaid-plugin-newsprint.css +0 -208
  178. package/src/renderer/editor/plugins/mermaid-plugin.css +0 -111
  179. package/src/renderer/editor/plugins/mermaid-plugin.ts +0 -670
  180. package/src/renderer/editor/plugins/themes/base/dark.css +0 -23
  181. package/src/renderer/editor/plugins/themes/base/elegant.css +0 -32
  182. package/src/renderer/editor/plugins/themes/base/light.css +0 -20
  183. package/src/renderer/editor/plugins/themes/base/newsprint.css +0 -27
  184. package/src/renderer/editor/plugins/themes/base.css +0 -509
  185. package/src/renderer/editor/plugins/themes/components/mermaid/academic.css +0 -43
  186. package/src/renderer/editor/plugins/themes/components/mermaid/dark.css +0 -20
  187. package/src/renderer/editor/plugins/themes/components/mermaid/elegant.css +0 -24
  188. package/src/renderer/editor/plugins/themes/components/mermaid/light.css +0 -21
  189. package/src/renderer/editor/plugins/themes/components/mermaid/newsprint.css +0 -26
  190. package/src/renderer/editor/plugins/themes/components/mermaid/variables.css +0 -592
  191. package/src/renderer/editor/plugins/themes/foundation.css +0 -143
  192. package/src/renderer/editor/plugins/themes/theme-manager.ts +0 -92
  193. package/src/renderer/env.d.ts +0 -10
  194. package/src/renderer/index.html +0 -76
  195. package/src/renderer/main.ts +0 -678
  196. package/src/renderer/mobile.css +0 -429
  197. package/tsconfig.json +0 -14
  198. package/tsconfig.main.json +0 -12
  199. package/tsconfig.main.tsbuildinfo +0 -1
  200. package/tsconfig.preload.json +0 -12
  201. package/tsconfig.preload.tsbuildinfo +0 -1
  202. package/tsconfig.renderer.json +0 -13
  203. package/tsconfig.renderer.tsbuildinfo +0 -1
  204. package/tsconfig.tsbuildinfo +0 -1
package/android/gradlew DELETED
@@ -1,248 +0,0 @@
1
- #!/bin/sh
2
-
3
- #
4
- # Copyright © 2015-2021 the original authors.
5
- #
6
- # Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # https://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- # See the License for the specific language governing permissions and
16
- # limitations under the License.
17
- #
18
-
19
- ##############################################################################
20
- #
21
- # Gradle start up script for POSIX generated by Gradle.
22
- #
23
- # Important for running:
24
- #
25
- # (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
26
- # noncompliant, but you have some other compliant shell such as ksh or
27
- # bash, then to run this script, type that shell name before the whole
28
- # command line, like:
29
- #
30
- # ksh Gradle
31
- #
32
- # Busybox and similar reduced shells will NOT work, because this script
33
- # requires all of these POSIX shell features:
34
- # * functions;
35
- # * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
36
- # «${var#prefix}», «${var%suffix}», and «$( cmd )»;
37
- # * compound commands having a testable exit status, especially «case»;
38
- # * various built-in commands including «command», «set», and «ulimit».
39
- #
40
- # Important for patching:
41
- #
42
- # (2) This script targets any POSIX shell, so it avoids extensions provided
43
- # by Bash, Ksh, etc; in particular arrays are avoided.
44
- #
45
- # The "traditional" practice of packing multiple parameters into a
46
- # space-separated string is a well documented source of bugs and security
47
- # problems, so this is (mostly) avoided, by progressively accumulating
48
- # options in "$@", and eventually passing that to Java.
49
- #
50
- # Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
51
- # and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
52
- # see the in-line comments for details.
53
- #
54
- # There are tweaks for specific operating systems such as AIX, CygWin,
55
- # Darwin, MinGW, and NonStop.
56
- #
57
- # (3) This script is generated from the Groovy template
58
- # https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
59
- # within the Gradle project.
60
- #
61
- # You can find Gradle at https://github.com/gradle/gradle/.
62
- #
63
- ##############################################################################
64
-
65
- # Attempt to set APP_HOME
66
-
67
- # Resolve links: $0 may be a link
68
- app_path=$0
69
-
70
- # Need this for daisy-chained symlinks.
71
- while
72
- APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
73
- [ -h "$app_path" ]
74
- do
75
- ls=$( ls -ld "$app_path" )
76
- link=${ls#*' -> '}
77
- case $link in #(
78
- /*) app_path=$link ;; #(
79
- *) app_path=$APP_HOME$link ;;
80
- esac
81
- done
82
-
83
- # This is normally unused
84
- # shellcheck disable=SC2034
85
- APP_BASE_NAME=${0##*/}
86
- APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
87
-
88
- # Use the maximum available, or set MAX_FD != -1 to use that value.
89
- MAX_FD=maximum
90
-
91
- warn () {
92
- echo "$*"
93
- } >&2
94
-
95
- die () {
96
- echo
97
- echo "$*"
98
- echo
99
- exit 1
100
- } >&2
101
-
102
- # OS specific support (must be 'true' or 'false').
103
- cygwin=false
104
- msys=false
105
- darwin=false
106
- nonstop=false
107
- case "$( uname )" in #(
108
- CYGWIN* ) cygwin=true ;; #(
109
- Darwin* ) darwin=true ;; #(
110
- MSYS* | MINGW* ) msys=true ;; #(
111
- NONSTOP* ) nonstop=true ;;
112
- esac
113
-
114
- CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
115
-
116
-
117
- # Determine the Java command to use to start the JVM.
118
- if [ -n "$JAVA_HOME" ] ; then
119
- if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
120
- # IBM's JDK on AIX uses strange locations for the executables
121
- JAVACMD=$JAVA_HOME/jre/sh/java
122
- else
123
- JAVACMD=$JAVA_HOME/bin/java
124
- fi
125
- if [ ! -x "$JAVACMD" ] ; then
126
- die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
127
-
128
- Please set the JAVA_HOME variable in your environment to match the
129
- location of your Java installation."
130
- fi
131
- else
132
- JAVACMD=java
133
- if ! command -v java >/dev/null 2>&1
134
- then
135
- die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
136
-
137
- Please set the JAVA_HOME variable in your environment to match the
138
- location of your Java installation."
139
- fi
140
- fi
141
-
142
- # Increase the maximum file descriptors if we can.
143
- if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
144
- case $MAX_FD in #(
145
- max*)
146
- # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
147
- # shellcheck disable=SC3045
148
- MAX_FD=$( ulimit -H -n ) ||
149
- warn "Could not query maximum file descriptor limit"
150
- esac
151
- case $MAX_FD in #(
152
- '' | soft) :;; #(
153
- *)
154
- # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
155
- # shellcheck disable=SC3045
156
- ulimit -n "$MAX_FD" ||
157
- warn "Could not set maximum file descriptor limit to $MAX_FD"
158
- esac
159
- fi
160
-
161
- # Collect all arguments for the java command, stacking in reverse order:
162
- # * args from the command line
163
- # * the main class name
164
- # * -classpath
165
- # * -D...appname settings
166
- # * --module-path (only if needed)
167
- # * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
168
-
169
- # For Cygwin or MSYS, switch paths to Windows format before running java
170
- if "$cygwin" || "$msys" ; then
171
- APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
172
- CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
173
-
174
- JAVACMD=$( cygpath --unix "$JAVACMD" )
175
-
176
- # Now convert the arguments - kludge to limit ourselves to /bin/sh
177
- for arg do
178
- if
179
- case $arg in #(
180
- -*) false ;; # don't mess with options #(
181
- /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
182
- [ -e "$t" ] ;; #(
183
- *) false ;;
184
- esac
185
- then
186
- arg=$( cygpath --path --ignore --mixed "$arg" )
187
- fi
188
- # Roll the args list around exactly as many times as the number of
189
- # args, so each arg winds up back in the position where it started, but
190
- # possibly modified.
191
- #
192
- # NB: a `for` loop captures its iteration list before it begins, so
193
- # changing the positional parameters here affects neither the number of
194
- # iterations, nor the values presented in `arg`.
195
- shift # remove old arg
196
- set -- "$@" "$arg" # push replacement arg
197
- done
198
- fi
199
-
200
-
201
- # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
202
- DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
203
-
204
- # Collect all arguments for the java command;
205
- # * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
206
- # shell script including quotes and variable substitutions, so put them in
207
- # double quotes to make sure that they get re-expanded; and
208
- # * put everything else in single quotes, so that it's not re-expanded.
209
-
210
- set -- \
211
- "-Dorg.gradle.appname=$APP_BASE_NAME" \
212
- -classpath "$CLASSPATH" \
213
- org.gradle.wrapper.GradleWrapperMain \
214
- "$@"
215
-
216
- # Stop when "xargs" is not available.
217
- if ! command -v xargs >/dev/null 2>&1
218
- then
219
- die "xargs is not available"
220
- fi
221
-
222
- # Use "xargs" to parse quoted args.
223
- #
224
- # With -n1 it outputs one arg per line, with the quotes and backslashes removed.
225
- #
226
- # In Bash we could simply go:
227
- #
228
- # readarray ARGS < <( xargs -n1 <<<"$var" ) &&
229
- # set -- "${ARGS[@]}" "$@"
230
- #
231
- # but POSIX shell has neither arrays nor command substitution, so instead we
232
- # post-process each arg (as a line of input to sed) to backslash-escape any
233
- # character that might be a shell metacharacter, then use eval to reverse
234
- # that process (while maintaining the separation between arguments), and wrap
235
- # the whole thing up as a single "set" statement.
236
- #
237
- # This will of course break if any of these variables contains a newline or
238
- # an unmatched quote.
239
- #
240
-
241
- eval "set -- $(
242
- printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
243
- xargs -n1 |
244
- sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
245
- tr '\n' ' '
246
- )" '"$@"'
247
-
248
- exec "$JAVACMD" "$@"
@@ -1,92 +0,0 @@
1
- @rem
2
- @rem Copyright 2015 the original author or authors.
3
- @rem
4
- @rem Licensed under the Apache License, Version 2.0 (the "License");
5
- @rem you may not use this file except in compliance with the License.
6
- @rem You may obtain a copy of the License at
7
- @rem
8
- @rem https://www.apache.org/licenses/LICENSE-2.0
9
- @rem
10
- @rem Unless required by applicable law or agreed to in writing, software
11
- @rem distributed under the License is distributed on an "AS IS" BASIS,
12
- @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- @rem See the License for the specific language governing permissions and
14
- @rem limitations under the License.
15
- @rem
16
-
17
- @if "%DEBUG%"=="" @echo off
18
- @rem ##########################################################################
19
- @rem
20
- @rem Gradle startup script for Windows
21
- @rem
22
- @rem ##########################################################################
23
-
24
- @rem Set local scope for the variables with windows NT shell
25
- if "%OS%"=="Windows_NT" setlocal
26
-
27
- set DIRNAME=%~dp0
28
- if "%DIRNAME%"=="" set DIRNAME=.
29
- @rem This is normally unused
30
- set APP_BASE_NAME=%~n0
31
- set APP_HOME=%DIRNAME%
32
-
33
- @rem Resolve any "." and ".." in APP_HOME to make it shorter.
34
- for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
35
-
36
- @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
37
- set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
38
-
39
- @rem Find java.exe
40
- if defined JAVA_HOME goto findJavaFromJavaHome
41
-
42
- set JAVA_EXE=java.exe
43
- %JAVA_EXE% -version >NUL 2>&1
44
- if %ERRORLEVEL% equ 0 goto execute
45
-
46
- echo.
47
- echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
48
- echo.
49
- echo Please set the JAVA_HOME variable in your environment to match the
50
- echo location of your Java installation.
51
-
52
- goto fail
53
-
54
- :findJavaFromJavaHome
55
- set JAVA_HOME=%JAVA_HOME:"=%
56
- set JAVA_EXE=%JAVA_HOME%/bin/java.exe
57
-
58
- if exist "%JAVA_EXE%" goto execute
59
-
60
- echo.
61
- echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
62
- echo.
63
- echo Please set the JAVA_HOME variable in your environment to match the
64
- echo location of your Java installation.
65
-
66
- goto fail
67
-
68
- :execute
69
- @rem Setup the command line
70
-
71
- set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
72
-
73
-
74
- @rem Execute Gradle
75
- "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
76
-
77
- :end
78
- @rem End local scope for the variables with windows NT shell
79
- if %ERRORLEVEL% equ 0 goto mainEnd
80
-
81
- :fail
82
- rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83
- rem the _cmd.exe /c_ return code!
84
- set EXIT_CODE=%ERRORLEVEL%
85
- if %EXIT_CODE% equ 0 set EXIT_CODE=1
86
- if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
87
- exit /b %EXIT_CODE%
88
-
89
- :mainEnd
90
- if "%OS%"=="Windows_NT" endlocal
91
-
92
- :omega
@@ -1,5 +0,0 @@
1
- include ':app'
2
- include ':capacitor-cordova-android-plugins'
3
- project(':capacitor-cordova-android-plugins').projectDir = new File('./capacitor-cordova-android-plugins/')
4
-
5
- apply from: 'capacitor.settings.gradle'
@@ -1,16 +0,0 @@
1
- ext {
2
- minSdkVersion = 24
3
- compileSdkVersion = 35
4
- targetSdkVersion = 34
5
- androidxActivityVersion = '1.8.0'
6
- androidxAppCompatVersion = '1.6.1'
7
- androidxCoordinatorLayoutVersion = '1.2.0'
8
- androidxCoreVersion = '1.12.0'
9
- androidxFragmentVersion = '1.6.2'
10
- coreSplashScreenVersion = '1.0.1'
11
- androidxWebkitVersion = '1.9.0'
12
- junitVersion = '4.13.2'
13
- androidxJunitVersion = '1.1.5'
14
- androidxEspressoCoreVersion = '3.5.1'
15
- cordovaAndroidVersion = '10.1.1'
16
- }
@@ -1,29 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var config = {
4
- appId: 'cn.bytechain.colamd',
5
- appName: 'ColaMD',
6
- webDir: 'dist/renderer',
7
- server: {
8
- androidScheme: 'https'
9
- },
10
- android: {
11
- allowMixedContent: true,
12
- captureInput: false, // Must be false — true replaces WebView InputConnection with BaseInputConnection, breaking CJK IME
13
- useLegacyBridge: false,
14
- webContentsDebuggingEnabled: false,
15
- },
16
- plugins: {
17
- Filesystem: {
18
- requestLegacyExternalStorage: true
19
- },
20
- StatusBar: {
21
- style: 'DARK',
22
- backgroundColor: '#ffffff'
23
- },
24
- CapacitorHttp: {
25
- enabled: true
26
- }
27
- }
28
- };
29
- exports.default = config;
@@ -1,30 +0,0 @@
1
- import type { CapacitorConfig } from '@capacitor/cli';
2
-
3
- const config: CapacitorConfig = {
4
- appId: 'cn.bytechain.colamd',
5
- appName: 'ColaMD',
6
- webDir: 'dist/renderer',
7
- server: {
8
- androidScheme: 'https'
9
- },
10
- android: {
11
- allowMixedContent: true,
12
- captureInput: false, // Must be false — true replaces WebView InputConnection with BaseInputConnection, breaking CJK IME
13
- useLegacyBridge: false,
14
- webContentsDebuggingEnabled: false,
15
- },
16
- plugins: {
17
- Filesystem: {
18
- requestLegacyExternalStorage: true
19
- },
20
- StatusBar: {
21
- style: 'DARK',
22
- backgroundColor: '#ffffff'
23
- },
24
- CapacitorHttp: {
25
- enabled: true
26
- }
27
- }
28
- };
29
-
30
- export default config;
package/demo.md DELETED
@@ -1,193 +0,0 @@
1
- **图1 万华生态集团组织架构与业务层级**
2
-
3
- <div style="text-align: center;">
4
-
5
- <svg width="900" height="770" xmlns="http://www.w3.org/2000/svg" style="font-family: '宋体', 'SimSun', 'Georgia', 'Times New Roman', serif; display: block; margin: 0 auto;">
6
-
7
- <!-- 背景:暖灰莫兰迪底 -->
8
- <rect width="900" height="770" fill="#F5F0EB" rx="10" />
9
-
10
- <!-- ===== 第一层:集团核心(起止节点 - 椭圆) ===== -->
11
- <ellipse cx="450" cy="40" rx="130" ry="26" fill="#B7C3B3" />
12
- <text x="450" y="38" fill="#2C2C2C" text-anchor="middle" font-size="16" font-weight="bold">万华生态集团(总部)</text>
13
- <text x="450" y="54" fill="#4A4A4A" text-anchor="middle" font-size="10">信阳 · 2006年成立 · 创始人郭兴田</text>
14
-
15
- <!-- 连线 -->
16
- <line x1="450" y1="66" x2="450" y2="85" stroke="#9A8F85" stroke-width="2.5" />
17
- <line x1="140" y1="85" x2="760" y2="85" stroke="#9A8F85" stroke-width="2.5" />
18
-
19
- <line x1="140" y1="85" x2="140" y2="105" stroke="#9A8F85" stroke-width="2.5" />
20
- <line x1="450" y1="85" x2="450" y2="105" stroke="#9A8F85" stroke-width="2.5" />
21
- <line x1="760" y1="85" x2="760" y2="105" stroke="#9A8F85" stroke-width="2.5" />
22
-
23
- <!-- ===== 第二层:三大核心平台(处理 - 矩形圆角) ===== -->
24
- <!-- 万华禾香 -->
25
- <rect x="40" y="105" width="200" height="55" rx="8" fill="#C5B8A8" />
26
- <text x="140" y="128" fill="#2C2C2C" text-anchor="middle" font-size="14" font-weight="bold">万华禾香</text>
27
- <text x="140" y="145" fill="#4A4A4A" text-anchor="middle" font-size="10">无醛板材 · 压舱石</text>
28
-
29
- <!-- 万华新家装 -->
30
- <rect x="350" y="105" width="200" height="55" rx="8" fill="#A8BCC0" />
31
- <text x="450" y="128" fill="#2C2C2C" text-anchor="middle" font-size="14" font-weight="bold">万华新家装</text>
32
- <text x="450" y="145" fill="#4A4A4A" text-anchor="middle" font-size="10">工业化整装 · 尖刀产品</text>
33
-
34
- <!-- 司空网 -->
35
- <rect x="660" y="105" width="200" height="55" rx="8" fill="#C5A8A5" />
36
- <text x="760" y="128" fill="#2C2C2C" text-anchor="middle" font-size="14" font-weight="bold">司空网</text>
37
- <text x="760" y="145" fill="#4A4A4A" text-anchor="middle" font-size="10">产业互联网平台 · 生态发动机</text>
38
-
39
- <!-- 三级火箭标注(小标签矩形) -->
40
- <rect x="390" y="170" width="120" height="20" rx="10" fill="#D6CFC7" />
41
- <text x="450" y="184" fill="#2C2C2C" text-anchor="middle" font-size="11" font-weight="bold">三级火箭模型</text>
42
-
43
- <!-- 向下连线 -->
44
- <line x1="140" y1="160" x2="140" y2="200" stroke="#9A8F85" stroke-width="2" />
45
- <line x1="450" y1="160" x2="450" y2="200" stroke="#9A8F85" stroke-width="2" />
46
- <line x1="760" y1="160" x2="760" y2="200" stroke="#9A8F85" stroke-width="2" />
47
-
48
- <!-- ===== 第三层:各平台核心能力(子流程 - 矩形虚线边框) ===== -->
49
-
50
- <!-- 万华禾香模块 -->
51
- <rect x="20" y="200" width="240" height="120" rx="8" fill="#EDE8E0" stroke="#C5B8A8" stroke-width="1.5" stroke-dasharray="6,3" />
52
- <text x="140" y="222" fill="#2C2C2C" text-anchor="middle" font-size="12" font-weight="bold">核心能力</text>
53
- <line x1="40" y1="230" x2="240" y2="230" stroke="#C5B8A8" stroke-width="0.5" />
54
- <text x="40" y="248" fill="#3A3A3A" font-size="11">• MDI无醛胶技术(全球独家)</text>
55
- <text x="40" y="266" fill="#3A3A3A" font-size="11">• 秸秆代木原料(成本低30%)</text>
56
- <text x="40" y="284" fill="#3A3A3A" font-size="11">• 491万m³/年,14个产业集群</text>
57
- <text x="40" y="302" fill="#3A3A3A" font-size="11">• 国家科技进步二等奖</text>
58
-
59
- <!-- 万华新家装模块 -->
60
- <rect x="330" y="200" width="240" height="120" rx="8" fill="#EDE8E0" stroke="#A8BCC0" stroke-width="1.5" stroke-dasharray="6,3" />
61
- <text x="450" y="222" fill="#2C2C2C" text-anchor="middle" font-size="12" font-weight="bold">核心能力</text>
62
- <line x1="350" y1="230" x2="550" y2="230" stroke="#A8BCC0" stroke-width="0.5" />
63
- <text x="350" y="248" fill="#3A3A3A" font-size="11">• 45000+工业化部件拆解</text>
64
- <text x="350" y="266" fill="#3A3A3A" font-size="11">• 7天全屋 / 36h厨卫焕新</text>
65
- <text x="350" y="284" fill="#3A3A3A" font-size="11">• 毫米级交付精度(2-3mm)</text>
66
- <text x="350" y="302" fill="#3A3A3A" font-size="11">• 7天培训:工匠→安装工</text>
67
-
68
- <!-- 司空网模块 -->
69
- <rect x="640" y="200" width="240" height="120" rx="8" fill="#EDE8E0" stroke="#C5A8A5" stroke-width="1.5" stroke-dasharray="6,3" />
70
- <text x="760" y="222" fill="#2C2C2C" text-anchor="middle" font-size="12" font-weight="bold">核心能力</text>
71
- <line x1="660" y1="230" x2="860" y2="230" stroke="#C5A8A5" stroke-width="0.5" />
72
- <text x="660" y="248" fill="#3A3A3A" font-size="11">• 智能设计(20分钟出方案)</text>
73
- <text x="660" y="266" fill="#3A3A3A" font-size="11">• 智造配送(柔性排产)</text>
74
- <text x="660" y="284" fill="#3A3A3A" font-size="11">• 移动交付(LBS派工)</text>
75
- <text x="660" y="302" fill="#3A3A3A" font-size="11">• 不直接做家装,赋能B端</text>
76
-
77
- <!-- 横向协作连线 -->
78
- <line x1="260" y1="260" x2="330" y2="260" stroke="#B5ABA1" stroke-width="1.5" stroke-dasharray="6,4" />
79
- <text x="295" y="255" fill="#6B6259" text-anchor="middle" font-size="9">板材供应</text>
80
-
81
- <line x1="570" y1="260" x2="640" y2="260" stroke="#B5ABA1" stroke-width="1.5" stroke-dasharray="6,4" />
82
- <text x="605" y="255" fill="#6B6259" text-anchor="middle" font-size="9">系统赋能</text>
83
-
84
- <!-- ===== 第四层:细分赛道(判定 - 菱形) ===== -->
85
- <line x1="450" y1="320" x2="450" y2="348" stroke="#9A8F85" stroke-width="2.5" />
86
-
87
- <!-- 菱形(判定框) -->
88
- <polygon points="270,370 450,348 630,370 450,392" fill="#E0D2C8" stroke="#B5ABA1" stroke-width="1.5" />
89
- <text x="450" y="375" fill="#2C2C2C" text-anchor="middle" font-size="13" font-weight="bold">七大细分赛道</text>
90
- <text x="450" y="389" fill="#4A4A4A" text-anchor="middle" font-size="9">(生活场景解决方案)</text>
91
-
92
- <!-- 向下分支 -->
93
- <line x1="450" y1="392" x2="450" y2="420" stroke="#9A8F85" stroke-width="2" />
94
- <line x1="80" y1="420" x2="820" y2="420" stroke="#9A8F85" stroke-width="2" />
95
-
96
- <line x1="80" y1="420" x2="80" y2="435" stroke="#9A8F85" stroke-width="1.5" />
97
- <line x1="203" y1="420" x2="203" y2="435" stroke="#9A8F85" stroke-width="1.5" />
98
- <line x1="327" y1="420" x2="327" y2="435" stroke="#9A8F85" stroke-width="1.5" />
99
- <line x1="450" y1="420" x2="450" y2="435" stroke="#9A8F85" stroke-width="1.5" />
100
- <line x1="573" y1="420" x2="573" y2="435" stroke="#9A8F85" stroke-width="1.5" />
101
- <line x1="697" y1="420" x2="697" y2="435" stroke="#9A8F85" stroke-width="1.5" />
102
- <line x1="820" y1="420" x2="820" y2="435" stroke="#9A8F85" stroke-width="1.5" />
103
-
104
- <!-- 七个赛道矩形(莫兰迪柔和色) -->
105
- <rect x="30" y="435" width="100" height="80" rx="8" fill="#D4C5B5" />
106
- <text x="80" y="460" fill="#2C2C2C" text-anchor="middle" font-size="13" font-weight="bold">🏠 安家</text>
107
- <text x="80" y="480" fill="#4A4A4A" text-anchor="middle" font-size="9">适老化改造</text>
108
- <text x="80" y="498" fill="#4A4A4A" text-anchor="middle" font-size="9">⭐ 核心赛道</text>
109
-
110
- <rect x="153" y="435" width="100" height="80" rx="8" fill="#C5BEC7" />
111
- <text x="203" y="460" fill="#2C2C2C" text-anchor="middle" font-size="13" font-weight="bold">🧒 童趣</text>
112
- <text x="203" y="480" fill="#4A4A4A" text-anchor="middle" font-size="9">儿童成长</text>
113
- <text x="203" y="498" fill="#4A4A4A" text-anchor="middle" font-size="9">无醛刚需</text>
114
-
115
- <rect x="277" y="435" width="100" height="80" rx="8" fill="#BEC8C0" />
116
- <text x="327" y="460" fill="#2C2C2C" text-anchor="middle" font-size="13" font-weight="bold">🤖 智慧家</text>
117
- <text x="327" y="480" fill="#4A4A4A" text-anchor="middle" font-size="9">全屋智能</text>
118
- <text x="327" y="498" fill="#4A4A4A" text-anchor="middle" font-size="9">预装基础设施</text>
119
-
120
- <rect x="400" y="435" width="100" height="80" rx="8" fill="#D4C8B8" />
121
- <text x="450" y="460" fill="#2C2C2C" text-anchor="middle" font-size="13" font-weight="bold">🐾 宠屿</text>
122
- <text x="450" y="480" fill="#4A4A4A" text-anchor="middle" font-size="9">人宠共居</text>
123
- <text x="450" y="498" fill="#4A4A4A" text-anchor="middle" font-size="9">小红书上搜增680%</text>
124
-
125
- <rect x="523" y="435" width="100" height="80" rx="8" fill="#BCC8C5" />
126
- <text x="573" y="460" fill="#2C2C2C" text-anchor="middle" font-size="13" font-weight="bold">👨‍👩‍👧‍👦 和居</text>
127
- <text x="573" y="480" fill="#4A4A4A" text-anchor="middle" font-size="9">三代同堂</text>
128
- <text x="573" y="498" fill="#4A4A4A" text-anchor="middle" font-size="9">可变模块空间</text>
129
-
130
- <rect x="647" y="435" width="100" height="80" rx="8" fill="#C2C5CB" />
131
- <text x="697" y="460" fill="#2C2C2C" text-anchor="middle" font-size="13" font-weight="bold">🎨 我宅</text>
132
- <text x="697" y="480" fill="#4A4A4A" text-anchor="middle" font-size="9">青年创造力</text>
133
- <text x="697" y="498" fill="#4A4A4A" text-anchor="middle" font-size="9">可拆卸租客版</text>
134
-
135
- <rect x="770" y="435" width="100" height="80" rx="8" fill="#C8C5C0" />
136
- <text x="820" y="460" fill="#2C2C2C" text-anchor="middle" font-size="13" font-weight="bold">💡 灵感舱</text>
137
- <text x="820" y="480" fill="#4A4A4A" text-anchor="middle" font-size="9">居家办公</text>
138
- <text x="820" y="498" fill="#4A4A4A" text-anchor="middle" font-size="9">工作室</text>
139
-
140
- <!-- ===== 第五层:AI 战略(处理 - 圆角矩形) ===== -->
141
- <line x1="450" y1="515" x2="450" y2="550" stroke="#9A8F85" stroke-width="2.5" />
142
-
143
- <rect x="300" y="550" width="300" height="36" rx="18" fill="#C0B7B5" />
144
- <text x="450" y="574" fill="#2C2C2C" text-anchor="middle" font-size="14" font-weight="bold">🤖 AI战略:司空网.skill 智能体</text>
145
-
146
- <line x1="450" y1="586" x2="450" y2="606" stroke="#B5ABA1" stroke-width="1.5" />
147
- <line x1="150" y1="606" x2="750" y2="606" stroke="#B5ABA1" stroke-width="1.5" />
148
-
149
- <!-- ↓ 修正:连接线位置与下方模块中心对齐(150 / 350 / 550 / 750) -->
150
- <line x1="150" y1="606" x2="150" y2="620" stroke="#B5ABA1" stroke-width="1.5" />
151
- <line x1="350" y1="606" x2="350" y2="620" stroke="#B5ABA1" stroke-width="1.5" />
152
- <line x1="550" y1="606" x2="550" y2="620" stroke="#B5ABA1" stroke-width="1.5" />
153
- <line x1="750" y1="606" x2="750" y2="620" stroke="#B5ABA1" stroke-width="1.5" />
154
-
155
- <!-- ↓ 修正:四个 AI 胶囊均匀分布,不再重叠 -->
156
- <!-- 块1:中心150 -->
157
- <rect x="75" y="620" width="150" height="55" rx="27" fill="#D9D2CE" stroke="#C0B7B5" stroke-width="1.2" />
158
- <text x="150" y="642" fill="#2C2C2C" text-anchor="middle" font-size="12" font-weight="bold">孝心检测 🎯</text>
159
- <text x="150" y="660" fill="#4A4A4A" text-anchor="middle" font-size="9">上传照片→识别安全隐患</text>
160
-
161
- <!-- 块2:中心350(原x=325→改为275) -->
162
- <rect x="275" y="620" width="150" height="55" rx="27" fill="#D9D2CE" stroke="#C0B7B5" stroke-width="1.2" />
163
- <text x="350" y="642" fill="#2C2C2C" text-anchor="middle" font-size="12" font-weight="bold">毫秒方案 ⚡</text>
164
- <text x="350" y="660" fill="#4A4A4A" text-anchor="middle" font-size="9">30秒生成2-3套方案</text>
165
-
166
- <!-- 块3:中心550(原x=425→改为475) -->
167
- <rect x="475" y="620" width="150" height="55" rx="27" fill="#D9D2CE" stroke="#C0B7B5" stroke-width="1.2" />
168
- <text x="550" y="642" fill="#2C2C2C" text-anchor="middle" font-size="12" font-weight="bold">补贴助手 💰</text>
169
- <text x="550" y="660" fill="#4A4A4A" text-anchor="middle" font-size="9">自动匹配地方政策</text>
170
-
171
- <!-- 块4:中心750 -->
172
- <rect x="675" y="620" width="150" height="55" rx="27" fill="#D9D2CE" stroke="#C0B7B5" stroke-width="1.2" />
173
- <text x="750" y="642" fill="#2C2C2C" text-anchor="middle" font-size="12" font-weight="bold">成长设计 🌱</text>
174
- <text x="750" y="660" fill="#4A4A4A" text-anchor="middle" font-size="9">3-18岁可成长空间</text>
175
-
176
- <!-- ===== 数据飞轮(结束节点 - 胶囊) ===== -->
177
- <line x1="450" y1="675" x2="450" y2="696" stroke="#9A8F85" stroke-width="2" />
178
- <rect x="230" y="696" width="440" height="32" rx="16" fill="#B2B9B0" />
179
- <text x="450" y="717" fill="#2C2C2C" text-anchor="middle" font-size="12" font-weight="bold">🔄 数据飞轮:工具获客 → 数据积累 → 方案推荐 → 交易转化</text>
180
-
181
- <!-- ===== 底部战略总结(结束节点) ===== -->
182
- <line x1="450" y1="728" x2="450" y2="744" stroke="#9A8F85" stroke-width="2" />
183
-
184
- <rect x="120" y="744" width="660" height="10" rx="5" fill="#8C8A86" />
185
- <text x="450" y="738" fill="#2C2C2C" text-anchor="middle" font-size="10" font-weight="bold">定位:大家居行业的「安卓 + 高通」· 愿景:让每个人都能享受无醛美好的居住生活</text>
186
-
187
- </svg>
188
-
189
- <p style="font-size: 10.5pt; color: #333; margin-top: 8px; text-align: center;">图1 万华生态集团组织架构与业务层级</p>
190
-
191
- </div>
192
-
193
- ***