@itwin/rpcinterface-full-stack-tests 4.0.0-dev.33 → 4.0.0-dev.37
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.
|
@@ -86766,6 +86766,8 @@ class ElementPicker {
|
|
|
86766
86766
|
const testPointView = new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Point2d(Math.floor(pickPointView.x + 0.5), Math.floor(pickPointView.y + 0.5));
|
|
86767
86767
|
let pixelRadius = Math.floor(pickRadiusView + 0.5);
|
|
86768
86768
|
const rect = new _ViewRect__WEBPACK_IMPORTED_MODULE_6__.ViewRect(testPointView.x - pixelRadius, testPointView.y - pixelRadius, testPointView.x + pixelRadius, testPointView.y + pixelRadius);
|
|
86769
|
+
if (rect.isNull)
|
|
86770
|
+
return 0;
|
|
86769
86771
|
let result = 0;
|
|
86770
86772
|
vp.readPixels(rect, _render_Pixel__WEBPACK_IMPORTED_MODULE_4__.Pixel.Selector.All, (pixels) => {
|
|
86771
86773
|
if (undefined === pixels)
|
|
@@ -98816,7 +98818,7 @@ class ViewRect {
|
|
|
98816
98818
|
/** The bottommost side of this ViewRect. */
|
|
98817
98819
|
get bottom() { return this._bottom; }
|
|
98818
98820
|
set bottom(val) { this._set("_bottom", val); }
|
|
98819
|
-
/** True if this ViewRect has an area
|
|
98821
|
+
/** True if this ViewRect has an area <= 0. */
|
|
98820
98822
|
get isNull() { return this.right <= this.left || this.bottom <= this.top; }
|
|
98821
98823
|
/** True if `!isNull` */
|
|
98822
98824
|
get isValid() { return !this.isNull; }
|
|
@@ -103330,7 +103332,7 @@ class Viewport {
|
|
|
103330
103332
|
*/
|
|
103331
103333
|
readPixels(rect, selector, receiver, excludeNonLocatable = false) {
|
|
103332
103334
|
const viewRect = this.viewRect;
|
|
103333
|
-
if (this.isDisposed || !rect.isContained(viewRect))
|
|
103335
|
+
if (this.isDisposed || rect.isNull || !rect.isContained(viewRect))
|
|
103334
103336
|
receiver(undefined);
|
|
103335
103337
|
else
|
|
103336
103338
|
this.target.readPixels(rect, selector, receiver, excludeNonLocatable);
|
|
@@ -279905,7 +279907,7 @@ class TestContext {
|
|
|
279905
279907
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
279906
279908
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
279907
279909
|
await core_frontend_1.NoRenderApp.startup({
|
|
279908
|
-
applicationVersion: "4.0.0-dev.
|
|
279910
|
+
applicationVersion: "4.0.0-dev.37",
|
|
279909
279911
|
applicationId: this.settings.gprid,
|
|
279910
279912
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
279911
279913
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -299461,7 +299463,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
299461
299463
|
/***/ ((module) => {
|
|
299462
299464
|
|
|
299463
299465
|
"use strict";
|
|
299464
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.0.0-dev.
|
|
299466
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.0.0-dev.37","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","build:ci":"npm run -s build && npm run -s build:esm","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","docs":"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/primitives,**/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-eslintrc -c \\"../../tools/eslint-plugin/dist/configs/extension-exports-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"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core/tree/master/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.0.0-dev.37","@itwin/core-bentley":"workspace:^4.0.0-dev.37","@itwin/core-common":"workspace:^4.0.0-dev.37","@itwin/core-geometry":"workspace:^4.0.0-dev.37","@itwin/core-orbitgt":"workspace:^4.0.0-dev.37","@itwin/core-quantity":"workspace:^4.0.0-dev.37"},"//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":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/deep-assign":"^0.1.0","@types/mocha":"^8.2.2","@types/node":"^18.11.5","@types/qs":"^6.5.0","@types/semver":"7.3.10","@types/superagent":"^4.1.14","@types/sinon":"^9.0.0","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","chai":"^4.1.2","chai-as-promised":"^7","cpx2":"^3.0.0","eslint":"^7.11.0","glob":"^7.1.2","mocha":"^10.0.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^9.0.2","source-map-loader":"^4.0.0","typescript":"~4.4.0","webpack":"^5.64.4"},"//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/object-storage-azure":"^1.5.0","@itwin/cloud-agnostic-core":"^1.5.0","@itwin/object-storage-core":"^1.5.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","deep-assign":"^2.0.0","fuse.js":"^3.3.0","qs":"^6.5.3","semver":"^7.3.5","superagent":"^7.1.5","wms-capabilities":"0.4.0","reflect-metadata":"0.1.13"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"},"eslintConfig":{"plugins":["@itwin"],"extends":"plugin:@itwin/itwinjs-recommended","rules":{"@itwin/no-internal-barrel-imports":["error",{"required-barrel-modules":["./src/tile/internal.ts"]}],"@itwin/public-extension-exports":["error",{"releaseTags":["public","preview"],"outputApiFile":false}]},"overrides":[{"files":["*.test.ts","*.test.tsx","**/test/**/*.ts"],"rules":{"@itwin/no-internal-barrel-imports":"off"}}]}}');
|
|
299465
299467
|
|
|
299466
299468
|
/***/ }),
|
|
299467
299469
|
|