@itwin/rpcinterface-full-stack-tests 5.1.0-dev.38 → 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/_bea9.bundled-tests.js.map +1 -1
- package/lib/dist/bundled-tests.js +154 -133
- package/lib/dist/bundled-tests.js.map +1 -1
- package/lib/dist/core_frontend_lib_esm_ApproximateTerrainHeightsProps_js.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_cross-fetch_4_0_0_node_modules_cross-fetch_dist_browser-24291b.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_1_6_node_modules_loaders_gl_draco_di-0642a6.bundled-tests.js.map +1 -1
- package/package.json +13 -13
|
@@ -53472,7 +53472,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
53472
53472
|
/**
|
|
53473
53473
|
* Mirrors the SpanKind enum from [@opentelemetry/api](https://open-telemetry.github.io/opentelemetry-js/enums/_opentelemetry_api.SpanKind.html)
|
|
53474
53474
|
* @public
|
|
53475
|
-
* @deprecated in 4.4 - OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
|
|
53475
|
+
* @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.
|
|
53476
53476
|
*/
|
|
53477
53477
|
var SpanKind;
|
|
53478
53478
|
(function (SpanKind) {
|
|
@@ -53532,7 +53532,7 @@ function flattenObject(obj) {
|
|
|
53532
53532
|
/**
|
|
53533
53533
|
* Enables OpenTelemetry tracing in addition to traditional logging.
|
|
53534
53534
|
* @public
|
|
53535
|
-
* @deprecated in 4.4 - OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
|
|
53535
|
+
* @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.
|
|
53536
53536
|
*/
|
|
53537
53537
|
class Tracing {
|
|
53538
53538
|
static _tracer;
|
|
@@ -57203,7 +57203,7 @@ class QueryOptionsBuilder {
|
|
|
57203
57203
|
* If set ECClassId, SourceECClassId and TargetECClassId system properties will return qualified name of class instead of a @typedef Id64String.
|
|
57204
57204
|
* @param val A boolean value.
|
|
57205
57205
|
* @returns @type QueryOptionsBuilder for fluent interface.
|
|
57206
|
-
* @deprecated in 4.11 Use ecsql function ec_classname to get class name instead.
|
|
57206
|
+
* @deprecated in 4.11 - might be removed in next major version. Use ecsql function ec_classname to get class name instead.
|
|
57207
57207
|
*/
|
|
57208
57208
|
setConvertClassIdsToNames(val) {
|
|
57209
57209
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
@@ -84508,7 +84508,7 @@ class IModelReadRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
84508
84508
|
async getViewStateData(_iModelToken, _viewDefinitionId, _options) { return this.forward(arguments); }
|
|
84509
84509
|
async readFontJson(_iModelToken) { return this.forward(arguments); } // eslint-disable-line @typescript-eslint/no-deprecated
|
|
84510
84510
|
async getToolTipMessage(_iModelToken, _elementId) { return this.forward(arguments); }
|
|
84511
|
-
/** @deprecated in 3.x
|
|
84511
|
+
/** @deprecated in 3.x - might be removed in next major version. Use ViewStore apis. */
|
|
84512
84512
|
async getViewThumbnail(_iModelToken, _viewId) { return this.forward(arguments); }
|
|
84513
84513
|
async getDefaultViewId(_iModelToken) { return this.forward(arguments); }
|
|
84514
84514
|
async getCustomViewState3dData(_iModelToken, _options) { return this.forward(arguments); }
|
|
@@ -84719,7 +84719,7 @@ class SnapshotIModelRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_
|
|
|
84719
84719
|
*/
|
|
84720
84720
|
async openFile(_filePath, _opts) { return this.forward(arguments); }
|
|
84721
84721
|
/**
|
|
84722
|
-
* @deprecated in 4.10. Use [[CheckpointConnection.openRemote]].
|
|
84722
|
+
* @deprecated in 4.10 - might be removed in next major version. Use [[CheckpointConnection.openRemote]].
|
|
84723
84723
|
*/
|
|
84724
84724
|
async openRemote(_key, _opts) { return this.forward(arguments); }
|
|
84725
84725
|
/**
|
|
@@ -85016,7 +85016,7 @@ var RpcResponseCacheControl;
|
|
|
85016
85016
|
})(RpcResponseCacheControl || (RpcResponseCacheControl = {}));
|
|
85017
85017
|
/** RPC protocol event types.
|
|
85018
85018
|
* @public
|
|
85019
|
-
* @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future.
|
|
85019
|
+
* @deprecated in 3.6 - might be removed in next major version. The RPC system will be significantly refactored (or replaced) in the future.
|
|
85020
85020
|
*/
|
|
85021
85021
|
var RpcProtocolEvent;
|
|
85022
85022
|
(function (RpcProtocolEvent) {
|
|
@@ -85036,7 +85036,7 @@ var RpcProtocolEvent;
|
|
|
85036
85036
|
})(RpcProtocolEvent || (RpcProtocolEvent = {}));
|
|
85037
85037
|
/** The status of an RPC operation request.
|
|
85038
85038
|
* @public
|
|
85039
|
-
* @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future.
|
|
85039
|
+
* @deprecated in 3.6 - might be removed in next major version. The RPC system will be significantly refactored (or replaced) in the future.
|
|
85040
85040
|
*/
|
|
85041
85041
|
var RpcRequestStatus;
|
|
85042
85042
|
(function (RpcRequestStatus) {
|
|
@@ -85056,7 +85056,7 @@ var RpcRequestStatus;
|
|
|
85056
85056
|
RpcRequestStatus[RpcRequestStatus["RequestTimeout"] = 13] = "RequestTimeout";
|
|
85057
85057
|
RpcRequestStatus[RpcRequestStatus["TooManyRequests"] = 14] = "TooManyRequests";
|
|
85058
85058
|
})(RpcRequestStatus || (RpcRequestStatus = {}));
|
|
85059
|
-
/** @public @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future. */
|
|
85059
|
+
/** @public @deprecated in 3.6 - might be removed in next major version. The RPC system will be significantly refactored (or replaced) in the future. */
|
|
85060
85060
|
(function (RpcRequestStatus) {
|
|
85061
85061
|
function isTransientError(status) {
|
|
85062
85062
|
return status === RpcRequestStatus.BadGateway || status === RpcRequestStatus.ServiceUnavailable || status === RpcRequestStatus.GatewayTimeout
|
|
@@ -85066,7 +85066,7 @@ var RpcRequestStatus;
|
|
|
85066
85066
|
})(RpcRequestStatus || (RpcRequestStatus = {}));
|
|
85067
85067
|
/** RPC request event types.
|
|
85068
85068
|
* @public
|
|
85069
|
-
* @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future.
|
|
85069
|
+
* @deprecated in 3.6 - might be removed in next major version. The RPC system will be significantly refactored (or replaced) in the future.
|
|
85070
85070
|
*/
|
|
85071
85071
|
var RpcRequestEvent;
|
|
85072
85072
|
(function (RpcRequestEvent) {
|
|
@@ -85076,7 +85076,7 @@ var RpcRequestEvent;
|
|
|
85076
85076
|
})(RpcRequestEvent || (RpcRequestEvent = {}));
|
|
85077
85077
|
/** RPC content types.
|
|
85078
85078
|
* @public
|
|
85079
|
-
* @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future.
|
|
85079
|
+
* @deprecated in 3.6 - might be removed in next major version. The RPC system will be significantly refactored (or replaced) in the future.
|
|
85080
85080
|
*/
|
|
85081
85081
|
var RpcContentType;
|
|
85082
85082
|
(function (RpcContentType) {
|
|
@@ -85088,7 +85088,7 @@ var RpcContentType;
|
|
|
85088
85088
|
})(RpcContentType || (RpcContentType = {}));
|
|
85089
85089
|
/** Endpoints for RPC protocols.
|
|
85090
85090
|
* @public
|
|
85091
|
-
* @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future.
|
|
85091
|
+
* @deprecated in 3.6 - might be removed in next major version. The RPC system will be significantly refactored (or replaced) in the future.
|
|
85092
85092
|
*/
|
|
85093
85093
|
var RpcEndpoint;
|
|
85094
85094
|
(function (RpcEndpoint) {
|
|
@@ -89734,7 +89734,7 @@ function computeChildTileProps(parent, idProvider, root) {
|
|
|
89734
89734
|
/** Deserializes tile content metadata.
|
|
89735
89735
|
* @throws [[TileReadError]]
|
|
89736
89736
|
* @internal
|
|
89737
|
-
* @deprecated in 4.0. Use decodeTileContentDescription. I think tile agents (or their tests) are using this function.
|
|
89737
|
+
* @deprecated in 4.0 - might be removed in next major version. Use decodeTileContentDescription. I think tile agents (or their tests) are using this function.
|
|
89738
89738
|
*/
|
|
89739
89739
|
function readTileContentDescription(stream, sizeMultiplier, is2d, options, isVolumeClassifier) {
|
|
89740
89740
|
return decodeTileContentDescription({ stream, sizeMultiplier, is2d, options, isVolumeClassifier });
|
|
@@ -90155,7 +90155,7 @@ class SchemaContext {
|
|
|
90155
90155
|
/**
|
|
90156
90156
|
* Adds the given SchemaItem to the the SchemaContext by locating the schema, with the best match of SchemaMatchType.Exact, and
|
|
90157
90157
|
* @param schemaItem The SchemaItem to add
|
|
90158
|
-
* @deprecated in 4.0 use ecschema-editing package
|
|
90158
|
+
* @deprecated in 4.0 - might be removed in next major version. use ecschema-editing package
|
|
90159
90159
|
*/
|
|
90160
90160
|
async addSchemaItem(schemaItem) {
|
|
90161
90161
|
const schema = await this.getSchema(schemaItem.key.schemaKey, _ECObjects__WEBPACK_IMPORTED_MODULE_0__.SchemaMatchType.Exact);
|
|
@@ -93668,7 +93668,7 @@ var SchemaMatchType;
|
|
|
93668
93668
|
(function (SchemaMatchType) {
|
|
93669
93669
|
/*
|
|
93670
93670
|
* Find exact VersionRead, VersionWrite, VersionMinor match as well as Data. NOTE data is not yet matched
|
|
93671
|
-
* @deprecated in 4.10 Use Exact instead.
|
|
93671
|
+
* @deprecated in 4.10 - might be removed in next major version. Use Exact instead.
|
|
93672
93672
|
*/
|
|
93673
93673
|
SchemaMatchType[SchemaMatchType["Identical"] = 0] = "Identical";
|
|
93674
93674
|
/* Find exact VersionRead, VersionWrite, VersionMinor match. */
|
|
@@ -93768,7 +93768,7 @@ function parseSchemaItemType(type) {
|
|
|
93768
93768
|
* @param value The SchemaItemType to stringify.
|
|
93769
93769
|
* @return A string representing the provided SchemaItemType. If the type is not valid, an empty string is returned.
|
|
93770
93770
|
* @beta
|
|
93771
|
-
* @deprecated in 4.6.0 SchemaItemType is a string enum so just use it directly
|
|
93771
|
+
* @deprecated in 4.6.0 - might be removed in next major version. SchemaItemType is a string enum so just use it directly
|
|
93772
93772
|
*/
|
|
93773
93773
|
function schemaItemTypeToString(value) {
|
|
93774
93774
|
return value; // TODO: Remove
|
|
@@ -95179,7 +95179,7 @@ class CustomAttributeClass extends _Class__WEBPACK_IMPORTED_MODULE_2__.ECClass {
|
|
|
95179
95179
|
static get schemaItemType() { return _ECObjects__WEBPACK_IMPORTED_MODULE_0__.SchemaItemType.CustomAttributeClass; }
|
|
95180
95180
|
_appliesTo;
|
|
95181
95181
|
/**
|
|
95182
|
-
* @deprecated in 4.8 use [[appliesTo]]
|
|
95182
|
+
* @deprecated in 4.8 - might be removed in next major version. use [[appliesTo]]
|
|
95183
95183
|
* */
|
|
95184
95184
|
get containerType() {
|
|
95185
95185
|
return this.appliesTo;
|
|
@@ -114115,7 +114115,7 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
114115
114115
|
return this.isOpen ? this._snapRpc.request(props) : { status: 2 };
|
|
114116
114116
|
}
|
|
114117
114117
|
/** @internal
|
|
114118
|
-
* @deprecated in 4.8. Use AccuSnap.doSnapRequest.
|
|
114118
|
+
* @deprecated in 4.8 - might be removed in next major version. Use AccuSnap.doSnapRequest.
|
|
114119
114119
|
*/
|
|
114120
114120
|
async requestSnap(props) {
|
|
114121
114121
|
return this[_common_internal_Symbols__WEBPACK_IMPORTED_MODULE_13__._requestSnap](props);
|
|
@@ -114156,7 +114156,7 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
114156
114156
|
return _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelReadRpcInterface.getClientForRouting(this.routingContext.token).getMassProperties(this.getRpcProps(), requestProps);
|
|
114157
114157
|
}
|
|
114158
114158
|
/** Request mass properties for multiple elements from the backend.
|
|
114159
|
-
* @deprecated in 4.11. Use [[IModelConnection.getMassProperties]].
|
|
114159
|
+
* @deprecated in 4.11 - might be removed in next major version. Use [[IModelConnection.getMassProperties]].
|
|
114160
114160
|
*/
|
|
114161
114161
|
async getMassPropertiesPerCandidate(requestProps) {
|
|
114162
114162
|
return _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelReadRpcInterface.getClientForRouting(this.routingContext.token).getMassPropertiesPerCandidate(this.getRpcProps(), requestProps);
|
|
@@ -114475,7 +114475,7 @@ class SnapshotConnection extends IModelConnection {
|
|
|
114475
114475
|
}
|
|
114476
114476
|
/** Open an IModelConnection to a remote read-only snapshot iModel from a key that will be resolved by the backend.
|
|
114477
114477
|
* @note This method is intended for web applications.
|
|
114478
|
-
* @deprecated in 4.10. Use [[CheckpointConnection.openRemote]].
|
|
114478
|
+
* @deprecated in 4.10 - might be removed in next major version. Use [[CheckpointConnection.openRemote]].
|
|
114479
114479
|
*/
|
|
114480
114480
|
static async openRemote(fileKey) {
|
|
114481
114481
|
const routingContext = _IModelRoutingContext__WEBPACK_IMPORTED_MODULE_6__.IModelRoutingContext.current || _IModelRoutingContext__WEBPACK_IMPORTED_MODULE_6__.IModelRoutingContext.default;
|
|
@@ -114882,7 +114882,7 @@ class SnapshotConnection extends IModelConnection {
|
|
|
114882
114882
|
* There is no guarantee that this view will be suitable for the purposes of any other applications.
|
|
114883
114883
|
* Most applications should ignore the default view and instead create a [[ViewState]] that fits their own requirements using APIs like [[ViewCreator3d]].
|
|
114884
114884
|
* @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.
|
|
114885
|
-
* @deprecated in 4.2. Create a ViewState to your own specifications.
|
|
114885
|
+
* @deprecated in 4.2 - might be removed in next major version. Create a ViewState to your own specifications.
|
|
114886
114886
|
*/
|
|
114887
114887
|
async queryDefaultViewId() {
|
|
114888
114888
|
const iModel = this._iModel;
|
|
@@ -115268,7 +115268,7 @@ class IpcApp {
|
|
|
115268
115268
|
throw Object.assign(new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.BackendError(err.errorNumber, err.iTwinErrorId.key, err.message, err.loggingMetadata), trimErr);
|
|
115269
115269
|
}
|
|
115270
115270
|
/** @internal
|
|
115271
|
-
* @deprecated in 4.8. Use [[makeIpcProxy]] for a type-safe interface.
|
|
115271
|
+
* @deprecated in 4.8 - might be removed in next major version. Use [[makeIpcProxy]] for a type-safe interface.
|
|
115272
115272
|
*/
|
|
115273
115273
|
static async callIpcChannel(channelName, methodName, ...args) {
|
|
115274
115274
|
return this[_common_internal_Symbols__WEBPACK_IMPORTED_MODULE_2__._callIpcChannel](channelName, methodName, ...args);
|
|
@@ -174779,6 +174779,7 @@ class SpatialRefs {
|
|
|
174779
174779
|
__webpack_require__.r(__webpack_exports__);
|
|
174780
174780
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
174781
174781
|
/* harmony export */ RealityModelTileTree: () => (/* binding */ RealityModelTileTree),
|
|
174782
|
+
/* harmony export */ RealityModelTileTreeProps: () => (/* binding */ RealityModelTileTreeProps),
|
|
174782
174783
|
/* harmony export */ RealityModelTileUtils: () => (/* binding */ RealityModelTileUtils),
|
|
174783
174784
|
/* harmony export */ RealityTileRegion: () => (/* binding */ RealityTileRegion),
|
|
174784
174785
|
/* harmony export */ RealityTreeReference: () => (/* binding */ RealityTreeReference),
|
|
@@ -174989,22 +174990,35 @@ var SMTextureType;
|
|
|
174989
174990
|
SMTextureType[SMTextureType["Embedded"] = 1] = "Embedded";
|
|
174990
174991
|
SMTextureType[SMTextureType["Streaming"] = 2] = "Streaming";
|
|
174991
174992
|
})(SMTextureType || (SMTextureType = {}));
|
|
174993
|
+
/** Exported strictly for tests. */
|
|
174992
174994
|
class RealityModelTileTreeProps {
|
|
174993
174995
|
tilesetToEcef;
|
|
174994
174996
|
location;
|
|
174995
174997
|
tilesetJson;
|
|
174996
174998
|
doDrapeBackgroundMap = false;
|
|
174997
|
-
|
|
174999
|
+
dataSource;
|
|
174998
175000
|
yAxisUp = false;
|
|
174999
175001
|
root;
|
|
175002
|
+
maximumScreenSpaceError;
|
|
175003
|
+
get usesGeometricError() {
|
|
175004
|
+
return undefined !== this.maximumScreenSpaceError;
|
|
175005
|
+
}
|
|
175000
175006
|
constructor(json, root, rdSource, tilesetToDbTransform, tilesetToEcef) {
|
|
175001
175007
|
this.tilesetToEcef = tilesetToEcef;
|
|
175002
175008
|
this.tilesetJson = root;
|
|
175003
|
-
this.
|
|
175009
|
+
this.dataSource = rdSource;
|
|
175004
175010
|
this.location = tilesetToDbTransform;
|
|
175005
175011
|
this.doDrapeBackgroundMap = (json.root && json.root.SMMasterHeader && SMTextureType.Streaming === json.root.SMMasterHeader.IsTextured);
|
|
175006
|
-
if (json.asset.gltfUpAxis === undefined || json.asset.gltfUpAxis === "y" || json.asset.gltfUpAxis === "Y")
|
|
175012
|
+
if (json.asset.gltfUpAxis === undefined || json.asset.gltfUpAxis === "y" || json.asset.gltfUpAxis === "Y") {
|
|
175007
175013
|
this.yAxisUp = true;
|
|
175014
|
+
}
|
|
175015
|
+
const maxSSE = json.asset.extras?.maximumScreenSpaceError;
|
|
175016
|
+
if (typeof maxSSE === "number") {
|
|
175017
|
+
this.maximumScreenSpaceError = json.asset.extras?.maximumScreenSpaceError;
|
|
175018
|
+
}
|
|
175019
|
+
else if (rdSource.usesGeometricError) {
|
|
175020
|
+
this.maximumScreenSpaceError = rdSource.maximumScreenSpaceError ?? 1;
|
|
175021
|
+
}
|
|
175008
175022
|
}
|
|
175009
175023
|
}
|
|
175010
175024
|
class RealityModelTileTreeParams {
|
|
@@ -175033,7 +175047,7 @@ class RealityModelTileTreeParams {
|
|
|
175033
175047
|
id: "",
|
|
175034
175048
|
// If not specified explicitly, additiveRefinement is inherited from parent tile.
|
|
175035
175049
|
additiveRefinement: undefined !== refine ? "ADD" === refine : undefined,
|
|
175036
|
-
usesGeometricError: loader.tree.
|
|
175050
|
+
usesGeometricError: loader.tree.usesGeometricError,
|
|
175037
175051
|
});
|
|
175038
175052
|
this.baseUrl = baseUrl;
|
|
175039
175053
|
}
|
|
@@ -175165,7 +175179,7 @@ class RealityModelTileLoader extends _tile_internal__WEBPACK_IMPORTED_MODULE_8__
|
|
|
175165
175179
|
get clipLowResolutionTiles() { return true; }
|
|
175166
175180
|
get viewFlagOverrides() { return this._viewFlagOverrides; }
|
|
175167
175181
|
get maximumScreenSpaceError() {
|
|
175168
|
-
return this.tree.
|
|
175182
|
+
return this.tree.maximumScreenSpaceError;
|
|
175169
175183
|
}
|
|
175170
175184
|
async loadChildren(tile) {
|
|
175171
175185
|
const props = await this.getChildrenProps(tile);
|
|
@@ -175194,7 +175208,7 @@ class RealityModelTileLoader extends _tile_internal__WEBPACK_IMPORTED_MODULE_8__
|
|
|
175194
175208
|
transformToRoot: foundChild.transformToRoot,
|
|
175195
175209
|
// If not specified explicitly, additiveRefinement is inherited from parent tile.
|
|
175196
175210
|
additiveRefinement: undefined !== refine ? refine === "ADD" : undefined,
|
|
175197
|
-
usesGeometricError: this.tree.
|
|
175211
|
+
usesGeometricError: this.tree.usesGeometricError,
|
|
175198
175212
|
}));
|
|
175199
175213
|
}
|
|
175200
175214
|
}
|
|
@@ -175209,7 +175223,7 @@ class RealityModelTileLoader extends _tile_internal__WEBPACK_IMPORTED_MODULE_8__
|
|
|
175209
175223
|
const foundChild = await this.findTileInJson(this.tree.tilesetJson, tile.contentId, "");
|
|
175210
175224
|
if (undefined === foundChild || undefined === foundChild.json.content || isCanceled())
|
|
175211
175225
|
return undefined;
|
|
175212
|
-
return this.tree.
|
|
175226
|
+
return this.tree.dataSource.getTileContent(getUrl(foundChild.json.content));
|
|
175213
175227
|
}
|
|
175214
175228
|
async findTileInJson(tilesetJson, id, parentId, transformToRoot) {
|
|
175215
175229
|
if (id.length === 0)
|
|
@@ -175230,7 +175244,7 @@ class RealityModelTileLoader extends _tile_internal__WEBPACK_IMPORTED_MODULE_8__
|
|
|
175230
175244
|
if (separatorIndex >= 0) {
|
|
175231
175245
|
return this.findTileInJson(foundChild, id.substring(separatorIndex + 1), thisParentId, transformToRoot);
|
|
175232
175246
|
}
|
|
175233
|
-
tilesetJson.children[childIndex] = await expandSubTree(foundChild, this.tree.
|
|
175247
|
+
tilesetJson.children[childIndex] = await expandSubTree(foundChild, this.tree.dataSource);
|
|
175234
175248
|
return new FindChildResult(thisParentId, tilesetJson.children[childIndex], transformToRoot);
|
|
175235
175249
|
}
|
|
175236
175250
|
}
|
|
@@ -175541,7 +175555,7 @@ class RealityTreeReference extends RealityModelTileTree.Reference {
|
|
|
175541
175555
|
return undefined;
|
|
175542
175556
|
const strings = [];
|
|
175543
175557
|
const loader = tree.loader;
|
|
175544
|
-
const type = loader.tree.
|
|
175558
|
+
const type = loader.tree.dataSource.realityDataType;
|
|
175545
175559
|
// If a type is specified, display it
|
|
175546
175560
|
if (type !== undefined) {
|
|
175547
175561
|
// Case insensitive
|
|
@@ -179917,7 +179931,6 @@ class FormattedQuantityDescription extends _itwin_appui_abstract__WEBPACK_IMPORT
|
|
|
179917
179931
|
_parserSpec;
|
|
179918
179932
|
constructor(argsOrName, displayLabel, iconSpec, kindOfQuantityName) {
|
|
179919
179933
|
if (typeof argsOrName === "string") {
|
|
179920
|
-
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
|
|
179921
179934
|
super(argsOrName, displayLabel, iconSpec, kindOfQuantityName);
|
|
179922
179935
|
}
|
|
179923
179936
|
else {
|
|
@@ -191132,6 +191145,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
191132
191145
|
/* harmony export */ QuadId: () => (/* reexport safe */ _map_QuadId__WEBPACK_IMPORTED_MODULE_2__.QuadId),
|
|
191133
191146
|
/* harmony export */ ReadonlyTileUserSet: () => (/* reexport safe */ _internal_tile_TileUserSet__WEBPACK_IMPORTED_MODULE_31__.ReadonlyTileUserSet),
|
|
191134
191147
|
/* harmony export */ RealityModelTileTree: () => (/* reexport safe */ _internal_tile_RealityModelTileTree__WEBPACK_IMPORTED_MODULE_78__.RealityModelTileTree),
|
|
191148
|
+
/* harmony export */ RealityModelTileTreeProps: () => (/* reexport safe */ _internal_tile_RealityModelTileTree__WEBPACK_IMPORTED_MODULE_78__.RealityModelTileTreeProps),
|
|
191135
191149
|
/* harmony export */ RealityModelTileUtils: () => (/* reexport safe */ _internal_tile_RealityModelTileTree__WEBPACK_IMPORTED_MODULE_78__.RealityModelTileUtils),
|
|
191136
191150
|
/* harmony export */ RealityTile: () => (/* reexport safe */ _RealityTile__WEBPACK_IMPORTED_MODULE_6__.RealityTile),
|
|
191137
191151
|
/* harmony export */ RealityTileDrawArgs: () => (/* reexport safe */ _internal_tile_RealityTileDrawArgs__WEBPACK_IMPORTED_MODULE_10__.RealityTileDrawArgs),
|
|
@@ -211339,7 +211353,7 @@ class Geometry {
|
|
|
211339
211353
|
static largeCoordinateResult = 1.0e13;
|
|
211340
211354
|
/**
|
|
211341
211355
|
* Numeric value that may considered infinite for metric coordinates.
|
|
211342
|
-
* @deprecated in 4.x. Use [[largeCoordinateResult]].
|
|
211356
|
+
* @deprecated in 4.x - might be removed in next major version. Use [[largeCoordinateResult]].
|
|
211343
211357
|
* * This coordinate should be used only as a placeholder indicating "at infinity" -- computing actual
|
|
211344
211358
|
* points at this coordinate invites numerical problems.
|
|
211345
211359
|
*/
|
|
@@ -211350,7 +211364,7 @@ class Geometry {
|
|
|
211350
211364
|
}
|
|
211351
211365
|
/**
|
|
211352
211366
|
* Test if the absolute value of x is at least [[largeCoordinateResult]].
|
|
211353
|
-
* @deprecated in 4.x. Use [[isLargeCoordinateResult]].
|
|
211367
|
+
* @deprecated in 4.x - might be removed in next major version. Use [[isLargeCoordinateResult]].
|
|
211354
211368
|
*/
|
|
211355
211369
|
static isHugeCoordinate(x) {
|
|
211356
211370
|
return Geometry.isLargeCoordinateResult(x);
|
|
@@ -212317,7 +212331,7 @@ class Geometry {
|
|
|
212317
212331
|
/**
|
|
212318
212332
|
* Clone an array whose members have type `T`, which implements the clone method.
|
|
212319
212333
|
* * If the clone method returns `undefined`, then `undefined` is forced into the cloned array.
|
|
212320
|
-
* @deprecated in 4.x. Use cloneArray.
|
|
212334
|
+
* @deprecated in 4.x - might be removed in next major version. Use cloneArray.
|
|
212321
212335
|
*/
|
|
212322
212336
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
212323
212337
|
static cloneMembers(array) {
|
|
@@ -212743,7 +212757,7 @@ class BSpline1dNd {
|
|
|
212743
212757
|
* Test if the leading and trailing polygon coordinates are replicated in the manner of a "closed" bspline polygon
|
|
212744
212758
|
* which has been expanded to act as a normal bspline.
|
|
212745
212759
|
* @returns true if `degree` leading and trailing polygon blocks match.
|
|
212746
|
-
* @deprecated in 4.x. Use `testClosablePolygon` instead.
|
|
212760
|
+
* @deprecated in 4.x - might be removed in next major version. Use `testClosablePolygon` instead.
|
|
212747
212761
|
*/
|
|
212748
212762
|
testCloseablePolygon(mode) {
|
|
212749
212763
|
return this.testClosablePolygon(mode);
|
|
@@ -215043,7 +215057,7 @@ var UVSelect;
|
|
|
215043
215057
|
UVSelect[UVSelect["uDirection"] = 0] = "uDirection";
|
|
215044
215058
|
/**
|
|
215045
215059
|
* index of v direction
|
|
215046
|
-
* @deprecated in 4.x. Use vDirection instead.
|
|
215060
|
+
* @deprecated in 4.x - might be removed in next major version. Use vDirection instead.
|
|
215047
215061
|
*/
|
|
215048
215062
|
UVSelect[UVSelect["VDirection"] = 1] = "VDirection";
|
|
215049
215063
|
/** index of v direction */
|
|
@@ -215270,7 +215284,7 @@ class BSpline2dNd extends _curve_GeometryQuery__WEBPACK_IMPORTED_MODULE_0__.Geom
|
|
|
215270
215284
|
}
|
|
215271
215285
|
/**
|
|
215272
215286
|
* sum poles by the weights in the basisBuffer, using poles for given span
|
|
215273
|
-
* @deprecated in 4.x. Use sumPoleBufferDerivativesForSpan instead.
|
|
215287
|
+
* @deprecated in 4.x - might be removed in next major version. Use sumPoleBufferDerivativesForSpan instead.
|
|
215274
215288
|
*/
|
|
215275
215289
|
sumpoleBufferDerivativesForSpan(spanIndexU, spanIndexV) {
|
|
215276
215290
|
return this.sumPoleBufferDerivativesForSpan(spanIndexU, spanIndexV);
|
|
@@ -215492,7 +215506,7 @@ class BSplineSurface3d extends BSpline2dNd {
|
|
|
215492
215506
|
getPointGridJSON() {
|
|
215493
215507
|
const result = {
|
|
215494
215508
|
points: _geometry3d_PointHelpers__WEBPACK_IMPORTED_MODULE_7__.Point3dArray.unpackNumbersToNestedArraysIJK(this.coffs, 3, this.numPolesUV(0)),
|
|
215495
|
-
weighStyle: WeightStyle.WeightsAlreadyAppliedToCoordinates, // @deprecated in 4.x. Use weightStyle instead.
|
|
215509
|
+
weighStyle: WeightStyle.WeightsAlreadyAppliedToCoordinates, // @deprecated in 4.x - might be removed in next major version. Use weightStyle instead.
|
|
215496
215510
|
weightStyle: WeightStyle.UnWeighted,
|
|
215497
215511
|
numCartesianDimensions: 3,
|
|
215498
215512
|
};
|
|
@@ -215905,7 +215919,7 @@ class BSplineSurface3dH extends BSpline2dNd {
|
|
|
215905
215919
|
const result = {
|
|
215906
215920
|
points: _geometry3d_PointHelpers__WEBPACK_IMPORTED_MODULE_7__.Point3dArray.unpackNumbersToNestedArraysIJK(this.coffs, 4, this.numPolesUV(0)),
|
|
215907
215921
|
numCartesianDimensions: 3,
|
|
215908
|
-
weighStyle: WeightStyle.WeightsAlreadyAppliedToCoordinates, // @deprecated in 4.x. Use weightStyle instead.
|
|
215922
|
+
weighStyle: WeightStyle.WeightsAlreadyAppliedToCoordinates, // @deprecated in 4.x - might be removed in next major version. Use weightStyle instead.
|
|
215909
215923
|
weightStyle: WeightStyle.WeightsAlreadyAppliedToCoordinates,
|
|
215910
215924
|
};
|
|
215911
215925
|
return result;
|
|
@@ -228615,7 +228629,7 @@ class CurveLocationDetailPair {
|
|
|
228615
228629
|
}
|
|
228616
228630
|
/**
|
|
228617
228631
|
* Data bundle for a pair of arrays of CurveLocationDetail structures.
|
|
228618
|
-
* @deprecated in 4.x. Use CurveLocationDetailPair[] instead.
|
|
228632
|
+
* @deprecated in 4.x - might be removed in next major version. Use CurveLocationDetailPair[] instead.
|
|
228619
228633
|
* @public
|
|
228620
228634
|
*/
|
|
228621
228635
|
class CurveLocationDetailArrayPair {
|
|
@@ -236321,7 +236335,7 @@ class StrokeOptions {
|
|
|
236321
236335
|
maxEdgeLength;
|
|
236322
236336
|
/**
|
|
236323
236337
|
* Caller expects convex facets.
|
|
236324
|
-
* @deprecated in 4.x -
|
|
236338
|
+
* @deprecated in 4.x - might be removed in next major version. Never used. See [[shouldTriangulate]] and [[maximizeConvexFacets]].
|
|
236325
236339
|
*/
|
|
236326
236340
|
needConvexFacets;
|
|
236327
236341
|
/** Minimum strokes on a primitive. */
|
|
@@ -250589,7 +250603,7 @@ class GrowableXYArray extends _IndexedXYCollection__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
250589
250603
|
return result;
|
|
250590
250604
|
}
|
|
250591
250605
|
/** Restructure MultiLineStringDataVariant as array of GrowableXYZArray
|
|
250592
|
-
* @deprecated in 4.x. Moved to GrowableXYZArray class.
|
|
250606
|
+
* @deprecated in 4.x - might be removed in next major version. Moved to GrowableXYZArray class.
|
|
250593
250607
|
*/
|
|
250594
250608
|
static createArrayOfGrowableXYZArray(data) {
|
|
250595
250609
|
return _GrowableXYZArray__WEBPACK_IMPORTED_MODULE_1__.GrowableXYZArray.createArrayOfGrowableXYZArray(data);
|
|
@@ -269272,7 +269286,7 @@ class Point4d extends _geometry3d_Plane3d__WEBPACK_IMPORTED_MODULE_0__.Plane3d {
|
|
|
269272
269286
|
* extract 4 consecutive numbers from a Float64Array into a Point4d.
|
|
269273
269287
|
* @param data buffer of numbers
|
|
269274
269288
|
* @param xIndex first index for x,y,z,w sequence. Assumed to be a valid index!
|
|
269275
|
-
* @deprecated in 4.x. Use createFromPacked instead.
|
|
269289
|
+
* @deprecated in 4.x - might be removed in next major version. Use createFromPacked instead.
|
|
269276
269290
|
*/
|
|
269277
269291
|
static createFromPackedXYZW(data, xIndex = 0, result) {
|
|
269278
269292
|
return Point4d.create(data[xIndex], data[xIndex + 1], data[xIndex + 2], data[xIndex + 3], result);
|
|
@@ -278596,7 +278610,7 @@ class IndexedPolyface extends Polyface {
|
|
|
278596
278610
|
}
|
|
278597
278611
|
/**
|
|
278598
278612
|
* Clean up the open facet.
|
|
278599
|
-
* @deprecated in 4.x to remove nebulous "open facet" concept from the API. Call [[PolyfaceData.trimAllIndexArrays]]
|
|
278613
|
+
* @deprecated in 4.x - might be removed in next major version. to remove nebulous "open facet" concept from the API. Call [[PolyfaceData.trimAllIndexArrays]]
|
|
278600
278614
|
* instead.
|
|
278601
278615
|
*/
|
|
278602
278616
|
cleanupOpenFacet() {
|
|
@@ -278746,7 +278760,7 @@ class IndexedPolyface extends Polyface {
|
|
|
278746
278760
|
}
|
|
278747
278761
|
/**
|
|
278748
278762
|
* Given the index of a facet, return the data pertaining to the face it is a part of.
|
|
278749
|
-
* @deprecated in 4.x. Use [[IndexedPolyface.tryGetFaceData]], which verifies the index is in range.
|
|
278763
|
+
* @deprecated in 4.x - might be removed in next major version. Use [[IndexedPolyface.tryGetFaceData]], which verifies the index is in range.
|
|
278750
278764
|
*/
|
|
278751
278765
|
getFaceDataByFacetIndex(facetIndex) {
|
|
278752
278766
|
return this.data.face[this._facetToFaceData[facetIndex]];
|
|
@@ -279968,7 +279982,7 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
|
|
|
279968
279982
|
* Apply stroke counts to curve primitives.
|
|
279969
279983
|
* * Recursively visit all children of data.
|
|
279970
279984
|
* * At each primitive, invoke `computeStrokeCountForOptions` method with options from the builder.
|
|
279971
|
-
* @deprecated in 4.x. This method does nothing and is unneeded.
|
|
279985
|
+
* @deprecated in 4.x - might be removed in next major version. This method does nothing and is unneeded.
|
|
279972
279986
|
*/
|
|
279973
279987
|
applyStrokeCountsToCurvePrimitives(data) {
|
|
279974
279988
|
const options = this._options;
|
|
@@ -282007,7 +282021,7 @@ class PolyfaceData {
|
|
|
282007
282021
|
}
|
|
282008
282022
|
/**
|
|
282009
282023
|
* Resize all data arrays to the specified `length`.
|
|
282010
|
-
* @deprecated in 4.x because name is misleading. Call [[PolyfaceData.resizeAllArrays]] instead.
|
|
282024
|
+
* @deprecated in 4.x - might be removed in next major version. because name is misleading. Call [[PolyfaceData.resizeAllArrays]] instead.
|
|
282011
282025
|
*/
|
|
282012
282026
|
resizeAllDataArrays(length) {
|
|
282013
282027
|
if (length > this.point.length) {
|
|
@@ -283579,7 +283593,7 @@ class PolyfaceQuery {
|
|
|
283579
283593
|
});
|
|
283580
283594
|
return builder.claimPolyface(true);
|
|
283581
283595
|
}
|
|
283582
|
-
/** @deprecated in 4.x. Use [[sweepLineStringToFacetsXYReturnSweptFacets]] instead. */
|
|
283596
|
+
/** @deprecated in 4.x - might be removed in next major version. Use [[sweepLineStringToFacetsXYReturnSweptFacets]] instead. */
|
|
283583
283597
|
static sweepLinestringToFacetsXYreturnSweptFacets(linestringPoints, polyface) {
|
|
283584
283598
|
return this.sweepLineStringToFacetsXYReturnSweptFacets(linestringPoints, polyface);
|
|
283585
283599
|
}
|
|
@@ -283682,7 +283696,7 @@ class PolyfaceQuery {
|
|
|
283682
283696
|
* * Return collected line segments.
|
|
283683
283697
|
* * This calls [[sweepLineStringToFacets]] with options created by
|
|
283684
283698
|
* `const options = SweepLineStringToFacetsOptions.create(Vector3d.unitZ(), Angle.createSmallAngle(), false, true, true, true);`
|
|
283685
|
-
* @deprecated in 4.x. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
|
|
283699
|
+
* @deprecated in 4.x - might be removed in next major version. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
|
|
283686
283700
|
*/
|
|
283687
283701
|
static sweepLinestringToFacetsXYReturnLines(linestringPoints, polyface) {
|
|
283688
283702
|
const options = SweepLineStringToFacetsOptions.create(_geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.unitZ(), _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createSmallAngle(), false, true, true, true);
|
|
@@ -283692,7 +283706,7 @@ class PolyfaceQuery {
|
|
|
283692
283706
|
* Find segments (within the linestring) which project to facets.
|
|
283693
283707
|
* * Return chains.
|
|
283694
283708
|
* * This calls [[sweepLineStringToFacets]] with default options.
|
|
283695
|
-
* @deprecated in 4.x. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
|
|
283709
|
+
* @deprecated in 4.x - might be removed in next major version. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
|
|
283696
283710
|
*/
|
|
283697
283711
|
static sweepLinestringToFacetsXYReturnChains(linestringPoints, polyface) {
|
|
283698
283712
|
return PolyfaceQuery.sweepLineStringToFacets(linestringPoints, polyface);
|
|
@@ -297493,7 +297507,7 @@ class Sample {
|
|
|
297493
297507
|
return points;
|
|
297494
297508
|
}
|
|
297495
297509
|
// cspell:word creat
|
|
297496
|
-
/** @deprecated in 4.x. Use createVerticalStaggerPolygon instead. */
|
|
297510
|
+
/** @deprecated in 4.x - might be removed in next major version. Use createVerticalStaggerPolygon instead. */
|
|
297497
297511
|
static creatVerticalStaggerPolygon(dy1, dy2, dy3, dy4, ax, ay, dx1, dx4) {
|
|
297498
297512
|
return this.createVerticalStaggerPolygon(dy1, dy2, dy3, dy4, ax, ay, dx1, dx4);
|
|
297499
297513
|
}
|
|
@@ -307720,29 +307734,36 @@ class Triangulator {
|
|
|
307720
307734
|
c.z = f.z;
|
|
307721
307735
|
}
|
|
307722
307736
|
/**
|
|
307723
|
-
*
|
|
307724
|
-
*
|
|
307725
|
-
*
|
|
307726
|
-
*
|
|
307727
|
-
*
|
|
307728
|
-
*
|
|
307729
|
-
*
|
|
307730
|
-
*
|
|
307731
|
-
*
|
|
307732
|
-
* * (wx,wy): nodeA to nodeB2
|
|
307733
|
-
* * this determinant is positive if nodeA is "in the circle" of nodeB2, nodeA1, nodeA2
|
|
307734
|
-
* * Return true if clearly positive
|
|
307735
|
-
* * Return false if clearly negative or almost zero.
|
|
307736
|
-
* @param nodeA node on the diagonal edge of candidate for edge flip.
|
|
307737
|
+
* 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.
|
|
307738
|
+
* @param nodeA node on the shared edge between triangles A and B.
|
|
307739
|
+
* @return The following are equivalent:
|
|
307740
|
+
* * return true
|
|
307741
|
+
* * the computed determinant is strongly positive (greater than epsilon)
|
|
307742
|
+
* * the far vertex of B lies strictly inside the circumcircle of A
|
|
307743
|
+
* * the quad AB fails the Delaunay condition
|
|
307744
|
+
* * the quad CD obtained from AB by switching to the other diagonal satisfies the Delaunay condition
|
|
307745
|
+
* * to satisfy Delaunay, the caller should flip the diagonal of AB (obtaining CD)
|
|
307737
307746
|
*/
|
|
307738
307747
|
static computeCircumcircleDeterminantIsStrongPositive(nodeA) {
|
|
307739
|
-
//
|
|
307740
|
-
//
|
|
307741
|
-
//
|
|
307742
|
-
//
|
|
307743
|
-
//
|
|
307744
|
-
//
|
|
307745
|
-
//
|
|
307748
|
+
// Confusingly enough, what we are actually doing here is testing the quad CD.
|
|
307749
|
+
// * CD satisfies the Delaunay condition if and only if AB does not.
|
|
307750
|
+
// * So let AB be convex, with CCW triangles (A,A1,A2) and (B,B1,B2) where A and B are edge mates.
|
|
307751
|
+
// Then CD consists of two CCW triangles that share an edge between the vertices at A2 and B2.
|
|
307752
|
+
// We only have to test one of the two triangles of CD---whether its circumcircle contains the far vertex.
|
|
307753
|
+
// By a beautiful theorem (Corollary 5.7.1 in O'Rourke, Computational Geometry in C, 2nd ed.), the following
|
|
307754
|
+
// are equivalent based on the radial symmetry and convexity of the paraboloid P defined by z = x*x + y*y,
|
|
307755
|
+
// and the CCW triangle orientation:
|
|
307756
|
+
// * A is outside the circumcircle of the CCW triangle with vertices (A1,A2,B2).
|
|
307757
|
+
// * The volume of the tetrahedron (determinant) formed by the projections of the quad points to P is negative.
|
|
307758
|
+
// * The volume of the parallelepiped (triple product) formed by vectors u=A1-A, v=A2-A, w=B2-A projected to P is negative.
|
|
307759
|
+
// * The triple product u.(v x w) is negative.
|
|
307760
|
+
// * The triple product w.(v x u) is positive <-- this is what we compute below.
|
|
307761
|
+
// * The quad CD satisfies the Delaunay condition.
|
|
307762
|
+
// * The quad AB fails the Delaunay condition.
|
|
307763
|
+
// * Return true.
|
|
307764
|
+
// * When AB is non-convex, CD is convex and consists of a large CCW triangle that contains the other CW triangle.
|
|
307765
|
+
// This containment causes the triple product to be positive, which implies CD fails (and thus AB satisfies)
|
|
307766
|
+
// the Delaunay condition, so this method returns false.
|
|
307746
307767
|
const nodeA1 = nodeA.faceSuccessor;
|
|
307747
307768
|
const nodeA2 = nodeA1.faceSuccessor;
|
|
307748
307769
|
if (nodeA2.faceSuccessor !== nodeA)
|
|
@@ -307841,7 +307862,7 @@ class Triangulator {
|
|
|
307841
307862
|
context.insertAndRetriangulate(p, zRule);
|
|
307842
307863
|
numInsert++; // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
307843
307864
|
}
|
|
307844
|
-
if (face0.countEdgesAroundFace() > 3) //
|
|
307865
|
+
if (face0.countEdgesAroundFace() > 3) // no strictly interior vertices to split the hull polygon, so triangulate it
|
|
307845
307866
|
return Triangulator.createTriangulatedGraphFromSingleLoop(hull);
|
|
307846
307867
|
return graph;
|
|
307847
307868
|
}
|
|
@@ -327604,7 +327625,7 @@ var ShowSignOption;
|
|
|
327604
327625
|
// parse and toString methods
|
|
327605
327626
|
/**
|
|
327606
327627
|
* @beta
|
|
327607
|
-
* @deprecated in 4.10. ScientificType is now a string enum and doesn't need a serialization method. You can access the enum directly.
|
|
327628
|
+
* @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.
|
|
327608
327629
|
*/
|
|
327609
327630
|
function scientificTypeToString(scientificType) {
|
|
327610
327631
|
return (scientificType === ScientificType.Normalized) ? "Normalized" : "ZeroNormalized";
|
|
@@ -327646,7 +327667,7 @@ function parseShowSignOption(showSignOption, formatName) {
|
|
|
327646
327667
|
}
|
|
327647
327668
|
/**
|
|
327648
327669
|
* @beta
|
|
327649
|
-
* @deprecated in 4.10. ShowSignOption is now a string enum and doesn't need a serialization method. You can access the enum directly.
|
|
327670
|
+
* @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.
|
|
327650
327671
|
*/
|
|
327651
327672
|
function showSignOptionToString(showSign) {
|
|
327652
327673
|
switch (showSign) {
|
|
@@ -327739,7 +327760,7 @@ function parseFormatType(jsonObjType, formatName) {
|
|
|
327739
327760
|
}
|
|
327740
327761
|
}
|
|
327741
327762
|
/** @beta
|
|
327742
|
-
* @deprecated in 4.10. FormatType is now a string enum and doesn't need a serialization method. You can access the enum directly.
|
|
327763
|
+
* @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.
|
|
327743
327764
|
*/
|
|
327744
327765
|
function formatTypeToString(type) {
|
|
327745
327766
|
switch (type) {
|
|
@@ -329161,7 +329182,7 @@ class Parser {
|
|
|
329161
329182
|
* @param inString A string that contains text represent a quantity.
|
|
329162
329183
|
* @param format Defines the likely format of inString. Primary unit serves as a default unit if no unit label found in string.
|
|
329163
329184
|
* @param unitsConversions dictionary of conversions used to convert from unit used in inString to output quantity
|
|
329164
|
-
* @deprecated in 4.10. Check [[Parser.parseQuantityString]] for replacements.
|
|
329185
|
+
* @deprecated in 4.10 - might be removed in next major version. Check [[Parser.parseQuantityString]] for replacements.
|
|
329165
329186
|
*/
|
|
329166
329187
|
static parseToQuantityValue(inString, format, unitsConversions) {
|
|
329167
329188
|
// TODO: This method is not able to do bearing and azimuth formatting and is overlapping with parseQuantityString.
|
|
@@ -330685,7 +330706,7 @@ class TestContext {
|
|
|
330685
330706
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
330686
330707
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
330687
330708
|
await core_frontend_1.NoRenderApp.startup({
|
|
330688
|
-
applicationVersion: "5.1.0-dev.
|
|
330709
|
+
applicationVersion: "5.1.0-dev.39",
|
|
330689
330710
|
applicationId: this.settings.gprid,
|
|
330690
330711
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.serviceAuthToken),
|
|
330691
330712
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -330966,7 +330987,7 @@ class UiAdmin {
|
|
|
330966
330987
|
/** Get the cursor X and Y position. */
|
|
330967
330988
|
get cursorPosition() { return { x: 0, y: 0 }; }
|
|
330968
330989
|
/** Create a PointProps object.
|
|
330969
|
-
* @deprecated in 4.2.x. Please use @core/geometry [[XAndY]] or a custom implementation.
|
|
330990
|
+
* @deprecated in 4.2.x - might be removed in next major version. Please use @core/geometry [[XAndY]] or a custom implementation.
|
|
330970
330991
|
*/
|
|
330971
330992
|
createXAndY(x, y) { return { x, y }; }
|
|
330972
330993
|
/** Determines if focus is set to Home */
|
|
@@ -331170,7 +331191,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
331170
331191
|
* @module Utilities
|
|
331171
331192
|
*/
|
|
331172
331193
|
/** Enumeration for Function Keys
|
|
331173
|
-
* @public @deprecated in 4.3. Please use the `ts-key-enum` npm package or string literals.
|
|
331194
|
+
* @public @deprecated in 4.3 - might be removed in next major version. Please use the `ts-key-enum` npm package or string literals.
|
|
331174
331195
|
*/
|
|
331175
331196
|
var FunctionKey;
|
|
331176
331197
|
(function (FunctionKey) {
|
|
@@ -331188,7 +331209,7 @@ var FunctionKey;
|
|
|
331188
331209
|
FunctionKey["F12"] = "F12";
|
|
331189
331210
|
})(FunctionKey || (FunctionKey = {}));
|
|
331190
331211
|
/** Enumeration for Special Keys
|
|
331191
|
-
* @public @deprecated in 4.3. Please use the `ts-key-enum` npm package or string literals.
|
|
331212
|
+
* @public @deprecated in 4.3 - might be removed in next major version. Please use the `ts-key-enum` npm package or string literals.
|
|
331192
331213
|
*/
|
|
331193
331214
|
var SpecialKey;
|
|
331194
331215
|
(function (SpecialKey) {
|
|
@@ -331217,7 +331238,7 @@ var SpecialKey;
|
|
|
331217
331238
|
SpecialKey["Decimal"] = "Decimal";
|
|
331218
331239
|
})(SpecialKey || (SpecialKey = {}));
|
|
331219
331240
|
/** Determines if a KeyboardEvent.key is an Arrow key
|
|
331220
|
-
* @public @deprecated in 4.3. Please use a custom implementation moving forward.
|
|
331241
|
+
* @public @deprecated in 4.3 - might be removed in next major version. Please use a custom implementation moving forward.
|
|
331221
331242
|
*/
|
|
331222
331243
|
function isArrowKey(key) {
|
|
331223
331244
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
@@ -331269,7 +331290,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
331269
331290
|
/**
|
|
331270
331291
|
* Class that define Standard Content Layouts that can be used to specify how the content is arranged in a frontstage.
|
|
331271
331292
|
* @public
|
|
331272
|
-
* @deprecated in 4.10.x. Use `StandardContentLayouts` from `@itwin/appui-react`.
|
|
331293
|
+
* @deprecated in 4.10.x - might be removed in next major version. Use `StandardContentLayouts` from `@itwin/appui-react`.
|
|
331273
331294
|
*/
|
|
331274
331295
|
class StandardContentLayouts {
|
|
331275
331296
|
static singleView = {
|
|
@@ -332794,20 +332815,20 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
332794
332815
|
*/
|
|
332795
332816
|
/* eslint-disable @typescript-eslint/no-deprecated */
|
|
332796
332817
|
/** Creates an IconSpec with an SVG source and gets the SVG source from an IconSpec.
|
|
332797
|
-
* @public @deprecated in 4.3. AppUI libraries >= 4.7.x support loading SVGs sources without prefixes, eliminating the need for these utilities.
|
|
332818
|
+
* @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.
|
|
332798
332819
|
*/
|
|
332799
332820
|
class IconSpecUtilities {
|
|
332800
332821
|
/** Prefix for an SVG IconSpec loaded with the Sprite loader */
|
|
332801
332822
|
static SVG_PREFIX = "svg:";
|
|
332802
332823
|
static WEB_COMPONENT_PREFIX = "webSvg:";
|
|
332803
332824
|
/** Create an IconSpec for an SVG loaded into web component with svg-loader
|
|
332804
|
-
* @public @deprecated in 4.3. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
|
|
332825
|
+
* @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.
|
|
332805
332826
|
*/
|
|
332806
332827
|
static createWebComponentIconSpec(srcString) {
|
|
332807
332828
|
return `${IconSpecUtilities.WEB_COMPONENT_PREFIX}${srcString}`;
|
|
332808
332829
|
}
|
|
332809
332830
|
/** Get the SVG Source from an svg-loader IconSpec
|
|
332810
|
-
* @public @deprecated in 4.3. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
|
|
332831
|
+
* @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.
|
|
332811
332832
|
*/
|
|
332812
332833
|
static getWebComponentSource(iconSpec) {
|
|
332813
332834
|
if (iconSpec.startsWith(IconSpecUtilities.WEB_COMPONENT_PREFIX) && iconSpec.length > 7) {
|
|
@@ -332861,7 +332882,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
332861
332882
|
*/
|
|
332862
332883
|
|
|
332863
332884
|
/** iTwin.js UI UiError class is a subclass of BentleyError. Errors are logged.
|
|
332864
|
-
* @public @deprecated in 4.3. Use [[Bentley.BentleyError]] instead.
|
|
332885
|
+
* @public @deprecated in 4.3 - might be removed in next major version. Use [[Bentley.BentleyError]] instead.
|
|
332865
332886
|
*/
|
|
332866
332887
|
class UiError extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyError {
|
|
332867
332888
|
category;
|
|
@@ -332897,7 +332918,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
332897
332918
|
|
|
332898
332919
|
/** iTwin.js UI UiEvent class is a subclass of BeEvent with argument type safety.
|
|
332899
332920
|
* @public
|
|
332900
|
-
* @deprecated in 4.2. This type is a duplicate of [[BeUiEvent]], which should be used instead.
|
|
332921
|
+
* @deprecated in 4.2 - might be removed in next major version. This type is a duplicate of [[BeUiEvent]], which should be used instead.
|
|
332901
332922
|
*/
|
|
332902
332923
|
class UiEvent extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeUiEvent {
|
|
332903
332924
|
}
|
|
@@ -332928,14 +332949,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
332928
332949
|
|
|
332929
332950
|
/** UiSync Event class.
|
|
332930
332951
|
* @public
|
|
332931
|
-
* @deprecated in 4.2.x Use [[UiSyncEvent]] from @itwin/appui-react.
|
|
332952
|
+
* @deprecated in 4.2.x - might be removed in next major version. Use [[UiSyncEvent]] from @itwin/appui-react.
|
|
332932
332953
|
*/
|
|
332933
332954
|
class UiSyncEvent extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeUiEvent {
|
|
332934
332955
|
}
|
|
332935
332956
|
/** This class is used to send eventIds to interested UI components so the component can determine if it needs
|
|
332936
332957
|
* to refresh its display by calling setState on itself.
|
|
332937
332958
|
* @public
|
|
332938
|
-
* @deprecated in 4.2.x Use [[SyncUiEventDispatcher]] from @itwin/appui-react.
|
|
332959
|
+
* @deprecated in 4.2.x - might be removed in next major version. Use [[SyncUiEventDispatcher]] from @itwin/appui-react.
|
|
332939
332960
|
*/
|
|
332940
332961
|
class UiEventDispatcher {
|
|
332941
332962
|
_syncEventTimerId;
|
|
@@ -333138,7 +333159,7 @@ function join(head, tail) {
|
|
|
333138
333159
|
* @param contiguous - If true the filter string must be found "contiguous" in the searched string (E.g. "pul" will match "Git: Pull").
|
|
333139
333160
|
* 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").
|
|
333140
333161
|
* Useful in cases where the target is words (e.g. command labels)
|
|
333141
|
-
* @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.
|
|
333162
|
+
* @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.
|
|
333142
333163
|
*/
|
|
333143
333164
|
function matchesWords(word, target, contiguous = false) {
|
|
333144
333165
|
if (!target || target.length === 0) {
|
|
@@ -333210,7 +333231,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
333210
333231
|
*/
|
|
333211
333232
|
/** Gets the class name for an object.
|
|
333212
333233
|
* @internal
|
|
333213
|
-
* @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.
|
|
333234
|
+
* @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.
|
|
333214
333235
|
*/
|
|
333215
333236
|
const getClassName = (obj) => {
|
|
333216
333237
|
let className = "";
|
|
@@ -336831,7 +336852,7 @@ var PresentationStatus;
|
|
|
336831
336852
|
* Timeout for the request was reached which prevented it from being fulfilled. Frontend may
|
|
336832
336853
|
* repeat the request.
|
|
336833
336854
|
*
|
|
336834
|
-
* @deprecated in 5.
|
|
336855
|
+
* @deprecated in 5.0. Presentation RPC now relies on `RpcPendingResponse` to handle timeouts.
|
|
336835
336856
|
*/
|
|
336836
336857
|
PresentationStatus[PresentationStatus["BackendTimeout"] = 65543] = "BackendTimeout";
|
|
336837
336858
|
})(PresentationStatus || (exports.PresentationStatus = PresentationStatus = {}));
|
|
@@ -337836,33 +337857,33 @@ let PresentationRpcInterface = class PresentationRpcInterface extends core_commo
|
|
|
337836
337857
|
NOTE: Any add/remove/change to the methods below requires an update of the interface version.
|
|
337837
337858
|
NOTE: Please consult the README in core/common/src/rpc for the semantic versioning rules.
|
|
337838
337859
|
===========================================================================================*/
|
|
337839
|
-
/** @deprecated in 4.10. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337860
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337840
337861
|
async getNodesCount(_token, _options) {
|
|
337841
337862
|
return this.forward(arguments);
|
|
337842
337863
|
}
|
|
337843
|
-
/** @deprecated in 4.10. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337864
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337844
337865
|
async getPagedNodes(_token, _options) {
|
|
337845
337866
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
337846
337867
|
}
|
|
337847
|
-
/** @deprecated in 4.10. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337868
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337848
337869
|
async getNodesDescriptor(_token, _options) {
|
|
337849
337870
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
337850
337871
|
}
|
|
337851
|
-
/** @deprecated in 4.10. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337872
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337852
337873
|
// TODO: add paged version of this (#387280)
|
|
337853
337874
|
async getNodePaths(_token, _options) {
|
|
337854
337875
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
337855
337876
|
}
|
|
337856
|
-
/** @deprecated in 4.10. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337877
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337857
337878
|
// TODO: add paged version of this (#387280)
|
|
337858
337879
|
async getFilteredNodePaths(_token, _options) {
|
|
337859
337880
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
337860
337881
|
}
|
|
337861
|
-
/** @deprecated in 4.10. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337882
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337862
337883
|
async getContentSources(_token, _options) {
|
|
337863
337884
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
337864
337885
|
}
|
|
337865
|
-
/** @deprecated in 4.10. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337886
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337866
337887
|
async getContentDescriptor(_token, _options) {
|
|
337867
337888
|
const response = await this.forward(arguments);
|
|
337868
337889
|
return {
|
|
@@ -337870,11 +337891,11 @@ let PresentationRpcInterface = class PresentationRpcInterface extends core_commo
|
|
|
337870
337891
|
...(response.result ? { result: JSON.parse(response.result) } : {}),
|
|
337871
337892
|
};
|
|
337872
337893
|
}
|
|
337873
|
-
/** @deprecated in 4.10. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337894
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337874
337895
|
async getContentSetSize(_token, _options) {
|
|
337875
337896
|
return this.forward(arguments);
|
|
337876
337897
|
}
|
|
337877
|
-
/** @deprecated in 4.10. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337898
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337878
337899
|
async getPagedContent(_token, _options) {
|
|
337879
337900
|
const rpcResponse = await this.forward(arguments);
|
|
337880
337901
|
return {
|
|
@@ -337884,36 +337905,36 @@ let PresentationRpcInterface = class PresentationRpcInterface extends core_commo
|
|
|
337884
337905
|
: {}),
|
|
337885
337906
|
};
|
|
337886
337907
|
}
|
|
337887
|
-
/** @deprecated in 4.10. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337908
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337888
337909
|
async getPagedContentSet(_token, _options) {
|
|
337889
337910
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
337890
337911
|
}
|
|
337891
|
-
/** @deprecated in 4.10. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337912
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337892
337913
|
async getElementProperties(_token, _options) {
|
|
337893
337914
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
337894
337915
|
}
|
|
337895
|
-
/** @deprecated in 4.10. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337916
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337896
337917
|
async getPagedDistinctValues(_token, _options) {
|
|
337897
337918
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
337898
337919
|
}
|
|
337899
|
-
/** @deprecated in 4.10. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337920
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337900
337921
|
async getContentInstanceKeys(_token, _options) {
|
|
337901
337922
|
return this.forward(arguments);
|
|
337902
337923
|
}
|
|
337903
|
-
/** @deprecated in 4.10. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337924
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337904
337925
|
async getDisplayLabelDefinition(_token, _options) {
|
|
337905
337926
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
337906
337927
|
}
|
|
337907
|
-
/** @deprecated in 4.10. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337928
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337908
337929
|
async getPagedDisplayLabelDefinitions(_token, _options) {
|
|
337909
337930
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
337910
337931
|
}
|
|
337911
|
-
/** @deprecated in 4.10. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337932
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337912
337933
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
337913
337934
|
async getSelectionScopes(_token, _options) {
|
|
337914
337935
|
return this.forward(arguments);
|
|
337915
337936
|
}
|
|
337916
|
-
/** @deprecated in 4.10. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337937
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337917
337938
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
337918
337939
|
async computeSelection(_token, _options) {
|
|
337919
337940
|
return this.forward(arguments);
|
|
@@ -337962,7 +337983,7 @@ class RegisteredRuleset {
|
|
|
337962
337983
|
[Symbol.dispose]() {
|
|
337963
337984
|
this._disposeFunc(this);
|
|
337964
337985
|
}
|
|
337965
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
337986
|
+
/** @deprecated in 5.0. Use [Symbol.dispose] instead. */
|
|
337966
337987
|
/* c8 ignore next 3 */
|
|
337967
337988
|
dispose() {
|
|
337968
337989
|
this[Symbol.dispose]();
|
|
@@ -339749,7 +339770,7 @@ class Field {
|
|
|
339749
339770
|
}
|
|
339750
339771
|
/**
|
|
339751
339772
|
* Serialize this object to JSON.
|
|
339752
|
-
* @deprecated in 5.
|
|
339773
|
+
* @deprecated in 5.0. Use [[toCompressedJSON]] instead.
|
|
339753
339774
|
*/
|
|
339754
339775
|
toJSON() {
|
|
339755
339776
|
return this.toCompressedJSON({});
|
|
@@ -339770,7 +339791,7 @@ class Field {
|
|
|
339770
339791
|
}
|
|
339771
339792
|
/**
|
|
339772
339793
|
* Deserialize [[Field]] from JSON.
|
|
339773
|
-
* @deprecated in 5.
|
|
339794
|
+
* @deprecated in 5.0. Use [[fromCompressedJSON]] instead.
|
|
339774
339795
|
*/
|
|
339775
339796
|
static fromJSON(json, categories) {
|
|
339776
339797
|
if (!json) {
|
|
@@ -339883,7 +339904,7 @@ class PropertiesField extends Field {
|
|
|
339883
339904
|
}
|
|
339884
339905
|
/**
|
|
339885
339906
|
* Serialize this object to JSON
|
|
339886
|
-
* @deprecated in 5.
|
|
339907
|
+
* @deprecated in 5.0. Use [[toCompressedJSON]] instead.
|
|
339887
339908
|
*/
|
|
339888
339909
|
toJSON() {
|
|
339889
339910
|
return {
|
|
@@ -339901,7 +339922,7 @@ class PropertiesField extends Field {
|
|
|
339901
339922
|
}
|
|
339902
339923
|
/**
|
|
339903
339924
|
* Deserialize [[PropertiesField]] from JSON.
|
|
339904
|
-
* @deprecated in 5.
|
|
339925
|
+
* @deprecated in 5.0. Use [[fromCompressedJSON]] instead.
|
|
339905
339926
|
*/
|
|
339906
339927
|
static fromJSON(json, categories) {
|
|
339907
339928
|
if (!json) {
|
|
@@ -340024,7 +340045,7 @@ class ArrayPropertiesField extends PropertiesField {
|
|
|
340024
340045
|
}
|
|
340025
340046
|
/**
|
|
340026
340047
|
* Serialize this object to JSON.
|
|
340027
|
-
* @deprecated in 5.
|
|
340048
|
+
* @deprecated in 5.0. Use [[toCompressedJSON]] instead.
|
|
340028
340049
|
*/
|
|
340029
340050
|
toJSON() {
|
|
340030
340051
|
return {
|
|
@@ -340043,7 +340064,7 @@ class ArrayPropertiesField extends PropertiesField {
|
|
|
340043
340064
|
}
|
|
340044
340065
|
/**
|
|
340045
340066
|
* Deserialize [[ArrayPropertiesField]] from JSON.
|
|
340046
|
-
* @deprecated in 5.
|
|
340067
|
+
* @deprecated in 5.0. Use [[fromCompressedJSON]] instead.
|
|
340047
340068
|
*/
|
|
340048
340069
|
static fromJSON(json, categories) {
|
|
340049
340070
|
return new ArrayPropertiesField({
|
|
@@ -340102,7 +340123,7 @@ class StructPropertiesField extends PropertiesField {
|
|
|
340102
340123
|
}
|
|
340103
340124
|
/**
|
|
340104
340125
|
* Serialize this object to JSON.
|
|
340105
|
-
* @deprecated in 5.
|
|
340126
|
+
* @deprecated in 5.0. Use [[toCompressedJSON]] instead.
|
|
340106
340127
|
*/
|
|
340107
340128
|
toJSON() {
|
|
340108
340129
|
return {
|
|
@@ -340121,7 +340142,7 @@ class StructPropertiesField extends PropertiesField {
|
|
|
340121
340142
|
}
|
|
340122
340143
|
/**
|
|
340123
340144
|
* Deserialize [[StructPropertiesField]] from JSON.
|
|
340124
|
-
* @deprecated in 5.
|
|
340145
|
+
* @deprecated in 5.0. Use [[fromCompressedJSON]] instead.
|
|
340125
340146
|
*/
|
|
340126
340147
|
static fromJSON(json, categories) {
|
|
340127
340148
|
return new StructPropertiesField({
|
|
@@ -340222,7 +340243,7 @@ class NestedContentField extends Field {
|
|
|
340222
340243
|
}
|
|
340223
340244
|
/**
|
|
340224
340245
|
* Serialize this object to JSON.
|
|
340225
|
-
* @deprecated in 5.
|
|
340246
|
+
* @deprecated in 5.0. Use [[toCompressedJSON]] instead.
|
|
340226
340247
|
*/
|
|
340227
340248
|
toJSON() {
|
|
340228
340249
|
return {
|
|
@@ -342486,7 +342507,7 @@ class PresentationManager {
|
|
|
342486
342507
|
/**
|
|
342487
342508
|
* Get / set active unit system used to format property values with units.
|
|
342488
342509
|
*
|
|
342489
|
-
* @deprecated in 4.0. `IModelApp.quantityFormatter` should be used to get/set the active unit system. At the moment
|
|
342510
|
+
* @deprecated in 4.0 - might be removed in next major version. `IModelApp.quantityFormatter` should be used to get/set the active unit system. At the moment
|
|
342490
342511
|
* [[PresentationManager]] allows overriding it, but returns `IModelApp.quantityFormatter.activeUnitSystem` if override
|
|
342491
342512
|
* is not set.
|
|
342492
342513
|
*/
|
|
@@ -342529,7 +342550,7 @@ class PresentationManager {
|
|
|
342529
342550
|
this._clearEventListener = undefined;
|
|
342530
342551
|
}
|
|
342531
342552
|
}
|
|
342532
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
342553
|
+
/** @deprecated in 5.0. Use [Symbol.dispose] instead. */
|
|
342533
342554
|
/* c8 ignore next 3 */
|
|
342534
342555
|
dispose() {
|
|
342535
342556
|
this[Symbol.dispose]();
|
|
@@ -342656,7 +342677,7 @@ class PresentationManager {
|
|
|
342656
342677
|
}
|
|
342657
342678
|
/**
|
|
342658
342679
|
* Retrieves nodes
|
|
342659
|
-
* @deprecated in 4.5. Use [[getNodesIterator]] instead.
|
|
342680
|
+
* @deprecated in 4.5 - might be removed in next major version. Use [[getNodesIterator]] instead.
|
|
342660
342681
|
*/
|
|
342661
342682
|
async getNodes(requestOptions) {
|
|
342662
342683
|
const result = await this.getNodesIterator(requestOptions);
|
|
@@ -342671,7 +342692,7 @@ class PresentationManager {
|
|
|
342671
342692
|
}
|
|
342672
342693
|
/**
|
|
342673
342694
|
* Retrieves total nodes count and a single page of nodes.
|
|
342674
|
-
* @deprecated in 4.5. Use [[getNodesIterator]] instead.
|
|
342695
|
+
* @deprecated in 4.5 - might be removed in next major version. Use [[getNodesIterator]] instead.
|
|
342675
342696
|
*/
|
|
342676
342697
|
async getNodesAndCount(requestOptions) {
|
|
342677
342698
|
const result = await this.getNodesIterator(requestOptions);
|
|
@@ -342815,7 +342836,7 @@ class PresentationManager {
|
|
|
342815
342836
|
}
|
|
342816
342837
|
/**
|
|
342817
342838
|
* Retrieves content which consists of a content descriptor and a page of records.
|
|
342818
|
-
* @deprecated in 4.5. Use [[getContentIterator]] instead.
|
|
342839
|
+
* @deprecated in 4.5 - might be removed in next major version. Use [[getContentIterator]] instead.
|
|
342819
342840
|
*/
|
|
342820
342841
|
async getContent(requestOptions) {
|
|
342821
342842
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
@@ -342823,7 +342844,7 @@ class PresentationManager {
|
|
|
342823
342844
|
}
|
|
342824
342845
|
/**
|
|
342825
342846
|
* Retrieves content set size and content which consists of a content descriptor and a page of records.
|
|
342826
|
-
* @deprecated in 4.5. Use [[getContentIterator]] instead.
|
|
342847
|
+
* @deprecated in 4.5 - might be removed in next major version. Use [[getContentIterator]] instead.
|
|
342827
342848
|
*/
|
|
342828
342849
|
async getContentAndSize(requestOptions) {
|
|
342829
342850
|
const response = await this.getContentIterator(requestOptions);
|
|
@@ -342860,7 +342881,7 @@ class PresentationManager {
|
|
|
342860
342881
|
}
|
|
342861
342882
|
/**
|
|
342862
342883
|
* Retrieves distinct values of specific field from the content.
|
|
342863
|
-
* @deprecated in 4.5. Use [[getDistinctValuesIterator]] instead.
|
|
342884
|
+
* @deprecated in 4.5 - might be removed in next major version. Use [[getDistinctValuesIterator]] instead.
|
|
342864
342885
|
*/
|
|
342865
342886
|
async getPagedDistinctValues(requestOptions) {
|
|
342866
342887
|
const result = await this.getDistinctValuesIterator(requestOptions);
|
|
@@ -342949,7 +342970,7 @@ class PresentationManager {
|
|
|
342949
342970
|
}
|
|
342950
342971
|
/**
|
|
342951
342972
|
* Retrieves display label definition of specific items.
|
|
342952
|
-
* @deprecated in 4.5. Use [[getDisplayLabelDefinitionsIterator]] instead.
|
|
342973
|
+
* @deprecated in 4.5 - might be removed in next major version. Use [[getDisplayLabelDefinitionsIterator]] instead.
|
|
342953
342974
|
*/
|
|
342954
342975
|
async getDisplayLabelDefinitions(requestOptions) {
|
|
342955
342976
|
const { items } = await this.getDisplayLabelDefinitionsIterator(requestOptions);
|
|
@@ -343516,14 +343537,14 @@ class FavoritePropertiesManager {
|
|
|
343516
343537
|
this.storage.dispose();
|
|
343517
343538
|
}
|
|
343518
343539
|
}
|
|
343519
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
343540
|
+
/** @deprecated in 5.0. Use [Symbol.dispose] instead. */
|
|
343520
343541
|
/* c8 ignore next 3 */
|
|
343521
343542
|
dispose() {
|
|
343522
343543
|
this[Symbol.dispose]();
|
|
343523
343544
|
}
|
|
343524
343545
|
/**
|
|
343525
343546
|
* Initialize favorite properties for the provided IModelConnection.
|
|
343526
|
-
* @deprecated in 4.5. Initialization is performed automatically by all async methods and only needed for deprecated [[FavoritePropertiesManager.has]] and [[FavoritePropertiesManager.sortFields]].
|
|
343547
|
+
* @deprecated in 4.5 - might be removed in next major version. Initialization is performed automatically by all async methods and only needed for deprecated [[FavoritePropertiesManager.has]] and [[FavoritePropertiesManager.sortFields]].
|
|
343527
343548
|
*/
|
|
343528
343549
|
initializeConnection = async (imodel) => {
|
|
343529
343550
|
const imodelId = imodel.iModelId;
|
|
@@ -343733,7 +343754,7 @@ class FavoritePropertiesManager {
|
|
|
343733
343754
|
* @param imodel IModelConnection.
|
|
343734
343755
|
* @param scope FavoritePropertiesScope to check for favorite properties. It also checks the more general scopes.
|
|
343735
343756
|
* @note `initializeConnection` must be called with the `imodel` before calling this function.
|
|
343736
|
-
* @deprecated in 4.5. Use [[FavoritePropertiesManager.hasAsync]] instead. This method is not async, therefore it requires early initialization by calling [[FavoritePropertiesManager.initializeConnection]].
|
|
343757
|
+
* @deprecated in 4.5 - might be removed in next major version. Use [[FavoritePropertiesManager.hasAsync]] instead. This method is not async, therefore it requires early initialization by calling [[FavoritePropertiesManager.initializeConnection]].
|
|
343737
343758
|
*/
|
|
343738
343759
|
has(field, imodel, scope) {
|
|
343739
343760
|
this.validateInitialization(imodel);
|
|
@@ -343761,7 +343782,7 @@ class FavoritePropertiesManager {
|
|
|
343761
343782
|
* @param imodel IModelConnection.
|
|
343762
343783
|
* @param fields Array of Field's that needs to be sorted.
|
|
343763
343784
|
* @note `initializeConnection` must be called with the `imodel` before calling this function.
|
|
343764
|
-
* @deprecated in 4.5. Use [[FavoritePropertiesManager.sortFieldsAsync]] instead. This method is not async, therefore it requires early initialization by calling [[FavoritePropertiesManager.initializeConnection]].
|
|
343785
|
+
* @deprecated in 4.5 - might be removed in next major version. Use [[FavoritePropertiesManager.sortFieldsAsync]] instead. This method is not async, therefore it requires early initialization by calling [[FavoritePropertiesManager.initializeConnection]].
|
|
343765
343786
|
*/
|
|
343766
343787
|
sortFields = (imodel, fields) => {
|
|
343767
343788
|
this.validateInitialization(imodel);
|
|
@@ -355771,7 +355792,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
355771
355792
|
/***/ ((module) => {
|
|
355772
355793
|
|
|
355773
355794
|
"use strict";
|
|
355774
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.1.0-dev.
|
|
355795
|
+
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"}}');
|
|
355775
355796
|
|
|
355776
355797
|
/***/ }),
|
|
355777
355798
|
|