@itwin/rpcinterface-full-stack-tests 4.2.0-dev.13 → 4.2.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/_0062.bundled-tests.js.map +1 -1
- package/lib/dist/bundled-tests.js +14 -8
- 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_4_7_node_modules_loaders_gl_draco_di-02c2bd.bundled-tests.js.map +1 -1
- package/package.json +13 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_0062.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\
|
|
1
|
+
{"version":3,"file":"_0062.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\10\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.4.7\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
|
|
@@ -50433,16 +50433,18 @@ var ElementGeometry;
|
|
|
50433
50433
|
const idPair = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_1__.Id64.getUint32Pair(partId);
|
|
50434
50434
|
builder.addGeomPartId(fbb, flatbuffers__WEBPACK_IMPORTED_MODULE_0__.flatbuffers.Long.create(idPair.lower, idPair.upper));
|
|
50435
50435
|
if (undefined !== partToElement && !partToElement.isIdentity) {
|
|
50436
|
+
const result = partToElement.matrix.factorRigidWithSignedScale();
|
|
50437
|
+
if (undefined === result)
|
|
50438
|
+
return undefined;
|
|
50436
50439
|
const originOffset = _ElementGeometryFB__WEBPACK_IMPORTED_MODULE_3__.EGFBAccessors.DPoint3d.createDPoint3d(fbb, partToElement.origin.x, partToElement.origin.y, partToElement.origin.z);
|
|
50437
50440
|
builder.addOrigin(fbb, originOffset);
|
|
50438
|
-
const angles = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.YawPitchRollAngles.createFromMatrix3d(
|
|
50441
|
+
const angles = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.YawPitchRollAngles.createFromMatrix3d(result.rigidAxes);
|
|
50439
50442
|
if (undefined !== angles) {
|
|
50440
50443
|
builder.addYaw(fbb, angles.yaw.degrees);
|
|
50441
50444
|
builder.addPitch(fbb, angles.pitch.degrees);
|
|
50442
50445
|
builder.addRoll(fbb, angles.roll.degrees);
|
|
50443
50446
|
}
|
|
50444
|
-
|
|
50445
|
-
if (undefined !== result && result.scale > 0.0)
|
|
50447
|
+
if (result.scale > 0.0)
|
|
50446
50448
|
builder.addScale(fbb, result.scale);
|
|
50447
50449
|
}
|
|
50448
50450
|
const mLoc = builder.endGeometryPart(fbb);
|
|
@@ -84131,9 +84133,12 @@ class SnapshotConnection extends IModelConnection {
|
|
|
84131
84133
|
});
|
|
84132
84134
|
return views;
|
|
84133
84135
|
}
|
|
84134
|
-
/** Query the Id of the default
|
|
84135
|
-
*
|
|
84136
|
-
*
|
|
84136
|
+
/** Query the Id of the default [ViewDefinition]($backend), if any, stored in this iModel's property table.
|
|
84137
|
+
* The default view is typically chosen by the application (such as a connector) that created the iModel.
|
|
84138
|
+
* There is no guarantee that this view will be suitable for the purposes of any other applications.
|
|
84139
|
+
* Most applications should ignore the default view and instead create a [[ViewState]] that fits their own requirements using APIs like [[ViewCreator3d]].
|
|
84140
|
+
* @returns the Id of the default view as defined in the iModel's property table, or an invalid ID if no default view is defined.
|
|
84141
|
+
* @deprecated in 4.2. Create a ViewState to your own specifications.
|
|
84137
84142
|
*/
|
|
84138
84143
|
async queryDefaultViewId() {
|
|
84139
84144
|
const iModel = this._iModel;
|
|
@@ -90737,6 +90742,7 @@ class ViewCreator3d {
|
|
|
90737
90742
|
* Get the Id of the default view.
|
|
90738
90743
|
*/
|
|
90739
90744
|
async _getDefaultViewId() {
|
|
90745
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
90740
90746
|
const viewId = await this._imodel.views.queryDefaultViewId();
|
|
90741
90747
|
if (viewId !== _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.invalid)
|
|
90742
90748
|
return viewId;
|
|
@@ -279825,7 +279831,7 @@ class TestContext {
|
|
|
279825
279831
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
279826
279832
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
279827
279833
|
await core_frontend_1.NoRenderApp.startup({
|
|
279828
|
-
applicationVersion: "4.2.0-dev.
|
|
279834
|
+
applicationVersion: "4.2.0-dev.16",
|
|
279829
279835
|
applicationId: this.settings.gprid,
|
|
279830
279836
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
279831
279837
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -299259,7 +299265,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
299259
299265
|
/***/ ((module) => {
|
|
299260
299266
|
|
|
299261
299267
|
"use strict";
|
|
299262
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.2.0-dev.
|
|
299268
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.2.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 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 -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint -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.2.0-dev.16","@itwin/core-bentley":"workspace:^4.2.0-dev.16","@itwin/core-common":"workspace:^4.2.0-dev.16","@itwin/core-geometry":"workspace:^4.2.0-dev.16","@itwin/core-orbitgt":"workspace:^4.2.0-dev.16","@itwin/core-quantity":"workspace:^4.2.0-dev.16"},"//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.0-dev.44","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/mocha":"^8.2.2","@types/node":"18.16.1","@types/sinon":"^10.0.15","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","chai":"^4.1.2","chai-as-promised":"^7","cpx2":"^3.0.0","eslint":"^8.44.0","glob":"^7.1.2","mocha":"^10.0.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^15.0.4","source-map-loader":"^4.0.0","typescript":"~5.0.2","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.1.0","@itwin/object-storage-core":"^2.1.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","wms-capabilities":"0.4.0"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"}}');
|
|
299263
299269
|
|
|
299264
299270
|
/***/ }),
|
|
299265
299271
|
|