@itwin/ecschema-rpcinterface-tests 4.11.4 → 4.11.6
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 +24 -10
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +16 -16
|
@@ -103447,6 +103447,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
103447
103447
|
/* harmony export */ "RealityMeshParams": () => (/* reexport safe */ _render_RealityMeshParams__WEBPACK_IMPORTED_MODULE_90__.RealityMeshParams),
|
|
103448
103448
|
/* harmony export */ "RealityMeshParamsBuilder": () => (/* reexport safe */ _render_RealityMeshParams__WEBPACK_IMPORTED_MODULE_90__.RealityMeshParamsBuilder),
|
|
103449
103449
|
/* harmony export */ "RealityModelTileTree": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.RealityModelTileTree),
|
|
103450
|
+
/* harmony export */ "RealityModelTileTreeProps": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.RealityModelTileTreeProps),
|
|
103450
103451
|
/* harmony export */ "RealityModelTileUtils": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.RealityModelTileUtils),
|
|
103451
103452
|
/* harmony export */ "RealityTile": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.RealityTile),
|
|
103452
103453
|
/* harmony export */ "RealityTileDrawArgs": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.RealityTileDrawArgs),
|
|
@@ -146005,6 +146006,7 @@ class SpatialRefs {
|
|
|
146005
146006
|
__webpack_require__.r(__webpack_exports__);
|
|
146006
146007
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
146007
146008
|
/* harmony export */ "RealityModelTileTree": () => (/* binding */ RealityModelTileTree),
|
|
146009
|
+
/* harmony export */ "RealityModelTileTreeProps": () => (/* binding */ RealityModelTileTreeProps),
|
|
146008
146010
|
/* harmony export */ "RealityModelTileUtils": () => (/* binding */ RealityModelTileUtils),
|
|
146009
146011
|
/* harmony export */ "RealityTileRegion": () => (/* binding */ RealityTileRegion),
|
|
146010
146012
|
/* harmony export */ "RealityTreeReference": () => (/* binding */ RealityTreeReference),
|
|
@@ -146212,18 +146214,29 @@ var SMTextureType;
|
|
|
146212
146214
|
SMTextureType[SMTextureType["Embedded"] = 1] = "Embedded";
|
|
146213
146215
|
SMTextureType[SMTextureType["Streaming"] = 2] = "Streaming";
|
|
146214
146216
|
})(SMTextureType || (SMTextureType = {}));
|
|
146215
|
-
/** @internal */
|
|
146217
|
+
/** @internal Exported strictly for tests. */
|
|
146216
146218
|
class RealityModelTileTreeProps {
|
|
146219
|
+
get usesGeometricError() {
|
|
146220
|
+
return undefined !== this.maximumScreenSpaceError;
|
|
146221
|
+
}
|
|
146217
146222
|
constructor(json, root, rdSource, tilesetToDbTransform, tilesetToEcef) {
|
|
146218
146223
|
this.tilesetToEcef = tilesetToEcef;
|
|
146219
146224
|
this.doDrapeBackgroundMap = false;
|
|
146220
146225
|
this.yAxisUp = false;
|
|
146221
146226
|
this.tilesetJson = root;
|
|
146222
|
-
this.
|
|
146227
|
+
this.dataSource = rdSource;
|
|
146223
146228
|
this.location = tilesetToDbTransform;
|
|
146224
146229
|
this.doDrapeBackgroundMap = (json.root && json.root.SMMasterHeader && SMTextureType.Streaming === json.root.SMMasterHeader.IsTextured);
|
|
146225
|
-
if (json.asset.gltfUpAxis === undefined || json.asset.gltfUpAxis === "y" || json.asset.gltfUpAxis === "Y")
|
|
146230
|
+
if (json.asset.gltfUpAxis === undefined || json.asset.gltfUpAxis === "y" || json.asset.gltfUpAxis === "Y") {
|
|
146226
146231
|
this.yAxisUp = true;
|
|
146232
|
+
}
|
|
146233
|
+
const maxSSE = json.asset.extras?.maximumScreenSpaceError;
|
|
146234
|
+
if (typeof maxSSE === "number") {
|
|
146235
|
+
this.maximumScreenSpaceError = json.asset.extras?.maximumScreenSpaceError;
|
|
146236
|
+
}
|
|
146237
|
+
else if (rdSource.usesGeometricError) {
|
|
146238
|
+
this.maximumScreenSpaceError = rdSource.maximumScreenSpaceError ?? 1;
|
|
146239
|
+
}
|
|
146227
146240
|
}
|
|
146228
146241
|
}
|
|
146229
146242
|
class RealityModelTileTreeParams {
|
|
@@ -146244,7 +146257,7 @@ class RealityModelTileTreeParams {
|
|
|
146244
146257
|
id: "",
|
|
146245
146258
|
// If not specified explicitly, additiveRefinement is inherited from parent tile.
|
|
146246
146259
|
additiveRefinement: undefined !== refine ? "ADD" === refine : undefined,
|
|
146247
|
-
usesGeometricError: loader.tree.
|
|
146260
|
+
usesGeometricError: loader.tree.usesGeometricError,
|
|
146248
146261
|
});
|
|
146249
146262
|
}
|
|
146250
146263
|
}
|
|
@@ -146362,7 +146375,7 @@ class RealityModelTileLoader extends _internal__WEBPACK_IMPORTED_MODULE_8__.Real
|
|
|
146362
146375
|
get clipLowResolutionTiles() { return true; }
|
|
146363
146376
|
get viewFlagOverrides() { return this._viewFlagOverrides; }
|
|
146364
146377
|
get maximumScreenSpaceError() {
|
|
146365
|
-
return this.tree.
|
|
146378
|
+
return this.tree.maximumScreenSpaceError;
|
|
146366
146379
|
}
|
|
146367
146380
|
async loadChildren(tile) {
|
|
146368
146381
|
const props = await this.getChildrenProps(tile);
|
|
@@ -146391,7 +146404,7 @@ class RealityModelTileLoader extends _internal__WEBPACK_IMPORTED_MODULE_8__.Real
|
|
|
146391
146404
|
transformToRoot: foundChild.transformToRoot,
|
|
146392
146405
|
// If not specified explicitly, additiveRefinement is inherited from parent tile.
|
|
146393
146406
|
additiveRefinement: undefined !== refine ? refine === "ADD" : undefined,
|
|
146394
|
-
usesGeometricError: this.tree.
|
|
146407
|
+
usesGeometricError: this.tree.usesGeometricError,
|
|
146395
146408
|
}));
|
|
146396
146409
|
}
|
|
146397
146410
|
}
|
|
@@ -146406,7 +146419,7 @@ class RealityModelTileLoader extends _internal__WEBPACK_IMPORTED_MODULE_8__.Real
|
|
|
146406
146419
|
const foundChild = await this.findTileInJson(this.tree.tilesetJson, tile.contentId, "");
|
|
146407
146420
|
if (undefined === foundChild || undefined === foundChild.json.content || isCanceled())
|
|
146408
146421
|
return undefined;
|
|
146409
|
-
return this.tree.
|
|
146422
|
+
return this.tree.dataSource.getTileContent(getUrl(foundChild.json.content));
|
|
146410
146423
|
}
|
|
146411
146424
|
async findTileInJson(tilesetJson, id, parentId, transformToRoot) {
|
|
146412
146425
|
if (id.length === 0)
|
|
@@ -146427,7 +146440,7 @@ class RealityModelTileLoader extends _internal__WEBPACK_IMPORTED_MODULE_8__.Real
|
|
|
146427
146440
|
if (separatorIndex >= 0) {
|
|
146428
146441
|
return this.findTileInJson(foundChild, id.substring(separatorIndex + 1), thisParentId, transformToRoot);
|
|
146429
146442
|
}
|
|
146430
|
-
tilesetJson.children[childIndex] = await expandSubTree(foundChild, this.tree.
|
|
146443
|
+
tilesetJson.children[childIndex] = await expandSubTree(foundChild, this.tree.dataSource);
|
|
146431
146444
|
return new FindChildResult(thisParentId, tilesetJson.children[childIndex], transformToRoot);
|
|
146432
146445
|
}
|
|
146433
146446
|
}
|
|
@@ -146710,7 +146723,7 @@ class RealityTreeReference extends RealityModelTileTree.Reference {
|
|
|
146710
146723
|
return undefined;
|
|
146711
146724
|
const strings = [];
|
|
146712
146725
|
const loader = tree.loader;
|
|
146713
|
-
const type = loader.tree.
|
|
146726
|
+
const type = loader.tree.dataSource.realityDataType;
|
|
146714
146727
|
// If a type is specified, display it
|
|
146715
146728
|
if (type !== undefined) {
|
|
146716
146729
|
// Case insensitive
|
|
@@ -151722,6 +151735,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
151722
151735
|
/* harmony export */ "QuadId": () => (/* reexport safe */ _map_QuadId__WEBPACK_IMPORTED_MODULE_2__.QuadId),
|
|
151723
151736
|
/* harmony export */ "ReadonlyTileUserSet": () => (/* reexport safe */ _TileUserSet__WEBPACK_IMPORTED_MODULE_29__.ReadonlyTileUserSet),
|
|
151724
151737
|
/* harmony export */ "RealityModelTileTree": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_76__.RealityModelTileTree),
|
|
151738
|
+
/* harmony export */ "RealityModelTileTreeProps": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_76__.RealityModelTileTreeProps),
|
|
151725
151739
|
/* harmony export */ "RealityModelTileUtils": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_76__.RealityModelTileUtils),
|
|
151726
151740
|
/* harmony export */ "RealityTile": () => (/* reexport safe */ _RealityTile__WEBPACK_IMPORTED_MODULE_6__.RealityTile),
|
|
151727
151741
|
/* harmony export */ "RealityTileDrawArgs": () => (/* reexport safe */ _RealityTileDrawArgs__WEBPACK_IMPORTED_MODULE_10__.RealityTileDrawArgs),
|
|
@@ -303763,7 +303777,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
303763
303777
|
/***/ ((module) => {
|
|
303764
303778
|
|
|
303765
303779
|
"use strict";
|
|
303766
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.11.
|
|
303780
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.11.6","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","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 ES2020 --outDir lib/esm","clean":"rimraf 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","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","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","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","test:debug":"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:^4.11.6","@itwin/core-bentley":"workspace:^4.11.6","@itwin/core-common":"workspace:^4.11.6","@itwin/core-geometry":"workspace:^4.11.6","@itwin/core-orbitgt":"workspace:^4.11.6","@itwin/core-quantity":"workspace:^4.11.6"},"//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":{"@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/eslint-plugin":"5.0.0-dev.1","@types/chai-as-promised":"^7","@vitest/browser":"^3.0.5","@vitest/coverage-v8":"^3.0.5","cpx2":"^3.0.0","eslint":"^9.13.0","glob":"^10.3.12","playwright":"~1.47.1","rimraf":"^3.0.2","source-map-loader":"^4.0.0","typescript":"~5.6.2","typemoq":"^2.1.0","vitest":"^3.0.5","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"1.0.6","webpack":"^5.76.0"},"//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/cloud-agnostic-core":"^2.2.4","@itwin/object-storage-core":"^2.3.0","@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","meshoptimizer":"~0.20.0","wms-capabilities":"0.4.0"}}');
|
|
303767
303781
|
|
|
303768
303782
|
/***/ })
|
|
303769
303783
|
|