@itwin/rpcinterface-full-stack-tests 5.0.0-dev.73 → 5.0.0-dev.75
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 +14 -4
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +14 -14
|
@@ -208524,7 +208524,7 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
|
|
|
208524
208524
|
super();
|
|
208525
208525
|
this._center = center;
|
|
208526
208526
|
this._matrix = matrix;
|
|
208527
|
-
this._sweep = sweep;
|
|
208527
|
+
this._sweep = sweep.clampToFullCircle(sweep);
|
|
208528
208528
|
}
|
|
208529
208529
|
/**
|
|
208530
208530
|
* Return a clone of the arc, with transform applied.
|
|
@@ -229872,12 +229872,22 @@ class AngleSweep {
|
|
|
229872
229872
|
else
|
|
229873
229873
|
return AngleSweep.createStartEndRadians(this.endRadians, this.startRadians + s * Math.PI, result);
|
|
229874
229874
|
}
|
|
229875
|
-
/** Restrict start and end angles into the range (-90,+90) in degrees */
|
|
229875
|
+
/** Restrict start and end angles into the range (-90,+90) in degrees. */
|
|
229876
229876
|
capLatitudeInPlace() {
|
|
229877
229877
|
const limit = 0.5 * Math.PI;
|
|
229878
229878
|
this._radians0 = _Geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.clampToStartEnd(this._radians0, -limit, limit);
|
|
229879
229879
|
this._radians1 = _Geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.clampToStartEnd(this._radians1, -limit, limit);
|
|
229880
229880
|
}
|
|
229881
|
+
/**
|
|
229882
|
+
* Restrict [[sweepDegrees]] to the range [-360, 360].
|
|
229883
|
+
* The start angle and sign of the sweep angle are unchanged.
|
|
229884
|
+
*/
|
|
229885
|
+
clampToFullCircle(result) {
|
|
229886
|
+
result = result ?? new AngleSweep();
|
|
229887
|
+
const sweepRadians = _Geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.clampToStartEnd(this.sweepRadians, -_Angle__WEBPACK_IMPORTED_MODULE_0__.Angle.pi2Radians, _Angle__WEBPACK_IMPORTED_MODULE_0__.Angle.pi2Radians);
|
|
229888
|
+
result.setStartEndRadians(this._radians0, this._radians0 + sweepRadians);
|
|
229889
|
+
return result;
|
|
229890
|
+
}
|
|
229881
229891
|
/** Ask if the sweep is counterclockwise, i.e. positive sweep. */
|
|
229882
229892
|
get isCCW() {
|
|
229883
229893
|
return this._radians1 >= this._radians0;
|
|
@@ -313478,7 +313488,7 @@ class TestContext {
|
|
|
313478
313488
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
313479
313489
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
313480
313490
|
await core_frontend_1.NoRenderApp.startup({
|
|
313481
|
-
applicationVersion: "5.0.0-dev.
|
|
313491
|
+
applicationVersion: "5.0.0-dev.75",
|
|
313482
313492
|
applicationId: this.settings.gprid,
|
|
313483
313493
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.serviceAuthToken),
|
|
313484
313494
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -339566,7 +339576,7 @@ function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
|
339566
339576
|
/***/ ((module) => {
|
|
339567
339577
|
|
|
339568
339578
|
"use strict";
|
|
339569
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.0.0-dev.
|
|
339579
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.0.0-dev.75","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 ES2022 --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 --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 \\"./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 webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run","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:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"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":{"@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/eslint-plugin":"5.0.0-dev.1","@types/chai-as-promised":"^7","@vitest/browser":"^3.0.6","@vitest/coverage-v8":"^3.0.6","cpx2":"^3.0.0","eslint":"^9.13.0","glob":"^10.3.12","playwright":"~1.47.1","rimraf":"^3.0.2","source-map-loader":"^4.0.0","typescript":"~5.6.2","typemoq":"^2.1.0","vitest":"^3.0.6","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"1.0.6","webpack":"^5.97.1"},"//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/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"}}');
|
|
339570
339580
|
|
|
339571
339581
|
/***/ }),
|
|
339572
339582
|
|