@itwin/rpcinterface-full-stack-tests 4.9.4 → 4.9.5
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/_bea9.bundled-tests.js.map +1 -1
- package/lib/dist/bundled-tests.js +23 -6
- 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_loaders_gl_draco_3_1_6_node_modules_loaders_gl_draco_di-0642a6.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_meshoptimizer_0_20_0_node_modules_meshoptimizer_index_m-a5ae61.bundled-tests.js.map +1 -1
- package/package.json +14 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_bea9.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\
|
|
1
|
+
{"version":3,"file":"_bea9.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\15\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.1.6\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
|
|
@@ -115559,8 +115559,8 @@ class RenderSystem {
|
|
|
115559
115559
|
*/
|
|
115560
115560
|
createSkyBox(_params) { return undefined; }
|
|
115561
115561
|
/** Create a RenderGraphic consisting of a list of Graphics, with optional transform and symbology overrides applied to the list */
|
|
115562
|
-
createBranch(branch, transform) {
|
|
115563
|
-
return this.createGraphicBranch(branch, transform);
|
|
115562
|
+
createBranch(branch, transform, options) {
|
|
115563
|
+
return this.createGraphicBranch(branch, transform, options);
|
|
115564
115564
|
}
|
|
115565
115565
|
/** Create a node in the scene graph corresponding to a transform node in the scene's schedule script.
|
|
115566
115566
|
* Nodes under this branch will only be drawn if they belong to the specified transform node.
|
|
@@ -117534,6 +117534,7 @@ class BranchState {
|
|
|
117534
117534
|
get realityModelDisplaySettings() { return this._opts.realityModelDisplaySettings; }
|
|
117535
117535
|
get viewAttachmentId() { return this._opts.viewAttachmentId; }
|
|
117536
117536
|
get groupNodeId() { return this._opts.groupNodeId; }
|
|
117537
|
+
get disableClipStyle() { return this._opts.disableClipStyle; }
|
|
117537
117538
|
get symbologyOverrides() {
|
|
117538
117539
|
return this._opts.symbologyOverrides;
|
|
117539
117540
|
}
|
|
@@ -117565,6 +117566,7 @@ class BranchState {
|
|
|
117565
117566
|
realityModelDisplaySettings: branch.branch.realityModelDisplaySettings ?? prev.realityModelDisplaySettings,
|
|
117566
117567
|
viewAttachmentId: branch.viewAttachmentId ?? prev.viewAttachmentId,
|
|
117567
117568
|
groupNodeId: branch.branch.groupNodeId ?? prev.groupNodeId,
|
|
117569
|
+
disableClipStyle: branch.disableClipStyle ?? prev.disableClipStyle,
|
|
117568
117570
|
});
|
|
117569
117571
|
}
|
|
117570
117572
|
getFeatureAppearance(overrides, elemLo, elemHi, subcatLo, subcatHi, geomClass, modelLo, modelHi, type, animationNodeId) {
|
|
@@ -117617,6 +117619,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
117617
117619
|
/* harmony import */ var _RenderCommands__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./RenderCommands */ "../../core/frontend/lib/esm/render/webgl/RenderCommands.js");
|
|
117618
117620
|
/* harmony import */ var _Sync__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Sync */ "../../core/frontend/lib/esm/render/webgl/Sync.js");
|
|
117619
117621
|
/* harmony import */ var _ClipStack__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ClipStack */ "../../core/frontend/lib/esm/render/webgl/ClipStack.js");
|
|
117622
|
+
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
117620
117623
|
/*---------------------------------------------------------------------------------------------
|
|
117621
117624
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
117622
117625
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -117632,6 +117635,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
117632
117635
|
|
|
117633
117636
|
|
|
117634
117637
|
|
|
117638
|
+
|
|
117635
117639
|
function equalXYZs(a, b) {
|
|
117636
117640
|
if (a === b)
|
|
117637
117641
|
return true;
|
|
@@ -117688,6 +117692,7 @@ class BranchUniforms {
|
|
|
117688
117692
|
pushBranch(branch) {
|
|
117689
117693
|
(0,_Sync__WEBPACK_IMPORTED_MODULE_6__.desync)(this);
|
|
117690
117694
|
this._stack.pushBranch(branch);
|
|
117695
|
+
this.setClipStyle(this.top.disableClipStyle);
|
|
117691
117696
|
if (this.top.clipVolume)
|
|
117692
117697
|
this.clipStack.push(this.top.clipVolume);
|
|
117693
117698
|
if (branch.branch.realityModelDisplaySettings)
|
|
@@ -117706,6 +117711,7 @@ class BranchUniforms {
|
|
|
117706
117711
|
if (this.top.clipVolume)
|
|
117707
117712
|
this.clipStack.pop();
|
|
117708
117713
|
this._stack.pop();
|
|
117714
|
+
this.setClipStyle(this.top.disableClipStyle);
|
|
117709
117715
|
}
|
|
117710
117716
|
pushViewClip() {
|
|
117711
117717
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(!this._viewClipEnabled);
|
|
@@ -117815,6 +117821,16 @@ class BranchUniforms {
|
|
|
117815
117821
|
}
|
|
117816
117822
|
return true;
|
|
117817
117823
|
}
|
|
117824
|
+
// set the clip style based on disableClipStyle
|
|
117825
|
+
setClipStyle(disableClipStyle) {
|
|
117826
|
+
const vp = _IModelApp__WEBPACK_IMPORTED_MODULE_8__.IModelApp.viewManager.selectedView;
|
|
117827
|
+
if (vp) {
|
|
117828
|
+
const style = vp.view.displayStyle.settings.clipStyle;
|
|
117829
|
+
this.clipStack.insideColor.alpha = disableClipStyle ? 0 : (style.insideColor ? 1 : 0);
|
|
117830
|
+
this.clipStack.outsideColor.alpha = disableClipStyle ? 0 : (style.outsideColor ? 1 : 0);
|
|
117831
|
+
this.clipStack.intersectionStyle.alpha = disableClipStyle ? 0 : (style.intersectionStyle ? style.intersectionStyle.width : 0);
|
|
117832
|
+
}
|
|
117833
|
+
}
|
|
117818
117834
|
}
|
|
117819
117835
|
|
|
117820
117836
|
|
|
@@ -121978,6 +121994,7 @@ class Branch extends Graphic {
|
|
|
121978
121994
|
this.iModel = opts.iModel;
|
|
121979
121995
|
this.frustum = opts.frustum;
|
|
121980
121996
|
this.viewAttachmentId = opts.viewAttachmentId;
|
|
121997
|
+
this.disableClipStyle = opts.disableClipStyle;
|
|
121981
121998
|
if (opts.hline)
|
|
121982
121999
|
this.edgeSettings = _EdgeSettings__WEBPACK_IMPORTED_MODULE_6__.EdgeSettings.create(opts.hline);
|
|
121983
122000
|
if (opts.classifierOrDrape instanceof _PlanarClassifier__WEBPACK_IMPORTED_MODULE_8__.PlanarClassifier)
|
|
@@ -125729,7 +125746,7 @@ class RealityMeshGeometry extends _CachedGeometry__WEBPACK_IMPORTED_MODULE_7__.I
|
|
|
125729
125746
|
const primitive = _Primitive__WEBPACK_IMPORTED_MODULE_10__.Primitive.create(mesh);
|
|
125730
125747
|
branch.add(system.createBatch(primitive, featureTable, mesh.getRange(), { tileId }));
|
|
125731
125748
|
}
|
|
125732
|
-
return system.createBranch(branch, realityMesh._transform ? realityMesh._transform : _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Transform.createIdentity());
|
|
125749
|
+
return system.createBranch(branch, realityMesh._transform ? realityMesh._transform : _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Transform.createIdentity(), { disableClipStyle: params.disableClipStyle });
|
|
125733
125750
|
}
|
|
125734
125751
|
collectStatistics(stats) {
|
|
125735
125752
|
this._isTerrain ? stats.addTerrain(this._realityMeshParams.bytesUsed) : stats.addRealityMesh(this._realityMeshParams.bytesUsed);
|
|
@@ -162790,7 +162807,7 @@ class MapTile extends _internal__WEBPACK_IMPORTED_MODULE_7__.RealityTile {
|
|
|
162790
162807
|
return undefined;
|
|
162791
162808
|
const textures = this.getDrapeTextures();
|
|
162792
162809
|
const { baseColor, baseTransparent, layerClassifiers } = this.mapTree;
|
|
162793
|
-
const graphic = _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.renderSystem.createRealityMeshGraphic({ realityMesh: geometry, projection: this.getProjection(), tileRectangle: this.rectangle, featureTable: _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.PackedFeatureTable.pack(this.mapLoader.featureTable), tileId: this.contentId, baseColor, baseTransparent, textures, layerClassifiers }, true);
|
|
162810
|
+
const graphic = _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.renderSystem.createRealityMeshGraphic({ realityMesh: geometry, projection: this.getProjection(), tileRectangle: this.rectangle, featureTable: _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.PackedFeatureTable.pack(this.mapLoader.featureTable), tileId: this.contentId, baseColor, baseTransparent, textures, layerClassifiers, disableClipStyle: true }, true);
|
|
162794
162811
|
// If there are no layer classifiers then we can save this graphic for re-use. If layer classifiers exist they are regenerated based on view and we must collate them with the imagery.
|
|
162795
162812
|
if (this.imageryIsReady && 0 === this.mapTree.layerClassifiers.size)
|
|
162796
162813
|
this._graphic = graphic;
|
|
@@ -294220,7 +294237,7 @@ class TestContext {
|
|
|
294220
294237
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
294221
294238
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
294222
294239
|
await core_frontend_1.NoRenderApp.startup({
|
|
294223
|
-
applicationVersion: "4.9.
|
|
294240
|
+
applicationVersion: "4.9.5",
|
|
294224
294241
|
applicationId: this.settings.gprid,
|
|
294225
294242
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
294226
294243
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -319089,7 +319106,7 @@ function __disposeResources(env) {
|
|
|
319089
319106
|
/***/ ((module) => {
|
|
319090
319107
|
|
|
319091
319108
|
"use strict";
|
|
319092
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.9.
|
|
319109
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.9.5","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 --includes=../../generated-docs/extract --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 -f visualstudio \\"./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 -s webpackTests && certa -r chrome","cover":"npm -s test","test:debug":"certa -r chrome --debug","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.9.5","@itwin/core-bentley":"workspace:^4.9.5","@itwin/core-common":"workspace:^4.9.5","@itwin/core-geometry":"workspace:^4.9.5","@itwin/core-orbitgt":"workspace:^4.9.5","@itwin/core-quantity":"workspace:^4.9.5"},"//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/certa":"workspace:*","@itwin/eslint-plugin":"^4.0.2","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/mocha":"^10.0.6","@types/sinon":"^17.0.2","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","chai":"^4.3.10","chai-as-promised":"^7.1.1","cpx2":"^3.0.0","eslint":"^8.56.0","glob":"^10.3.12","mocha":"^10.2.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^17.0.2","source-map-loader":"^4.0.0","typescript":"~5.3.3","typemoq":"^2.1.0","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.2.5","@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"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"}}');
|
|
319093
319110
|
|
|
319094
319111
|
/***/ }),
|
|
319095
319112
|
|