@itwin/rpcinterface-full-stack-tests 4.11.6 → 4.11.7
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.
|
@@ -76745,6 +76745,7 @@ class ECClass extends _SchemaItem__WEBPACK_IMPORTED_MODULE_8__.SchemaItem {
|
|
|
76745
76745
|
else
|
|
76746
76746
|
correctType = structType;
|
|
76747
76747
|
if (!correctType)
|
|
76748
|
+
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
76748
76749
|
throw new _Exception__WEBPACK_IMPORTED_MODULE_4__.ECObjectsError(_Exception__WEBPACK_IMPORTED_MODULE_4__.ECObjectsStatus.InvalidType, `The provided Struct type, ${structType}, is not a valid StructClass.`);
|
|
76749
76750
|
return correctType;
|
|
76750
76751
|
}
|
|
@@ -76756,6 +76757,7 @@ class ECClass extends _SchemaItem__WEBPACK_IMPORTED_MODULE_8__.SchemaItem {
|
|
|
76756
76757
|
else
|
|
76757
76758
|
correctType = structType;
|
|
76758
76759
|
if (!correctType)
|
|
76760
|
+
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
76759
76761
|
throw new _Exception__WEBPACK_IMPORTED_MODULE_4__.ECObjectsError(_Exception__WEBPACK_IMPORTED_MODULE_4__.ECObjectsStatus.InvalidType, `The provided Struct type, ${structType}, is not a valid StructClass.`);
|
|
76760
76762
|
return correctType;
|
|
76761
76763
|
}
|
|
@@ -137311,12 +137313,19 @@ class VertexShaderBuilder extends ShaderBuilder {
|
|
|
137311
137313
|
}
|
|
137312
137314
|
main.addline(" v_color = baseColor;");
|
|
137313
137315
|
}
|
|
137316
|
+
/*
|
|
137317
|
+
There is currently a driver glitch which is known to affect much of the Intel Ultra 7 family of chipsets when using Intel driver from some point after driver version 32.0.101.6078 (9/13/2024).
|
|
137318
|
+
|
|
137319
|
+
The graphics driver will glitch when discarding triangles using the vertex shader (setting all vertices to the same value) if gl_Position was not initialized to a valid position beforehand.
|
|
137320
|
+
|
|
137321
|
+
The workaround for this bug involves ensuring that gl_Position is initialized to a valid position before attempting a discard using a degenerate triangle.
|
|
137322
|
+
*/
|
|
137323
|
+
main.addline(" gl_Position = computePosition(rawPosition);");
|
|
137314
137324
|
const checkForDiscard = this.get(9 /* VertexShaderComponent.CheckForDiscard */);
|
|
137315
137325
|
if (undefined !== checkForDiscard) {
|
|
137316
137326
|
prelude.addFunction("bool checkForDiscard()", checkForDiscard);
|
|
137317
137327
|
main.add(_glsl_Vertex__WEBPACK_IMPORTED_MODULE_3__.vertexDiscard);
|
|
137318
137328
|
}
|
|
137319
|
-
main.addline(" gl_Position = computePosition(rawPosition);");
|
|
137320
137329
|
const finalizePos = this.get(13 /* VertexShaderComponent.FinalizePosition */);
|
|
137321
137330
|
if (undefined !== finalizePos) {
|
|
137322
137331
|
prelude.addFunction("vec4 finalizePosition(vec4 pos)", finalizePos);
|
|
@@ -303177,7 +303186,7 @@ class TestContext {
|
|
|
303177
303186
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
303178
303187
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
303179
303188
|
await core_frontend_1.NoRenderApp.startup({
|
|
303180
|
-
applicationVersion: "4.11.
|
|
303189
|
+
applicationVersion: "4.11.7",
|
|
303181
303190
|
applicationId: this.settings.gprid,
|
|
303182
303191
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
303183
303192
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -304196,6 +304205,7 @@ class ElementPropertiesBuilder {
|
|
|
304196
304205
|
processPrimitiveValue(props) {
|
|
304197
304206
|
this._currentAppender.append(props.field.label, {
|
|
304198
304207
|
type: "primitive",
|
|
304208
|
+
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
304199
304209
|
value: props.displayValue?.toString() ?? "",
|
|
304200
304210
|
});
|
|
304201
304211
|
}
|
|
@@ -317120,6 +317130,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317120
317130
|
* @public
|
|
317121
317131
|
* @deprecated in 4.2.x Use [[UiSyncEvent]] from @itwin/appui-react.
|
|
317122
317132
|
*/
|
|
317133
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
317123
317134
|
class UiSyncEvent extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeUiEvent {
|
|
317124
317135
|
}
|
|
317125
317136
|
/** This class is used to send eventIds to interested UI components so the component can determine if it needs
|
|
@@ -330790,7 +330801,7 @@ function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
|
330790
330801
|
/***/ ((module) => {
|
|
330791
330802
|
|
|
330792
330803
|
"use strict";
|
|
330793
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.11.
|
|
330804
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.11.7","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 --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","test:debug":"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:^4.11.7","@itwin/core-bentley":"workspace:^4.11.7","@itwin/core-common":"workspace:^4.11.7","@itwin/core-geometry":"workspace:^4.11.7","@itwin/core-orbitgt":"workspace:^4.11.7","@itwin/core-quantity":"workspace:^4.11.7"},"//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.2.1","@types/chai-as-promised":"^7","@vitest/browser":"^3.0.5","@vitest/coverage-v8":"^3.0.5","cpx2":"^3.0.0","eslint":"^9.31.0","glob":"^10.3.12","playwright":"~1.56.1","rimraf":"^3.0.2","source-map-loader":"^4.0.0","typescript":"~5.6.2","typemoq":"^2.1.0","vitest":"^3.0.5","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"1.0.6","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":"^3.0.4","@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"}}');
|
|
330794
330805
|
|
|
330795
330806
|
/***/ }),
|
|
330796
330807
|
|
|
@@ -331291,10 +331302,12 @@ describe("PresentationRpcInterface tests", () => {
|
|
|
331291
331302
|
(0, chai_1.expect)(displayLabels).to.not.be.undefined;
|
|
331292
331303
|
});
|
|
331293
331304
|
it("getSelectionScopes works as expected", async () => {
|
|
331305
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
331294
331306
|
const scopeIds = await presentation_frontend_1.Presentation.selection.scopes.getSelectionScopes(imodel);
|
|
331295
331307
|
(0, chai_1.expect)(scopeIds).to.not.be.undefined;
|
|
331296
331308
|
});
|
|
331297
331309
|
it("computeSelection works as expected", async () => {
|
|
331310
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
331298
331311
|
const computedSelections = await presentation_frontend_1.Presentation.selection.scopes.computeSelection(imodel, ["0x1"], "element");
|
|
331299
331312
|
(0, chai_1.expect)(computedSelections).to.not.be.undefined;
|
|
331300
331313
|
});
|