@itwin/rpcinterface-full-stack-tests 3.2.0-dev.72 → 3.3.0-dev.0
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 +459 -306
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +15 -15
|
@@ -23401,9 +23401,9 @@ Backend.type = 'backend';
|
|
|
23401
23401
|
|
|
23402
23402
|
/***/ }),
|
|
23403
23403
|
|
|
23404
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next@21.8.
|
|
23404
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next@21.8.0/node_modules/i18next/dist/esm/i18next.js":
|
|
23405
23405
|
/*!************************************************************************************************************!*\
|
|
23406
|
-
!*** D:/vsts_a/1/s/common/temp/node_modules/.pnpm/i18next@21.8.
|
|
23406
|
+
!*** D:/vsts_a/1/s/common/temp/node_modules/.pnpm/i18next@21.8.0/node_modules/i18next/dist/esm/i18next.js ***!
|
|
23407
23407
|
\************************************************************************************************************/
|
|
23408
23408
|
/*! exports provided: default, changeLanguage, createInstance, exists, getFixedT, hasLoadedNamespace, init, loadLanguages, loadNamespaces, loadResources, reloadResources, setDefaultNamespace, t, use */
|
|
23409
23409
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -25327,13 +25327,13 @@ var Connector = function (_EventEmitter) {
|
|
|
25327
25327
|
if (!options.reload && _this2.store.hasResourceBundle(lng, ns)) {
|
|
25328
25328
|
_this2.state[name] = 2;
|
|
25329
25329
|
} else if (_this2.state[name] < 0) ; else if (_this2.state[name] === 1) {
|
|
25330
|
-
if (pending[name]
|
|
25330
|
+
if (pending[name] !== undefined) pending[name] = true;
|
|
25331
25331
|
} else {
|
|
25332
25332
|
_this2.state[name] = 1;
|
|
25333
25333
|
hasAllNamespaces = false;
|
|
25334
|
-
|
|
25335
|
-
|
|
25336
|
-
|
|
25334
|
+
pending[name] = true;
|
|
25335
|
+
toLoad[name] = true;
|
|
25336
|
+
toLoadNamespaces[ns] = true;
|
|
25337
25337
|
}
|
|
25338
25338
|
});
|
|
25339
25339
|
if (!hasAllNamespaces) toLoadLanguages[lng] = true;
|
|
@@ -53343,6 +53343,7 @@ var HiddenLine;
|
|
|
53343
53343
|
this.hidden = Style.fromJSON(json.hidden, true);
|
|
53344
53344
|
this.transparencyThreshold = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asDouble(json.transThreshold, 1.0);
|
|
53345
53345
|
}
|
|
53346
|
+
/** An alias for [[transparencyThreshold]]. */
|
|
53346
53347
|
get transThreshold() { return this.transparencyThreshold; }
|
|
53347
53348
|
/** Create a DisplaySettings from its JSON representation. */
|
|
53348
53349
|
static fromJSON(json) {
|
|
@@ -53354,11 +53355,12 @@ var HiddenLine;
|
|
|
53354
53355
|
return new Settings(json);
|
|
53355
53356
|
}
|
|
53356
53357
|
toJSON() {
|
|
53357
|
-
|
|
53358
|
+
const props = {
|
|
53358
53359
|
visible: this.visible.toJSON(),
|
|
53359
53360
|
hidden: this.hidden.toJSON(),
|
|
53360
53361
|
transThreshold: this.transThreshold,
|
|
53361
53362
|
};
|
|
53363
|
+
return props;
|
|
53362
53364
|
}
|
|
53363
53365
|
/** Create a Settings equivalent to this one with the exception of those properties defined in the supplied JSON. */
|
|
53364
53366
|
override(props) {
|
|
@@ -53374,7 +53376,9 @@ var HiddenLine;
|
|
|
53374
53376
|
equals(other) {
|
|
53375
53377
|
if (this === other)
|
|
53376
53378
|
return true;
|
|
53377
|
-
return this.visible.equals(other.visible)
|
|
53379
|
+
return this.visible.equals(other.visible)
|
|
53380
|
+
&& this.hidden.equals(other.hidden)
|
|
53381
|
+
&& this.transparencyThreshold === other.transparencyThreshold;
|
|
53378
53382
|
}
|
|
53379
53383
|
get matchesDefaults() {
|
|
53380
53384
|
return this.equals(Settings.defaults);
|
|
@@ -60906,7 +60910,7 @@ WhiteOnWhiteReversalSettings._ignore = new WhiteOnWhiteReversalSettings(false);
|
|
|
60906
60910
|
/*!********************************************************!*\
|
|
60907
60911
|
!*** D:/vsts_a/1/s/core/common/lib/esm/core-common.js ***!
|
|
60908
60912
|
\********************************************************/
|
|
60909
|
-
/*! exports provided: AmbientOcclusion, AnalysisStyleDisplacement, AnalysisStyleThematic, AnalysisStyle, BackgroundMapType, BackgroundMapProvider, GlobeMode, BackgroundMapSettings, Base64EncodedString, BriefcaseIdValue, SyncMode, DomainOptions, ProfileOptions, SchemaState, Camera, TypeOfChange, ChangesetType, CutStyle, ClipStyle, CloudStorageProvider, CloudStorageContainerUrl, CloudStorageCache, CloudStorageTileCache, Code, BisCodeSpec, CodeScopeSpec, CodeSpec, ColorByName, ColorDef, CommonLoggerCategory, RealityDataProvider, RealityDataFormat, RealityDataSourceKey, ContextRealityModelProps, ContextRealityModel, ContextRealityModels, MonochromeMode, DisplayStyleSettings, DisplayStyle3dSettings, ECSqlValueType, ChangeOpCode, ChangedValueState, ECSqlSystemProperty, ECJsNames, RelatedElement, TypeDefinition, isPlacement2dProps, isPlacement3dProps, SectionType, ExternalSourceAttachmentRole, Rank, FeatureOverrideType, PrimitiveTypeCode, PropertyMetaData, EntityMetaData, Environment, FeatureGates, NonUniformColor, ColorIndex, FeatureIndexType, FeatureIndex, FeatureAppearance, FeatureOverrides, FeatureAppearanceProvider, Feature, BatchType, FeatureTable, PackedFeatureTable, FontType, FontMap, Npc, NpcCorners, NpcCenter, Frustum, GeoCoordStatus, mapToGeoServiceStatus, Helmert2DWithZOffset, AdditionalTransform, AreaPattern, BoundingSphere, Cartographic, CartographicRange, HorizontalCRSExtent, HorizontalCRS, VerticalCRS, GeographicCRS, ElementGeometryOpcode, BRepGeometryOperation, ElementGeometry, FrustumPlanes, XyzRotation, GeocentricTransform, PositionalVectorTransform, GridFileDefinition, GridFileTransform, GeodeticTransform, GeodeticTransformPath, GeodeticDatum, GeodeticEllipsoid, BRepEntity, GeometryStreamFlags, GeometryStreamBuilder, GeometryStreamIterator, ImageGraphicCorners, ImageGraphic, LineStyle, Placement3d, Placement2d, AffineTransform, Projection, Carto2DDegrees, TextString, FillDisplay, BackgroundFill, GeometryClass, GeometryParams, GeometrySummaryVerbosity, Gradient, FillFlags, GraphicParams, GroundPlane, HiddenLine, Hilite, HSLColor, HSVConstants, HSVColor, ImageBufferFormat, ImageBuffer, isPowerOfTwo, nextHighestPowerOfTwo, ImageSourceFormat, isValidImageSourceFormat, ImageSource, EcefLocation, IModel, BentleyStatus, BentleyError, IModelStatus, BriefcaseStatus, DbResult, AuthStatus, RepositoryStatus, ChangeSetStatus, RpcInterfaceStatus, IModelError, ServerError, ServerTimeoutError, BackendError, ChannelConstraintError, NoContentError, IModelVersion, iTwinChannel, IpcWebSocketMessageType, IpcWebSocketMessage, IpcWebSocket, IpcWebSocketFrontend, IpcWebSocketBackend, IpcWebSocketTransport, IpcAppChannel, SolarLight, AmbientLight, HemisphereLights, FresnelSettings, LightSettings, LinePixels, EmptyLocalization, BaseLayerSettings, MapImagerySettings, MapSubLayerSettings, MapLayerSettings, ImageMapLayerSettings, ModelMapLayerSettings, BaseMapLayerSettings, MassPropertiesOperation, TextureMapUnits, ModelClipGroup, ModelClipGroups, nativeAppChannel, nativeAppNotify, InternetConnectivityStatus, OverriddenBy, OctEncodedNormal, OctEncodedNormalPair, QueryRowFormat, QueryOptionsBuilder, BlobOptionsBuilder, QueryBinder, DbRequestKind, DbResponseKind, DbResponseStatus, DbValueFormat, DbQueryError, PropertyMetaDataMap, ECSqlReader, PlanarClipMaskMode, PlanarClipMaskPriority, PlanarClipMaskSettings, ElementGeometryChange, ModelGeometryChanges, PlanProjectionSettings, Quantization, QParams2d, QPoint2d, QPoint2dList, QParams3d, QPoint3d, QPoint3dList, DefaultSupportedTypes, PolylineTypeFlags, PolylineFlags, PolylineData, MeshPolyline, MeshPolylineList, MeshEdge, MeshEdges, EdgeArgs, SilhouetteEdgeArgs, PolylineEdgeArgs, RenderMaterial, RenderSchedule, RenderTexture, RgbColor, RpcRoutingMap, RpcConfiguration, RpcDefaultConfiguration, RpcDirectProtocol, RpcDirectRequest, DevToolsStatsOptions, DevToolsRpcInterface, IModelNotFoundResponse, IModelReadRpcInterface, IModelTileRpcInterface, SnapshotIModelRpcInterface, TestRpcManager, WipRpcInterface, RpcInterface, RpcManager, SkyBoxImageType, SkyGradient, SkyBox, SkySphere, SkyCube, calculateSolarAngles, calculateSolarDirection, calculateSolarDirectionFromAngles, calculateSunriseOrSunset, SolarShadowSettings, SpatialClassifierInsideDisplay, SpatialClassifierOutsideDisplay, SpatialClassifierFlags, SpatialClassifier, SpatialClassifiers, SubCategoryAppearance, SubCategoryOverride, TerrainHeightOriginMode, TerrainSettings, TextureMapping, TextureTransparency, ThematicGradientMode, ThematicGradientColorScheme, ThematicGradientSettings, ThematicDisplaySensor, ThematicDisplaySensorSettings, ThematicDisplayMode, ThematicDisplay, TileContentSource, Tweens, Tween, Easing, Interpolation, TxnAction, GridOrientationType, ViewDetails, ViewDetails3d, RenderMode, ViewFlags, RpcResponseCacheControl, RpcProtocolEvent, RpcRequestStatus, RpcRequestEvent, RpcContentType, RpcEndpoint, WEB_RPC_CONSTANTS, RpcControlResponse, RpcPendingResponse, RpcNotFoundResponse, RpcControlChannel, RpcInvocation, MarshalingBinaryMarker, RpcSerializedValue, RpcMarshaling, RpcOperationPolicy, RpcOperation, RpcPendingQueue, RpcRequestFulfillment, RpcProtocolVersion, RpcProtocol, REGISTRY, OPERATION, POLICY, INSTANCE, CURRENT_REQUEST, CURRENT_INVOCATION, RpcRegistry, ResponseLike, RpcRequest, initializeRpcRequest, RpcRoutingToken, RpcPushTransport, RpcPushService, RpcPushChannel, RpcPushSubscription, RpcPushConnection, BentleyCloudRpcConfiguration, BentleyCloudRpcManager, BentleyCloudRpcProtocol, RpcOpenAPIDescription, RpcMultipart, WebAppRpcProtocol, WebAppRpcRequest, B3dmHeader, CompositeTileHeader, GltfVersions, GltfV2ChunkTypes, GlbHeader, I3dmHeader, ImdlFlags, CurrentImdlVersion, ImdlHeader, FeatureTableHeader, PntsHeader, TileFormat, isKnownTileFormat, tileFormatFromNumber, TileReadStatus, TileReadError, TileHeader, nextPoint3d64FromByteStream, TileOptions, parseTileTreeIdAndContentId, defaultTileOptions, getMaximumMajorTileFormatVersion, TreeFlags,
|
|
60913
|
+
/*! exports provided: AmbientOcclusion, AnalysisStyleDisplacement, AnalysisStyleThematic, AnalysisStyle, BackgroundMapType, BackgroundMapProvider, GlobeMode, BackgroundMapSettings, Base64EncodedString, BriefcaseIdValue, SyncMode, DomainOptions, ProfileOptions, SchemaState, Camera, TypeOfChange, ChangesetType, CutStyle, ClipStyle, CloudStorageProvider, CloudStorageContainerUrl, CloudStorageCache, CloudStorageTileCache, Code, BisCodeSpec, CodeScopeSpec, CodeSpec, ColorByName, ColorDef, CommonLoggerCategory, RealityDataProvider, RealityDataFormat, RealityDataSourceKey, ContextRealityModelProps, ContextRealityModel, ContextRealityModels, MonochromeMode, DisplayStyleSettings, DisplayStyle3dSettings, ECSqlValueType, ChangeOpCode, ChangedValueState, ECSqlSystemProperty, ECJsNames, RelatedElement, TypeDefinition, isPlacement2dProps, isPlacement3dProps, SectionType, ExternalSourceAttachmentRole, Rank, FeatureOverrideType, PrimitiveTypeCode, PropertyMetaData, EntityMetaData, Environment, FeatureGates, NonUniformColor, ColorIndex, FeatureIndexType, FeatureIndex, FeatureAppearance, FeatureOverrides, FeatureAppearanceProvider, Feature, BatchType, FeatureTable, PackedFeatureTable, FontType, FontMap, Npc, NpcCorners, NpcCenter, Frustum, GeoCoordStatus, mapToGeoServiceStatus, Helmert2DWithZOffset, AdditionalTransform, AreaPattern, BoundingSphere, Cartographic, CartographicRange, HorizontalCRSExtent, HorizontalCRS, VerticalCRS, GeographicCRS, ElementGeometryOpcode, BRepGeometryOperation, ElementGeometry, FrustumPlanes, XyzRotation, GeocentricTransform, PositionalVectorTransform, GridFileDefinition, GridFileTransform, GeodeticTransform, GeodeticTransformPath, GeodeticDatum, GeodeticEllipsoid, BRepEntity, GeometryStreamFlags, GeometryStreamBuilder, GeometryStreamIterator, ImageGraphicCorners, ImageGraphic, LineStyle, Placement3d, Placement2d, AffineTransform, Projection, Carto2DDegrees, TextString, FillDisplay, BackgroundFill, GeometryClass, GeometryParams, GeometrySummaryVerbosity, Gradient, FillFlags, GraphicParams, GroundPlane, HiddenLine, Hilite, HSLColor, HSVConstants, HSVColor, ImageBufferFormat, ImageBuffer, isPowerOfTwo, nextHighestPowerOfTwo, ImageSourceFormat, isValidImageSourceFormat, ImageSource, EcefLocation, IModel, BentleyStatus, BentleyError, IModelStatus, BriefcaseStatus, DbResult, AuthStatus, RepositoryStatus, ChangeSetStatus, RpcInterfaceStatus, IModelError, ServerError, ServerTimeoutError, BackendError, ChannelConstraintError, NoContentError, IModelVersion, iTwinChannel, IpcWebSocketMessageType, IpcWebSocketMessage, IpcWebSocket, IpcWebSocketFrontend, IpcWebSocketBackend, IpcWebSocketTransport, IpcAppChannel, SolarLight, AmbientLight, HemisphereLights, FresnelSettings, LightSettings, LinePixels, EmptyLocalization, BaseLayerSettings, MapImagerySettings, MapSubLayerSettings, MapLayerSettings, ImageMapLayerSettings, ModelMapLayerSettings, BaseMapLayerSettings, MassPropertiesOperation, TextureMapUnits, ModelClipGroup, ModelClipGroups, nativeAppChannel, nativeAppNotify, InternetConnectivityStatus, OverriddenBy, OctEncodedNormal, OctEncodedNormalPair, QueryRowFormat, QueryOptionsBuilder, BlobOptionsBuilder, QueryBinder, DbRequestKind, DbResponseKind, DbResponseStatus, DbValueFormat, DbQueryError, PropertyMetaDataMap, ECSqlReader, PlanarClipMaskMode, PlanarClipMaskPriority, PlanarClipMaskSettings, ElementGeometryChange, ModelGeometryChanges, PlanProjectionSettings, Quantization, QParams2d, QPoint2d, QPoint2dList, QParams3d, QPoint3d, QPoint3dList, DefaultSupportedTypes, PolylineTypeFlags, PolylineFlags, PolylineData, MeshPolyline, MeshPolylineList, MeshEdge, MeshEdges, EdgeArgs, SilhouetteEdgeArgs, PolylineEdgeArgs, RenderMaterial, RenderSchedule, RenderTexture, RgbColor, RpcRoutingMap, RpcConfiguration, RpcDefaultConfiguration, RpcDirectProtocol, RpcDirectRequest, DevToolsStatsOptions, DevToolsRpcInterface, IModelNotFoundResponse, IModelReadRpcInterface, IModelTileRpcInterface, SnapshotIModelRpcInterface, TestRpcManager, WipRpcInterface, RpcInterface, RpcManager, SkyBoxImageType, SkyGradient, SkyBox, SkySphere, SkyCube, calculateSolarAngles, calculateSolarDirection, calculateSolarDirectionFromAngles, calculateSunriseOrSunset, SolarShadowSettings, SpatialClassifierInsideDisplay, SpatialClassifierOutsideDisplay, SpatialClassifierFlags, SpatialClassifier, SpatialClassifiers, SubCategoryAppearance, SubCategoryOverride, TerrainHeightOriginMode, TerrainSettings, TextureMapping, TextureTransparency, ThematicGradientMode, ThematicGradientColorScheme, ThematicGradientSettings, ThematicDisplaySensor, ThematicDisplaySensorSettings, ThematicDisplayMode, ThematicDisplay, TileContentSource, Tweens, Tween, Easing, Interpolation, TxnAction, GridOrientationType, ViewDetails, ViewDetails3d, RenderMode, ViewFlags, RpcResponseCacheControl, RpcProtocolEvent, RpcRequestStatus, RpcRequestEvent, RpcContentType, RpcEndpoint, WEB_RPC_CONSTANTS, RpcControlResponse, RpcPendingResponse, RpcNotFoundResponse, RpcControlChannel, RpcInvocation, MarshalingBinaryMarker, RpcSerializedValue, RpcMarshaling, RpcOperationPolicy, RpcOperation, RpcPendingQueue, RpcRequestFulfillment, RpcProtocolVersion, RpcProtocol, REGISTRY, OPERATION, POLICY, INSTANCE, CURRENT_REQUEST, CURRENT_INVOCATION, RpcRegistry, ResponseLike, RpcRequest, initializeRpcRequest, RpcRoutingToken, RpcPushTransport, RpcPushService, RpcPushChannel, RpcPushSubscription, RpcPushConnection, BentleyCloudRpcConfiguration, BentleyCloudRpcManager, BentleyCloudRpcProtocol, RpcOpenAPIDescription, RpcMultipart, WebAppRpcProtocol, WebAppRpcRequest, B3dmHeader, CompositeTileHeader, GltfVersions, GltfV2ChunkTypes, GlbHeader, I3dmHeader, ImdlFlags, CurrentImdlVersion, ImdlHeader, FeatureTableHeader, PntsHeader, TileFormat, isKnownTileFormat, tileFormatFromNumber, TileReadStatus, TileReadError, TileHeader, nextPoint3d64FromByteStream, TileOptions, parseTileTreeIdAndContentId, defaultTileOptions, getMaximumMajorTileFormatVersion, TreeFlags, iModelTileTreeIdToString, compareIModelTileTreeIds, ContentFlags, ContentIdProvider, bisectTileRange3d, bisectTileRange2d, computeChildTileRanges, computeChildTileProps, readTileContentDescription, computeTileChordTolerance, TileMetadataReader, WhiteOnWhiteReversalSettings */
|
|
60910
60914
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
60911
60915
|
|
|
60912
60916
|
"use strict";
|
|
@@ -61742,8 +61746,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
61742
61746
|
|
|
61743
61747
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TreeFlags", function() { return _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_144__["TreeFlags"]; });
|
|
61744
61748
|
|
|
61745
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "EdgeType", function() { return _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_144__["EdgeType"]; });
|
|
61746
|
-
|
|
61747
61749
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "iModelTileTreeIdToString", function() { return _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_144__["iModelTileTreeIdToString"]; });
|
|
61748
61750
|
|
|
61749
61751
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "compareIModelTileTreeIds", function() { return _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_144__["compareIModelTileTreeIds"]; });
|
|
@@ -75422,7 +75424,7 @@ function nextPoint3d64FromByteStream(stream, result) {
|
|
|
75422
75424
|
/*!**************************************************************!*\
|
|
75423
75425
|
!*** D:/vsts_a/1/s/core/common/lib/esm/tile/TileMetadata.js ***!
|
|
75424
75426
|
\**************************************************************/
|
|
75425
|
-
/*! exports provided: TileOptions, parseTileTreeIdAndContentId, defaultTileOptions, getMaximumMajorTileFormatVersion, TreeFlags,
|
|
75427
|
+
/*! exports provided: TileOptions, parseTileTreeIdAndContentId, defaultTileOptions, getMaximumMajorTileFormatVersion, TreeFlags, iModelTileTreeIdToString, compareIModelTileTreeIds, ContentFlags, ContentIdProvider, bisectTileRange3d, bisectTileRange2d, computeChildTileRanges, computeChildTileProps, readTileContentDescription, computeTileChordTolerance, TileMetadataReader */
|
|
75426
75428
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
75427
75429
|
|
|
75428
75430
|
"use strict";
|
|
@@ -75432,7 +75434,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
75432
75434
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "defaultTileOptions", function() { return defaultTileOptions; });
|
|
75433
75435
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getMaximumMajorTileFormatVersion", function() { return getMaximumMajorTileFormatVersion; });
|
|
75434
75436
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TreeFlags", function() { return TreeFlags; });
|
|
75435
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EdgeType", function() { return EdgeType; });
|
|
75436
75437
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "iModelTileTreeIdToString", function() { return iModelTileTreeIdToString; });
|
|
75437
75438
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "compareIModelTileTreeIds", function() { return compareIModelTileTreeIds; });
|
|
75438
75439
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ContentFlags", function() { return ContentFlags; });
|
|
@@ -75479,6 +75480,7 @@ var TileOptions;
|
|
|
75479
75480
|
function fromTreeIdAndContentId(treeId, contentId) {
|
|
75480
75481
|
const tree = treeFlagsAndFormatVersionFromId(treeId);
|
|
75481
75482
|
const contentFlags = contentFlagsFromId(contentId);
|
|
75483
|
+
const edgeOptions = edgeOptionsFromTreeId(treeId);
|
|
75482
75484
|
return {
|
|
75483
75485
|
maximumMajorTileFormatVersion: tree.version,
|
|
75484
75486
|
enableInstancing: 0 !== (contentFlags & ContentFlags.AllowInstancing),
|
|
@@ -75490,137 +75492,143 @@ var TileOptions;
|
|
|
75490
75492
|
useLargerTiles: 0 !== (tree.flags & TreeFlags.UseLargerTiles),
|
|
75491
75493
|
disableMagnification: false,
|
|
75492
75494
|
alwaysSubdivideIncompleteTiles: false,
|
|
75493
|
-
enableIndexedEdges:
|
|
75495
|
+
enableIndexedEdges: edgeOptions && edgeOptions.indexed,
|
|
75496
|
+
generateAllPolyfaceEdges: edgeOptions && edgeOptions.smooth,
|
|
75494
75497
|
};
|
|
75495
75498
|
}
|
|
75496
75499
|
TileOptions.fromTreeIdAndContentId = fromTreeIdAndContentId;
|
|
75497
75500
|
})(TileOptions || (TileOptions = {}));
|
|
75498
|
-
|
|
75499
|
-
|
|
75500
|
-
|
|
75501
|
-
|
|
75502
|
-
// Skip version and flags, they're handled by TileOptions.fromTreeIdAndContentId
|
|
75503
|
-
while (idx < treeId.length && treeId[idx] !== "-")
|
|
75504
|
-
idx++;
|
|
75505
|
-
idx++; // -
|
|
75506
|
-
if (idx >= treeId.length)
|
|
75507
|
-
throw new Error("Invalid tree Id");
|
|
75508
|
-
if (treeId[idx] === "C") {
|
|
75509
|
-
// PlanarClassifier or VolumeClassifier
|
|
75510
|
-
({ idx, type, expansion } = parseClassifier(idx, treeId, expansion));
|
|
75511
|
-
}
|
|
75512
|
-
else {
|
|
75513
|
-
type = _FeatureTable__WEBPACK_IMPORTED_MODULE_2__["BatchType"].Primary;
|
|
75514
|
-
}
|
|
75515
|
-
// Animation
|
|
75516
|
-
// eslint-disable-next-line prefer-const
|
|
75517
|
-
({ idx, animationId } = parseAnimation(idx, treeId, animationId));
|
|
75518
|
-
if (type === _FeatureTable__WEBPACK_IMPORTED_MODULE_2__["BatchType"].Primary) {
|
|
75519
|
-
({ idx, edges, sectionCut } = parsePrimary(idx, treeId, edges, sectionCut));
|
|
75520
|
-
}
|
|
75521
|
-
const modelId = treeId.substr(idx);
|
|
75522
|
-
if (!_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["Id64"].isId64(modelId))
|
|
75523
|
-
throw new Error("Invalid tree Id");
|
|
75524
|
-
const { flags: treeFlags } = treeFlagsAndFormatVersionFromId(treeId);
|
|
75525
|
-
const parsedTreeId = getTreeId(type, edges, sectionCut, animationId, expansion, (treeFlags & TreeFlags.EnforceDisplayPriority) !== 0 ? true : undefined);
|
|
75526
|
-
const options = TileOptions.fromTreeIdAndContentId(treeId, contentId);
|
|
75527
|
-
let parsedContentId;
|
|
75528
|
-
try {
|
|
75529
|
-
parsedContentId = ContentIdProvider.create(true, options).specFromId(contentId);
|
|
75530
|
-
}
|
|
75531
|
-
catch (e) {
|
|
75532
|
-
throw new Error("Invalid content Id");
|
|
75501
|
+
class Parser {
|
|
75502
|
+
constructor(input) {
|
|
75503
|
+
this.curPos = 0;
|
|
75504
|
+
this.input = input;
|
|
75533
75505
|
}
|
|
75534
|
-
|
|
75535
|
-
|
|
75536
|
-
|
|
75537
|
-
|
|
75538
|
-
|
|
75539
|
-
|
|
75540
|
-
|
|
75541
|
-
|
|
75542
|
-
|
|
75543
|
-
|
|
75544
|
-
|
|
75545
|
-
|
|
75546
|
-
|
|
75547
|
-
|
|
75548
|
-
|
|
75549
|
-
|
|
75550
|
-
|
|
75551
|
-
|
|
75552
|
-
|
|
75506
|
+
parse(contentId) {
|
|
75507
|
+
this.require(this.input.length > 0);
|
|
75508
|
+
// Skip version and flags, they're handled by TileOptions.fromTreeIdAndContentId
|
|
75509
|
+
while (this.curPos < this.input.length && this.cur() !== "-")
|
|
75510
|
+
this.advance();
|
|
75511
|
+
this.eat("-");
|
|
75512
|
+
this.require(this.curPos < this.input.length);
|
|
75513
|
+
const classifier = this.cur() === "C" ? this.parseClassifier() : undefined;
|
|
75514
|
+
const animationId = this.parseAnimation();
|
|
75515
|
+
const primary = classifier ? undefined : this.parsePrimary();
|
|
75516
|
+
this.require((undefined === classifier) !== (undefined === primary));
|
|
75517
|
+
const modelId = this.input.substr(this.curPos);
|
|
75518
|
+
this.require(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["Id64"].isId64(modelId));
|
|
75519
|
+
const { flags: treeFlags } = treeFlagsAndFormatVersionFromId(this.input);
|
|
75520
|
+
const options = TileOptions.fromTreeIdAndContentId(this.input, contentId);
|
|
75521
|
+
let parsedContentId;
|
|
75522
|
+
try {
|
|
75523
|
+
parsedContentId = ContentIdProvider.create(true, options).specFromId(contentId);
|
|
75524
|
+
}
|
|
75525
|
+
catch (e) {
|
|
75526
|
+
this.reject("Invalid content Id");
|
|
75527
|
+
}
|
|
75528
|
+
if (Object.keys(parsedContentId).some((key) => parsedContentId.hasOwnProperty(key) && typeof parsedContentId[key] === "number" && !Number.isFinite(parsedContentId[key])))
|
|
75529
|
+
throw new Error("Invalid content Id");
|
|
75530
|
+
let treeId;
|
|
75531
|
+
if (classifier) {
|
|
75532
|
+
treeId = { ...classifier, animationId };
|
|
75533
|
+
}
|
|
75534
|
+
else {
|
|
75535
|
+
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(undefined !== primary);
|
|
75536
|
+
const enforceDisplayPriority = (treeFlags & TreeFlags.EnforceDisplayPriority) !== 0 ? true : undefined;
|
|
75537
|
+
treeId = { ...primary, animationId, type: _FeatureTable__WEBPACK_IMPORTED_MODULE_2__["BatchType"].Primary, enforceDisplayPriority };
|
|
75538
|
+
}
|
|
75553
75539
|
return {
|
|
75554
|
-
|
|
75555
|
-
|
|
75556
|
-
|
|
75540
|
+
contentId: parsedContentId,
|
|
75541
|
+
modelId,
|
|
75542
|
+
options,
|
|
75543
|
+
treeId,
|
|
75557
75544
|
};
|
|
75558
|
-
}
|
|
75559
|
-
function parsePrimary(idx, treeId, edges = EdgeType.None, sectionCut) {
|
|
75560
|
-
// Edges
|
|
75561
|
-
edges = EdgeType.NonIndexed;
|
|
75562
|
-
if (idx < treeId.length) {
|
|
75563
|
-
const noEdgesStr = "E:0_";
|
|
75564
|
-
if (treeId.startsWith(noEdgesStr, idx))
|
|
75565
|
-
edges = EdgeType.None;
|
|
75566
|
-
else if (treeId.startsWith("E:2_", idx))
|
|
75567
|
-
edges = EdgeType.Indexed;
|
|
75568
|
-
if (EdgeType.NonIndexed !== edges)
|
|
75569
|
-
idx += noEdgesStr.length;
|
|
75570
|
-
}
|
|
75571
|
-
// Section cut
|
|
75572
|
-
if (idx + 1 < treeId.length && treeId[idx] === "S") {
|
|
75573
|
-
idx++; // S
|
|
75574
|
-
sectionCut = "";
|
|
75575
|
-
while (idx < treeId.length && treeId[idx] !== "s") {
|
|
75576
|
-
sectionCut += treeId[idx++];
|
|
75577
|
-
}
|
|
75578
|
-
if (idx === treeId.length)
|
|
75579
|
-
throw new Error("Invalid tree Id");
|
|
75580
|
-
idx++; // s
|
|
75581
|
-
}
|
|
75582
|
-
return { idx, edges, sectionCut };
|
|
75583
|
-
}
|
|
75584
|
-
function parseClassifier(idx, treeId, expansion) {
|
|
75585
|
-
let type;
|
|
75586
|
-
idx++; // C
|
|
75587
|
-
if (idx + 1 < treeId.length && treeId[idx] === "P" && treeId[idx + 1] === ":") {
|
|
75588
|
-
type = _FeatureTable__WEBPACK_IMPORTED_MODULE_2__["BatchType"].PlanarClassifier;
|
|
75589
|
-
idx += 2; // P:
|
|
75590
|
-
}
|
|
75591
|
-
else if (idx < treeId.length && treeId[idx] === ":") {
|
|
75592
|
-
type = _FeatureTable__WEBPACK_IMPORTED_MODULE_2__["BatchType"].VolumeClassifier;
|
|
75593
|
-
idx++; // :
|
|
75594
|
-
}
|
|
75595
|
-
else {
|
|
75596
|
-
throw new Error("Invalid tree Id");
|
|
75597
75545
|
}
|
|
75598
|
-
|
|
75599
|
-
|
|
75600
|
-
|
|
75601
|
-
|
|
75546
|
+
cur() {
|
|
75547
|
+
this.require(this.curPos < this.input.length);
|
|
75548
|
+
return this.input[this.curPos];
|
|
75549
|
+
}
|
|
75550
|
+
advance() {
|
|
75551
|
+
this.require(this.curPos < this.input.length);
|
|
75552
|
+
++this.curPos;
|
|
75553
|
+
}
|
|
75554
|
+
eat(expectedChar) {
|
|
75555
|
+
this.require(this.cur() === expectedChar);
|
|
75556
|
+
this.advance();
|
|
75557
|
+
}
|
|
75558
|
+
reject(message = "Invalid tree Id") {
|
|
75559
|
+
throw new Error(message);
|
|
75560
|
+
}
|
|
75561
|
+
require(condition, message = "Invalid tree Id") {
|
|
75562
|
+
if (!condition)
|
|
75563
|
+
this.reject(message);
|
|
75564
|
+
}
|
|
75565
|
+
parseClassifier() {
|
|
75566
|
+
this.eat("C");
|
|
75567
|
+
let type = _FeatureTable__WEBPACK_IMPORTED_MODULE_2__["BatchType"].VolumeClassifier;
|
|
75568
|
+
if (this.cur() === "P") {
|
|
75569
|
+
type = _FeatureTable__WEBPACK_IMPORTED_MODULE_2__["BatchType"].PlanarClassifier;
|
|
75570
|
+
this.advance();
|
|
75571
|
+
}
|
|
75572
|
+
this.eat(":");
|
|
75573
|
+
// C: or CP: is always folowed by expansion then an underscore.
|
|
75574
|
+
let expansionStr = "";
|
|
75575
|
+
while (this.curPos < this.input.length && (this.cur() >= "0" && this.cur() <= "9" || this.cur() === ".")) {
|
|
75576
|
+
expansionStr += this.cur();
|
|
75577
|
+
this.advance();
|
|
75578
|
+
}
|
|
75579
|
+
this.eat("_");
|
|
75580
|
+
const expansion = Number.parseFloat(expansionStr);
|
|
75581
|
+
this.require(!Number.isNaN(expansion));
|
|
75582
|
+
return { type, expansion };
|
|
75583
|
+
}
|
|
75584
|
+
parseAnimation() {
|
|
75585
|
+
if (this.cur() !== "A")
|
|
75586
|
+
return undefined;
|
|
75587
|
+
this.eat("A");
|
|
75588
|
+
this.eat(":");
|
|
75589
|
+
const termPos = this.input.indexOf("_", this.curPos);
|
|
75590
|
+
this.require(termPos > this.curPos);
|
|
75591
|
+
const animationId = this.input.substring(this.curPos, termPos);
|
|
75592
|
+
this.require(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["Id64"].isId64(animationId));
|
|
75593
|
+
this.curPos = termPos + 1; // Skip "_"
|
|
75594
|
+
return animationId;
|
|
75595
|
+
}
|
|
75596
|
+
parsePrimary() {
|
|
75597
|
+
const edges = this.parseEdges();
|
|
75598
|
+
const sectionCut = this.parseSectionCut();
|
|
75599
|
+
return { edges, sectionCut };
|
|
75600
|
+
}
|
|
75601
|
+
parseEdges() {
|
|
75602
|
+
if ("E" !== this.cur())
|
|
75603
|
+
return { indexed: false, smooth: false };
|
|
75604
|
+
this.eat("E");
|
|
75605
|
+
this.eat(":");
|
|
75606
|
+
const typeStr = this.cur();
|
|
75607
|
+
this.eat(typeStr);
|
|
75608
|
+
this.eat("_");
|
|
75609
|
+
switch (typeStr) {
|
|
75610
|
+
case "0": return false;
|
|
75611
|
+
case "2": return { indexed: true, smooth: false };
|
|
75612
|
+
case "3": return { indexed: false, smooth: true };
|
|
75613
|
+
case "4": return { indexed: true, smooth: true };
|
|
75614
|
+
default: this.reject();
|
|
75615
|
+
}
|
|
75616
|
+
}
|
|
75617
|
+
parseSectionCut() {
|
|
75618
|
+
if ("S" !== this.cur())
|
|
75619
|
+
return undefined;
|
|
75620
|
+
this.eat("S");
|
|
75621
|
+
const termPos = this.input.indexOf("s", this.curPos);
|
|
75622
|
+
this.require(termPos > this.curPos);
|
|
75623
|
+
const sectionCut = this.input.substring(this.curPos, termPos);
|
|
75624
|
+
this.curPos = termPos + 1; // Skip "_";
|
|
75625
|
+
return sectionCut;
|
|
75602
75626
|
}
|
|
75603
|
-
|
|
75604
|
-
|
|
75605
|
-
|
|
75606
|
-
|
|
75607
|
-
return
|
|
75608
|
-
}
|
|
75609
|
-
function parseAnimation(idx, treeId, animationId) {
|
|
75610
|
-
if (idx < treeId.length && treeId[idx] === "A") {
|
|
75611
|
-
if (idx + 1 < treeId.length && treeId[idx + 1] !== ":")
|
|
75612
|
-
throw new Error("Invalid tree Id");
|
|
75613
|
-
idx += 2;
|
|
75614
|
-
// Parse animation id
|
|
75615
|
-
animationId = "";
|
|
75616
|
-
while (idx < treeId.length && treeId[idx] !== "_") {
|
|
75617
|
-
animationId += treeId[idx++];
|
|
75618
|
-
}
|
|
75619
|
-
if (!_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["Id64"].isId64(animationId) || idx === treeId.length)
|
|
75620
|
-
throw new Error("Invalid tree Id");
|
|
75621
|
-
idx++; // _
|
|
75622
|
-
}
|
|
75623
|
-
return { idx, animationId };
|
|
75627
|
+
}
|
|
75628
|
+
/** @internal */
|
|
75629
|
+
function parseTileTreeIdAndContentId(treeId, contentId) {
|
|
75630
|
+
const parser = new Parser(treeId);
|
|
75631
|
+
return parser.parse(contentId);
|
|
75624
75632
|
}
|
|
75625
75633
|
/** @internal */
|
|
75626
75634
|
const defaultTileOptions = Object.freeze({
|
|
@@ -75635,6 +75643,7 @@ const defaultTileOptions = Object.freeze({
|
|
|
75635
75643
|
disableMagnification: false,
|
|
75636
75644
|
alwaysSubdivideIncompleteTiles: false,
|
|
75637
75645
|
enableIndexedEdges: true,
|
|
75646
|
+
generateAllPolyfaceEdges: true,
|
|
75638
75647
|
});
|
|
75639
75648
|
function contentFlagsFromId(id) {
|
|
75640
75649
|
if (0 === id.length || "-" !== id[0])
|
|
@@ -75663,6 +75672,18 @@ function treeFlagsAndFormatVersionFromId(id) {
|
|
|
75663
75672
|
}
|
|
75664
75673
|
throw new Error("Invalid tree Id");
|
|
75665
75674
|
}
|
|
75675
|
+
function edgeOptionsFromTreeId(id) {
|
|
75676
|
+
const pos = id.indexOf("E:");
|
|
75677
|
+
if (pos <= 0)
|
|
75678
|
+
return { indexed: false, smooth: false };
|
|
75679
|
+
switch (id[pos + 2]) {
|
|
75680
|
+
case "0": return { indexed: defaultTileOptions.enableIndexedEdges, smooth: defaultTileOptions.generateAllPolyfaceEdges };
|
|
75681
|
+
case "2": return { indexed: true, smooth: false };
|
|
75682
|
+
case "3": return { indexed: false, smooth: true };
|
|
75683
|
+
case "4": return { indexed: true, smooth: true };
|
|
75684
|
+
}
|
|
75685
|
+
throw new Error("Invalid tree Id");
|
|
75686
|
+
}
|
|
75666
75687
|
/** @internal */
|
|
75667
75688
|
function getMaximumMajorTileFormatVersion(maxMajorVersion, formatVersion) {
|
|
75668
75689
|
// The `formatVersion` input is from the backend, telling us precisely the maximum major+minor version it can produce.
|
|
@@ -75689,18 +75710,19 @@ var TreeFlags;
|
|
|
75689
75710
|
TreeFlags[TreeFlags["OptimizeBRepProcessing"] = 4] = "OptimizeBRepProcessing";
|
|
75690
75711
|
TreeFlags[TreeFlags["UseLargerTiles"] = 8] = "UseLargerTiles";
|
|
75691
75712
|
})(TreeFlags || (TreeFlags = {}));
|
|
75692
|
-
|
|
75693
|
-
|
|
75694
|
-
|
|
75695
|
-
|
|
75696
|
-
(
|
|
75697
|
-
|
|
75698
|
-
|
|
75699
|
-
|
|
75700
|
-
|
|
75701
|
-
|
|
75702
|
-
|
|
75703
|
-
|
|
75713
|
+
function compareEdgeOptions(a, b) {
|
|
75714
|
+
if (typeof a !== typeof b)
|
|
75715
|
+
return a ? 1 : -1;
|
|
75716
|
+
if (typeof a === "boolean") {
|
|
75717
|
+
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(typeof b === "boolean");
|
|
75718
|
+
return Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["compareBooleans"])(a, b);
|
|
75719
|
+
}
|
|
75720
|
+
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(typeof b === "object");
|
|
75721
|
+
let cmp = Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["compareBooleans"])(a.indexed, b.indexed);
|
|
75722
|
+
if (0 === cmp)
|
|
75723
|
+
cmp = Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["compareBooleans"])(a.smooth, b.smooth);
|
|
75724
|
+
return cmp;
|
|
75725
|
+
}
|
|
75704
75726
|
function animationIdToString(animationId) {
|
|
75705
75727
|
return `A:${animationId}_`;
|
|
75706
75728
|
}
|
|
@@ -75719,7 +75741,16 @@ function iModelTileTreeIdToString(modelId, treeId, options) {
|
|
|
75719
75741
|
idStr = `${idStr}${animationIdToString(treeId.animationId)}`;
|
|
75720
75742
|
else if (treeId.enforceDisplayPriority) // animation and priority are currently mutually exclusive
|
|
75721
75743
|
flags |= TreeFlags.EnforceDisplayPriority;
|
|
75722
|
-
|
|
75744
|
+
let edges;
|
|
75745
|
+
if (!treeId.edges) {
|
|
75746
|
+
edges = "E:0_";
|
|
75747
|
+
}
|
|
75748
|
+
else {
|
|
75749
|
+
if (!treeId.edges.smooth)
|
|
75750
|
+
edges = treeId.edges.indexed ? "E:2_" : "";
|
|
75751
|
+
else
|
|
75752
|
+
edges = treeId.edges.indexed ? "E:4_" : "E:3_";
|
|
75753
|
+
}
|
|
75723
75754
|
const sectionCut = treeId.sectionCut ? `S${treeId.sectionCut}s` : "";
|
|
75724
75755
|
idStr = `${idStr}${edges}${sectionCut}`;
|
|
75725
75756
|
}
|
|
@@ -75750,7 +75781,7 @@ function compareIModelTileTreeIds(lhs, rhs) {
|
|
|
75750
75781
|
// NB: The redundant checks on BatchType below are to satisfy compiler.
|
|
75751
75782
|
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(lhs.type === rhs.type);
|
|
75752
75783
|
if (_FeatureTable__WEBPACK_IMPORTED_MODULE_2__["BatchType"].Primary === lhs.type && _FeatureTable__WEBPACK_IMPORTED_MODULE_2__["BatchType"].Primary === rhs.type) {
|
|
75753
|
-
cmp =
|
|
75784
|
+
cmp = compareEdgeOptions(lhs.edges, rhs.edges);
|
|
75754
75785
|
if (0 === cmp) {
|
|
75755
75786
|
cmp = Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["compareBooleansOrUndefined"])(lhs.enforceDisplayPriority, rhs.enforceDisplayPriority);
|
|
75756
75787
|
if (0 === cmp)
|
|
@@ -93487,102 +93518,6 @@ class Tiles {
|
|
|
93487
93518
|
}
|
|
93488
93519
|
|
|
93489
93520
|
|
|
93490
|
-
/***/ }),
|
|
93491
|
-
|
|
93492
|
-
/***/ "../../core/frontend/lib/esm/TwoWayViewportSync.js":
|
|
93493
|
-
/*!*****************************************************************!*\
|
|
93494
|
-
!*** D:/vsts_a/1/s/core/frontend/lib/esm/TwoWayViewportSync.js ***!
|
|
93495
|
-
\*****************************************************************/
|
|
93496
|
-
/*! exports provided: TwoWayViewportSync, TwoWayViewportFrustumSync */
|
|
93497
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
93498
|
-
|
|
93499
|
-
"use strict";
|
|
93500
|
-
__webpack_require__.r(__webpack_exports__);
|
|
93501
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TwoWayViewportSync", function() { return TwoWayViewportSync; });
|
|
93502
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TwoWayViewportFrustumSync", function() { return TwoWayViewportFrustumSync; });
|
|
93503
|
-
/*---------------------------------------------------------------------------------------------
|
|
93504
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
93505
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
93506
|
-
*--------------------------------------------------------------------------------------------*/
|
|
93507
|
-
/** @packageDocumentation
|
|
93508
|
-
* @module Views
|
|
93509
|
-
*/
|
|
93510
|
-
/** Forms a bidirectional connection between two [[Viewport]]s such that the [[ViewState]]s of each are synchronized with one another.
|
|
93511
|
-
* For example, panning in one viewport will cause the other viewport to pan by the same distance, and changing the [RenderMode]($common) of one viewport
|
|
93512
|
-
* will change it in the other viewport.
|
|
93513
|
-
* By default, all aspects of the views - display style, category and model selectors, frustum, etc - are synchronized, but this can be customized by
|
|
93514
|
-
* subclassing and overriding the [[syncViewports]] and [[connectViewports]] methods.
|
|
93515
|
-
* @see [Multiple Viewport Sample](https://www.itwinjs.org/sample-showcase/?group=Viewer+Features&sample=multi-viewport-sample&imodel=Metrostation+Sample)
|
|
93516
|
-
* for an interactive demonstration.
|
|
93517
|
-
* @see [[TwoWayViewportFrustumSync]] to synchronize only the frusta of the viewports.
|
|
93518
|
-
* @public
|
|
93519
|
-
*/
|
|
93520
|
-
class TwoWayViewportSync {
|
|
93521
|
-
constructor() {
|
|
93522
|
-
this._disconnect = [];
|
|
93523
|
-
this._isEcho = false;
|
|
93524
|
-
}
|
|
93525
|
-
syncView(source, target) {
|
|
93526
|
-
if (this._isEcho)
|
|
93527
|
-
return;
|
|
93528
|
-
this._isEcho = true; // so we don't react to the echo of this sync
|
|
93529
|
-
this.syncViewports(source, target);
|
|
93530
|
-
this._isEcho = false;
|
|
93531
|
-
}
|
|
93532
|
-
/** Invoked from [[connect]] to set up the initial synchronization between the two viewports.
|
|
93533
|
-
* `target` should be modified to match `source`.
|
|
93534
|
-
* The default implementation applies a clone of `source`'s [[ViewState]] to `target`.
|
|
93535
|
-
* @see [[syncViewports]] to customize subsequent synchronization.
|
|
93536
|
-
*/
|
|
93537
|
-
connectViewports(source, target) {
|
|
93538
|
-
const viewState = source.view.clone(target.iModel);
|
|
93539
|
-
target.applyViewState(viewState);
|
|
93540
|
-
}
|
|
93541
|
-
/** Invoked each time `source` changes to update `target` to match.
|
|
93542
|
-
* The default implementation applies a clone of `source`'s [[ViewState]] to `target`.
|
|
93543
|
-
* @param source The viewport that changed
|
|
93544
|
-
* @param target The viewport that should be updated to match `source`
|
|
93545
|
-
* @see [[connectViewports]] to set up the initial synchronization between the two viewports.
|
|
93546
|
-
*/
|
|
93547
|
-
syncViewports(source, target) {
|
|
93548
|
-
target.applyViewState(source.view.clone(target.iModel));
|
|
93549
|
-
}
|
|
93550
|
-
/** Establish the connection between two Viewports. When this method is called, `viewport2` is initialized with the state of `viewport1` via [[connectViewports]].
|
|
93551
|
-
* Thereafter, any change to the frustum of either viewport will be reflected in the frustum of the other viewport via [[syncViewports]].
|
|
93552
|
-
*/
|
|
93553
|
-
connect(viewport1, viewport2) {
|
|
93554
|
-
this.disconnect();
|
|
93555
|
-
this.connectViewports(viewport1, viewport2);
|
|
93556
|
-
// listen to the onViewChanged events from both views
|
|
93557
|
-
this._disconnect.push(viewport1.onViewChanged.addListener(() => this.syncView(viewport1, viewport2)));
|
|
93558
|
-
this._disconnect.push(viewport2.onViewChanged.addListener(() => this.syncView(viewport2, viewport1)));
|
|
93559
|
-
}
|
|
93560
|
-
/** Remove the connection between the two views. */
|
|
93561
|
-
disconnect() {
|
|
93562
|
-
this._disconnect.forEach((f) => f());
|
|
93563
|
-
this._disconnect.length = 0;
|
|
93564
|
-
}
|
|
93565
|
-
}
|
|
93566
|
-
/** Forms a bidirectional connection between two [[Viewport]]s such that the [Frustum]($common)s of each are synchronized with one another.
|
|
93567
|
-
* For example, zooming out in one viewport will zoom out by the same distance in the other viewport.
|
|
93568
|
-
* No other aspects of the viewports are synchronized - they may have entirely different display styles, category/model selectors, etc.
|
|
93569
|
-
* @see [[TwoWayViewportSync]] to synchronize all aspects of the viewports.
|
|
93570
|
-
* @public
|
|
93571
|
-
*/
|
|
93572
|
-
class TwoWayViewportFrustumSync extends TwoWayViewportSync {
|
|
93573
|
-
/** @internal override */
|
|
93574
|
-
syncViewports(source, target) {
|
|
93575
|
-
const pose = source.view.savePose();
|
|
93576
|
-
const view = target.view.applyPose(pose);
|
|
93577
|
-
target.applyViewState(view);
|
|
93578
|
-
}
|
|
93579
|
-
/** @internal override */
|
|
93580
|
-
connectViewports(source, target) {
|
|
93581
|
-
this.syncViewports(source, target);
|
|
93582
|
-
}
|
|
93583
|
-
}
|
|
93584
|
-
|
|
93585
|
-
|
|
93586
93521
|
/***/ }),
|
|
93587
93522
|
|
|
93588
93523
|
/***/ "../../core/frontend/lib/esm/UserPreferences.js":
|
|
@@ -100562,13 +100497,209 @@ class OffScreenViewport extends Viewport {
|
|
|
100562
100497
|
}
|
|
100563
100498
|
|
|
100564
100499
|
|
|
100500
|
+
/***/ }),
|
|
100501
|
+
|
|
100502
|
+
/***/ "../../core/frontend/lib/esm/ViewportSync.js":
|
|
100503
|
+
/*!***********************************************************!*\
|
|
100504
|
+
!*** D:/vsts_a/1/s/core/frontend/lib/esm/ViewportSync.js ***!
|
|
100505
|
+
\***********************************************************/
|
|
100506
|
+
/*! exports provided: connectViewports, synchronizeViewportViews, synchronizeViewportFrusta, connectViewportFrusta, connectViewportViews, TwoWayViewportSync, TwoWayViewportFrustumSync */
|
|
100507
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
100508
|
+
|
|
100509
|
+
"use strict";
|
|
100510
|
+
__webpack_require__.r(__webpack_exports__);
|
|
100511
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "connectViewports", function() { return connectViewports; });
|
|
100512
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "synchronizeViewportViews", function() { return synchronizeViewportViews; });
|
|
100513
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "synchronizeViewportFrusta", function() { return synchronizeViewportFrusta; });
|
|
100514
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "connectViewportFrusta", function() { return connectViewportFrusta; });
|
|
100515
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "connectViewportViews", function() { return connectViewportViews; });
|
|
100516
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TwoWayViewportSync", function() { return TwoWayViewportSync; });
|
|
100517
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TwoWayViewportFrustumSync", function() { return TwoWayViewportFrustumSync; });
|
|
100518
|
+
/*---------------------------------------------------------------------------------------------
|
|
100519
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
100520
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
100521
|
+
*--------------------------------------------------------------------------------------------*/
|
|
100522
|
+
/** @packageDocumentation
|
|
100523
|
+
* @module Views
|
|
100524
|
+
*/
|
|
100525
|
+
/** Forms a connection between two or more [[Viewport]]s such that a change in any one of the viewports is reflected in all of the others.
|
|
100526
|
+
* When the connection is first formed, all of the viewports are synchronized to the current state of the **first** viewport in `viewports`.
|
|
100527
|
+
* Thereafter, an event listener registered with each viewport's [[Viewport.onViewChanged]] event is invoked when anything about that viewport's state changes.
|
|
100528
|
+
* Each time such an event occurs, the initating ("source") viewport is passed to `sync` to obtain a function that can be invoked to synchronize each of the other
|
|
100529
|
+
* ("target") viewports with the source viewport's new state. The function returned by `sync` can choose to synchronize any or all aspects of the viewports' states, such as
|
|
100530
|
+
* the viewed volume, display style, viewed categories or models, or anything else.
|
|
100531
|
+
*
|
|
100532
|
+
* To sever the connection, invoke the function returned by this function. For example:
|
|
100533
|
+
* ```ts
|
|
100534
|
+
* // set up the connection.
|
|
100535
|
+
* const disconnect = connectViewports([viewport0, viewport1, viewport2], (changedViewport) => synchronizeViewportFrusta(changedViewport));
|
|
100536
|
+
* // some time later, sever the connection.
|
|
100537
|
+
* disconnect();
|
|
100538
|
+
* ```
|
|
100539
|
+
*
|
|
100540
|
+
* @note [[Viewport.onViewChanged]] can be invoked **very** frequently - sometimes multiple times per frame. Try to avoid performing excessive computations within your synchronization functions.
|
|
100541
|
+
*
|
|
100542
|
+
* @param viewports The viewports to be connected. It should contain at least two viewports and no duplicate viewports. The initial state of each viewport will be synchronized with
|
|
100543
|
+
* the state of the first viewport in this iterable.
|
|
100544
|
+
* @param sync A function to be invoked whenever the state of any viewport in `viewports` changes, returning a function that can be used to synchronize the
|
|
100545
|
+
* state of each viewport.
|
|
100546
|
+
* @returns a function that can be invoked to sever the connection between the viewports.
|
|
100547
|
+
* @see [[connectViewportFrusta]] to synchronize the [Frustum]($common) of each viewport.
|
|
100548
|
+
* @see [[connectViewportViews]] to synchronize every aspect of the viewports.
|
|
100549
|
+
* @see [[TwoWayViewportSync]] to synchronize the state of exactly two viewports.
|
|
100550
|
+
* @see [Multiple Viewport Sample](https://www.itwinjs.org/sample-showcase/?group=Viewer+Features&sample=multi-viewport-sample&imodel=Metrostation+Sample)
|
|
100551
|
+
* @public
|
|
100552
|
+
* @extensions
|
|
100553
|
+
*/
|
|
100554
|
+
function connectViewports(viewports, sync) {
|
|
100555
|
+
const disconnect = [];
|
|
100556
|
+
let echo = false;
|
|
100557
|
+
const synchronize = (source) => {
|
|
100558
|
+
if (echo)
|
|
100559
|
+
return;
|
|
100560
|
+
// Ignore onViewChanged events resulting from synchronization.
|
|
100561
|
+
echo = true;
|
|
100562
|
+
try {
|
|
100563
|
+
const doSync = sync(source);
|
|
100564
|
+
for (const vp of viewports)
|
|
100565
|
+
if (vp !== source)
|
|
100566
|
+
doSync(source, vp);
|
|
100567
|
+
}
|
|
100568
|
+
finally {
|
|
100569
|
+
echo = false;
|
|
100570
|
+
}
|
|
100571
|
+
};
|
|
100572
|
+
let firstViewport;
|
|
100573
|
+
for (const vp of viewports) {
|
|
100574
|
+
if (!firstViewport)
|
|
100575
|
+
firstViewport = vp;
|
|
100576
|
+
disconnect.push(vp.onViewChanged.addListener(() => synchronize(vp)));
|
|
100577
|
+
}
|
|
100578
|
+
if (firstViewport)
|
|
100579
|
+
synchronize(firstViewport);
|
|
100580
|
+
return () => {
|
|
100581
|
+
for (const f of disconnect)
|
|
100582
|
+
f();
|
|
100583
|
+
disconnect.length = 0;
|
|
100584
|
+
};
|
|
100585
|
+
}
|
|
100586
|
+
/** A function that returns a [[SynchronizeViewports]] function that synchronizes every aspect of the viewports' states, including
|
|
100587
|
+
* display style, model and category selectors, [Frustum]($common), etc.
|
|
100588
|
+
* @see [[connectViewportViews]] to establish a connection between viewports using this synchronization strategy.
|
|
100589
|
+
* @public
|
|
100590
|
+
* @extensions
|
|
100591
|
+
*/
|
|
100592
|
+
function synchronizeViewportViews(source) {
|
|
100593
|
+
return (_source, target) => target.applyViewState(source.view.clone(target.iModel));
|
|
100594
|
+
}
|
|
100595
|
+
/** A function that returns a [[SynchronizeViewports]] function that synchronizes the viewed volumes of each viewport.
|
|
100596
|
+
* @see [[connectViewportFrusta]] to establish a connection between viewports using this synchronization strategy.
|
|
100597
|
+
* @public
|
|
100598
|
+
* @extensions
|
|
100599
|
+
*/
|
|
100600
|
+
function synchronizeViewportFrusta(source) {
|
|
100601
|
+
const pose = source.view.savePose();
|
|
100602
|
+
return (_source, target) => {
|
|
100603
|
+
const view = target.view.applyPose(pose);
|
|
100604
|
+
target.applyViewState(view);
|
|
100605
|
+
};
|
|
100606
|
+
}
|
|
100607
|
+
/** Form a connection between two or more [[Viewport]]s such that they all view the same volume. For example, zooming out in one viewport
|
|
100608
|
+
* will zoom out by the same distance in all of the other viewports.
|
|
100609
|
+
* @see [[connectViewports]] to customize how the viewports are synchronized.
|
|
100610
|
+
* @public
|
|
100611
|
+
* @extensions
|
|
100612
|
+
*/
|
|
100613
|
+
function connectViewportFrusta(viewports) {
|
|
100614
|
+
return connectViewports(viewports, (source) => synchronizeViewportFrusta(source));
|
|
100615
|
+
}
|
|
100616
|
+
/** Form a connection between two or more [[Viewport]]s such that every aspect of the viewports are kept in sync. For example, if the set of models
|
|
100617
|
+
* or categories visible in one viewport is changed, the same set of models and categories will be visible in the other viewports.
|
|
100618
|
+
* @see [[connectViewportFrusta]] to synchronize only the [Frustum]($common) of each viewport.
|
|
100619
|
+
* @see [[connectViewports]] to customize how the viewports are synchronized.
|
|
100620
|
+
* @public
|
|
100621
|
+
* @extensions
|
|
100622
|
+
*/
|
|
100623
|
+
function connectViewportViews(viewports) {
|
|
100624
|
+
return connectViewports(viewports, (source) => synchronizeViewportViews(source));
|
|
100625
|
+
}
|
|
100626
|
+
/** Forms a bidirectional connection between two [[Viewport]]s such that the [[ViewState]]s of each are synchronized with one another.
|
|
100627
|
+
* For example, panning in one viewport will cause the other viewport to pan by the same distance, and changing the [RenderMode]($common) of one viewport
|
|
100628
|
+
* will change it in the other viewport.
|
|
100629
|
+
* By default, all aspects of the views - display style, category and model selectors, frustum, etc - are synchronized, but this can be customized by
|
|
100630
|
+
* subclassing and overriding the [[syncViewports]] and [[connectViewports]] methods.
|
|
100631
|
+
* @see [Multiple Viewport Sample](https://www.itwinjs.org/sample-showcase/?group=Viewer+Features&sample=multi-viewport-sample&imodel=Metrostation+Sample)
|
|
100632
|
+
* for an interactive demonstration.
|
|
100633
|
+
* @see [[TwoWayViewportFrustumSync]] to synchronize only the frusta of the viewports.
|
|
100634
|
+
* @see [[connectViewportViews]] to synchronize the state of more than two viewports.
|
|
100635
|
+
* @public
|
|
100636
|
+
* @extensions
|
|
100637
|
+
*/
|
|
100638
|
+
class TwoWayViewportSync {
|
|
100639
|
+
constructor() {
|
|
100640
|
+
this._disconnect = [];
|
|
100641
|
+
}
|
|
100642
|
+
/** Invoked from [[connect]] to set up the initial synchronization between the two viewports.
|
|
100643
|
+
* `target` should be modified to match `source`.
|
|
100644
|
+
* The default implementation applies a clone of `source`'s [[ViewState]] to `target`.
|
|
100645
|
+
* @see [[syncViewports]] to customize subsequent synchronization.
|
|
100646
|
+
*/
|
|
100647
|
+
connectViewports(source, target) {
|
|
100648
|
+
const viewState = source.view.clone(target.iModel);
|
|
100649
|
+
target.applyViewState(viewState);
|
|
100650
|
+
}
|
|
100651
|
+
/** Invoked each time `source` changes to update `target` to match.
|
|
100652
|
+
* The default implementation applies a clone of `source`'s [[ViewState]] to `target`.
|
|
100653
|
+
* @param source The viewport that changed
|
|
100654
|
+
* @param target The viewport that should be updated to match `source`
|
|
100655
|
+
* @see [[connectViewports]] to set up the initial synchronization between the two viewports.
|
|
100656
|
+
*/
|
|
100657
|
+
syncViewports(source, target) {
|
|
100658
|
+
target.applyViewState(source.view.clone(target.iModel));
|
|
100659
|
+
}
|
|
100660
|
+
/** Establish the connection between two Viewports. When this method is called, `viewport2` is initialized with the state of `viewport1` via [[connectViewports]].
|
|
100661
|
+
* Thereafter, any change to the frustum of either viewport will be reflected in the frustum of the other viewport via [[syncViewports]].
|
|
100662
|
+
*/
|
|
100663
|
+
connect(viewport1, viewport2) {
|
|
100664
|
+
this.disconnect();
|
|
100665
|
+
this.connectViewports(viewport1, viewport2);
|
|
100666
|
+
this._disconnect.push(connectViewports([viewport1, viewport2], () => (source, target) => this.syncViewports(source, target)));
|
|
100667
|
+
}
|
|
100668
|
+
/** Remove the connection between the two views. */
|
|
100669
|
+
disconnect() {
|
|
100670
|
+
this._disconnect.forEach((f) => f());
|
|
100671
|
+
this._disconnect.length = 0;
|
|
100672
|
+
}
|
|
100673
|
+
}
|
|
100674
|
+
/** Forms a bidirectional connection between two [[Viewport]]s such that the [Frustum]($common)s of each are synchronized with one another.
|
|
100675
|
+
* For example, zooming out in one viewport will zoom out by the same distance in the other viewport.
|
|
100676
|
+
* No other aspects of the viewports are synchronized - they may have entirely different display styles, category/model selectors, etc.
|
|
100677
|
+
* @see [[TwoWayViewportSync]] to synchronize all aspects of the viewports.
|
|
100678
|
+
* @see [[connectViewportFrusta]] to synchronize the frusta of more than two viewports.
|
|
100679
|
+
* @public
|
|
100680
|
+
* @extensions
|
|
100681
|
+
*/
|
|
100682
|
+
class TwoWayViewportFrustumSync extends TwoWayViewportSync {
|
|
100683
|
+
/** @internal override */
|
|
100684
|
+
syncViewports(source, target) {
|
|
100685
|
+
const pose = source.view.savePose();
|
|
100686
|
+
const view = target.view.applyPose(pose);
|
|
100687
|
+
target.applyViewState(view);
|
|
100688
|
+
}
|
|
100689
|
+
/** @internal override */
|
|
100690
|
+
connectViewports(source, target) {
|
|
100691
|
+
this.syncViewports(source, target);
|
|
100692
|
+
}
|
|
100693
|
+
}
|
|
100694
|
+
|
|
100695
|
+
|
|
100565
100696
|
/***/ }),
|
|
100566
100697
|
|
|
100567
100698
|
/***/ "../../core/frontend/lib/esm/core-frontend.js":
|
|
100568
100699
|
/*!************************************************************!*\
|
|
100569
100700
|
!*** D:/vsts_a/1/s/core/frontend/lib/esm/core-frontend.js ***!
|
|
100570
100701
|
\************************************************************/
|
|
100571
|
-
/*! exports provided: AccuDrawFlags, CompassMode, RotationMode, LockedStates, CurrentState, ContextMode, ItemField, KeyinStatus, AccudrawData, Flags, RoundOff, SavedState, ThreeAxes, AccuDraw, ContextRotationId, AccuDrawHintBuilder, TouchCursor, AccuSnap, TentativeOrAccuSnap, ACSType, ACSDisplayOptions, AuxCoordSystemState, AuxCoordSystem2dState, AuxCoordSystem3dState, AuxCoordSystemSpatialState, BingLocationProvider, BriefcaseEditorToolSettings, BriefcaseConnection, BriefcaseNotificationHandler, BriefcaseTxns, CategorySelectorState, ChangeFlag, ChangeFlags, MutableChangeFlags, CheckpointConnection, ContextRealityModelState, CoordSystem, DecorationsCache, DevTools, TerrainDisplayOverrides, DisplayStyleState, DisplayStyle2dState, DisplayStyle3dState, DrawingViewState, LocateAction, LocateFilterStatus, SnapStatus, LocateOptions, LocateResponse, ElementPicker, ElementLocateManager, EmphasizeElements, EntityState, ElementState, EnvironmentDecorations, FlashMode, FlashSettings, FrontendLoggerCategory, Frustum2d, FrustumAnimator, FuzzySearch, FuzzySearchResults, GeoConverter, GeoServices, GlobeAnimator, GraphicalEditingScope, SnapMode, SnapHeat, HitSource, HitGeomType, HitParentGeomType, HitPriority, HitDetailType, HitDetail, SnapDetail, IntersectDetail, HitList, canvasToResizedCanvasWithBars, imageBufferToCanvas, canvasToImageBuffer, getImageSourceMimeType, getImageSourceFormatForMimeType, imageElementFromImageSource, imageElementFromUrl, tryImageElementFromUrl, extractImageSourceDimensions, imageBufferToPngDataUrl, imageBufferToBase64EncodedPng, openImageDataUrlInNewWindow, getCenteredViewRect, getCompressedJpegFromCanvas, ITWINJS_CORE_VERSION, IModelApp, IModelConnection, BlankConnection, SnapshotConnection, IModelRoutingContext, IpcApp, NotificationHandler, linePlaneIntersect, MarginPercent, Marker, Cluster, MarkerSet, ModelSelectorState, ModelState, GeometricModelState, GeometricModel2dState, GeometricModel3dState, SheetModelState, SpatialModelState, PhysicalModelState, SpatialLocationModelState, DrawingModelState, SectionDrawingModelState, NativeApp, Storage, NativeAppLogger, NullTarget, NullRenderSystem, NoRenderApp, OutputMessageType, OutputMessagePriority, OutputMessageAlert, ActivityMessageEndReason, MessageBoxType, MessageBoxIconType, MessageBoxValue, NotifyMessageDetails, ActivityMessageDetails, NotificationManager, PerModelCategoryVisibility, PlanarClipMaskState, formatAnimationBranchId, RenderScheduleState, SelectionSetEventType, HiliteSet, SelectionSet, SheetViewState, SpatialViewState, OrthographicViewState, Sprite, IconSprites, SpriteLocation, StandardViewId, StandardView, SubCategoriesCache, TentativePoint, Tiles,
|
|
100702
|
+
/*! exports provided: AccuDrawFlags, CompassMode, RotationMode, LockedStates, CurrentState, ContextMode, ItemField, KeyinStatus, AccudrawData, Flags, RoundOff, SavedState, ThreeAxes, AccuDraw, ContextRotationId, AccuDrawHintBuilder, TouchCursor, AccuSnap, TentativeOrAccuSnap, ACSType, ACSDisplayOptions, AuxCoordSystemState, AuxCoordSystem2dState, AuxCoordSystem3dState, AuxCoordSystemSpatialState, BingLocationProvider, BriefcaseEditorToolSettings, BriefcaseConnection, BriefcaseNotificationHandler, BriefcaseTxns, CategorySelectorState, ChangeFlag, ChangeFlags, MutableChangeFlags, CheckpointConnection, ContextRealityModelState, CoordSystem, DecorationsCache, DevTools, TerrainDisplayOverrides, DisplayStyleState, DisplayStyle2dState, DisplayStyle3dState, DrawingViewState, LocateAction, LocateFilterStatus, SnapStatus, LocateOptions, LocateResponse, ElementPicker, ElementLocateManager, EmphasizeElements, EntityState, ElementState, EnvironmentDecorations, FlashMode, FlashSettings, FrontendLoggerCategory, Frustum2d, FrustumAnimator, FuzzySearch, FuzzySearchResults, GeoConverter, GeoServices, GlobeAnimator, GraphicalEditingScope, SnapMode, SnapHeat, HitSource, HitGeomType, HitParentGeomType, HitPriority, HitDetailType, HitDetail, SnapDetail, IntersectDetail, HitList, canvasToResizedCanvasWithBars, imageBufferToCanvas, canvasToImageBuffer, getImageSourceMimeType, getImageSourceFormatForMimeType, imageElementFromImageSource, imageElementFromUrl, tryImageElementFromUrl, extractImageSourceDimensions, imageBufferToPngDataUrl, imageBufferToBase64EncodedPng, openImageDataUrlInNewWindow, getCenteredViewRect, getCompressedJpegFromCanvas, ITWINJS_CORE_VERSION, IModelApp, IModelConnection, BlankConnection, SnapshotConnection, IModelRoutingContext, IpcApp, NotificationHandler, linePlaneIntersect, MarginPercent, Marker, Cluster, MarkerSet, ModelSelectorState, ModelState, GeometricModelState, GeometricModel2dState, GeometricModel3dState, SheetModelState, SpatialModelState, PhysicalModelState, SpatialLocationModelState, DrawingModelState, SectionDrawingModelState, NativeApp, Storage, NativeAppLogger, NullTarget, NullRenderSystem, NoRenderApp, OutputMessageType, OutputMessagePriority, OutputMessageAlert, ActivityMessageEndReason, MessageBoxType, MessageBoxIconType, MessageBoxValue, NotifyMessageDetails, ActivityMessageDetails, NotificationManager, PerModelCategoryVisibility, PlanarClipMaskState, formatAnimationBranchId, RenderScheduleState, SelectionSetEventType, HiliteSet, SelectionSet, SheetViewState, SpatialViewState, OrthographicViewState, Sprite, IconSprites, SpriteLocation, StandardViewId, StandardView, SubCategoriesCache, TentativePoint, Tiles, RenderContext, DynamicsContext, DecorateContext, SceneContext, ViewGlobalLocationConstants, metersToRange, queryTerrainElevationOffset, areaToEyeHeight, areaToEyeHeightFromGcs, rangeToCartographicArea, eyeToCartographicOnGlobe, eyeToCartographicOnGlobeFromGcs, viewGlobalLocation, ViewingSpace, ViewManager, DepthPointSource, ViewUndoEvent, ELEMENT_MARKED_FOR_REMOVAL, Viewport, ScreenViewport, OffScreenViewport, connectViewports, synchronizeViewportViews, synchronizeViewportFrusta, connectViewportFrusta, connectViewportViews, TwoWayViewportSync, TwoWayViewportFrustumSync, ViewPose, ViewPose3d, ViewPose2d, ViewRect, ViewState, ViewState3d, ViewState2d, ViewStatus, LocalExtensionProvider, RemoteExtensionProvider, ServiceExtensionProvider, AngleDescription, FormattedQuantityDescription, LengthDescription, SurveyLengthDescription, EngineeringLengthDescription, QuantityType, AlternateUnitLabelsRegistry, getQuantityTypeKey, isCustomQuantityTypeDefinition, QuantityFormatter, BaseUnitFormattingSettingsProvider, LocalUnitFormatProvider, isCheckboxFormatPropEditorSpec, isTextInputFormatPropEditorSpec, isTextSelectFormatPropEditorSpec, Decorations, FeatureSymbology, FrameStatsCollector, AnimationNodeId, GraphicBranch, GraphicType, GraphicBuilder, MockRender, ParticleCollectionBuilder, Pixel, RenderClipVolume, RenderGraphic, RenderGraphicOwner, RenderMemory, createEmptyRenderPlan, createRenderPlanFromViewport, RenderPlanarClassifier, PrimitiveVisibility, RenderTarget, RenderTextureDrape, RenderDiagnostics, RenderTerrainGeometry, TerrainTexture, DebugShaderFile, PlanarGridTransparency, RenderSystem, Scene, UniformType, VaryingType, queryVisibleFeatures, PerformanceMetrics, Target, OnScreenTarget, OffScreenTarget, IModelFrameLifecycle, createDefaultViewFlagOverrides, MapCartoRectangle, QuadId, DisclosedTileTreeSet, addRangeGraphic, Tile, TileLoadStatus, TileVisibility, TileLoadPriority, TileBoundingBoxes, TileUserIdSet, TileUserIdSets, LRUTileList, RealityTile, TileDrawArgs, RealityTileDrawArgs, GraphicsCollectorDrawArgs, BatchedTileIdMap, TileTreeLoadStatus, TileTree, TraversalDetails, TraversalChildrenDetails, TraversalSelectionContext, RealityTileTree, TileGraphicType, TileTreeReference, TileGeometryCollector, TiledGraphicsProvider, TileAdmin, overrideRequestTileTreeProps, TileRequest, TileRequestChannelStatistics, TileRequestChannel, IModelTileRequestChannels, TileRequestChannels, TileUsageMarker, TileUser, ReadonlyTileUserSet, UniqueTileUserSets, GltfDataType, GltfWrapMode, GltfBufferData, GltfReaderProps, GltfMeshData, GltfReader, readGltfGraphics, GltfGraphicsReader, I3dmReader, B3dmReader, GltfHeader, readElementGraphics, ImdlReader, ArcGISTileMap, MapFeatureInfoRecord, MapLayerFormat, MapLayerFormatRegistry, ArcGisErrorCode, ArcGisUtilities, WmsUtilities, WmsCapability, WmsCapabilities, WmtsCapability, WmtsCapabilities, MapLayerImageryProviderStatus, MapLayerImageryProvider, ArcGISMapLayerImageryProvider, AzureMapsLayerImageryProvider, BingMapsImageryLayerProvider, MapBoxLayerImageryProvider, TileUrlImageryProvider, WmsMapLayerImageryProvider, WmtsMapLayerImageryProvider, ImageryMapLayerFormat, internalMapLayerImageryFormats, MapLayerTileTreeReference, createMapLayerTreeReference, MapTileTree, MapTileTreeReference, getGcsConverterAvailable, TerrainMeshProvider, getCesiumAssetUrl, getCesiumOSMBuildingsUrl, getCesiumAccessTokenAndEndpointUrl, getCesiumTerrainProvider, EllipsoidTerrainProvider, PlanarTilePatch, MapTileProjection, MapTile, UpsampledMapTile, RealityTileLoader, MapTileLoader, BingElevationProvider, MapTilingScheme, GeographicTilingScheme, WebMercatorProjection, WebMercatorTilingScheme, TileAvailability, readPointCloudTileContent, createRealityTileTreeReference, RealityTileRegion, RealityModelTileUtils, RealityModelTileTree, RealityTreeReference, iModelTileParamsFromJSON, SelectParent, IModelTile, DynamicIModelTile, iModelTileTreeParamsFromJSON, IModelTileTree, disposeTileTreesForGeometricModels, AnimatedTreeReference, createPrimaryTileTreeReference, createMaskTreeReference, ModelMapLayerTileTreeReference, createModelMapLayerTileTreeReference, SpatialTileTreeReferences, SpatialClassifierTileTreeReference, createClassifierTileTreeReference, createOrbitGtTileTreeReference, OrbitGtTileTree, ImageryMapTile, ImageryMapTileTree, ImageryMapLayerTreeReference, MapLayerSourceStatus, MapLayerSource, MapLayerSources, MapTiledGraphicsProvider, CesiumIonAssetProvider, ContextShareProvider, ThreeDTileFormatInterpreter, OPCFormatInterpreter, AccuDrawShortcuts, AccuDrawSetOriginTool, AccuDrawSetLockSmartTool, AccuDrawSetLockXTool, AccuDrawSetLockYTool, AccuDrawSetLockZTool, AccuDrawSetLockDistanceTool, AccuDrawSetLockAngleTool, AccuDrawChangeModeTool, AccuDrawRotateCycleTool, AccuDrawRotateTopTool, AccuDrawRotateFrontTool, AccuDrawRotateSideTool, AccuDrawRotateViewTool, AccuDrawRotateAxesTool, AccuDrawRotateElementTool, DefineACSByElementTool, DefineACSByPointsTool, ViewClipTool, ViewClipClearTool, ViewClipByPlaneTool, ViewClipByShapeTool, ViewClipByRangeTool, ViewClipByElementTool, ViewClipModifyTool, ViewClipShapeModifyTool, ViewClipPlanesModifyTool, ViewClipControlArrow, ViewClipDecoration, ClipEventType, ViewClipDecorationProvider, EditManipulator, ModifyElementSource, ElementAgenda, ElementSetTool, EventController, IdleTool, MeasureDistanceTool, MeasureLocationTool, MeasureAreaByPointsTool, MeasureElementTool, MeasureLengthTool, MeasureAreaTool, MeasureVolumeTool, PrimitiveTool, SelectionMethod, SelectionMode, SelectionProcessing, SelectionTool, BeButton, CoordinateLockOverrides, InputSource, CoordSource, BeModifierKeys, BeButtonState, BeButtonEvent, BeTouchEvent, BeWheelEvent, Tool, EventHandled, InteractiveTool, InputCollector, ParseAndRunResult, KeyinParseError, ToolRegistry, CoreTools, ToolSettings, StartOrResume, ManipulatorToolEvent, ToolSettingsState, ToolState, SuspendedToolState, CurrentInputState, ToolAdmin, WheelEventProcessor, ToolAssistanceImage, ToolAssistanceInputMethod, ToolAssistance, ViewHandleType, ViewTool, ViewingToolHandle, ViewHandleArray, ViewManip, PanViewTool, RotateViewTool, LookViewTool, ScrollViewTool, ZoomViewTool, LookAndMoveTool, WalkViewTool, FlyViewTool, FitViewTool, ViewGlobeSatelliteTool, ViewGlobeBirdTool, ViewGlobeLocationTool, ViewGlobeIModelTool, StandardViewTool, WindowAreaTool, DefaultViewTouchTool, ViewUndoTool, ViewRedoTool, ViewToggleCameraTool, SetupCameraTool, SetupWalkCameraTool, getFrustumPlaneIntersectionDepthRange, BackgroundMapGeometry, calculateEcefToDbTransformAtLocation, ViewCreator2d, ViewCreator3d, LocalhostIpcApp, RealityDataError, RealityDataSource */
|
|
100572
100703
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
100573
100704
|
|
|
100574
100705
|
"use strict";
|
|
@@ -100926,59 +101057,69 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
100926
101057
|
/* harmony import */ var _Tiles__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./Tiles */ "../../core/frontend/lib/esm/Tiles.js");
|
|
100927
101058
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Tiles", function() { return _Tiles__WEBPACK_IMPORTED_MODULE_54__["Tiles"]; });
|
|
100928
101059
|
|
|
100929
|
-
/* harmony import */ var
|
|
100930
|
-
/* harmony reexport
|
|
101060
|
+
/* harmony import */ var _UserPreferences__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./UserPreferences */ "../../core/frontend/lib/esm/UserPreferences.js");
|
|
101061
|
+
/* empty/unused harmony star reexport *//* harmony import */ var _ViewAnimation__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./ViewAnimation */ "../../core/frontend/lib/esm/ViewAnimation.js");
|
|
101062
|
+
/* empty/unused harmony star reexport *//* harmony import */ var _ViewContext__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./ViewContext */ "../../core/frontend/lib/esm/ViewContext.js");
|
|
101063
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RenderContext", function() { return _ViewContext__WEBPACK_IMPORTED_MODULE_57__["RenderContext"]; });
|
|
101064
|
+
|
|
101065
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DynamicsContext", function() { return _ViewContext__WEBPACK_IMPORTED_MODULE_57__["DynamicsContext"]; });
|
|
101066
|
+
|
|
101067
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DecorateContext", function() { return _ViewContext__WEBPACK_IMPORTED_MODULE_57__["DecorateContext"]; });
|
|
101068
|
+
|
|
101069
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SceneContext", function() { return _ViewContext__WEBPACK_IMPORTED_MODULE_57__["SceneContext"]; });
|
|
101070
|
+
|
|
101071
|
+
/* harmony import */ var _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./ViewGlobalLocation */ "../../core/frontend/lib/esm/ViewGlobalLocation.js");
|
|
101072
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ViewGlobalLocationConstants", function() { return _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_58__["ViewGlobalLocationConstants"]; });
|
|
101073
|
+
|
|
101074
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "metersToRange", function() { return _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_58__["metersToRange"]; });
|
|
100931
101075
|
|
|
100932
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
101076
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "queryTerrainElevationOffset", function() { return _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_58__["queryTerrainElevationOffset"]; });
|
|
100933
101077
|
|
|
100934
|
-
/* harmony
|
|
100935
|
-
/* empty/unused harmony star reexport *//* harmony import */ var _ViewAnimation__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./ViewAnimation */ "../../core/frontend/lib/esm/ViewAnimation.js");
|
|
100936
|
-
/* empty/unused harmony star reexport *//* harmony import */ var _ViewContext__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./ViewContext */ "../../core/frontend/lib/esm/ViewContext.js");
|
|
100937
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RenderContext", function() { return _ViewContext__WEBPACK_IMPORTED_MODULE_58__["RenderContext"]; });
|
|
101078
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "areaToEyeHeight", function() { return _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_58__["areaToEyeHeight"]; });
|
|
100938
101079
|
|
|
100939
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
101080
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "areaToEyeHeightFromGcs", function() { return _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_58__["areaToEyeHeightFromGcs"]; });
|
|
100940
101081
|
|
|
100941
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
101082
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "rangeToCartographicArea", function() { return _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_58__["rangeToCartographicArea"]; });
|
|
100942
101083
|
|
|
100943
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
101084
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "eyeToCartographicOnGlobe", function() { return _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_58__["eyeToCartographicOnGlobe"]; });
|
|
100944
101085
|
|
|
100945
|
-
/* harmony
|
|
100946
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ViewGlobalLocationConstants", function() { return _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_59__["ViewGlobalLocationConstants"]; });
|
|
101086
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "eyeToCartographicOnGlobeFromGcs", function() { return _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_58__["eyeToCartographicOnGlobeFromGcs"]; });
|
|
100947
101087
|
|
|
100948
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
101088
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "viewGlobalLocation", function() { return _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_58__["viewGlobalLocation"]; });
|
|
100949
101089
|
|
|
100950
|
-
/* harmony
|
|
101090
|
+
/* harmony import */ var _ViewingSpace__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./ViewingSpace */ "../../core/frontend/lib/esm/ViewingSpace.js");
|
|
101091
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ViewingSpace", function() { return _ViewingSpace__WEBPACK_IMPORTED_MODULE_59__["ViewingSpace"]; });
|
|
100951
101092
|
|
|
100952
|
-
/* harmony
|
|
101093
|
+
/* harmony import */ var _ViewManager__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./ViewManager */ "../../core/frontend/lib/esm/ViewManager.js");
|
|
101094
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ViewManager", function() { return _ViewManager__WEBPACK_IMPORTED_MODULE_60__["ViewManager"]; });
|
|
100953
101095
|
|
|
100954
|
-
/* harmony
|
|
101096
|
+
/* harmony import */ var _Viewport__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./Viewport */ "../../core/frontend/lib/esm/Viewport.js");
|
|
101097
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DepthPointSource", function() { return _Viewport__WEBPACK_IMPORTED_MODULE_61__["DepthPointSource"]; });
|
|
100955
101098
|
|
|
100956
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
101099
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ViewUndoEvent", function() { return _Viewport__WEBPACK_IMPORTED_MODULE_61__["ViewUndoEvent"]; });
|
|
100957
101100
|
|
|
100958
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
101101
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ELEMENT_MARKED_FOR_REMOVAL", function() { return _Viewport__WEBPACK_IMPORTED_MODULE_61__["ELEMENT_MARKED_FOR_REMOVAL"]; });
|
|
100959
101102
|
|
|
100960
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
101103
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Viewport", function() { return _Viewport__WEBPACK_IMPORTED_MODULE_61__["Viewport"]; });
|
|
100961
101104
|
|
|
100962
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
101105
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ScreenViewport", function() { return _Viewport__WEBPACK_IMPORTED_MODULE_61__["ScreenViewport"]; });
|
|
100963
101106
|
|
|
100964
|
-
/* harmony
|
|
100965
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ViewingSpace", function() { return _ViewingSpace__WEBPACK_IMPORTED_MODULE_60__["ViewingSpace"]; });
|
|
101107
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "OffScreenViewport", function() { return _Viewport__WEBPACK_IMPORTED_MODULE_61__["OffScreenViewport"]; });
|
|
100966
101108
|
|
|
100967
|
-
/* harmony import */ var
|
|
100968
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
101109
|
+
/* harmony import */ var _ViewportSync__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./ViewportSync */ "../../core/frontend/lib/esm/ViewportSync.js");
|
|
101110
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "connectViewports", function() { return _ViewportSync__WEBPACK_IMPORTED_MODULE_62__["connectViewports"]; });
|
|
100969
101111
|
|
|
100970
|
-
/* harmony
|
|
100971
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DepthPointSource", function() { return _Viewport__WEBPACK_IMPORTED_MODULE_62__["DepthPointSource"]; });
|
|
101112
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "synchronizeViewportViews", function() { return _ViewportSync__WEBPACK_IMPORTED_MODULE_62__["synchronizeViewportViews"]; });
|
|
100972
101113
|
|
|
100973
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
101114
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "synchronizeViewportFrusta", function() { return _ViewportSync__WEBPACK_IMPORTED_MODULE_62__["synchronizeViewportFrusta"]; });
|
|
100974
101115
|
|
|
100975
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
101116
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "connectViewportFrusta", function() { return _ViewportSync__WEBPACK_IMPORTED_MODULE_62__["connectViewportFrusta"]; });
|
|
100976
101117
|
|
|
100977
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
101118
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "connectViewportViews", function() { return _ViewportSync__WEBPACK_IMPORTED_MODULE_62__["connectViewportViews"]; });
|
|
100978
101119
|
|
|
100979
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
101120
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TwoWayViewportSync", function() { return _ViewportSync__WEBPACK_IMPORTED_MODULE_62__["TwoWayViewportSync"]; });
|
|
100980
101121
|
|
|
100981
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
101122
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TwoWayViewportFrustumSync", function() { return _ViewportSync__WEBPACK_IMPORTED_MODULE_62__["TwoWayViewportFrustumSync"]; });
|
|
100982
101123
|
|
|
100983
101124
|
/* harmony import */ var _ViewPose__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./ViewPose */ "../../core/frontend/lib/esm/ViewPose.js");
|
|
100984
101125
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ViewPose", function() { return _ViewPose__WEBPACK_IMPORTED_MODULE_63__["ViewPose"]; });
|
|
@@ -138924,13 +139065,12 @@ class ClassifierTreeSupplier {
|
|
|
138924
139065
|
return undefined;
|
|
138925
139066
|
const idStr = Object(_itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["iModelTileTreeIdToString"])(id.modelId, id, _IModelApp__WEBPACK_IMPORTED_MODULE_2__["IModelApp"].tileAdmin);
|
|
138926
139067
|
const props = await _IModelApp__WEBPACK_IMPORTED_MODULE_2__["IModelApp"].tileAdmin.requestTileTreeProps(iModel, idStr);
|
|
138927
|
-
const
|
|
138928
|
-
|
|
139068
|
+
const params = Object(_internal__WEBPACK_IMPORTED_MODULE_4__["iModelTileTreeParamsFromJSON"])(props, iModel, id.modelId, {
|
|
139069
|
+
edges: false,
|
|
138929
139070
|
allowInstancing: false,
|
|
138930
139071
|
is3d: true,
|
|
138931
139072
|
batchType: id.type,
|
|
138932
|
-
};
|
|
138933
|
-
const params = Object(_internal__WEBPACK_IMPORTED_MODULE_4__["iModelTileTreeParamsFromJSON"])(props, iModel, id.modelId, options);
|
|
139073
|
+
});
|
|
138934
139074
|
return new _internal__WEBPACK_IMPORTED_MODULE_4__["IModelTileTree"](params, id);
|
|
138935
139075
|
}
|
|
138936
139076
|
getOwner(id, iModel) {
|
|
@@ -139531,7 +139671,9 @@ class GraphicsTile extends _internal__WEBPACK_IMPORTED_MODULE_4__["Tile"] {
|
|
|
139531
139671
|
formatVersion: idProvider.majorFormatVersion,
|
|
139532
139672
|
location: this.tree.iModelTransform.toJSON(),
|
|
139533
139673
|
contentFlags: idProvider.contentFlags,
|
|
139534
|
-
omitEdges: !this.tree.
|
|
139674
|
+
omitEdges: !this.tree.edgeOptions,
|
|
139675
|
+
edgeType: this.tree.edgeOptions && this.tree.edgeOptions.indexed ? 2 : 1,
|
|
139676
|
+
smoothPolyfaceEdges: this.tree.edgeOptions && this.tree.edgeOptions.smooth,
|
|
139535
139677
|
clipToProjectExtents: true,
|
|
139536
139678
|
sectionCut: this.tree.stringifiedSectionClip,
|
|
139537
139679
|
};
|
|
@@ -139553,7 +139695,7 @@ class GraphicsTile extends _internal__WEBPACK_IMPORTED_MODULE_4__["Tile"] {
|
|
|
139553
139695
|
const reader = _internal__WEBPACK_IMPORTED_MODULE_4__["ImdlReader"].create({
|
|
139554
139696
|
stream, iModel, modelId, is3d, system, isCanceled, containsTransformNodes,
|
|
139555
139697
|
type: tree.batchType,
|
|
139556
|
-
loadEdges: tree.
|
|
139698
|
+
loadEdges: false !== tree.edgeOptions,
|
|
139557
139699
|
options: { tileId: this.contentId },
|
|
139558
139700
|
});
|
|
139559
139701
|
let content = { isLeaf: true };
|
|
@@ -141301,7 +141443,7 @@ class IModelTile extends _internal__WEBPACK_IMPORTED_MODULE_4__["Tile"] {
|
|
|
141301
141443
|
const reader = _internal__WEBPACK_IMPORTED_MODULE_4__["ImdlReader"].create({
|
|
141302
141444
|
stream: streamBuffer,
|
|
141303
141445
|
type: tree.batchType,
|
|
141304
|
-
loadEdges: tree.
|
|
141446
|
+
loadEdges: false !== tree.edgeOptions,
|
|
141305
141447
|
options: { tileId: this.contentId },
|
|
141306
141448
|
iModel, modelId, is3d, system, isCanceled, sizeMultiplier, containsTransformNodes,
|
|
141307
141449
|
});
|
|
@@ -141965,7 +142107,7 @@ class IModelTileTree extends _internal__WEBPACK_IMPORTED_MODULE_6__["TileTree"]
|
|
|
141965
142107
|
get isContentUnbounded() { return false; }
|
|
141966
142108
|
get viewFlagOverrides() { return viewFlagOverrides; }
|
|
141967
142109
|
get batchType() { return this._options.batchType; }
|
|
141968
|
-
get
|
|
142110
|
+
get edgeOptions() { return this._options.edges; }
|
|
141969
142111
|
get loadPriority() {
|
|
141970
142112
|
// If the model has been modified, we want to prioritize keeping its graphics up to date.
|
|
141971
142113
|
return this.tileState === "dynamic" ? _internal__WEBPACK_IMPORTED_MODULE_6__["TileLoadPriority"].Dynamic : super.loadPriority;
|
|
@@ -143986,7 +144128,7 @@ class PrimaryTreeSupplier {
|
|
|
143986
144128
|
const idStr = Object(_itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["iModelTileTreeIdToString"])(id.modelId, treeId, _IModelApp__WEBPACK_IMPORTED_MODULE_3__["IModelApp"].tileAdmin);
|
|
143987
144129
|
const props = await _IModelApp__WEBPACK_IMPORTED_MODULE_3__["IModelApp"].tileAdmin.requestTileTreeProps(iModel, idStr);
|
|
143988
144130
|
const options = {
|
|
143989
|
-
|
|
144131
|
+
edges: treeId.edges,
|
|
143990
144132
|
allowInstancing: undefined === treeId.animationId && !treeId.enforceDisplayPriority && !treeId.sectionCut && !id.forceNoInstancing,
|
|
143991
144133
|
is3d: id.is3d,
|
|
143992
144134
|
batchType: _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["BatchType"].Primary,
|
|
@@ -144147,7 +144289,7 @@ class PrimaryTreeReference extends _internal__WEBPACK_IMPORTED_MODULE_6__["TileT
|
|
|
144147
144289
|
const renderMode = (_a = this._viewFlagOverrides.renderMode) !== null && _a !== void 0 ? _a : view.viewFlags.renderMode;
|
|
144148
144290
|
const visibleEdges = (_b = this._viewFlagOverrides.visibleEdges) !== null && _b !== void 0 ? _b : view.viewFlags.visibleEdges;
|
|
144149
144291
|
const edgesRequired = visibleEdges || _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["RenderMode"].SmoothShade !== renderMode || _IModelApp__WEBPACK_IMPORTED_MODULE_3__["IModelApp"].tileAdmin.alwaysRequestEdges;
|
|
144150
|
-
const edges = edgesRequired ?
|
|
144292
|
+
const edges = edgesRequired ? _IModelApp__WEBPACK_IMPORTED_MODULE_3__["IModelApp"].tileAdmin.edgeOptions : false;
|
|
144151
144293
|
const sectionCut = (_c = this._sectionClip) === null || _c === void 0 ? void 0 : _c.clipString;
|
|
144152
144294
|
return { type: _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["BatchType"].Primary, edges, animationId, sectionCut };
|
|
144153
144295
|
}
|
|
@@ -144293,7 +144435,7 @@ class MaskTreeReference extends _internal__WEBPACK_IMPORTED_MODULE_6__["TileTree
|
|
|
144293
144435
|
return this._owner;
|
|
144294
144436
|
}
|
|
144295
144437
|
createTreeId() {
|
|
144296
|
-
return { type: _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["BatchType"].Primary, edges:
|
|
144438
|
+
return { type: _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["BatchType"].Primary, edges: false };
|
|
144297
144439
|
}
|
|
144298
144440
|
}
|
|
144299
144441
|
/** @internal */
|
|
@@ -144318,7 +144460,7 @@ class ModelMapLayerTileTreeReference extends _internal__WEBPACK_IMPORTED_MODULE_
|
|
|
144318
144460
|
get isPlanar() { return true; }
|
|
144319
144461
|
get activeClassifier() { return this._classifier; }
|
|
144320
144462
|
createTreeId() {
|
|
144321
|
-
return { type: _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["BatchType"].Primary, edges:
|
|
144463
|
+
return { type: _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["BatchType"].Primary, edges: false };
|
|
144322
144464
|
}
|
|
144323
144465
|
get treeOwner() {
|
|
144324
144466
|
const newId = this.createTreeId();
|
|
@@ -146971,7 +147113,7 @@ class TileAdmin {
|
|
|
146971
147113
|
* @internal
|
|
146972
147114
|
*/
|
|
146973
147115
|
constructor(isMobile, rpcConcurrency, options) {
|
|
146974
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
147116
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
146975
147117
|
this._users = new Set();
|
|
146976
147118
|
this._requestsPerUser = new Map();
|
|
146977
147119
|
this._tileUsagePerUser = new Map();
|
|
@@ -146997,17 +147139,18 @@ class TileAdmin {
|
|
|
146997
147139
|
this._retryInterval = undefined !== options.retryInterval ? options.retryInterval : 1000;
|
|
146998
147140
|
this._enableInstancing = (_b = options.enableInstancing) !== null && _b !== void 0 ? _b : _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["defaultTileOptions"].enableInstancing;
|
|
146999
147141
|
this._enableIndexedEdges = (_c = options.enableIndexedEdges) !== null && _c !== void 0 ? _c : _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["defaultTileOptions"].enableIndexedEdges;
|
|
147000
|
-
this.
|
|
147001
|
-
this.
|
|
147002
|
-
this.
|
|
147003
|
-
this.
|
|
147142
|
+
this._generateAllPolyfaceEdges = (_d = options.generateAllPolyfaceEdges) !== null && _d !== void 0 ? _d : _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["defaultTileOptions"].generateAllPolyfaceEdges;
|
|
147143
|
+
this.enableImprovedElision = (_e = options.enableImprovedElision) !== null && _e !== void 0 ? _e : _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["defaultTileOptions"].enableImprovedElision;
|
|
147144
|
+
this.ignoreAreaPatterns = (_f = options.ignoreAreaPatterns) !== null && _f !== void 0 ? _f : _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["defaultTileOptions"].ignoreAreaPatterns;
|
|
147145
|
+
this.enableExternalTextures = (_g = options.enableExternalTextures) !== null && _g !== void 0 ? _g : _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["defaultTileOptions"].enableExternalTextures;
|
|
147146
|
+
this.disableMagnification = (_h = options.disableMagnification) !== null && _h !== void 0 ? _h : _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["defaultTileOptions"].disableMagnification;
|
|
147004
147147
|
this.alwaysRequestEdges = true === options.alwaysRequestEdges;
|
|
147005
|
-
this.alwaysSubdivideIncompleteTiles = (
|
|
147006
|
-
this.maximumMajorTileFormatVersion = (
|
|
147007
|
-
this.useProjectExtents = (
|
|
147008
|
-
this.optimizeBRepProcessing = (
|
|
147009
|
-
this.useLargerTiles = (
|
|
147010
|
-
this.mobileRealityTileMinToleranceRatio = Math.max((
|
|
147148
|
+
this.alwaysSubdivideIncompleteTiles = (_j = options.alwaysSubdivideIncompleteTiles) !== null && _j !== void 0 ? _j : _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["defaultTileOptions"].alwaysSubdivideIncompleteTiles;
|
|
147149
|
+
this.maximumMajorTileFormatVersion = (_k = options.maximumMajorTileFormatVersion) !== null && _k !== void 0 ? _k : _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["defaultTileOptions"].maximumMajorTileFormatVersion;
|
|
147150
|
+
this.useProjectExtents = (_l = options.useProjectExtents) !== null && _l !== void 0 ? _l : _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["defaultTileOptions"].useProjectExtents;
|
|
147151
|
+
this.optimizeBRepProcessing = (_m = options.optimizeBRepProcessing) !== null && _m !== void 0 ? _m : _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["defaultTileOptions"].optimizeBRepProcessing;
|
|
147152
|
+
this.useLargerTiles = (_o = options.useLargerTiles) !== null && _o !== void 0 ? _o : _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["defaultTileOptions"].useLargerTiles;
|
|
147153
|
+
this.mobileRealityTileMinToleranceRatio = Math.max((_p = options.mobileRealityTileMinToleranceRatio) !== null && _p !== void 0 ? _p : 3.0, 1.0);
|
|
147011
147154
|
this.cesiumIonKey = options.cesiumIonKey;
|
|
147012
147155
|
const gpuMemoryLimits = options.gpuMemoryLimits;
|
|
147013
147156
|
let gpuMemoryLimit;
|
|
@@ -147034,9 +147177,9 @@ class TileAdmin {
|
|
|
147034
147177
|
const minTileTime = ignoreMinimums ? 0.1 : 5;
|
|
147035
147178
|
const minTreeTime = ignoreMinimums ? 0.1 : 10;
|
|
147036
147179
|
// If unspecified, tile expiration time defaults to 20 seconds.
|
|
147037
|
-
this.tileExpirationTime = clamp(((
|
|
147180
|
+
this.tileExpirationTime = clamp(((_q = options.tileExpirationTime) !== null && _q !== void 0 ? _q : 20), minTileTime, 60);
|
|
147038
147181
|
// If unspecified, trees never expire (will change this to use a default later).
|
|
147039
|
-
this.tileTreeExpirationTime = clamp((
|
|
147182
|
+
this.tileTreeExpirationTime = clamp((_r = options.tileTreeExpirationTime) !== null && _r !== void 0 ? _r : 300, minTreeTime, 3600);
|
|
147040
147183
|
const now = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["BeTimePoint"].now();
|
|
147041
147184
|
this._nextPruneTime = now.plus(this.tileExpirationTime);
|
|
147042
147185
|
this._nextPurgeTime = now.plus(this.tileTreeExpirationTime);
|
|
@@ -147088,6 +147231,16 @@ class TileAdmin {
|
|
|
147088
147231
|
get enableInstancing() { return this._enableInstancing && _IModelApp__WEBPACK_IMPORTED_MODULE_2__["IModelApp"].renderSystem.supportsInstancing; }
|
|
147089
147232
|
/** @internal */
|
|
147090
147233
|
get enableIndexedEdges() { return this._enableIndexedEdges && _IModelApp__WEBPACK_IMPORTED_MODULE_2__["IModelApp"].renderSystem.supportsIndexedEdges; }
|
|
147234
|
+
/** @internal */
|
|
147235
|
+
get generateAllPolyfaceEdges() { return this._generateAllPolyfaceEdges; }
|
|
147236
|
+
set generateAllPolyfaceEdges(val) { this._generateAllPolyfaceEdges = val; }
|
|
147237
|
+
/** @internal */
|
|
147238
|
+
get edgeOptions() {
|
|
147239
|
+
return {
|
|
147240
|
+
indexed: this.enableIndexedEdges,
|
|
147241
|
+
smooth: this.generateAllPolyfaceEdges,
|
|
147242
|
+
};
|
|
147243
|
+
}
|
|
147091
147244
|
/** Given a numeric combined major+minor tile format version (typically obtained from a request to the backend to query the maximum tile format version it supports),
|
|
147092
147245
|
* return the maximum *major* format version to be used to request tile content from the backend.
|
|
147093
147246
|
* @see [[TileAdmin.Props.maximumMajorTileFormatVersion]]
|
|
@@ -147399,7 +147552,7 @@ class TileAdmin {
|
|
|
147399
147552
|
*/
|
|
147400
147553
|
async requestElementGraphics(iModel, requestProps) {
|
|
147401
147554
|
if (true !== requestProps.omitEdges && undefined === requestProps.edgeType)
|
|
147402
|
-
requestProps = { ...requestProps, edgeType: this.enableIndexedEdges ?
|
|
147555
|
+
requestProps = { ...requestProps, edgeType: this.enableIndexedEdges ? 2 : 1 };
|
|
147403
147556
|
this.initializeRpc();
|
|
147404
147557
|
const intfc = _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["IModelTileRpcInterface"].getClient();
|
|
147405
147558
|
return intfc.requestElementGraphics(iModel.getRpcProps(), requestProps);
|
|
@@ -169560,7 +169713,7 @@ SetupWalkCameraTool.iconSpec = "icon-camera-location";
|
|
|
169560
169713
|
/*! exports provided: name, version, description, main, module, typings, license, scripts, repository, keywords, author, peerDependencies, //devDependencies, devDependencies, //dependencies, dependencies, nyc, eslintConfig, default */
|
|
169561
169714
|
/***/ (function(module) {
|
|
169562
169715
|
|
|
169563
|
-
module.exports = JSON.parse("{\"name\":\"@itwin/core-frontend\",\"version\":\"3.
|
|
169716
|
+
module.exports = JSON.parse("{\"name\":\"@itwin/core-frontend\",\"version\":\"3.3.0-dev.0\",\"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\",\"build:ci\":\"npm run -s build && npm run -s build:esm\",\"build:cjs\":\"tsc 1>&2 --outDir lib/cjs\",\"build:esm\":\"tsc 1>&2 --module ES2020 --outDir lib/esm\",\"clean\":\"rimraf lib .rush/temp/package-deps*.json\",\"copy:public\":\"cpx \\\"./src/public/**/*\\\" ./lib/public\",\"docs\":\"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/primitives,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts\",\"extract-api\":\"betools extract-api --entry=core-frontend && npm run extract-extension-api\",\"extract-extension-api\":\"eslint --no-eslintrc -c \\\"../../tools/eslint-plugin/dist/configs/extension-exports-config.js\\\" \\\"./src/**/*.ts\\\" 1>&2\",\"lint\":\"eslint -f visualstudio \\\"./src/**/*.ts\\\" 1>&2\",\"pseudolocalize\":\"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO\",\"test\":\"npm run -s webpackTests && certa -r chrome\",\"cover\":\"npm -s test\",\"test:debug\":\"certa -r chrome --debug\",\"webpackTests\":\"webpack --config ./src/test/utils/webpack.config.js 1>&2\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/iTwin/itwinjs-core/tree/master/core/frontend\"},\"keywords\":[\"Bentley\",\"BIM\",\"iModel\",\"digital-twin\",\"iTwin\"],\"author\":{\"name\":\"Bentley Systems, Inc.\",\"url\":\"http://www.bentley.com\"},\"peerDependencies\":{\"@itwin/appui-abstract\":\"workspace:^3.3.0-dev.0\",\"@itwin/core-bentley\":\"workspace:^3.3.0-dev.0\",\"@itwin/core-common\":\"workspace:^3.3.0-dev.0\",\"@itwin/core-geometry\":\"workspace:^3.3.0-dev.0\",\"@itwin/core-orbitgt\":\"workspace:^3.3.0-dev.0\",\"@itwin/core-quantity\":\"workspace:^3.3.0-dev.0\",\"@itwin/webgl-compatibility\":\"workspace:^3.3.0-dev.0\"},\"//devDependencies\":[\"NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install\",\"NOTE: All tools used by scripts in this package must be listed as devDependencies\"],\"devDependencies\":{\"@itwin/appui-abstract\":\"workspace:*\",\"@itwin/build-tools\":\"workspace:*\",\"@itwin/core-bentley\":\"workspace:*\",\"@itwin/core-common\":\"workspace:*\",\"@itwin/core-geometry\":\"workspace:*\",\"@itwin/core-orbitgt\":\"workspace:*\",\"@itwin/core-quantity\":\"workspace:*\",\"@itwin/certa\":\"workspace:*\",\"@itwin/eslint-plugin\":\"workspace:*\",\"@itwin/webgl-compatibility\":\"workspace:*\",\"@types/chai\":\"^4.1.4\",\"@types/chai-as-promised\":\"^7\",\"@types/deep-assign\":\"^0.1.0\",\"@types/lodash\":\"^4.14.0\",\"@types/mocha\":\"^8.2.2\",\"@types/node\":\"16.11.7\",\"@types/qs\":\"^6.5.0\",\"@types/semver\":\"^5.5.0\",\"@types/superagent\":\"^4.1.14\",\"@types/sinon\":\"^9.0.0\",\"chai\":\"^4.1.2\",\"chai-as-promised\":\"^7\",\"cpx2\":\"^3.0.0\",\"eslint\":\"^7.11.0\",\"glob\":\"^7.1.2\",\"mocha\":\"^8.3.2\",\"nyc\":\"^15.1.0\",\"rimraf\":\"^3.0.2\",\"sinon\":\"^9.0.2\",\"source-map-loader\":\"^1.0.0\",\"typescript\":\"~4.4.0\",\"webpack\":\"4.42.0\"},\"//dependencies\":[\"NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API\",\"NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed\"],\"dependencies\":{\"@itwin/core-i18n\":\"workspace:*\",\"@itwin/core-telemetry\":\"workspace:*\",\"@loaders.gl/core\":\"^3.1.6\",\"@loaders.gl/draco\":\"^3.1.6\",\"deep-assign\":\"^2.0.0\",\"fuse.js\":\"^3.3.0\",\"lodash\":\"^4.17.10\",\"qs\":\"^6.5.1\",\"semver\":\"^5.5.0\",\"superagent\":\"^7.0.1\",\"wms-capabilities\":\"0.4.0\",\"xml-js\":\"~1.6.11\"},\"nyc\":{\"extends\":\"./node_modules/@itwin/build-tools/.nycrc\"},\"eslintConfig\":{\"plugins\":[\"@itwin\"],\"extends\":\"plugin:@itwin/itwinjs-recommended\",\"rules\":{\"@itwin/no-internal-barrel-imports\":[\"error\",{\"required-barrel-modules\":[\"./src/tile/internal.ts\"]}],\"@itwin/public-extension-exports\":[\"error\",{\"releaseTags\":[\"public\",\"preview\"],\"outputApiFile\":false}]},\"overrides\":[{\"files\":[\"*.test.ts\",\"*.test.tsx\",\"**/test/**/*.ts\"],\"rules\":{\"@itwin/no-internal-barrel-imports\":\"off\"}}]}}");
|
|
169564
169717
|
|
|
169565
169718
|
/***/ }),
|
|
169566
169719
|
|
|
@@ -248112,7 +248265,7 @@ class XYParitySearchContext {
|
|
|
248112
248265
|
"use strict";
|
|
248113
248266
|
__webpack_require__.r(__webpack_exports__);
|
|
248114
248267
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ITwinLocalization", function() { return ITwinLocalization; });
|
|
248115
|
-
/* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.8.
|
|
248268
|
+
/* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.8.0/node_modules/i18next/dist/esm/i18next.js");
|
|
248116
248269
|
/* harmony import */ var i18next_browser_languagedetector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! i18next-browser-languagedetector */ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.4/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js");
|
|
248117
248270
|
/* harmony import */ var i18next_xhr_backend__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! i18next-xhr-backend */ "../../common/temp/node_modules/.pnpm/i18next-xhr-backend@3.2.2/node_modules/i18next-xhr-backend/dist/esm/i18nextXHRBackend.js");
|
|
248118
248271
|
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
@@ -283010,7 +283163,7 @@ class TestContext {
|
|
|
283010
283163
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
283011
283164
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${(_a = process.env.IMJS_URL_PREFIX) !== null && _a !== void 0 ? _a : ""}api.bentley.com/imodels` } });
|
|
283012
283165
|
await core_frontend_1.NoRenderApp.startup({
|
|
283013
|
-
applicationVersion: "3.
|
|
283166
|
+
applicationVersion: "3.3.0-dev.0",
|
|
283014
283167
|
applicationId: this.settings.gprid,
|
|
283015
283168
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
283016
283169
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|