@itwin/rpcinterface-full-stack-tests 5.8.0-dev.2 → 5.8.0-dev.4
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/lib/dist/bundled-tests.js +18 -12
- package/lib/dist/bundled-tests.js.map +1 -1
- package/lib/dist/core_frontend_lib_esm_ApproximateTerrainHeightsProps_js.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_cross-fetch_4_0_0_node_modules_cross-fetch_dist_browser-24291b.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_loaders_gl_draco_4_3_4__loaders_gl_core_4_3_4_node_modu-4c1fc9.bundled-tests.js.map +1 -1
- package/package.json +14 -14
|
@@ -59396,7 +59396,7 @@ class Logger {
|
|
|
59396
59396
|
* @param category The category of the message.
|
|
59397
59397
|
* @param err The exception object.
|
|
59398
59398
|
* @param log The logger output function to use - defaults to Logger.logError
|
|
59399
|
-
* @deprecated in 5.6. Use logError(category, error, metaData) instead, which will log exceptions in the same way but is more flexible and easier to use.
|
|
59399
|
+
* @deprecated in 5.6 - will not be removed until after 2027-03-03. Use logError(category, error, metaData) instead, which will log exceptions in the same way but is more flexible and easier to use.
|
|
59400
59400
|
*/
|
|
59401
59401
|
static logException(category, err, log = (_category, message, metaData) => Logger.logError(_category, message, metaData)) {
|
|
59402
59402
|
log(category, Logger.getExceptionMessage(err), () => {
|
|
@@ -191666,7 +191666,13 @@ class WmtsMapLayerImageryProvider extends _tile_internal__WEBPACK_IMPORTED_MODUL
|
|
|
191666
191666
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(false); // Must always hava a matrix set.
|
|
191667
191667
|
return;
|
|
191668
191668
|
}
|
|
191669
|
-
const
|
|
191669
|
+
const childLevel = quadId.level + 1;
|
|
191670
|
+
const childMatrixId = matrixSetAndLimits.tileMatrixSet.tileMatrix.length > childLevel
|
|
191671
|
+
? matrixSetAndLimits.tileMatrixSet.tileMatrix[childLevel].identifier
|
|
191672
|
+
: undefined;
|
|
191673
|
+
const limits = childMatrixId !== undefined
|
|
191674
|
+
? matrixSetAndLimits.limits?.find((l) => l.tileMatrix === childMatrixId)?.limits
|
|
191675
|
+
: undefined;
|
|
191670
191676
|
if (!limits) {
|
|
191671
191677
|
resolveChildren(childIds);
|
|
191672
191678
|
return;
|
|
@@ -192699,7 +192705,7 @@ var WmtsCapability;
|
|
|
192699
192705
|
this.tileMatrixSet = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(getElementTextContent(elem, "TileMatrixSet", ""));
|
|
192700
192706
|
const tileMatrixLimitsRoot = elem.getElementsByTagName("TileMatrixSetLimits");
|
|
192701
192707
|
if (tileMatrixLimitsRoot.length > 0) {
|
|
192702
|
-
const tileMatrixLimits = tileMatrixLimitsRoot[0].getElementsByTagName("
|
|
192708
|
+
const tileMatrixLimits = tileMatrixLimitsRoot[0].getElementsByTagName("TileMatrixLimits");
|
|
192703
192709
|
for (const tmsl of tileMatrixLimits) {
|
|
192704
192710
|
this.tileMatrixSetLimits.push(new TileMatrixSetLimits(tmsl));
|
|
192705
192711
|
}
|
|
@@ -205697,20 +205703,19 @@ class ImageryMapTile extends _internal__WEBPACK_IMPORTED_MODULE_4__.RealityTile
|
|
|
205697
205703
|
setContent(content) {
|
|
205698
205704
|
this._texture = content.imageryTexture; // No dispose - textures may be shared by terrain tiles so let garbage collector dispose them.
|
|
205699
205705
|
if (undefined === content.imageryTexture)
|
|
205700
|
-
|
|
205706
|
+
this.setLeaf(); // No imagery here — don't traverse deeper, but leave siblings unaffected.
|
|
205701
205707
|
this.setIsReady();
|
|
205702
205708
|
}
|
|
205703
205709
|
selectCartoDrapeTiles(drapeTiles, highResolutionReplacementTiles, rectangleToDrape, drapePixelSize, args) {
|
|
205704
205710
|
// Base draping overlap on width rather than height so that tiling schemes with multiple root nodes overlay correctly.
|
|
205705
205711
|
const isSmallerThanDrape = (this.rectangle.xLength() / this.maximumSize) < drapePixelSize;
|
|
205706
|
-
if ((this.isLeaf) // Include leaves so tiles get stretched past max LOD levels. (Only for base imagery layer)
|
|
205707
|
-
|| isSmallerThanDrape
|
|
205708
|
-
|| this._anyChildNotFound) {
|
|
205712
|
+
if ((this.isLeaf && !this.isNotFound) // Include leaves so tiles get stretched past max LOD levels. (Only for base imagery layer)
|
|
205713
|
+
|| isSmallerThanDrape) {
|
|
205709
205714
|
if (this.isOutOfLodRange) {
|
|
205710
205715
|
drapeTiles.push(this);
|
|
205711
205716
|
this.setIsReady();
|
|
205712
205717
|
}
|
|
205713
|
-
else if (this.isLeaf && !isSmallerThanDrape
|
|
205718
|
+
else if (this.isLeaf && !isSmallerThanDrape) {
|
|
205714
205719
|
// These tiles are selected because we are beyond the max LOD of the tile tree,
|
|
205715
205720
|
// might be used to display "stretched" tiles instead of having blank.
|
|
205716
205721
|
highResolutionReplacementTiles.push(this);
|
|
@@ -205728,8 +205733,9 @@ class ImageryMapTile extends _internal__WEBPACK_IMPORTED_MODULE_4__.RealityTile
|
|
|
205728
205733
|
if (undefined !== this.children) {
|
|
205729
205734
|
for (const child of this.children) {
|
|
205730
205735
|
const mapChild = child;
|
|
205731
|
-
if (mapChild.rectangle.intersectsRange(rectangleToDrape))
|
|
205732
|
-
|
|
205736
|
+
if (!mapChild.rectangle.intersectsRange(rectangleToDrape))
|
|
205737
|
+
continue;
|
|
205738
|
+
status = mapChild.selectCartoDrapeTiles(drapeTiles, highResolutionReplacementTiles, rectangleToDrape, drapePixelSize, args);
|
|
205733
205739
|
if (_internal__WEBPACK_IMPORTED_MODULE_4__.TileTreeLoadStatus.Loaded !== status)
|
|
205734
205740
|
break;
|
|
205735
205741
|
}
|
|
@@ -345421,7 +345427,7 @@ class TestContext {
|
|
|
345421
345427
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
345422
345428
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
345423
345429
|
await core_frontend_1.NoRenderApp.startup({
|
|
345424
|
-
applicationVersion: "5.8.0-dev.
|
|
345430
|
+
applicationVersion: "5.8.0-dev.4",
|
|
345425
345431
|
applicationId: this.settings.gprid,
|
|
345426
345432
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.serviceAuthToken),
|
|
345427
345433
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -372598,7 +372604,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
372598
372604
|
/***/ ((module) => {
|
|
372599
372605
|
|
|
372600
372606
|
"use strict";
|
|
372601
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.8.0-dev.
|
|
372607
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.8.0-dev.4","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s webpackWorkers && npm run -s copy:workers && npm run -s copy:draco","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2022 --outDir lib/esm","clean":"rimraf -g lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","copy:draco":"cpx \\"./node_modules/@loaders.gl/draco/dist/libs/*\\" ./lib/public/scripts","docs":"betools docs --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts && npm run -s extract","extract":"betools extract --fileExt=ts --extractFrom=./src/test/example-code --recursive --out=../../generated-docs/extract","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-deprecation":"eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \\"./src/**/*.ts\\"","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2 && npm run -s webpackTestWorker","webpackTestWorker":"webpack --config ./src/test/worker/webpack.config.js 1>&2 && cpx \\"./lib/test/test-worker.js\\" ./lib/test","webpackWorkers":"webpack --config ./src/workers/ImdlParser/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@bentley/aec-units-schema":"^1.0.3","@bentley/formats-schema":"^1.0.0","@bentley/units-schema":"^1.0.9","@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*","@itwin/object-storage-core":"^3.0.4","@itwin/eslint-plugin":"^6.0.0","@types/chai-as-promised":"^7","@types/draco3d":"^1.4.10","@types/sinon":"^17.0.2","@vitest/browser":"^3.0.6","@vitest/coverage-v8":"^3.0.6","cpx2":"^8.0.0","eslint":"^9.31.0","glob":"^10.5.0","playwright":"~1.56.1","rimraf":"^6.0.1","sinon":"^17.0.2","source-map-loader":"^5.0.0","typescript":"~5.6.2","vitest":"^3.0.6","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"2.2.0","webpack":"^5.97.1"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/core-i18n":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^4.3.4","@loaders.gl/draco":"^4.3.4","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
|
|
372602
372608
|
|
|
372603
372609
|
/***/ }),
|
|
372604
372610
|
|