@itwin/rpcinterface-full-stack-tests 4.9.0-dev.20 → 4.9.0-dev.21

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.
@@ -1 +1 @@
1
- {"version":3,"file":"_bea9.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\14\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.1.6\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
1
+ {"version":3,"file":"_bea9.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\18\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.1.6\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
@@ -106120,23 +106120,6 @@ class GraphicDescriptionBuilderImpl extends _render_GraphicAssembler__WEBPACK_IM
106120
106120
  if (meshes.length === 0) {
106121
106121
  return description;
106122
106122
  }
106123
- const featureTable = this.pickable && meshes.features?.anyDefined ? meshes.features : undefined;
106124
- if (featureTable) {
106125
- (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_5__.assert)(undefined !== this.pickable);
106126
- const features = _itwin_core_common__WEBPACK_IMPORTED_MODULE_4__.PackedFeatureTable.pack(featureTable);
106127
- const range = meshes.range ?? new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Range3d();
106128
- description.batch = {
106129
- ...this.pickable,
106130
- range: range.toJSON(),
106131
- modelId: this.pickable.modelId ?? this.pickable.id,
106132
- featureTable: {
106133
- multiModel: false,
106134
- data: features.data,
106135
- numFeatures: features.numFeatures,
106136
- animationNodeIds: features.animationNodeIds,
106137
- },
106138
- };
106139
- }
106140
106123
  // If the meshes contain quantized positions, they are all quantized to the same range. If that range is small relative to the distance
106141
106124
  // from the origin, quantization errors can produce display artifacts. Remove the translation from the quantization parameters and apply
106142
106125
  // it in the transform instead.
@@ -106156,7 +106139,7 @@ class GraphicDescriptionBuilderImpl extends _render_GraphicAssembler__WEBPACK_IM
106156
106139
  // In this case we need to modify the qOrigin of the graphic that will get created later since we have translated the origin.
106157
106140
  // We can't modify it directly, but if we temporarily modify the range of the mesh used to create it the qOrigin will get created properly.
106158
106141
  // Range is shared (not cloned) by all meshes and the mesh list itself, so modifying the range of the meshlist will modify it for all meshes.
106159
- // We will then later add this offset back to the range once all of the graphics have been created because it is needed unmodified for locate.
106142
+ // This will become the range in local coordinates of the batch, if we are creating a batch.
106160
106143
  transformOrigin = verts.range.center;
106161
106144
  if (!meshesRangeOffset) {
106162
106145
  meshes.range?.low.subtractInPlace(transformOrigin);
@@ -106182,31 +106165,31 @@ class GraphicDescriptionBuilderImpl extends _render_GraphicAssembler__WEBPACK_IM
106182
106165
  type: "viewIndependentOrigin",
106183
106166
  origin: { x: origin.x, y: origin.y, z: origin.z },
106184
106167
  };
106185
- /* ###TODO } else if (this._instances) {
106186
- primitive.modifier = {
106187
- ...this._instances,
106188
- type: "instances",
106189
- transformCenter: { x: this._instances.transformCenter.x, y: this._instances.transformCenter.y, z: this._instances.transformCenter.z },
106190
- range: this._instances.range ? {
106191
- low: { x: this._instances.range.low.x, y: this._instances.range.low.y, z: this._instances.range.low.z },
106192
- high: { x: this._instances.range.high.x, y: this._instances.range.high.y, z: this._instances.range.high.z },
106193
- } : undefined,
106194
- };
106195
- */
106196
106168
  }
106197
106169
  description.primitives.push(primitive);
106198
106170
  }
106199
106171
  }
106200
- // Restore the meshes range if we modified it above.
106201
- if (meshesRangeOffset) {
106202
- (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_5__.assert)(undefined !== transformOrigin);
106203
- meshes.range?.low.addInPlace(transformOrigin);
106204
- meshes.range?.high.addInPlace(transformOrigin);
106205
- }
106206
106172
  this[_Symbols__WEBPACK_IMPORTED_MODULE_10__._accumulator].clear();
106207
106173
  if (transformOrigin) {
106208
106174
  description.translation = { x: transformOrigin.x, y: transformOrigin.y, z: transformOrigin.z };
106209
106175
  }
106176
+ const featureTable = this.pickable && meshes.features?.anyDefined ? meshes.features : undefined;
106177
+ if (featureTable) {
106178
+ (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_5__.assert)(undefined !== this.pickable);
106179
+ const features = _itwin_core_common__WEBPACK_IMPORTED_MODULE_4__.PackedFeatureTable.pack(featureTable);
106180
+ const range = meshes.range ?? new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Range3d();
106181
+ description.batch = {
106182
+ ...this.pickable,
106183
+ range: range.toJSON(),
106184
+ modelId: this.pickable.modelId ?? this.pickable.id,
106185
+ featureTable: {
106186
+ multiModel: false,
106187
+ data: features.data,
106188
+ numFeatures: features.numFeatures,
106189
+ animationNodeIds: features.animationNodeIds,
106190
+ },
106191
+ };
106192
+ }
106210
106193
  return description;
106211
106194
  }
106212
106195
  createPrimitive(mesh) {
@@ -294150,7 +294133,7 @@ class TestContext {
294150
294133
  this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
294151
294134
  const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
294152
294135
  await core_frontend_1.NoRenderApp.startup({
294153
- applicationVersion: "4.9.0-dev.20",
294136
+ applicationVersion: "4.9.0-dev.21",
294154
294137
  applicationId: this.settings.gprid,
294155
294138
  authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
294156
294139
  hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
@@ -318813,7 +318796,7 @@ function __disposeResources(env) {
318813
318796
  /***/ ((module) => {
318814
318797
 
318815
318798
  "use strict";
318816
- module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.9.0-dev.20","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 --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint -f visualstudio \\"./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 -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.9.0-dev.20","@itwin/core-bentley":"workspace:^4.9.0-dev.20","@itwin/core-common":"workspace:^4.9.0-dev.20","@itwin/core-geometry":"workspace:^4.9.0-dev.20","@itwin/core-orbitgt":"workspace:^4.9.0-dev.20","@itwin/core-quantity":"workspace:^4.9.0-dev.20"},"//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.2","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/mocha":"^10.0.6","@types/sinon":"^17.0.2","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","chai":"^4.3.10","chai-as-promised":"^7.1.1","cpx2":"^3.0.0","eslint":"^8.56.0","glob":"^10.3.12","mocha":"^10.2.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^17.0.1","source-map-loader":"^4.0.0","typescript":"~5.3.3","typemoq":"^2.1.0","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.2.4","@itwin/object-storage-core":"^2.2.5","@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","meshoptimizer":"~0.20.0","wms-capabilities":"0.4.0"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"}}');
318799
+ module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.9.0-dev.21","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 --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint -f visualstudio \\"./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 -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.9.0-dev.21","@itwin/core-bentley":"workspace:^4.9.0-dev.21","@itwin/core-common":"workspace:^4.9.0-dev.21","@itwin/core-geometry":"workspace:^4.9.0-dev.21","@itwin/core-orbitgt":"workspace:^4.9.0-dev.21","@itwin/core-quantity":"workspace:^4.9.0-dev.21"},"//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.2","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/mocha":"^10.0.6","@types/sinon":"^17.0.2","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","chai":"^4.3.10","chai-as-promised":"^7.1.1","cpx2":"^3.0.0","eslint":"^8.56.0","glob":"^10.3.12","mocha":"^10.2.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^17.0.1","source-map-loader":"^4.0.0","typescript":"~5.3.3","typemoq":"^2.1.0","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.2.4","@itwin/object-storage-core":"^2.2.5","@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","meshoptimizer":"~0.20.0","wms-capabilities":"0.4.0"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"}}');
318817
318800
 
318818
318801
  /***/ }),
318819
318802