@itwin/ecschema-rpcinterface-tests 5.4.0-dev.14 → 5.4.0-dev.15
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 +17 -4
- 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_cross-fetch_4_0_0_node_modules_cross-fetch_dist_browser-24291b.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_loaders_gl_draco_4_3_4__loaders_gl_core_4_3_4_node_modu-4c1fc9.bundled-tests.js.map +1 -1
- package/package.json +16 -16
|
@@ -88089,6 +88089,7 @@ class IModelApp {
|
|
|
88089
88089
|
static _realityDataAccess;
|
|
88090
88090
|
static _publicPath;
|
|
88091
88091
|
static _formatsProviderManager;
|
|
88092
|
+
static _incrementalSchemaLoading;
|
|
88092
88093
|
// No instances of IModelApp may be created. All members are static and must be on the singleton object IModelApp.
|
|
88093
88094
|
constructor() { }
|
|
88094
88095
|
/** Event raised just before the frontend IModelApp is to be [[shutdown]]. */
|
|
@@ -88146,6 +88147,13 @@ class IModelApp {
|
|
|
88146
88147
|
* @beta
|
|
88147
88148
|
*/
|
|
88148
88149
|
static get realityDataAccess() { return this._realityDataAccess; }
|
|
88150
|
+
/**
|
|
88151
|
+
* Indicates whether incremental schema loading is enabled.
|
|
88152
|
+
* If not further specified, incremental schema loading is currently disabled by default.
|
|
88153
|
+
* @beta
|
|
88154
|
+
*/
|
|
88155
|
+
static get isIncrementalSchemaLoadingEnabled() { return this._incrementalSchemaLoading === "enabled"; }
|
|
88156
|
+
;
|
|
88149
88157
|
/** Whether the [renderSystem[]] has been successfully initialized.
|
|
88150
88158
|
* This will always be `false` before calling [[startup]] and after calling [[shutdown]].
|
|
88151
88159
|
* In rare circumstances (e.g., while executing in a headless test environment) it may remain `false` due to a failure to
|
|
@@ -88273,6 +88281,7 @@ class IModelApp {
|
|
|
88273
88281
|
this._realityDataSourceProviders = new _RealityDataSource__WEBPACK_IMPORTED_MODULE_25__.RealityDataSourceProviderRegistry();
|
|
88274
88282
|
this._realityDataAccess = opts.realityDataAccess;
|
|
88275
88283
|
this._formatsProviderManager = new _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_19__.FormatsProviderManager(opts.formatsProvider ?? new _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_19__.QuantityTypeFormatsProvider());
|
|
88284
|
+
this._incrementalSchemaLoading = opts.incrementalSchemaLoading ?? "disabled";
|
|
88276
88285
|
this._publicPath = opts.publicPath ?? "";
|
|
88277
88286
|
if (this._publicPath !== "" && !this._publicPath.endsWith("/")) {
|
|
88278
88287
|
this._publicPath += "/";
|
|
@@ -89121,8 +89130,12 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
89121
89130
|
get schemaContext() {
|
|
89122
89131
|
if (this._schemaContext === undefined) {
|
|
89123
89132
|
const context = new _itwin_ecschema_metadata__WEBPACK_IMPORTED_MODULE_15__.SchemaContext();
|
|
89124
|
-
|
|
89125
|
-
|
|
89133
|
+
// While incremental schema loading is the prefered way to load schemas on the frontend, there might be cases where clients
|
|
89134
|
+
// would want to use their own locaters, so if incremenal schema loading is disabled, the locater is not registered.
|
|
89135
|
+
if (_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.isIncrementalSchemaLoadingEnabled) {
|
|
89136
|
+
context.addLocater(new _itwin_ecschema_rpcinterface_common__WEBPACK_IMPORTED_MODULE_16__.RpcIncrementalSchemaLocater(this._getRpcProps()));
|
|
89137
|
+
}
|
|
89138
|
+
context.addFallbackLocater(new _itwin_ecschema_rpcinterface_common__WEBPACK_IMPORTED_MODULE_16__.ECSchemaRpcLocater(this._getRpcProps()));
|
|
89126
89139
|
this._schemaContext = context;
|
|
89127
89140
|
}
|
|
89128
89141
|
return this._schemaContext;
|
|
@@ -177993,7 +178006,7 @@ class EventController {
|
|
|
177993
178006
|
const element = vp.parentDiv;
|
|
177994
178007
|
if (element === undefined)
|
|
177995
178008
|
return;
|
|
177996
|
-
// Put events
|
|
178009
|
+
// Put events on the parentDiv to allow us to stopPropagation of events to the view canvas when they are meant for a sibling of view canvas (markup canvas, for example).
|
|
177997
178010
|
this.addDomListeners(["mousedown", "mouseup", "mousemove", "mouseover", "mouseout", "wheel", "touchstart", "touchend", "touchcancel", "touchmove"], element);
|
|
177998
178011
|
element.oncontextmenu = element.onselectstart = () => false;
|
|
177999
178012
|
}
|
|
@@ -322244,7 +322257,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
322244
322257
|
/***/ ((module) => {
|
|
322245
322258
|
|
|
322246
322259
|
"use strict";
|
|
322247
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.4.0-dev.
|
|
322260
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.4.0-dev.15","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.5.0","playwright":"~1.56.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"}}');
|
|
322248
322261
|
|
|
322249
322262
|
/***/ })
|
|
322250
322263
|
|