@itwin/ecschema-rpcinterface-tests 5.9.0-dev.12 → 5.9.0-dev.13
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 +38 -7
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +15 -15
|
@@ -44283,7 +44283,9 @@ class ViewFlags {
|
|
|
44283
44283
|
"use strict";
|
|
44284
44284
|
__webpack_require__.r(__webpack_exports__);
|
|
44285
44285
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
44286
|
-
/* harmony export */ ViewStoreRpc: () => (/* binding */ ViewStoreRpc)
|
|
44286
|
+
/* harmony export */ ViewStoreRpc: () => (/* binding */ ViewStoreRpc),
|
|
44287
|
+
/* harmony export */ resolveNavProp: () => (/* binding */ resolveNavProp),
|
|
44288
|
+
/* harmony export */ resolveNavPropId: () => (/* binding */ resolveNavPropId)
|
|
44287
44289
|
/* harmony export */ });
|
|
44288
44290
|
/*---------------------------------------------------------------------------------------------
|
|
44289
44291
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -44292,6 +44294,24 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
44292
44294
|
/** @packageDocumentation
|
|
44293
44295
|
* @module Views
|
|
44294
44296
|
*/
|
|
44297
|
+
/**
|
|
44298
|
+
* Helper to resolve navigation property ids represented as independent Id64Strings.
|
|
44299
|
+
* @internal
|
|
44300
|
+
*
|
|
44301
|
+
* @note This function will be redundant once all deprecated fields are removed. All calls to this function will need to be removed as well.
|
|
44302
|
+
*/
|
|
44303
|
+
function resolveNavPropId(navProp, deprecatedNavPropId) {
|
|
44304
|
+
return navProp?.id ?? deprecatedNavPropId;
|
|
44305
|
+
}
|
|
44306
|
+
/**
|
|
44307
|
+
* Helper to resolve navigation properties represented as Id64Strings.
|
|
44308
|
+
* @internal
|
|
44309
|
+
*
|
|
44310
|
+
* @note This function will be redundant once all deprecated fields are removed. All calls to this function will need to be removed as well.
|
|
44311
|
+
*/
|
|
44312
|
+
function resolveNavProp(navProp, deprecatedNavPropId) {
|
|
44313
|
+
return navProp ?? { id: deprecatedNavPropId };
|
|
44314
|
+
}
|
|
44295
44315
|
/**
|
|
44296
44316
|
* Access to a ViewStore from the frontend.
|
|
44297
44317
|
* @beta
|
|
@@ -45958,6 +45978,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
45958
45978
|
/* harmony export */ parseTileTreeIdAndContentId: () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_161__.parseTileTreeIdAndContentId),
|
|
45959
45979
|
/* harmony export */ readElementMeshes: () => (/* reexport safe */ _ElementMesh__WEBPACK_IMPORTED_MODULE_31__.readElementMeshes),
|
|
45960
45980
|
/* harmony export */ readTileContentDescription: () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_161__.readTileContentDescription),
|
|
45981
|
+
/* harmony export */ resolveNavProp: () => (/* reexport safe */ _ViewProps__WEBPACK_IMPORTED_MODULE_125__.resolveNavProp),
|
|
45982
|
+
/* harmony export */ resolveNavPropId: () => (/* reexport safe */ _ViewProps__WEBPACK_IMPORTED_MODULE_125__.resolveNavPropId),
|
|
45961
45983
|
/* harmony export */ rpcOverIpcStrings: () => (/* reexport safe */ _ipc_IpcSession__WEBPACK_IMPORTED_MODULE_77__.rpcOverIpcStrings),
|
|
45962
45984
|
/* harmony export */ terminatorShapes: () => (/* reexport safe */ _annotation_TextStyle__WEBPACK_IMPORTED_MODULE_7__.terminatorShapes),
|
|
45963
45985
|
/* harmony export */ textAnnotationFrameShapes: () => (/* reexport safe */ _annotation_TextStyle__WEBPACK_IMPORTED_MODULE_7__.textAnnotationFrameShapes),
|
|
@@ -95256,7 +95278,9 @@ class SpatialViewState extends _ViewState__WEBPACK_IMPORTED_MODULE_6__.ViewState
|
|
|
95256
95278
|
}
|
|
95257
95279
|
toJSON() {
|
|
95258
95280
|
const val = super.toJSON();
|
|
95259
|
-
val.
|
|
95281
|
+
val.modelSelector = { id: this.modelSelector.id };
|
|
95282
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
95283
|
+
val.modelSelectorId = this.modelSelector.id; // for backward compatibility
|
|
95260
95284
|
return val;
|
|
95261
95285
|
}
|
|
95262
95286
|
/** @internal */
|
|
@@ -98530,8 +98554,12 @@ class ViewState extends _EntityState__WEBPACK_IMPORTED_MODULE_5__.ElementState {
|
|
|
98530
98554
|
/** Convert to JSON representation. */
|
|
98531
98555
|
toJSON() {
|
|
98532
98556
|
const json = super.toJSON();
|
|
98533
|
-
json.
|
|
98534
|
-
|
|
98557
|
+
json.categorySelector = { id: this.categorySelector.id };
|
|
98558
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
98559
|
+
json.categorySelectorId = this.categorySelector.id; // for backward compatibility
|
|
98560
|
+
json.displayStyle = { id: this.displayStyle.id };
|
|
98561
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
98562
|
+
json.displayStyleId = this.displayStyle.id; // for backward compatibility
|
|
98535
98563
|
json.isPrivate = this.isPrivate;
|
|
98536
98564
|
json.description = this.description;
|
|
98537
98565
|
return json;
|
|
@@ -100154,7 +100182,8 @@ class ViewState2d extends ViewState {
|
|
|
100154
100182
|
this.origin = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Point2d.fromJSON(props.origin);
|
|
100155
100183
|
this.delta = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Point2d.fromJSON(props.delta);
|
|
100156
100184
|
this.angle = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Angle.fromJSON(props.angle);
|
|
100157
|
-
|
|
100185
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
100186
|
+
this._baseModelId = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.fromJSON((0,_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.resolveNavPropId)(props.baseModel, props.baseModelId));
|
|
100158
100187
|
this._details = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.ViewDetails(this.jsonProperties);
|
|
100159
100188
|
}
|
|
100160
100189
|
toJSON() {
|
|
@@ -100162,7 +100191,9 @@ class ViewState2d extends ViewState {
|
|
|
100162
100191
|
val.origin = this.origin;
|
|
100163
100192
|
val.delta = this.delta;
|
|
100164
100193
|
val.angle = this.angle;
|
|
100165
|
-
val.
|
|
100194
|
+
val.baseModel = { id: this.baseModelId };
|
|
100195
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
100196
|
+
val.baseModelId = this.baseModelId; // for backward compatibility
|
|
100166
100197
|
return val;
|
|
100167
100198
|
}
|
|
100168
100199
|
/** See [[ViewState.is3d]]. */
|
|
@@ -326399,7 +326430,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
326399
326430
|
/***/ ((module) => {
|
|
326400
326431
|
|
|
326401
326432
|
"use strict";
|
|
326402
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.9.0-dev.
|
|
326433
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.9.0-dev.13","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 && npm run -s extract","extract":"betools extract --fileExt=ts --extractFrom=./src/test/example-code --recursive --out=../../generated-docs/extract","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":{"@bentley/aec-units-schema":"^1.0.3","@bentley/formats-schema":"^1.0.0","@bentley/units-schema":"^1.0.9","@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":"^6.0.0","@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.5.0","playwright":"~1.56.1","rimraf":"^6.0.1","sinon":"^17.0.2","source-map-loader":"^5.0.0","typescript":"~5.6.2","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"}}');
|
|
326403
326434
|
|
|
326404
326435
|
/***/ })
|
|
326405
326436
|
|