@itwin/ecschema-rpcinterface-tests 4.4.0-dev.31 → 4.4.0-dev.33
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 +25 -16
- 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 +15 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_bea9.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\
|
|
1
|
+
{"version":3,"file":"_bea9.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_b\\150\\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":""}
|
|
@@ -25632,15 +25632,12 @@ class Logger {
|
|
|
25632
25632
|
const stack = Logger.logExceptionCallstacks ? `\n${_BentleyError__WEBPACK_IMPORTED_MODULE_0__.BentleyError.getErrorStack(err)}` : "";
|
|
25633
25633
|
return _BentleyError__WEBPACK_IMPORTED_MODULE_0__.BentleyError.getErrorMessage(err) + stack;
|
|
25634
25634
|
}
|
|
25635
|
-
/** Log the specified exception. The special "ExceptionType" property will be added as metadata
|
|
25636
|
-
* in addition to any other metadata that may be supplied by the caller, unless the
|
|
25637
|
-
* metadata supplied by the caller already includes this property.
|
|
25635
|
+
/** Log the specified exception. The special "ExceptionType" property will be added as metadata.
|
|
25638
25636
|
* @param category The category of the message.
|
|
25639
25637
|
* @param err The exception object.
|
|
25640
25638
|
* @param log The logger output function to use - defaults to Logger.logError
|
|
25641
|
-
* @param metaData Optional data for the message
|
|
25642
25639
|
*/
|
|
25643
|
-
static logException(category, err, log = (_category, message) => Logger.logError(_category, message)) {
|
|
25640
|
+
static logException(category, err, log = (_category, message, metaData) => Logger.logError(_category, message, metaData)) {
|
|
25644
25641
|
log(category, Logger.getExceptionMessage(err), () => {
|
|
25645
25642
|
return { ..._BentleyError__WEBPACK_IMPORTED_MODULE_0__.BentleyError.getErrorMetadata(err), exceptionType: err.constructor.name };
|
|
25646
25643
|
});
|
|
@@ -55818,7 +55815,7 @@ var RpcResponseCacheControl;
|
|
|
55818
55815
|
})(RpcResponseCacheControl || (RpcResponseCacheControl = {}));
|
|
55819
55816
|
/** RPC protocol event types.
|
|
55820
55817
|
* @public
|
|
55821
|
-
* @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in
|
|
55818
|
+
* @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future.
|
|
55822
55819
|
*/
|
|
55823
55820
|
var RpcProtocolEvent;
|
|
55824
55821
|
(function (RpcProtocolEvent) {
|
|
@@ -55838,7 +55835,7 @@ var RpcProtocolEvent;
|
|
|
55838
55835
|
})(RpcProtocolEvent || (RpcProtocolEvent = {}));
|
|
55839
55836
|
/** The status of an RPC operation request.
|
|
55840
55837
|
* @public
|
|
55841
|
-
* @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in
|
|
55838
|
+
* @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future.
|
|
55842
55839
|
*/
|
|
55843
55840
|
var RpcRequestStatus;
|
|
55844
55841
|
(function (RpcRequestStatus) {
|
|
@@ -55858,7 +55855,7 @@ var RpcRequestStatus;
|
|
|
55858
55855
|
RpcRequestStatus[RpcRequestStatus["RequestTimeout"] = 13] = "RequestTimeout";
|
|
55859
55856
|
RpcRequestStatus[RpcRequestStatus["TooManyRequests"] = 14] = "TooManyRequests";
|
|
55860
55857
|
})(RpcRequestStatus || (RpcRequestStatus = {}));
|
|
55861
|
-
/** @public @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in
|
|
55858
|
+
/** @public @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future. */
|
|
55862
55859
|
(function (RpcRequestStatus) {
|
|
55863
55860
|
function isTransientError(status) {
|
|
55864
55861
|
return status === RpcRequestStatus.BadGateway || status === RpcRequestStatus.ServiceUnavailable || status === RpcRequestStatus.GatewayTimeout
|
|
@@ -55868,7 +55865,7 @@ var RpcRequestStatus;
|
|
|
55868
55865
|
})(RpcRequestStatus || (RpcRequestStatus = {}));
|
|
55869
55866
|
/** RPC request event types.
|
|
55870
55867
|
* @public
|
|
55871
|
-
* @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in
|
|
55868
|
+
* @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future.
|
|
55872
55869
|
*/
|
|
55873
55870
|
var RpcRequestEvent;
|
|
55874
55871
|
(function (RpcRequestEvent) {
|
|
@@ -55878,7 +55875,7 @@ var RpcRequestEvent;
|
|
|
55878
55875
|
})(RpcRequestEvent || (RpcRequestEvent = {}));
|
|
55879
55876
|
/** RPC content types.
|
|
55880
55877
|
* @public
|
|
55881
|
-
* @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in
|
|
55878
|
+
* @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future.
|
|
55882
55879
|
*/
|
|
55883
55880
|
var RpcContentType;
|
|
55884
55881
|
(function (RpcContentType) {
|
|
@@ -55890,7 +55887,7 @@ var RpcContentType;
|
|
|
55890
55887
|
})(RpcContentType || (RpcContentType = {}));
|
|
55891
55888
|
/** Endpoints for RPC protocols.
|
|
55892
55889
|
* @public
|
|
55893
|
-
* @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in
|
|
55890
|
+
* @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future.
|
|
55894
55891
|
*/
|
|
55895
55892
|
var RpcEndpoint;
|
|
55896
55893
|
(function (RpcEndpoint) {
|
|
@@ -118787,6 +118784,12 @@ class RealityMeshGeometry extends _CachedGeometry__WEBPACK_IMPORTED_MODULE_7__.I
|
|
|
118787
118784
|
}
|
|
118788
118785
|
collectStatistics(stats) {
|
|
118789
118786
|
this._isTerrain ? stats.addTerrain(this._realityMeshParams.bytesUsed) : stats.addRealityMesh(this._realityMeshParams.bytesUsed);
|
|
118787
|
+
if (this.textureParams?.params) {
|
|
118788
|
+
for (const param of this.textureParams.params) {
|
|
118789
|
+
if (param.texture?.bytesUsed)
|
|
118790
|
+
stats.addTexture(param.texture.bytesUsed);
|
|
118791
|
+
}
|
|
118792
|
+
}
|
|
118790
118793
|
}
|
|
118791
118794
|
get techniqueId() { return 7 /* TechniqueId.RealityMesh */; }
|
|
118792
118795
|
getPass(target) {
|
|
@@ -139476,9 +139479,17 @@ class GltfReader {
|
|
|
139476
139479
|
renderGraphic = renderGraphicList[0];
|
|
139477
139480
|
else
|
|
139478
139481
|
renderGraphic = this._system.createGraphicList(renderGraphicList);
|
|
139479
|
-
if (featureTable)
|
|
139480
|
-
renderGraphic = this._system.createBatch(renderGraphic, _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.PackedFeatureTable.pack(featureTable), contentRange);
|
|
139481
139482
|
const transform = this.getTileTransform(transformToRoot, pseudoRtcBias);
|
|
139483
|
+
// Compute range in tileset/world space.
|
|
139484
|
+
let range = contentRange;
|
|
139485
|
+
const invTransform = transform?.inverse();
|
|
139486
|
+
if (invTransform)
|
|
139487
|
+
range = invTransform.multiplyRange(contentRange);
|
|
139488
|
+
// The batch range needs to be in tile coordinate space.
|
|
139489
|
+
// If we computed the content range ourselves, it's already in tile space.
|
|
139490
|
+
// If the content range was supplied by the caller, it's in tileset space and needs to be transformed to tile space.
|
|
139491
|
+
if (featureTable)
|
|
139492
|
+
renderGraphic = this._system.createBatch(renderGraphic, _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.PackedFeatureTable.pack(featureTable), this._computedContentRange ? contentRange : range);
|
|
139482
139493
|
const viewFlagOverrides = this.viewFlagOverrides;
|
|
139483
139494
|
if (transform || viewFlagOverrides) {
|
|
139484
139495
|
const branch = new _render_GraphicBranch__WEBPACK_IMPORTED_MODULE_4__.GraphicBranch(true);
|
|
@@ -139487,8 +139498,6 @@ class GltfReader {
|
|
|
139487
139498
|
branch.add(renderGraphic);
|
|
139488
139499
|
renderGraphic = this._system.createBranch(branch, transform ?? _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Transform.createIdentity());
|
|
139489
139500
|
}
|
|
139490
|
-
const invTransform = transform?.inverse();
|
|
139491
|
-
const range = invTransform ? invTransform.multiplyRange(contentRange) : contentRange;
|
|
139492
139501
|
return {
|
|
139493
139502
|
readStatus,
|
|
139494
139503
|
isLeaf,
|
|
@@ -292627,7 +292636,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
292627
292636
|
/***/ ((module) => {
|
|
292628
292637
|
|
|
292629
292638
|
"use strict";
|
|
292630
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.4.0-dev.
|
|
292639
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.4.0-dev.33","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.4.0-dev.33","@itwin/core-bentley":"workspace:^4.4.0-dev.33","@itwin/core-common":"workspace:^4.4.0-dev.33","@itwin/core-geometry":"workspace:^4.4.0-dev.33","@itwin/core-orbitgt":"workspace:^4.4.0-dev.33","@itwin/core-quantity":"workspace:^4.4.0-dev.33"},"//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"}}');
|
|
292631
292640
|
|
|
292632
292641
|
/***/ })
|
|
292633
292642
|
|