添加一些数据

This commit is contained in:
yuding
2026-04-21 15:07:36 +08:00
parent 9a185699ae
commit d60cc4448d
6 changed files with 317 additions and 16 deletions

View File

@@ -5,21 +5,100 @@
"packages": { "packages": {
"": { "": {
"dependencies": { "dependencies": {
"@opencode-ai/plugin": "1.4.3" "@opencode-ai/plugin": "1.4.7"
} }
}, },
"node_modules/@msgpackr-extract/msgpackr-extract-darwin-arm64": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-darwin-arm64/-/msgpackr-extract-darwin-arm64-3.0.3.tgz",
"integrity": "sha512-QZHtlVgbAdy2zAqNA9Gu1UpIuI8Xvsd1v8ic6B2pZmeFnFcMWiPLfWXh7TVw4eGEZ/C9TH281KwhVoeQUKbyjw==",
"cpu": [
"arm64"
],
"license": "MIT",
"optional": true,
"os": [
"darwin"
]
},
"node_modules/@msgpackr-extract/msgpackr-extract-darwin-x64": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-darwin-x64/-/msgpackr-extract-darwin-x64-3.0.3.tgz",
"integrity": "sha512-mdzd3AVzYKuUmiWOQ8GNhl64/IoFGol569zNRdkLReh6LRLHOXxU4U8eq0JwaD8iFHdVGqSy4IjFL4reoWCDFw==",
"cpu": [
"x64"
],
"license": "MIT",
"optional": true,
"os": [
"darwin"
]
},
"node_modules/@msgpackr-extract/msgpackr-extract-linux-arm": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-linux-arm/-/msgpackr-extract-linux-arm-3.0.3.tgz",
"integrity": "sha512-fg0uy/dG/nZEXfYilKoRe7yALaNmHoYeIoJuJ7KJ+YyU2bvY8vPv27f7UKhGRpY6euFYqEVhxCFZgAUNQBM3nw==",
"cpu": [
"arm"
],
"license": "MIT",
"optional": true,
"os": [
"linux"
]
},
"node_modules/@msgpackr-extract/msgpackr-extract-linux-arm64": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-linux-arm64/-/msgpackr-extract-linux-arm64-3.0.3.tgz",
"integrity": "sha512-YxQL+ax0XqBJDZiKimS2XQaf+2wDGVa1enVRGzEvLLVFeqa5kx2bWbtcSXgsxjQB7nRqqIGFIcLteF/sHeVtQg==",
"cpu": [
"arm64"
],
"license": "MIT",
"optional": true,
"os": [
"linux"
]
},
"node_modules/@msgpackr-extract/msgpackr-extract-linux-x64": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-linux-x64/-/msgpackr-extract-linux-x64-3.0.3.tgz",
"integrity": "sha512-cvwNfbP07pKUfq1uH+S6KJ7dT9K8WOE4ZiAcsrSes+UY55E/0jLYc+vq+DO7jlmqRb5zAggExKm0H7O/CBaesg==",
"cpu": [
"x64"
],
"license": "MIT",
"optional": true,
"os": [
"linux"
]
},
"node_modules/@msgpackr-extract/msgpackr-extract-win32-x64": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-win32-x64/-/msgpackr-extract-win32-x64-3.0.3.tgz",
"integrity": "sha512-x0fWaQtYp4E6sktbsdAqnehxDgEc/VwM7uLsRCYWaiGu0ykYdZPiS8zCWdnjHwyiumousxfBm4SO31eXqwEZhQ==",
"cpu": [
"x64"
],
"license": "MIT",
"optional": true,
"os": [
"win32"
]
},
"node_modules/@opencode-ai/plugin": { "node_modules/@opencode-ai/plugin": {
"version": "1.4.3", "version": "1.4.7",
"resolved": "https://registry.npmjs.org/@opencode-ai/plugin/-/plugin-1.4.3.tgz", "resolved": "https://registry.npmjs.org/@opencode-ai/plugin/-/plugin-1.4.7.tgz",
"integrity": "sha512-Ob/3tVSIeuMRJBr2O23RtrnC5djRe01Lglx+TwGEmjrH9yDBJ2tftegYLnNEjRoMuzITgq9LD8168p4pzv+U/A==", "integrity": "sha512-RbzMl7ILvQDHpZNvqzi6RCYaGcB3eBwNIMRZww467drLvMd1eOwr4/qAurrvYDsIIEctE6cKsrLuSGIKCW/Fxg==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@opencode-ai/sdk": "1.4.3", "@opencode-ai/sdk": "1.4.7",
"effect": "4.0.0-beta.48",
"zod": "4.1.8" "zod": "4.1.8"
}, },
"peerDependencies": { "peerDependencies": {
"@opentui/core": ">=0.1.97", "@opentui/core": ">=0.1.99",
"@opentui/solid": ">=0.1.97" "@opentui/solid": ">=0.1.99"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"@opentui/core": { "@opentui/core": {
@@ -31,14 +110,20 @@
} }
}, },
"node_modules/@opencode-ai/sdk": { "node_modules/@opencode-ai/sdk": {
"version": "1.4.3", "version": "1.4.7",
"resolved": "https://registry.npmjs.org/@opencode-ai/sdk/-/sdk-1.4.3.tgz", "resolved": "https://registry.npmjs.org/@opencode-ai/sdk/-/sdk-1.4.7.tgz",
"integrity": "sha512-X0CAVbwoGAjTY2iecpWkx2B+GAa2jSaQKYpJ+xILopeF/OGKZUN15mjqci+L7cEuwLHV5wk3x2TStUOVCa5p0A==", "integrity": "sha512-onEtaooQyoDP5gTShQeQSf0Sd8V7949G9pPNyIyRXnVtFqyDIhUDLGtL/a/+EIW9x5s+Y6lDy/3oVoGMvQ0rQQ==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"cross-spawn": "7.0.6" "cross-spawn": "7.0.6"
} }
}, },
"node_modules/@standard-schema/spec": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz",
"integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==",
"license": "MIT"
},
"node_modules/cross-spawn": { "node_modules/cross-spawn": {
"version": "7.0.6", "version": "7.0.6",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
@@ -53,12 +138,135 @@
"node": ">= 8" "node": ">= 8"
} }
}, },
"node_modules/detect-libc": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
"integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
"license": "Apache-2.0",
"optional": true,
"engines": {
"node": ">=8"
}
},
"node_modules/effect": {
"version": "4.0.0-beta.48",
"resolved": "https://registry.npmjs.org/effect/-/effect-4.0.0-beta.48.tgz",
"integrity": "sha512-MMAM/ZabuNdNmgXiin+BAanQXK7qM8mlt7nfXDoJ/Gn9V8i89JlCq+2N0AiWmqFLXjGLA0u3FjiOjSOYQk5uMw==",
"license": "MIT",
"dependencies": {
"@standard-schema/spec": "^1.1.0",
"fast-check": "^4.6.0",
"find-my-way-ts": "^0.1.6",
"ini": "^6.0.0",
"kubernetes-types": "^1.30.0",
"msgpackr": "^1.11.9",
"multipasta": "^0.2.7",
"toml": "^4.1.1",
"uuid": "^13.0.0",
"yaml": "^2.8.3"
}
},
"node_modules/fast-check": {
"version": "4.7.0",
"resolved": "https://registry.npmjs.org/fast-check/-/fast-check-4.7.0.tgz",
"integrity": "sha512-NsZRtqvSSoCP0HbNjUD+r1JH8zqZalyp6gLY9e7OYs7NK9b6AHOs2baBFeBG7bVNsuoukh89x2Yg3rPsul8ziQ==",
"funding": [
{
"type": "individual",
"url": "https://github.com/sponsors/dubzzz"
},
{
"type": "opencollective",
"url": "https://opencollective.com/fast-check"
}
],
"license": "MIT",
"dependencies": {
"pure-rand": "^8.0.0"
},
"engines": {
"node": ">=12.17.0"
}
},
"node_modules/find-my-way-ts": {
"version": "0.1.6",
"resolved": "https://registry.npmjs.org/find-my-way-ts/-/find-my-way-ts-0.1.6.tgz",
"integrity": "sha512-a85L9ZoXtNAey3Y6Z+eBWW658kO/MwR7zIafkIUPUMf3isZG0NCs2pjW2wtjxAKuJPxMAsHUIP4ZPGv0o5gyTA==",
"license": "MIT"
},
"node_modules/ini": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/ini/-/ini-6.0.0.tgz",
"integrity": "sha512-IBTdIkzZNOpqm7q3dRqJvMaldXjDHWkEDfrwGEQTs5eaQMWV+djAhR+wahyNNMAa+qpbDUhBMVt4ZKNwpPm7xQ==",
"license": "ISC",
"engines": {
"node": "^20.17.0 || >=22.9.0"
}
},
"node_modules/isexe": { "node_modules/isexe": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
"integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
"license": "ISC" "license": "ISC"
}, },
"node_modules/kubernetes-types": {
"version": "1.30.0",
"resolved": "https://registry.npmjs.org/kubernetes-types/-/kubernetes-types-1.30.0.tgz",
"integrity": "sha512-Dew1okvhM/SQcIa2rcgujNndZwU8VnSapDgdxlYoB84ZlpAD43U6KLAFqYo17ykSFGHNPrg0qry0bP+GJd9v7Q==",
"license": "Apache-2.0"
},
"node_modules/msgpackr": {
"version": "1.11.10",
"resolved": "https://registry.npmjs.org/msgpackr/-/msgpackr-1.11.10.tgz",
"integrity": "sha512-iCZNq+HszvF+fC3anCm4nBmWEnbeIAfpDs6IStAEKhQ2YSgkjzVG2FF9XJqwwQh5bH3N9OUTUt4QwVN6MLMLtA==",
"license": "MIT",
"optionalDependencies": {
"msgpackr-extract": "^3.0.2"
}
},
"node_modules/msgpackr-extract": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/msgpackr-extract/-/msgpackr-extract-3.0.3.tgz",
"integrity": "sha512-P0efT1C9jIdVRefqjzOQ9Xml57zpOXnIuS+csaB4MdZbTdmGDLo8XhzBG1N7aO11gKDDkJvBLULeFTo46wwreA==",
"hasInstallScript": true,
"license": "MIT",
"optional": true,
"dependencies": {
"node-gyp-build-optional-packages": "5.2.2"
},
"bin": {
"download-msgpackr-prebuilds": "bin/download-prebuilds.js"
},
"optionalDependencies": {
"@msgpackr-extract/msgpackr-extract-darwin-arm64": "3.0.3",
"@msgpackr-extract/msgpackr-extract-darwin-x64": "3.0.3",
"@msgpackr-extract/msgpackr-extract-linux-arm": "3.0.3",
"@msgpackr-extract/msgpackr-extract-linux-arm64": "3.0.3",
"@msgpackr-extract/msgpackr-extract-linux-x64": "3.0.3",
"@msgpackr-extract/msgpackr-extract-win32-x64": "3.0.3"
}
},
"node_modules/multipasta": {
"version": "0.2.7",
"resolved": "https://registry.npmjs.org/multipasta/-/multipasta-0.2.7.tgz",
"integrity": "sha512-KPA58d68KgGil15oDqXjkUBEBYc00XvbPj5/X+dyzeo/lWm9Nc25pQRlf1D+gv4OpK7NM0J1odrbu9JNNGvynA==",
"license": "MIT"
},
"node_modules/node-gyp-build-optional-packages": {
"version": "5.2.2",
"resolved": "https://registry.npmjs.org/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.2.2.tgz",
"integrity": "sha512-s+w+rBWnpTMwSFbaE0UXsRlg7hU4FjekKU4eyAih5T8nJuNZT1nNsskXpxmeqSK9UzkBl6UgRlnKc8hz8IEqOw==",
"license": "MIT",
"optional": true,
"dependencies": {
"detect-libc": "^2.0.1"
},
"bin": {
"node-gyp-build-optional-packages": "bin.js",
"node-gyp-build-optional-packages-optional": "optional.js",
"node-gyp-build-optional-packages-test": "build-test.js"
}
},
"node_modules/path-key": { "node_modules/path-key": {
"version": "3.1.1", "version": "3.1.1",
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
@@ -68,6 +276,22 @@
"node": ">=8" "node": ">=8"
} }
}, },
"node_modules/pure-rand": {
"version": "8.4.0",
"resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-8.4.0.tgz",
"integrity": "sha512-IoM8YF/jY0hiugFo/wOWqfmarlE6J0wc6fDK1PhftMk7MGhVZl88sZimmqBBFomLOCSmcCCpsfj7wXASCpvK9A==",
"funding": [
{
"type": "individual",
"url": "https://github.com/sponsors/dubzzz"
},
{
"type": "opencollective",
"url": "https://opencollective.com/fast-check"
}
],
"license": "MIT"
},
"node_modules/shebang-command": { "node_modules/shebang-command": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
@@ -89,6 +313,28 @@
"node": ">=8" "node": ">=8"
} }
}, },
"node_modules/toml": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/toml/-/toml-4.1.1.tgz",
"integrity": "sha512-EBJnVBr3dTXdA89WVFoAIPUqkBjxPMwRqsfuo1r240tKFHXv3zgca4+NJib/h6TyvGF7vOawz0jGuryJCdNHrw==",
"license": "MIT",
"engines": {
"node": ">=20"
}
},
"node_modules/uuid": {
"version": "13.0.0",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-13.0.0.tgz",
"integrity": "sha512-XQegIaBTVUjSHliKqcnFqYypAd4S+WCYt5NIeRs6w/UAry7z8Y9j5ZwRRL4kzq9U3sD6v+85er9FvkEaBpji2w==",
"funding": [
"https://github.com/sponsors/broofa",
"https://github.com/sponsors/ctavan"
],
"license": "MIT",
"bin": {
"uuid": "dist-node/bin/uuid"
}
},
"node_modules/which": { "node_modules/which": {
"version": "2.0.2", "version": "2.0.2",
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
@@ -104,6 +350,21 @@
"node": ">= 8" "node": ">= 8"
} }
}, },
"node_modules/yaml": {
"version": "2.8.3",
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.3.tgz",
"integrity": "sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==",
"license": "ISC",
"bin": {
"yaml": "bin.mjs"
},
"engines": {
"node": ">= 14.6"
},
"funding": {
"url": "https://github.com/sponsors/eemeli"
}
},
"node_modules/zod": { "node_modules/zod": {
"version": "4.1.8", "version": "4.1.8",
"license": "MIT", "license": "MIT",

View File

@@ -75612,7 +75612,7 @@ class CH {
fillTextureRotation = 0; fillTextureRotation = 0;
constructor(e) { constructor(e) {
this.engine = e, this.evaluator = new SH(); this.engine = e, this.evaluator = new SH();
const t = new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIWXMAAAsTAAALEwEAmpwYAAAJT0lEQVR4nO3cT44dVxmG8bdbmSBLCGMmIBYAQkRiF0BYQwiDMGYdrIBkQpaQQbIGFmCQ3EgeGywDA8i4GSR23O6+99afU1XnO8/zLOCopNLvVakG5+qrmz/exobpb3//R37920/y6t9fNTvzyeNH+eLPH+f9n/6o2Zm2TX+9eZEPPvp08vu/3vh5bMfEz24u/sQBGCbxs1uCP3EAhkj87JbiTxyA8omf3Rr8iQNQOvGzW4s/cQDKJn52LfAnDkDJxM+uFf7EASiX+Nm1xJ84AKUSP7vW+BMHoEziZ7cF/iePHzkAFRI/u63wf/nZ7x2A3hM/uy3x//wnP3QAek787LbGn/gPoNvEz24P/IkD0GXiZ7cX/sQB6C7xs9sTf+IAdJX42e2NP3EAukn87I7AnzgAXSR+dkfhTxyAwxM/u6fPjsOfOACHJn52T5+9yG9+dxz+xAE4LPGz6wF/4gAckvjZ9YI/cQB2T/zsesKfOAC7Jn52veFPHIDdEj+7HvEnDsAuiZ9dr/gTB2DzxM+uZ/yJA7Bp4mfXO/7EAdgs8b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2A+NmJv48OGQDxsxN/P+0+AOJnJ/6+2nUAxM9O/P212wCIn534+2yXARA/O/H32+YDIH524u+7TQdA/OzE33+bDYD42Ym/RpsMgPjZib9OzQdA/OzEX6umAyB+duKvV7MBED878desyQCIn53467Z6AMTPTvy1WzUA4mcn/votHgDxsxP/GC0aAPGzE/84zR4A8bMT/1jNGgDxsxP/eE0eAPGzE/+YTRoA8bMT/7hdHADxsxP/2J0dAPGzE//4nRwA8bMTP6MHB0D87MTP6d4AiJ+d+FndGQDxsxM/rzcDIH524md2nYifnvi5XYufnfjZXT15/OhW/MzEb1dJblsdJv46id+ShpeCir9O4rfXNRkA8ddJ/PZ2qwdA/HUSv73bqgEQf53Ebw+1eADEXyfx26kWDYD46yR+O9fsARB/ncRvl5o1AOKvk/htSpMHQPx1Er9N7f/Udadd2eKhBAAAAABJRU5ErkJggg==", import.meta.url).href, i = new Ia().load(t); const t = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIWXMAAAsTAAALEwEAmpwYAAAJT0lEQVR4nO3cT44dVxmG8bdbmSBLCGMmIBYAQkRiF0BYQwiDMGYdrIBkQpaQQbIGFmCQ3EgeGywDA8i4GSR23O6+99afU1XnO8/zLOCopNLvVakG5+qrmz/exobpb3//R37920/y6t9fNTvzyeNH+eLPH+f9n/6o2Zm2TX+9eZEPPvp08vu/3vh5bMfEz24u/sQBGCbxs1uCP3EAhkj87JbiTxyA8omf3Rr8iQNQOvGzW4s/cQDKJn52LfAnDkDJxM+uFf7EASiX+Nm1xJ84AKUSP7vW+BMHoEziZ7cF/iePHzkAFRI/u63wf/nZ7x2A3hM/uy3x//wnP3QAek787LbGn/gPoNvEz24P/IkD0GXiZ7cX/sQB6C7xs9sTf+IAdJX42e2NP3EAukn87I7AnzgAXSR+dkfhTxyAwxM/u6fPjsOfOACHJn52T5+9yG9+dxz+xAE4LPGz6wF/4gAckvjZ9YI/cQB2T/zsesKfOAC7Jn52veFPHIDdE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etqAMTPTvz7180AiJ+d+I+piwEQPzvxH9fhAyB+duI/tkMHQPzsxH98hw2A+NmJv48OGQDxsxN/P+0+AOJnJ/6+2nUAxM9O/P212wCIn534+2yXARA/O/H32+YDIH524u+7TQdA/OzE33+bDYD42Ym/RpsMgPjZib9OzQdA/OzEX6umAyB+duKvV7MBED878desyQCIn53467Z6AMTPTvy1WzUA4mcn/votHgDxsxP/GC0aAPGzE/84zR4A8bMT/1jNGgDxsxP/eE0eAPGzE/+YTRoA8bMT/7hdHADxsxP/2J0dAPGzE//4nRwA8bMTP6MHB0D87MTP6d4AiJ+d+FndGQDxsxM/rzcDIH524md2nYifnvi5XYufnfjZXT15/OhW/MzEb1dJblsdJv46id+ShpeCir9O4rfXNRkA8ddJ/PZ2qwdA/HUSv73bqgEQf53Ebw+1eADEXyfx26kWDYD46yR+O9fsARB/ncRvl5o1AOKvk/htSpMHQPx1Er9N7f/Udadd2eKhBAAAAABJRU5ErkJggg==", i = new Ia().load(t);
i.wrapS = en, i.wrapT = en, i.center.set(0.5, 0.5), i.rotation = this.fillTextureRotation, this.fillMaterial = new ka({ i.wrapS = en, i.wrapT = en, i.center.set(0.5, 0.5), i.rotation = this.fillTextureRotation, this.fillMaterial = new ka({
color: 16112010, color: 16112010,
map: i, map: i,
@@ -92966,7 +92966,7 @@ class eQ {
init() { init() {
this.container.innerHTML = "", this.wrapper = document.createElement("div"), this.wrapper.className = "bim-engine-wrapper", this.container.appendChild(this.wrapper); this.container.innerHTML = "", this.wrapper = document.createElement("div"), this.wrapper.className = "bim-engine-wrapper", this.container.appendChild(this.wrapper);
const e = document.createElement("div"); const e = document.createElement("div");
e.className = "bim-engine-version", e.textContent = "v2.5.13", this.wrapper.appendChild(e), this.sizeEl = document.createElement("div"), this.sizeEl.className = "bim-engine-size", this.wrapper.appendChild(this.sizeEl), this.updateClientSizeDisplay(), this.bindSizeObserver(), this.registry.container = this.container, this.registry.wrapper = this.wrapper, this.engine = new wC(this.wrapper, this.registry), this.dialog = new vE(this.wrapper, this.registry), this.rightKey = new Zb(this.wrapper, this.registry), this.bottomDock = new CC(this.wrapper, this.registry), this.registry.bottomDock = this.bottomDock, this.measureDock = new PC(this.registry), this.registry.measureDock = this.measureDock, this.measureDock.init(), this.sectionDock = new RC(this.registry), this.registry.sectionDock = this.sectionDock, this.sectionDock.init(), this.walkDock = new LC(this.registry), this.registry.walkDock = this.walkDock, this.walkDock.init(), this.radialToolbar = new SC(this.wrapper, this.registry), this.measure = new NC(this.registry), this.sectionPlane = new FC(this.registry), this.sectionAxis = new kC(this.registry), this.sectionBox = new UC(this.registry), this.walkControl = new OC(this.registry), this.walkControl.init(), this.engineInfo = new zC(this.registry), this.engineInfo.init(), this.registry.engine3d = this.engine, this.registry.dialog = this.dialog, this.registry.rightKey = this.rightKey, this.registry.radialToolbar = this.radialToolbar, this.registry.measure = this.measure, this.registry.sectionPlane = this.sectionPlane, this.registry.sectionAxis = this.sectionAxis, this.registry.sectionBox = this.sectionBox, this.registry.walkControl = this.walkControl, this.registry.engineInfo = this.engineInfo, this.componentDetail = new HC(this.registry), this.registry.componentDetail = this.componentDetail, this.componentDetail.init(), this.aiChat = new GC(this.registry), this.registry.aiChat = this.aiChat, this.aiChat.init(), this.constructTreeBtn = new TV(this.wrapper, this.registry), this.registry.constructTree = this.constructTreeBtn, this.setting = new wr(this.registry), this.registry.setting = this.setting, this.setting.init(), this.updateTheme(ht.getTheme()), ht.subscribe((t) => { e.className = "bim-engine-version", e.textContent = "v2.6.0", this.wrapper.appendChild(e), this.sizeEl = document.createElement("div"), this.sizeEl.className = "bim-engine-size", this.wrapper.appendChild(this.sizeEl), this.updateClientSizeDisplay(), this.bindSizeObserver(), this.registry.container = this.container, this.registry.wrapper = this.wrapper, this.engine = new wC(this.wrapper, this.registry), this.dialog = new vE(this.wrapper, this.registry), this.rightKey = new Zb(this.wrapper, this.registry), this.bottomDock = new CC(this.wrapper, this.registry), this.registry.bottomDock = this.bottomDock, this.measureDock = new PC(this.registry), this.registry.measureDock = this.measureDock, this.measureDock.init(), this.sectionDock = new RC(this.registry), this.registry.sectionDock = this.sectionDock, this.sectionDock.init(), this.walkDock = new LC(this.registry), this.registry.walkDock = this.walkDock, this.walkDock.init(), this.radialToolbar = new SC(this.wrapper, this.registry), this.measure = new NC(this.registry), this.sectionPlane = new FC(this.registry), this.sectionAxis = new kC(this.registry), this.sectionBox = new UC(this.registry), this.walkControl = new OC(this.registry), this.walkControl.init(), this.engineInfo = new zC(this.registry), this.engineInfo.init(), this.registry.engine3d = this.engine, this.registry.dialog = this.dialog, this.registry.rightKey = this.rightKey, this.registry.radialToolbar = this.radialToolbar, this.registry.measure = this.measure, this.registry.sectionPlane = this.sectionPlane, this.registry.sectionAxis = this.sectionAxis, this.registry.sectionBox = this.sectionBox, this.registry.walkControl = this.walkControl, this.registry.engineInfo = this.engineInfo, this.componentDetail = new HC(this.registry), this.registry.componentDetail = this.componentDetail, this.componentDetail.init(), this.aiChat = new GC(this.registry), this.registry.aiChat = this.aiChat, this.aiChat.init(), this.constructTreeBtn = new TV(this.wrapper, this.registry), this.registry.constructTree = this.constructTreeBtn, this.setting = new wr(this.registry), this.registry.setting = this.setting, this.setting.init(), this.updateTheme(ht.getTheme()), ht.subscribe((t) => {
this.updateTheme(t); this.updateTheme(t);
}); });
} }
@@ -93061,7 +93061,7 @@ class tQ {
init() { init() {
this.container.innerHTML = "", this.wrapper = document.createElement("div"), this.wrapper.className = "bim-engine-wrapper", this.container.appendChild(this.wrapper); this.container.innerHTML = "", this.wrapper = document.createElement("div"), this.wrapper.className = "bim-engine-wrapper", this.container.appendChild(this.wrapper);
const e = document.createElement("div"); const e = document.createElement("div");
e.className = "bim-engine-version", e.textContent = "v2.5.13", this.wrapper.appendChild(e), this.sizeEl = document.createElement("div"), this.sizeEl.className = "bim-engine-size", this.wrapper.appendChild(this.sizeEl), this.updateClientSizeDisplay(), this.bindSizeObserver(), this.registry.container = this.container, this.registry.wrapper = this.wrapper, this.engine = new wC(this.wrapper, this.registry), this.dialog = new vE(this.wrapper, this.registry), this.rightKey = new Zb(this.wrapper, this.registry), this.bottomDock = new CC(this.wrapper, this.registry), this.registry.bottomDock = this.bottomDock, this.registry.engine3d = this.engine, this.registry.dialog = this.dialog, this.registry.rightKey = this.rightKey, this.measureDock = new PC(this.registry), this.registry.measureDock = this.measureDock, this.measureDock.init(), this.sectionDock = new RC(this.registry), this.registry.sectionDock = this.sectionDock, this.sectionDock.init(), this.walkDock = new LC(this.registry), this.registry.walkDock = this.walkDock, this.walkDock.init(), this.radialToolbar = new SC(this.wrapper, this.registry), this.measure = new NC(this.registry), this.sectionPlane = new FC(this.registry), this.sectionAxis = new kC(this.registry), this.sectionBox = new UC(this.registry), this.walkControl = new OC(this.registry), this.walkControl.init(), this.engineInfo = new zC(this.registry), this.engineInfo.init(), this.registry.radialToolbar = this.radialToolbar, this.registry.measure = this.measure, this.registry.sectionPlane = this.sectionPlane, this.registry.sectionAxis = this.sectionAxis, this.registry.sectionBox = this.sectionBox, this.registry.walkControl = this.walkControl, this.registry.engineInfo = this.engineInfo, this.componentDetail = new HC(this.registry), this.registry.componentDetail = this.componentDetail, this.componentDetail.init(), this.aiChat = new GC(this.registry), this.registry.aiChat = this.aiChat, this.aiChat.init(), this.setting = new wr(this.registry), this.registry.setting = this.setting, this.setting.init(), this.updateTheme(ht.getTheme()), this.unsubscribeTheme = ht.subscribe((t) => { e.className = "bim-engine-version", e.textContent = "v2.6.0", this.wrapper.appendChild(e), this.sizeEl = document.createElement("div"), this.sizeEl.className = "bim-engine-size", this.wrapper.appendChild(this.sizeEl), this.updateClientSizeDisplay(), this.bindSizeObserver(), this.registry.container = this.container, this.registry.wrapper = this.wrapper, this.engine = new wC(this.wrapper, this.registry), this.dialog = new vE(this.wrapper, this.registry), this.rightKey = new Zb(this.wrapper, this.registry), this.bottomDock = new CC(this.wrapper, this.registry), this.registry.bottomDock = this.bottomDock, this.registry.engine3d = this.engine, this.registry.dialog = this.dialog, this.registry.rightKey = this.rightKey, this.measureDock = new PC(this.registry), this.registry.measureDock = this.measureDock, this.measureDock.init(), this.sectionDock = new RC(this.registry), this.registry.sectionDock = this.sectionDock, this.sectionDock.init(), this.walkDock = new LC(this.registry), this.registry.walkDock = this.walkDock, this.walkDock.init(), this.radialToolbar = new SC(this.wrapper, this.registry), this.measure = new NC(this.registry), this.sectionPlane = new FC(this.registry), this.sectionAxis = new kC(this.registry), this.sectionBox = new UC(this.registry), this.walkControl = new OC(this.registry), this.walkControl.init(), this.engineInfo = new zC(this.registry), this.engineInfo.init(), this.registry.radialToolbar = this.radialToolbar, this.registry.measure = this.measure, this.registry.sectionPlane = this.sectionPlane, this.registry.sectionAxis = this.sectionAxis, this.registry.sectionBox = this.sectionBox, this.registry.walkControl = this.walkControl, this.registry.engineInfo = this.engineInfo, this.componentDetail = new HC(this.registry), this.registry.componentDetail = this.componentDetail, this.componentDetail.init(), this.aiChat = new GC(this.registry), this.registry.aiChat = this.aiChat, this.aiChat.init(), this.setting = new wr(this.registry), this.registry.setting = this.setting, this.setting.init(), this.updateTheme(ht.getTheme()), this.unsubscribeTheme = ht.subscribe((t) => {
this.updateTheme(t); this.updateTheme(t);
}); });
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,6 @@
{ {
"name": "iflow-engine", "name": "iflow-engine",
"version": "2.6.0", "version": "2.6.1",
"description": "iFlow Engine SDK for Vue2, Vue3, React and HTML", "description": "iFlow Engine SDK for Vue2, Vue3, React and HTML",
"main": "./dist/iflow-engine.umd.js", "main": "./dist/iflow-engine.umd.js",
"module": "./dist/iflow-engine.es.js", "module": "./dist/iflow-engine.es.js",

View File

@@ -3,6 +3,43 @@ import dts from 'vite-plugin-dts';
import { resolve } from 'path'; import { resolve } from 'path';
import cssInjectedByJs from 'vite-plugin-css-injected-by-js'; import cssInjectedByJs from 'vite-plugin-css-injected-by-js';
import pkg from './package.json'; import pkg from './package.json';
import type { Plugin } from 'rollup';
/**
* 修复 webpack 5 / Next.js 兼容性问题
*
* Vite 在 lib 模式下构建 ESM 产物时,会将内联的 data URL 资源包装为
* `new URL("data:...", import.meta.url).href` 格式。
*
* 当 Next.js 14 (webpack 5) 消费这个 ESM 产物时webpack 5 的 asset module
* 系统会尝试处理 `new URL(..., import.meta.url)`,但 Next.js 内部的默认规则
* 对 `asset/inline` 类型配置了不兼容的 `filename` generator导致 schema
* validation 报错:
* "generator has an unknown property 'filename'. These properties are valid:
* object { dataUrl? }"
*
* 此插件在输出阶段将 `new URL("data:...", import.meta.url).href` 替换为直接的
* data URL 字符串,避免触发 webpack 的 asset module 处理逻辑。
*
* data URL 本身是绝对的,不需要 import.meta.url 作为 base因此这种替换是安全的。
*/
const fixWebpack5CompatPlugin = (): Plugin => ({
name: 'fix-webpack5-compat',
renderChunk(code) {
// 匹配 new URL("data:...", import.meta.url).href 或 new URL('data:...', import.meta.url).href
const fixed = code.replace(
/new URL\(["'](data:[^"']+)["'],\s*import\.meta\.url\)\.href/g,
'"$1"'
);
if (fixed !== code) {
console.log('[fix-webpack5-compat] Replaced new URL(data:..., import.meta.url) with direct data URL');
}
return {
code: fixed,
map: null,
};
},
});
export default defineConfig(() => { export default defineConfig(() => {
return { return {
@@ -44,6 +81,9 @@ export default defineConfig(() => {
// 禁用代码分割,将所有代码打包到一个文件 // 禁用代码分割,将所有代码打包到一个文件
inlineDynamicImports: true, inlineDynamicImports: true,
}, },
plugins: [
fixWebpack5CompatPlugin(),
],
}, },
sourcemap: true, sourcemap: true,
emptyOutDir: true, emptyOutDir: true,