@itwin/ecschema-rpcinterface-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 +22 -5
- 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 +15 -15
|
@@ -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":""}
|
|
@@ -109475,8 +109475,8 @@ class RenderSystem {
|
|
|
109475
109475
|
*/
|
|
109476
109476
|
createSkyBox(_params) { return undefined; }
|
|
109477
109477
|
/** Create a RenderGraphic consisting of a list of Graphics, with optional transform and symbology overrides applied to the list */
|
|
109478
|
-
createBranch(branch, transform) {
|
|
109479
|
-
return this.createGraphicBranch(branch, transform);
|
|
109478
|
+
createBranch(branch, transform, options) {
|
|
109479
|
+
return this.createGraphicBranch(branch, transform, options);
|
|
109480
109480
|
}
|
|
109481
109481
|
/** Create a node in the scene graph corresponding to a transform node in the scene's schedule script.
|
|
109482
109482
|
* Nodes under this branch will only be drawn if they belong to the specified transform node.
|
|
@@ -111450,6 +111450,7 @@ class BranchState {
|
|
|
111450
111450
|
get realityModelDisplaySettings() { return this._opts.realityModelDisplaySettings; }
|
|
111451
111451
|
get viewAttachmentId() { return this._opts.viewAttachmentId; }
|
|
111452
111452
|
get groupNodeId() { return this._opts.groupNodeId; }
|
|
111453
|
+
get disableClipStyle() { return this._opts.disableClipStyle; }
|
|
111453
111454
|
get symbologyOverrides() {
|
|
111454
111455
|
return this._opts.symbologyOverrides;
|
|
111455
111456
|
}
|
|
@@ -111481,6 +111482,7 @@ class BranchState {
|
|
|
111481
111482
|
realityModelDisplaySettings: branch.branch.realityModelDisplaySettings ?? prev.realityModelDisplaySettings,
|
|
111482
111483
|
viewAttachmentId: branch.viewAttachmentId ?? prev.viewAttachmentId,
|
|
111483
111484
|
groupNodeId: branch.branch.groupNodeId ?? prev.groupNodeId,
|
|
111485
|
+
disableClipStyle: branch.disableClipStyle ?? prev.disableClipStyle,
|
|
111484
111486
|
});
|
|
111485
111487
|
}
|
|
111486
111488
|
getFeatureAppearance(overrides, elemLo, elemHi, subcatLo, subcatHi, geomClass, modelLo, modelHi, type, animationNodeId) {
|
|
@@ -111533,6 +111535,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
111533
111535
|
/* harmony import */ var _RenderCommands__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./RenderCommands */ "../../core/frontend/lib/esm/render/webgl/RenderCommands.js");
|
|
111534
111536
|
/* harmony import */ var _Sync__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Sync */ "../../core/frontend/lib/esm/render/webgl/Sync.js");
|
|
111535
111537
|
/* harmony import */ var _ClipStack__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ClipStack */ "../../core/frontend/lib/esm/render/webgl/ClipStack.js");
|
|
111538
|
+
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
111536
111539
|
/*---------------------------------------------------------------------------------------------
|
|
111537
111540
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
111538
111541
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -111548,6 +111551,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
111548
111551
|
|
|
111549
111552
|
|
|
111550
111553
|
|
|
111554
|
+
|
|
111551
111555
|
function equalXYZs(a, b) {
|
|
111552
111556
|
if (a === b)
|
|
111553
111557
|
return true;
|
|
@@ -111604,6 +111608,7 @@ class BranchUniforms {
|
|
|
111604
111608
|
pushBranch(branch) {
|
|
111605
111609
|
(0,_Sync__WEBPACK_IMPORTED_MODULE_6__.desync)(this);
|
|
111606
111610
|
this._stack.pushBranch(branch);
|
|
111611
|
+
this.setClipStyle(this.top.disableClipStyle);
|
|
111607
111612
|
if (this.top.clipVolume)
|
|
111608
111613
|
this.clipStack.push(this.top.clipVolume);
|
|
111609
111614
|
if (branch.branch.realityModelDisplaySettings)
|
|
@@ -111622,6 +111627,7 @@ class BranchUniforms {
|
|
|
111622
111627
|
if (this.top.clipVolume)
|
|
111623
111628
|
this.clipStack.pop();
|
|
111624
111629
|
this._stack.pop();
|
|
111630
|
+
this.setClipStyle(this.top.disableClipStyle);
|
|
111625
111631
|
}
|
|
111626
111632
|
pushViewClip() {
|
|
111627
111633
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(!this._viewClipEnabled);
|
|
@@ -111731,6 +111737,16 @@ class BranchUniforms {
|
|
|
111731
111737
|
}
|
|
111732
111738
|
return true;
|
|
111733
111739
|
}
|
|
111740
|
+
// set the clip style based on disableClipStyle
|
|
111741
|
+
setClipStyle(disableClipStyle) {
|
|
111742
|
+
const vp = _IModelApp__WEBPACK_IMPORTED_MODULE_8__.IModelApp.viewManager.selectedView;
|
|
111743
|
+
if (vp) {
|
|
111744
|
+
const style = vp.view.displayStyle.settings.clipStyle;
|
|
111745
|
+
this.clipStack.insideColor.alpha = disableClipStyle ? 0 : (style.insideColor ? 1 : 0);
|
|
111746
|
+
this.clipStack.outsideColor.alpha = disableClipStyle ? 0 : (style.outsideColor ? 1 : 0);
|
|
111747
|
+
this.clipStack.intersectionStyle.alpha = disableClipStyle ? 0 : (style.intersectionStyle ? style.intersectionStyle.width : 0);
|
|
111748
|
+
}
|
|
111749
|
+
}
|
|
111734
111750
|
}
|
|
111735
111751
|
|
|
111736
111752
|
|
|
@@ -115894,6 +115910,7 @@ class Branch extends Graphic {
|
|
|
115894
115910
|
this.iModel = opts.iModel;
|
|
115895
115911
|
this.frustum = opts.frustum;
|
|
115896
115912
|
this.viewAttachmentId = opts.viewAttachmentId;
|
|
115913
|
+
this.disableClipStyle = opts.disableClipStyle;
|
|
115897
115914
|
if (opts.hline)
|
|
115898
115915
|
this.edgeSettings = _EdgeSettings__WEBPACK_IMPORTED_MODULE_6__.EdgeSettings.create(opts.hline);
|
|
115899
115916
|
if (opts.classifierOrDrape instanceof _PlanarClassifier__WEBPACK_IMPORTED_MODULE_8__.PlanarClassifier)
|
|
@@ -119645,7 +119662,7 @@ class RealityMeshGeometry extends _CachedGeometry__WEBPACK_IMPORTED_MODULE_7__.I
|
|
|
119645
119662
|
const primitive = _Primitive__WEBPACK_IMPORTED_MODULE_10__.Primitive.create(mesh);
|
|
119646
119663
|
branch.add(system.createBatch(primitive, featureTable, mesh.getRange(), { tileId }));
|
|
119647
119664
|
}
|
|
119648
|
-
return system.createBranch(branch, realityMesh._transform ? realityMesh._transform : _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Transform.createIdentity());
|
|
119665
|
+
return system.createBranch(branch, realityMesh._transform ? realityMesh._transform : _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Transform.createIdentity(), { disableClipStyle: params.disableClipStyle });
|
|
119649
119666
|
}
|
|
119650
119667
|
collectStatistics(stats) {
|
|
119651
119668
|
this._isTerrain ? stats.addTerrain(this._realityMeshParams.bytesUsed) : stats.addRealityMesh(this._realityMeshParams.bytesUsed);
|
|
@@ -156706,7 +156723,7 @@ class MapTile extends _internal__WEBPACK_IMPORTED_MODULE_7__.RealityTile {
|
|
|
156706
156723
|
return undefined;
|
|
156707
156724
|
const textures = this.getDrapeTextures();
|
|
156708
156725
|
const { baseColor, baseTransparent, layerClassifiers } = this.mapTree;
|
|
156709
|
-
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);
|
|
156726
|
+
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);
|
|
156710
156727
|
// 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.
|
|
156711
156728
|
if (this.imageryIsReady && 0 === this.mapTree.layerClassifiers.size)
|
|
156712
156729
|
this._graphic = graphic;
|
|
@@ -302046,7 +302063,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
302046
302063
|
/***/ ((module) => {
|
|
302047
302064
|
|
|
302048
302065
|
"use strict";
|
|
302049
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.9.
|
|
302066
|
+
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"}}');
|
|
302050
302067
|
|
|
302051
302068
|
/***/ })
|
|
302052
302069
|
|