@itwin/rpcinterface-full-stack-tests 5.11.0-dev.11 → 5.11.0-dev.14
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 +1300 -1000
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +14 -14
|
@@ -114654,13 +114654,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
114654
114654
|
* Use of this service requires an API key to be supplied via [[MapLayerOptions.BingMaps]] in the [[IModelAppOptions.mapLayerOptions]] passed to [[IModelApp.startup]].
|
|
114655
114655
|
* @public
|
|
114656
114656
|
* @extensions
|
|
114657
|
+
* @deprecated in 5.11.0. Provide a [[LocationProvider]] implementation via [[IModelAppOptions.geospatialProviders]].
|
|
114658
|
+
* @note This class structurally satisfies [[LocationProvider]] but does not use an explicit `implements` clause
|
|
114659
|
+
* because api-extractor forbids `@public` classes from referencing `@beta` interfaces (ae-incompatible-release-tags).
|
|
114657
114660
|
*/
|
|
114658
114661
|
class BingLocationProvider {
|
|
114659
114662
|
_locationRequestTemplate;
|
|
114660
114663
|
constructor() {
|
|
114661
114664
|
let bingKey = "";
|
|
114665
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated -- this deprecated class reads from the deprecated BingMaps key by design
|
|
114662
114666
|
if (_IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.mapLayerFormatRegistry.configOptions.BingMaps) {
|
|
114663
|
-
bingKey = _IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.mapLayerFormatRegistry.configOptions.BingMaps.value;
|
|
114667
|
+
bingKey = _IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.mapLayerFormatRegistry.configOptions.BingMaps.value; // eslint-disable-line @typescript-eslint/no-deprecated
|
|
114664
114668
|
}
|
|
114665
114669
|
this._locationRequestTemplate = `https://dev.virtualearth.net/REST/v1/Locations?query={query}&key=${bingKey}`;
|
|
114666
114670
|
}
|
|
@@ -115726,6 +115730,26 @@ class CategorySelectorState extends _EntityState__WEBPACK_IMPORTED_MODULE_1__.El
|
|
|
115726
115730
|
}
|
|
115727
115731
|
|
|
115728
115732
|
|
|
115733
|
+
/***/ }),
|
|
115734
|
+
|
|
115735
|
+
/***/ "../../core/frontend/lib/esm/CesiumAccessClient.js":
|
|
115736
|
+
/*!*********************************************************!*\
|
|
115737
|
+
!*** ../../core/frontend/lib/esm/CesiumAccessClient.js ***!
|
|
115738
|
+
\*********************************************************/
|
|
115739
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
115740
|
+
|
|
115741
|
+
"use strict";
|
|
115742
|
+
__webpack_require__.r(__webpack_exports__);
|
|
115743
|
+
/*---------------------------------------------------------------------------------------------
|
|
115744
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
115745
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
115746
|
+
*--------------------------------------------------------------------------------------------*/
|
|
115747
|
+
/** @packageDocumentation
|
|
115748
|
+
* @module Tiles
|
|
115749
|
+
*/
|
|
115750
|
+
|
|
115751
|
+
|
|
115752
|
+
|
|
115729
115753
|
/***/ }),
|
|
115730
115754
|
|
|
115731
115755
|
/***/ "../../core/frontend/lib/esm/ChangeFlags.js":
|
|
@@ -116710,7 +116734,7 @@ class DisplayStyleState extends _EntityState__WEBPACK_IMPORTED_MODULE_6__.Elemen
|
|
|
116710
116734
|
const url = (0,_tile_internal__WEBPACK_IMPORTED_MODULE_9__.getCesiumOSMBuildingsUrl)();
|
|
116711
116735
|
if (undefined === url)
|
|
116712
116736
|
return undefined;
|
|
116713
|
-
return this.contextRealityModelStates.find((x) => x.url
|
|
116737
|
+
return this.contextRealityModelStates.find((x) => x.url?.startsWith(url));
|
|
116714
116738
|
}
|
|
116715
116739
|
/** Set the display of the OpenStreetMap worldwide building layer in this display style by attaching or detaching the reality model displaying the buildings.
|
|
116716
116740
|
* The OSM buildings are displayed from a reality model aggregated and served from Cesium ion.<(https://cesium.com/content/cesium-osm-buildings/>
|
|
@@ -116722,7 +116746,7 @@ class DisplayStyleState extends _EntityState__WEBPACK_IMPORTED_MODULE_6__.Elemen
|
|
|
116722
116746
|
const url = (0,_tile_internal__WEBPACK_IMPORTED_MODULE_9__.getCesiumOSMBuildingsUrl)();
|
|
116723
116747
|
if (undefined === url)
|
|
116724
116748
|
return false;
|
|
116725
|
-
let model = this.settings.contextRealityModels.models.find((x) => x.url
|
|
116749
|
+
let model = this.settings.contextRealityModels.models.find((x) => x.url?.startsWith(url));
|
|
116726
116750
|
if (options.onOff === false) {
|
|
116727
116751
|
const turnedOff = undefined !== model && this.settings.contextRealityModels.delete(model);
|
|
116728
116752
|
if (turnedOff)
|
|
@@ -119539,6 +119563,67 @@ class FuzzySearchResultsIterator {
|
|
|
119539
119563
|
}
|
|
119540
119564
|
|
|
119541
119565
|
|
|
119566
|
+
/***/ }),
|
|
119567
|
+
|
|
119568
|
+
/***/ "../../core/frontend/lib/esm/GeoProviders.js":
|
|
119569
|
+
/*!***************************************************!*\
|
|
119570
|
+
!*** ../../core/frontend/lib/esm/GeoProviders.js ***!
|
|
119571
|
+
\***************************************************/
|
|
119572
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
119573
|
+
|
|
119574
|
+
"use strict";
|
|
119575
|
+
__webpack_require__.r(__webpack_exports__);
|
|
119576
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
119577
|
+
/* harmony export */ getHeightAverage: () => (/* binding */ getHeightAverage),
|
|
119578
|
+
/* harmony export */ getHeightRange: () => (/* binding */ getHeightRange)
|
|
119579
|
+
/* harmony export */ });
|
|
119580
|
+
/* harmony import */ var _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-geometry */ "../../core/geometry/lib/esm/core-geometry.js");
|
|
119581
|
+
/*---------------------------------------------------------------------------------------------
|
|
119582
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
119583
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
119584
|
+
*--------------------------------------------------------------------------------------------*/
|
|
119585
|
+
/** @packageDocumentation
|
|
119586
|
+
* @module Views
|
|
119587
|
+
*/
|
|
119588
|
+
|
|
119589
|
+
/** Compute the elevation range for an iModel's project extents using the given provider.
|
|
119590
|
+
* @beta
|
|
119591
|
+
*/
|
|
119592
|
+
async function getHeightRange(provider, iModel) {
|
|
119593
|
+
if (!iModel.isGeoLocated)
|
|
119594
|
+
return _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Range1d.createNull();
|
|
119595
|
+
const latLongRange = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Range2d.createNull();
|
|
119596
|
+
const range = iModel.projectExtents.clone();
|
|
119597
|
+
// Expand for project surroundings.
|
|
119598
|
+
range.expandInPlace(1000);
|
|
119599
|
+
for (const corner of range.corners()) {
|
|
119600
|
+
const carto = iModel.spatialToCartographicFromEcef(corner);
|
|
119601
|
+
latLongRange.extendXY(carto.longitudeDegrees, carto.latitudeDegrees);
|
|
119602
|
+
}
|
|
119603
|
+
const heights = await provider.getHeights?.(latLongRange);
|
|
119604
|
+
return heights ? _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Range1d.createArray(heights) : _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Range1d.createNull();
|
|
119605
|
+
}
|
|
119606
|
+
/** Compute the average elevation for an iModel's project extents using the given provider.
|
|
119607
|
+
* @beta
|
|
119608
|
+
*/
|
|
119609
|
+
async function getHeightAverage(provider, iModel) {
|
|
119610
|
+
if (!iModel.isGeoLocated)
|
|
119611
|
+
return 0;
|
|
119612
|
+
const latLongRange = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Range2d.createNull();
|
|
119613
|
+
for (const corner of iModel.projectExtents.corners()) {
|
|
119614
|
+
const carto = iModel.spatialToCartographicFromEcef(corner);
|
|
119615
|
+
latLongRange.extendXY(carto.longitudeDegrees, carto.latitudeDegrees);
|
|
119616
|
+
}
|
|
119617
|
+
const heights = await provider.getHeights?.(latLongRange);
|
|
119618
|
+
if (!heights || !heights.length)
|
|
119619
|
+
return 0;
|
|
119620
|
+
let total = 0.0;
|
|
119621
|
+
for (const height of heights)
|
|
119622
|
+
total += height;
|
|
119623
|
+
return total / heights.length;
|
|
119624
|
+
}
|
|
119625
|
+
|
|
119626
|
+
|
|
119542
119627
|
/***/ }),
|
|
119543
119628
|
|
|
119544
119629
|
/***/ "../../core/frontend/lib/esm/GeoServices.js":
|
|
@@ -120950,18 +121035,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
120950
121035
|
/* harmony import */ var _TentativePoint__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./TentativePoint */ "../../core/frontend/lib/esm/TentativePoint.js");
|
|
120951
121036
|
/* harmony import */ var _RealityDataSource__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./RealityDataSource */ "../../core/frontend/lib/esm/RealityDataSource.js");
|
|
120952
121037
|
/* harmony import */ var _tile_internal__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./tile/internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
120953
|
-
/* harmony import */ var
|
|
120954
|
-
/* harmony import */ var
|
|
120955
|
-
/* harmony import */ var
|
|
120956
|
-
/* harmony import */ var
|
|
120957
|
-
/* harmony import */ var
|
|
120958
|
-
/* harmony import */ var
|
|
120959
|
-
/* harmony import */ var
|
|
120960
|
-
/* harmony import */ var
|
|
120961
|
-
/* harmony import */ var
|
|
120962
|
-
/* harmony import */ var
|
|
120963
|
-
/* harmony import */ var
|
|
120964
|
-
/* harmony import */ var
|
|
121038
|
+
/* harmony import */ var _BingLocation__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./BingLocation */ "../../core/frontend/lib/esm/BingLocation.js");
|
|
121039
|
+
/* harmony import */ var _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./tools/AccuDrawTool */ "../../core/frontend/lib/esm/tools/AccuDrawTool.js");
|
|
121040
|
+
/* harmony import */ var _tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./tools/ClipViewTool */ "../../core/frontend/lib/esm/tools/ClipViewTool.js");
|
|
121041
|
+
/* harmony import */ var _tools_IdleTool__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./tools/IdleTool */ "../../core/frontend/lib/esm/tools/IdleTool.js");
|
|
121042
|
+
/* harmony import */ var _tools_MeasureTool__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./tools/MeasureTool */ "../../core/frontend/lib/esm/tools/MeasureTool.js");
|
|
121043
|
+
/* harmony import */ var _tools_SelectTool__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./tools/SelectTool */ "../../core/frontend/lib/esm/tools/SelectTool.js");
|
|
121044
|
+
/* harmony import */ var _tools_Tool__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./tools/Tool */ "../../core/frontend/lib/esm/tools/Tool.js");
|
|
121045
|
+
/* harmony import */ var _tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./tools/ToolAdmin */ "../../core/frontend/lib/esm/tools/ToolAdmin.js");
|
|
121046
|
+
/* harmony import */ var _tools_ViewTool__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./tools/ViewTool */ "../../core/frontend/lib/esm/tools/ViewTool.js");
|
|
121047
|
+
/* harmony import */ var _ViewManager__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./ViewManager */ "../../core/frontend/lib/esm/ViewManager.js");
|
|
121048
|
+
/* harmony import */ var _ViewState__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./ViewState */ "../../core/frontend/lib/esm/ViewState.js");
|
|
121049
|
+
/* harmony import */ var _IModeljs_css__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./IModeljs-css */ "../../core/frontend/lib/esm/IModeljs-css.js");
|
|
121050
|
+
/* harmony import */ var _IModeljs_css__WEBPACK_IMPORTED_MODULE_38___default = /*#__PURE__*/__webpack_require__.n(_IModeljs_css__WEBPACK_IMPORTED_MODULE_38__);
|
|
120965
121051
|
/*---------------------------------------------------------------------------------------------
|
|
120966
121052
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
120967
121053
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -121010,6 +121096,7 @@ const COPYRIGHT_NOTICE = `Copyright © 2017-${new Date().getFullYear()} <a href=
|
|
|
121010
121096
|
|
|
121011
121097
|
|
|
121012
121098
|
|
|
121099
|
+
|
|
121013
121100
|
|
|
121014
121101
|
|
|
121015
121102
|
/**
|
|
@@ -121046,6 +121133,9 @@ class IModelApp {
|
|
|
121046
121133
|
static _securityOptions;
|
|
121047
121134
|
static _mapLayerFormatRegistry;
|
|
121048
121135
|
static _terrainProviderRegistry;
|
|
121136
|
+
static _elevationProvider;
|
|
121137
|
+
static _geoidProvider;
|
|
121138
|
+
static _locationProvider;
|
|
121049
121139
|
static _realityDataSourceProviders;
|
|
121050
121140
|
static _hubAccess;
|
|
121051
121141
|
static _realityDataAccess;
|
|
@@ -121061,13 +121151,28 @@ class IModelApp {
|
|
|
121061
121151
|
/** The AuthorizationClient used to obtain [AccessToken]($bentley)s. */
|
|
121062
121152
|
static authorizationClient;
|
|
121063
121153
|
/** The [[ToolRegistry]] for this session. */
|
|
121064
|
-
static tools = new
|
|
121154
|
+
static tools = new _tools_Tool__WEBPACK_IMPORTED_MODULE_33__.ToolRegistry();
|
|
121065
121155
|
/** A uniqueId for this session */
|
|
121066
121156
|
static sessionId;
|
|
121067
121157
|
/** The [[MapLayerFormatRegistry]] for this session. */
|
|
121068
121158
|
static get mapLayerFormatRegistry() { return this._mapLayerFormatRegistry; }
|
|
121069
121159
|
/** The [[TerrainProviderRegistry]] for this session. */
|
|
121070
121160
|
static get terrainProviderRegistry() { return this._terrainProviderRegistry; }
|
|
121161
|
+
/** The [[ElevationProvider]] for this session.
|
|
121162
|
+
* @beta
|
|
121163
|
+
*/
|
|
121164
|
+
static get elevationProvider() { return (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__.expectDefined)(this._elevationProvider); }
|
|
121165
|
+
static set elevationProvider(provider) { this._elevationProvider = provider; }
|
|
121166
|
+
/** The [[GeoidProvider]] for this session.
|
|
121167
|
+
* @beta
|
|
121168
|
+
*/
|
|
121169
|
+
static get geoidProvider() { return (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__.expectDefined)(this._geoidProvider); }
|
|
121170
|
+
static set geoidProvider(provider) { this._geoidProvider = provider; }
|
|
121171
|
+
/** The [[LocationProvider]] for this session.
|
|
121172
|
+
* @beta
|
|
121173
|
+
*/
|
|
121174
|
+
static get locationProvider() { return (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__.expectDefined)(this._locationProvider); }
|
|
121175
|
+
static set locationProvider(provider) { this._locationProvider = provider; }
|
|
121071
121176
|
/** The [[RealityDataSourceProviderRegistry]] for this session.
|
|
121072
121177
|
* @beta
|
|
121073
121178
|
*/
|
|
@@ -121205,19 +121310,19 @@ class IModelApp {
|
|
|
121205
121310
|
const toolsNs = "CoreTools";
|
|
121206
121311
|
await this.localization.initialize(["iModelJs", toolsNs]);
|
|
121207
121312
|
[
|
|
121208
|
-
|
|
121209
|
-
|
|
121210
|
-
|
|
121211
|
-
|
|
121212
|
-
|
|
121213
|
-
|
|
121313
|
+
_tools_SelectTool__WEBPACK_IMPORTED_MODULE_32__,
|
|
121314
|
+
_tools_IdleTool__WEBPACK_IMPORTED_MODULE_30__,
|
|
121315
|
+
_tools_ViewTool__WEBPACK_IMPORTED_MODULE_35__,
|
|
121316
|
+
_tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_29__,
|
|
121317
|
+
_tools_MeasureTool__WEBPACK_IMPORTED_MODULE_31__,
|
|
121318
|
+
_tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_28__,
|
|
121214
121319
|
].forEach((tool) => this.tools.registerModule(tool, toolsNs));
|
|
121215
121320
|
this.registerEntityState(_EntityState__WEBPACK_IMPORTED_MODULE_14__.EntityState.classFullName, _EntityState__WEBPACK_IMPORTED_MODULE_14__.EntityState);
|
|
121216
121321
|
this.registerEntityState(_EntityState__WEBPACK_IMPORTED_MODULE_14__.ElementState.classFullName, _EntityState__WEBPACK_IMPORTED_MODULE_14__.ElementState);
|
|
121217
121322
|
[
|
|
121218
121323
|
_ModelState__WEBPACK_IMPORTED_MODULE_17__,
|
|
121219
121324
|
_SheetViewState__WEBPACK_IMPORTED_MODULE_22__,
|
|
121220
|
-
|
|
121325
|
+
_ViewState__WEBPACK_IMPORTED_MODULE_37__,
|
|
121221
121326
|
_DrawingViewState__WEBPACK_IMPORTED_MODULE_12__,
|
|
121222
121327
|
_SpatialViewState__WEBPACK_IMPORTED_MODULE_23__,
|
|
121223
121328
|
_DisplayStyleState__WEBPACK_IMPORTED_MODULE_11__,
|
|
@@ -121228,10 +121333,10 @@ class IModelApp {
|
|
|
121228
121333
|
this._renderSystem = (opts.renderSys instanceof _render_RenderSystem__WEBPACK_IMPORTED_MODULE_20__.RenderSystem) ? opts.renderSys : this.createRenderSys(opts.renderSys);
|
|
121229
121334
|
if (opts.userPreferences)
|
|
121230
121335
|
this._userPreferences = opts.userPreferences;
|
|
121231
|
-
this._viewManager = opts.viewManager ?? new
|
|
121336
|
+
this._viewManager = opts.viewManager ?? new _ViewManager__WEBPACK_IMPORTED_MODULE_36__.ViewManager();
|
|
121232
121337
|
this._tileAdmin = await _tile_internal__WEBPACK_IMPORTED_MODULE_26__.TileAdmin.create(opts.tileAdmin);
|
|
121233
121338
|
this._notifications = opts.notifications ?? new _NotificationManager__WEBPACK_IMPORTED_MODULE_18__.NotificationManager();
|
|
121234
|
-
this._toolAdmin = opts.toolAdmin ?? new
|
|
121339
|
+
this._toolAdmin = opts.toolAdmin ?? new _tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_34__.ToolAdmin();
|
|
121235
121340
|
this._accuDraw = opts.accuDraw ?? new _AccuDraw__WEBPACK_IMPORTED_MODULE_6__.AccuDraw();
|
|
121236
121341
|
this._accuSnap = opts.accuSnap ?? new _AccuSnap__WEBPACK_IMPORTED_MODULE_7__.AccuSnap();
|
|
121237
121342
|
this._locateManager = opts.locateManager ?? new _ElementLocateManager__WEBPACK_IMPORTED_MODULE_13__.ElementLocateManager();
|
|
@@ -121240,6 +121345,15 @@ class IModelApp {
|
|
|
121240
121345
|
this._uiAdmin = opts.uiAdmin ?? new _itwin_appui_abstract__WEBPACK_IMPORTED_MODULE_1__.UiAdmin();
|
|
121241
121346
|
this._mapLayerFormatRegistry = new _tile_internal__WEBPACK_IMPORTED_MODULE_26__.MapLayerFormatRegistry(opts.mapLayerOptions);
|
|
121242
121347
|
this._terrainProviderRegistry = new _tile_internal__WEBPACK_IMPORTED_MODULE_26__.TerrainProviderRegistry();
|
|
121348
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated -- intentional: Bing is the backward-compat default until it is removed in a future major version
|
|
121349
|
+
let defaultBingElevation;
|
|
121350
|
+
const geo = opts.geospatialProviders;
|
|
121351
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
121352
|
+
const lazyBing = () => defaultBingElevation ??= new _tile_internal__WEBPACK_IMPORTED_MODULE_26__.BingElevationProvider();
|
|
121353
|
+
this._elevationProvider = geo?.elevationProvider ?? lazyBing();
|
|
121354
|
+
this._geoidProvider = geo?.geoidProvider ?? lazyBing();
|
|
121355
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
121356
|
+
this._locationProvider = geo?.locationProvider ?? new _BingLocation__WEBPACK_IMPORTED_MODULE_27__.BingLocationProvider();
|
|
121243
121357
|
this._realityDataSourceProviders = new _RealityDataSource__WEBPACK_IMPORTED_MODULE_25__.RealityDataSourceProviderRegistry();
|
|
121244
121358
|
this._realityDataAccess = opts.realityDataAccess;
|
|
121245
121359
|
this._formatsProviderManager = new _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_19__.FormatsProviderManager(opts.formatsProvider ?? new _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_19__.QuantityTypeFormatsProvider());
|
|
@@ -121275,6 +121389,9 @@ class IModelApp {
|
|
|
121275
121389
|
[this.toolAdmin, this.viewManager, this.tileAdmin].forEach((sys) => sys.onShutDown());
|
|
121276
121390
|
this.tools.shutdown();
|
|
121277
121391
|
this._renderSystem = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__.dispose)(this._renderSystem);
|
|
121392
|
+
this._elevationProvider = undefined;
|
|
121393
|
+
this._geoidProvider = undefined;
|
|
121394
|
+
this._locationProvider = undefined;
|
|
121278
121395
|
this._entityClasses.clear();
|
|
121279
121396
|
this.authorizationClient = undefined;
|
|
121280
121397
|
this._initialized = false;
|
|
@@ -121355,7 +121472,7 @@ class IModelApp {
|
|
|
121355
121472
|
IModelApp.tileAdmin.process();
|
|
121356
121473
|
}
|
|
121357
121474
|
catch (exception) {
|
|
121358
|
-
|
|
121475
|
+
_tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_34__.ToolAdmin.exceptionHandler(exception); // eslint-disable-line @typescript-eslint/no-floating-promises
|
|
121359
121476
|
IModelApp._wantEventLoop = false;
|
|
121360
121477
|
IModelApp._animationRequested = true; // unrecoverable after exception, don't request any further frames.
|
|
121361
121478
|
window.removeEventListener("resize", () => IModelApp.requestNextAnimation());
|
|
@@ -121583,13 +121700,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
121583
121700
|
/* harmony import */ var _ModelState__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ModelState */ "../../core/frontend/lib/esm/ModelState.js");
|
|
121584
121701
|
/* harmony import */ var _SelectionSet__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./SelectionSet */ "../../core/frontend/lib/esm/SelectionSet.js");
|
|
121585
121702
|
/* harmony import */ var _SubCategoriesCache__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./SubCategoriesCache */ "../../core/frontend/lib/esm/SubCategoriesCache.js");
|
|
121586
|
-
/* harmony import */ var
|
|
121587
|
-
/* harmony import */ var
|
|
121588
|
-
/* harmony import */ var
|
|
121589
|
-
/* harmony import */ var
|
|
121590
|
-
/* harmony import */ var
|
|
121591
|
-
/* harmony import */ var
|
|
121592
|
-
/* harmony import */ var _itwin_ecschema_rpcinterface_common__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @itwin/ecschema-rpcinterface-common */ "../../core/ecschema-rpc/common/lib/esm/ecschema-rpc-interface.js");
|
|
121703
|
+
/* harmony import */ var _Tiles__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./Tiles */ "../../core/frontend/lib/esm/Tiles.js");
|
|
121704
|
+
/* harmony import */ var _ViewState__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./ViewState */ "../../core/frontend/lib/esm/ViewState.js");
|
|
121705
|
+
/* harmony import */ var _common_internal_Symbols__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./common/internal/Symbols */ "../../core/frontend/lib/esm/common/internal/Symbols.js");
|
|
121706
|
+
/* harmony import */ var _IpcApp__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./IpcApp */ "../../core/frontend/lib/esm/IpcApp.js");
|
|
121707
|
+
/* harmony import */ var _itwin_ecschema_metadata__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @itwin/ecschema-metadata */ "../../core/ecschema-metadata/lib/esm/ecschema-metadata.js");
|
|
121708
|
+
/* harmony import */ var _itwin_ecschema_rpcinterface_common__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @itwin/ecschema-rpcinterface-common */ "../../core/ecschema-rpc/common/lib/esm/ecschema-rpc-interface.js");
|
|
121593
121709
|
/*---------------------------------------------------------------------------------------------
|
|
121594
121710
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
121595
121711
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -121613,7 +121729,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
121613
121729
|
|
|
121614
121730
|
|
|
121615
121731
|
|
|
121616
|
-
|
|
121617
121732
|
const loggerCategory = _common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_3__.FrontendLoggerCategory.IModelConnection;
|
|
121618
121733
|
/** A connection to a [IModelDb]($backend) hosted on the backend.
|
|
121619
121734
|
* @public
|
|
@@ -121752,7 +121867,7 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
121752
121867
|
this.categories = new IModelConnection.Categories(this);
|
|
121753
121868
|
this.selectionSet = new _SelectionSet__WEBPACK_IMPORTED_MODULE_8__.SelectionSet(this);
|
|
121754
121869
|
this.hilited = new _SelectionSet__WEBPACK_IMPORTED_MODULE_8__.HiliteSet(this);
|
|
121755
|
-
this.tiles = new
|
|
121870
|
+
this.tiles = new _Tiles__WEBPACK_IMPORTED_MODULE_10__.Tiles(this);
|
|
121756
121871
|
this.geoServices = _GeoServices__WEBPACK_IMPORTED_MODULE_4__.GeoServices.createForIModel(this);
|
|
121757
121872
|
this.hilited.onModelSubCategoryModeChanged.addListener(() => {
|
|
121758
121873
|
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.viewManager.onSelectionSetChanged(this);
|
|
@@ -121820,14 +121935,14 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
121820
121935
|
* @note callers must gracefully handle Promise rejected with AbandonedError
|
|
121821
121936
|
* @internal
|
|
121822
121937
|
*/
|
|
121823
|
-
async [
|
|
121938
|
+
async [_common_internal_Symbols__WEBPACK_IMPORTED_MODULE_12__._requestSnap](props) {
|
|
121824
121939
|
return this.isOpen ? this._snapRpc.request(props) : { status: 2 };
|
|
121825
121940
|
}
|
|
121826
121941
|
/** @internal
|
|
121827
121942
|
* @deprecated in 4.8 - will not be removed until after 2026-06-13. Use AccuSnap.doSnapRequest.
|
|
121828
121943
|
*/
|
|
121829
121944
|
async requestSnap(props) {
|
|
121830
|
-
return this[
|
|
121945
|
+
return this[_common_internal_Symbols__WEBPACK_IMPORTED_MODULE_12__._requestSnap](props);
|
|
121831
121946
|
}
|
|
121832
121947
|
_toolTipRpc = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.OneAtATimeAction(async (id) => _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelReadRpcInterface.getClientForRouting(this.routingContext.token).getToolTipMessage(this.getRpcProps(), id));
|
|
121833
121948
|
/** Request a tooltip from the backend.
|
|
@@ -122054,19 +122169,23 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
122054
122169
|
_geodeticToSeaLevel;
|
|
122055
122170
|
_projectCenterAltitude;
|
|
122056
122171
|
/** Event called immediately after map elevation request is completed. This occurs only in the case where background map terrain is displayed
|
|
122057
|
-
* with either geoid or ground offset. These require a query to
|
|
122172
|
+
* with either geoid or ground offset. These require a query to the elevation/geoid provider and therefore synching the view may be required
|
|
122058
122173
|
* when the request is completed.
|
|
122059
122174
|
* @internal
|
|
122060
122175
|
*/
|
|
122061
122176
|
onMapElevationLoaded = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
122062
|
-
/** The offset between sea level and the geodetic ellipsoid. This will return undefined only if the request for the offset
|
|
122177
|
+
/** The offset between sea level and the geodetic ellipsoid. This will return undefined only if the request for the offset
|
|
122063
122178
|
* is required, and in this case the [[onMapElevationLoaded]] event is raised when the request is completed.
|
|
122064
122179
|
* @internal
|
|
122065
122180
|
*/
|
|
122066
122181
|
get geodeticToSeaLevel() {
|
|
122067
122182
|
if (undefined === this._geodeticToSeaLevel) {
|
|
122068
|
-
|
|
122069
|
-
|
|
122183
|
+
if (!this.isGeoLocated) {
|
|
122184
|
+
this._geodeticToSeaLevel = 0.0;
|
|
122185
|
+
return 0.0;
|
|
122186
|
+
}
|
|
122187
|
+
const carto = this.spatialToCartographicFromEcef(this.projectExtents.center);
|
|
122188
|
+
this._geodeticToSeaLevel = _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.geoidProvider.getGeodeticToSeaLevelOffset(carto);
|
|
122070
122189
|
this._geodeticToSeaLevel.then((geodeticToSeaLevel) => {
|
|
122071
122190
|
this._geodeticToSeaLevel = geodeticToSeaLevel;
|
|
122072
122191
|
this.onMapElevationLoaded.raiseEvent(this);
|
|
@@ -122074,14 +122193,18 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
122074
122193
|
}
|
|
122075
122194
|
return ("number" === typeof this._geodeticToSeaLevel) ? this._geodeticToSeaLevel : undefined;
|
|
122076
122195
|
}
|
|
122077
|
-
/** The altitude (geodetic) at the project center. This will return undefined only if the request for the
|
|
122196
|
+
/** The altitude (geodetic) at the project center. This will return undefined only if the request for the altitude
|
|
122078
122197
|
* is required, and in this case the [[onMapElevationLoaded]] event is raised when the request is completed.
|
|
122079
122198
|
* @internal
|
|
122080
122199
|
*/
|
|
122081
122200
|
get projectCenterAltitude() {
|
|
122082
122201
|
if (undefined === this._projectCenterAltitude) {
|
|
122083
|
-
|
|
122084
|
-
|
|
122202
|
+
if (!this.isGeoLocated) {
|
|
122203
|
+
this._projectCenterAltitude = 0.0;
|
|
122204
|
+
return 0.0;
|
|
122205
|
+
}
|
|
122206
|
+
const carto = this.spatialToCartographicFromEcef(this.projectExtents.center);
|
|
122207
|
+
this._projectCenterAltitude = _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.elevationProvider.getHeight(carto);
|
|
122085
122208
|
this._projectCenterAltitude.then((projectCenterAltitude) => {
|
|
122086
122209
|
this._projectCenterAltitude = projectCenterAltitude;
|
|
122087
122210
|
this.onMapElevationLoaded.raiseEvent(this);
|
|
@@ -122104,13 +122227,13 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
122104
122227
|
*/
|
|
122105
122228
|
get schemaContext() {
|
|
122106
122229
|
if (this._schemaContext === undefined) {
|
|
122107
|
-
const context = new
|
|
122230
|
+
const context = new _itwin_ecschema_metadata__WEBPACK_IMPORTED_MODULE_14__.SchemaContext();
|
|
122108
122231
|
// While incremental schema loading is the prefered way to load schemas on the frontend, there might be cases where clients
|
|
122109
122232
|
// would want to use their own locaters, so if incremenal schema loading is disabled, the locater is not registered.
|
|
122110
122233
|
if (_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.isIncrementalSchemaLoadingEnabled) {
|
|
122111
|
-
context.addLocater(new
|
|
122234
|
+
context.addLocater(new _itwin_ecschema_rpcinterface_common__WEBPACK_IMPORTED_MODULE_15__.RpcIncrementalSchemaLocater(this._getRpcProps()));
|
|
122112
122235
|
}
|
|
122113
|
-
context.addFallbackLocater(new
|
|
122236
|
+
context.addFallbackLocater(new _itwin_ecschema_rpcinterface_common__WEBPACK_IMPORTED_MODULE_15__.ECSchemaRpcLocater(this._getRpcProps()));
|
|
122114
122237
|
this._schemaContext = context;
|
|
122115
122238
|
}
|
|
122116
122239
|
return this._schemaContext;
|
|
@@ -122210,7 +122333,7 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
122210
122333
|
// PRAGMAs. If the serialized result exceeds the memory threshold, the response is marked
|
|
122211
122334
|
// "Partial", and a `for await` loop would re-issue the same PRAGMA forever since PRAGMAs
|
|
122212
122335
|
// don't support OFFSET-based pagination.
|
|
122213
|
-
const reader = this.createQueryReader(`PRAGMA schema_view(${
|
|
122336
|
+
const reader = this.createQueryReader(`PRAGMA schema_view(${_itwin_ecschema_metadata__WEBPACK_IMPORTED_MODULE_14__.schemaViewFormatVersion})`);
|
|
122214
122337
|
const result = await reader.next();
|
|
122215
122338
|
if (result.done)
|
|
122216
122339
|
throw new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelError(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.BadRequest, "PRAGMA schema_view returned no rows");
|
|
@@ -122218,7 +122341,7 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
122218
122341
|
const token = result.value.schemaToken;
|
|
122219
122342
|
if (data === undefined || data === null)
|
|
122220
122343
|
throw new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelError(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.BadRequest, "PRAGMA schema_view returned null data column");
|
|
122221
|
-
return
|
|
122344
|
+
return _itwin_ecschema_metadata__WEBPACK_IMPORTED_MODULE_14__.SchemaView.fromBinary(data, token ?? "");
|
|
122222
122345
|
}
|
|
122223
122346
|
}
|
|
122224
122347
|
/** A connection that exists without an iModel. Useful for connecting to Reality Data services.
|
|
@@ -122287,10 +122410,10 @@ class SnapshotConnection extends IModelConnection {
|
|
|
122287
122410
|
* @note This method is intended for desktop or mobile applications and is not available for web applications.
|
|
122288
122411
|
*/
|
|
122289
122412
|
static async openFile(filePath) {
|
|
122290
|
-
if (!
|
|
122413
|
+
if (!_IpcApp__WEBPACK_IMPORTED_MODULE_13__.IpcApp.isValid)
|
|
122291
122414
|
throw new Error("IPC required to open a snapshot");
|
|
122292
122415
|
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logTrace(loggerCategory, "SnapshotConnection.openFile", () => ({ filePath }));
|
|
122293
|
-
const connectionProps = await
|
|
122416
|
+
const connectionProps = await _IpcApp__WEBPACK_IMPORTED_MODULE_13__.IpcApp.appFunctionIpc.openSnapshot(filePath);
|
|
122294
122417
|
const connection = new SnapshotConnection(connectionProps);
|
|
122295
122418
|
IModelConnection.onOpen.raiseEvent(connection);
|
|
122296
122419
|
return connection;
|
|
@@ -122321,7 +122444,7 @@ class SnapshotConnection extends IModelConnection {
|
|
|
122321
122444
|
this.beforeClose();
|
|
122322
122445
|
try {
|
|
122323
122446
|
if (!this.isRemote) {
|
|
122324
|
-
await
|
|
122447
|
+
await _IpcApp__WEBPACK_IMPORTED_MODULE_13__.IpcApp.appFunctionIpc.closeIModel(this.key);
|
|
122325
122448
|
}
|
|
122326
122449
|
}
|
|
122327
122450
|
finally {
|
|
@@ -122847,7 +122970,7 @@ class SnapshotConnection extends IModelConnection {
|
|
|
122847
122970
|
if (iModel.isClosed)
|
|
122848
122971
|
return [];
|
|
122849
122972
|
const params = { ...queryParams }; // make a copy
|
|
122850
|
-
params.from = queryParams.from ||
|
|
122973
|
+
params.from = queryParams.from || _ViewState__WEBPACK_IMPORTED_MODULE_11__.ViewState.classFullName; // use "BisCore:ViewDefinition" as default class name
|
|
122851
122974
|
params.where = queryParams.where || "";
|
|
122852
122975
|
if (queryParams.wantPrivate === undefined || !queryParams.wantPrivate) {
|
|
122853
122976
|
if (params.where.length > 0)
|
|
@@ -125778,7 +125901,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
125778
125901
|
|
|
125779
125902
|
|
|
125780
125903
|
/** This class provides access to the reality data provider services.
|
|
125781
|
-
* It encapsulates access to a reality data
|
|
125904
|
+
* It encapsulates access to a reality data whether it be from local access, http or ProjectWise Context Share.
|
|
125782
125905
|
* The key provided at the creation determines if this is ProjectWise Context Share reference.
|
|
125783
125906
|
* If not then it is considered local (ex: C:\temp\TileRoot.json) or plain http access (http://someserver.com/data/TileRoot.json)
|
|
125784
125907
|
* There is a one to one relationship between a reality data and the instances of present class.
|
|
@@ -125869,10 +125992,28 @@ class RealityDataSourceCesiumIonAssetImpl {
|
|
|
125869
125992
|
// The following is only if the reality data is not stored on PW Context Share.
|
|
125870
125993
|
const cesiumAsset = _tile_internal__WEBPACK_IMPORTED_MODULE_3__.CesiumIonAssetProvider.parseCesiumUrl(url);
|
|
125871
125994
|
if (cesiumAsset) {
|
|
125872
|
-
|
|
125873
|
-
|
|
125874
|
-
|
|
125875
|
-
|
|
125995
|
+
let resolvedToken;
|
|
125996
|
+
let resolvedUrl;
|
|
125997
|
+
if (cesiumAsset.key) {
|
|
125998
|
+
// Legacy key-bearing URL (e.g. persisted saved view) - authenticate directly with the embedded Ion key.
|
|
125999
|
+
// Such URLs are intentionally exempt from the cesiumAccess-over-cesiumIonKey precedence rule and are not
|
|
126000
|
+
// routed through a registered CesiumAccessClient; see [[CesiumAccessClient]].
|
|
126001
|
+
const tokenAndUrl = await (0,_tile_internal__WEBPACK_IMPORTED_MODULE_3__.getCesiumAccessTokenAndEndpointUrl)(`${cesiumAsset.id}`, cesiumAsset.key);
|
|
126002
|
+
resolvedToken = tokenAndUrl.token;
|
|
126003
|
+
resolvedUrl = tokenAndUrl.url;
|
|
126004
|
+
}
|
|
126005
|
+
else {
|
|
126006
|
+
// delegate to the registered CesiumAccessClient
|
|
126007
|
+
const client = (0,_tile_internal__WEBPACK_IMPORTED_MODULE_3__.getCesiumAccessClient)();
|
|
126008
|
+
const endpoint = await client.getAssetEndpoint(`${cesiumAsset.id}`, iTwinId);
|
|
126009
|
+
if (endpoint) {
|
|
126010
|
+
resolvedToken = endpoint.accessToken;
|
|
126011
|
+
resolvedUrl = endpoint.url;
|
|
126012
|
+
}
|
|
126013
|
+
}
|
|
126014
|
+
if (resolvedUrl && resolvedToken) {
|
|
126015
|
+
url = resolvedUrl;
|
|
126016
|
+
this._requestAuthorization = `Bearer ${resolvedToken}`;
|
|
125876
126017
|
}
|
|
125877
126018
|
}
|
|
125878
126019
|
// The following is only if the reality data is not stored on PW Context Share.
|
|
@@ -129754,7 +129895,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
129754
129895
|
/* harmony export */ viewGlobalLocation: () => (/* binding */ viewGlobalLocation)
|
|
129755
129896
|
/* harmony export */ });
|
|
129756
129897
|
/* harmony import */ var _itwin_core_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
|
|
129757
|
-
/* harmony import */ var
|
|
129898
|
+
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
129758
129899
|
/* harmony import */ var _ViewState__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ViewState */ "../../core/frontend/lib/esm/ViewState.js");
|
|
129759
129900
|
/*---------------------------------------------------------------------------------------------
|
|
129760
129901
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -129794,18 +129935,15 @@ function metersToRange(inputMeters, minimumOutput = 500, maximumOutput = 3000, m
|
|
|
129794
129935
|
}
|
|
129795
129936
|
return output;
|
|
129796
129937
|
}
|
|
129797
|
-
/** Queries the actual elevation of a cartographic point on the globe
|
|
129938
|
+
/** Queries the actual elevation of a cartographic point on the globe.
|
|
129798
129939
|
* @public
|
|
129799
129940
|
* @extensions
|
|
129800
129941
|
*/
|
|
129801
129942
|
async function queryTerrainElevationOffset(viewport, carto) {
|
|
129802
|
-
const bingElevationProvider = new _tile_internal__WEBPACK_IMPORTED_MODULE_1__.BingElevationProvider();
|
|
129803
129943
|
if (viewport && viewport.view instanceof _ViewState__WEBPACK_IMPORTED_MODULE_2__.ViewState3d && viewport.iModel.isGeoLocated) {
|
|
129804
129944
|
const view3d = viewport.view;
|
|
129805
129945
|
if (view3d.displayStyle.displayTerrain) {
|
|
129806
|
-
|
|
129807
|
-
if (elevationOffset !== undefined)
|
|
129808
|
-
return elevationOffset;
|
|
129946
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.elevationProvider.getHeight(carto, view3d.globeMode === _itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.GlobeMode.Ellipsoid);
|
|
129809
129947
|
}
|
|
129810
129948
|
}
|
|
129811
129949
|
return 0;
|
|
@@ -144455,578 +144593,582 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
144455
144593
|
/* harmony export */ ACSDisplayOptions: () => (/* reexport safe */ _AuxCoordSys__WEBPACK_IMPORTED_MODULE_2__.ACSDisplayOptions),
|
|
144456
144594
|
/* harmony export */ ACSType: () => (/* reexport safe */ _AuxCoordSys__WEBPACK_IMPORTED_MODULE_2__.ACSType),
|
|
144457
144595
|
/* harmony export */ AccuDraw: () => (/* reexport safe */ _AccuDraw__WEBPACK_IMPORTED_MODULE_0__.AccuDraw),
|
|
144458
|
-
/* harmony export */ AccuDrawChangeModeTool: () => (/* reexport safe */
|
|
144596
|
+
/* harmony export */ AccuDrawChangeModeTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawChangeModeTool),
|
|
144459
144597
|
/* harmony export */ AccuDrawFlags: () => (/* reexport safe */ _AccuDraw__WEBPACK_IMPORTED_MODULE_0__.AccuDrawFlags),
|
|
144460
144598
|
/* harmony export */ AccuDrawHintBuilder: () => (/* reexport safe */ _AccuDraw__WEBPACK_IMPORTED_MODULE_0__.AccuDrawHintBuilder),
|
|
144461
|
-
/* harmony export */ AccuDrawRotate90AboutXTool: () => (/* reexport safe */
|
|
144462
|
-
/* harmony export */ AccuDrawRotate90AboutYTool: () => (/* reexport safe */
|
|
144463
|
-
/* harmony export */ AccuDrawRotate90AboutZTool: () => (/* reexport safe */
|
|
144464
|
-
/* harmony export */ AccuDrawRotateAxesTool: () => (/* reexport safe */
|
|
144465
|
-
/* harmony export */ AccuDrawRotateCycleTool: () => (/* reexport safe */
|
|
144466
|
-
/* harmony export */ AccuDrawRotateElementTool: () => (/* reexport safe */
|
|
144467
|
-
/* harmony export */ AccuDrawRotateFrontTool: () => (/* reexport safe */
|
|
144468
|
-
/* harmony export */ AccuDrawRotateSideTool: () => (/* reexport safe */
|
|
144469
|
-
/* harmony export */ AccuDrawRotateTopTool: () => (/* reexport safe */
|
|
144470
|
-
/* harmony export */ AccuDrawRotateViewTool: () => (/* reexport safe */
|
|
144471
|
-
/* harmony export */ AccuDrawSessionToggleTool: () => (/* reexport safe */
|
|
144472
|
-
/* harmony export */ AccuDrawSetLockAngleTool: () => (/* reexport safe */
|
|
144473
|
-
/* harmony export */ AccuDrawSetLockDistanceTool: () => (/* reexport safe */
|
|
144474
|
-
/* harmony export */ AccuDrawSetLockIndexTool: () => (/* reexport safe */
|
|
144475
|
-
/* harmony export */ AccuDrawSetLockSmartTool: () => (/* reexport safe */
|
|
144476
|
-
/* harmony export */ AccuDrawSetLockXTool: () => (/* reexport safe */
|
|
144477
|
-
/* harmony export */ AccuDrawSetLockYTool: () => (/* reexport safe */
|
|
144478
|
-
/* harmony export */ AccuDrawSetLockZTool: () => (/* reexport safe */
|
|
144479
|
-
/* harmony export */ AccuDrawSetOriginTool: () => (/* reexport safe */
|
|
144480
|
-
/* harmony export */ AccuDrawShortcuts: () => (/* reexport safe */
|
|
144481
|
-
/* harmony export */ AccuDrawSuspendToggleTool: () => (/* reexport safe */
|
|
144482
|
-
/* harmony export */ AccuDrawViewportUI: () => (/* reexport safe */
|
|
144599
|
+
/* harmony export */ AccuDrawRotate90AboutXTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawRotate90AboutXTool),
|
|
144600
|
+
/* harmony export */ AccuDrawRotate90AboutYTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawRotate90AboutYTool),
|
|
144601
|
+
/* harmony export */ AccuDrawRotate90AboutZTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawRotate90AboutZTool),
|
|
144602
|
+
/* harmony export */ AccuDrawRotateAxesTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawRotateAxesTool),
|
|
144603
|
+
/* harmony export */ AccuDrawRotateCycleTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawRotateCycleTool),
|
|
144604
|
+
/* harmony export */ AccuDrawRotateElementTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawRotateElementTool),
|
|
144605
|
+
/* harmony export */ AccuDrawRotateFrontTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawRotateFrontTool),
|
|
144606
|
+
/* harmony export */ AccuDrawRotateSideTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawRotateSideTool),
|
|
144607
|
+
/* harmony export */ AccuDrawRotateTopTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawRotateTopTool),
|
|
144608
|
+
/* harmony export */ AccuDrawRotateViewTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawRotateViewTool),
|
|
144609
|
+
/* harmony export */ AccuDrawSessionToggleTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawSessionToggleTool),
|
|
144610
|
+
/* harmony export */ AccuDrawSetLockAngleTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawSetLockAngleTool),
|
|
144611
|
+
/* harmony export */ AccuDrawSetLockDistanceTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawSetLockDistanceTool),
|
|
144612
|
+
/* harmony export */ AccuDrawSetLockIndexTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawSetLockIndexTool),
|
|
144613
|
+
/* harmony export */ AccuDrawSetLockSmartTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawSetLockSmartTool),
|
|
144614
|
+
/* harmony export */ AccuDrawSetLockXTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawSetLockXTool),
|
|
144615
|
+
/* harmony export */ AccuDrawSetLockYTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawSetLockYTool),
|
|
144616
|
+
/* harmony export */ AccuDrawSetLockZTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawSetLockZTool),
|
|
144617
|
+
/* harmony export */ AccuDrawSetOriginTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawSetOriginTool),
|
|
144618
|
+
/* harmony export */ AccuDrawShortcuts: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawShortcuts),
|
|
144619
|
+
/* harmony export */ AccuDrawSuspendToggleTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawSuspendToggleTool),
|
|
144620
|
+
/* harmony export */ AccuDrawViewportUI: () => (/* reexport safe */ _tools_AccuDrawViewportUI__WEBPACK_IMPORTED_MODULE_103__.AccuDrawViewportUI),
|
|
144483
144621
|
/* harmony export */ AccuSnap: () => (/* reexport safe */ _AccuSnap__WEBPACK_IMPORTED_MODULE_1__.AccuSnap),
|
|
144484
144622
|
/* harmony export */ AccudrawData: () => (/* reexport safe */ _AccuDraw__WEBPACK_IMPORTED_MODULE_0__.AccudrawData),
|
|
144485
|
-
/* harmony export */ ActivityMessageDetails: () => (/* reexport safe */
|
|
144486
|
-
/* harmony export */ ActivityMessageEndReason: () => (/* reexport safe */
|
|
144487
|
-
/* harmony export */ AlternateUnitLabelsRegistry: () => (/* reexport safe */
|
|
144488
|
-
/* harmony export */ AngleDescription: () => (/* reexport safe */
|
|
144489
|
-
/* harmony export */ AnimationNodeId: () => (/* reexport safe */
|
|
144490
|
-
/* harmony export */ ArcGISImageryProvider: () => (/* reexport safe */
|
|
144491
|
-
/* harmony export */ ArcGisErrorCode: () => (/* reexport safe */
|
|
144492
|
-
/* harmony export */ ArcGisGeometryReaderJSON: () => (/* reexport safe */
|
|
144493
|
-
/* harmony export */ ArcGisUtilities: () => (/* reexport safe */
|
|
144623
|
+
/* harmony export */ ActivityMessageDetails: () => (/* reexport safe */ _NotificationManager__WEBPACK_IMPORTED_MODULE_45__.ActivityMessageDetails),
|
|
144624
|
+
/* harmony export */ ActivityMessageEndReason: () => (/* reexport safe */ _NotificationManager__WEBPACK_IMPORTED_MODULE_45__.ActivityMessageEndReason),
|
|
144625
|
+
/* harmony export */ AlternateUnitLabelsRegistry: () => (/* reexport safe */ _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_74__.AlternateUnitLabelsRegistry),
|
|
144626
|
+
/* harmony export */ AngleDescription: () => (/* reexport safe */ _properties_AngleDescription__WEBPACK_IMPORTED_MODULE_71__.AngleDescription),
|
|
144627
|
+
/* harmony export */ AnimationNodeId: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.AnimationNodeId),
|
|
144628
|
+
/* harmony export */ ArcGISImageryProvider: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.ArcGISImageryProvider),
|
|
144629
|
+
/* harmony export */ ArcGisErrorCode: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.ArcGisErrorCode),
|
|
144630
|
+
/* harmony export */ ArcGisGeometryReaderJSON: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.ArcGisGeometryReaderJSON),
|
|
144631
|
+
/* harmony export */ ArcGisUtilities: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.ArcGisUtilities),
|
|
144494
144632
|
/* harmony export */ AuxCoordSystem2dState: () => (/* reexport safe */ _AuxCoordSys__WEBPACK_IMPORTED_MODULE_2__.AuxCoordSystem2dState),
|
|
144495
144633
|
/* harmony export */ AuxCoordSystem3dState: () => (/* reexport safe */ _AuxCoordSys__WEBPACK_IMPORTED_MODULE_2__.AuxCoordSystem3dState),
|
|
144496
144634
|
/* harmony export */ AuxCoordSystemSpatialState: () => (/* reexport safe */ _AuxCoordSys__WEBPACK_IMPORTED_MODULE_2__.AuxCoordSystemSpatialState),
|
|
144497
144635
|
/* harmony export */ AuxCoordSystemState: () => (/* reexport safe */ _AuxCoordSys__WEBPACK_IMPORTED_MODULE_2__.AuxCoordSystemState),
|
|
144498
|
-
/* harmony export */ BackgroundMapGeometry: () => (/* reexport safe */
|
|
144499
|
-
/* harmony export */ BaseUnitFormattingSettingsProvider: () => (/* reexport safe */
|
|
144500
|
-
/* harmony export */ BeButton: () => (/* reexport safe */
|
|
144501
|
-
/* harmony export */ BeButtonEvent: () => (/* reexport safe */
|
|
144502
|
-
/* harmony export */ BeButtonState: () => (/* reexport safe */
|
|
144503
|
-
/* harmony export */ BeModifierKeys: () => (/* reexport safe */
|
|
144504
|
-
/* harmony export */ BeTouchEvent: () => (/* reexport safe */
|
|
144505
|
-
/* harmony export */ BeWheelEvent: () => (/* reexport safe */
|
|
144506
|
-
/* harmony export */ BingElevationProvider: () => (/* reexport safe */
|
|
144636
|
+
/* harmony export */ BackgroundMapGeometry: () => (/* reexport safe */ _BackgroundMapGeometry__WEBPACK_IMPORTED_MODULE_118__.BackgroundMapGeometry),
|
|
144637
|
+
/* harmony export */ BaseUnitFormattingSettingsProvider: () => (/* reexport safe */ _quantity_formatting_BaseUnitFormattingSettingsProvider__WEBPACK_IMPORTED_MODULE_75__.BaseUnitFormattingSettingsProvider),
|
|
144638
|
+
/* harmony export */ BeButton: () => (/* reexport safe */ _tools_Tool__WEBPACK_IMPORTED_MODULE_112__.BeButton),
|
|
144639
|
+
/* harmony export */ BeButtonEvent: () => (/* reexport safe */ _tools_Tool__WEBPACK_IMPORTED_MODULE_112__.BeButtonEvent),
|
|
144640
|
+
/* harmony export */ BeButtonState: () => (/* reexport safe */ _tools_Tool__WEBPACK_IMPORTED_MODULE_112__.BeButtonState),
|
|
144641
|
+
/* harmony export */ BeModifierKeys: () => (/* reexport safe */ _tools_Tool__WEBPACK_IMPORTED_MODULE_112__.BeModifierKeys),
|
|
144642
|
+
/* harmony export */ BeTouchEvent: () => (/* reexport safe */ _tools_Tool__WEBPACK_IMPORTED_MODULE_112__.BeTouchEvent),
|
|
144643
|
+
/* harmony export */ BeWheelEvent: () => (/* reexport safe */ _tools_Tool__WEBPACK_IMPORTED_MODULE_112__.BeWheelEvent),
|
|
144644
|
+
/* harmony export */ BingElevationProvider: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.BingElevationProvider),
|
|
144507
144645
|
/* harmony export */ BingLocationProvider: () => (/* reexport safe */ _BingLocation__WEBPACK_IMPORTED_MODULE_3__.BingLocationProvider),
|
|
144508
|
-
/* harmony export */ BlankConnection: () => (/* reexport safe */
|
|
144646
|
+
/* harmony export */ BlankConnection: () => (/* reexport safe */ _IModelConnection__WEBPACK_IMPORTED_MODULE_34__.BlankConnection),
|
|
144509
144647
|
/* harmony export */ BriefcaseConnection: () => (/* reexport safe */ _BriefcaseConnection__WEBPACK_IMPORTED_MODULE_4__.BriefcaseConnection),
|
|
144510
144648
|
/* harmony export */ BriefcaseEditorToolSettings: () => (/* reexport safe */ _BriefcaseConnection__WEBPACK_IMPORTED_MODULE_4__.BriefcaseEditorToolSettings),
|
|
144511
|
-
/* harmony export */ BriefcaseNotificationHandler: () => (/* reexport safe */
|
|
144512
|
-
/* harmony export */ BriefcaseTxns: () => (/* reexport safe */
|
|
144513
|
-
/* harmony export */ CatalogConnection: () => (/* reexport safe */
|
|
144514
|
-
/* harmony export */ CategorySelectorState: () => (/* reexport safe */
|
|
144515
|
-
/* harmony export */ ChangeFlag: () => (/* reexport safe */
|
|
144516
|
-
/* harmony export */ ChangeFlags: () => (/* reexport safe */
|
|
144517
|
-
/* harmony export */ CheckpointConnection: () => (/* reexport safe */
|
|
144518
|
-
/* harmony export */ ClipEventType: () => (/* reexport safe */
|
|
144519
|
-
/* harmony export */ Cluster: () => (/* reexport safe */
|
|
144649
|
+
/* harmony export */ BriefcaseNotificationHandler: () => (/* reexport safe */ _BriefcaseTxns__WEBPACK_IMPORTED_MODULE_6__.BriefcaseNotificationHandler),
|
|
144650
|
+
/* harmony export */ BriefcaseTxns: () => (/* reexport safe */ _BriefcaseTxns__WEBPACK_IMPORTED_MODULE_6__.BriefcaseTxns),
|
|
144651
|
+
/* harmony export */ CatalogConnection: () => (/* reexport safe */ _CatalogConnection__WEBPACK_IMPORTED_MODULE_7__.CatalogConnection),
|
|
144652
|
+
/* harmony export */ CategorySelectorState: () => (/* reexport safe */ _CategorySelectorState__WEBPACK_IMPORTED_MODULE_8__.CategorySelectorState),
|
|
144653
|
+
/* harmony export */ ChangeFlag: () => (/* reexport safe */ _ChangeFlags__WEBPACK_IMPORTED_MODULE_10__.ChangeFlag),
|
|
144654
|
+
/* harmony export */ ChangeFlags: () => (/* reexport safe */ _ChangeFlags__WEBPACK_IMPORTED_MODULE_10__.ChangeFlags),
|
|
144655
|
+
/* harmony export */ CheckpointConnection: () => (/* reexport safe */ _CheckpointConnection__WEBPACK_IMPORTED_MODULE_11__.CheckpointConnection),
|
|
144656
|
+
/* harmony export */ ClipEventType: () => (/* reexport safe */ _tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_104__.ClipEventType),
|
|
144657
|
+
/* harmony export */ Cluster: () => (/* reexport safe */ _Marker__WEBPACK_IMPORTED_MODULE_39__.Cluster),
|
|
144520
144658
|
/* harmony export */ CompassMode: () => (/* reexport safe */ _AccuDraw__WEBPACK_IMPORTED_MODULE_0__.CompassMode),
|
|
144521
144659
|
/* harmony export */ ContextMode: () => (/* reexport safe */ _AccuDraw__WEBPACK_IMPORTED_MODULE_0__.ContextMode),
|
|
144522
|
-
/* harmony export */ ContextRealityModelState: () => (/* reexport safe */
|
|
144660
|
+
/* harmony export */ ContextRealityModelState: () => (/* reexport safe */ _ContextRealityModelState__WEBPACK_IMPORTED_MODULE_13__.ContextRealityModelState),
|
|
144523
144661
|
/* harmony export */ ContextRotationId: () => (/* reexport safe */ _AccuDraw__WEBPACK_IMPORTED_MODULE_0__.ContextRotationId),
|
|
144524
|
-
/* harmony export */ CoordSource: () => (/* reexport safe */
|
|
144525
|
-
/* harmony export */ CoordSystem: () => (/* reexport safe */
|
|
144526
|
-
/* harmony export */ CoordinateConverter: () => (/* reexport safe */
|
|
144527
|
-
/* harmony export */ CoordinateLockOverrides: () => (/* reexport safe */
|
|
144528
|
-
/* harmony export */ CoreTools: () => (/* reexport safe */
|
|
144529
|
-
/* harmony export */ CurrentInputState: () => (/* reexport safe */
|
|
144662
|
+
/* harmony export */ CoordSource: () => (/* reexport safe */ _tools_Tool__WEBPACK_IMPORTED_MODULE_112__.CoordSource),
|
|
144663
|
+
/* harmony export */ CoordSystem: () => (/* reexport safe */ _CoordSystem__WEBPACK_IMPORTED_MODULE_14__.CoordSystem),
|
|
144664
|
+
/* harmony export */ CoordinateConverter: () => (/* reexport safe */ _GeoServices__WEBPACK_IMPORTED_MODULE_29__.CoordinateConverter),
|
|
144665
|
+
/* harmony export */ CoordinateLockOverrides: () => (/* reexport safe */ _tools_Tool__WEBPACK_IMPORTED_MODULE_112__.CoordinateLockOverrides),
|
|
144666
|
+
/* harmony export */ CoreTools: () => (/* reexport safe */ _tools_Tool__WEBPACK_IMPORTED_MODULE_112__.CoreTools),
|
|
144667
|
+
/* harmony export */ CurrentInputState: () => (/* reexport safe */ _tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_114__.CurrentInputState),
|
|
144530
144668
|
/* harmony export */ CurrentState: () => (/* reexport safe */ _AccuDraw__WEBPACK_IMPORTED_MODULE_0__.CurrentState),
|
|
144531
|
-
/* harmony export */ DebugShaderFile: () => (/* reexport safe */
|
|
144532
|
-
/* harmony export */ DecorateContext: () => (/* reexport safe */
|
|
144533
|
-
/* harmony export */ Decorations: () => (/* reexport safe */
|
|
144534
|
-
/* harmony export */ DecorationsCache: () => (/* reexport safe */
|
|
144535
|
-
/* harmony export */ DefaultViewTouchTool: () => (/* reexport safe */
|
|
144536
|
-
/* harmony export */ DefineACSByElementTool: () => (/* reexport safe */
|
|
144537
|
-
/* harmony export */ DefineACSByPointsTool: () => (/* reexport safe */
|
|
144538
|
-
/* harmony export */ DepthPointSource: () => (/* reexport safe */
|
|
144539
|
-
/* harmony export */ DevTools: () => (/* reexport safe */
|
|
144540
|
-
/* harmony export */ DisclosedTileTreeSet: () => (/* reexport safe */
|
|
144541
|
-
/* harmony export */ DisplayStyle2dState: () => (/* reexport safe */
|
|
144542
|
-
/* harmony export */ DisplayStyle3dState: () => (/* reexport safe */
|
|
144543
|
-
/* harmony export */ DisplayStyleState: () => (/* reexport safe */
|
|
144544
|
-
/* harmony export */ DrawingModelState: () => (/* reexport safe */
|
|
144545
|
-
/* harmony export */ DrawingViewState: () => (/* reexport safe */
|
|
144546
|
-
/* harmony export */ DynamicsContext: () => (/* reexport safe */
|
|
144547
|
-
/* harmony export */ ELEMENT_MARKED_FOR_REMOVAL: () => (/* reexport safe */
|
|
144548
|
-
/* harmony export */ EditManipulator: () => (/* reexport safe */
|
|
144549
|
-
/* harmony export */ ElementAgenda: () => (/* reexport safe */
|
|
144550
|
-
/* harmony export */ ElementLocateManager: () => (/* reexport safe */
|
|
144551
|
-
/* harmony export */ ElementPicker: () => (/* reexport safe */
|
|
144552
|
-
/* harmony export */ ElementSetTool: () => (/* reexport safe */
|
|
144553
|
-
/* harmony export */ ElementState: () => (/* reexport safe */
|
|
144554
|
-
/* harmony export */ EllipsoidTerrainProvider: () => (/* reexport safe */
|
|
144555
|
-
/* harmony export */ EmphasizeElements: () => (/* reexport safe */
|
|
144556
|
-
/* harmony export */ EngineeringLengthDescription: () => (/* reexport safe */
|
|
144557
|
-
/* harmony export */ EntityState: () => (/* reexport safe */
|
|
144558
|
-
/* harmony export */ EnvironmentDecorations: () => (/* reexport safe */
|
|
144559
|
-
/* harmony export */ EventController: () => (/* reexport safe */
|
|
144560
|
-
/* harmony export */ EventHandled: () => (/* reexport safe */
|
|
144561
|
-
/* harmony export */ FeatureGeometryBaseRenderer: () => (/* reexport safe */
|
|
144562
|
-
/* harmony export */ FeatureGraphicsRenderer: () => (/* reexport safe */
|
|
144563
|
-
/* harmony export */ FeatureSymbology: () => (/* reexport safe */
|
|
144564
|
-
/* harmony export */ FitViewTool: () => (/* reexport safe */
|
|
144669
|
+
/* harmony export */ DebugShaderFile: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.DebugShaderFile),
|
|
144670
|
+
/* harmony export */ DecorateContext: () => (/* reexport safe */ _ViewContext__WEBPACK_IMPORTED_MODULE_59__.DecorateContext),
|
|
144671
|
+
/* harmony export */ Decorations: () => (/* reexport safe */ _render_Decorations__WEBPACK_IMPORTED_MODULE_81__.Decorations),
|
|
144672
|
+
/* harmony export */ DecorationsCache: () => (/* reexport safe */ _DecorationsCache__WEBPACK_IMPORTED_MODULE_15__.DecorationsCache),
|
|
144673
|
+
/* harmony export */ DefaultViewTouchTool: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.DefaultViewTouchTool),
|
|
144674
|
+
/* harmony export */ DefineACSByElementTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.DefineACSByElementTool),
|
|
144675
|
+
/* harmony export */ DefineACSByPointsTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.DefineACSByPointsTool),
|
|
144676
|
+
/* harmony export */ DepthPointSource: () => (/* reexport safe */ _Viewport__WEBPACK_IMPORTED_MODULE_63__.DepthPointSource),
|
|
144677
|
+
/* harmony export */ DevTools: () => (/* reexport safe */ _DevTools__WEBPACK_IMPORTED_MODULE_16__.DevTools),
|
|
144678
|
+
/* harmony export */ DisclosedTileTreeSet: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.DisclosedTileTreeSet),
|
|
144679
|
+
/* harmony export */ DisplayStyle2dState: () => (/* reexport safe */ _DisplayStyleState__WEBPACK_IMPORTED_MODULE_17__.DisplayStyle2dState),
|
|
144680
|
+
/* harmony export */ DisplayStyle3dState: () => (/* reexport safe */ _DisplayStyleState__WEBPACK_IMPORTED_MODULE_17__.DisplayStyle3dState),
|
|
144681
|
+
/* harmony export */ DisplayStyleState: () => (/* reexport safe */ _DisplayStyleState__WEBPACK_IMPORTED_MODULE_17__.DisplayStyleState),
|
|
144682
|
+
/* harmony export */ DrawingModelState: () => (/* reexport safe */ _ModelState__WEBPACK_IMPORTED_MODULE_41__.DrawingModelState),
|
|
144683
|
+
/* harmony export */ DrawingViewState: () => (/* reexport safe */ _DrawingViewState__WEBPACK_IMPORTED_MODULE_18__.DrawingViewState),
|
|
144684
|
+
/* harmony export */ DynamicsContext: () => (/* reexport safe */ _ViewContext__WEBPACK_IMPORTED_MODULE_59__.DynamicsContext),
|
|
144685
|
+
/* harmony export */ ELEMENT_MARKED_FOR_REMOVAL: () => (/* reexport safe */ _Viewport__WEBPACK_IMPORTED_MODULE_63__.ELEMENT_MARKED_FOR_REMOVAL),
|
|
144686
|
+
/* harmony export */ EditManipulator: () => (/* reexport safe */ _tools_EditManipulator__WEBPACK_IMPORTED_MODULE_105__.EditManipulator),
|
|
144687
|
+
/* harmony export */ ElementAgenda: () => (/* reexport safe */ _tools_ElementSetTool__WEBPACK_IMPORTED_MODULE_106__.ElementAgenda),
|
|
144688
|
+
/* harmony export */ ElementLocateManager: () => (/* reexport safe */ _ElementLocateManager__WEBPACK_IMPORTED_MODULE_19__.ElementLocateManager),
|
|
144689
|
+
/* harmony export */ ElementPicker: () => (/* reexport safe */ _ElementLocateManager__WEBPACK_IMPORTED_MODULE_19__.ElementPicker),
|
|
144690
|
+
/* harmony export */ ElementSetTool: () => (/* reexport safe */ _tools_ElementSetTool__WEBPACK_IMPORTED_MODULE_106__.ElementSetTool),
|
|
144691
|
+
/* harmony export */ ElementState: () => (/* reexport safe */ _EntityState__WEBPACK_IMPORTED_MODULE_21__.ElementState),
|
|
144692
|
+
/* harmony export */ EllipsoidTerrainProvider: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.EllipsoidTerrainProvider),
|
|
144693
|
+
/* harmony export */ EmphasizeElements: () => (/* reexport safe */ _EmphasizeElements__WEBPACK_IMPORTED_MODULE_20__.EmphasizeElements),
|
|
144694
|
+
/* harmony export */ EngineeringLengthDescription: () => (/* reexport safe */ _properties_LengthDescription__WEBPACK_IMPORTED_MODULE_73__.EngineeringLengthDescription),
|
|
144695
|
+
/* harmony export */ EntityState: () => (/* reexport safe */ _EntityState__WEBPACK_IMPORTED_MODULE_21__.EntityState),
|
|
144696
|
+
/* harmony export */ EnvironmentDecorations: () => (/* reexport safe */ _EnvironmentDecorations__WEBPACK_IMPORTED_MODULE_22__.EnvironmentDecorations),
|
|
144697
|
+
/* harmony export */ EventController: () => (/* reexport safe */ _tools_EventController__WEBPACK_IMPORTED_MODULE_107__.EventController),
|
|
144698
|
+
/* harmony export */ EventHandled: () => (/* reexport safe */ _tools_Tool__WEBPACK_IMPORTED_MODULE_112__.EventHandled),
|
|
144699
|
+
/* harmony export */ FeatureGeometryBaseRenderer: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.FeatureGeometryBaseRenderer),
|
|
144700
|
+
/* harmony export */ FeatureGraphicsRenderer: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.FeatureGraphicsRenderer),
|
|
144701
|
+
/* harmony export */ FeatureSymbology: () => (/* reexport safe */ _render_FeatureSymbology__WEBPACK_IMPORTED_MODULE_82__.FeatureSymbology),
|
|
144702
|
+
/* harmony export */ FitViewTool: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.FitViewTool),
|
|
144565
144703
|
/* harmony export */ Flags: () => (/* reexport safe */ _AccuDraw__WEBPACK_IMPORTED_MODULE_0__.Flags),
|
|
144566
|
-
/* harmony export */ FlashMode: () => (/* reexport safe */
|
|
144567
|
-
/* harmony export */ FlashSettings: () => (/* reexport safe */
|
|
144568
|
-
/* harmony export */ FlyViewTool: () => (/* reexport safe */
|
|
144569
|
-
/* harmony export */ FormatsProviderManager: () => (/* reexport safe */
|
|
144570
|
-
/* harmony export */ FormattedQuantityDescription: () => (/* reexport safe */
|
|
144571
|
-
/* harmony export */ FrontendLoggerCategory: () => (/* reexport safe */
|
|
144572
|
-
/* harmony export */ Frustum2d: () => (/* reexport safe */
|
|
144573
|
-
/* harmony export */ FrustumAnimator: () => (/* reexport safe */
|
|
144574
|
-
/* harmony export */ FuzzySearch: () => (/* reexport safe */
|
|
144575
|
-
/* harmony export */ FuzzySearchResults: () => (/* reexport safe */
|
|
144576
|
-
/* harmony export */ GeoConverter: () => (/* reexport safe */
|
|
144577
|
-
/* harmony export */ GeoServices: () => (/* reexport safe */
|
|
144578
|
-
/* harmony export */ GeographicTilingScheme: () => (/* reexport safe */
|
|
144579
|
-
/* harmony export */ GeometricModel2dState: () => (/* reexport safe */
|
|
144580
|
-
/* harmony export */ GeometricModel3dState: () => (/* reexport safe */
|
|
144581
|
-
/* harmony export */ GeometricModelState: () => (/* reexport safe */
|
|
144582
|
-
/* harmony export */ GlobeAnimator: () => (/* reexport safe */
|
|
144583
|
-
/* harmony export */ GltfDataType: () => (/* reexport safe */
|
|
144584
|
-
/* harmony export */ GltfReader: () => (/* reexport safe */
|
|
144585
|
-
/* harmony export */ Google3dTilesProvider: () => (/* reexport safe */
|
|
144586
|
-
/* harmony export */ GoogleMapsDecorator: () => (/* reexport safe */
|
|
144587
|
-
/* harmony export */ GraphicAssembler: () => (/* reexport safe */
|
|
144588
|
-
/* harmony export */ GraphicBranch: () => (/* reexport safe */
|
|
144589
|
-
/* harmony export */ GraphicBuilder: () => (/* reexport safe */
|
|
144590
|
-
/* harmony export */ GraphicDescription: () => (/* reexport safe */
|
|
144591
|
-
/* harmony export */ GraphicDescriptionBuilder: () => (/* reexport safe */
|
|
144592
|
-
/* harmony export */ GraphicType: () => (/* reexport safe */
|
|
144593
|
-
/* harmony export */ GraphicalEditingScope: () => (/* reexport safe */
|
|
144594
|
-
/* harmony export */ HiliteSet: () => (/* reexport safe */
|
|
144595
|
-
/* harmony export */ HitDetail: () => (/* reexport safe */
|
|
144596
|
-
/* harmony export */ HitDetailType: () => (/* reexport safe */
|
|
144597
|
-
/* harmony export */ HitGeomType: () => (/* reexport safe */
|
|
144598
|
-
/* harmony export */ HitList: () => (/* reexport safe */
|
|
144599
|
-
/* harmony export */ HitParentGeomType: () => (/* reexport safe */
|
|
144600
|
-
/* harmony export */ HitPriority: () => (/* reexport safe */
|
|
144601
|
-
/* harmony export */ HitSource: () => (/* reexport safe */
|
|
144602
|
-
/* harmony export */ IModelApp: () => (/* reexport safe */
|
|
144603
|
-
/* harmony export */ IModelConnection: () => (/* reexport safe */
|
|
144604
|
-
/* harmony export */ IModelFrameLifecycle: () => (/* reexport safe */
|
|
144605
|
-
/* harmony export */ IModelRoutingContext: () => (/* reexport safe */
|
|
144606
|
-
/* harmony export */ IModelTileTree: () => (/* reexport safe */
|
|
144607
|
-
/* harmony export */ ITWINJS_CORE_VERSION: () => (/* reexport safe */
|
|
144608
|
-
/* harmony export */ IconSprites: () => (/* reexport safe */
|
|
144609
|
-
/* harmony export */ IdleTool: () => (/* reexport safe */
|
|
144610
|
-
/* harmony export */ ImageryMapLayerFormat: () => (/* reexport safe */
|
|
144611
|
-
/* harmony export */ ImageryMapLayerTreeReference: () => (/* reexport safe */
|
|
144612
|
-
/* harmony export */ ImageryMapTileTree: () => (/* reexport safe */
|
|
144613
|
-
/* harmony export */ ImdlReader: () => (/* reexport safe */
|
|
144614
|
-
/* harmony export */ InputCollector: () => (/* reexport safe */
|
|
144615
|
-
/* harmony export */ InputSource: () => (/* reexport safe */
|
|
144616
|
-
/* harmony export */ InstancedGraphicParams: () => (/* reexport safe */
|
|
144617
|
-
/* harmony export */ InstancedGraphicProps: () => (/* reexport safe */
|
|
144618
|
-
/* harmony export */ InteractiveTool: () => (/* reexport safe */
|
|
144619
|
-
/* harmony export */ IntersectDetail: () => (/* reexport safe */
|
|
144620
|
-
/* harmony export */ IpcApp: () => (/* reexport safe */
|
|
144704
|
+
/* harmony export */ FlashMode: () => (/* reexport safe */ _FlashSettings__WEBPACK_IMPORTED_MODULE_24__.FlashMode),
|
|
144705
|
+
/* harmony export */ FlashSettings: () => (/* reexport safe */ _FlashSettings__WEBPACK_IMPORTED_MODULE_24__.FlashSettings),
|
|
144706
|
+
/* harmony export */ FlyViewTool: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.FlyViewTool),
|
|
144707
|
+
/* harmony export */ FormatsProviderManager: () => (/* reexport safe */ _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_74__.FormatsProviderManager),
|
|
144708
|
+
/* harmony export */ FormattedQuantityDescription: () => (/* reexport safe */ _properties_FormattedQuantityDescription__WEBPACK_IMPORTED_MODULE_72__.FormattedQuantityDescription),
|
|
144709
|
+
/* harmony export */ FrontendLoggerCategory: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.FrontendLoggerCategory),
|
|
144710
|
+
/* harmony export */ Frustum2d: () => (/* reexport safe */ _Frustum2d__WEBPACK_IMPORTED_MODULE_26__.Frustum2d),
|
|
144711
|
+
/* harmony export */ FrustumAnimator: () => (/* reexport safe */ _FrustumAnimator__WEBPACK_IMPORTED_MODULE_27__.FrustumAnimator),
|
|
144712
|
+
/* harmony export */ FuzzySearch: () => (/* reexport safe */ _FuzzySearch__WEBPACK_IMPORTED_MODULE_28__.FuzzySearch),
|
|
144713
|
+
/* harmony export */ FuzzySearchResults: () => (/* reexport safe */ _FuzzySearch__WEBPACK_IMPORTED_MODULE_28__.FuzzySearchResults),
|
|
144714
|
+
/* harmony export */ GeoConverter: () => (/* reexport safe */ _GeoServices__WEBPACK_IMPORTED_MODULE_29__.GeoConverter),
|
|
144715
|
+
/* harmony export */ GeoServices: () => (/* reexport safe */ _GeoServices__WEBPACK_IMPORTED_MODULE_29__.GeoServices),
|
|
144716
|
+
/* harmony export */ GeographicTilingScheme: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.GeographicTilingScheme),
|
|
144717
|
+
/* harmony export */ GeometricModel2dState: () => (/* reexport safe */ _ModelState__WEBPACK_IMPORTED_MODULE_41__.GeometricModel2dState),
|
|
144718
|
+
/* harmony export */ GeometricModel3dState: () => (/* reexport safe */ _ModelState__WEBPACK_IMPORTED_MODULE_41__.GeometricModel3dState),
|
|
144719
|
+
/* harmony export */ GeometricModelState: () => (/* reexport safe */ _ModelState__WEBPACK_IMPORTED_MODULE_41__.GeometricModelState),
|
|
144720
|
+
/* harmony export */ GlobeAnimator: () => (/* reexport safe */ _GlobeAnimator__WEBPACK_IMPORTED_MODULE_30__.GlobeAnimator),
|
|
144721
|
+
/* harmony export */ GltfDataType: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.GltfDataType),
|
|
144722
|
+
/* harmony export */ GltfReader: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.GltfReader),
|
|
144723
|
+
/* harmony export */ Google3dTilesProvider: () => (/* reexport safe */ _RealityDataSource__WEBPACK_IMPORTED_MODULE_123__.Google3dTilesProvider),
|
|
144724
|
+
/* harmony export */ GoogleMapsDecorator: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.GoogleMapsDecorator),
|
|
144725
|
+
/* harmony export */ GraphicAssembler: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.GraphicAssembler),
|
|
144726
|
+
/* harmony export */ GraphicBranch: () => (/* reexport safe */ _render_GraphicBranch__WEBPACK_IMPORTED_MODULE_84__.GraphicBranch),
|
|
144727
|
+
/* harmony export */ GraphicBuilder: () => (/* reexport safe */ _render_GraphicBuilder__WEBPACK_IMPORTED_MODULE_85__.GraphicBuilder),
|
|
144728
|
+
/* harmony export */ GraphicDescription: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.GraphicDescription),
|
|
144729
|
+
/* harmony export */ GraphicDescriptionBuilder: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.GraphicDescriptionBuilder),
|
|
144730
|
+
/* harmony export */ GraphicType: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.GraphicType),
|
|
144731
|
+
/* harmony export */ GraphicalEditingScope: () => (/* reexport safe */ _GraphicalEditingScope__WEBPACK_IMPORTED_MODULE_31__.GraphicalEditingScope),
|
|
144732
|
+
/* harmony export */ HiliteSet: () => (/* reexport safe */ _SelectionSet__WEBPACK_IMPORTED_MODULE_48__.HiliteSet),
|
|
144733
|
+
/* harmony export */ HitDetail: () => (/* reexport safe */ _HitDetail__WEBPACK_IMPORTED_MODULE_32__.HitDetail),
|
|
144734
|
+
/* harmony export */ HitDetailType: () => (/* reexport safe */ _HitDetail__WEBPACK_IMPORTED_MODULE_32__.HitDetailType),
|
|
144735
|
+
/* harmony export */ HitGeomType: () => (/* reexport safe */ _HitDetail__WEBPACK_IMPORTED_MODULE_32__.HitGeomType),
|
|
144736
|
+
/* harmony export */ HitList: () => (/* reexport safe */ _HitDetail__WEBPACK_IMPORTED_MODULE_32__.HitList),
|
|
144737
|
+
/* harmony export */ HitParentGeomType: () => (/* reexport safe */ _HitDetail__WEBPACK_IMPORTED_MODULE_32__.HitParentGeomType),
|
|
144738
|
+
/* harmony export */ HitPriority: () => (/* reexport safe */ _HitDetail__WEBPACK_IMPORTED_MODULE_32__.HitPriority),
|
|
144739
|
+
/* harmony export */ HitSource: () => (/* reexport safe */ _HitDetail__WEBPACK_IMPORTED_MODULE_32__.HitSource),
|
|
144740
|
+
/* harmony export */ IModelApp: () => (/* reexport safe */ _IModelApp__WEBPACK_IMPORTED_MODULE_33__.IModelApp),
|
|
144741
|
+
/* harmony export */ IModelConnection: () => (/* reexport safe */ _IModelConnection__WEBPACK_IMPORTED_MODULE_34__.IModelConnection),
|
|
144742
|
+
/* harmony export */ IModelFrameLifecycle: () => (/* reexport safe */ _internal_render_webgl_IModelFrameLifecycle__WEBPACK_IMPORTED_MODULE_100__.IModelFrameLifecycle),
|
|
144743
|
+
/* harmony export */ IModelRoutingContext: () => (/* reexport safe */ _IModelRoutingContext__WEBPACK_IMPORTED_MODULE_35__.IModelRoutingContext),
|
|
144744
|
+
/* harmony export */ IModelTileTree: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.IModelTileTree),
|
|
144745
|
+
/* harmony export */ ITWINJS_CORE_VERSION: () => (/* reexport safe */ _IModelApp__WEBPACK_IMPORTED_MODULE_33__.ITWINJS_CORE_VERSION),
|
|
144746
|
+
/* harmony export */ IconSprites: () => (/* reexport safe */ _Sprites__WEBPACK_IMPORTED_MODULE_52__.IconSprites),
|
|
144747
|
+
/* harmony export */ IdleTool: () => (/* reexport safe */ _tools_IdleTool__WEBPACK_IMPORTED_MODULE_108__.IdleTool),
|
|
144748
|
+
/* harmony export */ ImageryMapLayerFormat: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.ImageryMapLayerFormat),
|
|
144749
|
+
/* harmony export */ ImageryMapLayerTreeReference: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.ImageryMapLayerTreeReference),
|
|
144750
|
+
/* harmony export */ ImageryMapTileTree: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.ImageryMapTileTree),
|
|
144751
|
+
/* harmony export */ ImdlReader: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.ImdlReader),
|
|
144752
|
+
/* harmony export */ InputCollector: () => (/* reexport safe */ _tools_Tool__WEBPACK_IMPORTED_MODULE_112__.InputCollector),
|
|
144753
|
+
/* harmony export */ InputSource: () => (/* reexport safe */ _tools_Tool__WEBPACK_IMPORTED_MODULE_112__.InputSource),
|
|
144754
|
+
/* harmony export */ InstancedGraphicParams: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.InstancedGraphicParams),
|
|
144755
|
+
/* harmony export */ InstancedGraphicProps: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.InstancedGraphicProps),
|
|
144756
|
+
/* harmony export */ InteractiveTool: () => (/* reexport safe */ _tools_Tool__WEBPACK_IMPORTED_MODULE_112__.InteractiveTool),
|
|
144757
|
+
/* harmony export */ IntersectDetail: () => (/* reexport safe */ _HitDetail__WEBPACK_IMPORTED_MODULE_32__.IntersectDetail),
|
|
144758
|
+
/* harmony export */ IpcApp: () => (/* reexport safe */ _IpcApp__WEBPACK_IMPORTED_MODULE_36__.IpcApp),
|
|
144621
144759
|
/* harmony export */ ItemField: () => (/* reexport safe */ _AccuDraw__WEBPACK_IMPORTED_MODULE_0__.ItemField),
|
|
144622
|
-
/* harmony export */ KeyinParseError: () => (/* reexport safe */
|
|
144760
|
+
/* harmony export */ KeyinParseError: () => (/* reexport safe */ _tools_Tool__WEBPACK_IMPORTED_MODULE_112__.KeyinParseError),
|
|
144623
144761
|
/* harmony export */ KeyinStatus: () => (/* reexport safe */ _AccuDraw__WEBPACK_IMPORTED_MODULE_0__.KeyinStatus),
|
|
144624
|
-
/* harmony export */ LayerTileTreeHandler: () => (/* reexport safe */
|
|
144625
|
-
/* harmony export */ LayerTileTreeReferenceHandler: () => (/* reexport safe */
|
|
144626
|
-
/* harmony export */ LengthDescription: () => (/* reexport safe */
|
|
144627
|
-
/* harmony export */ LocalExtensionProvider: () => (/* reexport safe */
|
|
144628
|
-
/* harmony export */ LocalUnitFormatProvider: () => (/* reexport safe */
|
|
144629
|
-
/* harmony export */ LocalhostIpcApp: () => (/* reexport safe */
|
|
144630
|
-
/* harmony export */ LocateAction: () => (/* reexport safe */
|
|
144631
|
-
/* harmony export */ LocateFilterStatus: () => (/* reexport safe */
|
|
144632
|
-
/* harmony export */ LocateOptions: () => (/* reexport safe */
|
|
144633
|
-
/* harmony export */ LocateResponse: () => (/* reexport safe */
|
|
144762
|
+
/* harmony export */ LayerTileTreeHandler: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.LayerTileTreeHandler),
|
|
144763
|
+
/* harmony export */ LayerTileTreeReferenceHandler: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.LayerTileTreeReferenceHandler),
|
|
144764
|
+
/* harmony export */ LengthDescription: () => (/* reexport safe */ _properties_LengthDescription__WEBPACK_IMPORTED_MODULE_73__.LengthDescription),
|
|
144765
|
+
/* harmony export */ LocalExtensionProvider: () => (/* reexport safe */ _extension_providers_LocalExtensionProvider__WEBPACK_IMPORTED_MODULE_69__.LocalExtensionProvider),
|
|
144766
|
+
/* harmony export */ LocalUnitFormatProvider: () => (/* reexport safe */ _quantity_formatting_LocalUnitFormatProvider__WEBPACK_IMPORTED_MODULE_76__.LocalUnitFormatProvider),
|
|
144767
|
+
/* harmony export */ LocalhostIpcApp: () => (/* reexport safe */ _LocalhostIpcApp__WEBPACK_IMPORTED_MODULE_121__.LocalhostIpcApp),
|
|
144768
|
+
/* harmony export */ LocateAction: () => (/* reexport safe */ _ElementLocateManager__WEBPACK_IMPORTED_MODULE_19__.LocateAction),
|
|
144769
|
+
/* harmony export */ LocateFilterStatus: () => (/* reexport safe */ _ElementLocateManager__WEBPACK_IMPORTED_MODULE_19__.LocateFilterStatus),
|
|
144770
|
+
/* harmony export */ LocateOptions: () => (/* reexport safe */ _ElementLocateManager__WEBPACK_IMPORTED_MODULE_19__.LocateOptions),
|
|
144771
|
+
/* harmony export */ LocateResponse: () => (/* reexport safe */ _ElementLocateManager__WEBPACK_IMPORTED_MODULE_19__.LocateResponse),
|
|
144634
144772
|
/* harmony export */ LockedStates: () => (/* reexport safe */ _AccuDraw__WEBPACK_IMPORTED_MODULE_0__.LockedStates),
|
|
144635
|
-
/* harmony export */ LogoDecoration: () => (/* reexport safe */
|
|
144636
|
-
/* harmony export */ LookAndMoveTool: () => (/* reexport safe */
|
|
144637
|
-
/* harmony export */ LookViewTool: () => (/* reexport safe */
|
|
144638
|
-
/* harmony export */ ManipulatorToolEvent: () => (/* reexport safe */
|
|
144639
|
-
/* harmony export */ MapCartoRectangle: () => (/* reexport safe */
|
|
144640
|
-
/* harmony export */ MapFeatureInfoRecord: () => (/* reexport safe */
|
|
144641
|
-
/* harmony export */ MapLayerFeatureRecord: () => (/* reexport safe */
|
|
144642
|
-
/* harmony export */ MapLayerFormat: () => (/* reexport safe */
|
|
144643
|
-
/* harmony export */ MapLayerFormatRegistry: () => (/* reexport safe */
|
|
144644
|
-
/* harmony export */ MapLayerImageryProvider: () => (/* reexport safe */
|
|
144645
|
-
/* harmony export */ MapLayerImageryProviderStatus: () => (/* reexport safe */
|
|
144646
|
-
/* harmony export */ MapLayerSource: () => (/* reexport safe */
|
|
144647
|
-
/* harmony export */ MapLayerSourceStatus: () => (/* reexport safe */
|
|
144648
|
-
/* harmony export */ MapLayerSources: () => (/* reexport safe */
|
|
144649
|
-
/* harmony export */ MapLayerTileTreeReference: () => (/* reexport safe */
|
|
144650
|
-
/* harmony export */ MapTile: () => (/* reexport safe */
|
|
144651
|
-
/* harmony export */ MapTileProjection: () => (/* reexport safe */
|
|
144652
|
-
/* harmony export */ MapTileTree: () => (/* reexport safe */
|
|
144653
|
-
/* harmony export */ MapTileTreeReference: () => (/* reexport safe */
|
|
144654
|
-
/* harmony export */ MapTileTreeScaleRangeVisibility: () => (/* reexport safe */
|
|
144655
|
-
/* harmony export */ MapTilingScheme: () => (/* reexport safe */
|
|
144656
|
-
/* harmony export */ MarginPercent: () => (/* reexport safe */
|
|
144657
|
-
/* harmony export */ Marker: () => (/* reexport safe */
|
|
144658
|
-
/* harmony export */ MarkerSet: () => (/* reexport safe */
|
|
144659
|
-
/* harmony export */ MeasureAreaByPointsTool: () => (/* reexport safe */
|
|
144660
|
-
/* harmony export */ MeasureAreaTool: () => (/* reexport safe */
|
|
144661
|
-
/* harmony export */ MeasureDistanceTool: () => (/* reexport safe */
|
|
144662
|
-
/* harmony export */ MeasureElementTool: () => (/* reexport safe */
|
|
144663
|
-
/* harmony export */ MeasureLengthTool: () => (/* reexport safe */
|
|
144664
|
-
/* harmony export */ MeasureLocationTool: () => (/* reexport safe */
|
|
144665
|
-
/* harmony export */ MeasureVolumeTool: () => (/* reexport safe */
|
|
144666
|
-
/* harmony export */ MessageBoxIconType: () => (/* reexport safe */
|
|
144667
|
-
/* harmony export */ MessageBoxType: () => (/* reexport safe */
|
|
144668
|
-
/* harmony export */ MessageBoxValue: () => (/* reexport safe */
|
|
144669
|
-
/* harmony export */ ModelSelectorState: () => (/* reexport safe */
|
|
144670
|
-
/* harmony export */ ModelState: () => (/* reexport safe */
|
|
144671
|
-
/* harmony export */ ModifyElementSource: () => (/* reexport safe */
|
|
144672
|
-
/* harmony export */ MutableChangeFlags: () => (/* reexport safe */
|
|
144673
|
-
/* harmony export */ NativeApp: () => (/* reexport safe */
|
|
144674
|
-
/* harmony export */ NativeAppLogger: () => (/* reexport safe */
|
|
144675
|
-
/* harmony export */ NoRenderApp: () => (/* reexport safe */
|
|
144676
|
-
/* harmony export */ NotificationHandler: () => (/* reexport safe */
|
|
144677
|
-
/* harmony export */ NotificationManager: () => (/* reexport safe */
|
|
144678
|
-
/* harmony export */ NotifyMessageDetails: () => (/* reexport safe */
|
|
144679
|
-
/* harmony export */ NullRenderSystem: () => (/* reexport safe */
|
|
144680
|
-
/* harmony export */ NullTarget: () => (/* reexport safe */
|
|
144681
|
-
/* harmony export */ OffScreenViewport: () => (/* reexport safe */
|
|
144682
|
-
/* harmony export */ OnScreenTarget: () => (/* reexport safe */
|
|
144683
|
-
/* harmony export */ OrthographicViewState: () => (/* reexport safe */
|
|
144684
|
-
/* harmony export */ OutputMessageAlert: () => (/* reexport safe */
|
|
144685
|
-
/* harmony export */ OutputMessagePriority: () => (/* reexport safe */
|
|
144686
|
-
/* harmony export */ OutputMessageType: () => (/* reexport safe */
|
|
144687
|
-
/* harmony export */ PanViewTool: () => (/* reexport safe */
|
|
144688
|
-
/* harmony export */ ParseAndRunResult: () => (/* reexport safe */
|
|
144689
|
-
/* harmony export */ ParticleCollectionBuilder: () => (/* reexport safe */
|
|
144690
|
-
/* harmony export */ PerModelCategoryVisibility: () => (/* reexport safe */
|
|
144691
|
-
/* harmony export */ PerformanceMetrics: () => (/* reexport safe */
|
|
144692
|
-
/* harmony export */ PhysicalModelState: () => (/* reexport safe */
|
|
144693
|
-
/* harmony export */ Pixel: () => (/* reexport safe */
|
|
144694
|
-
/* harmony export */ PlanarClipMaskState: () => (/* reexport safe */
|
|
144695
|
-
/* harmony export */ PlanarGridTransparency: () => (/* reexport safe */
|
|
144696
|
-
/* harmony export */ PrimitiveTool: () => (/* reexport safe */
|
|
144697
|
-
/* harmony export */ PrimitiveVisibility: () => (/* reexport safe */
|
|
144698
|
-
/* harmony export */ QuadId: () => (/* reexport safe */
|
|
144699
|
-
/* harmony export */ QuantityFormatter: () => (/* reexport safe */
|
|
144700
|
-
/* harmony export */ QuantityType: () => (/* reexport safe */
|
|
144701
|
-
/* harmony export */ QuantityTypeFormatsProvider: () => (/* reexport safe */
|
|
144702
|
-
/* harmony export */ RealityDataError: () => (/* reexport safe */
|
|
144703
|
-
/* harmony export */ RealityDataSource: () => (/* reexport safe */
|
|
144704
|
-
/* harmony export */ RealityDataSourceProviderRegistry: () => (/* reexport safe */
|
|
144705
|
-
/* harmony export */ RealityMeshParams: () => (/* reexport safe */
|
|
144706
|
-
/* harmony export */ RealityMeshParamsBuilder: () => (/* reexport safe */
|
|
144707
|
-
/* harmony export */ RealityModelTileUtils: () => (/* reexport safe */
|
|
144708
|
-
/* harmony export */ RealityTile: () => (/* reexport safe */
|
|
144709
|
-
/* harmony export */ RealityTileLoader: () => (/* reexport safe */
|
|
144710
|
-
/* harmony export */ RealityTileTree: () => (/* reexport safe */
|
|
144711
|
-
/* harmony export */ RemoteExtensionProvider: () => (/* reexport safe */
|
|
144712
|
-
/* harmony export */ RenderClipVolume: () => (/* reexport safe */
|
|
144713
|
-
/* harmony export */ RenderContext: () => (/* reexport safe */
|
|
144714
|
-
/* harmony export */ RenderDiagnostics: () => (/* reexport safe */
|
|
144715
|
-
/* harmony export */ RenderGraphic: () => (/* reexport safe */
|
|
144716
|
-
/* harmony export */ RenderGraphicOwner: () => (/* reexport safe */
|
|
144717
|
-
/* harmony export */ RenderInstancesParams: () => (/* reexport safe */
|
|
144718
|
-
/* harmony export */ RenderInstancesParamsBuilder: () => (/* reexport safe */
|
|
144719
|
-
/* harmony export */ RenderMemory: () => (/* reexport safe */
|
|
144720
|
-
/* harmony export */ RenderSystem: () => (/* reexport safe */
|
|
144721
|
-
/* harmony export */ RenderTarget: () => (/* reexport safe */
|
|
144722
|
-
/* harmony export */ RotateViewTool: () => (/* reexport safe */
|
|
144773
|
+
/* harmony export */ LogoDecoration: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.LogoDecoration),
|
|
144774
|
+
/* harmony export */ LookAndMoveTool: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.LookAndMoveTool),
|
|
144775
|
+
/* harmony export */ LookViewTool: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.LookViewTool),
|
|
144776
|
+
/* harmony export */ ManipulatorToolEvent: () => (/* reexport safe */ _tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_114__.ManipulatorToolEvent),
|
|
144777
|
+
/* harmony export */ MapCartoRectangle: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.MapCartoRectangle),
|
|
144778
|
+
/* harmony export */ MapFeatureInfoRecord: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.MapFeatureInfoRecord),
|
|
144779
|
+
/* harmony export */ MapLayerFeatureRecord: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.MapLayerFeatureRecord),
|
|
144780
|
+
/* harmony export */ MapLayerFormat: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.MapLayerFormat),
|
|
144781
|
+
/* harmony export */ MapLayerFormatRegistry: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.MapLayerFormatRegistry),
|
|
144782
|
+
/* harmony export */ MapLayerImageryProvider: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.MapLayerImageryProvider),
|
|
144783
|
+
/* harmony export */ MapLayerImageryProviderStatus: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.MapLayerImageryProviderStatus),
|
|
144784
|
+
/* harmony export */ MapLayerSource: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.MapLayerSource),
|
|
144785
|
+
/* harmony export */ MapLayerSourceStatus: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.MapLayerSourceStatus),
|
|
144786
|
+
/* harmony export */ MapLayerSources: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.MapLayerSources),
|
|
144787
|
+
/* harmony export */ MapLayerTileTreeReference: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.MapLayerTileTreeReference),
|
|
144788
|
+
/* harmony export */ MapTile: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.MapTile),
|
|
144789
|
+
/* harmony export */ MapTileProjection: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.MapTileProjection),
|
|
144790
|
+
/* harmony export */ MapTileTree: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.MapTileTree),
|
|
144791
|
+
/* harmony export */ MapTileTreeReference: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.MapTileTreeReference),
|
|
144792
|
+
/* harmony export */ MapTileTreeScaleRangeVisibility: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.MapTileTreeScaleRangeVisibility),
|
|
144793
|
+
/* harmony export */ MapTilingScheme: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.MapTilingScheme),
|
|
144794
|
+
/* harmony export */ MarginPercent: () => (/* reexport safe */ _MarginPercent__WEBPACK_IMPORTED_MODULE_38__.MarginPercent),
|
|
144795
|
+
/* harmony export */ Marker: () => (/* reexport safe */ _Marker__WEBPACK_IMPORTED_MODULE_39__.Marker),
|
|
144796
|
+
/* harmony export */ MarkerSet: () => (/* reexport safe */ _Marker__WEBPACK_IMPORTED_MODULE_39__.MarkerSet),
|
|
144797
|
+
/* harmony export */ MeasureAreaByPointsTool: () => (/* reexport safe */ _tools_MeasureTool__WEBPACK_IMPORTED_MODULE_109__.MeasureAreaByPointsTool),
|
|
144798
|
+
/* harmony export */ MeasureAreaTool: () => (/* reexport safe */ _tools_MeasureTool__WEBPACK_IMPORTED_MODULE_109__.MeasureAreaTool),
|
|
144799
|
+
/* harmony export */ MeasureDistanceTool: () => (/* reexport safe */ _tools_MeasureTool__WEBPACK_IMPORTED_MODULE_109__.MeasureDistanceTool),
|
|
144800
|
+
/* harmony export */ MeasureElementTool: () => (/* reexport safe */ _tools_MeasureTool__WEBPACK_IMPORTED_MODULE_109__.MeasureElementTool),
|
|
144801
|
+
/* harmony export */ MeasureLengthTool: () => (/* reexport safe */ _tools_MeasureTool__WEBPACK_IMPORTED_MODULE_109__.MeasureLengthTool),
|
|
144802
|
+
/* harmony export */ MeasureLocationTool: () => (/* reexport safe */ _tools_MeasureTool__WEBPACK_IMPORTED_MODULE_109__.MeasureLocationTool),
|
|
144803
|
+
/* harmony export */ MeasureVolumeTool: () => (/* reexport safe */ _tools_MeasureTool__WEBPACK_IMPORTED_MODULE_109__.MeasureVolumeTool),
|
|
144804
|
+
/* harmony export */ MessageBoxIconType: () => (/* reexport safe */ _NotificationManager__WEBPACK_IMPORTED_MODULE_45__.MessageBoxIconType),
|
|
144805
|
+
/* harmony export */ MessageBoxType: () => (/* reexport safe */ _NotificationManager__WEBPACK_IMPORTED_MODULE_45__.MessageBoxType),
|
|
144806
|
+
/* harmony export */ MessageBoxValue: () => (/* reexport safe */ _NotificationManager__WEBPACK_IMPORTED_MODULE_45__.MessageBoxValue),
|
|
144807
|
+
/* harmony export */ ModelSelectorState: () => (/* reexport safe */ _ModelSelectorState__WEBPACK_IMPORTED_MODULE_40__.ModelSelectorState),
|
|
144808
|
+
/* harmony export */ ModelState: () => (/* reexport safe */ _ModelState__WEBPACK_IMPORTED_MODULE_41__.ModelState),
|
|
144809
|
+
/* harmony export */ ModifyElementSource: () => (/* reexport safe */ _tools_ElementSetTool__WEBPACK_IMPORTED_MODULE_106__.ModifyElementSource),
|
|
144810
|
+
/* harmony export */ MutableChangeFlags: () => (/* reexport safe */ _ChangeFlags__WEBPACK_IMPORTED_MODULE_10__.MutableChangeFlags),
|
|
144811
|
+
/* harmony export */ NativeApp: () => (/* reexport safe */ _NativeApp__WEBPACK_IMPORTED_MODULE_42__.NativeApp),
|
|
144812
|
+
/* harmony export */ NativeAppLogger: () => (/* reexport safe */ _NativeAppLogger__WEBPACK_IMPORTED_MODULE_43__.NativeAppLogger),
|
|
144813
|
+
/* harmony export */ NoRenderApp: () => (/* reexport safe */ _NoRenderApp__WEBPACK_IMPORTED_MODULE_44__.NoRenderApp),
|
|
144814
|
+
/* harmony export */ NotificationHandler: () => (/* reexport safe */ _IpcApp__WEBPACK_IMPORTED_MODULE_36__.NotificationHandler),
|
|
144815
|
+
/* harmony export */ NotificationManager: () => (/* reexport safe */ _NotificationManager__WEBPACK_IMPORTED_MODULE_45__.NotificationManager),
|
|
144816
|
+
/* harmony export */ NotifyMessageDetails: () => (/* reexport safe */ _NotificationManager__WEBPACK_IMPORTED_MODULE_45__.NotifyMessageDetails),
|
|
144817
|
+
/* harmony export */ NullRenderSystem: () => (/* reexport safe */ _NoRenderApp__WEBPACK_IMPORTED_MODULE_44__.NullRenderSystem),
|
|
144818
|
+
/* harmony export */ NullTarget: () => (/* reexport safe */ _NoRenderApp__WEBPACK_IMPORTED_MODULE_44__.NullTarget),
|
|
144819
|
+
/* harmony export */ OffScreenViewport: () => (/* reexport safe */ _Viewport__WEBPACK_IMPORTED_MODULE_63__.OffScreenViewport),
|
|
144820
|
+
/* harmony export */ OnScreenTarget: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.OnScreenTarget),
|
|
144821
|
+
/* harmony export */ OrthographicViewState: () => (/* reexport safe */ _SpatialViewState__WEBPACK_IMPORTED_MODULE_51__.OrthographicViewState),
|
|
144822
|
+
/* harmony export */ OutputMessageAlert: () => (/* reexport safe */ _NotificationManager__WEBPACK_IMPORTED_MODULE_45__.OutputMessageAlert),
|
|
144823
|
+
/* harmony export */ OutputMessagePriority: () => (/* reexport safe */ _NotificationManager__WEBPACK_IMPORTED_MODULE_45__.OutputMessagePriority),
|
|
144824
|
+
/* harmony export */ OutputMessageType: () => (/* reexport safe */ _NotificationManager__WEBPACK_IMPORTED_MODULE_45__.OutputMessageType),
|
|
144825
|
+
/* harmony export */ PanViewTool: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.PanViewTool),
|
|
144826
|
+
/* harmony export */ ParseAndRunResult: () => (/* reexport safe */ _tools_Tool__WEBPACK_IMPORTED_MODULE_112__.ParseAndRunResult),
|
|
144827
|
+
/* harmony export */ ParticleCollectionBuilder: () => (/* reexport safe */ _render_ParticleCollectionBuilder__WEBPACK_IMPORTED_MODULE_88__.ParticleCollectionBuilder),
|
|
144828
|
+
/* harmony export */ PerModelCategoryVisibility: () => (/* reexport safe */ _PerModelCategoryVisibility__WEBPACK_IMPORTED_MODULE_46__.PerModelCategoryVisibility),
|
|
144829
|
+
/* harmony export */ PerformanceMetrics: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.PerformanceMetrics),
|
|
144830
|
+
/* harmony export */ PhysicalModelState: () => (/* reexport safe */ _ModelState__WEBPACK_IMPORTED_MODULE_41__.PhysicalModelState),
|
|
144831
|
+
/* harmony export */ Pixel: () => (/* reexport safe */ _render_Pixel__WEBPACK_IMPORTED_MODULE_89__.Pixel),
|
|
144832
|
+
/* harmony export */ PlanarClipMaskState: () => (/* reexport safe */ _PlanarClipMaskState__WEBPACK_IMPORTED_MODULE_47__.PlanarClipMaskState),
|
|
144833
|
+
/* harmony export */ PlanarGridTransparency: () => (/* reexport safe */ _render_RenderSystem__WEBPACK_IMPORTED_MODULE_95__.PlanarGridTransparency),
|
|
144834
|
+
/* harmony export */ PrimitiveTool: () => (/* reexport safe */ _tools_PrimitiveTool__WEBPACK_IMPORTED_MODULE_110__.PrimitiveTool),
|
|
144835
|
+
/* harmony export */ PrimitiveVisibility: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.PrimitiveVisibility),
|
|
144836
|
+
/* harmony export */ QuadId: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.QuadId),
|
|
144837
|
+
/* harmony export */ QuantityFormatter: () => (/* reexport safe */ _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_74__.QuantityFormatter),
|
|
144838
|
+
/* harmony export */ QuantityType: () => (/* reexport safe */ _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_74__.QuantityType),
|
|
144839
|
+
/* harmony export */ QuantityTypeFormatsProvider: () => (/* reexport safe */ _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_74__.QuantityTypeFormatsProvider),
|
|
144840
|
+
/* harmony export */ RealityDataError: () => (/* reexport safe */ _RealityDataSource__WEBPACK_IMPORTED_MODULE_123__.RealityDataError),
|
|
144841
|
+
/* harmony export */ RealityDataSource: () => (/* reexport safe */ _RealityDataSource__WEBPACK_IMPORTED_MODULE_123__.RealityDataSource),
|
|
144842
|
+
/* harmony export */ RealityDataSourceProviderRegistry: () => (/* reexport safe */ _RealityDataSource__WEBPACK_IMPORTED_MODULE_123__.RealityDataSourceProviderRegistry),
|
|
144843
|
+
/* harmony export */ RealityMeshParams: () => (/* reexport safe */ _render_RealityMeshParams__WEBPACK_IMPORTED_MODULE_91__.RealityMeshParams),
|
|
144844
|
+
/* harmony export */ RealityMeshParamsBuilder: () => (/* reexport safe */ _render_RealityMeshParams__WEBPACK_IMPORTED_MODULE_91__.RealityMeshParamsBuilder),
|
|
144845
|
+
/* harmony export */ RealityModelTileUtils: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.RealityModelTileUtils),
|
|
144846
|
+
/* harmony export */ RealityTile: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.RealityTile),
|
|
144847
|
+
/* harmony export */ RealityTileLoader: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.RealityTileLoader),
|
|
144848
|
+
/* harmony export */ RealityTileTree: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.RealityTileTree),
|
|
144849
|
+
/* harmony export */ RemoteExtensionProvider: () => (/* reexport safe */ _extension_providers_RemoteExtensionProvider__WEBPACK_IMPORTED_MODULE_70__.RemoteExtensionProvider),
|
|
144850
|
+
/* harmony export */ RenderClipVolume: () => (/* reexport safe */ _render_RenderClipVolume__WEBPACK_IMPORTED_MODULE_92__.RenderClipVolume),
|
|
144851
|
+
/* harmony export */ RenderContext: () => (/* reexport safe */ _ViewContext__WEBPACK_IMPORTED_MODULE_59__.RenderContext),
|
|
144852
|
+
/* harmony export */ RenderDiagnostics: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.RenderDiagnostics),
|
|
144853
|
+
/* harmony export */ RenderGraphic: () => (/* reexport safe */ _render_RenderGraphic__WEBPACK_IMPORTED_MODULE_93__.RenderGraphic),
|
|
144854
|
+
/* harmony export */ RenderGraphicOwner: () => (/* reexport safe */ _render_RenderGraphic__WEBPACK_IMPORTED_MODULE_93__.RenderGraphicOwner),
|
|
144855
|
+
/* harmony export */ RenderInstancesParams: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.RenderInstancesParams),
|
|
144856
|
+
/* harmony export */ RenderInstancesParamsBuilder: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.RenderInstancesParamsBuilder),
|
|
144857
|
+
/* harmony export */ RenderMemory: () => (/* reexport safe */ _render_RenderMemory__WEBPACK_IMPORTED_MODULE_94__.RenderMemory),
|
|
144858
|
+
/* harmony export */ RenderSystem: () => (/* reexport safe */ _render_RenderSystem__WEBPACK_IMPORTED_MODULE_95__.RenderSystem),
|
|
144859
|
+
/* harmony export */ RenderTarget: () => (/* reexport safe */ _render_RenderTarget__WEBPACK_IMPORTED_MODULE_96__.RenderTarget),
|
|
144860
|
+
/* harmony export */ RotateViewTool: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.RotateViewTool),
|
|
144723
144861
|
/* harmony export */ RotationMode: () => (/* reexport safe */ _AccuDraw__WEBPACK_IMPORTED_MODULE_0__.RotationMode),
|
|
144724
144862
|
/* harmony export */ RoundOff: () => (/* reexport safe */ _AccuDraw__WEBPACK_IMPORTED_MODULE_0__.RoundOff),
|
|
144725
144863
|
/* harmony export */ SavedState: () => (/* reexport safe */ _AccuDraw__WEBPACK_IMPORTED_MODULE_0__.SavedState),
|
|
144726
|
-
/* harmony export */ Scene: () => (/* reexport safe */
|
|
144727
|
-
/* harmony export */ SceneContext: () => (/* reexport safe */
|
|
144728
|
-
/* harmony export */ ScreenViewport: () => (/* reexport safe */
|
|
144729
|
-
/* harmony export */ ScrollViewTool: () => (/* reexport safe */
|
|
144730
|
-
/* harmony export */ SectionDrawingModelState: () => (/* reexport safe */
|
|
144731
|
-
/* harmony export */ SelectionMethod: () => (/* reexport safe */
|
|
144732
|
-
/* harmony export */ SelectionMode: () => (/* reexport safe */
|
|
144733
|
-
/* harmony export */ SelectionProcessing: () => (/* reexport safe */
|
|
144734
|
-
/* harmony export */ SelectionSet: () => (/* reexport safe */
|
|
144735
|
-
/* harmony export */ SelectionSetEventType: () => (/* reexport safe */
|
|
144736
|
-
/* harmony export */ SelectionTool: () => (/* reexport safe */
|
|
144737
|
-
/* harmony export */ SetupCameraTool: () => (/* reexport safe */
|
|
144738
|
-
/* harmony export */ SetupWalkCameraTool: () => (/* reexport safe */
|
|
144739
|
-
/* harmony export */ SheetModelState: () => (/* reexport safe */
|
|
144740
|
-
/* harmony export */ SheetViewState: () => (/* reexport safe */
|
|
144741
|
-
/* harmony export */ SnapDetail: () => (/* reexport safe */
|
|
144742
|
-
/* harmony export */ SnapHeat: () => (/* reexport safe */
|
|
144743
|
-
/* harmony export */ SnapMode: () => (/* reexport safe */
|
|
144744
|
-
/* harmony export */ SnapStatus: () => (/* reexport safe */
|
|
144745
|
-
/* harmony export */ SnapshotConnection: () => (/* reexport safe */
|
|
144746
|
-
/* harmony export */ SpatialClassifiersState: () => (/* reexport safe */
|
|
144747
|
-
/* harmony export */ SpatialLocationModelState: () => (/* reexport safe */
|
|
144748
|
-
/* harmony export */ SpatialModelState: () => (/* reexport safe */
|
|
144749
|
-
/* harmony export */ SpatialTileTreeReferences: () => (/* reexport safe */
|
|
144750
|
-
/* harmony export */ SpatialViewState: () => (/* reexport safe */
|
|
144751
|
-
/* harmony export */ Sprite: () => (/* reexport safe */
|
|
144752
|
-
/* harmony export */ SpriteLocation: () => (/* reexport safe */
|
|
144753
|
-
/* harmony export */ StandardView: () => (/* reexport safe */
|
|
144754
|
-
/* harmony export */ StandardViewId: () => (/* reexport safe */
|
|
144755
|
-
/* harmony export */ StandardViewTool: () => (/* reexport safe */
|
|
144756
|
-
/* harmony export */ StartOrResume: () => (/* reexport safe */
|
|
144757
|
-
/* harmony export */ Storage: () => (/* reexport safe */
|
|
144758
|
-
/* harmony export */ SubCategoriesCache: () => (/* reexport safe */
|
|
144759
|
-
/* harmony export */ SurveyLengthDescription: () => (/* reexport safe */
|
|
144760
|
-
/* harmony export */ SuspendedToolState: () => (/* reexport safe */
|
|
144761
|
-
/* harmony export */ Target: () => (/* reexport safe */
|
|
144864
|
+
/* harmony export */ Scene: () => (/* reexport safe */ _render_Scene__WEBPACK_IMPORTED_MODULE_97__.Scene),
|
|
144865
|
+
/* harmony export */ SceneContext: () => (/* reexport safe */ _ViewContext__WEBPACK_IMPORTED_MODULE_59__.SceneContext),
|
|
144866
|
+
/* harmony export */ ScreenViewport: () => (/* reexport safe */ _Viewport__WEBPACK_IMPORTED_MODULE_63__.ScreenViewport),
|
|
144867
|
+
/* harmony export */ ScrollViewTool: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.ScrollViewTool),
|
|
144868
|
+
/* harmony export */ SectionDrawingModelState: () => (/* reexport safe */ _ModelState__WEBPACK_IMPORTED_MODULE_41__.SectionDrawingModelState),
|
|
144869
|
+
/* harmony export */ SelectionMethod: () => (/* reexport safe */ _tools_SelectTool__WEBPACK_IMPORTED_MODULE_111__.SelectionMethod),
|
|
144870
|
+
/* harmony export */ SelectionMode: () => (/* reexport safe */ _tools_SelectTool__WEBPACK_IMPORTED_MODULE_111__.SelectionMode),
|
|
144871
|
+
/* harmony export */ SelectionProcessing: () => (/* reexport safe */ _tools_SelectTool__WEBPACK_IMPORTED_MODULE_111__.SelectionProcessing),
|
|
144872
|
+
/* harmony export */ SelectionSet: () => (/* reexport safe */ _SelectionSet__WEBPACK_IMPORTED_MODULE_48__.SelectionSet),
|
|
144873
|
+
/* harmony export */ SelectionSetEventType: () => (/* reexport safe */ _SelectionSet__WEBPACK_IMPORTED_MODULE_48__.SelectionSetEventType),
|
|
144874
|
+
/* harmony export */ SelectionTool: () => (/* reexport safe */ _tools_SelectTool__WEBPACK_IMPORTED_MODULE_111__.SelectionTool),
|
|
144875
|
+
/* harmony export */ SetupCameraTool: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.SetupCameraTool),
|
|
144876
|
+
/* harmony export */ SetupWalkCameraTool: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.SetupWalkCameraTool),
|
|
144877
|
+
/* harmony export */ SheetModelState: () => (/* reexport safe */ _ModelState__WEBPACK_IMPORTED_MODULE_41__.SheetModelState),
|
|
144878
|
+
/* harmony export */ SheetViewState: () => (/* reexport safe */ _SheetViewState__WEBPACK_IMPORTED_MODULE_49__.SheetViewState),
|
|
144879
|
+
/* harmony export */ SnapDetail: () => (/* reexport safe */ _HitDetail__WEBPACK_IMPORTED_MODULE_32__.SnapDetail),
|
|
144880
|
+
/* harmony export */ SnapHeat: () => (/* reexport safe */ _HitDetail__WEBPACK_IMPORTED_MODULE_32__.SnapHeat),
|
|
144881
|
+
/* harmony export */ SnapMode: () => (/* reexport safe */ _HitDetail__WEBPACK_IMPORTED_MODULE_32__.SnapMode),
|
|
144882
|
+
/* harmony export */ SnapStatus: () => (/* reexport safe */ _ElementLocateManager__WEBPACK_IMPORTED_MODULE_19__.SnapStatus),
|
|
144883
|
+
/* harmony export */ SnapshotConnection: () => (/* reexport safe */ _IModelConnection__WEBPACK_IMPORTED_MODULE_34__.SnapshotConnection),
|
|
144884
|
+
/* harmony export */ SpatialClassifiersState: () => (/* reexport safe */ _SpatialClassifiersState__WEBPACK_IMPORTED_MODULE_50__.SpatialClassifiersState),
|
|
144885
|
+
/* harmony export */ SpatialLocationModelState: () => (/* reexport safe */ _ModelState__WEBPACK_IMPORTED_MODULE_41__.SpatialLocationModelState),
|
|
144886
|
+
/* harmony export */ SpatialModelState: () => (/* reexport safe */ _ModelState__WEBPACK_IMPORTED_MODULE_41__.SpatialModelState),
|
|
144887
|
+
/* harmony export */ SpatialTileTreeReferences: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.SpatialTileTreeReferences),
|
|
144888
|
+
/* harmony export */ SpatialViewState: () => (/* reexport safe */ _SpatialViewState__WEBPACK_IMPORTED_MODULE_51__.SpatialViewState),
|
|
144889
|
+
/* harmony export */ Sprite: () => (/* reexport safe */ _Sprites__WEBPACK_IMPORTED_MODULE_52__.Sprite),
|
|
144890
|
+
/* harmony export */ SpriteLocation: () => (/* reexport safe */ _Sprites__WEBPACK_IMPORTED_MODULE_52__.SpriteLocation),
|
|
144891
|
+
/* harmony export */ StandardView: () => (/* reexport safe */ _StandardView__WEBPACK_IMPORTED_MODULE_53__.StandardView),
|
|
144892
|
+
/* harmony export */ StandardViewId: () => (/* reexport safe */ _StandardView__WEBPACK_IMPORTED_MODULE_53__.StandardViewId),
|
|
144893
|
+
/* harmony export */ StandardViewTool: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.StandardViewTool),
|
|
144894
|
+
/* harmony export */ StartOrResume: () => (/* reexport safe */ _tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_114__.StartOrResume),
|
|
144895
|
+
/* harmony export */ Storage: () => (/* reexport safe */ _NativeApp__WEBPACK_IMPORTED_MODULE_42__.Storage),
|
|
144896
|
+
/* harmony export */ SubCategoriesCache: () => (/* reexport safe */ _SubCategoriesCache__WEBPACK_IMPORTED_MODULE_54__.SubCategoriesCache),
|
|
144897
|
+
/* harmony export */ SurveyLengthDescription: () => (/* reexport safe */ _properties_LengthDescription__WEBPACK_IMPORTED_MODULE_73__.SurveyLengthDescription),
|
|
144898
|
+
/* harmony export */ SuspendedToolState: () => (/* reexport safe */ _tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_114__.SuspendedToolState),
|
|
144899
|
+
/* harmony export */ Target: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.Target),
|
|
144762
144900
|
/* harmony export */ TentativeOrAccuSnap: () => (/* reexport safe */ _AccuSnap__WEBPACK_IMPORTED_MODULE_1__.TentativeOrAccuSnap),
|
|
144763
|
-
/* harmony export */ TentativePoint: () => (/* reexport safe */
|
|
144764
|
-
/* harmony export */ TerrainDisplayOverrides: () => (/* reexport safe */
|
|
144765
|
-
/* harmony export */ TerrainMeshProvider: () => (/* reexport safe */
|
|
144766
|
-
/* harmony export */ TerrainProviderRegistry: () => (/* reexport safe */
|
|
144901
|
+
/* harmony export */ TentativePoint: () => (/* reexport safe */ _TentativePoint__WEBPACK_IMPORTED_MODULE_55__.TentativePoint),
|
|
144902
|
+
/* harmony export */ TerrainDisplayOverrides: () => (/* reexport safe */ _DisplayStyleState__WEBPACK_IMPORTED_MODULE_17__.TerrainDisplayOverrides),
|
|
144903
|
+
/* harmony export */ TerrainMeshProvider: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.TerrainMeshProvider),
|
|
144904
|
+
/* harmony export */ TerrainProviderRegistry: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.TerrainProviderRegistry),
|
|
144767
144905
|
/* harmony export */ ThreeAxes: () => (/* reexport safe */ _AccuDraw__WEBPACK_IMPORTED_MODULE_0__.ThreeAxes),
|
|
144768
|
-
/* harmony export */ Tile: () => (/* reexport safe */
|
|
144769
|
-
/* harmony export */ TileAdmin: () => (/* reexport safe */
|
|
144770
|
-
/* harmony export */ TileBoundingBoxes: () => (/* reexport safe */
|
|
144771
|
-
/* harmony export */ TileDrawArgs: () => (/* reexport safe */
|
|
144772
|
-
/* harmony export */ TileGeometryCollector: () => (/* reexport safe */
|
|
144773
|
-
/* harmony export */ TileGraphicType: () => (/* reexport safe */
|
|
144774
|
-
/* harmony export */ TileLoadPriority: () => (/* reexport safe */
|
|
144775
|
-
/* harmony export */ TileLoadStatus: () => (/* reexport safe */
|
|
144776
|
-
/* harmony export */ TileRequest: () => (/* reexport safe */
|
|
144777
|
-
/* harmony export */ TileRequestChannel: () => (/* reexport safe */
|
|
144778
|
-
/* harmony export */ TileRequestChannelStatistics: () => (/* reexport safe */
|
|
144779
|
-
/* harmony export */ TileRequestChannels: () => (/* reexport safe */
|
|
144780
|
-
/* harmony export */ TileTree: () => (/* reexport safe */
|
|
144781
|
-
/* harmony export */ TileTreeLoadStatus: () => (/* reexport safe */
|
|
144782
|
-
/* harmony export */ TileTreeReference: () => (/* reexport safe */
|
|
144783
|
-
/* harmony export */ TileUsageMarker: () => (/* reexport safe */
|
|
144784
|
-
/* harmony export */ TileUser: () => (/* reexport safe */
|
|
144785
|
-
/* harmony export */ TileVisibility: () => (/* reexport safe */
|
|
144786
|
-
/* harmony export */ Tiles: () => (/* reexport safe */
|
|
144787
|
-
/* harmony export */ Tool: () => (/* reexport safe */
|
|
144788
|
-
/* harmony export */ ToolAdmin: () => (/* reexport safe */
|
|
144789
|
-
/* harmony export */ ToolAssistance: () => (/* reexport safe */
|
|
144790
|
-
/* harmony export */ ToolAssistanceImage: () => (/* reexport safe */
|
|
144791
|
-
/* harmony export */ ToolAssistanceInputMethod: () => (/* reexport safe */
|
|
144792
|
-
/* harmony export */ ToolRegistry: () => (/* reexport safe */
|
|
144793
|
-
/* harmony export */ ToolSettings: () => (/* reexport safe */
|
|
144794
|
-
/* harmony export */ ToolSettingsState: () => (/* reexport safe */
|
|
144795
|
-
/* harmony export */ ToolState: () => (/* reexport safe */
|
|
144906
|
+
/* harmony export */ Tile: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.Tile),
|
|
144907
|
+
/* harmony export */ TileAdmin: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.TileAdmin),
|
|
144908
|
+
/* harmony export */ TileBoundingBoxes: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.TileBoundingBoxes),
|
|
144909
|
+
/* harmony export */ TileDrawArgs: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.TileDrawArgs),
|
|
144910
|
+
/* harmony export */ TileGeometryCollector: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.TileGeometryCollector),
|
|
144911
|
+
/* harmony export */ TileGraphicType: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.TileGraphicType),
|
|
144912
|
+
/* harmony export */ TileLoadPriority: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.TileLoadPriority),
|
|
144913
|
+
/* harmony export */ TileLoadStatus: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.TileLoadStatus),
|
|
144914
|
+
/* harmony export */ TileRequest: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.TileRequest),
|
|
144915
|
+
/* harmony export */ TileRequestChannel: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.TileRequestChannel),
|
|
144916
|
+
/* harmony export */ TileRequestChannelStatistics: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.TileRequestChannelStatistics),
|
|
144917
|
+
/* harmony export */ TileRequestChannels: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.TileRequestChannels),
|
|
144918
|
+
/* harmony export */ TileTree: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.TileTree),
|
|
144919
|
+
/* harmony export */ TileTreeLoadStatus: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.TileTreeLoadStatus),
|
|
144920
|
+
/* harmony export */ TileTreeReference: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.TileTreeReference),
|
|
144921
|
+
/* harmony export */ TileUsageMarker: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.TileUsageMarker),
|
|
144922
|
+
/* harmony export */ TileUser: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.TileUser),
|
|
144923
|
+
/* harmony export */ TileVisibility: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.TileVisibility),
|
|
144924
|
+
/* harmony export */ Tiles: () => (/* reexport safe */ _Tiles__WEBPACK_IMPORTED_MODULE_56__.Tiles),
|
|
144925
|
+
/* harmony export */ Tool: () => (/* reexport safe */ _tools_Tool__WEBPACK_IMPORTED_MODULE_112__.Tool),
|
|
144926
|
+
/* harmony export */ ToolAdmin: () => (/* reexport safe */ _tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_114__.ToolAdmin),
|
|
144927
|
+
/* harmony export */ ToolAssistance: () => (/* reexport safe */ _tools_ToolAssistance__WEBPACK_IMPORTED_MODULE_115__.ToolAssistance),
|
|
144928
|
+
/* harmony export */ ToolAssistanceImage: () => (/* reexport safe */ _tools_ToolAssistance__WEBPACK_IMPORTED_MODULE_115__.ToolAssistanceImage),
|
|
144929
|
+
/* harmony export */ ToolAssistanceInputMethod: () => (/* reexport safe */ _tools_ToolAssistance__WEBPACK_IMPORTED_MODULE_115__.ToolAssistanceInputMethod),
|
|
144930
|
+
/* harmony export */ ToolRegistry: () => (/* reexport safe */ _tools_Tool__WEBPACK_IMPORTED_MODULE_112__.ToolRegistry),
|
|
144931
|
+
/* harmony export */ ToolSettings: () => (/* reexport safe */ _tools_ToolSettings__WEBPACK_IMPORTED_MODULE_113__.ToolSettings),
|
|
144932
|
+
/* harmony export */ ToolSettingsState: () => (/* reexport safe */ _tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_114__.ToolSettingsState),
|
|
144933
|
+
/* harmony export */ ToolState: () => (/* reexport safe */ _tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_114__.ToolState),
|
|
144796
144934
|
/* harmony export */ TouchCursor: () => (/* reexport safe */ _AccuSnap__WEBPACK_IMPORTED_MODULE_1__.TouchCursor),
|
|
144797
|
-
/* harmony export */ TwoWayViewportFrustumSync: () => (/* reexport safe */
|
|
144798
|
-
/* harmony export */ TwoWayViewportSync: () => (/* reexport safe */
|
|
144799
|
-
/* harmony export */ UniformType: () => (/* reexport safe */
|
|
144800
|
-
/* harmony export */ VaryingType: () => (/* reexport safe */
|
|
144801
|
-
/* harmony export */ ViewClipByElementTool: () => (/* reexport safe */
|
|
144802
|
-
/* harmony export */ ViewClipByPlaneTool: () => (/* reexport safe */
|
|
144803
|
-
/* harmony export */ ViewClipByRangeTool: () => (/* reexport safe */
|
|
144804
|
-
/* harmony export */ ViewClipByShapeTool: () => (/* reexport safe */
|
|
144805
|
-
/* harmony export */ ViewClipClearTool: () => (/* reexport safe */
|
|
144806
|
-
/* harmony export */ ViewClipControlArrow: () => (/* reexport safe */
|
|
144807
|
-
/* harmony export */ ViewClipDecoration: () => (/* reexport safe */
|
|
144808
|
-
/* harmony export */ ViewClipDecorationProvider: () => (/* reexport safe */
|
|
144809
|
-
/* harmony export */ ViewClipModifyTool: () => (/* reexport safe */
|
|
144810
|
-
/* harmony export */ ViewClipPlanesModifyTool: () => (/* reexport safe */
|
|
144811
|
-
/* harmony export */ ViewClipShapeModifyTool: () => (/* reexport safe */
|
|
144812
|
-
/* harmony export */ ViewClipTool: () => (/* reexport safe */
|
|
144813
|
-
/* harmony export */ ViewCreator2d: () => (/* reexport safe */
|
|
144814
|
-
/* harmony export */ ViewCreator3d: () => (/* reexport safe */
|
|
144815
|
-
/* harmony export */ ViewGlobalLocationConstants: () => (/* reexport safe */
|
|
144816
|
-
/* harmony export */ ViewGlobeBirdTool: () => (/* reexport safe */
|
|
144817
|
-
/* harmony export */ ViewGlobeIModelTool: () => (/* reexport safe */
|
|
144818
|
-
/* harmony export */ ViewGlobeLocationTool: () => (/* reexport safe */
|
|
144819
|
-
/* harmony export */ ViewGlobeSatelliteTool: () => (/* reexport safe */
|
|
144820
|
-
/* harmony export */ ViewHandleArray: () => (/* reexport safe */
|
|
144821
|
-
/* harmony export */ ViewHandleType: () => (/* reexport safe */
|
|
144822
|
-
/* harmony export */ ViewManager: () => (/* reexport safe */
|
|
144823
|
-
/* harmony export */ ViewManip: () => (/* reexport safe */
|
|
144824
|
-
/* harmony export */ ViewPose: () => (/* reexport safe */
|
|
144825
|
-
/* harmony export */ ViewPose2d: () => (/* reexport safe */
|
|
144826
|
-
/* harmony export */ ViewPose3d: () => (/* reexport safe */
|
|
144827
|
-
/* harmony export */ ViewRect: () => (/* reexport safe */
|
|
144828
|
-
/* harmony export */ ViewRedoTool: () => (/* reexport safe */
|
|
144829
|
-
/* harmony export */ ViewState: () => (/* reexport safe */
|
|
144830
|
-
/* harmony export */ ViewState2d: () => (/* reexport safe */
|
|
144831
|
-
/* harmony export */ ViewState3d: () => (/* reexport safe */
|
|
144832
|
-
/* harmony export */ ViewStatus: () => (/* reexport safe */
|
|
144833
|
-
/* harmony export */ ViewToggleCameraTool: () => (/* reexport safe */
|
|
144834
|
-
/* harmony export */ ViewTool: () => (/* reexport safe */
|
|
144835
|
-
/* harmony export */ ViewUndoEvent: () => (/* reexport safe */
|
|
144836
|
-
/* harmony export */ ViewUndoTool: () => (/* reexport safe */
|
|
144837
|
-
/* harmony export */ ViewingSpace: () => (/* reexport safe */
|
|
144838
|
-
/* harmony export */ ViewingToolHandle: () => (/* reexport safe */
|
|
144839
|
-
/* harmony export */ Viewport: () => (/* reexport safe */
|
|
144840
|
-
/* harmony export */ WalkViewTool: () => (/* reexport safe */
|
|
144841
|
-
/* harmony export */ WebMercatorProjection: () => (/* reexport safe */
|
|
144842
|
-
/* harmony export */ WebMercatorTilingScheme: () => (/* reexport safe */
|
|
144843
|
-
/* harmony export */ WheelEventProcessor: () => (/* reexport safe */
|
|
144844
|
-
/* harmony export */ WindowAreaTool: () => (/* reexport safe */
|
|
144845
|
-
/* harmony export */ WmsUtilities: () => (/* reexport safe */
|
|
144846
|
-
/* harmony export */ WorkerGraphicDescriptionContext: () => (/* reexport safe */
|
|
144847
|
-
/* harmony export */ ZoomViewTool: () => (/* reexport safe */
|
|
144848
|
-
/* harmony export */ _callIpcChannel: () => (/* reexport safe */
|
|
144849
|
-
/* harmony export */ _implementationProhibited: () => (/* reexport safe */
|
|
144850
|
-
/* harmony export */ _scheduleScriptReference: () => (/* reexport safe */
|
|
144851
|
-
/* harmony export */ acquireImdlDecoder: () => (/* reexport safe */
|
|
144852
|
-
/* harmony export */ appendQueryParams: () => (/* reexport safe */
|
|
144853
|
-
/* harmony export */ areaToEyeHeight: () => (/* reexport safe */
|
|
144854
|
-
/* harmony export */ areaToEyeHeightFromGcs: () => (/* reexport safe */
|
|
144855
|
-
/* harmony export */ calculateEcefToDbTransformAtLocation: () => (/* reexport safe */
|
|
144856
|
-
/* harmony export */ canvasToImageBuffer: () => (/* reexport safe */
|
|
144857
|
-
/* harmony export */ canvasToResizedCanvasWithBars: () => (/* reexport safe */
|
|
144858
|
-
/* harmony export */ collectMaskRefs: () => (/* reexport safe */
|
|
144859
|
-
/* harmony export */ connectViewportFrusta: () => (/* reexport safe */
|
|
144860
|
-
/* harmony export */ connectViewportViews: () => (/* reexport safe */
|
|
144861
|
-
/* harmony export */ connectViewports: () => (/* reexport safe */
|
|
144862
|
-
/* harmony export */ createQuantityDescription: () => (/* reexport safe */
|
|
144863
|
-
/* harmony export */ createSpatialTileTreeReferences: () => (/* reexport safe */
|
|
144864
|
-
/* harmony export */ createWorkerProxy: () => (/* reexport safe */
|
|
144865
|
-
/* harmony export */ deflateCoordinates: () => (/* reexport safe */
|
|
144866
|
-
/* harmony export */ extractImageSourceDimensions: () => (/* reexport safe */
|
|
144867
|
-
/* harmony export */ eyeToCartographicOnGlobe: () => (/* reexport safe */
|
|
144868
|
-
/* harmony export */ eyeToCartographicOnGlobeFromGcs: () => (/* reexport safe */
|
|
144869
|
-
/* harmony export */ formatAnimationBranchId: () => (/* reexport safe */
|
|
144870
|
-
/* harmony export */ getCenteredViewRect: () => (/* reexport safe */
|
|
144871
|
-
/* harmony export */ getCesiumAssetUrl: () => (/* reexport safe */
|
|
144872
|
-
/* harmony export */ getCompressedJpegFromCanvas: () => (/* reexport safe */
|
|
144873
|
-
/* harmony export */ getFrustumPlaneIntersectionDepthRange: () => (/* reexport safe */
|
|
144874
|
-
/* harmony export */ getGoogle3dTilesUrl: () => (/* reexport safe */
|
|
144875
|
-
/* harmony export */
|
|
144876
|
-
/* harmony export */
|
|
144877
|
-
/* harmony export */
|
|
144878
|
-
/* harmony export */
|
|
144879
|
-
/* harmony export */
|
|
144880
|
-
/* harmony export */
|
|
144881
|
-
/* harmony export */
|
|
144882
|
-
/* harmony export */
|
|
144883
|
-
/* harmony export */
|
|
144884
|
-
/* harmony export */
|
|
144885
|
-
/* harmony export */
|
|
144886
|
-
/* harmony export */
|
|
144887
|
-
/* harmony export */
|
|
144888
|
-
/* harmony export */
|
|
144889
|
-
/* harmony export */
|
|
144890
|
-
/* harmony export */
|
|
144891
|
-
/* harmony export */
|
|
144892
|
-
/* harmony export */
|
|
144893
|
-
/* harmony export */
|
|
144894
|
-
/* harmony export */
|
|
144895
|
-
/* harmony export */
|
|
144896
|
-
/* harmony export */
|
|
144897
|
-
/* harmony export */
|
|
144898
|
-
/* harmony export */
|
|
144899
|
-
/* harmony export */
|
|
144900
|
-
/* harmony export */
|
|
144901
|
-
/* harmony export */
|
|
144902
|
-
/* harmony export */
|
|
144903
|
-
/* harmony export */
|
|
144904
|
-
/* harmony export */
|
|
144935
|
+
/* harmony export */ TwoWayViewportFrustumSync: () => (/* reexport safe */ _ViewportSync__WEBPACK_IMPORTED_MODULE_64__.TwoWayViewportFrustumSync),
|
|
144936
|
+
/* harmony export */ TwoWayViewportSync: () => (/* reexport safe */ _ViewportSync__WEBPACK_IMPORTED_MODULE_64__.TwoWayViewportSync),
|
|
144937
|
+
/* harmony export */ UniformType: () => (/* reexport safe */ _render_ScreenSpaceEffectBuilder__WEBPACK_IMPORTED_MODULE_98__.UniformType),
|
|
144938
|
+
/* harmony export */ VaryingType: () => (/* reexport safe */ _render_ScreenSpaceEffectBuilder__WEBPACK_IMPORTED_MODULE_98__.VaryingType),
|
|
144939
|
+
/* harmony export */ ViewClipByElementTool: () => (/* reexport safe */ _tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_104__.ViewClipByElementTool),
|
|
144940
|
+
/* harmony export */ ViewClipByPlaneTool: () => (/* reexport safe */ _tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_104__.ViewClipByPlaneTool),
|
|
144941
|
+
/* harmony export */ ViewClipByRangeTool: () => (/* reexport safe */ _tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_104__.ViewClipByRangeTool),
|
|
144942
|
+
/* harmony export */ ViewClipByShapeTool: () => (/* reexport safe */ _tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_104__.ViewClipByShapeTool),
|
|
144943
|
+
/* harmony export */ ViewClipClearTool: () => (/* reexport safe */ _tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_104__.ViewClipClearTool),
|
|
144944
|
+
/* harmony export */ ViewClipControlArrow: () => (/* reexport safe */ _tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_104__.ViewClipControlArrow),
|
|
144945
|
+
/* harmony export */ ViewClipDecoration: () => (/* reexport safe */ _tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_104__.ViewClipDecoration),
|
|
144946
|
+
/* harmony export */ ViewClipDecorationProvider: () => (/* reexport safe */ _tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_104__.ViewClipDecorationProvider),
|
|
144947
|
+
/* harmony export */ ViewClipModifyTool: () => (/* reexport safe */ _tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_104__.ViewClipModifyTool),
|
|
144948
|
+
/* harmony export */ ViewClipPlanesModifyTool: () => (/* reexport safe */ _tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_104__.ViewClipPlanesModifyTool),
|
|
144949
|
+
/* harmony export */ ViewClipShapeModifyTool: () => (/* reexport safe */ _tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_104__.ViewClipShapeModifyTool),
|
|
144950
|
+
/* harmony export */ ViewClipTool: () => (/* reexport safe */ _tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_104__.ViewClipTool),
|
|
144951
|
+
/* harmony export */ ViewCreator2d: () => (/* reexport safe */ _ViewCreator2d__WEBPACK_IMPORTED_MODULE_119__.ViewCreator2d),
|
|
144952
|
+
/* harmony export */ ViewCreator3d: () => (/* reexport safe */ _ViewCreator3d__WEBPACK_IMPORTED_MODULE_120__.ViewCreator3d),
|
|
144953
|
+
/* harmony export */ ViewGlobalLocationConstants: () => (/* reexport safe */ _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_60__.ViewGlobalLocationConstants),
|
|
144954
|
+
/* harmony export */ ViewGlobeBirdTool: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.ViewGlobeBirdTool),
|
|
144955
|
+
/* harmony export */ ViewGlobeIModelTool: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.ViewGlobeIModelTool),
|
|
144956
|
+
/* harmony export */ ViewGlobeLocationTool: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.ViewGlobeLocationTool),
|
|
144957
|
+
/* harmony export */ ViewGlobeSatelliteTool: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.ViewGlobeSatelliteTool),
|
|
144958
|
+
/* harmony export */ ViewHandleArray: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.ViewHandleArray),
|
|
144959
|
+
/* harmony export */ ViewHandleType: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.ViewHandleType),
|
|
144960
|
+
/* harmony export */ ViewManager: () => (/* reexport safe */ _ViewManager__WEBPACK_IMPORTED_MODULE_62__.ViewManager),
|
|
144961
|
+
/* harmony export */ ViewManip: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.ViewManip),
|
|
144962
|
+
/* harmony export */ ViewPose: () => (/* reexport safe */ _ViewPose__WEBPACK_IMPORTED_MODULE_65__.ViewPose),
|
|
144963
|
+
/* harmony export */ ViewPose2d: () => (/* reexport safe */ _ViewPose__WEBPACK_IMPORTED_MODULE_65__.ViewPose2d),
|
|
144964
|
+
/* harmony export */ ViewPose3d: () => (/* reexport safe */ _ViewPose__WEBPACK_IMPORTED_MODULE_65__.ViewPose3d),
|
|
144965
|
+
/* harmony export */ ViewRect: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.ViewRect),
|
|
144966
|
+
/* harmony export */ ViewRedoTool: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.ViewRedoTool),
|
|
144967
|
+
/* harmony export */ ViewState: () => (/* reexport safe */ _ViewState__WEBPACK_IMPORTED_MODULE_66__.ViewState),
|
|
144968
|
+
/* harmony export */ ViewState2d: () => (/* reexport safe */ _ViewState__WEBPACK_IMPORTED_MODULE_66__.ViewState2d),
|
|
144969
|
+
/* harmony export */ ViewState3d: () => (/* reexport safe */ _ViewState__WEBPACK_IMPORTED_MODULE_66__.ViewState3d),
|
|
144970
|
+
/* harmony export */ ViewStatus: () => (/* reexport safe */ _ViewStatus__WEBPACK_IMPORTED_MODULE_67__.ViewStatus),
|
|
144971
|
+
/* harmony export */ ViewToggleCameraTool: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.ViewToggleCameraTool),
|
|
144972
|
+
/* harmony export */ ViewTool: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.ViewTool),
|
|
144973
|
+
/* harmony export */ ViewUndoEvent: () => (/* reexport safe */ _Viewport__WEBPACK_IMPORTED_MODULE_63__.ViewUndoEvent),
|
|
144974
|
+
/* harmony export */ ViewUndoTool: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.ViewUndoTool),
|
|
144975
|
+
/* harmony export */ ViewingSpace: () => (/* reexport safe */ _ViewingSpace__WEBPACK_IMPORTED_MODULE_61__.ViewingSpace),
|
|
144976
|
+
/* harmony export */ ViewingToolHandle: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.ViewingToolHandle),
|
|
144977
|
+
/* harmony export */ Viewport: () => (/* reexport safe */ _Viewport__WEBPACK_IMPORTED_MODULE_63__.Viewport),
|
|
144978
|
+
/* harmony export */ WalkViewTool: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.WalkViewTool),
|
|
144979
|
+
/* harmony export */ WebMercatorProjection: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.WebMercatorProjection),
|
|
144980
|
+
/* harmony export */ WebMercatorTilingScheme: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.WebMercatorTilingScheme),
|
|
144981
|
+
/* harmony export */ WheelEventProcessor: () => (/* reexport safe */ _tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_114__.WheelEventProcessor),
|
|
144982
|
+
/* harmony export */ WindowAreaTool: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.WindowAreaTool),
|
|
144983
|
+
/* harmony export */ WmsUtilities: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.WmsUtilities),
|
|
144984
|
+
/* harmony export */ WorkerGraphicDescriptionContext: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.WorkerGraphicDescriptionContext),
|
|
144985
|
+
/* harmony export */ ZoomViewTool: () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__.ZoomViewTool),
|
|
144986
|
+
/* harmony export */ _callIpcChannel: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__._callIpcChannel),
|
|
144987
|
+
/* harmony export */ _implementationProhibited: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__._implementationProhibited),
|
|
144988
|
+
/* harmony export */ _scheduleScriptReference: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__._scheduleScriptReference),
|
|
144989
|
+
/* harmony export */ acquireImdlDecoder: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.acquireImdlDecoder),
|
|
144990
|
+
/* harmony export */ appendQueryParams: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.appendQueryParams),
|
|
144991
|
+
/* harmony export */ areaToEyeHeight: () => (/* reexport safe */ _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_60__.areaToEyeHeight),
|
|
144992
|
+
/* harmony export */ areaToEyeHeightFromGcs: () => (/* reexport safe */ _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_60__.areaToEyeHeightFromGcs),
|
|
144993
|
+
/* harmony export */ calculateEcefToDbTransformAtLocation: () => (/* reexport safe */ _BackgroundMapGeometry__WEBPACK_IMPORTED_MODULE_118__.calculateEcefToDbTransformAtLocation),
|
|
144994
|
+
/* harmony export */ canvasToImageBuffer: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.canvasToImageBuffer),
|
|
144995
|
+
/* harmony export */ canvasToResizedCanvasWithBars: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.canvasToResizedCanvasWithBars),
|
|
144996
|
+
/* harmony export */ collectMaskRefs: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.collectMaskRefs),
|
|
144997
|
+
/* harmony export */ connectViewportFrusta: () => (/* reexport safe */ _ViewportSync__WEBPACK_IMPORTED_MODULE_64__.connectViewportFrusta),
|
|
144998
|
+
/* harmony export */ connectViewportViews: () => (/* reexport safe */ _ViewportSync__WEBPACK_IMPORTED_MODULE_64__.connectViewportViews),
|
|
144999
|
+
/* harmony export */ connectViewports: () => (/* reexport safe */ _ViewportSync__WEBPACK_IMPORTED_MODULE_64__.connectViewports),
|
|
145000
|
+
/* harmony export */ createQuantityDescription: () => (/* reexport safe */ _properties_FormattedQuantityDescription__WEBPACK_IMPORTED_MODULE_72__.createQuantityDescription),
|
|
145001
|
+
/* harmony export */ createSpatialTileTreeReferences: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.createSpatialTileTreeReferences),
|
|
145002
|
+
/* harmony export */ createWorkerProxy: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.createWorkerProxy),
|
|
145003
|
+
/* harmony export */ deflateCoordinates: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.deflateCoordinates),
|
|
145004
|
+
/* harmony export */ extractImageSourceDimensions: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.extractImageSourceDimensions),
|
|
145005
|
+
/* harmony export */ eyeToCartographicOnGlobe: () => (/* reexport safe */ _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_60__.eyeToCartographicOnGlobe),
|
|
145006
|
+
/* harmony export */ eyeToCartographicOnGlobeFromGcs: () => (/* reexport safe */ _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_60__.eyeToCartographicOnGlobeFromGcs),
|
|
145007
|
+
/* harmony export */ formatAnimationBranchId: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__.formatAnimationBranchId),
|
|
145008
|
+
/* harmony export */ getCenteredViewRect: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.getCenteredViewRect),
|
|
145009
|
+
/* harmony export */ getCesiumAssetUrl: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.getCesiumAssetUrl),
|
|
145010
|
+
/* harmony export */ getCompressedJpegFromCanvas: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.getCompressedJpegFromCanvas),
|
|
145011
|
+
/* harmony export */ getFrustumPlaneIntersectionDepthRange: () => (/* reexport safe */ _BackgroundMapGeometry__WEBPACK_IMPORTED_MODULE_118__.getFrustumPlaneIntersectionDepthRange),
|
|
145012
|
+
/* harmony export */ getGoogle3dTilesUrl: () => (/* reexport safe */ _RealityDataSource__WEBPACK_IMPORTED_MODULE_123__.getGoogle3dTilesUrl),
|
|
145013
|
+
/* harmony export */ getHeightAverage: () => (/* reexport safe */ _GeoProviders__WEBPACK_IMPORTED_MODULE_5__.getHeightAverage),
|
|
145014
|
+
/* harmony export */ getHeightRange: () => (/* reexport safe */ _GeoProviders__WEBPACK_IMPORTED_MODULE_5__.getHeightRange),
|
|
145015
|
+
/* harmony export */ getImageSourceFormatForMimeType: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.getImageSourceFormatForMimeType),
|
|
145016
|
+
/* harmony export */ getImageSourceMimeType: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.getImageSourceMimeType),
|
|
145017
|
+
/* harmony export */ getQuantityTypeKey: () => (/* reexport safe */ _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_74__.getQuantityTypeKey),
|
|
145018
|
+
/* harmony export */ headersIncludeAuthMethod: () => (/* reexport safe */ _request_utils__WEBPACK_IMPORTED_MODULE_122__.headersIncludeAuthMethod),
|
|
145019
|
+
/* harmony export */ imageBitmapFromImageSource: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.imageBitmapFromImageSource),
|
|
145020
|
+
/* harmony export */ imageBufferToBase64EncodedPng: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.imageBufferToBase64EncodedPng),
|
|
145021
|
+
/* harmony export */ imageBufferToCanvas: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.imageBufferToCanvas),
|
|
145022
|
+
/* harmony export */ imageBufferToPngDataUrl: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.imageBufferToPngDataUrl),
|
|
145023
|
+
/* harmony export */ imageElementFromImageSource: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.imageElementFromImageSource),
|
|
145024
|
+
/* harmony export */ imageElementFromUrl: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.imageElementFromUrl),
|
|
145025
|
+
/* harmony export */ isCheckboxFormatPropEditorSpec: () => (/* reexport safe */ _quantity_formatting_QuantityTypesEditorSpecs__WEBPACK_IMPORTED_MODULE_77__.isCheckboxFormatPropEditorSpec),
|
|
145026
|
+
/* harmony export */ isCustomQuantityTypeDefinition: () => (/* reexport safe */ _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_74__.isCustomQuantityTypeDefinition),
|
|
145027
|
+
/* harmony export */ isTextInputFormatPropEditorSpec: () => (/* reexport safe */ _quantity_formatting_QuantityTypesEditorSpecs__WEBPACK_IMPORTED_MODULE_77__.isTextInputFormatPropEditorSpec),
|
|
145028
|
+
/* harmony export */ isTextSelectFormatPropEditorSpec: () => (/* reexport safe */ _quantity_formatting_QuantityTypesEditorSpecs__WEBPACK_IMPORTED_MODULE_77__.isTextSelectFormatPropEditorSpec),
|
|
145029
|
+
/* harmony export */ linePlaneIntersect: () => (/* reexport safe */ _LinePlaneIntersect__WEBPACK_IMPORTED_MODULE_37__.linePlaneIntersect),
|
|
145030
|
+
/* harmony export */ metersToRange: () => (/* reexport safe */ _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_60__.metersToRange),
|
|
145031
|
+
/* harmony export */ openImageDataUrlInNewWindow: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.openImageDataUrlInNewWindow),
|
|
145032
|
+
/* harmony export */ queryTerrainElevationOffset: () => (/* reexport safe */ _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_60__.queryTerrainElevationOffset),
|
|
145033
|
+
/* harmony export */ rangeToCartographicArea: () => (/* reexport safe */ _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_60__.rangeToCartographicArea),
|
|
145034
|
+
/* harmony export */ readElementGraphics: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.readElementGraphics),
|
|
145035
|
+
/* harmony export */ readGltf: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.readGltf),
|
|
145036
|
+
/* harmony export */ readGltfGraphics: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.readGltfGraphics),
|
|
145037
|
+
/* harmony export */ readGltfTemplate: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_101__.readGltfTemplate),
|
|
145038
|
+
/* harmony export */ registerWorker: () => (/* reexport safe */ _workers_RegisterWorker__WEBPACK_IMPORTED_MODULE_117__.registerWorker),
|
|
145039
|
+
/* harmony export */ setBasicAuthorization: () => (/* reexport safe */ _request_utils__WEBPACK_IMPORTED_MODULE_122__.setBasicAuthorization),
|
|
145040
|
+
/* harmony export */ setRequestTimeout: () => (/* reexport safe */ _request_utils__WEBPACK_IMPORTED_MODULE_122__.setRequestTimeout),
|
|
145041
|
+
/* harmony export */ synchronizeViewportFrusta: () => (/* reexport safe */ _ViewportSync__WEBPACK_IMPORTED_MODULE_64__.synchronizeViewportFrusta),
|
|
145042
|
+
/* harmony export */ synchronizeViewportViews: () => (/* reexport safe */ _ViewportSync__WEBPACK_IMPORTED_MODULE_64__.synchronizeViewportViews),
|
|
145043
|
+
/* harmony export */ tryImageElementFromUrl: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_12__.tryImageElementFromUrl),
|
|
145044
|
+
/* harmony export */ viewGlobalLocation: () => (/* reexport safe */ _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_60__.viewGlobalLocation)
|
|
144905
145045
|
/* harmony export */ });
|
|
144906
145046
|
/* harmony import */ var _AccuDraw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AccuDraw */ "../../core/frontend/lib/esm/AccuDraw.js");
|
|
144907
145047
|
/* harmony import */ var _AccuSnap__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AccuSnap */ "../../core/frontend/lib/esm/AccuSnap.js");
|
|
144908
145048
|
/* harmony import */ var _AuxCoordSys__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AuxCoordSys */ "../../core/frontend/lib/esm/AuxCoordSys.js");
|
|
144909
145049
|
/* harmony import */ var _BingLocation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./BingLocation */ "../../core/frontend/lib/esm/BingLocation.js");
|
|
144910
145050
|
/* harmony import */ var _BriefcaseConnection__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./BriefcaseConnection */ "../../core/frontend/lib/esm/BriefcaseConnection.js");
|
|
144911
|
-
/* harmony import */ var
|
|
144912
|
-
/* harmony import */ var
|
|
144913
|
-
/* harmony import */ var
|
|
144914
|
-
/* harmony import */ var
|
|
144915
|
-
/* harmony import */ var
|
|
144916
|
-
/* harmony import */ var
|
|
144917
|
-
/* harmony import */ var
|
|
144918
|
-
/* harmony import */ var
|
|
144919
|
-
/* harmony import */ var
|
|
144920
|
-
/* harmony import */ var
|
|
144921
|
-
/* harmony import */ var
|
|
144922
|
-
/* harmony import */ var
|
|
144923
|
-
/* harmony import */ var
|
|
144924
|
-
/* harmony import */ var
|
|
144925
|
-
/* harmony import */ var
|
|
144926
|
-
/* harmony import */ var
|
|
144927
|
-
/* harmony import */ var
|
|
144928
|
-
/* harmony import */ var
|
|
144929
|
-
/* harmony import */ var
|
|
144930
|
-
/* harmony import */ var
|
|
144931
|
-
/* harmony import */ var
|
|
144932
|
-
/* harmony import */ var
|
|
144933
|
-
/* harmony import */ var
|
|
144934
|
-
/* harmony import */ var
|
|
144935
|
-
/* harmony import */ var
|
|
144936
|
-
/* harmony import */ var
|
|
144937
|
-
/* harmony import */ var
|
|
144938
|
-
/* harmony import */ var
|
|
144939
|
-
/* harmony import */ var
|
|
144940
|
-
/* harmony import */ var
|
|
144941
|
-
/* harmony import */ var
|
|
144942
|
-
/* harmony import */ var
|
|
144943
|
-
/* harmony import */ var
|
|
144944
|
-
/* harmony import */ var
|
|
144945
|
-
/* harmony import */ var
|
|
144946
|
-
/* harmony import */ var
|
|
144947
|
-
/* harmony import */ var
|
|
144948
|
-
/* harmony import */ var
|
|
144949
|
-
/* harmony import */ var
|
|
144950
|
-
/* harmony import */ var
|
|
144951
|
-
/* harmony import */ var
|
|
144952
|
-
/* harmony import */ var
|
|
144953
|
-
/* harmony import */ var
|
|
144954
|
-
/* harmony import */ var
|
|
144955
|
-
/* harmony import */ var
|
|
144956
|
-
/* harmony import */ var
|
|
144957
|
-
/* harmony import */ var
|
|
144958
|
-
/* harmony import */ var
|
|
144959
|
-
/* harmony import */ var
|
|
144960
|
-
/* harmony import */ var
|
|
144961
|
-
/* harmony import */ var
|
|
144962
|
-
/* harmony import */ var
|
|
144963
|
-
/* harmony import */ var
|
|
144964
|
-
/* harmony import */ var
|
|
144965
|
-
/* harmony import */ var
|
|
144966
|
-
/* harmony import */ var
|
|
144967
|
-
/* harmony import */ var
|
|
144968
|
-
/* harmony import */ var
|
|
144969
|
-
/* harmony import */ var
|
|
144970
|
-
/* harmony import */ var
|
|
144971
|
-
/* harmony import */ var
|
|
144972
|
-
/* harmony import */ var
|
|
144973
|
-
/* harmony import */ var
|
|
144974
|
-
/* harmony import */ var
|
|
144975
|
-
/* harmony import */ var
|
|
144976
|
-
/* harmony import */ var
|
|
144977
|
-
/* harmony import */ var
|
|
144978
|
-
/* harmony import */ var
|
|
144979
|
-
/* harmony import */ var
|
|
144980
|
-
/* harmony import */ var
|
|
144981
|
-
/* harmony import */ var
|
|
144982
|
-
/* harmony import */ var
|
|
144983
|
-
/* harmony import */ var
|
|
144984
|
-
/* harmony import */ var
|
|
144985
|
-
/* harmony import */ var
|
|
144986
|
-
/* harmony import */ var
|
|
144987
|
-
/* harmony import */ var
|
|
144988
|
-
/* harmony import */ var
|
|
144989
|
-
/* harmony import */ var
|
|
144990
|
-
/* harmony import */ var
|
|
144991
|
-
/* harmony import */ var
|
|
144992
|
-
/* harmony import */ var
|
|
144993
|
-
/* harmony import */ var
|
|
144994
|
-
/* harmony import */ var
|
|
144995
|
-
/* harmony import */ var
|
|
144996
|
-
/* harmony import */ var
|
|
144997
|
-
/* harmony import */ var
|
|
144998
|
-
/* harmony import */ var
|
|
144999
|
-
/* harmony import */ var
|
|
145000
|
-
/* harmony import */ var
|
|
145001
|
-
/* harmony import */ var
|
|
145002
|
-
/* harmony import */ var
|
|
145003
|
-
/* harmony import */ var
|
|
145004
|
-
/* harmony import */ var
|
|
145005
|
-
/* harmony import */ var
|
|
145006
|
-
/* harmony import */ var
|
|
145007
|
-
/* harmony import */ var
|
|
145008
|
-
/* harmony import */ var
|
|
145009
|
-
/* harmony import */ var
|
|
145010
|
-
/* harmony import */ var
|
|
145011
|
-
/* harmony import */ var
|
|
145012
|
-
/* harmony import */ var
|
|
145013
|
-
/* harmony import */ var
|
|
145014
|
-
/* harmony import */ var
|
|
145015
|
-
/* harmony import */ var
|
|
145016
|
-
/* harmony import */ var
|
|
145017
|
-
/* harmony import */ var
|
|
145018
|
-
/* harmony import */ var
|
|
145019
|
-
/* harmony import */ var
|
|
145020
|
-
/* harmony import */ var
|
|
145021
|
-
/* harmony import */ var
|
|
145022
|
-
/* harmony import */ var
|
|
145023
|
-
/* harmony import */ var
|
|
145024
|
-
/* harmony import */ var
|
|
145025
|
-
/* harmony import */ var
|
|
145026
|
-
/* harmony import */ var
|
|
145027
|
-
/* harmony import */ var
|
|
145028
|
-
/* harmony import */ var
|
|
145029
|
-
/* harmony import */ var
|
|
145051
|
+
/* harmony import */ var _GeoProviders__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./GeoProviders */ "../../core/frontend/lib/esm/GeoProviders.js");
|
|
145052
|
+
/* harmony import */ var _BriefcaseTxns__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./BriefcaseTxns */ "../../core/frontend/lib/esm/BriefcaseTxns.js");
|
|
145053
|
+
/* harmony import */ var _CatalogConnection__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./CatalogConnection */ "../../core/frontend/lib/esm/CatalogConnection.js");
|
|
145054
|
+
/* harmony import */ var _CategorySelectorState__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./CategorySelectorState */ "../../core/frontend/lib/esm/CategorySelectorState.js");
|
|
145055
|
+
/* harmony import */ var _CesiumAccessClient__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./CesiumAccessClient */ "../../core/frontend/lib/esm/CesiumAccessClient.js");
|
|
145056
|
+
/* harmony import */ var _ChangeFlags__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./ChangeFlags */ "../../core/frontend/lib/esm/ChangeFlags.js");
|
|
145057
|
+
/* harmony import */ var _CheckpointConnection__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./CheckpointConnection */ "../../core/frontend/lib/esm/CheckpointConnection.js");
|
|
145058
|
+
/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./common */ "../../core/frontend/lib/esm/common.js");
|
|
145059
|
+
/* harmony import */ var _ContextRealityModelState__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./ContextRealityModelState */ "../../core/frontend/lib/esm/ContextRealityModelState.js");
|
|
145060
|
+
/* harmony import */ var _CoordSystem__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./CoordSystem */ "../../core/frontend/lib/esm/CoordSystem.js");
|
|
145061
|
+
/* harmony import */ var _DecorationsCache__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./DecorationsCache */ "../../core/frontend/lib/esm/DecorationsCache.js");
|
|
145062
|
+
/* harmony import */ var _DevTools__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./DevTools */ "../../core/frontend/lib/esm/DevTools.js");
|
|
145063
|
+
/* harmony import */ var _DisplayStyleState__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./DisplayStyleState */ "../../core/frontend/lib/esm/DisplayStyleState.js");
|
|
145064
|
+
/* harmony import */ var _DrawingViewState__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./DrawingViewState */ "../../core/frontend/lib/esm/DrawingViewState.js");
|
|
145065
|
+
/* harmony import */ var _ElementLocateManager__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./ElementLocateManager */ "../../core/frontend/lib/esm/ElementLocateManager.js");
|
|
145066
|
+
/* harmony import */ var _EmphasizeElements__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./EmphasizeElements */ "../../core/frontend/lib/esm/EmphasizeElements.js");
|
|
145067
|
+
/* harmony import */ var _EntityState__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./EntityState */ "../../core/frontend/lib/esm/EntityState.js");
|
|
145068
|
+
/* harmony import */ var _EnvironmentDecorations__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./EnvironmentDecorations */ "../../core/frontend/lib/esm/EnvironmentDecorations.js");
|
|
145069
|
+
/* harmony import */ var _FeatureOverrideProvider__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./FeatureOverrideProvider */ "../../core/frontend/lib/esm/FeatureOverrideProvider.js");
|
|
145070
|
+
/* harmony import */ var _FlashSettings__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./FlashSettings */ "../../core/frontend/lib/esm/FlashSettings.js");
|
|
145071
|
+
/* harmony import */ var _FrontendHubAccess__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./FrontendHubAccess */ "../../core/frontend/lib/esm/FrontendHubAccess.js");
|
|
145072
|
+
/* harmony import */ var _Frustum2d__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./Frustum2d */ "../../core/frontend/lib/esm/Frustum2d.js");
|
|
145073
|
+
/* harmony import */ var _FrustumAnimator__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./FrustumAnimator */ "../../core/frontend/lib/esm/FrustumAnimator.js");
|
|
145074
|
+
/* harmony import */ var _FuzzySearch__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./FuzzySearch */ "../../core/frontend/lib/esm/FuzzySearch.js");
|
|
145075
|
+
/* harmony import */ var _GeoServices__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./GeoServices */ "../../core/frontend/lib/esm/GeoServices.js");
|
|
145076
|
+
/* harmony import */ var _GlobeAnimator__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./GlobeAnimator */ "../../core/frontend/lib/esm/GlobeAnimator.js");
|
|
145077
|
+
/* harmony import */ var _GraphicalEditingScope__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./GraphicalEditingScope */ "../../core/frontend/lib/esm/GraphicalEditingScope.js");
|
|
145078
|
+
/* harmony import */ var _HitDetail__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./HitDetail */ "../../core/frontend/lib/esm/HitDetail.js");
|
|
145079
|
+
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
145080
|
+
/* harmony import */ var _IModelConnection__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./IModelConnection */ "../../core/frontend/lib/esm/IModelConnection.js");
|
|
145081
|
+
/* harmony import */ var _IModelRoutingContext__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./IModelRoutingContext */ "../../core/frontend/lib/esm/IModelRoutingContext.js");
|
|
145082
|
+
/* harmony import */ var _IpcApp__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./IpcApp */ "../../core/frontend/lib/esm/IpcApp.js");
|
|
145083
|
+
/* harmony import */ var _LinePlaneIntersect__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./LinePlaneIntersect */ "../../core/frontend/lib/esm/LinePlaneIntersect.js");
|
|
145084
|
+
/* harmony import */ var _MarginPercent__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./MarginPercent */ "../../core/frontend/lib/esm/MarginPercent.js");
|
|
145085
|
+
/* harmony import */ var _Marker__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./Marker */ "../../core/frontend/lib/esm/Marker.js");
|
|
145086
|
+
/* harmony import */ var _ModelSelectorState__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./ModelSelectorState */ "../../core/frontend/lib/esm/ModelSelectorState.js");
|
|
145087
|
+
/* harmony import */ var _ModelState__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./ModelState */ "../../core/frontend/lib/esm/ModelState.js");
|
|
145088
|
+
/* harmony import */ var _NativeApp__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./NativeApp */ "../../core/frontend/lib/esm/NativeApp.js");
|
|
145089
|
+
/* harmony import */ var _NativeAppLogger__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./NativeAppLogger */ "../../core/frontend/lib/esm/NativeAppLogger.js");
|
|
145090
|
+
/* harmony import */ var _NoRenderApp__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./NoRenderApp */ "../../core/frontend/lib/esm/NoRenderApp.js");
|
|
145091
|
+
/* harmony import */ var _NotificationManager__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./NotificationManager */ "../../core/frontend/lib/esm/NotificationManager.js");
|
|
145092
|
+
/* harmony import */ var _PerModelCategoryVisibility__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./PerModelCategoryVisibility */ "../../core/frontend/lib/esm/PerModelCategoryVisibility.js");
|
|
145093
|
+
/* harmony import */ var _PlanarClipMaskState__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./PlanarClipMaskState */ "../../core/frontend/lib/esm/PlanarClipMaskState.js");
|
|
145094
|
+
/* harmony import */ var _SelectionSet__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./SelectionSet */ "../../core/frontend/lib/esm/SelectionSet.js");
|
|
145095
|
+
/* harmony import */ var _SheetViewState__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./SheetViewState */ "../../core/frontend/lib/esm/SheetViewState.js");
|
|
145096
|
+
/* harmony import */ var _SpatialClassifiersState__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./SpatialClassifiersState */ "../../core/frontend/lib/esm/SpatialClassifiersState.js");
|
|
145097
|
+
/* harmony import */ var _SpatialViewState__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./SpatialViewState */ "../../core/frontend/lib/esm/SpatialViewState.js");
|
|
145098
|
+
/* harmony import */ var _Sprites__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./Sprites */ "../../core/frontend/lib/esm/Sprites.js");
|
|
145099
|
+
/* harmony import */ var _StandardView__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./StandardView */ "../../core/frontend/lib/esm/StandardView.js");
|
|
145100
|
+
/* harmony import */ var _SubCategoriesCache__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./SubCategoriesCache */ "../../core/frontend/lib/esm/SubCategoriesCache.js");
|
|
145101
|
+
/* harmony import */ var _TentativePoint__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./TentativePoint */ "../../core/frontend/lib/esm/TentativePoint.js");
|
|
145102
|
+
/* harmony import */ var _Tiles__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./Tiles */ "../../core/frontend/lib/esm/Tiles.js");
|
|
145103
|
+
/* harmony import */ var _UserPreferences__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./UserPreferences */ "../../core/frontend/lib/esm/UserPreferences.js");
|
|
145104
|
+
/* harmony import */ var _ViewAnimation__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./ViewAnimation */ "../../core/frontend/lib/esm/ViewAnimation.js");
|
|
145105
|
+
/* harmony import */ var _ViewContext__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./ViewContext */ "../../core/frontend/lib/esm/ViewContext.js");
|
|
145106
|
+
/* harmony import */ var _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./ViewGlobalLocation */ "../../core/frontend/lib/esm/ViewGlobalLocation.js");
|
|
145107
|
+
/* harmony import */ var _ViewingSpace__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./ViewingSpace */ "../../core/frontend/lib/esm/ViewingSpace.js");
|
|
145108
|
+
/* harmony import */ var _ViewManager__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./ViewManager */ "../../core/frontend/lib/esm/ViewManager.js");
|
|
145109
|
+
/* harmony import */ var _Viewport__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./Viewport */ "../../core/frontend/lib/esm/Viewport.js");
|
|
145110
|
+
/* harmony import */ var _ViewportSync__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./ViewportSync */ "../../core/frontend/lib/esm/ViewportSync.js");
|
|
145111
|
+
/* harmony import */ var _ViewPose__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./ViewPose */ "../../core/frontend/lib/esm/ViewPose.js");
|
|
145112
|
+
/* harmony import */ var _ViewState__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./ViewState */ "../../core/frontend/lib/esm/ViewState.js");
|
|
145113
|
+
/* harmony import */ var _ViewStatus__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./ViewStatus */ "../../core/frontend/lib/esm/ViewStatus.js");
|
|
145114
|
+
/* harmony import */ var _extension_Extension__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./extension/Extension */ "../../core/frontend/lib/esm/extension/Extension.js");
|
|
145115
|
+
/* harmony import */ var _extension_providers_LocalExtensionProvider__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./extension/providers/LocalExtensionProvider */ "../../core/frontend/lib/esm/extension/providers/LocalExtensionProvider.js");
|
|
145116
|
+
/* harmony import */ var _extension_providers_RemoteExtensionProvider__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./extension/providers/RemoteExtensionProvider */ "../../core/frontend/lib/esm/extension/providers/RemoteExtensionProvider.js");
|
|
145117
|
+
/* harmony import */ var _properties_AngleDescription__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./properties/AngleDescription */ "../../core/frontend/lib/esm/properties/AngleDescription.js");
|
|
145118
|
+
/* harmony import */ var _properties_FormattedQuantityDescription__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./properties/FormattedQuantityDescription */ "../../core/frontend/lib/esm/properties/FormattedQuantityDescription.js");
|
|
145119
|
+
/* harmony import */ var _properties_LengthDescription__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ./properties/LengthDescription */ "../../core/frontend/lib/esm/properties/LengthDescription.js");
|
|
145120
|
+
/* harmony import */ var _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ./quantity-formatting/QuantityFormatter */ "../../core/frontend/lib/esm/quantity-formatting/QuantityFormatter.js");
|
|
145121
|
+
/* harmony import */ var _quantity_formatting_BaseUnitFormattingSettingsProvider__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ./quantity-formatting/BaseUnitFormattingSettingsProvider */ "../../core/frontend/lib/esm/quantity-formatting/BaseUnitFormattingSettingsProvider.js");
|
|
145122
|
+
/* harmony import */ var _quantity_formatting_LocalUnitFormatProvider__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ./quantity-formatting/LocalUnitFormatProvider */ "../../core/frontend/lib/esm/quantity-formatting/LocalUnitFormatProvider.js");
|
|
145123
|
+
/* harmony import */ var _quantity_formatting_QuantityTypesEditorSpecs__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ./quantity-formatting/QuantityTypesEditorSpecs */ "../../core/frontend/lib/esm/quantity-formatting/QuantityTypesEditorSpecs.js");
|
|
145124
|
+
/* harmony import */ var _render_CanvasDecoration__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ./render/CanvasDecoration */ "../../core/frontend/lib/esm/render/CanvasDecoration.js");
|
|
145125
|
+
/* harmony import */ var _render_CreateRenderMaterialArgs__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ./render/CreateRenderMaterialArgs */ "../../core/frontend/lib/esm/render/CreateRenderMaterialArgs.js");
|
|
145126
|
+
/* harmony import */ var _render_CreateTextureArgs__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ./render/CreateTextureArgs */ "../../core/frontend/lib/esm/render/CreateTextureArgs.js");
|
|
145127
|
+
/* harmony import */ var _render_Decorations__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ./render/Decorations */ "../../core/frontend/lib/esm/render/Decorations.js");
|
|
145128
|
+
/* harmony import */ var _render_FeatureSymbology__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ./render/FeatureSymbology */ "../../core/frontend/lib/esm/render/FeatureSymbology.js");
|
|
145129
|
+
/* harmony import */ var _render_FrameStats__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ./render/FrameStats */ "../../core/frontend/lib/esm/render/FrameStats.js");
|
|
145130
|
+
/* harmony import */ var _render_GraphicBranch__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ./render/GraphicBranch */ "../../core/frontend/lib/esm/render/GraphicBranch.js");
|
|
145131
|
+
/* harmony import */ var _render_GraphicBuilder__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ./render/GraphicBuilder */ "../../core/frontend/lib/esm/render/GraphicBuilder.js");
|
|
145132
|
+
/* harmony import */ var _render_GraphicTemplate__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ./render/GraphicTemplate */ "../../core/frontend/lib/esm/render/GraphicTemplate.js");
|
|
145133
|
+
/* harmony import */ var _render_MeshArgs__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ./render/MeshArgs */ "../../core/frontend/lib/esm/render/MeshArgs.js");
|
|
145134
|
+
/* harmony import */ var _render_ParticleCollectionBuilder__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! ./render/ParticleCollectionBuilder */ "../../core/frontend/lib/esm/render/ParticleCollectionBuilder.js");
|
|
145135
|
+
/* harmony import */ var _render_Pixel__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! ./render/Pixel */ "../../core/frontend/lib/esm/render/Pixel.js");
|
|
145136
|
+
/* harmony import */ var _render_PolylineArgs__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(/*! ./render/PolylineArgs */ "../../core/frontend/lib/esm/render/PolylineArgs.js");
|
|
145137
|
+
/* harmony import */ var _render_RealityMeshParams__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(/*! ./render/RealityMeshParams */ "../../core/frontend/lib/esm/render/RealityMeshParams.js");
|
|
145138
|
+
/* harmony import */ var _render_RenderClipVolume__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(/*! ./render/RenderClipVolume */ "../../core/frontend/lib/esm/render/RenderClipVolume.js");
|
|
145139
|
+
/* harmony import */ var _render_RenderGraphic__WEBPACK_IMPORTED_MODULE_93__ = __webpack_require__(/*! ./render/RenderGraphic */ "../../core/frontend/lib/esm/render/RenderGraphic.js");
|
|
145140
|
+
/* harmony import */ var _render_RenderMemory__WEBPACK_IMPORTED_MODULE_94__ = __webpack_require__(/*! ./render/RenderMemory */ "../../core/frontend/lib/esm/render/RenderMemory.js");
|
|
145141
|
+
/* harmony import */ var _render_RenderSystem__WEBPACK_IMPORTED_MODULE_95__ = __webpack_require__(/*! ./render/RenderSystem */ "../../core/frontend/lib/esm/render/RenderSystem.js");
|
|
145142
|
+
/* harmony import */ var _render_RenderTarget__WEBPACK_IMPORTED_MODULE_96__ = __webpack_require__(/*! ./render/RenderTarget */ "../../core/frontend/lib/esm/render/RenderTarget.js");
|
|
145143
|
+
/* harmony import */ var _render_Scene__WEBPACK_IMPORTED_MODULE_97__ = __webpack_require__(/*! ./render/Scene */ "../../core/frontend/lib/esm/render/Scene.js");
|
|
145144
|
+
/* harmony import */ var _render_ScreenSpaceEffectBuilder__WEBPACK_IMPORTED_MODULE_98__ = __webpack_require__(/*! ./render/ScreenSpaceEffectBuilder */ "../../core/frontend/lib/esm/render/ScreenSpaceEffectBuilder.js");
|
|
145145
|
+
/* harmony import */ var _render_VisibleFeature__WEBPACK_IMPORTED_MODULE_99__ = __webpack_require__(/*! ./render/VisibleFeature */ "../../core/frontend/lib/esm/render/VisibleFeature.js");
|
|
145146
|
+
/* harmony import */ var _internal_render_webgl_IModelFrameLifecycle__WEBPACK_IMPORTED_MODULE_100__ = __webpack_require__(/*! ./internal/render/webgl/IModelFrameLifecycle */ "../../core/frontend/lib/esm/internal/render/webgl/IModelFrameLifecycle.js");
|
|
145147
|
+
/* harmony import */ var _tile_internal__WEBPACK_IMPORTED_MODULE_101__ = __webpack_require__(/*! ./tile/internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
145148
|
+
/* harmony import */ var _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__ = __webpack_require__(/*! ./tools/AccuDrawTool */ "../../core/frontend/lib/esm/tools/AccuDrawTool.js");
|
|
145149
|
+
/* harmony import */ var _tools_AccuDrawViewportUI__WEBPACK_IMPORTED_MODULE_103__ = __webpack_require__(/*! ./tools/AccuDrawViewportUI */ "../../core/frontend/lib/esm/tools/AccuDrawViewportUI.js");
|
|
145150
|
+
/* harmony import */ var _tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_104__ = __webpack_require__(/*! ./tools/ClipViewTool */ "../../core/frontend/lib/esm/tools/ClipViewTool.js");
|
|
145151
|
+
/* harmony import */ var _tools_EditManipulator__WEBPACK_IMPORTED_MODULE_105__ = __webpack_require__(/*! ./tools/EditManipulator */ "../../core/frontend/lib/esm/tools/EditManipulator.js");
|
|
145152
|
+
/* harmony import */ var _tools_ElementSetTool__WEBPACK_IMPORTED_MODULE_106__ = __webpack_require__(/*! ./tools/ElementSetTool */ "../../core/frontend/lib/esm/tools/ElementSetTool.js");
|
|
145153
|
+
/* harmony import */ var _tools_EventController__WEBPACK_IMPORTED_MODULE_107__ = __webpack_require__(/*! ./tools/EventController */ "../../core/frontend/lib/esm/tools/EventController.js");
|
|
145154
|
+
/* harmony import */ var _tools_IdleTool__WEBPACK_IMPORTED_MODULE_108__ = __webpack_require__(/*! ./tools/IdleTool */ "../../core/frontend/lib/esm/tools/IdleTool.js");
|
|
145155
|
+
/* harmony import */ var _tools_MeasureTool__WEBPACK_IMPORTED_MODULE_109__ = __webpack_require__(/*! ./tools/MeasureTool */ "../../core/frontend/lib/esm/tools/MeasureTool.js");
|
|
145156
|
+
/* harmony import */ var _tools_PrimitiveTool__WEBPACK_IMPORTED_MODULE_110__ = __webpack_require__(/*! ./tools/PrimitiveTool */ "../../core/frontend/lib/esm/tools/PrimitiveTool.js");
|
|
145157
|
+
/* harmony import */ var _tools_SelectTool__WEBPACK_IMPORTED_MODULE_111__ = __webpack_require__(/*! ./tools/SelectTool */ "../../core/frontend/lib/esm/tools/SelectTool.js");
|
|
145158
|
+
/* harmony import */ var _tools_Tool__WEBPACK_IMPORTED_MODULE_112__ = __webpack_require__(/*! ./tools/Tool */ "../../core/frontend/lib/esm/tools/Tool.js");
|
|
145159
|
+
/* harmony import */ var _tools_ToolSettings__WEBPACK_IMPORTED_MODULE_113__ = __webpack_require__(/*! ./tools/ToolSettings */ "../../core/frontend/lib/esm/tools/ToolSettings.js");
|
|
145160
|
+
/* harmony import */ var _tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_114__ = __webpack_require__(/*! ./tools/ToolAdmin */ "../../core/frontend/lib/esm/tools/ToolAdmin.js");
|
|
145161
|
+
/* harmony import */ var _tools_ToolAssistance__WEBPACK_IMPORTED_MODULE_115__ = __webpack_require__(/*! ./tools/ToolAssistance */ "../../core/frontend/lib/esm/tools/ToolAssistance.js");
|
|
145162
|
+
/* harmony import */ var _tools_ViewTool__WEBPACK_IMPORTED_MODULE_116__ = __webpack_require__(/*! ./tools/ViewTool */ "../../core/frontend/lib/esm/tools/ViewTool.js");
|
|
145163
|
+
/* harmony import */ var _workers_RegisterWorker__WEBPACK_IMPORTED_MODULE_117__ = __webpack_require__(/*! ./workers/RegisterWorker */ "../../core/frontend/lib/esm/workers/RegisterWorker.js");
|
|
145164
|
+
/* harmony import */ var _BackgroundMapGeometry__WEBPACK_IMPORTED_MODULE_118__ = __webpack_require__(/*! ./BackgroundMapGeometry */ "../../core/frontend/lib/esm/BackgroundMapGeometry.js");
|
|
145165
|
+
/* harmony import */ var _ViewCreator2d__WEBPACK_IMPORTED_MODULE_119__ = __webpack_require__(/*! ./ViewCreator2d */ "../../core/frontend/lib/esm/ViewCreator2d.js");
|
|
145166
|
+
/* harmony import */ var _ViewCreator3d__WEBPACK_IMPORTED_MODULE_120__ = __webpack_require__(/*! ./ViewCreator3d */ "../../core/frontend/lib/esm/ViewCreator3d.js");
|
|
145167
|
+
/* harmony import */ var _LocalhostIpcApp__WEBPACK_IMPORTED_MODULE_121__ = __webpack_require__(/*! ./LocalhostIpcApp */ "../../core/frontend/lib/esm/LocalhostIpcApp.js");
|
|
145168
|
+
/* harmony import */ var _request_utils__WEBPACK_IMPORTED_MODULE_122__ = __webpack_require__(/*! ./request/utils */ "../../core/frontend/lib/esm/request/utils.js");
|
|
145169
|
+
/* harmony import */ var _RealityDataSource__WEBPACK_IMPORTED_MODULE_123__ = __webpack_require__(/*! ./RealityDataSource */ "../../core/frontend/lib/esm/RealityDataSource.js");
|
|
145170
|
+
/* harmony import */ var _internal_cross_package__WEBPACK_IMPORTED_MODULE_124__ = __webpack_require__(/*! ./internal/cross-package */ "../../core/frontend/lib/esm/internal/cross-package.js");
|
|
145171
|
+
/* harmony import */ var _extension_ExtensionRuntime__WEBPACK_IMPORTED_MODULE_125__ = __webpack_require__(/*! ./extension/ExtensionRuntime */ "../../core/frontend/lib/esm/extension/ExtensionRuntime.js");
|
|
145030
145172
|
/*---------------------------------------------------------------------------------------------
|
|
145031
145173
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
145032
145174
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -145151,6 +145293,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
145151
145293
|
|
|
145152
145294
|
|
|
145153
145295
|
|
|
145296
|
+
|
|
145297
|
+
|
|
145154
145298
|
|
|
145155
145299
|
|
|
145156
145300
|
|
|
@@ -184541,6 +184685,7 @@ class RealityModelTileProps {
|
|
|
184541
184685
|
rangeCorners;
|
|
184542
184686
|
region;
|
|
184543
184687
|
geometricError;
|
|
184688
|
+
contentUrl;
|
|
184544
184689
|
constructor(args) {
|
|
184545
184690
|
this.contentId = args.id;
|
|
184546
184691
|
this.parent = args.parent;
|
|
@@ -184558,9 +184703,12 @@ class RealityModelTileProps {
|
|
|
184558
184703
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(false, "Unbounded tile");
|
|
184559
184704
|
}
|
|
184560
184705
|
this.isLeaf = !Array.isArray(json.children) || 0 === json.children.length;
|
|
184561
|
-
const
|
|
184562
|
-
|
|
184706
|
+
const contentUrl = getUrl(json.content);
|
|
184707
|
+
const hasContents = undefined !== contentUrl;
|
|
184708
|
+
if (hasContents) {
|
|
184709
|
+
this.contentUrl = contentUrl;
|
|
184563
184710
|
this.contentRange = RealityModelTileUtils.rangeFromBoundingVolume(json.content.boundingVolume)?.range;
|
|
184711
|
+
}
|
|
184564
184712
|
else {
|
|
184565
184713
|
// A node without content should probably be selectable even if not additive refinement - But restrict it to that case here
|
|
184566
184714
|
// to avoid potential problems with existing reality models, but still avoid overselection in the OSM world building set.
|
|
@@ -185210,8 +185358,57 @@ class RealityTileLoader {
|
|
|
185210
185358
|
streamBuffer.curPos = position;
|
|
185211
185359
|
return format;
|
|
185212
185360
|
}
|
|
185361
|
+
/** Reality tile content is identified by the first 4 bytes of the stream. Binary formats (b3dm, glb, pnts, etc.) use a
|
|
185362
|
+
* recognizable magic number, but a tileset may also reference glTF content as a plain-text JSON `.gltf` file, which
|
|
185363
|
+
* begins with a `{` character instead of a magic number and therefore matches no known format.
|
|
185364
|
+
* JSON content is identified the same way the rest of the reality tile pipeline identifies content types: by the
|
|
185365
|
+
* content URL's extension (see `expandSubTree` in RealityModelTileTree.ts, which uses `RealityDataSource.getTileContentType`
|
|
185366
|
+
* to peel off external `tileset.json` content during tree construction), rather than by sniffing the bytes.
|
|
185367
|
+
* A `.gltf` content URL is normalized to [[TileFormat.Gltf]] so it is routed to the glTF reader, which accepts both
|
|
185368
|
+
* binary and JSON glTF. (External `tileset.json` content is resolved by `expandSubTree` before it reaches this point.)
|
|
185369
|
+
*/
|
|
185370
|
+
_normalizeFormat(format, tile) {
|
|
185371
|
+
if ((0,_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.isKnownTileFormat)(format))
|
|
185372
|
+
return format;
|
|
185373
|
+
if (this._hasGltfExtension(tile.contentUrl))
|
|
185374
|
+
return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.Gltf;
|
|
185375
|
+
return format;
|
|
185376
|
+
}
|
|
185377
|
+
/** Returns whether the given content URL identifies a JSON glTF (`.gltf`) resource, ignoring any query string or
|
|
185378
|
+
* fragment (e.g. `8/130/85.gltf?token=abc`).
|
|
185379
|
+
*/
|
|
185380
|
+
_hasGltfExtension(contentUrl) {
|
|
185381
|
+
if (undefined === contentUrl)
|
|
185382
|
+
return false;
|
|
185383
|
+
const path = contentUrl.split(/[?#]/, 1)[0];
|
|
185384
|
+
return path.toLowerCase().endsWith(".gltf");
|
|
185385
|
+
}
|
|
185386
|
+
/** The base URL the glTF reader should resolve relatively-referenced resources (e.g. external images) against.
|
|
185387
|
+
* Prefer the tile's own content URL so that images referenced relative to the content (typical of JSON `.gltf` tiles)
|
|
185388
|
+
* resolve correctly, rather than against the tileset root. The tileset's query/authentication parameters (e.g.
|
|
185389
|
+
* `?sig=abc`) are preserved on the returned URL: the data source appends them to every tile request, and the glTF
|
|
185390
|
+
* reader re-applies the base URL's query string to each relatively-referenced resource (see `GltfReader.resolveUrl`),
|
|
185391
|
+
* so external resources must be fetched with the same parameters.
|
|
185392
|
+
*/
|
|
185393
|
+
_getReaderBaseUrl(tile) {
|
|
185394
|
+
const treeBaseUrl = tile.tree.baseUrl;
|
|
185395
|
+
if (undefined !== tile.contentUrl) {
|
|
185396
|
+
if (undefined === treeBaseUrl)
|
|
185397
|
+
return tile.contentUrl;
|
|
185398
|
+
try {
|
|
185399
|
+
const resolved = new URL(tile.contentUrl, treeBaseUrl);
|
|
185400
|
+
if ("" === resolved.search)
|
|
185401
|
+
resolved.search = new URL(treeBaseUrl).search;
|
|
185402
|
+
return resolved.toString();
|
|
185403
|
+
}
|
|
185404
|
+
catch {
|
|
185405
|
+
// treeBaseUrl is not a valid absolute base against which to resolve contentUrl; fall back to the tree base URL.
|
|
185406
|
+
}
|
|
185407
|
+
}
|
|
185408
|
+
return treeBaseUrl;
|
|
185409
|
+
}
|
|
185213
185410
|
async loadGeometryFromStream(tile, streamBuffer, system) {
|
|
185214
|
-
const format = this._getFormat(streamBuffer);
|
|
185411
|
+
const format = this._normalizeFormat(this._getFormat(streamBuffer), tile);
|
|
185215
185412
|
if (format !== _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.B3dm && format !== _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.Gltf) {
|
|
185216
185413
|
return {};
|
|
185217
185414
|
}
|
|
@@ -185224,7 +185421,7 @@ class RealityTileLoader {
|
|
|
185224
185421
|
}
|
|
185225
185422
|
switch (format) {
|
|
185226
185423
|
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.Gltf:
|
|
185227
|
-
const props = createReaderPropsWithBaseUrl(streamBuffer, yAxisUp, tile
|
|
185424
|
+
const props = createReaderPropsWithBaseUrl(streamBuffer, yAxisUp, this._getReaderBaseUrl(tile));
|
|
185228
185425
|
if (props) {
|
|
185229
185426
|
reader = new _tile_internal__WEBPACK_IMPORTED_MODULE_7__.GltfGraphicsReader(props, {
|
|
185230
185427
|
iModel,
|
|
@@ -185261,7 +185458,7 @@ class RealityTileLoader {
|
|
|
185261
185458
|
return { geometry: geom };
|
|
185262
185459
|
}
|
|
185263
185460
|
async loadGraphicsFromStream(tile, streamBuffer, system, isCanceled) {
|
|
185264
|
-
const format = this._getFormat(streamBuffer);
|
|
185461
|
+
const format = this._normalizeFormat(this._getFormat(streamBuffer), tile);
|
|
185265
185462
|
if (undefined === isCanceled)
|
|
185266
185463
|
isCanceled = () => !tile.isLoading;
|
|
185267
185464
|
const { is3d, yAxisUp, iModel, modelId } = tile.realityRoot;
|
|
@@ -185319,8 +185516,7 @@ class RealityTileLoader {
|
|
|
185319
185516
|
reader = _tile_internal__WEBPACK_IMPORTED_MODULE_7__.I3dmReader.create(streamBuffer, iModel, modelId, is3d, tile.contentRange, system, yAxisUp, tile.isLeaf, isCanceled, undefined, this.wantDeduplicatedVertices, tileData);
|
|
185320
185517
|
break;
|
|
185321
185518
|
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.Gltf:
|
|
185322
|
-
const
|
|
185323
|
-
const baseUrl = tree.baseUrl;
|
|
185519
|
+
const baseUrl = this._getReaderBaseUrl(tile);
|
|
185324
185520
|
const props = createReaderPropsWithBaseUrl(streamBuffer, yAxisUp, baseUrl);
|
|
185325
185521
|
if (props) {
|
|
185326
185522
|
reader = new _tile_internal__WEBPACK_IMPORTED_MODULE_7__.GltfGraphicsReader(props, {
|
|
@@ -196645,6 +196841,9 @@ class RealityTile extends _internal__WEBPACK_IMPORTED_MODULE_5__.Tile {
|
|
|
196645
196841
|
rangeCorners;
|
|
196646
196842
|
/** @internal */
|
|
196647
196843
|
region;
|
|
196844
|
+
/** The URL of this tile's content, used to resolve resources (e.g. external glTF images) referenced relatively by the content.
|
|
196845
|
+
* @internal */
|
|
196846
|
+
contentUrl;
|
|
196648
196847
|
/** @internal */
|
|
196649
196848
|
_geometry;
|
|
196650
196849
|
_everDisplayed = false;
|
|
@@ -196668,6 +196867,7 @@ class RealityTile extends _internal__WEBPACK_IMPORTED_MODULE_5__.Tile {
|
|
|
196668
196867
|
this.noContentButTerminateOnSelection = props.noContentButTerminateOnSelection;
|
|
196669
196868
|
this.rangeCorners = props.rangeCorners;
|
|
196670
196869
|
this.region = props.region;
|
|
196870
|
+
this.contentUrl = props.contentUrl;
|
|
196671
196871
|
this._geometricError = props.geometricError;
|
|
196672
196872
|
this.tree = tree;
|
|
196673
196873
|
if (undefined === this.transformToRoot)
|
|
@@ -198438,8 +198638,16 @@ class TileAdmin {
|
|
|
198438
198638
|
contextPreloadParentDepth;
|
|
198439
198639
|
/** @internal */
|
|
198440
198640
|
contextPreloadParentSkip;
|
|
198441
|
-
/**
|
|
198641
|
+
/** The Cesium Ion API key supplied via [[TileAdmin.Props.cesiumIonKey]], used by the built-in client to
|
|
198642
|
+
* authenticate directly with Cesium Ion. See [[canAccessCesium]] to test whether any Cesium access is configured.
|
|
198643
|
+
* @beta
|
|
198644
|
+
*/
|
|
198442
198645
|
cesiumIonKey;
|
|
198646
|
+
/** The custom [[CesiumAccessClient]] registered via [[TileAdmin.Props.cesiumAccess]], used to resolve Cesium
|
|
198647
|
+
* asset endpoints. When defined, it takes precedence over [[cesiumIonKey]].
|
|
198648
|
+
* @beta
|
|
198649
|
+
*/
|
|
198650
|
+
cesiumAccess;
|
|
198443
198651
|
_removeIModelConnectionOnCloseListener;
|
|
198444
198652
|
_totalElided = 0;
|
|
198445
198653
|
_rpcInitialized = false;
|
|
@@ -198479,6 +198687,13 @@ class TileAdmin {
|
|
|
198479
198687
|
numPendingTileTreePropsRequests: this._tileTreePropsRequests.length - numActiveTileTreePropsRequests,
|
|
198480
198688
|
};
|
|
198481
198689
|
}
|
|
198690
|
+
/** Returns `true` if any Cesium access is configured — that is, if a custom [[CesiumAccessClient]] has been
|
|
198691
|
+
* registered via [[TileAdmin.Props.cesiumAccess]], or if [[cesiumIonKey]] is set.
|
|
198692
|
+
* @beta
|
|
198693
|
+
*/
|
|
198694
|
+
get canAccessCesium() {
|
|
198695
|
+
return this.cesiumAccess !== undefined || this.cesiumIonKey !== undefined;
|
|
198696
|
+
}
|
|
198482
198697
|
/** Resets the cumulative (per-session) statistics like totalCompletedRequests, totalEmptyTiles, etc. */
|
|
198483
198698
|
resetStatistics() {
|
|
198484
198699
|
this.channels.resetStatistics();
|
|
@@ -198517,6 +198732,7 @@ class TileAdmin {
|
|
|
198517
198732
|
this.useLargerTiles = options.useLargerTiles ?? _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.defaultTileOptions.useLargerTiles;
|
|
198518
198733
|
this.mobileRealityTileMinToleranceRatio = Math.max(options.mobileRealityTileMinToleranceRatio ?? 3.0, 1.0);
|
|
198519
198734
|
this.cesiumIonKey = options.cesiumIonKey;
|
|
198735
|
+
this.cesiumAccess = options.cesiumAccess;
|
|
198520
198736
|
this._cloudStorage = options.tileStorage;
|
|
198521
198737
|
const gpuMemoryLimits = options.gpuMemoryLimits;
|
|
198522
198738
|
let gpuMemoryLimit;
|
|
@@ -201294,6 +201510,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
201294
201510
|
/* harmony export */ appendQueryParams: () => (/* reexport safe */ _internal_tile_map_UrlUtils__WEBPACK_IMPORTED_MODULE_48__.appendQueryParams),
|
|
201295
201511
|
/* harmony export */ collectMaskRefs: () => (/* reexport safe */ _internal_tile_PrimaryTileTree__WEBPACK_IMPORTED_MODULE_82__.collectMaskRefs),
|
|
201296
201512
|
/* harmony export */ compareMapLayer: () => (/* reexport safe */ _internal_render_webgl_MapLayerParams__WEBPACK_IMPORTED_MODULE_94__.compareMapLayer),
|
|
201513
|
+
/* harmony export */ computeCesiumTokenTimeoutInterval: () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_68__.computeCesiumTokenTimeoutInterval),
|
|
201297
201514
|
/* harmony export */ createClassifierTileTreeReference: () => (/* reexport safe */ _internal_tile_ClassifierTileTree__WEBPACK_IMPORTED_MODULE_83__.createClassifierTileTreeReference),
|
|
201298
201515
|
/* harmony export */ createDefaultViewFlagOverrides: () => (/* reexport safe */ _internal_tile_ViewFlagOverrides__WEBPACK_IMPORTED_MODULE_0__.createDefaultViewFlagOverrides),
|
|
201299
201516
|
/* harmony export */ createGraphicFromDescription: () => (/* reexport safe */ _internal_tile_ImdlGraphicsCreator__WEBPACK_IMPORTED_MODULE_37__.createGraphicFromDescription),
|
|
@@ -201310,6 +201527,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
201310
201527
|
/* harmony export */ decodeMeshoptBuffer: () => (/* reexport safe */ _internal_tile_MeshoptCompression__WEBPACK_IMPORTED_MODULE_93__.decodeMeshoptBuffer),
|
|
201311
201528
|
/* harmony export */ deflateCoordinates: () => (/* reexport safe */ _internal_tile_map_ImageryProviders_CoordinatesUtils__WEBPACK_IMPORTED_MODULE_47__.deflateCoordinates),
|
|
201312
201529
|
/* harmony export */ disposeTileTreesForGeometricModels: () => (/* reexport safe */ _internal_tile_PrimaryTileTree__WEBPACK_IMPORTED_MODULE_82__.disposeTileTreesForGeometricModels),
|
|
201530
|
+
/* harmony export */ getCesiumAccessClient: () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_68__.getCesiumAccessClient),
|
|
201313
201531
|
/* harmony export */ getCesiumAccessTokenAndEndpointUrl: () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_68__.getCesiumAccessTokenAndEndpointUrl),
|
|
201314
201532
|
/* harmony export */ getCesiumAssetUrl: () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_68__.getCesiumAssetUrl),
|
|
201315
201533
|
/* harmony export */ getCesiumOSMBuildingsUrl: () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_68__.getCesiumOSMBuildingsUrl),
|
|
@@ -201553,7 +201771,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
201553
201771
|
/* harmony export */ });
|
|
201554
201772
|
/* harmony import */ var _request_Request__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../request/Request */ "../../core/frontend/lib/esm/request/Request.js");
|
|
201555
201773
|
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
201556
|
-
/* harmony import */ var
|
|
201774
|
+
/* harmony import */ var _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
|
|
201775
|
+
/* harmony import */ var _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/core-geometry */ "../../core/geometry/lib/esm/core-geometry.js");
|
|
201557
201776
|
/*---------------------------------------------------------------------------------------------
|
|
201558
201777
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
201559
201778
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -201564,12 +201783,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
201564
201783
|
|
|
201565
201784
|
|
|
201566
201785
|
|
|
201786
|
+
|
|
201567
201787
|
// cspell:ignore atae qdng uyzv auje sealevel
|
|
201568
201788
|
/** Provides an interface to the [Bing Maps elevation services](https://docs.microsoft.com/en-us/bingmaps/rest-services/elevations/).
|
|
201569
201789
|
* Use of these services requires an API key to be supplied via [[MapLayerOptions.BingMaps]] in the [[IModelAppOptions.mapLayerOptions]]
|
|
201570
201790
|
* passed to [[IModelApp.startup]].
|
|
201571
201791
|
* @public
|
|
201572
201792
|
* @extensions
|
|
201793
|
+
* @deprecated in 5.11.0. Provide an [[ElevationProvider]] and [[GeoidProvider]] implementation via [[IModelAppOptions.geospatialProviders]].
|
|
201794
|
+
* @note This class structurally satisfies both [[ElevationProvider]] and [[GeoidProvider]] but does not use an explicit
|
|
201795
|
+
* `implements` clause because api-extractor forbids `@public` classes from referencing `@beta` interfaces (ae-incompatible-release-tags).
|
|
201573
201796
|
*/
|
|
201574
201797
|
class BingElevationProvider {
|
|
201575
201798
|
_heightRangeRequestTemplate;
|
|
@@ -201578,8 +201801,9 @@ class BingElevationProvider {
|
|
|
201578
201801
|
/** @public */
|
|
201579
201802
|
constructor() {
|
|
201580
201803
|
let bingKey = "";
|
|
201804
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated -- this deprecated class reads from the deprecated BingMaps key by design
|
|
201581
201805
|
if (_IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.mapLayerFormatRegistry.configOptions.BingMaps)
|
|
201582
|
-
bingKey = _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.mapLayerFormatRegistry.configOptions.BingMaps.value;
|
|
201806
|
+
bingKey = _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.mapLayerFormatRegistry.configOptions.BingMaps.value; // eslint-disable-line @typescript-eslint/no-deprecated
|
|
201583
201807
|
this._heightRangeRequestTemplate =
|
|
201584
201808
|
"https://dev.virtualearth.net/REST/v1/Elevation/Bounds?bounds={boundingBox}&rows=16&cols=16&heights=ellipsoid&key={BingMapsAPIKey}"
|
|
201585
201809
|
.replace("{BingMapsAPIKey}", bingKey);
|
|
@@ -201623,11 +201847,14 @@ class BingElevationProvider {
|
|
|
201623
201847
|
return undefined;
|
|
201624
201848
|
}
|
|
201625
201849
|
}
|
|
201626
|
-
|
|
201627
|
-
|
|
201628
|
-
|
|
201629
|
-
|
|
201630
|
-
|
|
201850
|
+
async getGeodeticToSeaLevelOffset(pointOrCarto, iModel) {
|
|
201851
|
+
let carto;
|
|
201852
|
+
if (pointOrCarto instanceof _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.Cartographic) {
|
|
201853
|
+
carto = pointOrCarto;
|
|
201854
|
+
}
|
|
201855
|
+
else {
|
|
201856
|
+
carto = iModel.spatialToCartographicFromEcef(pointOrCarto);
|
|
201857
|
+
}
|
|
201631
201858
|
const requestUrl = this._seaLevelOffsetRequestTemplate.replace("{points}", `${carto.latitudeDegrees},${carto.longitudeDegrees}`);
|
|
201632
201859
|
try {
|
|
201633
201860
|
const tileResponseBody = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_0__.request)(requestUrl, "json");
|
|
@@ -201638,18 +201865,19 @@ class BingElevationProvider {
|
|
|
201638
201865
|
}
|
|
201639
201866
|
}
|
|
201640
201867
|
/** Get the height (altitude) at a given iModel coordinate. The height is geodetic (WGS84 ellipsoid)
|
|
201641
|
-
* If geodetic is true (the default) then height is returned in the Ellipsoidal WGS84 datum. If geodetic is false then sea level height is returned using the Earth Gravitational Model 2008 (EGM2008 2.5
|
|
201642
|
-
*
|
|
201868
|
+
* If geodetic is true (the default) then height is returned in the Ellipsoidal WGS84 datum. If geodetic is false then sea level height is returned using the Earth Gravitational Model 2008 (EGM2008 2.5').
|
|
201869
|
+
* @deprecated in 5.11.0. Use [[ElevationProvider.getHeight]] via [[IModelApp.elevationProvider]] instead.
|
|
201643
201870
|
* @public
|
|
201644
201871
|
*/
|
|
201645
201872
|
async getHeightValue(point, iModel, geodetic = true) {
|
|
201646
201873
|
return this.getHeight(iModel.spatialToCartographicFromEcef(point), geodetic);
|
|
201647
201874
|
}
|
|
201648
201875
|
/** Get the height (altitude) range for a given iModel project extents. The height values are geodetic (WGS84 ellipsoid).
|
|
201876
|
+
* @deprecated in 5.11.0. Use standalone [[getHeightRange]] function instead.
|
|
201649
201877
|
* @public
|
|
201650
201878
|
*/
|
|
201651
201879
|
async getHeightRange(iModel) {
|
|
201652
|
-
const latLongRange =
|
|
201880
|
+
const latLongRange = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_3__.Range2d.createNull();
|
|
201653
201881
|
const range = iModel.projectExtents.clone();
|
|
201654
201882
|
// Expand for project surroundings.
|
|
201655
201883
|
range.expandInPlace(1000);
|
|
@@ -201658,13 +201886,14 @@ class BingElevationProvider {
|
|
|
201658
201886
|
latLongRange.extendXY(carto.longitudeDegrees, carto.latitudeDegrees);
|
|
201659
201887
|
}
|
|
201660
201888
|
const heights = await this.getHeights(latLongRange);
|
|
201661
|
-
return heights ?
|
|
201889
|
+
return heights ? _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_3__.Range1d.createArray(heights) : _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_3__.Range1d.createNull();
|
|
201662
201890
|
}
|
|
201663
201891
|
/** Get the average height (altitude) for a given iModel project extents. The height values are geodetic (WGS84 ellipsoid).
|
|
201892
|
+
* @deprecated in 5.11.0. Use standalone [[getHeightAverage]] function instead.
|
|
201664
201893
|
* @public
|
|
201665
201894
|
*/
|
|
201666
201895
|
async getHeightAverage(iModel) {
|
|
201667
|
-
const latLongRange =
|
|
201896
|
+
const latLongRange = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_3__.Range2d.createNull();
|
|
201668
201897
|
for (const corner of iModel.projectExtents.corners()) {
|
|
201669
201898
|
const carto = iModel.spatialToCartographicFromEcef(corner);
|
|
201670
201899
|
latLongRange.extendXY(carto.longitudeDegrees, carto.latitudeDegrees);
|
|
@@ -201691,6 +201920,8 @@ class BingElevationProvider {
|
|
|
201691
201920
|
"use strict";
|
|
201692
201921
|
__webpack_require__.r(__webpack_exports__);
|
|
201693
201922
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
201923
|
+
/* harmony export */ computeCesiumTokenTimeoutInterval: () => (/* binding */ computeCesiumTokenTimeoutInterval),
|
|
201924
|
+
/* harmony export */ getCesiumAccessClient: () => (/* binding */ getCesiumAccessClient),
|
|
201694
201925
|
/* harmony export */ getCesiumAccessTokenAndEndpointUrl: () => (/* binding */ getCesiumAccessTokenAndEndpointUrl),
|
|
201695
201926
|
/* harmony export */ getCesiumAssetUrl: () => (/* binding */ getCesiumAssetUrl),
|
|
201696
201927
|
/* harmony export */ getCesiumOSMBuildingsUrl: () => (/* binding */ getCesiumOSMBuildingsUrl),
|
|
@@ -201728,7 +201959,7 @@ var QuantizedMeshExtensionIds;
|
|
|
201728
201959
|
QuantizedMeshExtensionIds[QuantizedMeshExtensionIds["WaterMask"] = 2] = "WaterMask";
|
|
201729
201960
|
QuantizedMeshExtensionIds[QuantizedMeshExtensionIds["Metadata"] = 4] = "Metadata";
|
|
201730
201961
|
})(QuantizedMeshExtensionIds || (QuantizedMeshExtensionIds = {}));
|
|
201731
|
-
/** Return the URL for a Cesium
|
|
201962
|
+
/** Return the URL for a Cesium Ion asset from its asset ID and request Key.
|
|
201732
201963
|
* @public
|
|
201733
201964
|
*/
|
|
201734
201965
|
function getCesiumAssetUrl(osmAssetId, requestKey) {
|
|
@@ -201736,10 +201967,30 @@ function getCesiumAssetUrl(osmAssetId, requestKey) {
|
|
|
201736
201967
|
}
|
|
201737
201968
|
/** @internal */
|
|
201738
201969
|
function getCesiumOSMBuildingsUrl() {
|
|
201739
|
-
|
|
201740
|
-
if (undefined === key)
|
|
201970
|
+
if (!_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tileAdmin.canAccessCesium)
|
|
201741
201971
|
return undefined;
|
|
201742
|
-
return getCesiumAssetUrl(+_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.CesiumIonAssetId.OSMBuildings,
|
|
201972
|
+
return getCesiumAssetUrl(+_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.CesiumIonAssetId.OSMBuildings, "");
|
|
201973
|
+
}
|
|
201974
|
+
/** Returns the registered [[CesiumAccessClient]], or a default [[CesiumIonClient]] if none is registered.
|
|
201975
|
+
* @internal
|
|
201976
|
+
*/
|
|
201977
|
+
function getCesiumAccessClient() {
|
|
201978
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tileAdmin.cesiumAccess ?? new CesiumIonClient();
|
|
201979
|
+
}
|
|
201980
|
+
const cesiumTokenTimeoutInterval = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeDuration.fromSeconds(60 * 30); // Request a new access token every 30 minutes...
|
|
201981
|
+
const cesiumMinTokenTimeoutInterval = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeDuration.fromSeconds(60); // ...but never re-resolve more often than once per minute.
|
|
201982
|
+
/** Compute when to next re-resolve a Cesium access token. Honors the endpoint's `expiresAt` when it is a valid
|
|
201983
|
+
* future time, but guards against an invalid (NaN) date - which would otherwise disable refresh entirely - and
|
|
201984
|
+
* against a past/imminent expiry that would re-resolve the endpoint on essentially every tile read.
|
|
201985
|
+
* @internal
|
|
201986
|
+
*/
|
|
201987
|
+
function computeCesiumTokenTimeoutInterval(expiresAt) {
|
|
201988
|
+
if (undefined === expiresAt)
|
|
201989
|
+
return cesiumTokenTimeoutInterval;
|
|
201990
|
+
const remainingMs = expiresAt.getTime() - Date.now();
|
|
201991
|
+
if (!Number.isFinite(remainingMs))
|
|
201992
|
+
return cesiumTokenTimeoutInterval;
|
|
201993
|
+
return _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeDuration.fromMilliseconds(Math.max(remainingMs, cesiumMinTokenTimeoutInterval.milliseconds));
|
|
201743
201994
|
}
|
|
201744
201995
|
/** @internal */
|
|
201745
201996
|
async function getCesiumAccessTokenAndEndpointUrl(assetId, requestKey) {
|
|
@@ -201773,15 +202024,19 @@ function notifyTerrainError(detailedDescription) {
|
|
|
201773
202024
|
}
|
|
201774
202025
|
/** @internal */
|
|
201775
202026
|
async function getCesiumTerrainProvider(opts) {
|
|
201776
|
-
const
|
|
201777
|
-
|
|
202027
|
+
const assetId = opts.dataSource || _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.CesiumTerrainAssetId.Default;
|
|
202028
|
+
const client = getCesiumAccessClient();
|
|
202029
|
+
const endpoint = await client.getAssetEndpoint(assetId, opts.iTwinId);
|
|
202030
|
+
if (!endpoint) {
|
|
201778
202031
|
notifyTerrainError(_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.localization.getLocalizedString(`iModelJs:BackgroundMap.MissingCesiumToken`));
|
|
201779
202032
|
return undefined;
|
|
201780
202033
|
}
|
|
202034
|
+
// Resource paths (layer.json, tiles) are appended directly to the base URL, so ensure it ends with a slash.
|
|
202035
|
+
const baseUrl = endpoint.url.endsWith("/") ? endpoint.url : `${endpoint.url}/`;
|
|
201781
202036
|
let layers;
|
|
201782
202037
|
try {
|
|
201783
|
-
const layerRequestOptions = { headers: { authorization: `Bearer ${
|
|
201784
|
-
const layerUrl = `${
|
|
202038
|
+
const layerRequestOptions = { headers: { authorization: `Bearer ${endpoint.accessToken}` } };
|
|
202039
|
+
const layerUrl = `${baseUrl}layer.json`;
|
|
201785
202040
|
layers = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_4__.request)(layerUrl, "json", layerRequestOptions);
|
|
201786
202041
|
}
|
|
201787
202042
|
catch {
|
|
@@ -201810,12 +202065,12 @@ async function getCesiumTerrainProvider(opts) {
|
|
|
201810
202065
|
}
|
|
201811
202066
|
}
|
|
201812
202067
|
}
|
|
201813
|
-
let tileUrlTemplate =
|
|
202068
|
+
let tileUrlTemplate = baseUrl + layers.tiles[0].replace("{version}", layers.version);
|
|
201814
202069
|
if (opts.wantNormals)
|
|
201815
202070
|
tileUrlTemplate = tileUrlTemplate.replace("?", "?extensions=octvertexnormals-watermask-metadata&");
|
|
201816
202071
|
const maxDepth = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.JsonUtils.asInt(layers.maxzoom, 19);
|
|
201817
202072
|
// TBD -- When we have an API extract the heights for the project from the terrain tiles - for use temporary Bing elevation.
|
|
201818
|
-
return new CesiumTerrainProvider(opts,
|
|
202073
|
+
return new CesiumTerrainProvider(opts, endpoint.accessToken, endpoint.expiresAt, tileUrlTemplate, maxDepth, tilingScheme, tileAvailability, layers.metadataAvailability);
|
|
201819
202074
|
}
|
|
201820
202075
|
function zigZagDecode(value) {
|
|
201821
202076
|
return (value >> 1) ^ (-(value & 1));
|
|
@@ -201850,19 +202105,19 @@ class CesiumTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_8__.Terra
|
|
|
201850
202105
|
_metaDataAvailableLevel;
|
|
201851
202106
|
_exaggeration;
|
|
201852
202107
|
_assetId;
|
|
202108
|
+
_iTwinId;
|
|
201853
202109
|
static _scratchQPoint2d = _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.QPoint2d.fromScalars(0, 0);
|
|
201854
202110
|
static _scratchPoint2d = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Point2d.createZero();
|
|
201855
202111
|
static _scratchPoint = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Point3d.createZero();
|
|
201856
202112
|
static _scratchNormal = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d.createZero();
|
|
201857
202113
|
static _scratchHeightRange = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Range1d.createNull();
|
|
201858
|
-
static _tokenTimeoutInterval = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeDuration.fromSeconds(60 * 30); // Request a new access token every 30 minutes...
|
|
201859
202114
|
_tokenTimeOut;
|
|
201860
202115
|
forceTileLoad(tile) {
|
|
201861
202116
|
// Force loading of the metadata availability tiles as these are required for determining the availability of descendants.
|
|
201862
202117
|
const mapTile = tile;
|
|
201863
202118
|
return undefined !== this._metaDataAvailableLevel && mapTile.quadId.level === this._metaDataAvailableLevel && !mapTile.everLoaded;
|
|
201864
202119
|
}
|
|
201865
|
-
constructor(opts, accessToken, tileUrlTemplate, maxDepth, tilingScheme, tileAvailability, metaDataAvailableLevel) {
|
|
202120
|
+
constructor(opts, accessToken, expiresAt, tileUrlTemplate, maxDepth, tilingScheme, tileAvailability, metaDataAvailableLevel) {
|
|
201866
202121
|
super();
|
|
201867
202122
|
this._wantSkirts = opts.wantSkirts;
|
|
201868
202123
|
this._exaggeration = opts.exaggeration;
|
|
@@ -201873,7 +202128,8 @@ class CesiumTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_8__.Terra
|
|
|
201873
202128
|
this._tileAvailability = tileAvailability;
|
|
201874
202129
|
this._metaDataAvailableLevel = metaDataAvailableLevel;
|
|
201875
202130
|
this._assetId = opts.dataSource || _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.CesiumTerrainAssetId.Default;
|
|
201876
|
-
this.
|
|
202131
|
+
this._iTwinId = opts.iTwinId;
|
|
202132
|
+
this._tokenTimeOut = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeTimePoint.now().plus(computeCesiumTokenTimeoutInterval(expiresAt));
|
|
201877
202133
|
}
|
|
201878
202134
|
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
201879
202135
|
addLogoCards(cards) {
|
|
@@ -201919,11 +202175,12 @@ class CesiumTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_8__.Terra
|
|
|
201919
202175
|
// ###TODO why does he update the access token when reading the mesh instead of when requesting it?
|
|
201920
202176
|
// This function only returns undefined if it fails to acquire token - but it doesn't need the token...
|
|
201921
202177
|
if (_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeTimePoint.now().milliseconds > this._tokenTimeOut.milliseconds) {
|
|
201922
|
-
const
|
|
201923
|
-
|
|
202178
|
+
const client = getCesiumAccessClient();
|
|
202179
|
+
const endpoint = await client.getAssetEndpoint(this._assetId, this._iTwinId);
|
|
202180
|
+
if (!endpoint || args.isCanceled())
|
|
201924
202181
|
return undefined;
|
|
201925
|
-
this._accessToken =
|
|
201926
|
-
this._tokenTimeOut = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeTimePoint.now().plus(
|
|
202182
|
+
this._accessToken = endpoint.accessToken;
|
|
202183
|
+
this._tokenTimeOut = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeTimePoint.now().plus(computeCesiumTokenTimeoutInterval(endpoint.expiresAt));
|
|
201927
202184
|
}
|
|
201928
202185
|
const { data, tile } = args;
|
|
201929
202186
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(data instanceof Uint8Array);
|
|
@@ -202110,6 +202367,18 @@ class CesiumTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_8__.Terra
|
|
|
202110
202367
|
return undefined === heightRange ? parentRange : heightRange;
|
|
202111
202368
|
}
|
|
202112
202369
|
}
|
|
202370
|
+
/** Default [[CesiumAccessClient]] that authenticates directly with Cesium Ion using [[TileAdmin.cesiumIonKey]].
|
|
202371
|
+
* This is used when no custom [[CesiumAccessClient]] is registered via [[TileAdmin.Props.cesiumAccess]].
|
|
202372
|
+
* @internal
|
|
202373
|
+
*/
|
|
202374
|
+
class CesiumIonClient {
|
|
202375
|
+
async getAssetEndpoint(assetId, _iTwinId) {
|
|
202376
|
+
const result = await getCesiumAccessTokenAndEndpointUrl(assetId);
|
|
202377
|
+
if (!result.token || !result.url)
|
|
202378
|
+
return undefined;
|
|
202379
|
+
return { accessToken: result.token, url: result.url };
|
|
202380
|
+
}
|
|
202381
|
+
}
|
|
202113
202382
|
|
|
202114
202383
|
|
|
202115
202384
|
/***/ }),
|
|
@@ -205545,15 +205814,25 @@ class MapTreeSupplier {
|
|
|
205545
205814
|
}
|
|
205546
205815
|
return cmp;
|
|
205547
205816
|
}
|
|
205548
|
-
async computeHeightBias(heightOrigin, heightOriginMode, exaggeration, iModel
|
|
205817
|
+
async computeHeightBias(heightOrigin, heightOriginMode, exaggeration, iModel) {
|
|
205549
205818
|
const projectCenter = iModel.projectExtents.center;
|
|
205550
205819
|
switch (heightOriginMode) {
|
|
205551
|
-
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.TerrainHeightOriginMode.Ground:
|
|
205552
|
-
|
|
205820
|
+
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.TerrainHeightOriginMode.Ground: {
|
|
205821
|
+
// Non-geolocated iModels skip elevation lookup — matches previous BingElevationProvider fallback behavior.
|
|
205822
|
+
if (!iModel.isGeoLocated)
|
|
205823
|
+
return heightOrigin;
|
|
205824
|
+
const carto = iModel.spatialToCartographicFromEcef(projectCenter);
|
|
205825
|
+
return heightOrigin + exaggeration * (await _IModelApp__WEBPACK_IMPORTED_MODULE_4__.IModelApp.elevationProvider.getHeight(carto));
|
|
205826
|
+
}
|
|
205553
205827
|
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.TerrainHeightOriginMode.Geodetic:
|
|
205554
205828
|
return heightOrigin;
|
|
205555
|
-
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.TerrainHeightOriginMode.Geoid:
|
|
205556
|
-
|
|
205829
|
+
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.TerrainHeightOriginMode.Geoid: {
|
|
205830
|
+
// Non-geolocated iModels skip geoid lookup — matches previous BingElevationProvider fallback behavior.
|
|
205831
|
+
if (!iModel.isGeoLocated)
|
|
205832
|
+
return heightOrigin;
|
|
205833
|
+
const carto = iModel.spatialToCartographicFromEcef(projectCenter);
|
|
205834
|
+
return heightOrigin + await _IModelApp__WEBPACK_IMPORTED_MODULE_4__.IModelApp.geoidProvider.getGeodeticToSeaLevelOffset(carto);
|
|
205835
|
+
}
|
|
205557
205836
|
}
|
|
205558
205837
|
}
|
|
205559
205838
|
async createTileTree(id, iModel) {
|
|
@@ -205567,12 +205846,13 @@ class MapTreeSupplier {
|
|
|
205567
205846
|
wantNormals: id.wantNormals,
|
|
205568
205847
|
dataSource: id.terrainDataSource,
|
|
205569
205848
|
produceGeometry: id.produceGeometry,
|
|
205849
|
+
iTwinId: iModel.iTwinId,
|
|
205570
205850
|
};
|
|
205571
205851
|
if (id.applyTerrain) {
|
|
205572
205852
|
await _ApproximateTerrainHeights__WEBPACK_IMPORTED_MODULE_3__.ApproximateTerrainHeights.instance.initialize();
|
|
205573
|
-
|
|
205574
|
-
|
|
205575
|
-
geodeticOffset = await
|
|
205853
|
+
bimElevationBias = -await this.computeHeightBias(id.terrainHeightOrigin, id.terrainHeightOriginMode, id.terrainExaggeration, iModel);
|
|
205854
|
+
const carto = iModel.isGeoLocated ? iModel.spatialToCartographicFromEcef(iModel.projectExtents.center) : undefined;
|
|
205855
|
+
geodeticOffset = carto ? await _IModelApp__WEBPACK_IMPORTED_MODULE_4__.IModelApp.geoidProvider.getGeodeticToSeaLevelOffset(carto) : 0;
|
|
205576
205856
|
const provider = _IModelApp__WEBPACK_IMPORTED_MODULE_4__.IModelApp.terrainProviderRegistry.find(id.terrainProviderName);
|
|
205577
205857
|
if (provider)
|
|
205578
205858
|
terrainProvider = await provider.createTerrainMeshProvider(terrainOpts);
|
|
@@ -217722,23 +218002,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
217722
218002
|
/* harmony import */ var _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
|
|
217723
218003
|
/* harmony import */ var _itwin_appui_abstract__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/appui-abstract */ "../../ui/appui-abstract/lib/esm/appui-abstract.js");
|
|
217724
218004
|
/* harmony import */ var _AccuDraw__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../AccuDraw */ "../../core/frontend/lib/esm/AccuDraw.js");
|
|
217725
|
-
/* harmony import */ var
|
|
217726
|
-
/* harmony import */ var
|
|
217727
|
-
/* harmony import */ var
|
|
217728
|
-
/* harmony import */ var
|
|
217729
|
-
/* harmony import */ var
|
|
217730
|
-
/* harmony import */ var
|
|
217731
|
-
/* harmony import */ var
|
|
217732
|
-
/* harmony import */ var
|
|
217733
|
-
/* harmony import */ var
|
|
217734
|
-
/* harmony import */ var
|
|
217735
|
-
/* harmony import */ var
|
|
217736
|
-
/* harmony import */ var
|
|
217737
|
-
/* harmony import */ var
|
|
217738
|
-
/* harmony import */ var
|
|
217739
|
-
/* harmony import */ var
|
|
217740
|
-
/* harmony import */ var
|
|
217741
|
-
/* harmony import */ var _common_render_GraphicType__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../common/render/GraphicType */ "../../core/frontend/lib/esm/common/render/GraphicType.js");
|
|
218005
|
+
/* harmony import */ var _CoordSystem__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../CoordSystem */ "../../core/frontend/lib/esm/CoordSystem.js");
|
|
218006
|
+
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
218007
|
+
/* harmony import */ var _properties_FormattedQuantityDescription__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../properties/FormattedQuantityDescription */ "../../core/frontend/lib/esm/properties/FormattedQuantityDescription.js");
|
|
218008
|
+
/* harmony import */ var _render_Pixel__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../render/Pixel */ "../../core/frontend/lib/esm/render/Pixel.js");
|
|
218009
|
+
/* harmony import */ var _StandardView__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../StandardView */ "../../core/frontend/lib/esm/StandardView.js");
|
|
218010
|
+
/* harmony import */ var _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../ViewGlobalLocation */ "../../core/frontend/lib/esm/ViewGlobalLocation.js");
|
|
218011
|
+
/* harmony import */ var _Viewport__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../Viewport */ "../../core/frontend/lib/esm/Viewport.js");
|
|
218012
|
+
/* harmony import */ var _common_ViewRect__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../common/ViewRect */ "../../core/frontend/lib/esm/common/ViewRect.js");
|
|
218013
|
+
/* harmony import */ var _ViewState__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../ViewState */ "../../core/frontend/lib/esm/ViewState.js");
|
|
218014
|
+
/* harmony import */ var _ViewStatus__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../ViewStatus */ "../../core/frontend/lib/esm/ViewStatus.js");
|
|
218015
|
+
/* harmony import */ var _EditManipulator__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./EditManipulator */ "../../core/frontend/lib/esm/tools/EditManipulator.js");
|
|
218016
|
+
/* harmony import */ var _PrimitiveTool__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./PrimitiveTool */ "../../core/frontend/lib/esm/tools/PrimitiveTool.js");
|
|
218017
|
+
/* harmony import */ var _Tool__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./Tool */ "../../core/frontend/lib/esm/tools/Tool.js");
|
|
218018
|
+
/* harmony import */ var _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./ToolAssistance */ "../../core/frontend/lib/esm/tools/ToolAssistance.js");
|
|
218019
|
+
/* harmony import */ var _ToolSettings__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./ToolSettings */ "../../core/frontend/lib/esm/tools/ToolSettings.js");
|
|
218020
|
+
/* harmony import */ var _common_render_GraphicType__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../common/render/GraphicType */ "../../core/frontend/lib/esm/common/render/GraphicType.js");
|
|
217742
218021
|
/*---------------------------------------------------------------------------------------------
|
|
217743
218022
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
217744
218023
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -217765,7 +218044,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
217765
218044
|
|
|
217766
218045
|
|
|
217767
218046
|
|
|
217768
|
-
|
|
217769
218047
|
|
|
217770
218048
|
|
|
217771
218049
|
/** @internal */
|
|
@@ -217785,7 +218063,7 @@ var ViewHandleType;
|
|
|
217785
218063
|
/* eslint-enable no-restricted-syntax */
|
|
217786
218064
|
// dampen an inertia vector according to tool settings
|
|
217787
218065
|
const inertialDampen = (pt) => {
|
|
217788
|
-
pt.scaleInPlace(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.clamp(
|
|
218066
|
+
pt.scaleInPlace(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.clamp(_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.viewingInertia.damping, .75, .999));
|
|
217789
218067
|
};
|
|
217790
218068
|
const focusHome = () => {
|
|
217791
218069
|
const element = document.activeElement;
|
|
@@ -217797,16 +218075,16 @@ const focusHome = () => {
|
|
|
217797
218075
|
* @public
|
|
217798
218076
|
* @extensions
|
|
217799
218077
|
*/
|
|
217800
|
-
class ViewTool extends
|
|
218078
|
+
class ViewTool extends _Tool__WEBPACK_IMPORTED_MODULE_17__.InteractiveTool {
|
|
217801
218079
|
viewport;
|
|
217802
|
-
static translate(val) { return
|
|
218080
|
+
static translate(val) { return _Tool__WEBPACK_IMPORTED_MODULE_17__.CoreTools.translate(`View.${val}`); }
|
|
217803
218081
|
inDynamicUpdate = false;
|
|
217804
218082
|
beginDynamicUpdate() { this.inDynamicUpdate = true; }
|
|
217805
218083
|
endDynamicUpdate() { this.inDynamicUpdate = false; }
|
|
217806
218084
|
async run(..._args) {
|
|
217807
|
-
const toolAdmin =
|
|
218085
|
+
const toolAdmin = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin;
|
|
217808
218086
|
if (undefined !== this.viewport && this.viewport === toolAdmin.markupView) {
|
|
217809
|
-
|
|
218087
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.notifications.outputPromptByKey("iModelJs:Viewing.NotDuringMarkup");
|
|
217810
218088
|
return false;
|
|
217811
218089
|
}
|
|
217812
218090
|
if (!await toolAdmin.onInstallTool(this))
|
|
@@ -217821,12 +218099,12 @@ class ViewTool extends _Tool__WEBPACK_IMPORTED_MODULE_18__.InteractiveTool {
|
|
|
217821
218099
|
}
|
|
217822
218100
|
async onResetButtonUp(_ev) {
|
|
217823
218101
|
await this.exitTool();
|
|
217824
|
-
return
|
|
218102
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes;
|
|
217825
218103
|
}
|
|
217826
218104
|
/** Do not override. */
|
|
217827
|
-
async exitTool() { return
|
|
218105
|
+
async exitTool() { return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin.exitViewTool(); }
|
|
217828
218106
|
static showPrompt(prompt) {
|
|
217829
|
-
|
|
218107
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.notifications.outputPrompt(ViewTool.translate(prompt));
|
|
217830
218108
|
}
|
|
217831
218109
|
}
|
|
217832
218110
|
/** @internal */
|
|
@@ -217844,7 +218122,7 @@ class ViewingToolHandle {
|
|
|
217844
218122
|
motion(_ev) { return false; }
|
|
217845
218123
|
checkOneShot() { return true; }
|
|
217846
218124
|
getHandleCursor() { return "default"; }
|
|
217847
|
-
focusIn() {
|
|
218125
|
+
focusIn() { _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin.setCursor(this.getHandleCursor()); }
|
|
217848
218126
|
drawHandle(_context, _hasFocus) { }
|
|
217849
218127
|
onWheel(_ev) { return false; }
|
|
217850
218128
|
onTouchStart(_ev) { return false; }
|
|
@@ -217859,12 +218137,12 @@ class ViewingToolHandle {
|
|
|
217859
218137
|
needDepthPoint(_ev, _isPreview) { return false; }
|
|
217860
218138
|
adjustDepthPoint(isValid, _vp, _plane, source) {
|
|
217861
218139
|
switch (source) {
|
|
217862
|
-
case
|
|
217863
|
-
case
|
|
217864
|
-
case
|
|
217865
|
-
case
|
|
217866
|
-
case
|
|
217867
|
-
case
|
|
218140
|
+
case _Viewport__WEBPACK_IMPORTED_MODULE_11__.DepthPointSource.Geometry:
|
|
218141
|
+
case _Viewport__WEBPACK_IMPORTED_MODULE_11__.DepthPointSource.Model:
|
|
218142
|
+
case _Viewport__WEBPACK_IMPORTED_MODULE_11__.DepthPointSource.BackgroundMap:
|
|
218143
|
+
case _Viewport__WEBPACK_IMPORTED_MODULE_11__.DepthPointSource.GroundPlane:
|
|
218144
|
+
case _Viewport__WEBPACK_IMPORTED_MODULE_11__.DepthPointSource.Grid:
|
|
218145
|
+
case _Viewport__WEBPACK_IMPORTED_MODULE_11__.DepthPointSource.Map:
|
|
217868
218146
|
return isValid; // Sources with visible geometry/graphics are considered valid by default...
|
|
217869
218147
|
default:
|
|
217870
218148
|
return false; // Sources without visible geometry/graphics are NOT considered valid by default...
|
|
@@ -218027,7 +218305,7 @@ class ViewManip extends ViewTool {
|
|
|
218027
218305
|
previewDepthPoint(context) {
|
|
218028
218306
|
if (undefined === this._depthPreview)
|
|
218029
218307
|
return;
|
|
218030
|
-
const cursorVp =
|
|
218308
|
+
const cursorVp = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin.cursorView;
|
|
218031
218309
|
if (cursorVp !== context.viewport)
|
|
218032
218310
|
return;
|
|
218033
218311
|
let origin = this._depthPreview.plane.getOriginRef();
|
|
@@ -218043,10 +218321,10 @@ class ViewManip extends ViewTool {
|
|
|
218043
218321
|
const radius = this._depthPreview.pickRadius * pixelSize;
|
|
218044
218322
|
const rMatrix = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Matrix3d.createRigidHeadsUp(normal);
|
|
218045
218323
|
const ellipse = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Arc3d.createScaledXYColumns(origin, rMatrix, radius, radius / skew, _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.AngleSweep.create360());
|
|
218046
|
-
const colorBase = (this._depthPreview.isDefaultDepth ? _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.ColorDef.red : (
|
|
218047
|
-
const colorLine =
|
|
218324
|
+
const colorBase = (this._depthPreview.isDefaultDepth ? _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.ColorDef.red : (_Viewport__WEBPACK_IMPORTED_MODULE_11__.DepthPointSource.Geometry === this._depthPreview.source ? _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.ColorDef.green : context.viewport.hilite.color));
|
|
218325
|
+
const colorLine = _EditManipulator__WEBPACK_IMPORTED_MODULE_15__.EditManipulator.HandleUtils.adjustForBackgroundColor(colorBase, cursorVp).withTransparency(50);
|
|
218048
218326
|
const colorFill = colorLine.withTransparency(200);
|
|
218049
|
-
const builder = context.createGraphicBuilder(
|
|
218327
|
+
const builder = context.createGraphicBuilder(_common_render_GraphicType__WEBPACK_IMPORTED_MODULE_20__.GraphicType.WorldOverlay);
|
|
218050
218328
|
builder.setSymbology(colorLine, colorFill, 1, this._depthPreview.isDefaultDepth ? _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.LinePixels.Code2 : _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.LinePixels.Solid);
|
|
218051
218329
|
builder.addArc(ellipse, true, true);
|
|
218052
218330
|
builder.addArc(ellipse, false, false);
|
|
@@ -218057,7 +218335,7 @@ class ViewManip extends ViewTool {
|
|
|
218057
218335
|
getDepthPointGeometryId() {
|
|
218058
218336
|
if (undefined === this._depthPreview)
|
|
218059
218337
|
return undefined;
|
|
218060
|
-
return (
|
|
218338
|
+
return (_Viewport__WEBPACK_IMPORTED_MODULE_11__.DepthPointSource.Geometry === this._depthPreview.source ? this._depthPreview.sourceId : undefined);
|
|
218061
218339
|
}
|
|
218062
218340
|
/** @internal */
|
|
218063
218341
|
clearDepthPoint() {
|
|
@@ -218076,20 +218354,20 @@ class ViewManip extends ViewTool {
|
|
|
218076
218354
|
const vp = ev.viewport;
|
|
218077
218355
|
if (undefined === vp || undefined === this.viewHandles.hitHandle || !this.viewHandles.hitHandle.needDepthPoint(ev, isPreview))
|
|
218078
218356
|
return undefined;
|
|
218079
|
-
const pickRadiusPixels = vp.pixelsFromInches(
|
|
218357
|
+
const pickRadiusPixels = vp.pixelsFromInches(_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.viewToolPickRadiusInches);
|
|
218080
218358
|
const result = vp.pickDepthPoint(ev.rawPoint, pickRadiusPixels);
|
|
218081
218359
|
let isValidDepth = false;
|
|
218082
218360
|
switch (result.source) {
|
|
218083
|
-
case
|
|
218084
|
-
case
|
|
218085
|
-
case
|
|
218361
|
+
case _Viewport__WEBPACK_IMPORTED_MODULE_11__.DepthPointSource.Geometry:
|
|
218362
|
+
case _Viewport__WEBPACK_IMPORTED_MODULE_11__.DepthPointSource.Model:
|
|
218363
|
+
case _Viewport__WEBPACK_IMPORTED_MODULE_11__.DepthPointSource.Map:
|
|
218086
218364
|
isValidDepth = true;
|
|
218087
218365
|
break;
|
|
218088
|
-
case
|
|
218089
|
-
case
|
|
218090
|
-
case
|
|
218091
|
-
case
|
|
218092
|
-
case
|
|
218366
|
+
case _Viewport__WEBPACK_IMPORTED_MODULE_11__.DepthPointSource.BackgroundMap:
|
|
218367
|
+
case _Viewport__WEBPACK_IMPORTED_MODULE_11__.DepthPointSource.GroundPlane:
|
|
218368
|
+
case _Viewport__WEBPACK_IMPORTED_MODULE_11__.DepthPointSource.Grid:
|
|
218369
|
+
case _Viewport__WEBPACK_IMPORTED_MODULE_11__.DepthPointSource.ACS:
|
|
218370
|
+
case _Viewport__WEBPACK_IMPORTED_MODULE_11__.DepthPointSource.TargetPoint:
|
|
218093
218371
|
const npcPt = vp.worldToNpc(result.plane.getOriginRef());
|
|
218094
218372
|
isValidDepth = !(npcPt.z < 0.0 || npcPt.z > 1.0);
|
|
218095
218373
|
break;
|
|
@@ -218125,7 +218403,7 @@ class ViewManip extends ViewTool {
|
|
|
218125
218403
|
async onDataButtonDown(ev) {
|
|
218126
218404
|
// Tool was started in "drag required" mode, don't advance tool state and wait to see if we get the start drag event.
|
|
218127
218405
|
if ((0 === this.nPts && this.isDraggingRequired && !this.isDragging) || undefined === ev.viewport)
|
|
218128
|
-
return
|
|
218406
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.No;
|
|
218129
218407
|
switch (this.nPts) {
|
|
218130
218408
|
case 0:
|
|
218131
218409
|
this.changeViewport(ev.viewport);
|
|
@@ -218143,46 +218421,46 @@ class ViewManip extends ViewTool {
|
|
|
218143
218421
|
else
|
|
218144
218422
|
await this.onReinitialize();
|
|
218145
218423
|
}
|
|
218146
|
-
return
|
|
218424
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes;
|
|
218147
218425
|
}
|
|
218148
218426
|
async onDataButtonUp(_ev) {
|
|
218149
218427
|
if (this.nPts <= 1 && this.isDraggingRequired && !this.isDragging && this.oneShot)
|
|
218150
218428
|
await this.exitTool();
|
|
218151
|
-
return
|
|
218429
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.No;
|
|
218152
218430
|
}
|
|
218153
218431
|
async onMouseWheel(inputEv) {
|
|
218154
218432
|
const ev = inputEv.clone();
|
|
218155
218433
|
if (this.viewHandles.onWheel(ev)) // notify handles that wheel has rolled.
|
|
218156
|
-
return
|
|
218157
|
-
await
|
|
218158
|
-
return
|
|
218434
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes;
|
|
218435
|
+
await _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin.processWheelEvent(ev, false);
|
|
218436
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes;
|
|
218159
218437
|
}
|
|
218160
218438
|
/** @internal */
|
|
218161
218439
|
async startHandleDrag(ev, forcedHandle) {
|
|
218162
218440
|
if (this.inHandleModify)
|
|
218163
|
-
return
|
|
218441
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.No; // If already changing the view reject the request...
|
|
218164
218442
|
if (undefined !== forcedHandle) {
|
|
218165
218443
|
if (!this.viewHandles.hasHandle(forcedHandle))
|
|
218166
|
-
return
|
|
218444
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.No; // If requested handle isn't present reject the request...
|
|
218167
218445
|
this.forcedHandle = forcedHandle;
|
|
218168
218446
|
}
|
|
218169
218447
|
this.receivedDownEvent = true; // Request up events even though we may not have gotten the down event...
|
|
218170
218448
|
this.isDragging = true;
|
|
218171
218449
|
if (0 === this.nPts)
|
|
218172
218450
|
await this.onDataButtonDown(ev);
|
|
218173
|
-
return
|
|
218451
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes;
|
|
218174
218452
|
}
|
|
218175
218453
|
async onMouseStartDrag(ev) {
|
|
218176
|
-
if (
|
|
218177
|
-
return
|
|
218454
|
+
if (_Tool__WEBPACK_IMPORTED_MODULE_17__.BeButton.Data !== ev.button)
|
|
218455
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.No;
|
|
218178
218456
|
return this.startHandleDrag(ev);
|
|
218179
218457
|
}
|
|
218180
218458
|
async onMouseEndDrag(ev) {
|
|
218181
218459
|
// NOTE: To support startHandleDrag being called by IdleTool for middle button drag, check inHandleModify and not the button type...
|
|
218182
218460
|
if (!this.inHandleModify)
|
|
218183
|
-
return
|
|
218461
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.No;
|
|
218184
218462
|
this.isDragging = false;
|
|
218185
|
-
return (0 === this.nPts) ?
|
|
218463
|
+
return (0 === this.nPts) ? _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes : this.onDataButtonDown(ev);
|
|
218186
218464
|
}
|
|
218187
218465
|
async onMouseMotion(ev) {
|
|
218188
218466
|
if (0 === this.nPts && this.viewHandles.testHit(ev.viewPoint))
|
|
@@ -218216,71 +218494,71 @@ class ViewManip extends ViewTool {
|
|
|
218216
218494
|
if (undefined !== focusHandle && await focusHandle.onTouchComplete(ev))
|
|
218217
218495
|
return;
|
|
218218
218496
|
if (this.inHandleModify)
|
|
218219
|
-
return
|
|
218497
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin.convertTouchEndToButtonUp(ev);
|
|
218220
218498
|
}
|
|
218221
218499
|
async onTouchCancel(ev) {
|
|
218222
218500
|
const focusHandle = this.viewHandles.focusHandle;
|
|
218223
218501
|
if (undefined !== focusHandle && await focusHandle.onTouchCancel(ev))
|
|
218224
218502
|
return;
|
|
218225
218503
|
if (this.inHandleModify)
|
|
218226
|
-
return
|
|
218504
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin.convertTouchEndToButtonUp(ev, _Tool__WEBPACK_IMPORTED_MODULE_17__.BeButton.Reset);
|
|
218227
218505
|
}
|
|
218228
218506
|
async onTouchMove(ev) {
|
|
218229
218507
|
const focusHandle = this.viewHandles.focusHandle;
|
|
218230
218508
|
if (undefined !== focusHandle && focusHandle.onTouchMove(ev))
|
|
218231
218509
|
return;
|
|
218232
218510
|
if (this.inHandleModify)
|
|
218233
|
-
return
|
|
218511
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin.convertTouchMoveToMotion(ev);
|
|
218234
218512
|
}
|
|
218235
218513
|
async onTouchMoveStart(ev, startEv) {
|
|
218236
218514
|
const focusHandle = this.viewHandles.focusHandle;
|
|
218237
218515
|
if (undefined !== focusHandle && focusHandle.onTouchMoveStart(ev, startEv))
|
|
218238
|
-
return
|
|
218516
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes;
|
|
218239
218517
|
if (!this.inHandleModify && startEv.isSingleTouch)
|
|
218240
|
-
await
|
|
218241
|
-
return this.inHandleModify ?
|
|
218518
|
+
await _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin.convertTouchMoveStartToButtonDownAndMotion(startEv, ev);
|
|
218519
|
+
return this.inHandleModify ? _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes : _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.No;
|
|
218242
218520
|
}
|
|
218243
218521
|
async onTouchTap(ev) {
|
|
218244
218522
|
const focusHandle = this.viewHandles.focusHandle;
|
|
218245
218523
|
if (undefined !== focusHandle && focusHandle.onTouchTap(ev))
|
|
218246
|
-
return
|
|
218247
|
-
return ev.isSingleTap ?
|
|
218524
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes;
|
|
218525
|
+
return ev.isSingleTap ? _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes : _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.No; // Prevent IdleTool from converting single tap into data button down/up...
|
|
218248
218526
|
}
|
|
218249
218527
|
async onKeyTransition(wentDown, keyEvent) {
|
|
218250
218528
|
const focusHandle = this.viewHandles.focusHandle;
|
|
218251
|
-
return (undefined !== focusHandle && focusHandle.onKeyTransition(wentDown, keyEvent) ?
|
|
218529
|
+
return (undefined !== focusHandle && focusHandle.onKeyTransition(wentDown, keyEvent) ? _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes : _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.No);
|
|
218252
218530
|
}
|
|
218253
218531
|
async onModifierKeyTransition(wentDown, modifier, event) {
|
|
218254
218532
|
const focusHandle = this.viewHandles.focusHandle;
|
|
218255
|
-
return (undefined !== focusHandle && focusHandle.onModifierKeyTransition(wentDown, modifier, event) ?
|
|
218533
|
+
return (undefined !== focusHandle && focusHandle.onModifierKeyTransition(wentDown, modifier, event) ? _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes : _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.No);
|
|
218256
218534
|
}
|
|
218257
218535
|
async onPostInstall() {
|
|
218258
218536
|
await super.onPostInstall();
|
|
218259
218537
|
await this.onReinitialize(); // Call onReinitialize now that tool is installed.
|
|
218260
218538
|
}
|
|
218261
218539
|
provideToolAssistance(mainInstrKey, additionalInstr) {
|
|
218262
|
-
const mainInstruction =
|
|
218540
|
+
const mainInstruction = _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(this.iconSpec, ViewTool.translate(mainInstrKey));
|
|
218263
218541
|
const mouseInstructions = [];
|
|
218264
218542
|
const touchInstructions = [];
|
|
218265
|
-
const acceptMsg =
|
|
218266
|
-
const rejectMsg =
|
|
218267
|
-
touchInstructions.push(
|
|
218268
|
-
mouseInstructions.push(
|
|
218269
|
-
touchInstructions.push(
|
|
218270
|
-
mouseInstructions.push(
|
|
218543
|
+
const acceptMsg = _Tool__WEBPACK_IMPORTED_MODULE_17__.CoreTools.translate("ElementSet.Inputs.AcceptPoint");
|
|
218544
|
+
const rejectMsg = _Tool__WEBPACK_IMPORTED_MODULE_17__.CoreTools.translate("ElementSet.Inputs.Exit");
|
|
218545
|
+
touchInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.OneTouchDrag, acceptMsg, false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Touch));
|
|
218546
|
+
mouseInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.LeftClick, acceptMsg, false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Mouse));
|
|
218547
|
+
touchInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.TwoTouchTap, rejectMsg, false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Touch));
|
|
218548
|
+
mouseInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.RightClick, rejectMsg, false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Mouse));
|
|
218271
218549
|
if (undefined !== additionalInstr) {
|
|
218272
218550
|
for (const instr of additionalInstr) {
|
|
218273
|
-
if (
|
|
218551
|
+
if (_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Touch === instr.inputMethod)
|
|
218274
218552
|
touchInstructions.push(instr);
|
|
218275
218553
|
else
|
|
218276
218554
|
mouseInstructions.push(instr);
|
|
218277
218555
|
}
|
|
218278
218556
|
}
|
|
218279
218557
|
const sections = [];
|
|
218280
|
-
sections.push(
|
|
218281
|
-
sections.push(
|
|
218282
|
-
const instructions =
|
|
218283
|
-
|
|
218558
|
+
sections.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createSection(mouseInstructions, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.inputsLabel));
|
|
218559
|
+
sections.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createSection(touchInstructions, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.inputsLabel));
|
|
218560
|
+
const instructions = _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstructions(mainInstruction, sections);
|
|
218561
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.notifications.setToolAssistance(instructions);
|
|
218284
218562
|
}
|
|
218285
218563
|
/** Called from [[ViewManip.onReinitialize]] to allow tools to establish the tool assistance for the first point. */
|
|
218286
218564
|
provideInitialToolAssistance() { }
|
|
@@ -218327,12 +218605,12 @@ class ViewManip extends ViewTool {
|
|
|
218327
218605
|
if (this.targetCenterValid) {
|
|
218328
218606
|
if (this.inHandleModify)
|
|
218329
218607
|
return;
|
|
218330
|
-
if (
|
|
218331
|
-
let tentPt =
|
|
218332
|
-
if (!
|
|
218608
|
+
if (_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tentativePoint.isActive) {
|
|
218609
|
+
let tentPt = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tentativePoint.getPoint();
|
|
218610
|
+
if (!_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tentativePoint.isSnapped) {
|
|
218333
218611
|
if (undefined === this._depthPreview && this.targetCenterLocked) {
|
|
218334
|
-
const ev = new
|
|
218335
|
-
|
|
218612
|
+
const ev = new _Tool__WEBPACK_IMPORTED_MODULE_17__.BeButtonEvent();
|
|
218613
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin.fillEventFromCursorLocation(ev);
|
|
218336
218614
|
this.targetCenterLocked = false; // Depth preview won't be active (or requested) if target is currently locked...
|
|
218337
218615
|
this.pickDepthPoint(ev, true);
|
|
218338
218616
|
}
|
|
@@ -218340,12 +218618,12 @@ class ViewManip extends ViewTool {
|
|
|
218340
218618
|
tentPt = this._depthPreview.plane.getOriginRef(); // Prefer valid depth preview point to unsnapped tentative location...
|
|
218341
218619
|
}
|
|
218342
218620
|
this.setTargetCenterWorld(tentPt, true, false);
|
|
218343
|
-
|
|
218621
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tentativePoint.clear(true); // Clear tentative, there won't be a datapoint to accept...
|
|
218344
218622
|
}
|
|
218345
218623
|
return;
|
|
218346
218624
|
}
|
|
218347
|
-
if (
|
|
218348
|
-
return this.setTargetCenterWorld(
|
|
218625
|
+
if (_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tentativePoint.isActive)
|
|
218626
|
+
return this.setTargetCenterWorld(_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tentativePoint.getPoint(), true, false);
|
|
218349
218627
|
if (vp.viewCmdTargetCenter && this.isPointVisible(vp.viewCmdTargetCenter))
|
|
218350
218628
|
return this.setTargetCenterWorld(vp.viewCmdTargetCenter, true, true);
|
|
218351
218629
|
return this.setTargetCenterWorld(ViewManip.getDefaultTargetPointWorld(vp), false, false);
|
|
@@ -218431,7 +218709,7 @@ class ViewManip extends ViewTool {
|
|
|
218431
218709
|
if (viewport.view.isSpatialView() && animateFrustumChange && (viewport.viewingGlobe || !viewport.view.getIsViewingProject())) {
|
|
218432
218710
|
const cartographicCenter = viewport.view.rootToCartographic(range.center);
|
|
218433
218711
|
if (undefined !== cartographicCenter) {
|
|
218434
|
-
const cartographicArea = (0,
|
|
218712
|
+
const cartographicArea = (0,_ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_10__.rangeToCartographicArea)(viewport.view, range);
|
|
218435
218713
|
(async () => {
|
|
218436
218714
|
await viewport.animateFlyoverToGlobalLocation({ center: cartographicCenter, area: cartographicArea }); // NOTE: Turns on camera...which is why we checked that it was already on...
|
|
218437
218715
|
viewport.viewCmdTargetCenter = undefined;
|
|
@@ -218453,17 +218731,17 @@ class ViewManip extends ViewTool {
|
|
|
218453
218731
|
setCameraLensAngle(lensAngle, retainEyePoint) {
|
|
218454
218732
|
const vp = this.viewport;
|
|
218455
218733
|
if (!vp)
|
|
218456
|
-
return
|
|
218734
|
+
return _ViewStatus__WEBPACK_IMPORTED_MODULE_14__.ViewStatus.InvalidViewport;
|
|
218457
218735
|
const view = vp.view;
|
|
218458
218736
|
if (!view.is3d() || !view.allow3dManipulations())
|
|
218459
|
-
return
|
|
218737
|
+
return _ViewStatus__WEBPACK_IMPORTED_MODULE_14__.ViewStatus.InvalidViewport;
|
|
218460
218738
|
const result = (retainEyePoint && view.isCameraOn) ?
|
|
218461
218739
|
view.lookAt({ eyePoint: view.getEyePoint(), targetPoint: view.getTargetPoint(), upVector: view.getYVector(), lensAngle }) :
|
|
218462
218740
|
vp.turnCameraOn(lensAngle);
|
|
218463
|
-
if (result !==
|
|
218741
|
+
if (result !== _ViewStatus__WEBPACK_IMPORTED_MODULE_14__.ViewStatus.Success)
|
|
218464
218742
|
return result;
|
|
218465
218743
|
vp.setupFromView();
|
|
218466
|
-
return
|
|
218744
|
+
return _ViewStatus__WEBPACK_IMPORTED_MODULE_14__.ViewStatus.Success;
|
|
218467
218745
|
}
|
|
218468
218746
|
enforceZUp(pivotPoint) {
|
|
218469
218747
|
const vp = this.viewport;
|
|
@@ -218602,7 +218880,7 @@ class HandleWithInertia extends ViewingToolHandle {
|
|
|
218602
218880
|
_end;
|
|
218603
218881
|
_inertiaVec;
|
|
218604
218882
|
doManipulation(ev, inDynamics) {
|
|
218605
|
-
if (
|
|
218883
|
+
if (_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.viewingInertia.enabled && !inDynamics && undefined !== this._inertiaVec)
|
|
218606
218884
|
return this.beginAnimation();
|
|
218607
218885
|
const vp = ev.viewport;
|
|
218608
218886
|
if (undefined === vp)
|
|
@@ -218617,7 +218895,7 @@ class HandleWithInertia extends ViewingToolHandle {
|
|
|
218617
218895
|
}
|
|
218618
218896
|
/** Set this handle to become the Viewport's animator */
|
|
218619
218897
|
beginAnimation() {
|
|
218620
|
-
this._duration =
|
|
218898
|
+
this._duration = _ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.viewingInertia.duration;
|
|
218621
218899
|
if (this._duration.isTowardsFuture) { // ensure duration is towards future. Otherwise, don't start animation
|
|
218622
218900
|
this._end = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeTimePoint.fromNow(this._duration);
|
|
218623
218901
|
const vp = this.viewTool.viewport;
|
|
@@ -218651,7 +218929,7 @@ class HandleWithInertia extends ViewingToolHandle {
|
|
|
218651
218929
|
/** ViewingToolHandle for performing the "pan view" operation */
|
|
218652
218930
|
class ViewPan extends HandleWithInertia {
|
|
218653
218931
|
get handleType() { return ViewHandleType.Pan; }
|
|
218654
|
-
getHandleCursor() { return this.viewTool.inHandleModify ?
|
|
218932
|
+
getHandleCursor() { return this.viewTool.inHandleModify ? _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.viewManager.grabbingCursor : _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.viewManager.grabCursor; }
|
|
218655
218933
|
firstPoint(ev) {
|
|
218656
218934
|
this._inertiaVec = undefined;
|
|
218657
218935
|
const tool = this.viewTool;
|
|
@@ -218687,7 +218965,7 @@ class ViewPan extends HandleWithInertia {
|
|
|
218687
218965
|
const thisWorld = vp.npcToWorld(thisPtNpc);
|
|
218688
218966
|
const dist = thisWorld.vectorTo(lastWorld);
|
|
218689
218967
|
if (view.is3d()) {
|
|
218690
|
-
if (
|
|
218968
|
+
if (_ViewStatus__WEBPACK_IMPORTED_MODULE_14__.ViewStatus.Success !== (vp.viewingGlobe ? view.moveCameraGlobal(lastWorld, thisWorld) : view.moveCameraWorld(dist)))
|
|
218691
218969
|
return false;
|
|
218692
218970
|
this.changeFocusFromDepthPoint(); // if we have a valid depth point, set it focus distance from it
|
|
218693
218971
|
}
|
|
@@ -218703,7 +218981,7 @@ class ViewPan extends HandleWithInertia {
|
|
|
218703
218981
|
const vp = ev.viewport;
|
|
218704
218982
|
if (undefined === vp)
|
|
218705
218983
|
return false;
|
|
218706
|
-
return vp.isCameraOn &&
|
|
218984
|
+
return vp.isCameraOn && _Tool__WEBPACK_IMPORTED_MODULE_17__.CoordSource.User === ev.coordsFrom;
|
|
218707
218985
|
}
|
|
218708
218986
|
}
|
|
218709
218987
|
/** ViewingToolHandle for performing the "rotate view" operation */
|
|
@@ -218712,7 +218990,7 @@ class ViewRotate extends HandleWithInertia {
|
|
|
218712
218990
|
_activeFrustum = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.Frustum();
|
|
218713
218991
|
_anchorPtNpc = new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Point3d();
|
|
218714
218992
|
get handleType() { return ViewHandleType.Rotate; }
|
|
218715
|
-
getHandleCursor() { return
|
|
218993
|
+
getHandleCursor() { return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.viewManager.rotateCursor; }
|
|
218716
218994
|
testHandleForHit(_ptScreen, out) {
|
|
218717
218995
|
out.distance = 0.0;
|
|
218718
218996
|
out.priority = 100 /* ViewManipPriority.Medium */; // Always prefer over pan handle which is only force enabled by IdleTool middle button action...
|
|
@@ -218729,7 +219007,7 @@ class ViewRotate extends HandleWithInertia {
|
|
|
218729
219007
|
tool.setTargetCenterWorld(this._depthPoint, false, false);
|
|
218730
219008
|
vp.worldToNpc(ev.rawPoint, this._anchorPtNpc);
|
|
218731
219009
|
this._lastPtNpc.setFrom(this._anchorPtNpc);
|
|
218732
|
-
vp.getFrustum(
|
|
219010
|
+
vp.getFrustum(_CoordSystem__WEBPACK_IMPORTED_MODULE_5__.CoordSystem.World, false, this._activeFrustum);
|
|
218733
219011
|
this._frustum.setFrom(this._activeFrustum);
|
|
218734
219012
|
tool.beginDynamicUpdate();
|
|
218735
219013
|
this.viewTool.provideToolAssistance("Rotate.Prompts.NextPoint");
|
|
@@ -218742,7 +219020,7 @@ class ViewRotate extends HandleWithInertia {
|
|
|
218742
219020
|
return false;
|
|
218743
219021
|
if (this._anchorPtNpc.isAlmostEqual(ptNpc, 1.0e-2)) // too close to anchor pt
|
|
218744
219022
|
ptNpc.setFrom(this._anchorPtNpc);
|
|
218745
|
-
const currentFrustum = vp.getFrustum(
|
|
219023
|
+
const currentFrustum = vp.getFrustum(_CoordSystem__WEBPACK_IMPORTED_MODULE_5__.CoordSystem.World, false);
|
|
218746
219024
|
const frustumChange = !currentFrustum.equals(this._activeFrustum);
|
|
218747
219025
|
if (frustumChange)
|
|
218748
219026
|
this._frustum.setFrom(currentFrustum);
|
|
@@ -218772,7 +219050,7 @@ class ViewRotate extends HandleWithInertia {
|
|
|
218772
219050
|
const xDelta = (currPt.x - firstPt.x);
|
|
218773
219051
|
const yDelta = (currPt.y - firstPt.y);
|
|
218774
219052
|
// Movement in screen x == rotation about drawing Z (preserve up) or rotation about screen Y...
|
|
218775
|
-
const xAxis =
|
|
219053
|
+
const xAxis = _ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.preserveWorldUp && !vp.viewingGlobe ? (undefined !== this._depthPoint ? vp.view.getUpVector(this._depthPoint) : _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d.unitZ()) : vp.rotation.getRow(1);
|
|
218776
219054
|
// Movement in screen y == rotation about screen X...
|
|
218777
219055
|
const yAxis = vp.rotation.getRow(0);
|
|
218778
219056
|
const xRMatrix = (xDelta ? _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Matrix3d.createRotationAroundVector(xAxis, _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Angle.createRadians(Math.PI / (viewRect.width / xDelta))) : undefined) ?? _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Matrix3d.identity;
|
|
@@ -218801,7 +219079,7 @@ class ViewRotate extends HandleWithInertia {
|
|
|
218801
219079
|
const tool = this.viewTool;
|
|
218802
219080
|
if (tool.targetCenterLocked || tool.inHandleModify) {
|
|
218803
219081
|
ev.point = tool.targetCenterWorld;
|
|
218804
|
-
ev.coordsFrom =
|
|
219082
|
+
ev.coordsFrom = _Tool__WEBPACK_IMPORTED_MODULE_17__.CoordSource.Precision; // WheelEventProcessor.doZoom checks this to decide whether to use raw or adjusted point...
|
|
218805
219083
|
}
|
|
218806
219084
|
return false;
|
|
218807
219085
|
}
|
|
@@ -218832,7 +219110,7 @@ class ViewLook extends ViewingToolHandle {
|
|
|
218832
219110
|
_rotation = new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Matrix3d();
|
|
218833
219111
|
_frustum = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.Frustum();
|
|
218834
219112
|
get handleType() { return ViewHandleType.Look; }
|
|
218835
|
-
getHandleCursor() { return
|
|
219113
|
+
getHandleCursor() { return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.viewManager.lookCursor; }
|
|
218836
219114
|
testHandleForHit(_ptScreen, out) {
|
|
218837
219115
|
out.distance = 0.0;
|
|
218838
219116
|
out.priority = 100 /* ViewManipPriority.Medium */; // Always prefer over pan handle which is only force enabled by IdleTool middle button action...
|
|
@@ -218921,7 +219199,7 @@ class AnimatedHandle extends ViewingToolHandle {
|
|
|
218921
219199
|
interrupt() { }
|
|
218922
219200
|
animate() {
|
|
218923
219201
|
// Don't continue animation when mouse is outside view, and don't jump if it returns...
|
|
218924
|
-
if (undefined !==
|
|
219202
|
+
if (undefined !== _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin.cursorView)
|
|
218925
219203
|
return true;
|
|
218926
219204
|
this.getElapsedTime();
|
|
218927
219205
|
return false;
|
|
@@ -219035,7 +219313,7 @@ class ViewScroll extends AnimatedHandle {
|
|
|
219035
219313
|
const dist = this.getDirection();
|
|
219036
219314
|
if (undefined === dist)
|
|
219037
219315
|
return false;
|
|
219038
|
-
dist.scaleInPlace(
|
|
219316
|
+
dist.scaleInPlace(_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.scrollSpeed * this.getElapsedTime());
|
|
219039
219317
|
const tool = this.viewTool;
|
|
219040
219318
|
const viewport = tool.viewport;
|
|
219041
219319
|
if (undefined === viewport)
|
|
@@ -219063,7 +219341,7 @@ class ViewScroll extends AnimatedHandle {
|
|
|
219063
219341
|
const vp = ev.viewport;
|
|
219064
219342
|
if (undefined === vp)
|
|
219065
219343
|
return false;
|
|
219066
|
-
return vp.isCameraOn &&
|
|
219344
|
+
return vp.isCameraOn && _Tool__WEBPACK_IMPORTED_MODULE_17__.CoordSource.User === ev.coordsFrom;
|
|
219067
219345
|
}
|
|
219068
219346
|
}
|
|
219069
219347
|
/** ViewingToolHandle for performing the "zoom view" operation */
|
|
@@ -219076,7 +219354,7 @@ class ViewZoom extends ViewingToolHandle {
|
|
|
219076
219354
|
_startFrust;
|
|
219077
219355
|
_lastZoomRatio = 1.0;
|
|
219078
219356
|
get handleType() { return ViewHandleType.Zoom; }
|
|
219079
|
-
getHandleCursor() { return
|
|
219357
|
+
getHandleCursor() { return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.viewManager.zoomCursor; }
|
|
219080
219358
|
testHandleForHit(_ptScreen, out) {
|
|
219081
219359
|
out.distance = 0.0;
|
|
219082
219360
|
out.priority = 100 /* ViewManipPriority.Medium */; // Always prefer over pan handle which is only force enabled by IdleTool middle button action...
|
|
@@ -219166,7 +219444,7 @@ class ViewZoom extends ViewingToolHandle {
|
|
|
219166
219444
|
const dist = this._anchorPtNpc.minus(thisPtNpc);
|
|
219167
219445
|
dist.z = 0.0;
|
|
219168
219446
|
dist.x = 0.0;
|
|
219169
|
-
let zoomRatio = 1.0 + (dist.magnitude() *
|
|
219447
|
+
let zoomRatio = 1.0 + (dist.magnitude() * _ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.zoomSpeed);
|
|
219170
219448
|
if (dist.y > 0)
|
|
219171
219449
|
zoomRatio = 1.0 / zoomRatio;
|
|
219172
219450
|
this._lastZoomRatio = zoomRatio;
|
|
@@ -219179,18 +219457,18 @@ class ViewZoom extends ViewingToolHandle {
|
|
|
219179
219457
|
_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Transform.createTranslation(cameraOffset, transform);
|
|
219180
219458
|
}
|
|
219181
219459
|
frustum.transformBy(transform, frustum);
|
|
219182
|
-
if (
|
|
219460
|
+
if (_ViewStatus__WEBPACK_IMPORTED_MODULE_14__.ViewStatus.Success !== view.setupFromFrustum(frustum))
|
|
219183
219461
|
return false;
|
|
219184
219462
|
if (view.is3d() && view.isCameraOn)
|
|
219185
219463
|
this.changeFocusFromDepthPoint(); // if we have a valid depth point, set it focus distance from it
|
|
219186
|
-
return
|
|
219464
|
+
return _ViewStatus__WEBPACK_IMPORTED_MODULE_14__.ViewStatus.Success === viewport.setupFromView();
|
|
219187
219465
|
}
|
|
219188
219466
|
/** @internal */
|
|
219189
219467
|
needDepthPoint(ev, _isPreview) {
|
|
219190
219468
|
const vp = ev.viewport;
|
|
219191
219469
|
if (undefined === vp)
|
|
219192
219470
|
return false;
|
|
219193
|
-
return vp.isCameraOn &&
|
|
219471
|
+
return vp.isCameraOn && _Tool__WEBPACK_IMPORTED_MODULE_17__.CoordSource.User === ev.coordsFrom;
|
|
219194
219472
|
}
|
|
219195
219473
|
}
|
|
219196
219474
|
/** @internal */
|
|
@@ -219352,11 +219630,11 @@ class NavigateMotion {
|
|
|
219352
219630
|
/** ViewingToolHandle for performing the Walk and Fly operations */
|
|
219353
219631
|
class ViewNavigate extends AnimatedHandle {
|
|
219354
219632
|
_initialized = false;
|
|
219355
|
-
getHandleCursor() { return
|
|
219356
|
-
getMaxLinearVelocity() { return
|
|
219633
|
+
getHandleCursor() { return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.viewManager.walkCursor; }
|
|
219634
|
+
getMaxLinearVelocity() { return _ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkVelocity; }
|
|
219357
219635
|
getMaxAngularVelocity() { return Math.PI / 4; }
|
|
219358
219636
|
getNavigateMode() {
|
|
219359
|
-
const state =
|
|
219637
|
+
const state = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin.currentInputState;
|
|
219360
219638
|
return (state.isShiftDown || (false === this.viewTool.viewport?.isCameraOn)) ? 0 /* NavigateMode.Pan */ :
|
|
219361
219639
|
state.isControlDown ? 1 /* NavigateMode.Look */ : 2 /* NavigateMode.Travel */;
|
|
219362
219640
|
}
|
|
@@ -219387,7 +219665,7 @@ class ViewNavigate extends AnimatedHandle {
|
|
|
219387
219665
|
const view = vp.view;
|
|
219388
219666
|
if (!view.allow3dManipulations())
|
|
219389
219667
|
return;
|
|
219390
|
-
const walkAngle =
|
|
219668
|
+
const walkAngle = _ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkCameraAngle;
|
|
219391
219669
|
if (!tool.lensAngleMatches(walkAngle, _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Angle.degreesToRadians(15.)) || !tool.isZUp) {
|
|
219392
219670
|
// This turns on the camera if its not already on. It also assures the camera is centered. Obviously this is required if
|
|
219393
219671
|
// the camera is not on or the lens angle is not what we want. We also want to do it if Z will be
|
|
@@ -219395,7 +219673,7 @@ class ViewNavigate extends AnimatedHandle {
|
|
|
219395
219673
|
// reasonable the target point may be far beyond anything relevant.
|
|
219396
219674
|
tool.setCameraLensAngle(walkAngle, tool.lensAngleMatches(walkAngle, _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Angle.degreesToRadians(45.)));
|
|
219397
219675
|
}
|
|
219398
|
-
if (
|
|
219676
|
+
if (_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkEnforceZUp)
|
|
219399
219677
|
tool.enforceZUp(view.getTargetPoint());
|
|
219400
219678
|
vp.animateFrustumChange();
|
|
219401
219679
|
}
|
|
@@ -219444,7 +219722,7 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
219444
219722
|
this._navigateMotion = new NavigateMotion(this.viewTool.viewport);
|
|
219445
219723
|
}
|
|
219446
219724
|
get handleType() { return ViewHandleType.LookAndMove; }
|
|
219447
|
-
getHandleCursor() { return
|
|
219725
|
+
getHandleCursor() { return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.viewManager.lookCursor; }
|
|
219448
219726
|
testHandleForHit(_ptScreen, out) {
|
|
219449
219727
|
out.distance = 0.0;
|
|
219450
219728
|
out.priority = 100 /* ViewManipPriority.Medium */; // Always prefer over pan handle which is only force enabled by IdleTool middle button action...
|
|
@@ -219491,7 +219769,7 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
219491
219769
|
}
|
|
219492
219770
|
return;
|
|
219493
219771
|
}
|
|
219494
|
-
if (!
|
|
219772
|
+
if (!_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkRequestPointerLock)
|
|
219495
219773
|
return;
|
|
219496
219774
|
const vp = this.viewTool.viewport;
|
|
219497
219775
|
if (undefined === vp)
|
|
@@ -219504,14 +219782,14 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
219504
219782
|
}
|
|
219505
219783
|
if (undefined === this._pointerLockClickEngagementListener) {
|
|
219506
219784
|
this._pointerLockClickEngagementListener = () => {
|
|
219507
|
-
if (1 === this.viewTool.nPts && undefined !==
|
|
219785
|
+
if (1 === this.viewTool.nPts && undefined !== _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin.cursorView)
|
|
219508
219786
|
void vp.canvas.requestPointerLock();
|
|
219509
219787
|
};
|
|
219510
219788
|
document.addEventListener("click", this._pointerLockClickEngagementListener, false);
|
|
219511
219789
|
}
|
|
219512
219790
|
if (undefined === this._pointerLockKeyEngagementListener) {
|
|
219513
219791
|
this._pointerLockKeyEngagementListener = (ev) => {
|
|
219514
|
-
if (0 === this.viewTool.nPts && undefined !==
|
|
219792
|
+
if (0 === this.viewTool.nPts && undefined !== _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin.cursorView && this.isNavigationKey(ev))
|
|
219515
219793
|
void vp.canvas.requestPointerLock();
|
|
219516
219794
|
};
|
|
219517
219795
|
document.addEventListener("keydown", this._pointerLockKeyEngagementListener, false);
|
|
@@ -219534,7 +219812,7 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
219534
219812
|
const vp = this.viewTool.viewport;
|
|
219535
219813
|
if (undefined === vp || !vp.isCameraOn)
|
|
219536
219814
|
return true;
|
|
219537
|
-
if (
|
|
219815
|
+
if (_Tool__WEBPACK_IMPORTED_MODULE_17__.InputSource.Mouse === ev.inputSource) {
|
|
219538
219816
|
this._deadZone = Math.pow(vp.pixelsFromInches(0.5), 2); // Only used if pointer lock isn't supported...
|
|
219539
219817
|
}
|
|
219540
219818
|
else {
|
|
@@ -219544,7 +219822,7 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
219544
219822
|
return true;
|
|
219545
219823
|
}
|
|
219546
219824
|
doManipulation(ev) {
|
|
219547
|
-
if (
|
|
219825
|
+
if (_Tool__WEBPACK_IMPORTED_MODULE_17__.InputSource.Mouse === ev.inputSource)
|
|
219548
219826
|
this._lastMovement = this._havePointerLock ? ev.movement : undefined;
|
|
219549
219827
|
else
|
|
219550
219828
|
this._lastMovement = this._lastPtView.vectorTo(ev.viewPoint).scale(2.0); // ev.movement isn't available for button event created from touch event...
|
|
@@ -219553,9 +219831,9 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
219553
219831
|
}
|
|
219554
219832
|
getMaxLinearVelocity() {
|
|
219555
219833
|
const maxLinearVelocity = super.getMaxLinearVelocity();
|
|
219556
|
-
if (0 ===
|
|
219834
|
+
if (0 === _ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkVelocityChange)
|
|
219557
219835
|
return (this._touchSpeedUp ? maxLinearVelocity * 2.0 : maxLinearVelocity);
|
|
219558
|
-
const speedFactor = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.clamp(
|
|
219836
|
+
const speedFactor = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.clamp(_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkVelocityChange + (_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkVelocityChange > 0 ? 1 : -1), -10, 10);
|
|
219559
219837
|
const speedMultiplier = (speedFactor >= 0 ? speedFactor : 1 / Math.abs(speedFactor));
|
|
219560
219838
|
return maxLinearVelocity * speedMultiplier;
|
|
219561
219839
|
}
|
|
@@ -219615,9 +219893,9 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
219615
219893
|
pts[1] = new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Point2d(pts[0].x + 1, vp.viewRect.bottom);
|
|
219616
219894
|
const range = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Range2d.createArray(pts);
|
|
219617
219895
|
let detectStepUp = false;
|
|
219618
|
-
const rect = new
|
|
219896
|
+
const rect = new _common_ViewRect__WEBPACK_IMPORTED_MODULE_12__.ViewRect();
|
|
219619
219897
|
rect.initFromRange(range);
|
|
219620
|
-
vp.readPixels(rect,
|
|
219898
|
+
vp.readPixels(rect, _render_Pixel__WEBPACK_IMPORTED_MODULE_8__.Pixel.Selector.GeometryAndDistance, (pixels) => {
|
|
219621
219899
|
if (undefined === pixels)
|
|
219622
219900
|
return;
|
|
219623
219901
|
const sRange = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Range2d.createNull();
|
|
@@ -219633,9 +219911,9 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
219633
219911
|
continue;
|
|
219634
219912
|
if (0 === contourLine.numPoints()) {
|
|
219635
219913
|
if (undefined === this._lastReference) {
|
|
219636
|
-
const refPt = (
|
|
219914
|
+
const refPt = (_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkDetectFloor ? eyePt.plusScaled(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d.unitZ(), -_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkEyeHeight) : hitPointWorld);
|
|
219637
219915
|
this._lastReference = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Plane3dByOriginAndUnitNormal.create(refPt, _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d.unitZ());
|
|
219638
|
-
detectStepUp =
|
|
219916
|
+
detectStepUp = _ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkDetectFloor;
|
|
219639
219917
|
}
|
|
219640
219918
|
else if (undefined !== this._lastContour && this._lastContour.numPoints() > 1) {
|
|
219641
219919
|
let fractLo, fractHi;
|
|
@@ -219647,12 +219925,12 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
219647
219925
|
const resultHi = [];
|
|
219648
219926
|
this._lastContour.appendPlaneIntersectionPoints(yPlaneHi, resultHi);
|
|
219649
219927
|
for (const intersectionHi of resultHi) {
|
|
219650
|
-
if ((undefined === fractHi || intersectionHi.fraction < fractHi) && intersectionHi.point.distance(hitPointWorld) <
|
|
219928
|
+
if ((undefined === fractHi || intersectionHi.fraction < fractHi) && intersectionHi.point.distance(hitPointWorld) < _ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkEyeHeight)
|
|
219651
219929
|
fractHi = intersectionHi.fraction;
|
|
219652
219930
|
}
|
|
219653
219931
|
if (undefined !== fractHi) {
|
|
219654
219932
|
const yPlaneLo = yPlaneHi.clone();
|
|
219655
|
-
yPlaneLo.getOriginRef().addScaledInPlace(yPlaneLo.getNormalRef(),
|
|
219933
|
+
yPlaneLo.getOriginRef().addScaledInPlace(yPlaneLo.getNormalRef(), _ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkEyeHeight * 2);
|
|
219656
219934
|
const resultLo = [];
|
|
219657
219935
|
this._lastContour.appendPlaneIntersectionPoints(yPlaneLo, resultLo);
|
|
219658
219936
|
for (const intersectionLo of resultLo) {
|
|
@@ -219696,7 +219974,7 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
219696
219974
|
else if (detectStepUp && undefined !== this._lastReference) {
|
|
219697
219975
|
const start = contourLine.startPoint();
|
|
219698
219976
|
const forwardDir = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d.unitZ().crossProduct(vp.view.getXVector());
|
|
219699
|
-
const stepPlane = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Plane3dByOriginAndUnitNormal.create(start.plusScaled(forwardDir,
|
|
219977
|
+
const stepPlane = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Plane3dByOriginAndUnitNormal.create(start.plusScaled(forwardDir, _ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkStepHeight), forwardDir);
|
|
219700
219978
|
const resultStep = [];
|
|
219701
219979
|
if (undefined !== stepPlane)
|
|
219702
219980
|
contourLine.appendPlaneIntersectionPoints(stepPlane, resultStep);
|
|
@@ -219721,11 +219999,11 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
219721
219999
|
}
|
|
219722
220000
|
}
|
|
219723
220001
|
this._currentContour = contourLine;
|
|
219724
|
-
if (
|
|
220002
|
+
if (_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkDetectFloor)
|
|
219725
220003
|
this._lastContour = this._currentContour;
|
|
219726
220004
|
}
|
|
219727
220005
|
checkForCollision(vp, motion, positionInput) {
|
|
219728
|
-
if (!
|
|
220006
|
+
if (!_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkCollisions)
|
|
219729
220007
|
return 0;
|
|
219730
220008
|
const view = vp.view;
|
|
219731
220009
|
if (!view.is3d() || !view.isCameraOn)
|
|
@@ -219771,7 +220049,7 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
219771
220049
|
return 1; // Stay put, high barrier...
|
|
219772
220050
|
}
|
|
219773
220051
|
}
|
|
219774
|
-
if (!
|
|
220052
|
+
if (!_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkDetectFloor || undefined === this._lastReference)
|
|
219775
220053
|
return 0;
|
|
219776
220054
|
const forwardDir = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d.unitZ().crossProduct(vp.view.getXVector());
|
|
219777
220055
|
const planeZ = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Plane3dByOriginAndUnitNormal.create(newEyePt, forwardDir);
|
|
@@ -219790,7 +220068,7 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
219790
220068
|
maintainHeight.setFrom(offset);
|
|
219791
220069
|
}
|
|
219792
220070
|
}
|
|
219793
|
-
if (maintainHeight.magnitude() >=
|
|
220071
|
+
if (maintainHeight.magnitude() >= _ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkStepHeight && maintainHeight.dotProduct(this._lastReference.getNormalRef()) > 0)
|
|
219794
220072
|
return 2; // Stay put, low barrier...
|
|
219795
220073
|
const moveTransform = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Transform.createTranslation(maintainHeight);
|
|
219796
220074
|
motion.transform.multiplyTransformTransform(moveTransform, motion.transform);
|
|
@@ -219816,9 +220094,9 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
219816
220094
|
if (0.0 === angularInput.magnitude() && 0.0 === positionInput.magnitude() && undefined === this._lastMovement)
|
|
219817
220095
|
return;
|
|
219818
220096
|
this.requestPointerLock(false); // Ignore engagement events after modification starts (either from mouse or keys)...
|
|
219819
|
-
const current =
|
|
219820
|
-
if (!this._havePointerLock &&
|
|
219821
|
-
current.onStartDrag(
|
|
220097
|
+
const current = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin.currentInputState;
|
|
220098
|
+
if (!this._havePointerLock && _Tool__WEBPACK_IMPORTED_MODULE_17__.InputSource.Mouse === current.inputSource && !current.isDragging(_Tool__WEBPACK_IMPORTED_MODULE_17__.BeButton.Data))
|
|
220099
|
+
current.onStartDrag(_Tool__WEBPACK_IMPORTED_MODULE_17__.BeButton.Data); // Treat data down -> navigate key -> data up the same as a drag...
|
|
219822
220100
|
if (undefined !== this._lastMovement) {
|
|
219823
220101
|
if (motion.moveAndMouseLook(this._accumulator, positionInput, this._lastMovement, true))
|
|
219824
220102
|
this._lastMovement = undefined;
|
|
@@ -219845,15 +220123,15 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
219845
220123
|
this._lastPtView.setFrom(this._anchorPtView); // Display indicator in the middle of the view...
|
|
219846
220124
|
}
|
|
219847
220125
|
toggleCollisions() {
|
|
219848
|
-
|
|
220126
|
+
_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkCollisions = !_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkCollisions;
|
|
219849
220127
|
this._lastCollision = 0;
|
|
219850
220128
|
this._lastReference = this._lastContour = this._currentContour = undefined;
|
|
219851
220129
|
if (this.viewTool.viewport)
|
|
219852
220130
|
this.viewTool.viewport.invalidateDecorations();
|
|
219853
220131
|
}
|
|
219854
220132
|
toggleDetectFloor() {
|
|
219855
|
-
|
|
219856
|
-
if (
|
|
220133
|
+
_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkDetectFloor = !_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkDetectFloor;
|
|
220134
|
+
if (_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkDetectFloor && !_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkCollisions)
|
|
219857
220135
|
return this.toggleCollisions();
|
|
219858
220136
|
this._lastReference = this._lastContour = this._currentContour = undefined;
|
|
219859
220137
|
if (this.viewTool.viewport)
|
|
@@ -219861,9 +220139,9 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
219861
220139
|
}
|
|
219862
220140
|
changeWalkVelocity(increase) {
|
|
219863
220141
|
if (undefined === increase)
|
|
219864
|
-
|
|
220142
|
+
_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkVelocityChange = 0;
|
|
219865
220143
|
else
|
|
219866
|
-
|
|
220144
|
+
_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkVelocityChange = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.clamp(_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkVelocityChange + (increase ? 1 : -1), -9, 9);
|
|
219867
220145
|
if (this.viewTool.viewport)
|
|
219868
220146
|
this.viewTool.viewport.invalidateDecorations();
|
|
219869
220147
|
}
|
|
@@ -219904,7 +220182,7 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
219904
220182
|
if (0 !== this.viewTool.nPts || undefined === vp)
|
|
219905
220183
|
return false;
|
|
219906
220184
|
const pt = vp.view.getTargetPoint();
|
|
219907
|
-
const ev = new
|
|
220185
|
+
const ev = new _Tool__WEBPACK_IMPORTED_MODULE_17__.BeButtonEvent({ point: pt, rawPoint: pt, viewPoint: vp.worldToView(pt), viewport: vp, inputSource: _Tool__WEBPACK_IMPORTED_MODULE_17__.InputSource.Mouse, isDown: true });
|
|
219908
220186
|
this.viewTool.changeViewport(ev.viewport);
|
|
219909
220187
|
if (!this.viewTool.processFirstPoint(ev))
|
|
219910
220188
|
return false;
|
|
@@ -219994,7 +220272,7 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
219994
220272
|
getTouchStartPosition(touchStart) {
|
|
219995
220273
|
if (undefined === touchStart || undefined === touchStart.viewport)
|
|
219996
220274
|
return undefined;
|
|
219997
|
-
return
|
|
220275
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.BeTouchEvent.getTouchPosition(touchStart.touchEvent.changedTouches[0], touchStart.viewport);
|
|
219998
220276
|
}
|
|
219999
220277
|
getTouchOffset(touchStart, radius) {
|
|
220000
220278
|
const offset = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector2d.create();
|
|
@@ -220005,12 +220283,12 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
220005
220283
|
return offset;
|
|
220006
220284
|
if (undefined === touchStart?.viewport)
|
|
220007
220285
|
return offset;
|
|
220008
|
-
const lastTouch =
|
|
220286
|
+
const lastTouch = _Tool__WEBPACK_IMPORTED_MODULE_17__.BeTouchEvent.findTouchById(this._touchLast.touchEvent.targetTouches, touchStart.touchEvent.changedTouches[0].identifier);
|
|
220009
220287
|
if (undefined === lastTouch)
|
|
220010
220288
|
return offset;
|
|
220011
220289
|
const minOffsetRadius = Math.floor(radius * 0.1) + 0.5;
|
|
220012
220290
|
const maxOffsetRadius = Math.floor(radius * 1.2) + 0.5;
|
|
220013
|
-
const lastPos =
|
|
220291
|
+
const lastPos = _Tool__WEBPACK_IMPORTED_MODULE_17__.BeTouchEvent.getTouchPosition(lastTouch, touchStart.viewport);
|
|
220014
220292
|
const lastVec = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector2d.createStartEnd(position, lastPos);
|
|
220015
220293
|
if (lastVec.magnitude() > maxOffsetRadius)
|
|
220016
220294
|
lastVec.scaleToLength(maxOffsetRadius, lastVec);
|
|
@@ -220040,11 +220318,11 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
220040
220318
|
}
|
|
220041
220319
|
onTouchEnd(ev) {
|
|
220042
220320
|
let changed = false;
|
|
220043
|
-
if (undefined !== this._touchStartL && undefined !==
|
|
220321
|
+
if (undefined !== this._touchStartL && undefined !== _Tool__WEBPACK_IMPORTED_MODULE_17__.BeTouchEvent.findTouchById(ev.touchEvent.changedTouches, this._touchStartL.touchEvent.changedTouches[0].identifier)) {
|
|
220044
220322
|
this._touchStartL = undefined;
|
|
220045
220323
|
changed = true;
|
|
220046
220324
|
}
|
|
220047
|
-
if (undefined !== this._touchStartR && undefined !==
|
|
220325
|
+
if (undefined !== this._touchStartR && undefined !== _Tool__WEBPACK_IMPORTED_MODULE_17__.BeTouchEvent.findTouchById(ev.touchEvent.changedTouches, this._touchStartR.touchEvent.changedTouches[0].identifier)) {
|
|
220048
220326
|
this._touchStartR = undefined;
|
|
220049
220327
|
changed = true;
|
|
220050
220328
|
}
|
|
@@ -220065,9 +220343,9 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
220065
220343
|
if (undefined === ev.viewport || !this.viewTool.inDynamicUpdate || (undefined === this._touchStartL && undefined === this._touchStartR))
|
|
220066
220344
|
return false;
|
|
220067
220345
|
let changed = false;
|
|
220068
|
-
if (undefined !== this._touchStartL && undefined !==
|
|
220346
|
+
if (undefined !== this._touchStartL && undefined !== _Tool__WEBPACK_IMPORTED_MODULE_17__.BeTouchEvent.findTouchById(ev.touchEvent.changedTouches, this._touchStartL.touchEvent.changedTouches[0].identifier))
|
|
220069
220347
|
changed = true;
|
|
220070
|
-
if (undefined !== this._touchStartR && undefined !==
|
|
220348
|
+
if (undefined !== this._touchStartR && undefined !== _Tool__WEBPACK_IMPORTED_MODULE_17__.BeTouchEvent.findTouchById(ev.touchEvent.changedTouches, this._touchStartR.touchEvent.changedTouches[0].identifier))
|
|
220071
220349
|
changed = true;
|
|
220072
220350
|
if (changed) {
|
|
220073
220351
|
this._touchLast = ev;
|
|
@@ -220098,7 +220376,7 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
220098
220376
|
super.drawHandle(context, hasFocus);
|
|
220099
220377
|
if (!hasFocus || context.viewport !== this.viewTool.viewport)
|
|
220100
220378
|
return;
|
|
220101
|
-
if (
|
|
220379
|
+
if (_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkCollisions && this.viewTool.inDynamicUpdate) {
|
|
220102
220380
|
const position = this._anchorPtView.clone();
|
|
220103
220381
|
position.x = Math.floor(position.x) + 0.5;
|
|
220104
220382
|
position.y = Math.floor(position.y) + 0.5;
|
|
@@ -220128,7 +220406,7 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
220128
220406
|
ctx.lineWidth = 1;
|
|
220129
220407
|
addArrow(0);
|
|
220130
220408
|
addArrow(Math.PI);
|
|
220131
|
-
if (
|
|
220409
|
+
if (_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkDetectFloor) {
|
|
220132
220410
|
ctx.strokeStyle = "black";
|
|
220133
220411
|
ctx.lineWidth = 5;
|
|
220134
220412
|
addArrow(-Math.PI / 2);
|
|
@@ -220139,9 +220417,9 @@ class ViewLookAndMove extends ViewNavigate {
|
|
|
220139
220417
|
};
|
|
220140
220418
|
context.addCanvasDecoration({ position, drawDecoration: drawCollisionArrows });
|
|
220141
220419
|
}
|
|
220142
|
-
if ((0 !==
|
|
220420
|
+
if ((0 !== _ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkVelocityChange || this._touchSpeedUp) && this.viewTool.inDynamicUpdate) {
|
|
220143
220421
|
const arrowSize = 12;
|
|
220144
|
-
const speedUp = (
|
|
220422
|
+
const speedUp = (_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkVelocityChange > 0 || this._touchSpeedUp ? true : false);
|
|
220145
220423
|
const position = this._anchorPtView.clone();
|
|
220146
220424
|
position.x = Math.floor(position.x) + 0.5;
|
|
220147
220425
|
position.y = Math.floor(position.y + (arrowSize / 3)) + 0.5;
|
|
@@ -220358,7 +220636,7 @@ class LookAndMoveTool extends ViewManip {
|
|
|
220358
220636
|
static toolId = "View.LookAndMove";
|
|
220359
220637
|
static iconSpec = "icon-walk";
|
|
220360
220638
|
constructor(vp, oneShot = false, isDraggingRequired = false) {
|
|
220361
|
-
const viewport = (undefined === vp ?
|
|
220639
|
+
const viewport = (undefined === vp ? _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.viewManager.selectedView : vp); // Need vp to enable camera/check lens in onReinitialize...
|
|
220362
220640
|
super(viewport, ViewHandleType.LookAndMove | ViewHandleType.Pan, oneShot, isDraggingRequired);
|
|
220363
220641
|
}
|
|
220364
220642
|
get isExitAllowedOnReinitialize() { return true; }
|
|
@@ -220368,31 +220646,31 @@ class LookAndMoveTool extends ViewManip {
|
|
|
220368
220646
|
focusHome();
|
|
220369
220647
|
}
|
|
220370
220648
|
provideToolAssistance(mainInstrKey) {
|
|
220371
|
-
const mainInstruction =
|
|
220649
|
+
const mainInstruction = _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(this.iconSpec, ViewTool.translate(mainInstrKey));
|
|
220372
220650
|
const mouseInstructions = [];
|
|
220373
220651
|
const touchInstructions = [];
|
|
220374
|
-
const acceptMsg = this.inDynamicUpdate ?
|
|
220375
|
-
const rejectMsg =
|
|
220376
|
-
mouseInstructions.push(
|
|
220377
|
-
mouseInstructions.push(
|
|
220378
|
-
mouseInstructions.push(
|
|
220379
|
-
mouseInstructions.push(
|
|
220380
|
-
mouseInstructions.push(
|
|
220381
|
-
mouseInstructions.push(
|
|
220382
|
-
mouseInstructions.push(
|
|
220383
|
-
mouseInstructions.push(
|
|
220384
|
-
mouseInstructions.push(
|
|
220385
|
-
touchInstructions.push(
|
|
220386
|
-
touchInstructions.push(
|
|
220387
|
-
touchInstructions.push(
|
|
220388
|
-
touchInstructions.push(
|
|
220389
|
-
touchInstructions.push(
|
|
220390
|
-
touchInstructions.push(
|
|
220652
|
+
const acceptMsg = this.inDynamicUpdate ? _Tool__WEBPACK_IMPORTED_MODULE_17__.CoreTools.translate("ElementSet.Inputs.AcceptPoint") : ViewTool.translate("LookAndMove.Inputs.AcceptLookPoint");
|
|
220653
|
+
const rejectMsg = _Tool__WEBPACK_IMPORTED_MODULE_17__.CoreTools.translate("ElementSet.Inputs.Exit");
|
|
220654
|
+
mouseInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.LeftClick, acceptMsg, false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Mouse));
|
|
220655
|
+
mouseInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.RightClick, rejectMsg, false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Mouse));
|
|
220656
|
+
mouseInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createKeyboardInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createKeyboardInfo(["W"], ["A", "S", "D"]), ViewTool.translate("LookAndMove.Inputs.WalkKeys"), false));
|
|
220657
|
+
mouseInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createKeyboardInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.arrowKeyboardInfo, ViewTool.translate("LookAndMove.Inputs.WalkKeys"), false));
|
|
220658
|
+
mouseInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createKeyboardInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createKeyboardInfo(["Q", "E"]), ViewTool.translate("LookAndMove.Inputs.ElevateKeys"), false));
|
|
220659
|
+
mouseInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createKeyboardInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createKeyboardInfo(["\u21de", "\u21df"]), ViewTool.translate("LookAndMove.Inputs.ElevateKeys"), false));
|
|
220660
|
+
mouseInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createKeyboardInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createKeyboardInfo(["C", "Z"]), ViewTool.translate("LookAndMove.Inputs.CollideKeys"), false));
|
|
220661
|
+
mouseInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createKeyboardInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createKeyboardInfo(["+", "-"]), ViewTool.translate("LookAndMove.Inputs.VelocityChange"), false));
|
|
220662
|
+
mouseInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.MouseWheel, ViewTool.translate("LookAndMove.Inputs.VelocityChange"), false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Mouse));
|
|
220663
|
+
touchInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.TouchCursorDrag, ViewTool.translate("LookAndMove.Inputs.TouchZoneLL"), false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Touch));
|
|
220664
|
+
touchInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.TouchCursorDrag, ViewTool.translate("LookAndMove.Inputs.TouchZoneLR"), false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Touch));
|
|
220665
|
+
touchInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.OneTouchTap, ViewTool.translate("LookAndMove.Inputs.TouchTapLL"), false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Touch));
|
|
220666
|
+
touchInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.OneTouchTap, ViewTool.translate("LookAndMove.Inputs.TouchTapLR"), false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Touch));
|
|
220667
|
+
touchInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.OneTouchDrag, acceptMsg, false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Touch));
|
|
220668
|
+
touchInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.TwoTouchTap, rejectMsg, false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Touch));
|
|
220391
220669
|
const sections = [];
|
|
220392
|
-
sections.push(
|
|
220393
|
-
sections.push(
|
|
220394
|
-
const instructions =
|
|
220395
|
-
|
|
220670
|
+
sections.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createSection(mouseInstructions, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.inputsLabel));
|
|
220671
|
+
sections.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createSection(touchInstructions, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.inputsLabel));
|
|
220672
|
+
const instructions = _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstructions(mainInstruction, sections);
|
|
220673
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.notifications.setToolAssistance(instructions);
|
|
220396
220674
|
}
|
|
220397
220675
|
}
|
|
220398
220676
|
/** A tool that performs the walk operation
|
|
@@ -220402,15 +220680,15 @@ class WalkViewTool extends ViewManip {
|
|
|
220402
220680
|
static toolId = "View.Walk";
|
|
220403
220681
|
static iconSpec = "icon-walk";
|
|
220404
220682
|
constructor(vp, oneShot = false, isDraggingRequired = false) {
|
|
220405
|
-
const viewport = (undefined === vp ?
|
|
220683
|
+
const viewport = (undefined === vp ? _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.viewManager.selectedView : vp); // Need vp to enable camera/check lens in onReinitialize...
|
|
220406
220684
|
super(viewport, ViewHandleType.Walk | ViewHandleType.Pan, oneShot, isDraggingRequired);
|
|
220407
220685
|
}
|
|
220408
220686
|
get isExitAllowedOnReinitialize() { return true; }
|
|
220409
220687
|
provideInitialToolAssistance() { this.provideToolAssistance("Walk.Prompts.FirstPoint"); }
|
|
220410
220688
|
provideToolAssistance(mainInstrKey) {
|
|
220411
220689
|
const walkInstructions = [];
|
|
220412
|
-
walkInstructions.push(
|
|
220413
|
-
walkInstructions.push(
|
|
220690
|
+
walkInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createModifierKeyInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.shiftKey, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.LeftClickDrag, ViewTool.translate("Pan.flyover"), false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Mouse));
|
|
220691
|
+
walkInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createModifierKeyInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.ctrlKey, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.LeftClickDrag, ViewTool.translate("Look.flyover"), false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Mouse));
|
|
220414
220692
|
super.provideToolAssistance(mainInstrKey, walkInstructions);
|
|
220415
220693
|
}
|
|
220416
220694
|
}
|
|
@@ -220427,8 +220705,8 @@ class FlyViewTool extends ViewManip {
|
|
|
220427
220705
|
provideInitialToolAssistance() { this.provideToolAssistance("Fly.Prompts.FirstPoint"); }
|
|
220428
220706
|
provideToolAssistance(mainInstrKey) {
|
|
220429
220707
|
const flyInstructions = [];
|
|
220430
|
-
flyInstructions.push(
|
|
220431
|
-
flyInstructions.push(
|
|
220708
|
+
flyInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createModifierKeyInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.shiftKey, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.LeftClickDrag, ViewTool.translate("Pan.flyover"), false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Mouse));
|
|
220709
|
+
flyInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createModifierKeyInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.ctrlKey, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.LeftClickDrag, ViewTool.translate("Look.flyover"), false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Mouse));
|
|
220432
220710
|
super.provideToolAssistance(mainInstrKey, flyInstructions);
|
|
220433
220711
|
}
|
|
220434
220712
|
}
|
|
@@ -220449,25 +220727,25 @@ class FitViewTool extends ViewTool {
|
|
|
220449
220727
|
this.isolatedOnly = isolatedOnly;
|
|
220450
220728
|
}
|
|
220451
220729
|
provideToolAssistance() {
|
|
220452
|
-
const mainInstruction =
|
|
220730
|
+
const mainInstruction = _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(this.iconSpec, ViewTool.translate("Fit.Prompts.FirstPoint"));
|
|
220453
220731
|
const mouseInstructions = [];
|
|
220454
220732
|
const touchInstructions = [];
|
|
220455
|
-
const acceptMsg =
|
|
220456
|
-
const rejectMsg =
|
|
220457
|
-
touchInstructions.push(
|
|
220458
|
-
mouseInstructions.push(
|
|
220459
|
-
touchInstructions.push(
|
|
220460
|
-
mouseInstructions.push(
|
|
220733
|
+
const acceptMsg = _Tool__WEBPACK_IMPORTED_MODULE_17__.CoreTools.translate("ElementSet.Inputs.Accept");
|
|
220734
|
+
const rejectMsg = _Tool__WEBPACK_IMPORTED_MODULE_17__.CoreTools.translate("ElementSet.Inputs.Exit");
|
|
220735
|
+
touchInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.OneTouchTap, acceptMsg, false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Touch));
|
|
220736
|
+
mouseInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.LeftClick, acceptMsg, false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Mouse));
|
|
220737
|
+
touchInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.TwoTouchTap, rejectMsg, false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Touch));
|
|
220738
|
+
mouseInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.RightClick, rejectMsg, false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Mouse));
|
|
220461
220739
|
const sections = [];
|
|
220462
|
-
sections.push(
|
|
220463
|
-
sections.push(
|
|
220464
|
-
const instructions =
|
|
220465
|
-
|
|
220740
|
+
sections.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createSection(mouseInstructions, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.inputsLabel));
|
|
220741
|
+
sections.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createSection(touchInstructions, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.inputsLabel));
|
|
220742
|
+
const instructions = _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstructions(mainInstruction, sections);
|
|
220743
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.notifications.setToolAssistance(instructions);
|
|
220466
220744
|
}
|
|
220467
220745
|
async onDataButtonDown(ev) {
|
|
220468
220746
|
if (ev.viewport)
|
|
220469
|
-
return await this.doFit(ev.viewport, this.oneShot, this.doAnimate, this.isolatedOnly) ?
|
|
220470
|
-
return
|
|
220747
|
+
return await this.doFit(ev.viewport, this.oneShot, this.doAnimate, this.isolatedOnly) ? _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes : _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.No;
|
|
220748
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.No;
|
|
220471
220749
|
}
|
|
220472
220750
|
async onPostInstall() {
|
|
220473
220751
|
await super.onPostInstall();
|
|
@@ -220501,13 +220779,13 @@ class ViewGlobeSatelliteTool extends ViewTool {
|
|
|
220501
220779
|
/** @internal */
|
|
220502
220780
|
async onDataButtonDown(ev) {
|
|
220503
220781
|
if (ev.viewport)
|
|
220504
|
-
return (await this._beginSatelliteView(ev.viewport, this.oneShot, this.doAnimate)) ?
|
|
220505
|
-
return
|
|
220782
|
+
return (await this._beginSatelliteView(ev.viewport, this.oneShot, this.doAnimate)) ? _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes : _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.No;
|
|
220783
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.No;
|
|
220506
220784
|
}
|
|
220507
220785
|
/** @internal */
|
|
220508
220786
|
async onPostInstall() {
|
|
220509
220787
|
await super.onPostInstall();
|
|
220510
|
-
const viewport = undefined === this.viewport ?
|
|
220788
|
+
const viewport = undefined === this.viewport ? _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.viewManager.selectedView : this.viewport;
|
|
220511
220789
|
if (viewport) {
|
|
220512
220790
|
(async () => {
|
|
220513
220791
|
await this._beginSatelliteView(viewport, this.oneShot, this.doAnimate);
|
|
@@ -220515,11 +220793,11 @@ class ViewGlobeSatelliteTool extends ViewTool {
|
|
|
220515
220793
|
}
|
|
220516
220794
|
}
|
|
220517
220795
|
async _beginSatelliteView(viewport, oneShot, doAnimate = true) {
|
|
220518
|
-
const carto = await (0,
|
|
220796
|
+
const carto = await (0,_ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_10__.eyeToCartographicOnGlobeFromGcs)(viewport);
|
|
220519
220797
|
if (carto !== undefined) {
|
|
220520
220798
|
try {
|
|
220521
220799
|
let elevationOffset = 0;
|
|
220522
|
-
const elevation = await (0,
|
|
220800
|
+
const elevation = await (0,_ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_10__.queryTerrainElevationOffset)(viewport, carto);
|
|
220523
220801
|
if (elevation !== undefined)
|
|
220524
220802
|
elevationOffset = elevation;
|
|
220525
220803
|
return await this._doSatelliteView(viewport, oneShot, doAnimate, elevationOffset);
|
|
@@ -220530,7 +220808,7 @@ class ViewGlobeSatelliteTool extends ViewTool {
|
|
|
220530
220808
|
return true;
|
|
220531
220809
|
}
|
|
220532
220810
|
async _doSatelliteView(viewport, oneShot, doAnimate = true, elevationOffset = 0) {
|
|
220533
|
-
(0,
|
|
220811
|
+
(0,_ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_10__.viewGlobalLocation)(viewport, doAnimate, _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_10__.ViewGlobalLocationConstants.satelliteHeightAboveEarthInMeters + elevationOffset);
|
|
220534
220812
|
if (oneShot)
|
|
220535
220813
|
await this.exitTool();
|
|
220536
220814
|
return oneShot;
|
|
@@ -220553,22 +220831,22 @@ class ViewGlobeBirdTool extends ViewTool {
|
|
|
220553
220831
|
/** @internal */
|
|
220554
220832
|
async onDataButtonDown(ev) {
|
|
220555
220833
|
if (ev.viewport)
|
|
220556
|
-
return (await this._beginDoBirdView(ev.viewport, this.oneShot, this.doAnimate)) ?
|
|
220557
|
-
return
|
|
220834
|
+
return (await this._beginDoBirdView(ev.viewport, this.oneShot, this.doAnimate)) ? _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes : _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.No;
|
|
220835
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.No;
|
|
220558
220836
|
}
|
|
220559
220837
|
/** @internal */
|
|
220560
220838
|
async onPostInstall() {
|
|
220561
220839
|
await super.onPostInstall();
|
|
220562
|
-
const viewport = undefined === this.viewport ?
|
|
220840
|
+
const viewport = undefined === this.viewport ? _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.viewManager.selectedView : this.viewport;
|
|
220563
220841
|
if (viewport)
|
|
220564
220842
|
await this._beginDoBirdView(viewport, this.oneShot, this.doAnimate);
|
|
220565
220843
|
}
|
|
220566
220844
|
async _beginDoBirdView(viewport, oneShot, doAnimate = true) {
|
|
220567
|
-
const carto = await (0,
|
|
220845
|
+
const carto = await (0,_ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_10__.eyeToCartographicOnGlobeFromGcs)(viewport);
|
|
220568
220846
|
if (carto !== undefined) {
|
|
220569
220847
|
try {
|
|
220570
220848
|
let elevationOffset = 0;
|
|
220571
|
-
const elevation = await (0,
|
|
220849
|
+
const elevation = await (0,_ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_10__.queryTerrainElevationOffset)(viewport, carto);
|
|
220572
220850
|
if (elevation !== undefined)
|
|
220573
220851
|
elevationOffset = elevation;
|
|
220574
220852
|
return await this._doBirdView(viewport, oneShot, doAnimate, elevationOffset);
|
|
@@ -220579,7 +220857,7 @@ class ViewGlobeBirdTool extends ViewTool {
|
|
|
220579
220857
|
return true;
|
|
220580
220858
|
}
|
|
220581
220859
|
async _doBirdView(viewport, oneShot, doAnimate = true, elevationOffset = 0) {
|
|
220582
|
-
(0,
|
|
220860
|
+
(0,_ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_10__.viewGlobalLocation)(viewport, doAnimate, _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_10__.ViewGlobalLocationConstants.birdHeightAboveEarthInMeters + elevationOffset, _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_10__.ViewGlobalLocationConstants.birdPitchAngleRadians);
|
|
220583
220861
|
if (oneShot)
|
|
220584
220862
|
await this.exitTool();
|
|
220585
220863
|
return oneShot;
|
|
@@ -220620,13 +220898,13 @@ class ViewGlobeLocationTool extends ViewTool {
|
|
|
220620
220898
|
}
|
|
220621
220899
|
if (this._globalLocation === undefined) {
|
|
220622
220900
|
const locationString = args.join(" ");
|
|
220623
|
-
const
|
|
220901
|
+
const locationProvider = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.locationProvider;
|
|
220624
220902
|
try {
|
|
220625
|
-
this._globalLocation = await
|
|
220903
|
+
this._globalLocation = await locationProvider.getLocation(locationString);
|
|
220626
220904
|
if (this._globalLocation !== undefined) {
|
|
220627
|
-
const viewport = undefined === this.viewport ?
|
|
220905
|
+
const viewport = undefined === this.viewport ? _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.viewManager.selectedView : this.viewport;
|
|
220628
220906
|
if (viewport !== undefined) {
|
|
220629
|
-
const elevationOffset = await (0,
|
|
220907
|
+
const elevationOffset = await (0,_ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_10__.queryTerrainElevationOffset)(viewport, this._globalLocation.center);
|
|
220630
220908
|
if (elevationOffset !== undefined)
|
|
220631
220909
|
this._globalLocation.center.height = elevationOffset;
|
|
220632
220910
|
}
|
|
@@ -220645,7 +220923,7 @@ class ViewGlobeLocationTool extends ViewTool {
|
|
|
220645
220923
|
await this._doLocationView();
|
|
220646
220924
|
}
|
|
220647
220925
|
async _doLocationView() {
|
|
220648
|
-
const viewport = undefined === this.viewport ?
|
|
220926
|
+
const viewport = undefined === this.viewport ? _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.viewManager.selectedView : this.viewport;
|
|
220649
220927
|
if (viewport) {
|
|
220650
220928
|
if (undefined !== this._globalLocation)
|
|
220651
220929
|
await viewport.animateFlyoverToGlobalLocation(this._globalLocation);
|
|
@@ -220672,8 +220950,8 @@ class ViewGlobeIModelTool extends ViewTool {
|
|
|
220672
220950
|
/** @internal */
|
|
220673
220951
|
async onDataButtonDown(ev) {
|
|
220674
220952
|
if (ev.viewport)
|
|
220675
|
-
return await this._doIModelView() ?
|
|
220676
|
-
return
|
|
220953
|
+
return await this._doIModelView() ? _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes : _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.No;
|
|
220954
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.No;
|
|
220677
220955
|
}
|
|
220678
220956
|
/** @internal */
|
|
220679
220957
|
async onPostInstall() {
|
|
@@ -220681,14 +220959,14 @@ class ViewGlobeIModelTool extends ViewTool {
|
|
|
220681
220959
|
await this._doIModelView();
|
|
220682
220960
|
}
|
|
220683
220961
|
async _doIModelView() {
|
|
220684
|
-
const viewport = undefined === this.viewport ?
|
|
220685
|
-
if (viewport && (viewport.view instanceof
|
|
220962
|
+
const viewport = undefined === this.viewport ? _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.viewManager.selectedView : this.viewport;
|
|
220963
|
+
if (viewport && (viewport.view instanceof _ViewState__WEBPACK_IMPORTED_MODULE_13__.ViewState3d)) {
|
|
220686
220964
|
const extents = viewport.view.iModel.projectExtents;
|
|
220687
220965
|
const center = viewport.view.iModel.projectExtents.center;
|
|
220688
220966
|
const view3d = viewport.view;
|
|
220689
220967
|
const cartographicCenter = view3d.rootToCartographic(center);
|
|
220690
220968
|
if (cartographicCenter !== undefined) {
|
|
220691
|
-
const cartographicArea = (0,
|
|
220969
|
+
const cartographicArea = (0,_ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_10__.rangeToCartographicArea)(view3d, extents);
|
|
220692
220970
|
(async () => {
|
|
220693
220971
|
await viewport.animateFlyoverToGlobalLocation({ center: cartographicCenter, area: cartographicArea });
|
|
220694
220972
|
})().catch(() => { });
|
|
@@ -220714,7 +220992,7 @@ class StandardViewTool extends ViewTool {
|
|
|
220714
220992
|
await super.onPostInstall();
|
|
220715
220993
|
if (this.viewport) {
|
|
220716
220994
|
const vp = this.viewport;
|
|
220717
|
-
const id = vp.view.allow3dManipulations() ? this._standardViewId :
|
|
220995
|
+
const id = vp.view.allow3dManipulations() ? this._standardViewId : _StandardView__WEBPACK_IMPORTED_MODULE_9__.StandardViewId.Top;
|
|
220718
220996
|
const rMatrix = _AccuDraw__WEBPACK_IMPORTED_MODULE_4__.AccuDraw.getStandardRotation(id, vp, vp.isContextRotationRequired);
|
|
220719
220997
|
const inverse = rMatrix.inverse();
|
|
220720
220998
|
if (undefined !== inverse) {
|
|
@@ -220755,40 +221033,40 @@ class WindowAreaTool extends ViewTool {
|
|
|
220755
221033
|
async onResetButtonUp(ev) {
|
|
220756
221034
|
if (this._haveFirstPoint) {
|
|
220757
221035
|
await this.onReinitialize();
|
|
220758
|
-
return
|
|
221036
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes;
|
|
220759
221037
|
}
|
|
220760
221038
|
return super.onResetButtonUp(ev);
|
|
220761
221039
|
}
|
|
220762
221040
|
provideToolAssistance() {
|
|
220763
|
-
const mainInstruction =
|
|
221041
|
+
const mainInstruction = _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(this.iconSpec, ViewTool.translate(this._haveFirstPoint ? "WindowArea.Prompts.NextPoint" : "WindowArea.Prompts.FirstPoint"));
|
|
220764
221042
|
const mouseInstructions = [];
|
|
220765
221043
|
const touchInstructions = [];
|
|
220766
|
-
const acceptMsg =
|
|
220767
|
-
const restartMsg =
|
|
220768
|
-
const exitMsg =
|
|
220769
|
-
touchInstructions.push(
|
|
220770
|
-
mouseInstructions.push(
|
|
220771
|
-
touchInstructions.push(
|
|
220772
|
-
mouseInstructions.push(
|
|
221044
|
+
const acceptMsg = _Tool__WEBPACK_IMPORTED_MODULE_17__.CoreTools.translate("ElementSet.Inputs.AcceptPoint");
|
|
221045
|
+
const restartMsg = _Tool__WEBPACK_IMPORTED_MODULE_17__.CoreTools.translate("ElementSet.Inputs.Restart");
|
|
221046
|
+
const exitMsg = _Tool__WEBPACK_IMPORTED_MODULE_17__.CoreTools.translate("ElementSet.Inputs.Exit");
|
|
221047
|
+
touchInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.OneTouchDrag, acceptMsg, false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Touch));
|
|
221048
|
+
mouseInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.LeftClick, acceptMsg, false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Mouse));
|
|
221049
|
+
touchInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.TwoTouchTap, exitMsg, false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Touch));
|
|
221050
|
+
mouseInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.RightClick, this._haveFirstPoint ? restartMsg : exitMsg, false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Mouse));
|
|
220773
221051
|
const sections = [];
|
|
220774
|
-
sections.push(
|
|
220775
|
-
sections.push(
|
|
220776
|
-
const instructions =
|
|
220777
|
-
|
|
221052
|
+
sections.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createSection(mouseInstructions, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.inputsLabel));
|
|
221053
|
+
sections.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createSection(touchInstructions, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.inputsLabel));
|
|
221054
|
+
const instructions = _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstructions(mainInstruction, sections);
|
|
221055
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.notifications.setToolAssistance(instructions);
|
|
220778
221056
|
}
|
|
220779
221057
|
async onDataButtonDown(ev) {
|
|
220780
221058
|
if (undefined === ev.viewport)
|
|
220781
|
-
return
|
|
221059
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes;
|
|
220782
221060
|
if (undefined === this.viewport) {
|
|
220783
221061
|
this.viewport = ev.viewport;
|
|
220784
221062
|
}
|
|
220785
221063
|
else if (!ev.viewport.view.hasSameCoordinates(this.viewport.view)) {
|
|
220786
221064
|
if (this._haveFirstPoint)
|
|
220787
|
-
return
|
|
221065
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes;
|
|
220788
221066
|
this.viewport = ev.viewport;
|
|
220789
221067
|
this._lastPtView = ev.viewPoint;
|
|
220790
|
-
|
|
220791
|
-
return
|
|
221068
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.viewManager.invalidateDecorationsAllViews();
|
|
221069
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes;
|
|
220792
221070
|
}
|
|
220793
221071
|
if (this._haveFirstPoint) {
|
|
220794
221072
|
this._secondPtWorld.setFrom(ev.point);
|
|
@@ -220803,26 +221081,26 @@ class WindowAreaTool extends ViewTool {
|
|
|
220803
221081
|
this._lastPtView = ev.viewPoint;
|
|
220804
221082
|
this.provideToolAssistance();
|
|
220805
221083
|
}
|
|
220806
|
-
return
|
|
221084
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes;
|
|
220807
221085
|
}
|
|
220808
221086
|
async onMouseMotion(ev) { this.doManipulation(ev, true); }
|
|
220809
|
-
async onTouchTap(ev) { return ev.isSingleTap ?
|
|
221087
|
+
async onTouchTap(ev) { return ev.isSingleTap ? _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes : _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.No; } // Prevent IdleTool from converting single tap into data button down/up...
|
|
220810
221088
|
async onTouchMoveStart(ev, startEv) {
|
|
220811
221089
|
if (!this._haveFirstPoint && startEv.isSingleTouch)
|
|
220812
|
-
await
|
|
220813
|
-
return this._haveFirstPoint ?
|
|
221090
|
+
await _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin.convertTouchMoveStartToButtonDownAndMotion(startEv, ev);
|
|
221091
|
+
return this._haveFirstPoint ? _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes : _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.No;
|
|
220814
221092
|
}
|
|
220815
221093
|
async onTouchMove(ev) {
|
|
220816
221094
|
if (this._haveFirstPoint)
|
|
220817
|
-
return
|
|
221095
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin.convertTouchMoveToMotion(ev);
|
|
220818
221096
|
}
|
|
220819
221097
|
async onTouchComplete(ev) {
|
|
220820
221098
|
if (this._haveFirstPoint)
|
|
220821
|
-
return
|
|
221099
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin.convertTouchEndToButtonUp(ev);
|
|
220822
221100
|
}
|
|
220823
221101
|
async onTouchCancel(ev) {
|
|
220824
221102
|
if (this._haveFirstPoint)
|
|
220825
|
-
return
|
|
221103
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin.convertTouchEndToButtonUp(ev, _Tool__WEBPACK_IMPORTED_MODULE_17__.BeButton.Reset);
|
|
220826
221104
|
}
|
|
220827
221105
|
computeWindowCorners() {
|
|
220828
221106
|
const vp = this.viewport;
|
|
@@ -220833,7 +221111,7 @@ class WindowAreaTool extends ViewTool {
|
|
|
220833
221111
|
corners[1].setFrom(this._secondPtWorld);
|
|
220834
221112
|
vp.worldToViewArray(corners);
|
|
220835
221113
|
const delta = corners[1].minus(corners[0]);
|
|
220836
|
-
if (delta.magnitudeXY() < vp.pixelsFromInches(
|
|
221114
|
+
if (delta.magnitudeXY() < vp.pixelsFromInches(_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.startDragDistanceInches))
|
|
220837
221115
|
return undefined;
|
|
220838
221116
|
const currentDelta = vp.viewDelta;
|
|
220839
221117
|
if (currentDelta.x === 0 || delta.x === 0)
|
|
@@ -220874,7 +221152,7 @@ class WindowAreaTool extends ViewTool {
|
|
|
220874
221152
|
this._shapePts[0].z = this._shapePts[1].z = this._shapePts[2].z = this._shapePts[3].z = corners[0].z;
|
|
220875
221153
|
this._shapePts[4].setFrom(this._shapePts[0]);
|
|
220876
221154
|
vp.viewToWorldArray(this._shapePts);
|
|
220877
|
-
const builder = context.createGraphicBuilder(
|
|
221155
|
+
const builder = context.createGraphicBuilder(_common_render_GraphicType__WEBPACK_IMPORTED_MODULE_20__.GraphicType.WorldOverlay);
|
|
220878
221156
|
builder.setBlankingFill(this._fillColor);
|
|
220879
221157
|
builder.addShape(this._shapePts);
|
|
220880
221158
|
builder.setSymbology(color, color, 1 /* ViewHandleWeight.Thin */);
|
|
@@ -220884,7 +221162,7 @@ class WindowAreaTool extends ViewTool {
|
|
|
220884
221162
|
context.addDecorationFromBuilder(builder);
|
|
220885
221163
|
return;
|
|
220886
221164
|
}
|
|
220887
|
-
if (undefined === this._lastPtView || context.viewport !==
|
|
221165
|
+
if (undefined === this._lastPtView || context.viewport !== _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin.cursorView)
|
|
220888
221166
|
return; // Full screen cross-hair only displays in cursor view...
|
|
220889
221167
|
const cursorPt = this._lastPtView.clone();
|
|
220890
221168
|
cursorPt.x = Math.floor(cursorPt.x) + 0.5;
|
|
@@ -220910,7 +221188,7 @@ class WindowAreaTool extends ViewTool {
|
|
|
220910
221188
|
return;
|
|
220911
221189
|
}
|
|
220912
221190
|
this._lastPtView = ev.viewPoint;
|
|
220913
|
-
|
|
221191
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.viewManager.invalidateDecorationsAllViews();
|
|
220914
221192
|
return;
|
|
220915
221193
|
}
|
|
220916
221194
|
const corners = this.computeWindowCorners();
|
|
@@ -220929,7 +221207,7 @@ class WindowAreaTool extends ViewTool {
|
|
|
220929
221207
|
if (view.is3d() && view.isCameraOn) {
|
|
220930
221208
|
const windowArray = [corners[0].clone(), corners[1].clone()];
|
|
220931
221209
|
vp.worldToViewArray(windowArray);
|
|
220932
|
-
const windowRange = new
|
|
221210
|
+
const windowRange = new _common_ViewRect__WEBPACK_IMPORTED_MODULE_12__.ViewRect(windowArray[0].x, windowArray[0].y, windowArray[1].x, windowArray[1].y);
|
|
220933
221211
|
let npcZValues = vp.determineVisibleDepthRange(windowRange);
|
|
220934
221212
|
if (undefined === npcZValues)
|
|
220935
221213
|
npcZValues = { minimum: 0, maximum: ViewManip.getFocusPlaneNpc(vp) };
|
|
@@ -220944,7 +221222,7 @@ class WindowAreaTool extends ViewTool {
|
|
|
220944
221222
|
const focusDist = delta.x / (2.0 * Math.tan(lensAngle.radians / 2));
|
|
220945
221223
|
const newTarget = corners[0].interpolate(.5, corners[1]);
|
|
220946
221224
|
const newEye = newTarget.plusScaled(view.getZVector(), focusDist);
|
|
220947
|
-
if (
|
|
221225
|
+
if (_ViewStatus__WEBPACK_IMPORTED_MODULE_14__.ViewStatus.Success !== view.lookAt({ eyePoint: newEye, targetPoint: newTarget, upVector: view.getYVector(), lensAngle, opts }))
|
|
220948
221226
|
return;
|
|
220949
221227
|
globalAlignment = { target: newTarget };
|
|
220950
221228
|
}
|
|
@@ -220958,7 +221236,7 @@ class WindowAreaTool extends ViewTool {
|
|
|
220958
221236
|
const originVec = rot.multiplyTransposeXYZ(range.low.x, range.low.y, range.low.z);
|
|
220959
221237
|
// make sure its not too big or too small
|
|
220960
221238
|
const stat = view.adjustViewDelta(delta, originVec, rot, vp.viewRect.aspect, opts);
|
|
220961
|
-
if (stat !==
|
|
221239
|
+
if (stat !== _ViewStatus__WEBPACK_IMPORTED_MODULE_14__.ViewStatus.Success)
|
|
220962
221240
|
return;
|
|
220963
221241
|
view.setExtents(delta);
|
|
220964
221242
|
view.setOrigin(originVec);
|
|
@@ -221032,7 +221310,7 @@ class DefaultViewTouchTool extends ViewManip {
|
|
|
221032
221310
|
this._rotate2dThreshold = undefined;
|
|
221033
221311
|
this._lastPtView.setFrom(this._startPtView);
|
|
221034
221312
|
this._startTouchCount = ev.touchCount;
|
|
221035
|
-
this._startDirection = (2 <= ev.touchCount ? _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector2d.createStartEnd(
|
|
221313
|
+
this._startDirection = (2 <= ev.touchCount ? _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector2d.createStartEnd(_Tool__WEBPACK_IMPORTED_MODULE_17__.BeTouchEvent.getTouchPosition(ev.touchEvent.targetTouches[0], vp), _Tool__WEBPACK_IMPORTED_MODULE_17__.BeTouchEvent.getTouchPosition(ev.touchEvent.targetTouches[1], vp)) : _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector2d.createZero());
|
|
221036
221314
|
this._startDistance = (2 === ev.touchCount ? this._startDirection.magnitude() : 0.0);
|
|
221037
221315
|
}
|
|
221038
221316
|
computeZoomRatio(ev) {
|
|
@@ -221041,8 +221319,8 @@ class DefaultViewTouchTool extends ViewManip {
|
|
|
221041
221319
|
const vp = this.viewport;
|
|
221042
221320
|
if (undefined === vp)
|
|
221043
221321
|
return 1.0;
|
|
221044
|
-
const distance = (2 === ev.touchCount ?
|
|
221045
|
-
const threshold = vp.pixelsFromInches(
|
|
221322
|
+
const distance = (2 === ev.touchCount ? _Tool__WEBPACK_IMPORTED_MODULE_17__.BeTouchEvent.getTouchPosition(ev.touchEvent.targetTouches[0], vp).distance(_Tool__WEBPACK_IMPORTED_MODULE_17__.BeTouchEvent.getTouchPosition(ev.touchEvent.targetTouches[1], vp)) : 0.0);
|
|
221323
|
+
const threshold = vp.pixelsFromInches(_ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.touchZoomChangeThresholdInches);
|
|
221046
221324
|
if (0.0 === distance || Math.abs(this._startDistance - distance) < threshold)
|
|
221047
221325
|
return 1.0;
|
|
221048
221326
|
// Remove inertia if the viewing operation includes zoom, only use it for pan and rotate.
|
|
@@ -221056,7 +221334,7 @@ class DefaultViewTouchTool extends ViewManip {
|
|
|
221056
221334
|
const vp = this.viewport;
|
|
221057
221335
|
if (undefined === vp)
|
|
221058
221336
|
return _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Angle.createDegrees(0.0);
|
|
221059
|
-
const direction = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector2d.createStartEnd(
|
|
221337
|
+
const direction = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector2d.createStartEnd(_Tool__WEBPACK_IMPORTED_MODULE_17__.BeTouchEvent.getTouchPosition(ev.touchEvent.targetTouches[0], vp), _Tool__WEBPACK_IMPORTED_MODULE_17__.BeTouchEvent.getTouchPosition(ev.touchEvent.targetTouches[1], vp));
|
|
221060
221338
|
const rotation = this._startDirection.angleTo(direction);
|
|
221061
221339
|
if (undefined === this._rotate2dThreshold) {
|
|
221062
221340
|
if (Math.abs(rotation.radians) < _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Angle.createDegrees(5.0).radians)
|
|
@@ -221102,7 +221380,7 @@ class DefaultViewTouchTool extends ViewManip {
|
|
|
221102
221380
|
const yExtent = viewRect.height;
|
|
221103
221381
|
const xDelta = this._lastPtView.x - this._startPtView.x;
|
|
221104
221382
|
const yDelta = this._lastPtView.y - this._startPtView.y;
|
|
221105
|
-
const xAxis =
|
|
221383
|
+
const xAxis = _ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.preserveWorldUp ? _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d.unitZ() : vp.rotation.getRow(1);
|
|
221106
221384
|
const yAxis = vp.rotation.getRow(0);
|
|
221107
221385
|
const xRMatrix = (xDelta ? _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Matrix3d.createRotationAroundVector(xAxis, _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Angle.createRadians(Math.PI / (xExtent / xDelta))) : undefined) ?? _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Matrix3d.identity;
|
|
221108
221386
|
const yRMatrix = (yDelta ? _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Matrix3d.createRotationAroundVector(yAxis, _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Angle.createRadians(Math.PI / (yExtent / yDelta))) : undefined) ?? _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Matrix3d.identity;
|
|
@@ -221187,8 +221465,8 @@ class DefaultViewTouchTool extends ViewManip {
|
|
|
221187
221465
|
singleTouch ? this.handle3dRotate() : this.handle3dPanZoom(ev) :
|
|
221188
221466
|
singleTouch ? this.handle2dPan() : this.handle2dRotateZoom(ev);
|
|
221189
221467
|
}
|
|
221190
|
-
async onDataButtonDown(_ev) { return
|
|
221191
|
-
async onDataButtonUp(_ev) { return
|
|
221468
|
+
async onDataButtonDown(_ev) { return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes; }
|
|
221469
|
+
async onDataButtonUp(_ev) { return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes; }
|
|
221192
221470
|
async onTouchStart(ev) {
|
|
221193
221471
|
if (undefined !== this.viewport)
|
|
221194
221472
|
this.onStart(ev);
|
|
@@ -221200,7 +221478,7 @@ class DefaultViewTouchTool extends ViewManip {
|
|
|
221200
221478
|
async onTouchComplete(_ev) {
|
|
221201
221479
|
// if we were moving when the touch ended, add inertia to the viewing operation
|
|
221202
221480
|
if (this._inertiaVec) {
|
|
221203
|
-
this._duration =
|
|
221481
|
+
this._duration = _ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.viewingInertia.duration;
|
|
221204
221482
|
if (this._duration.isTowardsFuture) { // ensure duration is towards future. Otherwise, don't start animation
|
|
221205
221483
|
this._end = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeTimePoint.fromNow(this._duration);
|
|
221206
221484
|
if (undefined !== this.viewport)
|
|
@@ -221218,7 +221496,7 @@ class ViewUndoTool extends ViewTool {
|
|
|
221218
221496
|
static iconSpec = "icon-window-backward";
|
|
221219
221497
|
async onPostInstall() {
|
|
221220
221498
|
if (this.viewport)
|
|
221221
|
-
this.viewport.doUndo(
|
|
221499
|
+
this.viewport.doUndo(_Viewport__WEBPACK_IMPORTED_MODULE_11__.ScreenViewport.animation.time.normal);
|
|
221222
221500
|
return this.exitTool();
|
|
221223
221501
|
}
|
|
221224
221502
|
}
|
|
@@ -221230,7 +221508,7 @@ class ViewRedoTool extends ViewTool {
|
|
|
221230
221508
|
static iconSpec = "icon-window-forward";
|
|
221231
221509
|
async onPostInstall() {
|
|
221232
221510
|
if (this.viewport)
|
|
221233
|
-
this.viewport.doRedo(
|
|
221511
|
+
this.viewport.doRedo(_Viewport__WEBPACK_IMPORTED_MODULE_11__.ScreenViewport.animation.time.normal);
|
|
221234
221512
|
return this.exitTool();
|
|
221235
221513
|
}
|
|
221236
221514
|
}
|
|
@@ -221258,7 +221536,7 @@ class ViewToggleCameraTool extends ViewTool {
|
|
|
221258
221536
|
* by calling QuantityFormatter.onInitialized at app startup.
|
|
221259
221537
|
* @public
|
|
221260
221538
|
*/
|
|
221261
|
-
class SetupCameraTool extends
|
|
221539
|
+
class SetupCameraTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_16__.PrimitiveTool {
|
|
221262
221540
|
static toolId = "View.SetupCamera";
|
|
221263
221541
|
static iconSpec = "icon-camera-location";
|
|
221264
221542
|
viewport;
|
|
@@ -221274,7 +221552,7 @@ class SetupCameraTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_17__.Primi
|
|
|
221274
221552
|
}
|
|
221275
221553
|
async onUnsuspend() { this.provideToolAssistance(); }
|
|
221276
221554
|
setupAndPromptForNextAction() {
|
|
221277
|
-
|
|
221555
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuSnap.enableSnap(true);
|
|
221278
221556
|
this.provideToolAssistance();
|
|
221279
221557
|
}
|
|
221280
221558
|
async onResetButtonUp(_ev) {
|
|
@@ -221282,24 +221560,24 @@ class SetupCameraTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_17__.Primi
|
|
|
221282
221560
|
await this.onReinitialize();
|
|
221283
221561
|
else
|
|
221284
221562
|
await this.exitTool();
|
|
221285
|
-
return
|
|
221563
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes;
|
|
221286
221564
|
}
|
|
221287
221565
|
provideToolAssistance() {
|
|
221288
|
-
const mainInstruction =
|
|
221566
|
+
const mainInstruction = _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(this.iconSpec, ViewTool.translate(this._haveEyePt ? "SetupCamera.Prompts.NextPoint" : "SetupCamera.Prompts.FirstPoint"));
|
|
221289
221567
|
const mouseInstructions = [];
|
|
221290
221568
|
const touchInstructions = [];
|
|
221291
|
-
const acceptMsg =
|
|
221292
|
-
const rejectMsg =
|
|
221293
|
-
if (!
|
|
221294
|
-
touchInstructions.push(
|
|
221295
|
-
mouseInstructions.push(
|
|
221296
|
-
touchInstructions.push(
|
|
221297
|
-
mouseInstructions.push(
|
|
221569
|
+
const acceptMsg = _Tool__WEBPACK_IMPORTED_MODULE_17__.CoreTools.translate("ElementSet.Inputs.AcceptPoint");
|
|
221570
|
+
const rejectMsg = _Tool__WEBPACK_IMPORTED_MODULE_17__.CoreTools.translate(this._haveEyePt ? "ElementSet.Inputs.Restart" : "ElementSet.Inputs.Exit");
|
|
221571
|
+
if (!_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createTouchCursorInstructions(touchInstructions))
|
|
221572
|
+
touchInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.OneTouchTap, acceptMsg, false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Touch));
|
|
221573
|
+
mouseInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.LeftClick, acceptMsg, false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Mouse));
|
|
221574
|
+
touchInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.TwoTouchTap, rejectMsg, false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Touch));
|
|
221575
|
+
mouseInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.RightClick, rejectMsg, false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Mouse));
|
|
221298
221576
|
const sections = [];
|
|
221299
|
-
sections.push(
|
|
221300
|
-
sections.push(
|
|
221301
|
-
const instructions =
|
|
221302
|
-
|
|
221577
|
+
sections.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createSection(mouseInstructions, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.inputsLabel));
|
|
221578
|
+
sections.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createSection(touchInstructions, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.inputsLabel));
|
|
221579
|
+
const instructions = _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstructions(mainInstruction, sections);
|
|
221580
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.notifications.setToolAssistance(instructions);
|
|
221303
221581
|
}
|
|
221304
221582
|
async onRestartTool() {
|
|
221305
221583
|
const tool = new SetupCameraTool();
|
|
@@ -221310,18 +221588,18 @@ class SetupCameraTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_17__.Primi
|
|
|
221310
221588
|
getAdjustedTargetPoint() { return this.useTargetHeight ? this._targetPtWorld.plusScaled(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d.unitZ(), this.targetHeight) : this._targetPtWorld; }
|
|
221311
221589
|
async onDataButtonDown(ev) {
|
|
221312
221590
|
if (undefined === ev.viewport) {
|
|
221313
|
-
return
|
|
221591
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes;
|
|
221314
221592
|
}
|
|
221315
221593
|
else if (undefined === this.viewport) {
|
|
221316
221594
|
if (!ev.viewport.view.allow3dManipulations())
|
|
221317
|
-
return
|
|
221595
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes;
|
|
221318
221596
|
this.viewport = ev.viewport;
|
|
221319
221597
|
}
|
|
221320
221598
|
else if (this.viewport.view.iModel !== ev.viewport.view.iModel) {
|
|
221321
221599
|
if (this._haveEyePt)
|
|
221322
|
-
return
|
|
221600
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes;
|
|
221323
221601
|
this.viewport = ev.viewport;
|
|
221324
|
-
return
|
|
221602
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes;
|
|
221325
221603
|
}
|
|
221326
221604
|
if (this._haveEyePt) {
|
|
221327
221605
|
this._targetPtWorld.setFrom(ev.point);
|
|
@@ -221334,13 +221612,13 @@ class SetupCameraTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_17__.Primi
|
|
|
221334
221612
|
this._haveEyePt = true;
|
|
221335
221613
|
this.setupAndPromptForNextAction();
|
|
221336
221614
|
}
|
|
221337
|
-
return
|
|
221615
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes;
|
|
221338
221616
|
}
|
|
221339
221617
|
async onMouseMotion(ev) {
|
|
221340
221618
|
if (!this._haveEyePt)
|
|
221341
221619
|
return;
|
|
221342
221620
|
this._targetPtWorld.setFrom(ev.point);
|
|
221343
|
-
|
|
221621
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.viewManager.invalidateDecorationsAllViews();
|
|
221344
221622
|
}
|
|
221345
221623
|
static drawCameraFrustum(context, vp, eyePtWorld, targetPtWorld, eyeSnapPtWorld, targetSnapPtWorld) {
|
|
221346
221624
|
if (!vp.view.is3d() || vp.view.iModel !== context.viewport.view.iModel)
|
|
@@ -221355,7 +221633,7 @@ class SetupCameraTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_17__.Primi
|
|
|
221355
221633
|
return;
|
|
221356
221634
|
if (zVec.crossProduct(xVec).normalizeWithLength(yVec).mag < _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.smallMetricDistance)
|
|
221357
221635
|
return;
|
|
221358
|
-
const lensAngle =
|
|
221636
|
+
const lensAngle = _ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkCameraAngle;
|
|
221359
221637
|
const extentX = Math.tan(lensAngle.radians / 2.0) * focusDist;
|
|
221360
221638
|
const extentY = extentX * (vp.view.extents.y / vp.view.extents.x);
|
|
221361
221639
|
const pt1 = targetPtWorld.plusScaled(xVec, -extentX);
|
|
@@ -221366,8 +221644,8 @@ class SetupCameraTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_17__.Primi
|
|
|
221366
221644
|
pt3.plusScaled(yVec, -extentY, pt3);
|
|
221367
221645
|
const pt4 = targetPtWorld.plusScaled(xVec, -extentX);
|
|
221368
221646
|
pt4.plusScaled(yVec, -extentY, pt4);
|
|
221369
|
-
const color =
|
|
221370
|
-
const builderHid = context.createGraphicBuilder(
|
|
221647
|
+
const color = _EditManipulator__WEBPACK_IMPORTED_MODULE_15__.EditManipulator.HandleUtils.adjustForBackgroundColor(_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.ColorDef.black, vp);
|
|
221648
|
+
const builderHid = context.createGraphicBuilder(_common_render_GraphicType__WEBPACK_IMPORTED_MODULE_20__.GraphicType.WorldOverlay);
|
|
221371
221649
|
builderHid.setSymbology(color, color, 3 /* ViewHandleWeight.Bold */);
|
|
221372
221650
|
builderHid.addLineString([eyePtWorld, targetPtWorld]);
|
|
221373
221651
|
builderHid.setSymbology(color, color, 1 /* ViewHandleWeight.Thin */, _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.LinePixels.Code2);
|
|
@@ -221389,7 +221667,7 @@ class SetupCameraTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_17__.Primi
|
|
|
221389
221667
|
context.addDecorationFromBuilder(builderHid);
|
|
221390
221668
|
const backColor = _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.ColorDef.from(0, 0, 255, 200);
|
|
221391
221669
|
const sideColor = context.viewport.hilite.color.withAlpha(25);
|
|
221392
|
-
const builderVis = context.createGraphicBuilder(
|
|
221670
|
+
const builderVis = context.createGraphicBuilder(_common_render_GraphicType__WEBPACK_IMPORTED_MODULE_20__.GraphicType.WorldDecoration);
|
|
221393
221671
|
builderVis.setSymbology(color, color, 2 /* ViewHandleWeight.Normal */);
|
|
221394
221672
|
builderVis.addLineString([eyePtWorld, pt1]);
|
|
221395
221673
|
builderVis.addLineString([eyePtWorld, pt2]);
|
|
@@ -221420,8 +221698,8 @@ class SetupCameraTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_17__.Primi
|
|
|
221420
221698
|
return;
|
|
221421
221699
|
const eyePoint = this.getAdjustedEyePoint();
|
|
221422
221700
|
const targetPoint = this.getAdjustedTargetPoint();
|
|
221423
|
-
const lensAngle =
|
|
221424
|
-
if (
|
|
221701
|
+
const lensAngle = _ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkCameraAngle;
|
|
221702
|
+
if (_ViewStatus__WEBPACK_IMPORTED_MODULE_14__.ViewStatus.Success !== view.lookAt({ eyePoint, targetPoint, upVector: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d.unitZ(), lensAngle }))
|
|
221425
221703
|
return;
|
|
221426
221704
|
vp.synchWithView({ animateFrustumChange: true });
|
|
221427
221705
|
}
|
|
@@ -221436,7 +221714,7 @@ class SetupCameraTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_17__.Primi
|
|
|
221436
221714
|
_cameraHeightProperty;
|
|
221437
221715
|
get cameraHeightProperty() {
|
|
221438
221716
|
if (!this._cameraHeightProperty)
|
|
221439
|
-
this._cameraHeightProperty = new _itwin_appui_abstract__WEBPACK_IMPORTED_MODULE_3__.DialogProperty((0,
|
|
221717
|
+
this._cameraHeightProperty = new _itwin_appui_abstract__WEBPACK_IMPORTED_MODULE_3__.DialogProperty((0,_properties_FormattedQuantityDescription__WEBPACK_IMPORTED_MODULE_7__.createQuantityDescription)({
|
|
221440
221718
|
name: "cameraHeight",
|
|
221441
221719
|
displayLabel: ViewTool.translate("SetupCamera.Labels.CameraHeight"),
|
|
221442
221720
|
kindOfQuantityName: "DefaultToolsUnits.LENGTH",
|
|
@@ -221457,7 +221735,7 @@ class SetupCameraTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_17__.Primi
|
|
|
221457
221735
|
_targetHeightProperty;
|
|
221458
221736
|
get targetHeightProperty() {
|
|
221459
221737
|
if (!this._targetHeightProperty)
|
|
221460
|
-
this._targetHeightProperty = new _itwin_appui_abstract__WEBPACK_IMPORTED_MODULE_3__.DialogProperty((0,
|
|
221738
|
+
this._targetHeightProperty = new _itwin_appui_abstract__WEBPACK_IMPORTED_MODULE_3__.DialogProperty((0,_properties_FormattedQuantityDescription__WEBPACK_IMPORTED_MODULE_7__.createQuantityDescription)({
|
|
221461
221739
|
name: "targetHeight",
|
|
221462
221740
|
displayLabel: ViewTool.translate("SetupCamera.Labels.TargetHeight"),
|
|
221463
221741
|
kindOfQuantityName: "DefaultToolsUnits.LENGTH",
|
|
@@ -221490,7 +221768,7 @@ class SetupCameraTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_17__.Primi
|
|
|
221490
221768
|
/** A tool that sets a walk tool starting position by a floor point and look direction. This is a PrimitiveTool and not a ViewTool to allow the view to be panned, zoomed, and rotated while defining the points.
|
|
221491
221769
|
* @public
|
|
221492
221770
|
*/
|
|
221493
|
-
class SetupWalkCameraTool extends
|
|
221771
|
+
class SetupWalkCameraTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_16__.PrimitiveTool {
|
|
221494
221772
|
static toolId = "View.SetupWalkCamera";
|
|
221495
221773
|
static iconSpec = "icon-camera-location";
|
|
221496
221774
|
viewport;
|
|
@@ -221506,7 +221784,7 @@ class SetupWalkCameraTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_17__.P
|
|
|
221506
221784
|
}
|
|
221507
221785
|
async onUnsuspend() { this.provideToolAssistance(); }
|
|
221508
221786
|
setupAndPromptForNextAction() {
|
|
221509
|
-
|
|
221787
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuSnap.enableSnap(true);
|
|
221510
221788
|
this.provideToolAssistance();
|
|
221511
221789
|
}
|
|
221512
221790
|
async onResetButtonUp(_ev) {
|
|
@@ -221514,46 +221792,46 @@ class SetupWalkCameraTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_17__.P
|
|
|
221514
221792
|
await this.onReinitialize();
|
|
221515
221793
|
else
|
|
221516
221794
|
await this.exitTool();
|
|
221517
|
-
return
|
|
221795
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes;
|
|
221518
221796
|
}
|
|
221519
221797
|
provideToolAssistance() {
|
|
221520
|
-
const mainInstruction =
|
|
221798
|
+
const mainInstruction = _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(this.iconSpec, ViewTool.translate(this._haveEyePt ? "SetupWalkCamera.Prompts.NextPoint" : "SetupWalkCamera.Prompts.FirstPoint"));
|
|
221521
221799
|
const mouseInstructions = [];
|
|
221522
221800
|
const touchInstructions = [];
|
|
221523
|
-
const acceptMsg =
|
|
221524
|
-
const rejectMsg =
|
|
221525
|
-
if (!
|
|
221526
|
-
touchInstructions.push(
|
|
221527
|
-
mouseInstructions.push(
|
|
221528
|
-
touchInstructions.push(
|
|
221529
|
-
mouseInstructions.push(
|
|
221801
|
+
const acceptMsg = _Tool__WEBPACK_IMPORTED_MODULE_17__.CoreTools.translate("ElementSet.Inputs.AcceptPoint");
|
|
221802
|
+
const rejectMsg = _Tool__WEBPACK_IMPORTED_MODULE_17__.CoreTools.translate(this._haveEyePt ? "ElementSet.Inputs.Restart" : "ElementSet.Inputs.Exit");
|
|
221803
|
+
if (!_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createTouchCursorInstructions(touchInstructions))
|
|
221804
|
+
touchInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.OneTouchTap, acceptMsg, false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Touch));
|
|
221805
|
+
mouseInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.LeftClick, acceptMsg, false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Mouse));
|
|
221806
|
+
touchInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.TwoTouchTap, rejectMsg, false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Touch));
|
|
221807
|
+
mouseInstructions.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstruction(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceImage.RightClick, rejectMsg, false, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistanceInputMethod.Mouse));
|
|
221530
221808
|
const sections = [];
|
|
221531
|
-
sections.push(
|
|
221532
|
-
sections.push(
|
|
221533
|
-
const instructions =
|
|
221534
|
-
|
|
221809
|
+
sections.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createSection(mouseInstructions, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.inputsLabel));
|
|
221810
|
+
sections.push(_ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createSection(touchInstructions, _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.inputsLabel));
|
|
221811
|
+
const instructions = _ToolAssistance__WEBPACK_IMPORTED_MODULE_18__.ToolAssistance.createInstructions(mainInstruction, sections);
|
|
221812
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.notifications.setToolAssistance(instructions);
|
|
221535
221813
|
}
|
|
221536
221814
|
async onRestartTool() {
|
|
221537
221815
|
const tool = new SetupWalkCameraTool();
|
|
221538
221816
|
if (!await tool.run())
|
|
221539
221817
|
return this.exitTool();
|
|
221540
221818
|
}
|
|
221541
|
-
getAdjustedEyePoint() { return this._eyePtWorld.plusScaled(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d.unitZ(),
|
|
221819
|
+
getAdjustedEyePoint() { return this._eyePtWorld.plusScaled(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d.unitZ(), _ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkEyeHeight); }
|
|
221542
221820
|
getAdjustedTargetPoint() { return _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Point3d.create(this._targetPtWorld.x, this._targetPtWorld.y, this.getAdjustedEyePoint().z); }
|
|
221543
221821
|
async onDataButtonDown(ev) {
|
|
221544
221822
|
if (undefined === ev.viewport) {
|
|
221545
|
-
return
|
|
221823
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes;
|
|
221546
221824
|
}
|
|
221547
221825
|
else if (undefined === this.viewport) {
|
|
221548
221826
|
if (!ev.viewport.view.allow3dManipulations())
|
|
221549
|
-
return
|
|
221827
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes;
|
|
221550
221828
|
this.viewport = ev.viewport;
|
|
221551
221829
|
}
|
|
221552
221830
|
else if (this.viewport.view.iModel !== ev.viewport.view.iModel) {
|
|
221553
221831
|
if (this._haveEyePt)
|
|
221554
|
-
return
|
|
221832
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes;
|
|
221555
221833
|
this.viewport = ev.viewport;
|
|
221556
|
-
return
|
|
221834
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes;
|
|
221557
221835
|
}
|
|
221558
221836
|
if (this._haveEyePt) {
|
|
221559
221837
|
this._targetPtWorld.setFrom(ev.point);
|
|
@@ -221566,13 +221844,13 @@ class SetupWalkCameraTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_17__.P
|
|
|
221566
221844
|
this._haveEyePt = true;
|
|
221567
221845
|
this.setupAndPromptForNextAction();
|
|
221568
221846
|
}
|
|
221569
|
-
return
|
|
221847
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_17__.EventHandled.Yes;
|
|
221570
221848
|
}
|
|
221571
221849
|
async onMouseMotion(ev) {
|
|
221572
221850
|
if (!this._haveEyePt)
|
|
221573
221851
|
return;
|
|
221574
221852
|
this._targetPtWorld.setFrom(ev.point);
|
|
221575
|
-
|
|
221853
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.viewManager.invalidateDecorationsAllViews();
|
|
221576
221854
|
}
|
|
221577
221855
|
static getFigurePoints() {
|
|
221578
221856
|
const figurePts = [];
|
|
@@ -221627,17 +221905,17 @@ class SetupWalkCameraTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_17__.P
|
|
|
221627
221905
|
if (undefined === transform)
|
|
221628
221906
|
return;
|
|
221629
221907
|
const figurePts = this.getFigurePoints();
|
|
221630
|
-
const color =
|
|
221908
|
+
const color = _EditManipulator__WEBPACK_IMPORTED_MODULE_15__.EditManipulator.HandleUtils.adjustForBackgroundColor(_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.ColorDef.black, vp);
|
|
221631
221909
|
const fill = _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.ColorDef.from(255, 245, 225, 100);
|
|
221632
|
-
const builderShadow = context.createGraphicBuilder(
|
|
221910
|
+
const builderShadow = context.createGraphicBuilder(_common_render_GraphicType__WEBPACK_IMPORTED_MODULE_20__.GraphicType.WorldOverlay);
|
|
221633
221911
|
builderShadow.setSymbology(color, _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.ColorDef.black.withAlpha(30), 1 /* ViewHandleWeight.Thin */);
|
|
221634
221912
|
builderShadow.addArc(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Arc3d.createXY(groundPt, eyeHeight * 0.22), true, true);
|
|
221635
221913
|
context.addDecorationFromBuilder(builderShadow);
|
|
221636
|
-
const builderHid = context.createGraphicBuilder(
|
|
221914
|
+
const builderHid = context.createGraphicBuilder(_common_render_GraphicType__WEBPACK_IMPORTED_MODULE_20__.GraphicType.WorldDecoration, transform);
|
|
221637
221915
|
builderHid.setSymbology(color, fill, 1 /* ViewHandleWeight.Thin */);
|
|
221638
221916
|
builderHid.addShape(figurePts); // Copies points...
|
|
221639
221917
|
context.addDecorationFromBuilder(builderHid);
|
|
221640
|
-
const builderVis = context.createGraphicBuilder(
|
|
221918
|
+
const builderVis = context.createGraphicBuilder(_common_render_GraphicType__WEBPACK_IMPORTED_MODULE_20__.GraphicType.WorldOverlay, transform);
|
|
221641
221919
|
builderVis.setSymbology(color, color, 2 /* ViewHandleWeight.Normal */);
|
|
221642
221920
|
builderVis.addLineString(figurePts); // Owns points...
|
|
221643
221921
|
context.addDecorationFromBuilder(builderVis);
|
|
@@ -221645,7 +221923,7 @@ class SetupWalkCameraTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_17__.P
|
|
|
221645
221923
|
decorate(context) {
|
|
221646
221924
|
if (!this._haveEyePt || undefined === this.viewport)
|
|
221647
221925
|
return;
|
|
221648
|
-
SetupWalkCameraTool.drawFigure(context, this.viewport, this._eyePtWorld,
|
|
221926
|
+
SetupWalkCameraTool.drawFigure(context, this.viewport, this._eyePtWorld, _ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkEyeHeight);
|
|
221649
221927
|
SetupCameraTool.drawCameraFrustum(context, this.viewport, this.getAdjustedEyePoint(), this.getAdjustedTargetPoint(), this._eyePtWorld, this._targetPtWorld);
|
|
221650
221928
|
}
|
|
221651
221929
|
decorateSuspended(context) { this.decorate(context); }
|
|
@@ -221658,8 +221936,8 @@ class SetupWalkCameraTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_17__.P
|
|
|
221658
221936
|
return;
|
|
221659
221937
|
const eyePoint = this.getAdjustedEyePoint();
|
|
221660
221938
|
const targetPoint = this.getAdjustedTargetPoint();
|
|
221661
|
-
const lensAngle =
|
|
221662
|
-
if (
|
|
221939
|
+
const lensAngle = _ToolSettings__WEBPACK_IMPORTED_MODULE_19__.ToolSettings.walkCameraAngle;
|
|
221940
|
+
if (_ViewStatus__WEBPACK_IMPORTED_MODULE_14__.ViewStatus.Success !== view.lookAt({ eyePoint, targetPoint, upVector: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d.unitZ(), lensAngle }))
|
|
221663
221941
|
return;
|
|
221664
221942
|
vp.synchWithView({ animateFrustumChange: true });
|
|
221665
221943
|
}
|
|
@@ -239014,7 +239292,7 @@ class CurveFactory {
|
|
|
239014
239292
|
return undefined;
|
|
239015
239293
|
}
|
|
239016
239294
|
/**
|
|
239017
|
-
* Construct a sequence of alternating lines and arcs with
|
|
239295
|
+
* Construct a sequence of alternating lines and arcs with each arc creating a smooth transition between consecutive edges.
|
|
239018
239296
|
* * If the radius parameter is a number, that radius is used throughout.
|
|
239019
239297
|
* * If the radius parameter is an array of numbers, `radius[i]` is applied at `point[i]`.
|
|
239020
239298
|
* * A zero radius for any point indicates to leave the as a simple corner.
|
|
@@ -239027,20 +239305,18 @@ class CurveFactory {
|
|
|
239027
239305
|
return this.createFilletsInLineString(new _geometry3d_Point3dArrayCarrier__WEBPACK_IMPORTED_MODULE_4__.Point3dArrayCarrier(points), radius, allowCuspOrOptions);
|
|
239028
239306
|
if (points instanceof _LineString3d__WEBPACK_IMPORTED_MODULE_5__.LineString3d)
|
|
239029
239307
|
return this.createFilletsInLineString(points.packedPoints, radius, allowCuspOrOptions);
|
|
239030
|
-
|
|
239031
|
-
|
|
239032
|
-
|
|
239033
|
-
|
|
239034
|
-
|
|
239035
|
-
|
|
239036
|
-
allowCusp = allowCuspOrOptions.allowCusp ?? true;
|
|
239037
|
-
filletClosure = allowCuspOrOptions.filletClosure ?? false;
|
|
239038
|
-
}
|
|
239308
|
+
const haveBoolean = typeof allowCuspOrOptions === "boolean";
|
|
239309
|
+
const allowCusp = haveBoolean ? allowCuspOrOptions : allowCuspOrOptions.allowCusp ?? true;
|
|
239310
|
+
const filletClosure = haveBoolean ? false : allowCuspOrOptions.filletClosure ?? false;
|
|
239311
|
+
const closureTolerance = haveBoolean ? _Geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.smallMetricDistance : allowCuspOrOptions.closureTolerance ?? _Geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.smallMetricDistance;
|
|
239312
|
+
const cuspTolerance = haveBoolean ? _Geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.smallMetricDistance : allowCuspOrOptions.cuspTolerance ?? _Geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.smallMetricDistance;
|
|
239313
|
+
const cuspSegments = haveBoolean ? true : allowCuspOrOptions.cuspSegments ?? true;
|
|
239039
239314
|
let n = points.length;
|
|
239040
|
-
if (filletClosure && points.almostEqualIndexIndex(0, n - 1))
|
|
239315
|
+
if (filletClosure && points.almostEqualIndexIndex(0, n - 1, closureTolerance))
|
|
239041
239316
|
n--; // ignore closure point
|
|
239042
239317
|
if (n <= 1)
|
|
239043
239318
|
return undefined;
|
|
239319
|
+
// create blend data at each vertex
|
|
239044
239320
|
const pointA = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_6__.Point3d.create();
|
|
239045
239321
|
const pointB = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_6__.Point3d.create();
|
|
239046
239322
|
const pointC = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_6__.Point3d.create();
|
|
@@ -239061,17 +239337,41 @@ class CurveFactory {
|
|
|
239061
239337
|
}
|
|
239062
239338
|
}
|
|
239063
239339
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(blendArray.length === n);
|
|
239064
|
-
|
|
239065
|
-
|
|
239066
|
-
|
|
239067
|
-
|
|
239068
|
-
|
|
239069
|
-
|
|
239070
|
-
|
|
239071
|
-
|
|
239072
|
-
|
|
239073
|
-
|
|
239074
|
-
|
|
239340
|
+
// For each edge, look at its 0|1|2 fillets to determine whether/which to suppress.
|
|
239341
|
+
// When a cusp is generated by 2 fillets, use this HEURISTIC:
|
|
239342
|
+
// * Prefer to keep the fillet that results in the smaller allowable cusp segment.
|
|
239343
|
+
// * If by itself, each fillet results in a cusp segment of equal allowable length (possibly zero), keep the first.
|
|
239344
|
+
const edgeHasCusp = (fillet0, fillet1) => fillet0.fraction12 + fillet1.fraction10 > 1;
|
|
239345
|
+
const cuspSegmentLength = (checkedEdgeIndex, fillet0, fillet1) => points.distanceUncheckedIndexIndex(checkedEdgeIndex, points.cyclicIndex(checkedEdgeIndex + 1)) * (fillet0.fraction12 + fillet1.fraction10 - 1);
|
|
239346
|
+
const filletOvershootsEdge = (fillet, filletIndex) => filletIndex === 0 ? fillet.fraction12 > 1 : fillet.fraction10 > 1;
|
|
239347
|
+
const cuspNeedsRemoval = (checkedEdgeIndex, fillet0, fillet1) => edgeHasCusp(fillet0, fillet1) && (!allowCusp || cuspSegmentLength(checkedEdgeIndex, fillet0, fillet1) > cuspTolerance);
|
|
239348
|
+
const removeFillet = (fillet) => { fillet.fraction10 = fillet.fraction12 = 0; fillet.arc = undefined; };
|
|
239349
|
+
for (let iEdge = 0; iEdge < (filletClosure ? n : n - 1); iEdge++) {
|
|
239350
|
+
const fillet0 = blendArray[iEdge];
|
|
239351
|
+
const fillet1 = blendArray[_Geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.modulo(iEdge + 1, n)];
|
|
239352
|
+
if (cuspNeedsRemoval(iEdge, fillet0, fillet1)) {
|
|
239353
|
+
const fillet0OvershootsEdge = filletOvershootsEdge(fillet0, 0);
|
|
239354
|
+
const fillet1OvershootsEdge = filletOvershootsEdge(fillet1, 1);
|
|
239355
|
+
// prefer to remove just one fillet
|
|
239356
|
+
if (fillet0OvershootsEdge && !fillet1OvershootsEdge) {
|
|
239357
|
+
removeFillet(fillet0);
|
|
239358
|
+
}
|
|
239359
|
+
else if (!fillet0OvershootsEdge && fillet1OvershootsEdge) {
|
|
239360
|
+
removeFillet(fillet1);
|
|
239361
|
+
}
|
|
239362
|
+
else if (!fillet0OvershootsEdge && !fillet1OvershootsEdge) {
|
|
239363
|
+
removeFillet(fillet1); // fillets intersect (arbitrary choice)
|
|
239364
|
+
}
|
|
239365
|
+
else if (fillet1.fraction10 < fillet0.fraction12) {
|
|
239366
|
+
removeFillet(fillet0); // fillet1 yields smaller cusp segment
|
|
239367
|
+
}
|
|
239368
|
+
else {
|
|
239369
|
+
removeFillet(fillet1); // fillet0 yields smaller cusp segment, or they are equal (arbitrary choice)
|
|
239370
|
+
}
|
|
239371
|
+
// re-evaluate the edge after removal of a fillet; if a disallowed cusp persists, remove the other fillet
|
|
239372
|
+
if (cuspNeedsRemoval(iEdge, fillet0, fillet1)) {
|
|
239373
|
+
removeFillet(fillet0);
|
|
239374
|
+
removeFillet(fillet1);
|
|
239075
239375
|
}
|
|
239076
239376
|
}
|
|
239077
239377
|
}
|
|
@@ -239081,7 +239381,7 @@ class CurveFactory {
|
|
|
239081
239381
|
path.tryAddChild(b0.arc);
|
|
239082
239382
|
if (i + 1 < n || filletClosure) {
|
|
239083
239383
|
const b1 = blendArray[_Geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.modulo(i + 1, n)];
|
|
239084
|
-
this.addPartialSegment(path,
|
|
239384
|
+
this.addPartialSegment(path, cuspSegments, b0.point, b1.point, b0.fraction12, 1 - b1.fraction10);
|
|
239085
239385
|
}
|
|
239086
239386
|
}
|
|
239087
239387
|
return path;
|
|
@@ -247315,13 +247615,13 @@ class RegionOps {
|
|
|
247315
247615
|
}
|
|
247316
247616
|
/**
|
|
247317
247617
|
* Look for and simplify:
|
|
247318
|
-
* * Contiguous
|
|
247618
|
+
* * Contiguous [[LineSegment3d]] and [[LineString3d]] objects:
|
|
247319
247619
|
* * collect all points
|
|
247320
247620
|
* * eliminate duplicated points
|
|
247321
247621
|
* * eliminate points colinear with surrounding points
|
|
247322
|
-
*
|
|
247622
|
+
* * Contiguous concentric circular or elliptic [[Arc3d]] objects:
|
|
247323
247623
|
* * combine angular ranges
|
|
247324
|
-
* * This function can be used to compress adjacent
|
|
247624
|
+
* * This function can be used to compress adjacent [[LineSegment3d]]s into a [[LineString3d]].
|
|
247325
247625
|
* @param curves Path or loop (or larger collection containing paths and loops) to be simplified
|
|
247326
247626
|
* @param options options for tolerance and selective simplification.
|
|
247327
247627
|
*/
|
|
@@ -267610,7 +267910,7 @@ class IndexedXYZCollection {
|
|
|
267610
267910
|
}
|
|
267611
267911
|
/** Adjust index into range by modulo with the length. */
|
|
267612
267912
|
cyclicIndex(i) {
|
|
267613
|
-
return (i
|
|
267913
|
+
return _Geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.modulo(i, this.length);
|
|
267614
267914
|
}
|
|
267615
267915
|
/** Return the range of the points. */
|
|
267616
267916
|
getRange(transform, result) {
|
|
@@ -348207,7 +348507,7 @@ class TestContext {
|
|
|
348207
348507
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
348208
348508
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
348209
348509
|
await core_frontend_1.NoRenderApp.startup({
|
|
348210
|
-
applicationVersion: "5.11.0-dev.
|
|
348510
|
+
applicationVersion: "5.11.0-dev.14",
|
|
348211
348511
|
applicationId: this.settings.gprid,
|
|
348212
348512
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.serviceAuthToken),
|
|
348213
348513
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -375158,7 +375458,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
375158
375458
|
/***/ ((module) => {
|
|
375159
375459
|
|
|
375160
375460
|
"use strict";
|
|
375161
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.11.0-dev.
|
|
375461
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.11.0-dev.14","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.10","@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/node":"~20.17.0","@types/sinon":"^17.0.2","@vitest/browser-playwright":"^4.1.8","@vitest/coverage-v8":"^4.1.8","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":"^4.1.8","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"}}');
|
|
375162
375462
|
|
|
375163
375463
|
/***/ }),
|
|
375164
375464
|
|