@itwin/rpcinterface-full-stack-tests 4.5.0-dev.3 → 4.5.0-dev.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/_bea9.bundled-tests.js.map +1 -1
- package/lib/dist/bundled-tests.js +17 -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_1_6_node_modules_loaders_gl_draco_di-0642a6.bundled-tests.js.map +1 -1
- package/package.json +13 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_bea9.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\
|
|
1
|
+
{"version":3,"file":"_bea9.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\486\\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":""}
|
|
@@ -67204,6 +67204,11 @@ class SchemaReadHelper {
|
|
|
67204
67204
|
for (const providerTuple of caProviders) {
|
|
67205
67205
|
// First tuple entry is the CA class name.
|
|
67206
67206
|
const caClass = await this.findSchemaItem(providerTuple[0]);
|
|
67207
|
+
// If custom attribute exist within the context and is referenced, validate the reference is defined in the container's schema
|
|
67208
|
+
if (caClass && caClass.key.schemaName !== container.schema.name &&
|
|
67209
|
+
!container.schema.getReferenceSync(caClass.key.schemaName)) {
|
|
67210
|
+
throw new Exception_1.ECObjectsError(Exception_1.ECObjectsStatus.InvalidECJson, `Unable to load custom attribute ${caClass.fullName} from container ${container.fullName}, ${caClass.key.schemaName} reference not defined`);
|
|
67211
|
+
}
|
|
67207
67212
|
// Second tuple entry ia a function that provides the CA instance.
|
|
67208
67213
|
const provider = providerTuple[1];
|
|
67209
67214
|
const customAttribute = provider(caClass);
|
|
@@ -144571,9 +144576,17 @@ class GltfReader {
|
|
|
144571
144576
|
renderGraphic = renderGraphicList[0];
|
|
144572
144577
|
else
|
|
144573
144578
|
renderGraphic = this._system.createGraphicList(renderGraphicList);
|
|
144574
|
-
if (featureTable)
|
|
144575
|
-
renderGraphic = this._system.createBatch(renderGraphic, _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.PackedFeatureTable.pack(featureTable), contentRange);
|
|
144576
144579
|
const transform = this.getTileTransform(transformToRoot, pseudoRtcBias);
|
|
144580
|
+
// Compute range in tileset/world space.
|
|
144581
|
+
let range = contentRange;
|
|
144582
|
+
const invTransform = transform?.inverse();
|
|
144583
|
+
if (invTransform)
|
|
144584
|
+
range = invTransform.multiplyRange(contentRange);
|
|
144585
|
+
// The batch range needs to be in tile coordinate space.
|
|
144586
|
+
// If we computed the content range ourselves, it's already in tile space.
|
|
144587
|
+
// If the content range was supplied by the caller, it's in tileset space and needs to be transformed to tile space.
|
|
144588
|
+
if (featureTable)
|
|
144589
|
+
renderGraphic = this._system.createBatch(renderGraphic, _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.PackedFeatureTable.pack(featureTable), this._computedContentRange ? contentRange : range);
|
|
144577
144590
|
const viewFlagOverrides = this.viewFlagOverrides;
|
|
144578
144591
|
if (transform || viewFlagOverrides) {
|
|
144579
144592
|
const branch = new _render_GraphicBranch__WEBPACK_IMPORTED_MODULE_4__.GraphicBranch(true);
|
|
@@ -144582,8 +144595,6 @@ class GltfReader {
|
|
|
144582
144595
|
branch.add(renderGraphic);
|
|
144583
144596
|
renderGraphic = this._system.createBranch(branch, transform ?? _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Transform.createIdentity());
|
|
144584
144597
|
}
|
|
144585
|
-
const invTransform = transform?.inverse();
|
|
144586
|
-
const range = invTransform ? invTransform.multiplyRange(contentRange) : contentRange;
|
|
144587
144598
|
return {
|
|
144588
144599
|
readStatus,
|
|
144589
144600
|
isLeaf,
|
|
@@ -288593,7 +288604,7 @@ class TestContext {
|
|
|
288593
288604
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
288594
288605
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
288595
288606
|
await core_frontend_1.NoRenderApp.startup({
|
|
288596
|
-
applicationVersion: "4.5.0-dev.
|
|
288607
|
+
applicationVersion: "4.5.0-dev.4",
|
|
288597
288608
|
applicationId: this.settings.gprid,
|
|
288598
288609
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
288599
288610
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -307426,7 +307437,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
307426
307437
|
/***/ ((module) => {
|
|
307427
307438
|
|
|
307428
307439
|
"use strict";
|
|
307429
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.5.0-dev.
|
|
307440
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.5.0-dev.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","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.5.0-dev.4","@itwin/core-bentley":"workspace:^4.5.0-dev.4","@itwin/core-common":"workspace:^4.5.0-dev.4","@itwin/core-geometry":"workspace:^4.5.0-dev.4","@itwin/core-orbitgt":"workspace:^4.5.0-dev.4","@itwin/core-quantity":"workspace:^4.5.0-dev.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":"^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.44.0","glob":"^7.1.2","mocha":"^10.2.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^17.0.1","source-map-loader":"^4.0.0","typescript":"~5.0.2","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.1.0","@itwin/object-storage-core":"^2.2.2","@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"}}');
|
|
307430
307441
|
|
|
307431
307442
|
/***/ }),
|
|
307432
307443
|
|