@itwin/rpcinterface-full-stack-tests 5.14.0-dev.14 → 5.14.0-dev.16
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/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_1_0_node_modules_cross-fetch_dist_browser-44272f.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_loaders_gl_draco_4_4_5__loaders_gl_core_4_4_5_node_modu-5e3596.bundled-tests.js.map +1 -1
- package/package.json +15 -15
|
@@ -151681,8 +151681,8 @@ class FrameBuffers {
|
|
|
151681
151681
|
idsAndZComposite;
|
|
151682
151682
|
idsAndAltZComposite;
|
|
151683
151683
|
edlDrawCol;
|
|
151684
|
-
init(textures, depth, depthMS) {
|
|
151685
|
-
if (!this.initPotentialMSFbos(textures, depth, depthMS))
|
|
151684
|
+
init(textures, depth, depthMS, boundColor) {
|
|
151685
|
+
if (!this.initPotentialMSFbos(textures, depth, depthMS, boundColor))
|
|
151686
151686
|
return false;
|
|
151687
151687
|
this.depthAndOrder = _FrameBuffer__WEBPACK_IMPORTED_MODULE_9__.FrameBuffer.create([(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(textures.depthAndOrder)], depth);
|
|
151688
151688
|
this.hilite = _FrameBuffer__WEBPACK_IMPORTED_MODULE_9__.FrameBuffer.create([(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(textures.hilite)], depth);
|
|
@@ -151690,7 +151690,7 @@ class FrameBuffers {
|
|
|
151690
151690
|
if (!this.depthAndOrder || !this.hilite || !this.hiliteUsingStencil)
|
|
151691
151691
|
return false;
|
|
151692
151692
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined === this.opaqueAll);
|
|
151693
|
-
if (!this.initPotentialMSMRTFbos(textures, depth, depthMS))
|
|
151693
|
+
if (!this.initPotentialMSMRTFbos(textures, depth, depthMS, boundColor))
|
|
151694
151694
|
return false;
|
|
151695
151695
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== textures.accumulation && undefined !== textures.revealage);
|
|
151696
151696
|
const colors = [textures.accumulation, textures.revealage];
|
|
@@ -151707,9 +151707,8 @@ class FrameBuffers {
|
|
|
151707
151707
|
&& undefined !== this.clearTranslucent
|
|
151708
151708
|
&& undefined !== this.pingPong;
|
|
151709
151709
|
}
|
|
151710
|
-
initPotentialMSFbos(textures, depth, depthMS) {
|
|
151711
|
-
|
|
151712
|
-
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== boundColor && undefined !== textures.color);
|
|
151710
|
+
initPotentialMSFbos(textures, depth, depthMS, boundColor) {
|
|
151711
|
+
;(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== textures.color);
|
|
151713
151712
|
if (undefined === depthMS) {
|
|
151714
151713
|
this.opaqueColor = _FrameBuffer__WEBPACK_IMPORTED_MODULE_9__.FrameBuffer.create([boundColor], depth);
|
|
151715
151714
|
this.opaqueAndCompositeColor = _FrameBuffer__WEBPACK_IMPORTED_MODULE_9__.FrameBuffer.create([textures.color], depth);
|
|
@@ -151722,10 +151721,8 @@ class FrameBuffers {
|
|
|
151722
151721
|
return undefined !== this.opaqueColor
|
|
151723
151722
|
&& undefined !== this.opaqueAndCompositeColor;
|
|
151724
151723
|
}
|
|
151725
|
-
initPotentialMSMRTFbos(textures, depth, depthMs) {
|
|
151726
|
-
|
|
151727
|
-
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== boundColor &&
|
|
151728
|
-
undefined !== textures.color &&
|
|
151724
|
+
initPotentialMSMRTFbos(textures, depth, depthMs, boundColor) {
|
|
151725
|
+
;(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== textures.color &&
|
|
151729
151726
|
undefined !== textures.featureId &&
|
|
151730
151727
|
undefined !== textures.depthAndOrder &&
|
|
151731
151728
|
undefined !== textures.accumulation &&
|
|
@@ -151839,23 +151836,23 @@ class FrameBuffers {
|
|
|
151839
151836
|
this.idsAndAltZComposite = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.idsAndAltZComposite);
|
|
151840
151837
|
}
|
|
151841
151838
|
}
|
|
151842
|
-
enableMultiSampling(textures, depth, depthMS) {
|
|
151839
|
+
enableMultiSampling(textures, depth, depthMS, boundColor) {
|
|
151843
151840
|
this.opaqueColor = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueColor);
|
|
151844
151841
|
this.opaqueAndCompositeColor = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAndCompositeColor);
|
|
151845
|
-
let rVal = this.initPotentialMSFbos(textures, depth, depthMS);
|
|
151842
|
+
let rVal = this.initPotentialMSFbos(textures, depth, depthMS, boundColor);
|
|
151846
151843
|
this.opaqueAll = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAll);
|
|
151847
151844
|
this.opaqueAndCompositeAll = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAndCompositeAll);
|
|
151848
|
-
rVal = this.initPotentialMSMRTFbos(textures, depth, depthMS);
|
|
151845
|
+
rVal = this.initPotentialMSMRTFbos(textures, depth, depthMS, boundColor);
|
|
151849
151846
|
return rVal;
|
|
151850
151847
|
}
|
|
151851
|
-
disableMultiSampling(textures, depth) {
|
|
151848
|
+
disableMultiSampling(textures, depth, boundColor) {
|
|
151852
151849
|
this.opaqueAll = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAll);
|
|
151853
151850
|
this.opaqueAndCompositeAll = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAndCompositeAll);
|
|
151854
|
-
if (!this.initPotentialMSMRTFbos(textures, depth, undefined))
|
|
151851
|
+
if (!this.initPotentialMSMRTFbos(textures, depth, undefined, boundColor))
|
|
151855
151852
|
return false;
|
|
151856
151853
|
this.opaqueColor = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueColor);
|
|
151857
151854
|
this.opaqueAndCompositeColor = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAndCompositeColor);
|
|
151858
|
-
return this.initPotentialMSFbos(textures, depth, undefined);
|
|
151855
|
+
return this.initPotentialMSFbos(textures, depth, undefined, boundColor);
|
|
151859
151856
|
}
|
|
151860
151857
|
get isDisposed() {
|
|
151861
151858
|
return undefined === this.opaqueColor && undefined === this.opaqueAndCompositeColor && undefined === this.depthAndOrder
|
|
@@ -152898,7 +152895,7 @@ class Compositor extends SceneCompositor {
|
|
|
152898
152895
|
this._depthMS = undefined;
|
|
152899
152896
|
if (this._depth !== undefined) {
|
|
152900
152897
|
return this._textures.init(this._width, this._height, this._antialiasSamples)
|
|
152901
|
-
&& this._fbos.init(this._textures, this._depth, this._depthMS)
|
|
152898
|
+
&& this._fbos.init(this._textures, this._depth, this._depthMS, (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(this.target.outputColorTexture))
|
|
152902
152899
|
&& this._geom.init(this._textures)
|
|
152903
152900
|
&& this.eyeDomeLighting.init(this._width, this._height, this._depth);
|
|
152904
152901
|
}
|
|
@@ -152913,11 +152910,11 @@ class Compositor extends SceneCompositor {
|
|
|
152913
152910
|
if (!this._textures.enableMultiSampling(this._width, this._height, this._antialiasSamples))
|
|
152914
152911
|
return false;
|
|
152915
152912
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== this._depth && undefined !== this._depthMS);
|
|
152916
|
-
return this._fbos.enableMultiSampling(this._textures, this._depth, this._depthMS);
|
|
152913
|
+
return this._fbos.enableMultiSampling(this._textures, this._depth, this._depthMS, (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(this.target.outputColorTexture));
|
|
152917
152914
|
}
|
|
152918
152915
|
disableMultiSampling() {
|
|
152919
152916
|
;(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== this._depth);
|
|
152920
|
-
if (!this._fbos.disableMultiSampling(this._textures, this._depth))
|
|
152917
|
+
if (!this._fbos.disableMultiSampling(this._textures, this._depth, (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(this.target.outputColorTexture)))
|
|
152921
152918
|
return false;
|
|
152922
152919
|
// Want to disable multisampling without deleting & reallocating other stuff.
|
|
152923
152920
|
this._depthMS = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this._depthMS);
|
|
@@ -157449,6 +157446,7 @@ class Target extends _render_RenderTarget__WEBPACK_IMPORTED_MODULE_7__.RenderTar
|
|
|
157449
157446
|
this._antialiasSamples = (undefined !== _System__WEBPACK_IMPORTED_MODULE_24__.System.instance.options.antialiasSamples ? _System__WEBPACK_IMPORTED_MODULE_24__.System.instance.options.antialiasSamples : 1);
|
|
157450
157447
|
}
|
|
157451
157448
|
get compositor() { return this._compositor; }
|
|
157449
|
+
get outputColorTexture() { return this._fbo?.getColor(0); }
|
|
157452
157450
|
get isReadPixelsInProgress() { return this._isReadPixelsInProgress; }
|
|
157453
157451
|
get readPixelsSelector() { return this._readPixelsSelector; }
|
|
157454
157452
|
get drawNonLocatable() { return this._drawNonLocatable; }
|
|
@@ -343419,7 +343417,7 @@ class TestContext {
|
|
|
343419
343417
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
343420
343418
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
343421
343419
|
await core_frontend_1.NoRenderApp.startup({
|
|
343422
|
-
applicationVersion: "5.14.0-dev.
|
|
343420
|
+
applicationVersion: "5.14.0-dev.16",
|
|
343423
343421
|
applicationId: this.settings.gprid,
|
|
343424
343422
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.serviceAuthToken),
|
|
343425
343423
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -370161,7 +370159,7 @@ class WMS {
|
|
|
370161
370159
|
(module) {
|
|
370162
370160
|
|
|
370163
370161
|
"use strict";
|
|
370164
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.14.0-dev.
|
|
370162
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.14.0-dev.16","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.4.5","@loaders.gl/draco":"^4.4.5","fuse.js":"^3.3.0","wms-capabilities":"0.6.0"}}');
|
|
370165
370163
|
|
|
370166
370164
|
/***/ },
|
|
370167
370165
|
|