@itwin/ecschema-rpcinterface-tests 4.2.0-dev.28 → 4.2.0-dev.29
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/_0062.bundled-tests.js.map +1 -1
- package/lib/dist/bundled-tests.js +96 -92
- 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_4_7_node_modules_loaders_gl_draco_di-02c2bd.bundled-tests.js.map +1 -1
- package/package.json +15 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_0062.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\
|
|
1
|
+
{"version":3,"file":"_0062.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\17\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.4.7\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
|
|
@@ -79985,45 +79985,46 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
79985
79985
|
/* harmony export */ IModelApp: () => (/* binding */ IModelApp),
|
|
79986
79986
|
/* harmony export */ ITWINJS_CORE_VERSION: () => (/* binding */ ITWINJS_CORE_VERSION)
|
|
79987
79987
|
/* harmony export */ });
|
|
79988
|
-
/* harmony import */ var
|
|
79989
|
-
/* harmony import */ var
|
|
79990
|
-
/* harmony import */ var
|
|
79991
|
-
/* harmony import */ var
|
|
79992
|
-
/* harmony import */ var
|
|
79993
|
-
/* harmony import */ var
|
|
79994
|
-
/* harmony import */ var
|
|
79995
|
-
/* harmony import */ var
|
|
79996
|
-
/* harmony import */ var
|
|
79997
|
-
/* harmony import */ var
|
|
79998
|
-
/* harmony import */ var
|
|
79999
|
-
/* harmony import */ var
|
|
80000
|
-
/* harmony import */ var
|
|
80001
|
-
/* harmony import */ var
|
|
80002
|
-
/* harmony import */ var
|
|
80003
|
-
/* harmony import */ var
|
|
80004
|
-
/* harmony import */ var
|
|
80005
|
-
/* harmony import */ var
|
|
80006
|
-
/* harmony import */ var
|
|
80007
|
-
/* harmony import */ var
|
|
80008
|
-
/* harmony import */ var
|
|
80009
|
-
/* harmony import */ var
|
|
80010
|
-
/* harmony import */ var
|
|
80011
|
-
/* harmony import */ var
|
|
80012
|
-
/* harmony import */ var
|
|
80013
|
-
/* harmony import */ var
|
|
80014
|
-
/* harmony import */ var
|
|
80015
|
-
/* harmony import */ var
|
|
80016
|
-
/* harmony import */ var
|
|
80017
|
-
/* harmony import */ var
|
|
80018
|
-
/* harmony import */ var
|
|
80019
|
-
/* harmony import */ var
|
|
80020
|
-
/* harmony import */ var
|
|
80021
|
-
/* harmony import */ var
|
|
80022
|
-
/* harmony import */ var
|
|
80023
|
-
/* harmony import */ var
|
|
80024
|
-
/* harmony import */ var
|
|
80025
|
-
/* harmony import */ var
|
|
80026
|
-
/* harmony import */ var
|
|
79988
|
+
/* harmony import */ var _package_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../package.json */ "../../core/frontend/package.json");
|
|
79989
|
+
/* harmony import */ var _itwin_appui_abstract__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @itwin/appui-abstract */ "../../ui/appui-abstract/lib/esm/appui-abstract.js");
|
|
79990
|
+
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
79991
|
+
/* harmony import */ var _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
|
|
79992
|
+
/* harmony import */ var _itwin_core_i18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @itwin/core-i18n */ "../../core/i18n/lib/esm/core-i18n.js");
|
|
79993
|
+
/* harmony import */ var _itwin_core_telemetry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @itwin/core-telemetry */ "../../core/telemetry/lib/esm/core-telemetry.js");
|
|
79994
|
+
/* harmony import */ var _itwin_webgl_compatibility__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @itwin/webgl-compatibility */ "../../core/webgl-compatibility/lib/esm/webgl-compatibility.js");
|
|
79995
|
+
/* harmony import */ var _AccuDraw__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./AccuDraw */ "../../core/frontend/lib/esm/AccuDraw.js");
|
|
79996
|
+
/* harmony import */ var _AccuSnap__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./AccuSnap */ "../../core/frontend/lib/esm/AccuSnap.js");
|
|
79997
|
+
/* harmony import */ var _AuxCoordSys__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./AuxCoordSys */ "../../core/frontend/lib/esm/AuxCoordSys.js");
|
|
79998
|
+
/* harmony import */ var _CategorySelectorState__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./CategorySelectorState */ "../../core/frontend/lib/esm/CategorySelectorState.js");
|
|
79999
|
+
/* harmony import */ var _extension_ExtensionAdmin__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./extension/ExtensionAdmin */ "../../core/frontend/lib/esm/extension/ExtensionAdmin.js");
|
|
80000
|
+
/* harmony import */ var _DisplayStyleState__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./DisplayStyleState */ "../../core/frontend/lib/esm/DisplayStyleState.js");
|
|
80001
|
+
/* harmony import */ var _DrawingViewState__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./DrawingViewState */ "../../core/frontend/lib/esm/DrawingViewState.js");
|
|
80002
|
+
/* harmony import */ var _ElementLocateManager__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./ElementLocateManager */ "../../core/frontend/lib/esm/ElementLocateManager.js");
|
|
80003
|
+
/* harmony import */ var _EntityState__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./EntityState */ "../../core/frontend/lib/esm/EntityState.js");
|
|
80004
|
+
/* harmony import */ var _common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./common/FrontendLoggerCategory */ "../../core/frontend/lib/esm/common/FrontendLoggerCategory.js");
|
|
80005
|
+
/* harmony import */ var _ModelSelectorState__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./ModelSelectorState */ "../../core/frontend/lib/esm/ModelSelectorState.js");
|
|
80006
|
+
/* harmony import */ var _ModelState__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./ModelState */ "../../core/frontend/lib/esm/ModelState.js");
|
|
80007
|
+
/* harmony import */ var _NotificationManager__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./NotificationManager */ "../../core/frontend/lib/esm/NotificationManager.js");
|
|
80008
|
+
/* harmony import */ var _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./quantity-formatting/QuantityFormatter */ "../../core/frontend/lib/esm/quantity-formatting/QuantityFormatter.js");
|
|
80009
|
+
/* harmony import */ var _render_RenderSystem__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./render/RenderSystem */ "../../core/frontend/lib/esm/render/RenderSystem.js");
|
|
80010
|
+
/* harmony import */ var _render_webgl_System__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./render/webgl/System */ "../../core/frontend/lib/esm/render/webgl/System.js");
|
|
80011
|
+
/* harmony import */ var _SheetViewState__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./SheetViewState */ "../../core/frontend/lib/esm/SheetViewState.js");
|
|
80012
|
+
/* harmony import */ var _SpatialViewState__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./SpatialViewState */ "../../core/frontend/lib/esm/SpatialViewState.js");
|
|
80013
|
+
/* harmony import */ var _TentativePoint__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./TentativePoint */ "../../core/frontend/lib/esm/TentativePoint.js");
|
|
80014
|
+
/* harmony import */ var _RealityDataSource__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./RealityDataSource */ "../../core/frontend/lib/esm/RealityDataSource.js");
|
|
80015
|
+
/* harmony import */ var _tile_internal__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./tile/internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
80016
|
+
/* harmony import */ var _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./tools/AccuDrawTool */ "../../core/frontend/lib/esm/tools/AccuDrawTool.js");
|
|
80017
|
+
/* harmony import */ var _tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./tools/ClipViewTool */ "../../core/frontend/lib/esm/tools/ClipViewTool.js");
|
|
80018
|
+
/* harmony import */ var _tools_IdleTool__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./tools/IdleTool */ "../../core/frontend/lib/esm/tools/IdleTool.js");
|
|
80019
|
+
/* harmony import */ var _tools_MeasureTool__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./tools/MeasureTool */ "../../core/frontend/lib/esm/tools/MeasureTool.js");
|
|
80020
|
+
/* harmony import */ var _tools_SelectTool__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./tools/SelectTool */ "../../core/frontend/lib/esm/tools/SelectTool.js");
|
|
80021
|
+
/* harmony import */ var _tools_Tool__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./tools/Tool */ "../../core/frontend/lib/esm/tools/Tool.js");
|
|
80022
|
+
/* harmony import */ var _tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./tools/ToolAdmin */ "../../core/frontend/lib/esm/tools/ToolAdmin.js");
|
|
80023
|
+
/* harmony import */ var _tools_ViewTool__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./tools/ViewTool */ "../../core/frontend/lib/esm/tools/ViewTool.js");
|
|
80024
|
+
/* harmony import */ var _ViewManager__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./ViewManager */ "../../core/frontend/lib/esm/ViewManager.js");
|
|
80025
|
+
/* harmony import */ var _ViewState__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./ViewState */ "../../core/frontend/lib/esm/ViewState.js");
|
|
80026
|
+
/* harmony import */ var _IModeljs_css__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./IModeljs-css */ "../../core/frontend/lib/esm/IModeljs-css.js");
|
|
80027
|
+
/* harmony import */ var _IModeljs_css__WEBPACK_IMPORTED_MODULE_38___default = /*#__PURE__*/__webpack_require__.n(_IModeljs_css__WEBPACK_IMPORTED_MODULE_38__);
|
|
80027
80028
|
/*---------------------------------------------------------------------------------------------
|
|
80028
80029
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
80029
80030
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -80032,9 +80033,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
80032
80033
|
* @module IModelApp
|
|
80033
80034
|
*/
|
|
80034
80035
|
var _a;
|
|
80036
|
+
// @ts-expect-error package.json will resolve from the lib/{cjs,esm} dir without copying it into the build output we deliver
|
|
80037
|
+
// eslint-disable-next-line @itwin/import-within-package
|
|
80038
|
+
|
|
80035
80039
|
/** @public */
|
|
80036
80040
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
80037
|
-
const ITWINJS_CORE_VERSION =
|
|
80041
|
+
const ITWINJS_CORE_VERSION = _package_json__WEBPACK_IMPORTED_MODULE_0__.version;
|
|
80038
80042
|
const COPYRIGHT_NOTICE = 'Copyright © 2017-2023 <a href="https://www.bentley.com" target="_blank" rel="noopener noreferrer">Bentley Systems, Inc.</a>';
|
|
80039
80043
|
|
|
80040
80044
|
|
|
@@ -80154,7 +80158,7 @@ class IModelApp {
|
|
|
80154
80158
|
static registerModuleEntities(moduleObj) {
|
|
80155
80159
|
for (const thisMember in moduleObj) { // eslint-disable-line guard-for-in
|
|
80156
80160
|
const thisEntityState = moduleObj[thisMember];
|
|
80157
|
-
if (thisEntityState.prototype instanceof
|
|
80161
|
+
if (thisEntityState.prototype instanceof _EntityState__WEBPACK_IMPORTED_MODULE_15__.EntityState) {
|
|
80158
80162
|
this.registerEntityState(thisEntityState.classFullName, thisEntityState);
|
|
80159
80163
|
}
|
|
80160
80164
|
}
|
|
@@ -80166,7 +80170,7 @@ class IModelApp {
|
|
|
80166
80170
|
const lowerName = classFullName.toLowerCase();
|
|
80167
80171
|
if (this._entityClasses.has(lowerName)) {
|
|
80168
80172
|
const errMsg = `Class ${classFullName} is already registered. Make sure static schemaName and className members are correct on class ${classType.name}`;
|
|
80169
|
-
|
|
80173
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__.Logger.logError(_common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_16__.FrontendLoggerCategory.IModelConnection, errMsg);
|
|
80170
80174
|
throw new Error(errMsg);
|
|
80171
80175
|
}
|
|
80172
80176
|
this._entityClasses.set(lowerName, classType);
|
|
@@ -80180,7 +80184,7 @@ class IModelApp {
|
|
|
80180
80184
|
* @note As of 4.x, iTwin.js requires WebGL 2. If the client does not support WebGL 2, the `status` field of the returned compatibility info will be [WebGLRenderCompatibilityStatus.CannotCreateContext]($webgl-compatibility).
|
|
80181
80185
|
*/
|
|
80182
80186
|
static queryRenderCompatibility() {
|
|
80183
|
-
return (0,
|
|
80187
|
+
return (0,_itwin_webgl_compatibility__WEBPACK_IMPORTED_MODULE_6__.queryRenderCompatibility)(true, (canvas, useWebGL2, inputContextAttributes) => _render_webgl_System__WEBPACK_IMPORTED_MODULE_22__.System.createContext(canvas, useWebGL2, inputContextAttributes));
|
|
80184
80188
|
}
|
|
80185
80189
|
/**
|
|
80186
80190
|
* This method must be called before any other `@itwin/core-frontend` methods are used.
|
|
@@ -80197,52 +80201,52 @@ class IModelApp {
|
|
|
80197
80201
|
opts = opts ?? {};
|
|
80198
80202
|
this._securityOptions = opts.security ?? {};
|
|
80199
80203
|
if (false) {}
|
|
80200
|
-
this.sessionId = opts.sessionId ??
|
|
80204
|
+
this.sessionId = opts.sessionId ?? _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__.Guid.createValue();
|
|
80201
80205
|
this._applicationId = opts.applicationId ?? "2686"; // Default to product id of iTwin.js
|
|
80202
80206
|
this._applicationVersion = opts.applicationVersion ?? "1.0.0";
|
|
80203
80207
|
this.authorizationClient = opts.authorizationClient;
|
|
80204
80208
|
this._hubAccess = opts.hubAccess;
|
|
80205
80209
|
this._noRender = opts.noRender ?? false;
|
|
80206
80210
|
this._setupRpcRequestContext();
|
|
80207
|
-
this._localization = opts.localization ?? new
|
|
80211
|
+
this._localization = opts.localization ?? new _itwin_core_i18n__WEBPACK_IMPORTED_MODULE_4__.ITwinLocalization();
|
|
80208
80212
|
const toolsNs = "CoreTools";
|
|
80209
80213
|
await this.localization.initialize(["iModelJs", toolsNs]);
|
|
80210
80214
|
[
|
|
80211
|
-
|
|
80212
|
-
|
|
80213
|
-
|
|
80214
|
-
|
|
80215
|
-
|
|
80216
|
-
|
|
80215
|
+
_tools_SelectTool__WEBPACK_IMPORTED_MODULE_32__,
|
|
80216
|
+
_tools_IdleTool__WEBPACK_IMPORTED_MODULE_30__,
|
|
80217
|
+
_tools_ViewTool__WEBPACK_IMPORTED_MODULE_35__,
|
|
80218
|
+
_tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_29__,
|
|
80219
|
+
_tools_MeasureTool__WEBPACK_IMPORTED_MODULE_31__,
|
|
80220
|
+
_tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_28__,
|
|
80217
80221
|
].forEach((tool) => this.tools.registerModule(tool, toolsNs));
|
|
80218
|
-
this.registerEntityState(
|
|
80222
|
+
this.registerEntityState(_EntityState__WEBPACK_IMPORTED_MODULE_15__.EntityState.classFullName, _EntityState__WEBPACK_IMPORTED_MODULE_15__.EntityState);
|
|
80219
80223
|
[
|
|
80220
|
-
|
|
80221
|
-
|
|
80222
|
-
|
|
80223
|
-
|
|
80224
|
-
|
|
80225
|
-
|
|
80226
|
-
|
|
80227
|
-
|
|
80228
|
-
|
|
80224
|
+
_ModelState__WEBPACK_IMPORTED_MODULE_18__,
|
|
80225
|
+
_SheetViewState__WEBPACK_IMPORTED_MODULE_23__,
|
|
80226
|
+
_ViewState__WEBPACK_IMPORTED_MODULE_37__,
|
|
80227
|
+
_DrawingViewState__WEBPACK_IMPORTED_MODULE_13__,
|
|
80228
|
+
_SpatialViewState__WEBPACK_IMPORTED_MODULE_24__,
|
|
80229
|
+
_DisplayStyleState__WEBPACK_IMPORTED_MODULE_12__,
|
|
80230
|
+
_ModelSelectorState__WEBPACK_IMPORTED_MODULE_17__,
|
|
80231
|
+
_CategorySelectorState__WEBPACK_IMPORTED_MODULE_10__,
|
|
80232
|
+
_AuxCoordSys__WEBPACK_IMPORTED_MODULE_9__,
|
|
80229
80233
|
].forEach((module) => this.registerModuleEntities(module));
|
|
80230
|
-
this._renderSystem = (opts.renderSys instanceof
|
|
80234
|
+
this._renderSystem = (opts.renderSys instanceof _render_RenderSystem__WEBPACK_IMPORTED_MODULE_21__.RenderSystem) ? opts.renderSys : this.createRenderSys(opts.renderSys);
|
|
80231
80235
|
if (opts.userPreferences)
|
|
80232
80236
|
this._userPreferences = opts.userPreferences;
|
|
80233
|
-
this._viewManager = opts.viewManager ?? new
|
|
80234
|
-
this._tileAdmin = await
|
|
80235
|
-
this._notifications = opts.notifications ?? new
|
|
80236
|
-
this._toolAdmin = opts.toolAdmin ?? new
|
|
80237
|
-
this._accuDraw = opts.accuDraw ?? new
|
|
80238
|
-
this._accuSnap = opts.accuSnap ?? new
|
|
80239
|
-
this._locateManager = opts.locateManager ?? new
|
|
80240
|
-
this._tentativePoint = opts.tentativePoint ?? new
|
|
80241
|
-
this._quantityFormatter = opts.quantityFormatter ?? new
|
|
80242
|
-
this._uiAdmin = opts.uiAdmin ?? new
|
|
80243
|
-
this._mapLayerFormatRegistry = new
|
|
80244
|
-
this._terrainProviderRegistry = new
|
|
80245
|
-
this._realityDataSourceProviders = new
|
|
80237
|
+
this._viewManager = opts.viewManager ?? new _ViewManager__WEBPACK_IMPORTED_MODULE_36__.ViewManager();
|
|
80238
|
+
this._tileAdmin = await _tile_internal__WEBPACK_IMPORTED_MODULE_27__.TileAdmin.create(opts.tileAdmin);
|
|
80239
|
+
this._notifications = opts.notifications ?? new _NotificationManager__WEBPACK_IMPORTED_MODULE_19__.NotificationManager();
|
|
80240
|
+
this._toolAdmin = opts.toolAdmin ?? new _tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_34__.ToolAdmin();
|
|
80241
|
+
this._accuDraw = opts.accuDraw ?? new _AccuDraw__WEBPACK_IMPORTED_MODULE_7__.AccuDraw();
|
|
80242
|
+
this._accuSnap = opts.accuSnap ?? new _AccuSnap__WEBPACK_IMPORTED_MODULE_8__.AccuSnap();
|
|
80243
|
+
this._locateManager = opts.locateManager ?? new _ElementLocateManager__WEBPACK_IMPORTED_MODULE_14__.ElementLocateManager();
|
|
80244
|
+
this._tentativePoint = opts.tentativePoint ?? new _TentativePoint__WEBPACK_IMPORTED_MODULE_25__.TentativePoint();
|
|
80245
|
+
this._quantityFormatter = opts.quantityFormatter ?? new _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_20__.QuantityFormatter();
|
|
80246
|
+
this._uiAdmin = opts.uiAdmin ?? new _itwin_appui_abstract__WEBPACK_IMPORTED_MODULE_1__.UiAdmin();
|
|
80247
|
+
this._mapLayerFormatRegistry = new _tile_internal__WEBPACK_IMPORTED_MODULE_27__.MapLayerFormatRegistry(opts.mapLayerOptions);
|
|
80248
|
+
this._terrainProviderRegistry = new _tile_internal__WEBPACK_IMPORTED_MODULE_27__.TerrainProviderRegistry();
|
|
80249
|
+
this._realityDataSourceProviders = new _RealityDataSource__WEBPACK_IMPORTED_MODULE_26__.RealityDataSourceProviderRegistry();
|
|
80246
80250
|
this._realityDataAccess = opts.realityDataAccess;
|
|
80247
80251
|
this._publicPath = opts.publicPath ?? "";
|
|
80248
80252
|
[
|
|
@@ -80271,7 +80275,7 @@ class IModelApp {
|
|
|
80271
80275
|
this.clearIntervalAnimation();
|
|
80272
80276
|
[this.toolAdmin, this.viewManager, this.tileAdmin].forEach((sys) => sys.onShutDown());
|
|
80273
80277
|
this.tools.shutdown();
|
|
80274
|
-
this._renderSystem = (0,
|
|
80278
|
+
this._renderSystem = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__.dispose)(this._renderSystem);
|
|
80275
80279
|
this._entityClasses.clear();
|
|
80276
80280
|
this.authorizationClient = undefined;
|
|
80277
80281
|
this._initialized = false;
|
|
@@ -80346,7 +80350,7 @@ class IModelApp {
|
|
|
80346
80350
|
IModelApp.tileAdmin.process();
|
|
80347
80351
|
}
|
|
80348
80352
|
catch (exception) {
|
|
80349
|
-
|
|
80353
|
+
_tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_34__.ToolAdmin.exceptionHandler(exception); // eslint-disable-line @typescript-eslint/no-floating-promises
|
|
80350
80354
|
IModelApp._wantEventLoop = false;
|
|
80351
80355
|
IModelApp._animationRequested = true; // unrecoverable after exception, don't request any further frames.
|
|
80352
80356
|
window.removeEventListener("resize", () => IModelApp.requestNextAnimation());
|
|
@@ -80365,19 +80369,19 @@ class IModelApp {
|
|
|
80365
80369
|
}
|
|
80366
80370
|
}
|
|
80367
80371
|
/** @internal */
|
|
80368
|
-
static createRenderSys(opts) { return
|
|
80372
|
+
static createRenderSys(opts) { return _render_webgl_System__WEBPACK_IMPORTED_MODULE_22__.System.create(opts); }
|
|
80369
80373
|
static _setupRpcRequestContext() {
|
|
80370
|
-
|
|
80371
|
-
return
|
|
80374
|
+
_itwin_core_common__WEBPACK_IMPORTED_MODULE_3__.RpcConfiguration.requestContext.getId = (_request) => {
|
|
80375
|
+
return _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__.Guid.createValue();
|
|
80372
80376
|
};
|
|
80373
|
-
|
|
80377
|
+
_itwin_core_common__WEBPACK_IMPORTED_MODULE_3__.RpcConfiguration.requestContext.serialize = async (_request) => {
|
|
80374
80378
|
const id = _request.id;
|
|
80375
80379
|
const serialized = {
|
|
80376
80380
|
id,
|
|
80377
80381
|
applicationId: this.applicationId,
|
|
80378
80382
|
applicationVersion: this.applicationVersion,
|
|
80379
80383
|
sessionId: this.sessionId,
|
|
80380
|
-
authorization:
|
|
80384
|
+
authorization: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__.ProcessDetector.isMobileAppFrontend ? "" : await this.getAccessToken(),
|
|
80381
80385
|
};
|
|
80382
80386
|
const csrf = IModelApp.securityOptions.csrfProtection;
|
|
80383
80387
|
if (csrf && csrf.enabled) {
|
|
@@ -80511,11 +80515,11 @@ class IModelApp {
|
|
|
80511
80515
|
key = { scope: "Errors", val: "IllegalValue" };
|
|
80512
80516
|
}
|
|
80513
80517
|
else {
|
|
80514
|
-
key = { scope: "BentleyStatus", val:
|
|
80518
|
+
key = { scope: "BentleyStatus", val: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__.BentleyStatus[status] };
|
|
80515
80519
|
if (!key.val)
|
|
80516
|
-
key = { scope: "IModelStatus", val:
|
|
80520
|
+
key = { scope: "IModelStatus", val: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__.IModelStatus[status] };
|
|
80517
80521
|
if (!key.val)
|
|
80518
|
-
key = { scope: "DbResult", val:
|
|
80522
|
+
key = { scope: "DbResult", val: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__.DbResult[status] };
|
|
80519
80523
|
if (!key.val)
|
|
80520
80524
|
key = { scope: "Errors", val: "Status", status: status.toString() };
|
|
80521
80525
|
}
|
|
@@ -80527,7 +80531,7 @@ class IModelApp {
|
|
|
80527
80531
|
* @returns an instance of ExtensionAdmin
|
|
80528
80532
|
*/
|
|
80529
80533
|
static _createExtensionAdmin() {
|
|
80530
|
-
const extensionAdmin = new
|
|
80534
|
+
const extensionAdmin = new _extension_ExtensionAdmin__WEBPACK_IMPORTED_MODULE_11__.ExtensionAdmin();
|
|
80531
80535
|
IModelApp.onAfterStartup.addListener(extensionAdmin.onStartup);
|
|
80532
80536
|
return extensionAdmin;
|
|
80533
80537
|
}
|
|
@@ -80536,17 +80540,17 @@ _a = IModelApp;
|
|
|
80536
80540
|
IModelApp._initialized = false;
|
|
80537
80541
|
IModelApp._wantEventLoop = false;
|
|
80538
80542
|
IModelApp._animationRequested = false;
|
|
80539
|
-
IModelApp._animationInterval =
|
|
80543
|
+
IModelApp._animationInterval = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__.BeDuration.fromSeconds(1);
|
|
80540
80544
|
/** Event raised just before the frontend IModelApp is to be [[shutdown]]. */
|
|
80541
|
-
IModelApp.onBeforeShutdown = new
|
|
80545
|
+
IModelApp.onBeforeShutdown = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__.BeEvent();
|
|
80542
80546
|
/** Event raised after IModelApp [[startup]] completes. */
|
|
80543
|
-
IModelApp.onAfterStartup = new
|
|
80547
|
+
IModelApp.onAfterStartup = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__.BeEvent();
|
|
80544
80548
|
/** The [[ToolRegistry]] for this session. */
|
|
80545
|
-
IModelApp.tools = new
|
|
80549
|
+
IModelApp.tools = new _tools_Tool__WEBPACK_IMPORTED_MODULE_33__.ToolRegistry();
|
|
80546
80550
|
/** The [[TelemetryManager]] for this session
|
|
80547
80551
|
* @internal
|
|
80548
80552
|
*/
|
|
80549
|
-
IModelApp.telemetry = new
|
|
80553
|
+
IModelApp.telemetry = new _itwin_core_telemetry__WEBPACK_IMPORTED_MODULE_5__.TelemetryManager();
|
|
80550
80554
|
/** @alpha */
|
|
80551
80555
|
IModelApp.extensionAdmin = _a._createExtensionAdmin();
|
|
80552
80556
|
/** Map of classFullName to EntityState class */
|
|
@@ -287624,7 +287628,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
287624
287628
|
/***/ ((module) => {
|
|
287625
287629
|
|
|
287626
287630
|
"use strict";
|
|
287627
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.2.0-dev.
|
|
287631
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.2.0-dev.29","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","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.2.0-dev.29","@itwin/core-bentley":"workspace:^4.2.0-dev.29","@itwin/core-common":"workspace:^4.2.0-dev.29","@itwin/core-geometry":"workspace:^4.2.0-dev.29","@itwin/core-orbitgt":"workspace:^4.2.0-dev.29","@itwin/core-quantity":"workspace:^4.2.0-dev.29"},"//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":"^8.2.2","@types/node":"18.16.1","@types/sinon":"^10.0.15","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","chai":"^4.1.2","chai-as-promised":"^7","cpx2":"^3.0.0","eslint":"^8.44.0","glob":"^7.1.2","mocha":"^10.0.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^15.0.4","source-map-loader":"^4.0.0","typescript":"~5.0.2","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.1.0","@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"}}');
|
|
287628
287632
|
|
|
287629
287633
|
/***/ })
|
|
287630
287634
|
|