@itwin/rpcinterface-full-stack-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 +97 -93
- 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 +13 -13
|
@@ -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":""}
|
|
@@ -82561,45 +82561,46 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
82561
82561
|
/* harmony export */ IModelApp: () => (/* binding */ IModelApp),
|
|
82562
82562
|
/* harmony export */ ITWINJS_CORE_VERSION: () => (/* binding */ ITWINJS_CORE_VERSION)
|
|
82563
82563
|
/* harmony export */ });
|
|
82564
|
-
/* harmony import */ var
|
|
82565
|
-
/* harmony import */ var
|
|
82566
|
-
/* harmony import */ var
|
|
82567
|
-
/* harmony import */ var
|
|
82568
|
-
/* harmony import */ var
|
|
82569
|
-
/* harmony import */ var
|
|
82570
|
-
/* harmony import */ var
|
|
82571
|
-
/* harmony import */ var
|
|
82572
|
-
/* harmony import */ var
|
|
82573
|
-
/* harmony import */ var
|
|
82574
|
-
/* harmony import */ var
|
|
82575
|
-
/* harmony import */ var
|
|
82576
|
-
/* harmony import */ var
|
|
82577
|
-
/* harmony import */ var
|
|
82578
|
-
/* harmony import */ var
|
|
82579
|
-
/* harmony import */ var
|
|
82580
|
-
/* harmony import */ var
|
|
82581
|
-
/* harmony import */ var
|
|
82582
|
-
/* harmony import */ var
|
|
82583
|
-
/* harmony import */ var
|
|
82584
|
-
/* harmony import */ var
|
|
82585
|
-
/* harmony import */ var
|
|
82586
|
-
/* harmony import */ var
|
|
82587
|
-
/* harmony import */ var
|
|
82588
|
-
/* harmony import */ var
|
|
82589
|
-
/* harmony import */ var
|
|
82590
|
-
/* harmony import */ var
|
|
82591
|
-
/* harmony import */ var
|
|
82592
|
-
/* harmony import */ var
|
|
82593
|
-
/* harmony import */ var
|
|
82594
|
-
/* harmony import */ var
|
|
82595
|
-
/* harmony import */ var
|
|
82596
|
-
/* harmony import */ var
|
|
82597
|
-
/* harmony import */ var
|
|
82598
|
-
/* harmony import */ var
|
|
82599
|
-
/* harmony import */ var
|
|
82600
|
-
/* harmony import */ var
|
|
82601
|
-
/* harmony import */ var
|
|
82602
|
-
/* harmony import */ var
|
|
82564
|
+
/* harmony import */ var _package_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../package.json */ "../../core/frontend/package.json");
|
|
82565
|
+
/* harmony import */ var _itwin_appui_abstract__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @itwin/appui-abstract */ "../../ui/appui-abstract/lib/esm/appui-abstract.js");
|
|
82566
|
+
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
82567
|
+
/* harmony import */ var _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
|
|
82568
|
+
/* harmony import */ var _itwin_core_i18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @itwin/core-i18n */ "../../core/i18n/lib/esm/core-i18n.js");
|
|
82569
|
+
/* harmony import */ var _itwin_core_telemetry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @itwin/core-telemetry */ "../../core/telemetry/lib/esm/core-telemetry.js");
|
|
82570
|
+
/* harmony import */ var _itwin_webgl_compatibility__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @itwin/webgl-compatibility */ "../../core/webgl-compatibility/lib/esm/webgl-compatibility.js");
|
|
82571
|
+
/* harmony import */ var _AccuDraw__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./AccuDraw */ "../../core/frontend/lib/esm/AccuDraw.js");
|
|
82572
|
+
/* harmony import */ var _AccuSnap__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./AccuSnap */ "../../core/frontend/lib/esm/AccuSnap.js");
|
|
82573
|
+
/* harmony import */ var _AuxCoordSys__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./AuxCoordSys */ "../../core/frontend/lib/esm/AuxCoordSys.js");
|
|
82574
|
+
/* harmony import */ var _CategorySelectorState__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./CategorySelectorState */ "../../core/frontend/lib/esm/CategorySelectorState.js");
|
|
82575
|
+
/* harmony import */ var _extension_ExtensionAdmin__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./extension/ExtensionAdmin */ "../../core/frontend/lib/esm/extension/ExtensionAdmin.js");
|
|
82576
|
+
/* harmony import */ var _DisplayStyleState__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./DisplayStyleState */ "../../core/frontend/lib/esm/DisplayStyleState.js");
|
|
82577
|
+
/* harmony import */ var _DrawingViewState__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./DrawingViewState */ "../../core/frontend/lib/esm/DrawingViewState.js");
|
|
82578
|
+
/* harmony import */ var _ElementLocateManager__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./ElementLocateManager */ "../../core/frontend/lib/esm/ElementLocateManager.js");
|
|
82579
|
+
/* harmony import */ var _EntityState__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./EntityState */ "../../core/frontend/lib/esm/EntityState.js");
|
|
82580
|
+
/* harmony import */ var _common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./common/FrontendLoggerCategory */ "../../core/frontend/lib/esm/common/FrontendLoggerCategory.js");
|
|
82581
|
+
/* harmony import */ var _ModelSelectorState__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./ModelSelectorState */ "../../core/frontend/lib/esm/ModelSelectorState.js");
|
|
82582
|
+
/* harmony import */ var _ModelState__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./ModelState */ "../../core/frontend/lib/esm/ModelState.js");
|
|
82583
|
+
/* harmony import */ var _NotificationManager__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./NotificationManager */ "../../core/frontend/lib/esm/NotificationManager.js");
|
|
82584
|
+
/* harmony import */ var _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./quantity-formatting/QuantityFormatter */ "../../core/frontend/lib/esm/quantity-formatting/QuantityFormatter.js");
|
|
82585
|
+
/* harmony import */ var _render_RenderSystem__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./render/RenderSystem */ "../../core/frontend/lib/esm/render/RenderSystem.js");
|
|
82586
|
+
/* harmony import */ var _render_webgl_System__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./render/webgl/System */ "../../core/frontend/lib/esm/render/webgl/System.js");
|
|
82587
|
+
/* harmony import */ var _SheetViewState__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./SheetViewState */ "../../core/frontend/lib/esm/SheetViewState.js");
|
|
82588
|
+
/* harmony import */ var _SpatialViewState__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./SpatialViewState */ "../../core/frontend/lib/esm/SpatialViewState.js");
|
|
82589
|
+
/* harmony import */ var _TentativePoint__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./TentativePoint */ "../../core/frontend/lib/esm/TentativePoint.js");
|
|
82590
|
+
/* harmony import */ var _RealityDataSource__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./RealityDataSource */ "../../core/frontend/lib/esm/RealityDataSource.js");
|
|
82591
|
+
/* harmony import */ var _tile_internal__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./tile/internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
82592
|
+
/* harmony import */ var _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./tools/AccuDrawTool */ "../../core/frontend/lib/esm/tools/AccuDrawTool.js");
|
|
82593
|
+
/* harmony import */ var _tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./tools/ClipViewTool */ "../../core/frontend/lib/esm/tools/ClipViewTool.js");
|
|
82594
|
+
/* harmony import */ var _tools_IdleTool__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./tools/IdleTool */ "../../core/frontend/lib/esm/tools/IdleTool.js");
|
|
82595
|
+
/* harmony import */ var _tools_MeasureTool__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./tools/MeasureTool */ "../../core/frontend/lib/esm/tools/MeasureTool.js");
|
|
82596
|
+
/* harmony import */ var _tools_SelectTool__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./tools/SelectTool */ "../../core/frontend/lib/esm/tools/SelectTool.js");
|
|
82597
|
+
/* harmony import */ var _tools_Tool__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./tools/Tool */ "../../core/frontend/lib/esm/tools/Tool.js");
|
|
82598
|
+
/* harmony import */ var _tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./tools/ToolAdmin */ "../../core/frontend/lib/esm/tools/ToolAdmin.js");
|
|
82599
|
+
/* harmony import */ var _tools_ViewTool__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./tools/ViewTool */ "../../core/frontend/lib/esm/tools/ViewTool.js");
|
|
82600
|
+
/* harmony import */ var _ViewManager__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./ViewManager */ "../../core/frontend/lib/esm/ViewManager.js");
|
|
82601
|
+
/* harmony import */ var _ViewState__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./ViewState */ "../../core/frontend/lib/esm/ViewState.js");
|
|
82602
|
+
/* harmony import */ var _IModeljs_css__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./IModeljs-css */ "../../core/frontend/lib/esm/IModeljs-css.js");
|
|
82603
|
+
/* harmony import */ var _IModeljs_css__WEBPACK_IMPORTED_MODULE_38___default = /*#__PURE__*/__webpack_require__.n(_IModeljs_css__WEBPACK_IMPORTED_MODULE_38__);
|
|
82603
82604
|
/*---------------------------------------------------------------------------------------------
|
|
82604
82605
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
82605
82606
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -82608,9 +82609,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
82608
82609
|
* @module IModelApp
|
|
82609
82610
|
*/
|
|
82610
82611
|
var _a;
|
|
82612
|
+
// @ts-expect-error package.json will resolve from the lib/{cjs,esm} dir without copying it into the build output we deliver
|
|
82613
|
+
// eslint-disable-next-line @itwin/import-within-package
|
|
82614
|
+
|
|
82611
82615
|
/** @public */
|
|
82612
82616
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
82613
|
-
const ITWINJS_CORE_VERSION =
|
|
82617
|
+
const ITWINJS_CORE_VERSION = _package_json__WEBPACK_IMPORTED_MODULE_0__.version;
|
|
82614
82618
|
const COPYRIGHT_NOTICE = 'Copyright © 2017-2023 <a href="https://www.bentley.com" target="_blank" rel="noopener noreferrer">Bentley Systems, Inc.</a>';
|
|
82615
82619
|
|
|
82616
82620
|
|
|
@@ -82730,7 +82734,7 @@ class IModelApp {
|
|
|
82730
82734
|
static registerModuleEntities(moduleObj) {
|
|
82731
82735
|
for (const thisMember in moduleObj) { // eslint-disable-line guard-for-in
|
|
82732
82736
|
const thisEntityState = moduleObj[thisMember];
|
|
82733
|
-
if (thisEntityState.prototype instanceof
|
|
82737
|
+
if (thisEntityState.prototype instanceof _EntityState__WEBPACK_IMPORTED_MODULE_15__.EntityState) {
|
|
82734
82738
|
this.registerEntityState(thisEntityState.classFullName, thisEntityState);
|
|
82735
82739
|
}
|
|
82736
82740
|
}
|
|
@@ -82742,7 +82746,7 @@ class IModelApp {
|
|
|
82742
82746
|
const lowerName = classFullName.toLowerCase();
|
|
82743
82747
|
if (this._entityClasses.has(lowerName)) {
|
|
82744
82748
|
const errMsg = `Class ${classFullName} is already registered. Make sure static schemaName and className members are correct on class ${classType.name}`;
|
|
82745
|
-
|
|
82749
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__.Logger.logError(_common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_16__.FrontendLoggerCategory.IModelConnection, errMsg);
|
|
82746
82750
|
throw new Error(errMsg);
|
|
82747
82751
|
}
|
|
82748
82752
|
this._entityClasses.set(lowerName, classType);
|
|
@@ -82756,7 +82760,7 @@ class IModelApp {
|
|
|
82756
82760
|
* @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).
|
|
82757
82761
|
*/
|
|
82758
82762
|
static queryRenderCompatibility() {
|
|
82759
|
-
return (0,
|
|
82763
|
+
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));
|
|
82760
82764
|
}
|
|
82761
82765
|
/**
|
|
82762
82766
|
* This method must be called before any other `@itwin/core-frontend` methods are used.
|
|
@@ -82773,52 +82777,52 @@ class IModelApp {
|
|
|
82773
82777
|
opts = opts ?? {};
|
|
82774
82778
|
this._securityOptions = opts.security ?? {};
|
|
82775
82779
|
if (false) {}
|
|
82776
|
-
this.sessionId = opts.sessionId ??
|
|
82780
|
+
this.sessionId = opts.sessionId ?? _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__.Guid.createValue();
|
|
82777
82781
|
this._applicationId = opts.applicationId ?? "2686"; // Default to product id of iTwin.js
|
|
82778
82782
|
this._applicationVersion = opts.applicationVersion ?? "1.0.0";
|
|
82779
82783
|
this.authorizationClient = opts.authorizationClient;
|
|
82780
82784
|
this._hubAccess = opts.hubAccess;
|
|
82781
82785
|
this._noRender = opts.noRender ?? false;
|
|
82782
82786
|
this._setupRpcRequestContext();
|
|
82783
|
-
this._localization = opts.localization ?? new
|
|
82787
|
+
this._localization = opts.localization ?? new _itwin_core_i18n__WEBPACK_IMPORTED_MODULE_4__.ITwinLocalization();
|
|
82784
82788
|
const toolsNs = "CoreTools";
|
|
82785
82789
|
await this.localization.initialize(["iModelJs", toolsNs]);
|
|
82786
82790
|
[
|
|
82787
|
-
|
|
82788
|
-
|
|
82789
|
-
|
|
82790
|
-
|
|
82791
|
-
|
|
82792
|
-
|
|
82791
|
+
_tools_SelectTool__WEBPACK_IMPORTED_MODULE_32__,
|
|
82792
|
+
_tools_IdleTool__WEBPACK_IMPORTED_MODULE_30__,
|
|
82793
|
+
_tools_ViewTool__WEBPACK_IMPORTED_MODULE_35__,
|
|
82794
|
+
_tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_29__,
|
|
82795
|
+
_tools_MeasureTool__WEBPACK_IMPORTED_MODULE_31__,
|
|
82796
|
+
_tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_28__,
|
|
82793
82797
|
].forEach((tool) => this.tools.registerModule(tool, toolsNs));
|
|
82794
|
-
this.registerEntityState(
|
|
82798
|
+
this.registerEntityState(_EntityState__WEBPACK_IMPORTED_MODULE_15__.EntityState.classFullName, _EntityState__WEBPACK_IMPORTED_MODULE_15__.EntityState);
|
|
82795
82799
|
[
|
|
82796
|
-
|
|
82797
|
-
|
|
82798
|
-
|
|
82799
|
-
|
|
82800
|
-
|
|
82801
|
-
|
|
82802
|
-
|
|
82803
|
-
|
|
82804
|
-
|
|
82800
|
+
_ModelState__WEBPACK_IMPORTED_MODULE_18__,
|
|
82801
|
+
_SheetViewState__WEBPACK_IMPORTED_MODULE_23__,
|
|
82802
|
+
_ViewState__WEBPACK_IMPORTED_MODULE_37__,
|
|
82803
|
+
_DrawingViewState__WEBPACK_IMPORTED_MODULE_13__,
|
|
82804
|
+
_SpatialViewState__WEBPACK_IMPORTED_MODULE_24__,
|
|
82805
|
+
_DisplayStyleState__WEBPACK_IMPORTED_MODULE_12__,
|
|
82806
|
+
_ModelSelectorState__WEBPACK_IMPORTED_MODULE_17__,
|
|
82807
|
+
_CategorySelectorState__WEBPACK_IMPORTED_MODULE_10__,
|
|
82808
|
+
_AuxCoordSys__WEBPACK_IMPORTED_MODULE_9__,
|
|
82805
82809
|
].forEach((module) => this.registerModuleEntities(module));
|
|
82806
|
-
this._renderSystem = (opts.renderSys instanceof
|
|
82810
|
+
this._renderSystem = (opts.renderSys instanceof _render_RenderSystem__WEBPACK_IMPORTED_MODULE_21__.RenderSystem) ? opts.renderSys : this.createRenderSys(opts.renderSys);
|
|
82807
82811
|
if (opts.userPreferences)
|
|
82808
82812
|
this._userPreferences = opts.userPreferences;
|
|
82809
|
-
this._viewManager = opts.viewManager ?? new
|
|
82810
|
-
this._tileAdmin = await
|
|
82811
|
-
this._notifications = opts.notifications ?? new
|
|
82812
|
-
this._toolAdmin = opts.toolAdmin ?? new
|
|
82813
|
-
this._accuDraw = opts.accuDraw ?? new
|
|
82814
|
-
this._accuSnap = opts.accuSnap ?? new
|
|
82815
|
-
this._locateManager = opts.locateManager ?? new
|
|
82816
|
-
this._tentativePoint = opts.tentativePoint ?? new
|
|
82817
|
-
this._quantityFormatter = opts.quantityFormatter ?? new
|
|
82818
|
-
this._uiAdmin = opts.uiAdmin ?? new
|
|
82819
|
-
this._mapLayerFormatRegistry = new
|
|
82820
|
-
this._terrainProviderRegistry = new
|
|
82821
|
-
this._realityDataSourceProviders = new
|
|
82813
|
+
this._viewManager = opts.viewManager ?? new _ViewManager__WEBPACK_IMPORTED_MODULE_36__.ViewManager();
|
|
82814
|
+
this._tileAdmin = await _tile_internal__WEBPACK_IMPORTED_MODULE_27__.TileAdmin.create(opts.tileAdmin);
|
|
82815
|
+
this._notifications = opts.notifications ?? new _NotificationManager__WEBPACK_IMPORTED_MODULE_19__.NotificationManager();
|
|
82816
|
+
this._toolAdmin = opts.toolAdmin ?? new _tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_34__.ToolAdmin();
|
|
82817
|
+
this._accuDraw = opts.accuDraw ?? new _AccuDraw__WEBPACK_IMPORTED_MODULE_7__.AccuDraw();
|
|
82818
|
+
this._accuSnap = opts.accuSnap ?? new _AccuSnap__WEBPACK_IMPORTED_MODULE_8__.AccuSnap();
|
|
82819
|
+
this._locateManager = opts.locateManager ?? new _ElementLocateManager__WEBPACK_IMPORTED_MODULE_14__.ElementLocateManager();
|
|
82820
|
+
this._tentativePoint = opts.tentativePoint ?? new _TentativePoint__WEBPACK_IMPORTED_MODULE_25__.TentativePoint();
|
|
82821
|
+
this._quantityFormatter = opts.quantityFormatter ?? new _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_20__.QuantityFormatter();
|
|
82822
|
+
this._uiAdmin = opts.uiAdmin ?? new _itwin_appui_abstract__WEBPACK_IMPORTED_MODULE_1__.UiAdmin();
|
|
82823
|
+
this._mapLayerFormatRegistry = new _tile_internal__WEBPACK_IMPORTED_MODULE_27__.MapLayerFormatRegistry(opts.mapLayerOptions);
|
|
82824
|
+
this._terrainProviderRegistry = new _tile_internal__WEBPACK_IMPORTED_MODULE_27__.TerrainProviderRegistry();
|
|
82825
|
+
this._realityDataSourceProviders = new _RealityDataSource__WEBPACK_IMPORTED_MODULE_26__.RealityDataSourceProviderRegistry();
|
|
82822
82826
|
this._realityDataAccess = opts.realityDataAccess;
|
|
82823
82827
|
this._publicPath = opts.publicPath ?? "";
|
|
82824
82828
|
[
|
|
@@ -82847,7 +82851,7 @@ class IModelApp {
|
|
|
82847
82851
|
this.clearIntervalAnimation();
|
|
82848
82852
|
[this.toolAdmin, this.viewManager, this.tileAdmin].forEach((sys) => sys.onShutDown());
|
|
82849
82853
|
this.tools.shutdown();
|
|
82850
|
-
this._renderSystem = (0,
|
|
82854
|
+
this._renderSystem = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__.dispose)(this._renderSystem);
|
|
82851
82855
|
this._entityClasses.clear();
|
|
82852
82856
|
this.authorizationClient = undefined;
|
|
82853
82857
|
this._initialized = false;
|
|
@@ -82922,7 +82926,7 @@ class IModelApp {
|
|
|
82922
82926
|
IModelApp.tileAdmin.process();
|
|
82923
82927
|
}
|
|
82924
82928
|
catch (exception) {
|
|
82925
|
-
|
|
82929
|
+
_tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_34__.ToolAdmin.exceptionHandler(exception); // eslint-disable-line @typescript-eslint/no-floating-promises
|
|
82926
82930
|
IModelApp._wantEventLoop = false;
|
|
82927
82931
|
IModelApp._animationRequested = true; // unrecoverable after exception, don't request any further frames.
|
|
82928
82932
|
window.removeEventListener("resize", () => IModelApp.requestNextAnimation());
|
|
@@ -82941,19 +82945,19 @@ class IModelApp {
|
|
|
82941
82945
|
}
|
|
82942
82946
|
}
|
|
82943
82947
|
/** @internal */
|
|
82944
|
-
static createRenderSys(opts) { return
|
|
82948
|
+
static createRenderSys(opts) { return _render_webgl_System__WEBPACK_IMPORTED_MODULE_22__.System.create(opts); }
|
|
82945
82949
|
static _setupRpcRequestContext() {
|
|
82946
|
-
|
|
82947
|
-
return
|
|
82950
|
+
_itwin_core_common__WEBPACK_IMPORTED_MODULE_3__.RpcConfiguration.requestContext.getId = (_request) => {
|
|
82951
|
+
return _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__.Guid.createValue();
|
|
82948
82952
|
};
|
|
82949
|
-
|
|
82953
|
+
_itwin_core_common__WEBPACK_IMPORTED_MODULE_3__.RpcConfiguration.requestContext.serialize = async (_request) => {
|
|
82950
82954
|
const id = _request.id;
|
|
82951
82955
|
const serialized = {
|
|
82952
82956
|
id,
|
|
82953
82957
|
applicationId: this.applicationId,
|
|
82954
82958
|
applicationVersion: this.applicationVersion,
|
|
82955
82959
|
sessionId: this.sessionId,
|
|
82956
|
-
authorization:
|
|
82960
|
+
authorization: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__.ProcessDetector.isMobileAppFrontend ? "" : await this.getAccessToken(),
|
|
82957
82961
|
};
|
|
82958
82962
|
const csrf = IModelApp.securityOptions.csrfProtection;
|
|
82959
82963
|
if (csrf && csrf.enabled) {
|
|
@@ -83087,11 +83091,11 @@ class IModelApp {
|
|
|
83087
83091
|
key = { scope: "Errors", val: "IllegalValue" };
|
|
83088
83092
|
}
|
|
83089
83093
|
else {
|
|
83090
|
-
key = { scope: "BentleyStatus", val:
|
|
83094
|
+
key = { scope: "BentleyStatus", val: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__.BentleyStatus[status] };
|
|
83091
83095
|
if (!key.val)
|
|
83092
|
-
key = { scope: "IModelStatus", val:
|
|
83096
|
+
key = { scope: "IModelStatus", val: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__.IModelStatus[status] };
|
|
83093
83097
|
if (!key.val)
|
|
83094
|
-
key = { scope: "DbResult", val:
|
|
83098
|
+
key = { scope: "DbResult", val: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__.DbResult[status] };
|
|
83095
83099
|
if (!key.val)
|
|
83096
83100
|
key = { scope: "Errors", val: "Status", status: status.toString() };
|
|
83097
83101
|
}
|
|
@@ -83103,7 +83107,7 @@ class IModelApp {
|
|
|
83103
83107
|
* @returns an instance of ExtensionAdmin
|
|
83104
83108
|
*/
|
|
83105
83109
|
static _createExtensionAdmin() {
|
|
83106
|
-
const extensionAdmin = new
|
|
83110
|
+
const extensionAdmin = new _extension_ExtensionAdmin__WEBPACK_IMPORTED_MODULE_11__.ExtensionAdmin();
|
|
83107
83111
|
IModelApp.onAfterStartup.addListener(extensionAdmin.onStartup);
|
|
83108
83112
|
return extensionAdmin;
|
|
83109
83113
|
}
|
|
@@ -83112,17 +83116,17 @@ _a = IModelApp;
|
|
|
83112
83116
|
IModelApp._initialized = false;
|
|
83113
83117
|
IModelApp._wantEventLoop = false;
|
|
83114
83118
|
IModelApp._animationRequested = false;
|
|
83115
|
-
IModelApp._animationInterval =
|
|
83119
|
+
IModelApp._animationInterval = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__.BeDuration.fromSeconds(1);
|
|
83116
83120
|
/** Event raised just before the frontend IModelApp is to be [[shutdown]]. */
|
|
83117
|
-
IModelApp.onBeforeShutdown = new
|
|
83121
|
+
IModelApp.onBeforeShutdown = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__.BeEvent();
|
|
83118
83122
|
/** Event raised after IModelApp [[startup]] completes. */
|
|
83119
|
-
IModelApp.onAfterStartup = new
|
|
83123
|
+
IModelApp.onAfterStartup = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__.BeEvent();
|
|
83120
83124
|
/** The [[ToolRegistry]] for this session. */
|
|
83121
|
-
IModelApp.tools = new
|
|
83125
|
+
IModelApp.tools = new _tools_Tool__WEBPACK_IMPORTED_MODULE_33__.ToolRegistry();
|
|
83122
83126
|
/** The [[TelemetryManager]] for this session
|
|
83123
83127
|
* @internal
|
|
83124
83128
|
*/
|
|
83125
|
-
IModelApp.telemetry = new
|
|
83129
|
+
IModelApp.telemetry = new _itwin_core_telemetry__WEBPACK_IMPORTED_MODULE_5__.TelemetryManager();
|
|
83126
83130
|
/** @alpha */
|
|
83127
83131
|
IModelApp.extensionAdmin = _a._createExtensionAdmin();
|
|
83128
83132
|
/** Map of classFullName to EntityState class */
|
|
@@ -279894,7 +279898,7 @@ class TestContext {
|
|
|
279894
279898
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
279895
279899
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
279896
279900
|
await core_frontend_1.NoRenderApp.startup({
|
|
279897
|
-
applicationVersion: "4.2.0-dev.
|
|
279901
|
+
applicationVersion: "4.2.0-dev.29",
|
|
279898
279902
|
applicationId: this.settings.gprid,
|
|
279899
279903
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
279900
279904
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -299328,7 +299332,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
299328
299332
|
/***/ ((module) => {
|
|
299329
299333
|
|
|
299330
299334
|
"use strict";
|
|
299331
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.2.0-dev.
|
|
299335
|
+
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"}}');
|
|
299332
299336
|
|
|
299333
299337
|
/***/ }),
|
|
299334
299338
|
|