@itwin/ecschema-rpcinterface-tests 5.1.0-dev.37 → 5.1.0-dev.39
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 +113 -92
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +16 -16
|
@@ -23837,7 +23837,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23837
23837
|
/**
|
|
23838
23838
|
* Mirrors the SpanKind enum from [@opentelemetry/api](https://open-telemetry.github.io/opentelemetry-js/enums/_opentelemetry_api.SpanKind.html)
|
|
23839
23839
|
* @public
|
|
23840
|
-
* @deprecated in 4.4 - OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
|
|
23840
|
+
* @deprecated in 4.4 - might be removed in next major version. OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
|
|
23841
23841
|
*/
|
|
23842
23842
|
var SpanKind;
|
|
23843
23843
|
(function (SpanKind) {
|
|
@@ -23897,7 +23897,7 @@ function flattenObject(obj) {
|
|
|
23897
23897
|
/**
|
|
23898
23898
|
* Enables OpenTelemetry tracing in addition to traditional logging.
|
|
23899
23899
|
* @public
|
|
23900
|
-
* @deprecated in 4.4 - OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
|
|
23900
|
+
* @deprecated in 4.4 - might be removed in next major version. OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
|
|
23901
23901
|
*/
|
|
23902
23902
|
class Tracing {
|
|
23903
23903
|
static _tracer;
|
|
@@ -27568,7 +27568,7 @@ class QueryOptionsBuilder {
|
|
|
27568
27568
|
* If set ECClassId, SourceECClassId and TargetECClassId system properties will return qualified name of class instead of a @typedef Id64String.
|
|
27569
27569
|
* @param val A boolean value.
|
|
27570
27570
|
* @returns @type QueryOptionsBuilder for fluent interface.
|
|
27571
|
-
* @deprecated in 4.11 Use ecsql function ec_classname to get class name instead.
|
|
27571
|
+
* @deprecated in 4.11 - might be removed in next major version. Use ecsql function ec_classname to get class name instead.
|
|
27572
27572
|
*/
|
|
27573
27573
|
setConvertClassIdsToNames(val) {
|
|
27574
27574
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
@@ -54873,7 +54873,7 @@ class IModelReadRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
54873
54873
|
async getViewStateData(_iModelToken, _viewDefinitionId, _options) { return this.forward(arguments); }
|
|
54874
54874
|
async readFontJson(_iModelToken) { return this.forward(arguments); } // eslint-disable-line @typescript-eslint/no-deprecated
|
|
54875
54875
|
async getToolTipMessage(_iModelToken, _elementId) { return this.forward(arguments); }
|
|
54876
|
-
/** @deprecated in 3.x
|
|
54876
|
+
/** @deprecated in 3.x - might be removed in next major version. Use ViewStore apis. */
|
|
54877
54877
|
async getViewThumbnail(_iModelToken, _viewId) { return this.forward(arguments); }
|
|
54878
54878
|
async getDefaultViewId(_iModelToken) { return this.forward(arguments); }
|
|
54879
54879
|
async getCustomViewState3dData(_iModelToken, _options) { return this.forward(arguments); }
|
|
@@ -55084,7 +55084,7 @@ class SnapshotIModelRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_
|
|
|
55084
55084
|
*/
|
|
55085
55085
|
async openFile(_filePath, _opts) { return this.forward(arguments); }
|
|
55086
55086
|
/**
|
|
55087
|
-
* @deprecated in 4.10. Use [[CheckpointConnection.openRemote]].
|
|
55087
|
+
* @deprecated in 4.10 - might be removed in next major version. Use [[CheckpointConnection.openRemote]].
|
|
55088
55088
|
*/
|
|
55089
55089
|
async openRemote(_key, _opts) { return this.forward(arguments); }
|
|
55090
55090
|
/**
|
|
@@ -55381,7 +55381,7 @@ var RpcResponseCacheControl;
|
|
|
55381
55381
|
})(RpcResponseCacheControl || (RpcResponseCacheControl = {}));
|
|
55382
55382
|
/** RPC protocol event types.
|
|
55383
55383
|
* @public
|
|
55384
|
-
* @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future.
|
|
55384
|
+
* @deprecated in 3.6 - might be removed in next major version. The RPC system will be significantly refactored (or replaced) in the future.
|
|
55385
55385
|
*/
|
|
55386
55386
|
var RpcProtocolEvent;
|
|
55387
55387
|
(function (RpcProtocolEvent) {
|
|
@@ -55401,7 +55401,7 @@ var RpcProtocolEvent;
|
|
|
55401
55401
|
})(RpcProtocolEvent || (RpcProtocolEvent = {}));
|
|
55402
55402
|
/** The status of an RPC operation request.
|
|
55403
55403
|
* @public
|
|
55404
|
-
* @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future.
|
|
55404
|
+
* @deprecated in 3.6 - might be removed in next major version. The RPC system will be significantly refactored (or replaced) in the future.
|
|
55405
55405
|
*/
|
|
55406
55406
|
var RpcRequestStatus;
|
|
55407
55407
|
(function (RpcRequestStatus) {
|
|
@@ -55421,7 +55421,7 @@ var RpcRequestStatus;
|
|
|
55421
55421
|
RpcRequestStatus[RpcRequestStatus["RequestTimeout"] = 13] = "RequestTimeout";
|
|
55422
55422
|
RpcRequestStatus[RpcRequestStatus["TooManyRequests"] = 14] = "TooManyRequests";
|
|
55423
55423
|
})(RpcRequestStatus || (RpcRequestStatus = {}));
|
|
55424
|
-
/** @public @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future. */
|
|
55424
|
+
/** @public @deprecated in 3.6 - might be removed in next major version. The RPC system will be significantly refactored (or replaced) in the future. */
|
|
55425
55425
|
(function (RpcRequestStatus) {
|
|
55426
55426
|
function isTransientError(status) {
|
|
55427
55427
|
return status === RpcRequestStatus.BadGateway || status === RpcRequestStatus.ServiceUnavailable || status === RpcRequestStatus.GatewayTimeout
|
|
@@ -55431,7 +55431,7 @@ var RpcRequestStatus;
|
|
|
55431
55431
|
})(RpcRequestStatus || (RpcRequestStatus = {}));
|
|
55432
55432
|
/** RPC request event types.
|
|
55433
55433
|
* @public
|
|
55434
|
-
* @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future.
|
|
55434
|
+
* @deprecated in 3.6 - might be removed in next major version. The RPC system will be significantly refactored (or replaced) in the future.
|
|
55435
55435
|
*/
|
|
55436
55436
|
var RpcRequestEvent;
|
|
55437
55437
|
(function (RpcRequestEvent) {
|
|
@@ -55441,7 +55441,7 @@ var RpcRequestEvent;
|
|
|
55441
55441
|
})(RpcRequestEvent || (RpcRequestEvent = {}));
|
|
55442
55442
|
/** RPC content types.
|
|
55443
55443
|
* @public
|
|
55444
|
-
* @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future.
|
|
55444
|
+
* @deprecated in 3.6 - might be removed in next major version. The RPC system will be significantly refactored (or replaced) in the future.
|
|
55445
55445
|
*/
|
|
55446
55446
|
var RpcContentType;
|
|
55447
55447
|
(function (RpcContentType) {
|
|
@@ -55453,7 +55453,7 @@ var RpcContentType;
|
|
|
55453
55453
|
})(RpcContentType || (RpcContentType = {}));
|
|
55454
55454
|
/** Endpoints for RPC protocols.
|
|
55455
55455
|
* @public
|
|
55456
|
-
* @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future.
|
|
55456
|
+
* @deprecated in 3.6 - might be removed in next major version. The RPC system will be significantly refactored (or replaced) in the future.
|
|
55457
55457
|
*/
|
|
55458
55458
|
var RpcEndpoint;
|
|
55459
55459
|
(function (RpcEndpoint) {
|
|
@@ -60099,7 +60099,7 @@ function computeChildTileProps(parent, idProvider, root) {
|
|
|
60099
60099
|
/** Deserializes tile content metadata.
|
|
60100
60100
|
* @throws [[TileReadError]]
|
|
60101
60101
|
* @internal
|
|
60102
|
-
* @deprecated in 4.0. Use decodeTileContentDescription. I think tile agents (or their tests) are using this function.
|
|
60102
|
+
* @deprecated in 4.0 - might be removed in next major version. Use decodeTileContentDescription. I think tile agents (or their tests) are using this function.
|
|
60103
60103
|
*/
|
|
60104
60104
|
function readTileContentDescription(stream, sizeMultiplier, is2d, options, isVolumeClassifier) {
|
|
60105
60105
|
return decodeTileContentDescription({ stream, sizeMultiplier, is2d, options, isVolumeClassifier });
|
|
@@ -60520,7 +60520,7 @@ class SchemaContext {
|
|
|
60520
60520
|
/**
|
|
60521
60521
|
* Adds the given SchemaItem to the the SchemaContext by locating the schema, with the best match of SchemaMatchType.Exact, and
|
|
60522
60522
|
* @param schemaItem The SchemaItem to add
|
|
60523
|
-
* @deprecated in 4.0 use ecschema-editing package
|
|
60523
|
+
* @deprecated in 4.0 - might be removed in next major version. use ecschema-editing package
|
|
60524
60524
|
*/
|
|
60525
60525
|
async addSchemaItem(schemaItem) {
|
|
60526
60526
|
const schema = await this.getSchema(schemaItem.key.schemaKey, _ECObjects__WEBPACK_IMPORTED_MODULE_0__.SchemaMatchType.Exact);
|
|
@@ -64033,7 +64033,7 @@ var SchemaMatchType;
|
|
|
64033
64033
|
(function (SchemaMatchType) {
|
|
64034
64034
|
/*
|
|
64035
64035
|
* Find exact VersionRead, VersionWrite, VersionMinor match as well as Data. NOTE data is not yet matched
|
|
64036
|
-
* @deprecated in 4.10 Use Exact instead.
|
|
64036
|
+
* @deprecated in 4.10 - might be removed in next major version. Use Exact instead.
|
|
64037
64037
|
*/
|
|
64038
64038
|
SchemaMatchType[SchemaMatchType["Identical"] = 0] = "Identical";
|
|
64039
64039
|
/* Find exact VersionRead, VersionWrite, VersionMinor match. */
|
|
@@ -64133,7 +64133,7 @@ function parseSchemaItemType(type) {
|
|
|
64133
64133
|
* @param value The SchemaItemType to stringify.
|
|
64134
64134
|
* @return A string representing the provided SchemaItemType. If the type is not valid, an empty string is returned.
|
|
64135
64135
|
* @beta
|
|
64136
|
-
* @deprecated in 4.6.0 SchemaItemType is a string enum so just use it directly
|
|
64136
|
+
* @deprecated in 4.6.0 - might be removed in next major version. SchemaItemType is a string enum so just use it directly
|
|
64137
64137
|
*/
|
|
64138
64138
|
function schemaItemTypeToString(value) {
|
|
64139
64139
|
return value; // TODO: Remove
|
|
@@ -65544,7 +65544,7 @@ class CustomAttributeClass extends _Class__WEBPACK_IMPORTED_MODULE_2__.ECClass {
|
|
|
65544
65544
|
static get schemaItemType() { return _ECObjects__WEBPACK_IMPORTED_MODULE_0__.SchemaItemType.CustomAttributeClass; }
|
|
65545
65545
|
_appliesTo;
|
|
65546
65546
|
/**
|
|
65547
|
-
* @deprecated in 4.8 use [[appliesTo]]
|
|
65547
|
+
* @deprecated in 4.8 - might be removed in next major version. use [[appliesTo]]
|
|
65548
65548
|
* */
|
|
65549
65549
|
get containerType() {
|
|
65550
65550
|
return this.appliesTo;
|
|
@@ -84480,7 +84480,7 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
84480
84480
|
return this.isOpen ? this._snapRpc.request(props) : { status: 2 };
|
|
84481
84481
|
}
|
|
84482
84482
|
/** @internal
|
|
84483
|
-
* @deprecated in 4.8. Use AccuSnap.doSnapRequest.
|
|
84483
|
+
* @deprecated in 4.8 - might be removed in next major version. Use AccuSnap.doSnapRequest.
|
|
84484
84484
|
*/
|
|
84485
84485
|
async requestSnap(props) {
|
|
84486
84486
|
return this[_common_internal_Symbols__WEBPACK_IMPORTED_MODULE_13__._requestSnap](props);
|
|
@@ -84521,7 +84521,7 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
84521
84521
|
return _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelReadRpcInterface.getClientForRouting(this.routingContext.token).getMassProperties(this.getRpcProps(), requestProps);
|
|
84522
84522
|
}
|
|
84523
84523
|
/** Request mass properties for multiple elements from the backend.
|
|
84524
|
-
* @deprecated in 4.11. Use [[IModelConnection.getMassProperties]].
|
|
84524
|
+
* @deprecated in 4.11 - might be removed in next major version. Use [[IModelConnection.getMassProperties]].
|
|
84525
84525
|
*/
|
|
84526
84526
|
async getMassPropertiesPerCandidate(requestProps) {
|
|
84527
84527
|
return _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelReadRpcInterface.getClientForRouting(this.routingContext.token).getMassPropertiesPerCandidate(this.getRpcProps(), requestProps);
|
|
@@ -84840,7 +84840,7 @@ class SnapshotConnection extends IModelConnection {
|
|
|
84840
84840
|
}
|
|
84841
84841
|
/** Open an IModelConnection to a remote read-only snapshot iModel from a key that will be resolved by the backend.
|
|
84842
84842
|
* @note This method is intended for web applications.
|
|
84843
|
-
* @deprecated in 4.10. Use [[CheckpointConnection.openRemote]].
|
|
84843
|
+
* @deprecated in 4.10 - might be removed in next major version. Use [[CheckpointConnection.openRemote]].
|
|
84844
84844
|
*/
|
|
84845
84845
|
static async openRemote(fileKey) {
|
|
84846
84846
|
const routingContext = _IModelRoutingContext__WEBPACK_IMPORTED_MODULE_6__.IModelRoutingContext.current || _IModelRoutingContext__WEBPACK_IMPORTED_MODULE_6__.IModelRoutingContext.default;
|
|
@@ -85247,7 +85247,7 @@ class SnapshotConnection extends IModelConnection {
|
|
|
85247
85247
|
* There is no guarantee that this view will be suitable for the purposes of any other applications.
|
|
85248
85248
|
* Most applications should ignore the default view and instead create a [[ViewState]] that fits their own requirements using APIs like [[ViewCreator3d]].
|
|
85249
85249
|
* @returns the Id of the default view as defined in the iModel's property table, or an invalid ID if no default view is defined.
|
|
85250
|
-
* @deprecated in 4.2. Create a ViewState to your own specifications.
|
|
85250
|
+
* @deprecated in 4.2 - might be removed in next major version. Create a ViewState to your own specifications.
|
|
85251
85251
|
*/
|
|
85252
85252
|
async queryDefaultViewId() {
|
|
85253
85253
|
const iModel = this._iModel;
|
|
@@ -85633,7 +85633,7 @@ class IpcApp {
|
|
|
85633
85633
|
throw Object.assign(new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.BackendError(err.errorNumber, err.iTwinErrorId.key, err.message, err.loggingMetadata), trimErr);
|
|
85634
85634
|
}
|
|
85635
85635
|
/** @internal
|
|
85636
|
-
* @deprecated in 4.8. Use [[makeIpcProxy]] for a type-safe interface.
|
|
85636
|
+
* @deprecated in 4.8 - might be removed in next major version. Use [[makeIpcProxy]] for a type-safe interface.
|
|
85637
85637
|
*/
|
|
85638
85638
|
static async callIpcChannel(channelName, methodName, ...args) {
|
|
85639
85639
|
return this[_common_internal_Symbols__WEBPACK_IMPORTED_MODULE_2__._callIpcChannel](channelName, methodName, ...args);
|
|
@@ -145144,6 +145144,7 @@ class SpatialRefs {
|
|
|
145144
145144
|
__webpack_require__.r(__webpack_exports__);
|
|
145145
145145
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
145146
145146
|
/* harmony export */ RealityModelTileTree: () => (/* binding */ RealityModelTileTree),
|
|
145147
|
+
/* harmony export */ RealityModelTileTreeProps: () => (/* binding */ RealityModelTileTreeProps),
|
|
145147
145148
|
/* harmony export */ RealityModelTileUtils: () => (/* binding */ RealityModelTileUtils),
|
|
145148
145149
|
/* harmony export */ RealityTileRegion: () => (/* binding */ RealityTileRegion),
|
|
145149
145150
|
/* harmony export */ RealityTreeReference: () => (/* binding */ RealityTreeReference),
|
|
@@ -145354,22 +145355,35 @@ var SMTextureType;
|
|
|
145354
145355
|
SMTextureType[SMTextureType["Embedded"] = 1] = "Embedded";
|
|
145355
145356
|
SMTextureType[SMTextureType["Streaming"] = 2] = "Streaming";
|
|
145356
145357
|
})(SMTextureType || (SMTextureType = {}));
|
|
145358
|
+
/** Exported strictly for tests. */
|
|
145357
145359
|
class RealityModelTileTreeProps {
|
|
145358
145360
|
tilesetToEcef;
|
|
145359
145361
|
location;
|
|
145360
145362
|
tilesetJson;
|
|
145361
145363
|
doDrapeBackgroundMap = false;
|
|
145362
|
-
|
|
145364
|
+
dataSource;
|
|
145363
145365
|
yAxisUp = false;
|
|
145364
145366
|
root;
|
|
145367
|
+
maximumScreenSpaceError;
|
|
145368
|
+
get usesGeometricError() {
|
|
145369
|
+
return undefined !== this.maximumScreenSpaceError;
|
|
145370
|
+
}
|
|
145365
145371
|
constructor(json, root, rdSource, tilesetToDbTransform, tilesetToEcef) {
|
|
145366
145372
|
this.tilesetToEcef = tilesetToEcef;
|
|
145367
145373
|
this.tilesetJson = root;
|
|
145368
|
-
this.
|
|
145374
|
+
this.dataSource = rdSource;
|
|
145369
145375
|
this.location = tilesetToDbTransform;
|
|
145370
145376
|
this.doDrapeBackgroundMap = (json.root && json.root.SMMasterHeader && SMTextureType.Streaming === json.root.SMMasterHeader.IsTextured);
|
|
145371
|
-
if (json.asset.gltfUpAxis === undefined || json.asset.gltfUpAxis === "y" || json.asset.gltfUpAxis === "Y")
|
|
145377
|
+
if (json.asset.gltfUpAxis === undefined || json.asset.gltfUpAxis === "y" || json.asset.gltfUpAxis === "Y") {
|
|
145372
145378
|
this.yAxisUp = true;
|
|
145379
|
+
}
|
|
145380
|
+
const maxSSE = json.asset.extras?.maximumScreenSpaceError;
|
|
145381
|
+
if (typeof maxSSE === "number") {
|
|
145382
|
+
this.maximumScreenSpaceError = json.asset.extras?.maximumScreenSpaceError;
|
|
145383
|
+
}
|
|
145384
|
+
else if (rdSource.usesGeometricError) {
|
|
145385
|
+
this.maximumScreenSpaceError = rdSource.maximumScreenSpaceError ?? 1;
|
|
145386
|
+
}
|
|
145373
145387
|
}
|
|
145374
145388
|
}
|
|
145375
145389
|
class RealityModelTileTreeParams {
|
|
@@ -145398,7 +145412,7 @@ class RealityModelTileTreeParams {
|
|
|
145398
145412
|
id: "",
|
|
145399
145413
|
// If not specified explicitly, additiveRefinement is inherited from parent tile.
|
|
145400
145414
|
additiveRefinement: undefined !== refine ? "ADD" === refine : undefined,
|
|
145401
|
-
usesGeometricError: loader.tree.
|
|
145415
|
+
usesGeometricError: loader.tree.usesGeometricError,
|
|
145402
145416
|
});
|
|
145403
145417
|
this.baseUrl = baseUrl;
|
|
145404
145418
|
}
|
|
@@ -145530,7 +145544,7 @@ class RealityModelTileLoader extends _tile_internal__WEBPACK_IMPORTED_MODULE_8__
|
|
|
145530
145544
|
get clipLowResolutionTiles() { return true; }
|
|
145531
145545
|
get viewFlagOverrides() { return this._viewFlagOverrides; }
|
|
145532
145546
|
get maximumScreenSpaceError() {
|
|
145533
|
-
return this.tree.
|
|
145547
|
+
return this.tree.maximumScreenSpaceError;
|
|
145534
145548
|
}
|
|
145535
145549
|
async loadChildren(tile) {
|
|
145536
145550
|
const props = await this.getChildrenProps(tile);
|
|
@@ -145559,7 +145573,7 @@ class RealityModelTileLoader extends _tile_internal__WEBPACK_IMPORTED_MODULE_8__
|
|
|
145559
145573
|
transformToRoot: foundChild.transformToRoot,
|
|
145560
145574
|
// If not specified explicitly, additiveRefinement is inherited from parent tile.
|
|
145561
145575
|
additiveRefinement: undefined !== refine ? refine === "ADD" : undefined,
|
|
145562
|
-
usesGeometricError: this.tree.
|
|
145576
|
+
usesGeometricError: this.tree.usesGeometricError,
|
|
145563
145577
|
}));
|
|
145564
145578
|
}
|
|
145565
145579
|
}
|
|
@@ -145574,7 +145588,7 @@ class RealityModelTileLoader extends _tile_internal__WEBPACK_IMPORTED_MODULE_8__
|
|
|
145574
145588
|
const foundChild = await this.findTileInJson(this.tree.tilesetJson, tile.contentId, "");
|
|
145575
145589
|
if (undefined === foundChild || undefined === foundChild.json.content || isCanceled())
|
|
145576
145590
|
return undefined;
|
|
145577
|
-
return this.tree.
|
|
145591
|
+
return this.tree.dataSource.getTileContent(getUrl(foundChild.json.content));
|
|
145578
145592
|
}
|
|
145579
145593
|
async findTileInJson(tilesetJson, id, parentId, transformToRoot) {
|
|
145580
145594
|
if (id.length === 0)
|
|
@@ -145595,7 +145609,7 @@ class RealityModelTileLoader extends _tile_internal__WEBPACK_IMPORTED_MODULE_8__
|
|
|
145595
145609
|
if (separatorIndex >= 0) {
|
|
145596
145610
|
return this.findTileInJson(foundChild, id.substring(separatorIndex + 1), thisParentId, transformToRoot);
|
|
145597
145611
|
}
|
|
145598
|
-
tilesetJson.children[childIndex] = await expandSubTree(foundChild, this.tree.
|
|
145612
|
+
tilesetJson.children[childIndex] = await expandSubTree(foundChild, this.tree.dataSource);
|
|
145599
145613
|
return new FindChildResult(thisParentId, tilesetJson.children[childIndex], transformToRoot);
|
|
145600
145614
|
}
|
|
145601
145615
|
}
|
|
@@ -145906,7 +145920,7 @@ class RealityTreeReference extends RealityModelTileTree.Reference {
|
|
|
145906
145920
|
return undefined;
|
|
145907
145921
|
const strings = [];
|
|
145908
145922
|
const loader = tree.loader;
|
|
145909
|
-
const type = loader.tree.
|
|
145923
|
+
const type = loader.tree.dataSource.realityDataType;
|
|
145910
145924
|
// If a type is specified, display it
|
|
145911
145925
|
if (type !== undefined) {
|
|
145912
145926
|
// Case insensitive
|
|
@@ -150282,7 +150296,6 @@ class FormattedQuantityDescription extends _itwin_appui_abstract__WEBPACK_IMPORT
|
|
|
150282
150296
|
_parserSpec;
|
|
150283
150297
|
constructor(argsOrName, displayLabel, iconSpec, kindOfQuantityName) {
|
|
150284
150298
|
if (typeof argsOrName === "string") {
|
|
150285
|
-
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
|
|
150286
150299
|
super(argsOrName, displayLabel, iconSpec, kindOfQuantityName);
|
|
150287
150300
|
}
|
|
150288
150301
|
else {
|
|
@@ -161497,6 +161510,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
161497
161510
|
/* harmony export */ QuadId: () => (/* reexport safe */ _map_QuadId__WEBPACK_IMPORTED_MODULE_2__.QuadId),
|
|
161498
161511
|
/* harmony export */ ReadonlyTileUserSet: () => (/* reexport safe */ _internal_tile_TileUserSet__WEBPACK_IMPORTED_MODULE_31__.ReadonlyTileUserSet),
|
|
161499
161512
|
/* harmony export */ RealityModelTileTree: () => (/* reexport safe */ _internal_tile_RealityModelTileTree__WEBPACK_IMPORTED_MODULE_78__.RealityModelTileTree),
|
|
161513
|
+
/* harmony export */ RealityModelTileTreeProps: () => (/* reexport safe */ _internal_tile_RealityModelTileTree__WEBPACK_IMPORTED_MODULE_78__.RealityModelTileTreeProps),
|
|
161500
161514
|
/* harmony export */ RealityModelTileUtils: () => (/* reexport safe */ _internal_tile_RealityModelTileTree__WEBPACK_IMPORTED_MODULE_78__.RealityModelTileUtils),
|
|
161501
161515
|
/* harmony export */ RealityTile: () => (/* reexport safe */ _RealityTile__WEBPACK_IMPORTED_MODULE_6__.RealityTile),
|
|
161502
161516
|
/* harmony export */ RealityTileDrawArgs: () => (/* reexport safe */ _internal_tile_RealityTileDrawArgs__WEBPACK_IMPORTED_MODULE_10__.RealityTileDrawArgs),
|
|
@@ -181704,7 +181718,7 @@ class Geometry {
|
|
|
181704
181718
|
static largeCoordinateResult = 1.0e13;
|
|
181705
181719
|
/**
|
|
181706
181720
|
* Numeric value that may considered infinite for metric coordinates.
|
|
181707
|
-
* @deprecated in 4.x. Use [[largeCoordinateResult]].
|
|
181721
|
+
* @deprecated in 4.x - might be removed in next major version. Use [[largeCoordinateResult]].
|
|
181708
181722
|
* * This coordinate should be used only as a placeholder indicating "at infinity" -- computing actual
|
|
181709
181723
|
* points at this coordinate invites numerical problems.
|
|
181710
181724
|
*/
|
|
@@ -181715,7 +181729,7 @@ class Geometry {
|
|
|
181715
181729
|
}
|
|
181716
181730
|
/**
|
|
181717
181731
|
* Test if the absolute value of x is at least [[largeCoordinateResult]].
|
|
181718
|
-
* @deprecated in 4.x. Use [[isLargeCoordinateResult]].
|
|
181732
|
+
* @deprecated in 4.x - might be removed in next major version. Use [[isLargeCoordinateResult]].
|
|
181719
181733
|
*/
|
|
181720
181734
|
static isHugeCoordinate(x) {
|
|
181721
181735
|
return Geometry.isLargeCoordinateResult(x);
|
|
@@ -182682,7 +182696,7 @@ class Geometry {
|
|
|
182682
182696
|
/**
|
|
182683
182697
|
* Clone an array whose members have type `T`, which implements the clone method.
|
|
182684
182698
|
* * If the clone method returns `undefined`, then `undefined` is forced into the cloned array.
|
|
182685
|
-
* @deprecated in 4.x. Use cloneArray.
|
|
182699
|
+
* @deprecated in 4.x - might be removed in next major version. Use cloneArray.
|
|
182686
182700
|
*/
|
|
182687
182701
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
182688
182702
|
static cloneMembers(array) {
|
|
@@ -183108,7 +183122,7 @@ class BSpline1dNd {
|
|
|
183108
183122
|
* Test if the leading and trailing polygon coordinates are replicated in the manner of a "closed" bspline polygon
|
|
183109
183123
|
* which has been expanded to act as a normal bspline.
|
|
183110
183124
|
* @returns true if `degree` leading and trailing polygon blocks match.
|
|
183111
|
-
* @deprecated in 4.x. Use `testClosablePolygon` instead.
|
|
183125
|
+
* @deprecated in 4.x - might be removed in next major version. Use `testClosablePolygon` instead.
|
|
183112
183126
|
*/
|
|
183113
183127
|
testCloseablePolygon(mode) {
|
|
183114
183128
|
return this.testClosablePolygon(mode);
|
|
@@ -185408,7 +185422,7 @@ var UVSelect;
|
|
|
185408
185422
|
UVSelect[UVSelect["uDirection"] = 0] = "uDirection";
|
|
185409
185423
|
/**
|
|
185410
185424
|
* index of v direction
|
|
185411
|
-
* @deprecated in 4.x. Use vDirection instead.
|
|
185425
|
+
* @deprecated in 4.x - might be removed in next major version. Use vDirection instead.
|
|
185412
185426
|
*/
|
|
185413
185427
|
UVSelect[UVSelect["VDirection"] = 1] = "VDirection";
|
|
185414
185428
|
/** index of v direction */
|
|
@@ -185635,7 +185649,7 @@ class BSpline2dNd extends _curve_GeometryQuery__WEBPACK_IMPORTED_MODULE_0__.Geom
|
|
|
185635
185649
|
}
|
|
185636
185650
|
/**
|
|
185637
185651
|
* sum poles by the weights in the basisBuffer, using poles for given span
|
|
185638
|
-
* @deprecated in 4.x. Use sumPoleBufferDerivativesForSpan instead.
|
|
185652
|
+
* @deprecated in 4.x - might be removed in next major version. Use sumPoleBufferDerivativesForSpan instead.
|
|
185639
185653
|
*/
|
|
185640
185654
|
sumpoleBufferDerivativesForSpan(spanIndexU, spanIndexV) {
|
|
185641
185655
|
return this.sumPoleBufferDerivativesForSpan(spanIndexU, spanIndexV);
|
|
@@ -185857,7 +185871,7 @@ class BSplineSurface3d extends BSpline2dNd {
|
|
|
185857
185871
|
getPointGridJSON() {
|
|
185858
185872
|
const result = {
|
|
185859
185873
|
points: _geometry3d_PointHelpers__WEBPACK_IMPORTED_MODULE_7__.Point3dArray.unpackNumbersToNestedArraysIJK(this.coffs, 3, this.numPolesUV(0)),
|
|
185860
|
-
weighStyle: WeightStyle.WeightsAlreadyAppliedToCoordinates, // @deprecated in 4.x. Use weightStyle instead.
|
|
185874
|
+
weighStyle: WeightStyle.WeightsAlreadyAppliedToCoordinates, // @deprecated in 4.x - might be removed in next major version. Use weightStyle instead.
|
|
185861
185875
|
weightStyle: WeightStyle.UnWeighted,
|
|
185862
185876
|
numCartesianDimensions: 3,
|
|
185863
185877
|
};
|
|
@@ -186270,7 +186284,7 @@ class BSplineSurface3dH extends BSpline2dNd {
|
|
|
186270
186284
|
const result = {
|
|
186271
186285
|
points: _geometry3d_PointHelpers__WEBPACK_IMPORTED_MODULE_7__.Point3dArray.unpackNumbersToNestedArraysIJK(this.coffs, 4, this.numPolesUV(0)),
|
|
186272
186286
|
numCartesianDimensions: 3,
|
|
186273
|
-
weighStyle: WeightStyle.WeightsAlreadyAppliedToCoordinates, // @deprecated in 4.x. Use weightStyle instead.
|
|
186287
|
+
weighStyle: WeightStyle.WeightsAlreadyAppliedToCoordinates, // @deprecated in 4.x - might be removed in next major version. Use weightStyle instead.
|
|
186274
186288
|
weightStyle: WeightStyle.WeightsAlreadyAppliedToCoordinates,
|
|
186275
186289
|
};
|
|
186276
186290
|
return result;
|
|
@@ -198980,7 +198994,7 @@ class CurveLocationDetailPair {
|
|
|
198980
198994
|
}
|
|
198981
198995
|
/**
|
|
198982
198996
|
* Data bundle for a pair of arrays of CurveLocationDetail structures.
|
|
198983
|
-
* @deprecated in 4.x. Use CurveLocationDetailPair[] instead.
|
|
198997
|
+
* @deprecated in 4.x - might be removed in next major version. Use CurveLocationDetailPair[] instead.
|
|
198984
198998
|
* @public
|
|
198985
198999
|
*/
|
|
198986
199000
|
class CurveLocationDetailArrayPair {
|
|
@@ -206686,7 +206700,7 @@ class StrokeOptions {
|
|
|
206686
206700
|
maxEdgeLength;
|
|
206687
206701
|
/**
|
|
206688
206702
|
* Caller expects convex facets.
|
|
206689
|
-
* @deprecated in 4.x -
|
|
206703
|
+
* @deprecated in 4.x - might be removed in next major version. Never used. See [[shouldTriangulate]] and [[maximizeConvexFacets]].
|
|
206690
206704
|
*/
|
|
206691
206705
|
needConvexFacets;
|
|
206692
206706
|
/** Minimum strokes on a primitive. */
|
|
@@ -220954,7 +220968,7 @@ class GrowableXYArray extends _IndexedXYCollection__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
220954
220968
|
return result;
|
|
220955
220969
|
}
|
|
220956
220970
|
/** Restructure MultiLineStringDataVariant as array of GrowableXYZArray
|
|
220957
|
-
* @deprecated in 4.x. Moved to GrowableXYZArray class.
|
|
220971
|
+
* @deprecated in 4.x - might be removed in next major version. Moved to GrowableXYZArray class.
|
|
220958
220972
|
*/
|
|
220959
220973
|
static createArrayOfGrowableXYZArray(data) {
|
|
220960
220974
|
return _GrowableXYZArray__WEBPACK_IMPORTED_MODULE_1__.GrowableXYZArray.createArrayOfGrowableXYZArray(data);
|
|
@@ -239637,7 +239651,7 @@ class Point4d extends _geometry3d_Plane3d__WEBPACK_IMPORTED_MODULE_0__.Plane3d {
|
|
|
239637
239651
|
* extract 4 consecutive numbers from a Float64Array into a Point4d.
|
|
239638
239652
|
* @param data buffer of numbers
|
|
239639
239653
|
* @param xIndex first index for x,y,z,w sequence. Assumed to be a valid index!
|
|
239640
|
-
* @deprecated in 4.x. Use createFromPacked instead.
|
|
239654
|
+
* @deprecated in 4.x - might be removed in next major version. Use createFromPacked instead.
|
|
239641
239655
|
*/
|
|
239642
239656
|
static createFromPackedXYZW(data, xIndex = 0, result) {
|
|
239643
239657
|
return Point4d.create(data[xIndex], data[xIndex + 1], data[xIndex + 2], data[xIndex + 3], result);
|
|
@@ -248961,7 +248975,7 @@ class IndexedPolyface extends Polyface {
|
|
|
248961
248975
|
}
|
|
248962
248976
|
/**
|
|
248963
248977
|
* Clean up the open facet.
|
|
248964
|
-
* @deprecated in 4.x to remove nebulous "open facet" concept from the API. Call [[PolyfaceData.trimAllIndexArrays]]
|
|
248978
|
+
* @deprecated in 4.x - might be removed in next major version. to remove nebulous "open facet" concept from the API. Call [[PolyfaceData.trimAllIndexArrays]]
|
|
248965
248979
|
* instead.
|
|
248966
248980
|
*/
|
|
248967
248981
|
cleanupOpenFacet() {
|
|
@@ -249111,7 +249125,7 @@ class IndexedPolyface extends Polyface {
|
|
|
249111
249125
|
}
|
|
249112
249126
|
/**
|
|
249113
249127
|
* Given the index of a facet, return the data pertaining to the face it is a part of.
|
|
249114
|
-
* @deprecated in 4.x. Use [[IndexedPolyface.tryGetFaceData]], which verifies the index is in range.
|
|
249128
|
+
* @deprecated in 4.x - might be removed in next major version. Use [[IndexedPolyface.tryGetFaceData]], which verifies the index is in range.
|
|
249115
249129
|
*/
|
|
249116
249130
|
getFaceDataByFacetIndex(facetIndex) {
|
|
249117
249131
|
return this.data.face[this._facetToFaceData[facetIndex]];
|
|
@@ -250333,7 +250347,7 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
|
|
|
250333
250347
|
* Apply stroke counts to curve primitives.
|
|
250334
250348
|
* * Recursively visit all children of data.
|
|
250335
250349
|
* * At each primitive, invoke `computeStrokeCountForOptions` method with options from the builder.
|
|
250336
|
-
* @deprecated in 4.x. This method does nothing and is unneeded.
|
|
250350
|
+
* @deprecated in 4.x - might be removed in next major version. This method does nothing and is unneeded.
|
|
250337
250351
|
*/
|
|
250338
250352
|
applyStrokeCountsToCurvePrimitives(data) {
|
|
250339
250353
|
const options = this._options;
|
|
@@ -252372,7 +252386,7 @@ class PolyfaceData {
|
|
|
252372
252386
|
}
|
|
252373
252387
|
/**
|
|
252374
252388
|
* Resize all data arrays to the specified `length`.
|
|
252375
|
-
* @deprecated in 4.x because name is misleading. Call [[PolyfaceData.resizeAllArrays]] instead.
|
|
252389
|
+
* @deprecated in 4.x - might be removed in next major version. because name is misleading. Call [[PolyfaceData.resizeAllArrays]] instead.
|
|
252376
252390
|
*/
|
|
252377
252391
|
resizeAllDataArrays(length) {
|
|
252378
252392
|
if (length > this.point.length) {
|
|
@@ -253944,7 +253958,7 @@ class PolyfaceQuery {
|
|
|
253944
253958
|
});
|
|
253945
253959
|
return builder.claimPolyface(true);
|
|
253946
253960
|
}
|
|
253947
|
-
/** @deprecated in 4.x. Use [[sweepLineStringToFacetsXYReturnSweptFacets]] instead. */
|
|
253961
|
+
/** @deprecated in 4.x - might be removed in next major version. Use [[sweepLineStringToFacetsXYReturnSweptFacets]] instead. */
|
|
253948
253962
|
static sweepLinestringToFacetsXYreturnSweptFacets(linestringPoints, polyface) {
|
|
253949
253963
|
return this.sweepLineStringToFacetsXYReturnSweptFacets(linestringPoints, polyface);
|
|
253950
253964
|
}
|
|
@@ -254047,7 +254061,7 @@ class PolyfaceQuery {
|
|
|
254047
254061
|
* * Return collected line segments.
|
|
254048
254062
|
* * This calls [[sweepLineStringToFacets]] with options created by
|
|
254049
254063
|
* `const options = SweepLineStringToFacetsOptions.create(Vector3d.unitZ(), Angle.createSmallAngle(), false, true, true, true);`
|
|
254050
|
-
* @deprecated in 4.x. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
|
|
254064
|
+
* @deprecated in 4.x - might be removed in next major version. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
|
|
254051
254065
|
*/
|
|
254052
254066
|
static sweepLinestringToFacetsXYReturnLines(linestringPoints, polyface) {
|
|
254053
254067
|
const options = SweepLineStringToFacetsOptions.create(_geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.unitZ(), _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createSmallAngle(), false, true, true, true);
|
|
@@ -254057,7 +254071,7 @@ class PolyfaceQuery {
|
|
|
254057
254071
|
* Find segments (within the linestring) which project to facets.
|
|
254058
254072
|
* * Return chains.
|
|
254059
254073
|
* * This calls [[sweepLineStringToFacets]] with default options.
|
|
254060
|
-
* @deprecated in 4.x. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
|
|
254074
|
+
* @deprecated in 4.x - might be removed in next major version. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
|
|
254061
254075
|
*/
|
|
254062
254076
|
static sweepLinestringToFacetsXYReturnChains(linestringPoints, polyface) {
|
|
254063
254077
|
return PolyfaceQuery.sweepLineStringToFacets(linestringPoints, polyface);
|
|
@@ -267858,7 +267872,7 @@ class Sample {
|
|
|
267858
267872
|
return points;
|
|
267859
267873
|
}
|
|
267860
267874
|
// cspell:word creat
|
|
267861
|
-
/** @deprecated in 4.x. Use createVerticalStaggerPolygon instead. */
|
|
267875
|
+
/** @deprecated in 4.x - might be removed in next major version. Use createVerticalStaggerPolygon instead. */
|
|
267862
267876
|
static creatVerticalStaggerPolygon(dy1, dy2, dy3, dy4, ax, ay, dx1, dx4) {
|
|
267863
267877
|
return this.createVerticalStaggerPolygon(dy1, dy2, dy3, dy4, ax, ay, dx1, dx4);
|
|
267864
267878
|
}
|
|
@@ -278085,29 +278099,36 @@ class Triangulator {
|
|
|
278085
278099
|
c.z = f.z;
|
|
278086
278100
|
}
|
|
278087
278101
|
/**
|
|
278088
|
-
*
|
|
278089
|
-
*
|
|
278090
|
-
*
|
|
278091
|
-
*
|
|
278092
|
-
*
|
|
278093
|
-
*
|
|
278094
|
-
*
|
|
278095
|
-
*
|
|
278096
|
-
*
|
|
278097
|
-
* * (wx,wy): nodeA to nodeB2
|
|
278098
|
-
* * this determinant is positive if nodeA is "in the circle" of nodeB2, nodeA1, nodeA2
|
|
278099
|
-
* * Return true if clearly positive
|
|
278100
|
-
* * Return false if clearly negative or almost zero.
|
|
278101
|
-
* @param nodeA node on the diagonal edge of candidate for edge flip.
|
|
278102
|
+
* Given a node in triangle A on the edge shared by triangle B, test whether the far vertex of B lies inside the circumcircle of A.
|
|
278103
|
+
* @param nodeA node on the shared edge between triangles A and B.
|
|
278104
|
+
* @return The following are equivalent:
|
|
278105
|
+
* * return true
|
|
278106
|
+
* * the computed determinant is strongly positive (greater than epsilon)
|
|
278107
|
+
* * the far vertex of B lies strictly inside the circumcircle of A
|
|
278108
|
+
* * the quad AB fails the Delaunay condition
|
|
278109
|
+
* * the quad CD obtained from AB by switching to the other diagonal satisfies the Delaunay condition
|
|
278110
|
+
* * to satisfy Delaunay, the caller should flip the diagonal of AB (obtaining CD)
|
|
278102
278111
|
*/
|
|
278103
278112
|
static computeCircumcircleDeterminantIsStrongPositive(nodeA) {
|
|
278104
|
-
//
|
|
278105
|
-
//
|
|
278106
|
-
//
|
|
278107
|
-
//
|
|
278108
|
-
//
|
|
278109
|
-
//
|
|
278110
|
-
//
|
|
278113
|
+
// Confusingly enough, what we are actually doing here is testing the quad CD.
|
|
278114
|
+
// * CD satisfies the Delaunay condition if and only if AB does not.
|
|
278115
|
+
// * So let AB be convex, with CCW triangles (A,A1,A2) and (B,B1,B2) where A and B are edge mates.
|
|
278116
|
+
// Then CD consists of two CCW triangles that share an edge between the vertices at A2 and B2.
|
|
278117
|
+
// We only have to test one of the two triangles of CD---whether its circumcircle contains the far vertex.
|
|
278118
|
+
// By a beautiful theorem (Corollary 5.7.1 in O'Rourke, Computational Geometry in C, 2nd ed.), the following
|
|
278119
|
+
// are equivalent based on the radial symmetry and convexity of the paraboloid P defined by z = x*x + y*y,
|
|
278120
|
+
// and the CCW triangle orientation:
|
|
278121
|
+
// * A is outside the circumcircle of the CCW triangle with vertices (A1,A2,B2).
|
|
278122
|
+
// * The volume of the tetrahedron (determinant) formed by the projections of the quad points to P is negative.
|
|
278123
|
+
// * The volume of the parallelepiped (triple product) formed by vectors u=A1-A, v=A2-A, w=B2-A projected to P is negative.
|
|
278124
|
+
// * The triple product u.(v x w) is negative.
|
|
278125
|
+
// * The triple product w.(v x u) is positive <-- this is what we compute below.
|
|
278126
|
+
// * The quad CD satisfies the Delaunay condition.
|
|
278127
|
+
// * The quad AB fails the Delaunay condition.
|
|
278128
|
+
// * Return true.
|
|
278129
|
+
// * When AB is non-convex, CD is convex and consists of a large CCW triangle that contains the other CW triangle.
|
|
278130
|
+
// This containment causes the triple product to be positive, which implies CD fails (and thus AB satisfies)
|
|
278131
|
+
// the Delaunay condition, so this method returns false.
|
|
278111
278132
|
const nodeA1 = nodeA.faceSuccessor;
|
|
278112
278133
|
const nodeA2 = nodeA1.faceSuccessor;
|
|
278113
278134
|
if (nodeA2.faceSuccessor !== nodeA)
|
|
@@ -278206,7 +278227,7 @@ class Triangulator {
|
|
|
278206
278227
|
context.insertAndRetriangulate(p, zRule);
|
|
278207
278228
|
numInsert++; // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
278208
278229
|
}
|
|
278209
|
-
if (face0.countEdgesAroundFace() > 3) //
|
|
278230
|
+
if (face0.countEdgesAroundFace() > 3) // no strictly interior vertices to split the hull polygon, so triangulate it
|
|
278210
278231
|
return Triangulator.createTriangulatedGraphFromSingleLoop(hull);
|
|
278211
278232
|
return graph;
|
|
278212
278233
|
}
|
|
@@ -297969,7 +297990,7 @@ var ShowSignOption;
|
|
|
297969
297990
|
// parse and toString methods
|
|
297970
297991
|
/**
|
|
297971
297992
|
* @beta
|
|
297972
|
-
* @deprecated in 4.10. ScientificType is now a string enum and doesn't need a serialization method. You can access the enum directly.
|
|
297993
|
+
* @deprecated in 4.10 - might be removed in next major version. ScientificType is now a string enum and doesn't need a serialization method. You can access the enum directly.
|
|
297973
297994
|
*/
|
|
297974
297995
|
function scientificTypeToString(scientificType) {
|
|
297975
297996
|
return (scientificType === ScientificType.Normalized) ? "Normalized" : "ZeroNormalized";
|
|
@@ -298011,7 +298032,7 @@ function parseShowSignOption(showSignOption, formatName) {
|
|
|
298011
298032
|
}
|
|
298012
298033
|
/**
|
|
298013
298034
|
* @beta
|
|
298014
|
-
* @deprecated in 4.10. ShowSignOption is now a string enum and doesn't need a serialization method. You can access the enum directly.
|
|
298035
|
+
* @deprecated in 4.10 - might be removed in next major version. ShowSignOption is now a string enum and doesn't need a serialization method. You can access the enum directly.
|
|
298015
298036
|
*/
|
|
298016
298037
|
function showSignOptionToString(showSign) {
|
|
298017
298038
|
switch (showSign) {
|
|
@@ -298104,7 +298125,7 @@ function parseFormatType(jsonObjType, formatName) {
|
|
|
298104
298125
|
}
|
|
298105
298126
|
}
|
|
298106
298127
|
/** @beta
|
|
298107
|
-
* @deprecated in 4.10. FormatType is now a string enum and doesn't need a serialization method. You can access the enum directly.
|
|
298128
|
+
* @deprecated in 4.10 - might be removed in next major version. FormatType is now a string enum and doesn't need a serialization method. You can access the enum directly.
|
|
298108
298129
|
*/
|
|
298109
298130
|
function formatTypeToString(type) {
|
|
298110
298131
|
switch (type) {
|
|
@@ -299526,7 +299547,7 @@ class Parser {
|
|
|
299526
299547
|
* @param inString A string that contains text represent a quantity.
|
|
299527
299548
|
* @param format Defines the likely format of inString. Primary unit serves as a default unit if no unit label found in string.
|
|
299528
299549
|
* @param unitsConversions dictionary of conversions used to convert from unit used in inString to output quantity
|
|
299529
|
-
* @deprecated in 4.10. Check [[Parser.parseQuantityString]] for replacements.
|
|
299550
|
+
* @deprecated in 4.10 - might be removed in next major version. Check [[Parser.parseQuantityString]] for replacements.
|
|
299530
299551
|
*/
|
|
299531
299552
|
static parseToQuantityValue(inString, format, unitsConversions) {
|
|
299532
299553
|
// TODO: This method is not able to do bearing and azimuth formatting and is overlapping with parseQuantityString.
|
|
@@ -301264,7 +301285,7 @@ class UiAdmin {
|
|
|
301264
301285
|
/** Get the cursor X and Y position. */
|
|
301265
301286
|
get cursorPosition() { return { x: 0, y: 0 }; }
|
|
301266
301287
|
/** Create a PointProps object.
|
|
301267
|
-
* @deprecated in 4.2.x. Please use @core/geometry [[XAndY]] or a custom implementation.
|
|
301288
|
+
* @deprecated in 4.2.x - might be removed in next major version. Please use @core/geometry [[XAndY]] or a custom implementation.
|
|
301268
301289
|
*/
|
|
301269
301290
|
createXAndY(x, y) { return { x, y }; }
|
|
301270
301291
|
/** Determines if focus is set to Home */
|
|
@@ -301468,7 +301489,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
301468
301489
|
* @module Utilities
|
|
301469
301490
|
*/
|
|
301470
301491
|
/** Enumeration for Function Keys
|
|
301471
|
-
* @public @deprecated in 4.3. Please use the `ts-key-enum` npm package or string literals.
|
|
301492
|
+
* @public @deprecated in 4.3 - might be removed in next major version. Please use the `ts-key-enum` npm package or string literals.
|
|
301472
301493
|
*/
|
|
301473
301494
|
var FunctionKey;
|
|
301474
301495
|
(function (FunctionKey) {
|
|
@@ -301486,7 +301507,7 @@ var FunctionKey;
|
|
|
301486
301507
|
FunctionKey["F12"] = "F12";
|
|
301487
301508
|
})(FunctionKey || (FunctionKey = {}));
|
|
301488
301509
|
/** Enumeration for Special Keys
|
|
301489
|
-
* @public @deprecated in 4.3. Please use the `ts-key-enum` npm package or string literals.
|
|
301510
|
+
* @public @deprecated in 4.3 - might be removed in next major version. Please use the `ts-key-enum` npm package or string literals.
|
|
301490
301511
|
*/
|
|
301491
301512
|
var SpecialKey;
|
|
301492
301513
|
(function (SpecialKey) {
|
|
@@ -301515,7 +301536,7 @@ var SpecialKey;
|
|
|
301515
301536
|
SpecialKey["Decimal"] = "Decimal";
|
|
301516
301537
|
})(SpecialKey || (SpecialKey = {}));
|
|
301517
301538
|
/** Determines if a KeyboardEvent.key is an Arrow key
|
|
301518
|
-
* @public @deprecated in 4.3. Please use a custom implementation moving forward.
|
|
301539
|
+
* @public @deprecated in 4.3 - might be removed in next major version. Please use a custom implementation moving forward.
|
|
301519
301540
|
*/
|
|
301520
301541
|
function isArrowKey(key) {
|
|
301521
301542
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
@@ -301567,7 +301588,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
301567
301588
|
/**
|
|
301568
301589
|
* Class that define Standard Content Layouts that can be used to specify how the content is arranged in a frontstage.
|
|
301569
301590
|
* @public
|
|
301570
|
-
* @deprecated in 4.10.x. Use `StandardContentLayouts` from `@itwin/appui-react`.
|
|
301591
|
+
* @deprecated in 4.10.x - might be removed in next major version. Use `StandardContentLayouts` from `@itwin/appui-react`.
|
|
301571
301592
|
*/
|
|
301572
301593
|
class StandardContentLayouts {
|
|
301573
301594
|
static singleView = {
|
|
@@ -303092,20 +303113,20 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
303092
303113
|
*/
|
|
303093
303114
|
/* eslint-disable @typescript-eslint/no-deprecated */
|
|
303094
303115
|
/** Creates an IconSpec with an SVG source and gets the SVG source from an IconSpec.
|
|
303095
|
-
* @public @deprecated in 4.3. AppUI libraries >= 4.7.x support loading SVGs sources without prefixes, eliminating the need for these utilities.
|
|
303116
|
+
* @public @deprecated in 4.3 - might be removed in next major version. AppUI libraries >= 4.7.x support loading SVGs sources without prefixes, eliminating the need for these utilities.
|
|
303096
303117
|
*/
|
|
303097
303118
|
class IconSpecUtilities {
|
|
303098
303119
|
/** Prefix for an SVG IconSpec loaded with the Sprite loader */
|
|
303099
303120
|
static SVG_PREFIX = "svg:";
|
|
303100
303121
|
static WEB_COMPONENT_PREFIX = "webSvg:";
|
|
303101
303122
|
/** Create an IconSpec for an SVG loaded into web component with svg-loader
|
|
303102
|
-
* @public @deprecated in 4.3. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
|
|
303123
|
+
* @public @deprecated in 4.3 - might be removed in next major version. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
|
|
303103
303124
|
*/
|
|
303104
303125
|
static createWebComponentIconSpec(srcString) {
|
|
303105
303126
|
return `${IconSpecUtilities.WEB_COMPONENT_PREFIX}${srcString}`;
|
|
303106
303127
|
}
|
|
303107
303128
|
/** Get the SVG Source from an svg-loader IconSpec
|
|
303108
|
-
* @public @deprecated in 4.3. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
|
|
303129
|
+
* @public @deprecated in 4.3 - might be removed in next major version. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
|
|
303109
303130
|
*/
|
|
303110
303131
|
static getWebComponentSource(iconSpec) {
|
|
303111
303132
|
if (iconSpec.startsWith(IconSpecUtilities.WEB_COMPONENT_PREFIX) && iconSpec.length > 7) {
|
|
@@ -303159,7 +303180,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
303159
303180
|
*/
|
|
303160
303181
|
|
|
303161
303182
|
/** iTwin.js UI UiError class is a subclass of BentleyError. Errors are logged.
|
|
303162
|
-
* @public @deprecated in 4.3. Use [[Bentley.BentleyError]] instead.
|
|
303183
|
+
* @public @deprecated in 4.3 - might be removed in next major version. Use [[Bentley.BentleyError]] instead.
|
|
303163
303184
|
*/
|
|
303164
303185
|
class UiError extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyError {
|
|
303165
303186
|
category;
|
|
@@ -303195,7 +303216,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
303195
303216
|
|
|
303196
303217
|
/** iTwin.js UI UiEvent class is a subclass of BeEvent with argument type safety.
|
|
303197
303218
|
* @public
|
|
303198
|
-
* @deprecated in 4.2. This type is a duplicate of [[BeUiEvent]], which should be used instead.
|
|
303219
|
+
* @deprecated in 4.2 - might be removed in next major version. This type is a duplicate of [[BeUiEvent]], which should be used instead.
|
|
303199
303220
|
*/
|
|
303200
303221
|
class UiEvent extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeUiEvent {
|
|
303201
303222
|
}
|
|
@@ -303226,14 +303247,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
303226
303247
|
|
|
303227
303248
|
/** UiSync Event class.
|
|
303228
303249
|
* @public
|
|
303229
|
-
* @deprecated in 4.2.x Use [[UiSyncEvent]] from @itwin/appui-react.
|
|
303250
|
+
* @deprecated in 4.2.x - might be removed in next major version. Use [[UiSyncEvent]] from @itwin/appui-react.
|
|
303230
303251
|
*/
|
|
303231
303252
|
class UiSyncEvent extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeUiEvent {
|
|
303232
303253
|
}
|
|
303233
303254
|
/** This class is used to send eventIds to interested UI components so the component can determine if it needs
|
|
303234
303255
|
* to refresh its display by calling setState on itself.
|
|
303235
303256
|
* @public
|
|
303236
|
-
* @deprecated in 4.2.x Use [[SyncUiEventDispatcher]] from @itwin/appui-react.
|
|
303257
|
+
* @deprecated in 4.2.x - might be removed in next major version. Use [[SyncUiEventDispatcher]] from @itwin/appui-react.
|
|
303237
303258
|
*/
|
|
303238
303259
|
class UiEventDispatcher {
|
|
303239
303260
|
_syncEventTimerId;
|
|
@@ -303436,7 +303457,7 @@ function join(head, tail) {
|
|
|
303436
303457
|
* @param contiguous - If true the filter string must be found "contiguous" in the searched string (E.g. "pul" will match "Git: Pull").
|
|
303437
303458
|
* Otherwise also matches sub string of the word with beginnings of the words in the target (e.g. "gp" or "g p" will match "Git: Pull").
|
|
303438
303459
|
* Useful in cases where the target is words (e.g. command labels)
|
|
303439
|
-
* @internal @deprecated in 4.3. Use `matchesWords` from @itwin/core-react instead. Though internal, this requires deprecation due to known public usage in @itwin/core-react.
|
|
303460
|
+
* @internal @deprecated in 4.3 - might be removed in next major version. Use `matchesWords` from @itwin/core-react instead. Though internal, this requires deprecation due to known public usage in @itwin/core-react.
|
|
303440
303461
|
*/
|
|
303441
303462
|
function matchesWords(word, target, contiguous = false) {
|
|
303442
303463
|
if (!target || target.length === 0) {
|
|
@@ -303508,7 +303529,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
303508
303529
|
*/
|
|
303509
303530
|
/** Gets the class name for an object.
|
|
303510
303531
|
* @internal
|
|
303511
|
-
* @deprecated in 4.3. Please use your own implementation in the future. Though internal, this requires deprecation due to known public usage in @itwin/core-react.
|
|
303532
|
+
* @deprecated in 4.3 - might be removed in next major version. Please use your own implementation in the future. Though internal, this requires deprecation due to known public usage in @itwin/core-react.
|
|
303512
303533
|
*/
|
|
303513
303534
|
const getClassName = (obj) => {
|
|
303514
303535
|
let className = "";
|
|
@@ -313597,7 +313618,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
313597
313618
|
/***/ ((module) => {
|
|
313598
313619
|
|
|
313599
313620
|
"use strict";
|
|
313600
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.1.0-dev.
|
|
313621
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.1.0-dev.39","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s webpackWorkers && npm run -s copy:workers","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2022 --outDir lib/esm","clean":"rimraf -g lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","docs":"betools docs --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2 && npm run -s webpackTestWorker","webpackTestWorker":"webpack --config ./src/test/worker/webpack.config.js 1>&2 && cpx \\"./lib/test/test-worker.js\\" ./lib/test","webpackWorkers":"webpack --config ./src/workers/ImdlParser/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*","@itwin/eslint-plugin":"5.0.0-dev.1","@types/chai-as-promised":"^7","@vitest/browser":"^3.0.6","@vitest/coverage-v8":"^3.0.6","cpx2":"^8.0.0","eslint":"^9.13.0","glob":"^10.3.12","playwright":"~1.47.1","rimraf":"^6.0.1","source-map-loader":"^5.0.0","typescript":"~5.6.2","typemoq":"^2.1.0","vitest":"^3.0.6","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"2.2.0","webpack":"^5.97.1"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/cloud-agnostic-core":"^2.2.4","@itwin/object-storage-core":"^2.3.0","@itwin/core-i18n":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
|
|
313601
313622
|
|
|
313602
313623
|
/***/ })
|
|
313603
313624
|
|