@itwin/rpcinterface-full-stack-tests 4.2.2 → 4.2.4
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 +9 -6
- 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_14_node_modules_loaders_gl_draco_d-aa4ff5.bundled-tests.js.map +1 -1
- package/package.json +14 -14
|
@@ -88651,6 +88651,7 @@ class SpatialViewState extends _ViewState__WEBPACK_IMPORTED_MODULE_6__.ViewState
|
|
|
88651
88651
|
this.registerModelSelectorListeners();
|
|
88652
88652
|
this.onViewedModelsChanged.raiseEvent();
|
|
88653
88653
|
}
|
|
88654
|
+
this.markModelSelectorChanged();
|
|
88654
88655
|
}
|
|
88655
88656
|
/** Create a new *blank* SpatialViewState. The returned SpatialViewState will nave non-persistent empty [[CategorySelectorState]] and [[ModelSelectorState]],
|
|
88656
88657
|
* and a non-persistent [[DisplayStyle3dState]] with default values for all of its components. Generally after creating a blank SpatialViewState,
|
|
@@ -103264,6 +103265,7 @@ const UNIT_DATA = [
|
|
|
103264
103265
|
{ name: "Units.SQ_FT", phenomenon: "Units.AREA", system: "Units.USCUSTOM", conversion: { numerator: 1.0, denominator: .09290304, offset: 0.0 }, displayLabel: "ft²" },
|
|
103265
103266
|
{ name: "Units.SQ_US_SURVEY_FT", phenomenon: "Units.AREA", system: "Units.USCUSTOM", conversion: { numerator: 15499969.0, denominator: 1440000, offset: 0.0 }, displayLabel: "ft² (US Survey)" },
|
|
103266
103267
|
{ name: "Units.SQ_M", phenomenon: "Units.AREA", system: "Units.SI", conversion: { numerator: 1.0, denominator: 1.0, offset: 0.0 }, displayLabel: "m²" },
|
|
103268
|
+
{ name: "Units.SQ_KM", phenomenon: "Units.AREA", system: "Units.SI", conversion: { numerator: 1.0, denominator: 1000000.0, offset: 0.0 }, displayLabel: "km²" },
|
|
103267
103269
|
// conversion => specified unit to base unit m³
|
|
103268
103270
|
{ name: "Units.CUB_FT", phenomenon: "Units.VOLUME", system: "Units.USCUSTOM", conversion: { numerator: 1.0, denominator: 0.028316847, offset: 0.0 }, displayLabel: "ft³" },
|
|
103269
103271
|
{ name: "Units.CUB_US_SURVEY_FT", phenomenon: "Units.VOLUME", system: "Units.USSURVEY", conversion: { numerator: 1, denominator: 0.0283170164937591, offset: 0.0 }, displayLabel: "ft³" },
|
|
@@ -152104,7 +152106,7 @@ class ArcGISIdentifyRequestUrl {
|
|
|
152104
152106
|
newUrl.searchParams.append("geometry", `${this.toFixed(geomPt.x, srFractionDigits)},${this.toFixed(geomPt.y, srFractionDigits)}`);
|
|
152105
152107
|
newUrl.searchParams.append("geometryType", json.geometryType);
|
|
152106
152108
|
if (json.sr) {
|
|
152107
|
-
newUrl.searchParams.append("sr", `${json.
|
|
152109
|
+
newUrl.searchParams.append("sr", `${json.sr}`);
|
|
152108
152110
|
}
|
|
152109
152111
|
if (json.layers) {
|
|
152110
152112
|
newUrl.searchParams.append("layers", `${json.layers.prefix}${json.layers.layerIds?.length ? `: ${json.layers.layerIds.join(",")}` : ""}`);
|
|
@@ -152305,8 +152307,9 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_2
|
|
|
152305
152307
|
geometryType: "esriGeometryPoint",
|
|
152306
152308
|
tolerance,
|
|
152307
152309
|
mapExtent: { low: { x: bbox.left, y: bbox.bottom }, high: { x: bbox.right, y: bbox.top } },
|
|
152310
|
+
sr: 3857,
|
|
152308
152311
|
imageDisplay: { width: this.tileSize, height: this.tileSize, dpi: 96 },
|
|
152309
|
-
layers: { prefix: "
|
|
152312
|
+
layers: { prefix: "top", layerIds },
|
|
152310
152313
|
returnGeometry,
|
|
152311
152314
|
maxAllowableOffset
|
|
152312
152315
|
}, 3 /* 1mm accuracy*/);
|
|
@@ -222788,7 +222791,7 @@ class Transform {
|
|
|
222788
222791
|
}
|
|
222789
222792
|
/**
|
|
222790
222793
|
* Multiply `this` Transform times `other` Transform.
|
|
222791
|
-
* * **Note:** If `this = [A a]` and `other = [B b]` then `this * other` is defined as [A*B Ab+a] because:
|
|
222794
|
+
* * **Note:** If `this = [A a]` and `other = [B b]` then `this * other` is defined as `[A*B Ab+a]` because:
|
|
222792
222795
|
* ```
|
|
222793
222796
|
* equation
|
|
222794
222797
|
* \begin{matrix}
|
|
@@ -222797,7 +222800,7 @@ class Transform {
|
|
|
222797
222800
|
* \text{product}& \blockTransform{A}{a}\blockTransform{B}{b}=\blockTransform{AB}{Ab + a}
|
|
222798
222801
|
* \end{matrix}
|
|
222799
222802
|
* ```
|
|
222800
|
-
* @param other the
|
|
222803
|
+
* @param other the `other` Transform to be multiplied to `this` Transform.
|
|
222801
222804
|
* @param result optional preallocated `result` to reuse.
|
|
222802
222805
|
*/
|
|
222803
222806
|
multiplyTransformTransform(other, result) {
|
|
@@ -280403,7 +280406,7 @@ class TestContext {
|
|
|
280403
280406
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
280404
280407
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
280405
280408
|
await core_frontend_1.NoRenderApp.startup({
|
|
280406
|
-
applicationVersion: "4.2.
|
|
280409
|
+
applicationVersion: "4.2.4",
|
|
280407
280410
|
applicationId: this.settings.gprid,
|
|
280408
280411
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
280409
280412
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -299811,7 +299814,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
299811
299814
|
/***/ ((module) => {
|
|
299812
299815
|
|
|
299813
299816
|
"use strict";
|
|
299814
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.2.
|
|
299817
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.2.4","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.4","@itwin/core-bentley":"workspace:^4.2.4","@itwin/core-common":"workspace:^4.2.4","@itwin/core-geometry":"workspace:^4.2.4","@itwin/core-orbitgt":"workspace:^4.2.4","@itwin/core-quantity":"workspace:^4.2.4"},"//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.3.10","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"}}');
|
|
299815
299818
|
|
|
299816
299819
|
/***/ }),
|
|
299817
299820
|
|