@itwin/rpcinterface-full-stack-tests 5.13.4 → 5.13.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/bundled-tests.js +19 -21
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +14 -14
|
@@ -151440,8 +151440,8 @@ class FrameBuffers {
|
|
|
151440
151440
|
idsAndZComposite;
|
|
151441
151441
|
idsAndAltZComposite;
|
|
151442
151442
|
edlDrawCol;
|
|
151443
|
-
init(textures, depth, depthMS) {
|
|
151444
|
-
if (!this.initPotentialMSFbos(textures, depth, depthMS))
|
|
151443
|
+
init(textures, depth, depthMS, boundColor) {
|
|
151444
|
+
if (!this.initPotentialMSFbos(textures, depth, depthMS, boundColor))
|
|
151445
151445
|
return false;
|
|
151446
151446
|
this.depthAndOrder = _FrameBuffer__WEBPACK_IMPORTED_MODULE_9__.FrameBuffer.create([(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(textures.depthAndOrder)], depth);
|
|
151447
151447
|
this.hilite = _FrameBuffer__WEBPACK_IMPORTED_MODULE_9__.FrameBuffer.create([(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(textures.hilite)], depth);
|
|
@@ -151449,7 +151449,7 @@ class FrameBuffers {
|
|
|
151449
151449
|
if (!this.depthAndOrder || !this.hilite || !this.hiliteUsingStencil)
|
|
151450
151450
|
return false;
|
|
151451
151451
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined === this.opaqueAll);
|
|
151452
|
-
if (!this.initPotentialMSMRTFbos(textures, depth, depthMS))
|
|
151452
|
+
if (!this.initPotentialMSMRTFbos(textures, depth, depthMS, boundColor))
|
|
151453
151453
|
return false;
|
|
151454
151454
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== textures.accumulation && undefined !== textures.revealage);
|
|
151455
151455
|
const colors = [textures.accumulation, textures.revealage];
|
|
@@ -151466,9 +151466,8 @@ class FrameBuffers {
|
|
|
151466
151466
|
&& undefined !== this.clearTranslucent
|
|
151467
151467
|
&& undefined !== this.pingPong;
|
|
151468
151468
|
}
|
|
151469
|
-
initPotentialMSFbos(textures, depth, depthMS) {
|
|
151470
|
-
|
|
151471
|
-
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== boundColor && undefined !== textures.color);
|
|
151469
|
+
initPotentialMSFbos(textures, depth, depthMS, boundColor) {
|
|
151470
|
+
;(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== textures.color);
|
|
151472
151471
|
if (undefined === depthMS) {
|
|
151473
151472
|
this.opaqueColor = _FrameBuffer__WEBPACK_IMPORTED_MODULE_9__.FrameBuffer.create([boundColor], depth);
|
|
151474
151473
|
this.opaqueAndCompositeColor = _FrameBuffer__WEBPACK_IMPORTED_MODULE_9__.FrameBuffer.create([textures.color], depth);
|
|
@@ -151481,10 +151480,8 @@ class FrameBuffers {
|
|
|
151481
151480
|
return undefined !== this.opaqueColor
|
|
151482
151481
|
&& undefined !== this.opaqueAndCompositeColor;
|
|
151483
151482
|
}
|
|
151484
|
-
initPotentialMSMRTFbos(textures, depth, depthMs) {
|
|
151485
|
-
|
|
151486
|
-
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== boundColor &&
|
|
151487
|
-
undefined !== textures.color &&
|
|
151483
|
+
initPotentialMSMRTFbos(textures, depth, depthMs, boundColor) {
|
|
151484
|
+
;(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== textures.color &&
|
|
151488
151485
|
undefined !== textures.featureId &&
|
|
151489
151486
|
undefined !== textures.depthAndOrder &&
|
|
151490
151487
|
undefined !== textures.accumulation &&
|
|
@@ -151598,23 +151595,23 @@ class FrameBuffers {
|
|
|
151598
151595
|
this.idsAndAltZComposite = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.idsAndAltZComposite);
|
|
151599
151596
|
}
|
|
151600
151597
|
}
|
|
151601
|
-
enableMultiSampling(textures, depth, depthMS) {
|
|
151598
|
+
enableMultiSampling(textures, depth, depthMS, boundColor) {
|
|
151602
151599
|
this.opaqueColor = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueColor);
|
|
151603
151600
|
this.opaqueAndCompositeColor = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAndCompositeColor);
|
|
151604
|
-
let rVal = this.initPotentialMSFbos(textures, depth, depthMS);
|
|
151601
|
+
let rVal = this.initPotentialMSFbos(textures, depth, depthMS, boundColor);
|
|
151605
151602
|
this.opaqueAll = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAll);
|
|
151606
151603
|
this.opaqueAndCompositeAll = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAndCompositeAll);
|
|
151607
|
-
rVal = this.initPotentialMSMRTFbos(textures, depth, depthMS);
|
|
151604
|
+
rVal = this.initPotentialMSMRTFbos(textures, depth, depthMS, boundColor);
|
|
151608
151605
|
return rVal;
|
|
151609
151606
|
}
|
|
151610
|
-
disableMultiSampling(textures, depth) {
|
|
151607
|
+
disableMultiSampling(textures, depth, boundColor) {
|
|
151611
151608
|
this.opaqueAll = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAll);
|
|
151612
151609
|
this.opaqueAndCompositeAll = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAndCompositeAll);
|
|
151613
|
-
if (!this.initPotentialMSMRTFbos(textures, depth, undefined))
|
|
151610
|
+
if (!this.initPotentialMSMRTFbos(textures, depth, undefined, boundColor))
|
|
151614
151611
|
return false;
|
|
151615
151612
|
this.opaqueColor = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueColor);
|
|
151616
151613
|
this.opaqueAndCompositeColor = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAndCompositeColor);
|
|
151617
|
-
return this.initPotentialMSFbos(textures, depth, undefined);
|
|
151614
|
+
return this.initPotentialMSFbos(textures, depth, undefined, boundColor);
|
|
151618
151615
|
}
|
|
151619
151616
|
get isDisposed() {
|
|
151620
151617
|
return undefined === this.opaqueColor && undefined === this.opaqueAndCompositeColor && undefined === this.depthAndOrder
|
|
@@ -152657,7 +152654,7 @@ class Compositor extends SceneCompositor {
|
|
|
152657
152654
|
this._depthMS = undefined;
|
|
152658
152655
|
if (this._depth !== undefined) {
|
|
152659
152656
|
return this._textures.init(this._width, this._height, this._antialiasSamples)
|
|
152660
|
-
&& this._fbos.init(this._textures, this._depth, this._depthMS)
|
|
152657
|
+
&& this._fbos.init(this._textures, this._depth, this._depthMS, (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(this.target.outputColorTexture))
|
|
152661
152658
|
&& this._geom.init(this._textures)
|
|
152662
152659
|
&& this.eyeDomeLighting.init(this._width, this._height, this._depth);
|
|
152663
152660
|
}
|
|
@@ -152672,11 +152669,11 @@ class Compositor extends SceneCompositor {
|
|
|
152672
152669
|
if (!this._textures.enableMultiSampling(this._width, this._height, this._antialiasSamples))
|
|
152673
152670
|
return false;
|
|
152674
152671
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== this._depth && undefined !== this._depthMS);
|
|
152675
|
-
return this._fbos.enableMultiSampling(this._textures, this._depth, this._depthMS);
|
|
152672
|
+
return this._fbos.enableMultiSampling(this._textures, this._depth, this._depthMS, (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(this.target.outputColorTexture));
|
|
152676
152673
|
}
|
|
152677
152674
|
disableMultiSampling() {
|
|
152678
152675
|
;(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== this._depth);
|
|
152679
|
-
if (!this._fbos.disableMultiSampling(this._textures, this._depth))
|
|
152676
|
+
if (!this._fbos.disableMultiSampling(this._textures, this._depth, (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(this.target.outputColorTexture)))
|
|
152680
152677
|
return false;
|
|
152681
152678
|
// Want to disable multisampling without deleting & reallocating other stuff.
|
|
152682
152679
|
this._depthMS = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this._depthMS);
|
|
@@ -157208,6 +157205,7 @@ class Target extends _render_RenderTarget__WEBPACK_IMPORTED_MODULE_7__.RenderTar
|
|
|
157208
157205
|
this._antialiasSamples = (undefined !== _System__WEBPACK_IMPORTED_MODULE_24__.System.instance.options.antialiasSamples ? _System__WEBPACK_IMPORTED_MODULE_24__.System.instance.options.antialiasSamples : 1);
|
|
157209
157206
|
}
|
|
157210
157207
|
get compositor() { return this._compositor; }
|
|
157208
|
+
get outputColorTexture() { return this._fbo?.getColor(0); }
|
|
157211
157209
|
get isReadPixelsInProgress() { return this._isReadPixelsInProgress; }
|
|
157212
157210
|
get readPixelsSelector() { return this._readPixelsSelector; }
|
|
157213
157211
|
get drawNonLocatable() { return this._drawNonLocatable; }
|
|
@@ -343017,7 +343015,7 @@ class TestContext {
|
|
|
343017
343015
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
343018
343016
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
343019
343017
|
await core_frontend_1.NoRenderApp.startup({
|
|
343020
|
-
applicationVersion: "5.13.
|
|
343018
|
+
applicationVersion: "5.13.5",
|
|
343021
343019
|
applicationId: this.settings.gprid,
|
|
343022
343020
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.serviceAuthToken),
|
|
343023
343021
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -369759,7 +369757,7 @@ class WMS {
|
|
|
369759
369757
|
(module) {
|
|
369760
369758
|
|
|
369761
369759
|
"use strict";
|
|
369762
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.13.
|
|
369760
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.13.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 build: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: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 build:test-worker && vitest --run","cover":"npm run build:test-worker && vitest --run","build:test-worker":"vite build --config ./src/test/worker/vite.config.mts 1>&2","build:workers":"rimraf lib/workers/webpack && vite build --config ./src/workers/ImdlParser/vite.config.mts 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.11","@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/node":"~20.17.0","@types/sinon":"^17.0.2","@vitest/browser-playwright":"^4.1.10","@vitest/coverage-v8":"^4.1.10","cpx2":"^8.0.0","eslint":"^9.31.0","playwright":"~1.56.1","rimraf":"^6.0.1","sinon":"^17.0.2","typescript":"~5.6.2","vite":"^6.4.3","vitest":"^4.1.10","vite-plugin-static-copy":"2.2.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/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.6.0"}}');
|
|
369763
369761
|
|
|
369764
369762
|
/***/ },
|
|
369765
369763
|
|