@itwin/ecschema-rpcinterface-tests 5.3.0-dev.21 → 5.3.0-dev.23
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 +50 -44
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +16 -16
|
@@ -19121,6 +19121,10 @@ var DbResult;
|
|
|
19121
19121
|
DbResult[DbResult["BE_SQLITE_ERROR_SchemaUpgradeRecommended"] = 369098762] = "BE_SQLITE_ERROR_SchemaUpgradeRecommended";
|
|
19122
19122
|
/** schema update require data transform */
|
|
19123
19123
|
DbResult[DbResult["BE_SQLITE_ERROR_DataTransformRequired"] = 385875978] = "BE_SQLITE_ERROR_DataTransformRequired";
|
|
19124
|
+
/** Db not open */
|
|
19125
|
+
DbResult[DbResult["BE_SQLITE_ERROR_NOTOPEN"] = 16777217] = "BE_SQLITE_ERROR_NOTOPEN";
|
|
19126
|
+
/** Error propagating changes during commit */
|
|
19127
|
+
DbResult[DbResult["BE_SQLITE_ERROR_PropagateChangesFailed"] = 33554433] = "BE_SQLITE_ERROR_PropagateChangesFailed";
|
|
19124
19128
|
DbResult[DbResult["BE_SQLITE_LOCKED_SHAREDCACHE"] = 262] = "BE_SQLITE_LOCKED_SHAREDCACHE";
|
|
19125
19129
|
DbResult[DbResult["BE_SQLITE_BUSY_RECOVERY"] = 261] = "BE_SQLITE_BUSY_RECOVERY";
|
|
19126
19130
|
DbResult[DbResult["BE_SQLITE_CANTOPEN_NOTEMPDIR"] = 270] = "BE_SQLITE_CANTOPEN_NOTEMPDIR";
|
|
@@ -45251,6 +45255,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
45251
45255
|
/* harmony export */ GeometrySummaryVerbosity: () => (/* reexport safe */ _GeometrySummary__WEBPACK_IMPORTED_MODULE_60__.GeometrySummaryVerbosity),
|
|
45252
45256
|
/* harmony export */ GlbHeader: () => (/* reexport safe */ _tile_GltfTileIO__WEBPACK_IMPORTED_MODULE_153__.GlbHeader),
|
|
45253
45257
|
/* harmony export */ GlobeMode: () => (/* reexport safe */ _BackgroundMapSettings__WEBPACK_IMPORTED_MODULE_11__.GlobeMode),
|
|
45258
|
+
/* harmony export */ GltfHeader: () => (/* reexport safe */ _tile_GltfTileIO__WEBPACK_IMPORTED_MODULE_153__.GltfHeader),
|
|
45254
45259
|
/* harmony export */ GltfV2ChunkTypes: () => (/* reexport safe */ _tile_GltfTileIO__WEBPACK_IMPORTED_MODULE_153__.GltfV2ChunkTypes),
|
|
45255
45260
|
/* harmony export */ GltfVersions: () => (/* reexport safe */ _tile_GltfTileIO__WEBPACK_IMPORTED_MODULE_153__.GltfVersions),
|
|
45256
45261
|
/* harmony export */ Gradient: () => (/* reexport safe */ _Gradient__WEBPACK_IMPORTED_MODULE_61__.Gradient),
|
|
@@ -60328,6 +60333,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
60328
60333
|
__webpack_require__.r(__webpack_exports__);
|
|
60329
60334
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
60330
60335
|
/* harmony export */ GlbHeader: () => (/* binding */ GlbHeader),
|
|
60336
|
+
/* harmony export */ GltfHeader: () => (/* binding */ GltfHeader),
|
|
60331
60337
|
/* harmony export */ GltfV2ChunkTypes: () => (/* binding */ GltfV2ChunkTypes),
|
|
60332
60338
|
/* harmony export */ GltfVersions: () => (/* binding */ GltfVersions)
|
|
60333
60339
|
/* harmony export */ });
|
|
@@ -60441,6 +60447,48 @@ class GlbHeader extends _TileIO__WEBPACK_IMPORTED_MODULE_1__.TileHeader {
|
|
|
60441
60447
|
}
|
|
60442
60448
|
}
|
|
60443
60449
|
}
|
|
60450
|
+
/** @internal */
|
|
60451
|
+
class GltfHeader extends _TileIO__WEBPACK_IMPORTED_MODULE_1__.TileHeader {
|
|
60452
|
+
gltfLength;
|
|
60453
|
+
scenePosition = 0;
|
|
60454
|
+
sceneStrLength = 0;
|
|
60455
|
+
binaryPosition = 0;
|
|
60456
|
+
get isValid() { return _TileIO__WEBPACK_IMPORTED_MODULE_1__.TileFormat.Gltf === this.format; }
|
|
60457
|
+
constructor(stream) {
|
|
60458
|
+
super(stream);
|
|
60459
|
+
this.gltfLength = stream.readUint32();
|
|
60460
|
+
this.sceneStrLength = stream.readUint32();
|
|
60461
|
+
const value5 = stream.readUint32();
|
|
60462
|
+
// Early versions of the reality data tile publisher incorrectly put version 2 into header - handle these old tiles
|
|
60463
|
+
// validating the chunk type.
|
|
60464
|
+
if (this.version === GltfVersions.Version2 && value5 === GltfVersions.Gltf1SceneFormat)
|
|
60465
|
+
this.version = GltfVersions.Version1;
|
|
60466
|
+
if (this.version === GltfVersions.Version1) {
|
|
60467
|
+
const gltfSceneFormat = value5;
|
|
60468
|
+
if (GltfVersions.Gltf1SceneFormat !== gltfSceneFormat) {
|
|
60469
|
+
this.invalidate();
|
|
60470
|
+
return;
|
|
60471
|
+
}
|
|
60472
|
+
this.scenePosition = stream.curPos;
|
|
60473
|
+
this.binaryPosition = stream.curPos + this.sceneStrLength;
|
|
60474
|
+
}
|
|
60475
|
+
else if (this.version === GltfVersions.Version2) {
|
|
60476
|
+
const sceneChunkType = value5;
|
|
60477
|
+
this.scenePosition = stream.curPos;
|
|
60478
|
+
stream.curPos = stream.curPos + this.sceneStrLength;
|
|
60479
|
+
const binaryLength = stream.readUint32();
|
|
60480
|
+
const binaryChunkType = stream.readUint32();
|
|
60481
|
+
if (GltfV2ChunkTypes.JSON !== sceneChunkType || GltfV2ChunkTypes.Binary !== binaryChunkType || 0 === binaryLength) {
|
|
60482
|
+
this.invalidate();
|
|
60483
|
+
return;
|
|
60484
|
+
}
|
|
60485
|
+
this.binaryPosition = stream.curPos;
|
|
60486
|
+
}
|
|
60487
|
+
else {
|
|
60488
|
+
this.invalidate();
|
|
60489
|
+
}
|
|
60490
|
+
}
|
|
60491
|
+
}
|
|
60444
60492
|
|
|
60445
60493
|
|
|
60446
60494
|
/***/ }),
|
|
@@ -104883,48 +104931,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
104883
104931
|
|
|
104884
104932
|
|
|
104885
104933
|
|
|
104886
|
-
/** Header preceding "glTF" data in iMdl tile. */
|
|
104887
|
-
class GltfHeader extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileHeader {
|
|
104888
|
-
gltfLength;
|
|
104889
|
-
scenePosition = 0;
|
|
104890
|
-
sceneStrLength = 0;
|
|
104891
|
-
binaryPosition = 0;
|
|
104892
|
-
get isValid() { return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.Gltf === this.format; }
|
|
104893
|
-
constructor(stream) {
|
|
104894
|
-
super(stream);
|
|
104895
|
-
this.gltfLength = stream.readUint32();
|
|
104896
|
-
this.sceneStrLength = stream.readUint32();
|
|
104897
|
-
const value5 = stream.readUint32();
|
|
104898
|
-
// Early versions of the reality data tile publisher incorrectly put version 2 into header - handle these old tiles
|
|
104899
|
-
// validating the chunk type.
|
|
104900
|
-
if (this.version === _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.GltfVersions.Version2 && value5 === _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.GltfVersions.Gltf1SceneFormat)
|
|
104901
|
-
this.version = _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.GltfVersions.Version1;
|
|
104902
|
-
if (this.version === _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.GltfVersions.Version1) {
|
|
104903
|
-
const gltfSceneFormat = value5;
|
|
104904
|
-
if (_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.GltfVersions.Gltf1SceneFormat !== gltfSceneFormat) {
|
|
104905
|
-
this.invalidate();
|
|
104906
|
-
return;
|
|
104907
|
-
}
|
|
104908
|
-
this.scenePosition = stream.curPos;
|
|
104909
|
-
this.binaryPosition = stream.curPos + this.sceneStrLength;
|
|
104910
|
-
}
|
|
104911
|
-
else if (this.version === _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.GltfVersions.Version2) {
|
|
104912
|
-
const sceneChunkType = value5;
|
|
104913
|
-
this.scenePosition = stream.curPos;
|
|
104914
|
-
stream.curPos = stream.curPos + this.sceneStrLength;
|
|
104915
|
-
const binaryLength = stream.readUint32();
|
|
104916
|
-
const binaryChunkType = stream.readUint32();
|
|
104917
|
-
if (_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.GltfV2ChunkTypes.JSON !== sceneChunkType || _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.GltfV2ChunkTypes.Binary !== binaryChunkType || 0 === binaryLength) {
|
|
104918
|
-
this.invalidate();
|
|
104919
|
-
return;
|
|
104920
|
-
}
|
|
104921
|
-
this.binaryPosition = stream.curPos;
|
|
104922
|
-
}
|
|
104923
|
-
else {
|
|
104924
|
-
this.invalidate();
|
|
104925
|
-
}
|
|
104926
|
-
}
|
|
104927
|
-
}
|
|
104928
104934
|
const nodeIdRegex = /Node_(.*)/;
|
|
104929
104935
|
function extractNodeId(nodeName) {
|
|
104930
104936
|
const match = nodeName.match(nodeIdRegex);
|
|
@@ -105967,7 +105973,7 @@ async function parseImdlDocument(options) {
|
|
|
105967
105973
|
return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileReadStatus.InvalidFeatureTable;
|
|
105968
105974
|
stream.curPos = ftStartPos + ftHeader.length;
|
|
105969
105975
|
// A glTF header follows the feature table
|
|
105970
|
-
const gltfHeader = new GltfHeader(stream);
|
|
105976
|
+
const gltfHeader = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.GltfHeader(stream);
|
|
105971
105977
|
if (!gltfHeader.isValid)
|
|
105972
105978
|
return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileReadStatus.InvalidTileData;
|
|
105973
105979
|
stream.curPos = gltfHeader.scenePosition;
|
|
@@ -321719,7 +321725,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
321719
321725
|
/***/ ((module) => {
|
|
321720
321726
|
|
|
321721
321727
|
"use strict";
|
|
321722
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.3.0-dev.
|
|
321728
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.3.0-dev.23","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 && npm run -s copy:draco","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 ES2022 --outDir lib/esm","clean":"rimraf -g 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","copy:draco":"cpx \\"./node_modules/@loaders.gl/draco/dist/libs/*\\" ./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","lint-deprecation":"eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \\"./src/**/*.ts\\"","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","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:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*"},"//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/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*","@itwin/object-storage-core":"^3.0.4","@itwin/eslint-plugin":"5.2.2-dev.2","@types/chai-as-promised":"^7","@types/draco3d":"^1.4.10","@types/sinon":"^17.0.2","@vitest/browser":"^3.0.6","@vitest/coverage-v8":"^3.0.6","cpx2":"^8.0.0","eslint":"^9.31.0","glob":"^10.3.12","playwright":"~1.47.1","rimraf":"^6.0.1","sinon":"^17.0.2","source-map-loader":"^5.0.0","typescript":"~5.6.2","typemoq":"^2.1.0","vitest":"^3.0.6","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"2.2.0","webpack":"^5.97.1"},"//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/core-i18n":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^4.3.4","@loaders.gl/draco":"^4.3.4","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
|
|
321723
321729
|
|
|
321724
321730
|
/***/ })
|
|
321725
321731
|
|