@itwin/rpcinterface-full-stack-tests 5.1.0-dev.40 → 5.1.0-dev.41
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/backend/BackendInit.js.map +1 -1
- package/lib/common/Settings.js +12 -12
- package/lib/common/Settings.js.map +1 -1
- package/lib/common/SideChannels.js.map +1 -1
- package/lib/dist/bundled-tests.js +276 -275
- package/lib/dist/bundled-tests.js.map +1 -1
- package/lib/frontend/CodeSpecs.test.js.map +1 -1
- package/lib/frontend/DevToolsRpc.test.js.map +1 -1
- package/lib/frontend/Elements.test.js.map +1 -1
- package/lib/frontend/IModel.test.js.map +1 -1
- package/lib/frontend/IModelConnection.test.js.map +1 -1
- package/lib/frontend/Models.test.js.map +1 -1
- package/lib/frontend/PresentationRpc.test.js.map +1 -1
- package/lib/frontend/Views.test.js.map +1 -1
- package/lib/frontend/setup/IModelSession.js.map +1 -1
- package/lib/frontend/setup/TestContext.js.map +1 -1
- package/lib/frontend/workflows/BasicScenarios.test.js.map +1 -1
- package/package.json +14 -14
|
@@ -48441,7 +48441,7 @@ var GeoServiceStatus;
|
|
|
48441
48441
|
GeoServiceStatus[GeoServiceStatus["VerticalDatumConvertError"] = 147460] = "VerticalDatumConvertError";
|
|
48442
48442
|
GeoServiceStatus[GeoServiceStatus["CSMapError"] = 147461] = "CSMapError";
|
|
48443
48443
|
/**
|
|
48444
|
-
* @deprecated in 5.0. This status is never returned.
|
|
48444
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. This status is never returned.
|
|
48445
48445
|
*/
|
|
48446
48446
|
GeoServiceStatus[GeoServiceStatus["Pending"] = 147462] = "Pending";
|
|
48447
48447
|
})(GeoServiceStatus || (GeoServiceStatus = {}));
|
|
@@ -49928,7 +49928,7 @@ Symbol.dispose ??= Symbol("Symbol.dispose");
|
|
|
49928
49928
|
Symbol.asyncDispose ??= Symbol("Symbol.asyncDispose");
|
|
49929
49929
|
/**
|
|
49930
49930
|
* A type guard that checks whether the given argument implements `IDisposable` interface
|
|
49931
|
-
* @deprecated in 5.0 Use isDisposable instead.
|
|
49931
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use isDisposable instead.
|
|
49932
49932
|
* @public
|
|
49933
49933
|
*/
|
|
49934
49934
|
function isIDisposable(obj) {
|
|
@@ -49967,7 +49967,7 @@ function disposeArray(list) {
|
|
|
49967
49967
|
* of this function is equal to return value of func. If func throws, this function also throws (after
|
|
49968
49968
|
* disposing the resource).
|
|
49969
49969
|
* @public
|
|
49970
|
-
* @deprecated in 5.0 Use `using` declarations instead.
|
|
49970
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `using` declarations instead.
|
|
49971
49971
|
*/
|
|
49972
49972
|
function using(resources, func) {
|
|
49973
49973
|
if (!Array.isArray(resources))
|
|
@@ -51737,7 +51737,7 @@ class PerfLogger {
|
|
|
51737
51737
|
[Symbol.dispose]() {
|
|
51738
51738
|
this.logMessage();
|
|
51739
51739
|
}
|
|
51740
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
51740
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
51741
51741
|
dispose() {
|
|
51742
51742
|
this[Symbol.dispose]();
|
|
51743
51743
|
}
|
|
@@ -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 -
|
|
53475
|
+
* @deprecated in 4.4 - will not be removed until after 2026-06-13. 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 -
|
|
53535
|
+
* @deprecated in 4.4 - will not be removed until after 2026-06-13. 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 -
|
|
57206
|
+
* @deprecated in 4.11 - will not be removed until after 2026-06-13. 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
|
|
@@ -60484,7 +60484,7 @@ var PrimitiveTypeCode;
|
|
|
60484
60484
|
})(PrimitiveTypeCode || (PrimitiveTypeCode = {}));
|
|
60485
60485
|
/** Metadata for a property.
|
|
60486
60486
|
* @beta
|
|
60487
|
-
* @deprecated in 5.0. Use the `Property` class from @itwin/ecschema-metadata` instead.
|
|
60487
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `Property` class from @itwin/ecschema-metadata` instead.
|
|
60488
60488
|
*/
|
|
60489
60489
|
class PropertyMetaData {
|
|
60490
60490
|
primitiveType;
|
|
@@ -60569,7 +60569,7 @@ class PropertyMetaData {
|
|
|
60569
60569
|
}
|
|
60570
60570
|
/** Metadata for an Entity.
|
|
60571
60571
|
* @beta
|
|
60572
|
-
* @deprecated in 5.0. Use `EntityClass` class from `@itwin/ecschema-metadata` instead.
|
|
60572
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `EntityClass` class from `@itwin/ecschema-metadata` instead.
|
|
60573
60573
|
*/
|
|
60574
60574
|
class EntityMetaData {
|
|
60575
60575
|
/** The Id of the class in the [[IModelDb]] from which the metadata was obtained. */
|
|
@@ -61885,7 +61885,7 @@ var FontType;
|
|
|
61885
61885
|
* This class maps FontIds to FontProps.
|
|
61886
61886
|
* @note This API has never worked properly. Don't use it. Use [IModelDb.fonts]($backend) instead.
|
|
61887
61887
|
* @public
|
|
61888
|
-
* @deprecated in 5.0.0. Use [IModelDb.fonts]($backend) instead.
|
|
61888
|
+
* @deprecated in 5.0.0 - will not be removed until after 2026-06-13. Use [IModelDb.fonts]($backend) instead.
|
|
61889
61889
|
*/
|
|
61890
61890
|
class FontMap {
|
|
61891
61891
|
fonts = new Map();
|
|
@@ -62349,7 +62349,7 @@ var GeoCoordStatus;
|
|
|
62349
62349
|
/** This temporary status is used to mark coordinates for which the conversion has not yet been processed by the backend
|
|
62350
62350
|
* as opposed to other coordinate conversions that may have been resolved otherwise (typically a cache).
|
|
62351
62351
|
* At the completion of the conversion promise no coordinates should have this status.
|
|
62352
|
-
* @deprecated in 5.0. Pending is no longer returned as a status for coordinate conversions.
|
|
62352
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Pending is no longer returned as a status for coordinate conversions.
|
|
62353
62353
|
*/
|
|
62354
62354
|
GeoCoordStatus[GeoCoordStatus["Pending"] = -41556] = "Pending";
|
|
62355
62355
|
})(GeoCoordStatus || (GeoCoordStatus = {}));
|
|
@@ -84699,7 +84699,7 @@ const unknownIModelId = (req) => ({ iModelId: "undefined", key: req.parameters[0
|
|
|
84699
84699
|
/** The RPC interface for working with *snapshot* iModels.
|
|
84700
84700
|
* This interface is intended for desktop and mobile products. Web products are discouraged from registering this interface.
|
|
84701
84701
|
* @internal
|
|
84702
|
-
* @deprecated in 5.0. Check [[IpcAppFunctions]] or [[CheckpointConnection]] for replacements.
|
|
84702
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Check [[IpcAppFunctions]] or [[CheckpointConnection]] for replacements.
|
|
84703
84703
|
*/
|
|
84704
84704
|
class SnapshotIModelRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_0__.RpcInterface {
|
|
84705
84705
|
/** Returns the SnapshotIModelRpcInterface client instance for the frontend. */
|
|
@@ -84715,15 +84715,15 @@ class SnapshotIModelRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_
|
|
|
84715
84715
|
NOTE: Please consult the README in this folder for the semantic versioning rules.
|
|
84716
84716
|
===========================================================================================*/
|
|
84717
84717
|
/**
|
|
84718
|
-
* @deprecated in 5.0. Use [[IpcAppFunctions.openSnapshot]] in IPC applications, no replacement for Web applications.
|
|
84718
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[IpcAppFunctions.openSnapshot]] in IPC applications, no replacement for Web applications.
|
|
84719
84719
|
*/
|
|
84720
84720
|
async openFile(_filePath, _opts) { return this.forward(arguments); }
|
|
84721
84721
|
/**
|
|
84722
|
-
* @deprecated in 4.10 -
|
|
84722
|
+
* @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [[CheckpointConnection.openRemote]].
|
|
84723
84723
|
*/
|
|
84724
84724
|
async openRemote(_key, _opts) { return this.forward(arguments); }
|
|
84725
84725
|
/**
|
|
84726
|
-
* @deprecated in 5.0. Use [[IpcAppFunctions.closeIModel]] in IPC applications, no replacement for Web applications.
|
|
84726
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[IpcAppFunctions.closeIModel]] in IPC applications, no replacement for Web applications.
|
|
84727
84727
|
*/
|
|
84728
84728
|
async close(_iModelRpcProps) { return this.forward(arguments); }
|
|
84729
84729
|
}
|
|
@@ -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 -
|
|
89737
|
+
* @deprecated in 4.0 - will not be removed until after 2026-06-13. 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 -
|
|
90158
|
+
* @deprecated in 4.0 - will not be removed until after 2026-06-13. 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 -
|
|
93671
|
+
* @deprecated in 4.10 - will not be removed until after 2026-06-13. 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 -
|
|
93771
|
+
* @deprecated in 4.6.0 - will not be removed until after 2026-06-13. 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 -
|
|
95182
|
+
* @deprecated in 4.8 - will not be removed until after 2026-06-13. Use [[appliesTo]]
|
|
95183
95183
|
* */
|
|
95184
95184
|
get containerType() {
|
|
95185
95185
|
return this.appliesTo;
|
|
@@ -101744,7 +101744,7 @@ class ECSchemaRpcLocater {
|
|
|
101744
101744
|
* @param _matchType How to match key against candidate schemas
|
|
101745
101745
|
* @param _context The SchemaContext that will control the lifetime of the schema and holds the schema's references, if they exist.
|
|
101746
101746
|
* @throws Error Always throws an error indicating this method is not supported.
|
|
101747
|
-
* @deprecated in 5.0 Use the asynchronous `getSchema` method for schema retrieval.
|
|
101747
|
+
* @deprecated in 5.0. Use the asynchronous `getSchema` method for schema retrieval.
|
|
101748
101748
|
*/
|
|
101749
101749
|
getSchemaSync(_schemaKey, _matchType, _context) {
|
|
101750
101750
|
throw new Error("getSchemaSync is not supported. Use the asynchronous getSchema method instead.");
|
|
@@ -112575,7 +112575,7 @@ class GraphicalEditingScope extends _BriefcaseTxns__WEBPACK_IMPORTED_MODULE_2__.
|
|
|
112575
112575
|
this._cleanup = undefined;
|
|
112576
112576
|
}
|
|
112577
112577
|
}
|
|
112578
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
112578
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
112579
112579
|
dispose() {
|
|
112580
112580
|
this[Symbol.dispose]();
|
|
112581
112581
|
}
|
|
@@ -113988,13 +113988,13 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
113988
113988
|
*/
|
|
113989
113989
|
onClose = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
113990
113990
|
/** The font map for this IModelConnection. Only valid after calling #loadFontMap and waiting for the returned promise to be fulfilled.
|
|
113991
|
-
* @deprecated in 5.0.0. If you need font Ids on the front-end for some reason, write an Ipc method that queries [IModelDb.fonts]($backend).
|
|
113991
|
+
* @deprecated in 5.0.0 - will not be removed until after 2026-06-13. If you need font Ids on the front-end for some reason, write an Ipc method that queries [IModelDb.fonts]($backend).
|
|
113992
113992
|
*/
|
|
113993
113993
|
fontMap; // eslint-disable-line @typescript-eslint/no-deprecated
|
|
113994
113994
|
_schemaContext;
|
|
113995
113995
|
/** Load the FontMap for this IModelConnection.
|
|
113996
113996
|
* @returns Returns a Promise<FontMap> that is fulfilled when the FontMap member of this IModelConnection is valid.
|
|
113997
|
-
* @deprecated in 5.0.0. If you need font Ids on the front-end for some reason, write an Ipc method that queries [IModelDb.fonts]($backend).
|
|
113997
|
+
* @deprecated in 5.0.0 - will not be removed until after 2026-06-13. If you need font Ids on the front-end for some reason, write an Ipc method that queries [IModelDb.fonts]($backend).
|
|
113998
113998
|
*/
|
|
113999
113999
|
async loadFontMap() {
|
|
114000
114000
|
if (undefined === this.fontMap) { // eslint-disable-line @typescript-eslint/no-deprecated
|
|
@@ -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 -
|
|
114118
|
+
* @deprecated in 4.8 - will not be removed until after 2026-06-13. 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 -
|
|
114159
|
+
* @deprecated in 4.11 - will not be removed until after 2026-06-13. 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 -
|
|
114478
|
+
* @deprecated in 4.10 - will not be removed until after 2026-06-13. 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 -
|
|
114885
|
+
* @deprecated in 4.2 - will not be removed until after 2026-06-13. 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 -
|
|
115271
|
+
* @deprecated in 4.8 - will not be removed until after 2026-06-13. 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);
|
|
@@ -118462,7 +118462,7 @@ class HiliteSet {
|
|
|
118462
118462
|
/** Toggle the hilited state of one or more elements.
|
|
118463
118463
|
* @param arg the ID(s) of the elements whose state is to be toggled.
|
|
118464
118464
|
* @param onOff True to add the elements to the hilited set, false to remove them.
|
|
118465
|
-
* @deprecated in 5.0. Use [[add]], [[remove]], [[replace]] instead.
|
|
118465
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[add]], [[remove]], [[replace]] instead.
|
|
118466
118466
|
*/
|
|
118467
118467
|
setHilite(arg, onOff) {
|
|
118468
118468
|
if (onOff) {
|
|
@@ -118530,14 +118530,14 @@ class SelectionSet {
|
|
|
118530
118530
|
}
|
|
118531
118531
|
/** Return true if elemId is in this `SelectionSet`.
|
|
118532
118532
|
* @see [[isSelected]]
|
|
118533
|
-
* @deprecated in 5.0. Use `SelectionSet.elements.has(elemId)` instead.
|
|
118533
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `SelectionSet.elements.has(elemId)` instead.
|
|
118534
118534
|
*/
|
|
118535
118535
|
has(elemId) {
|
|
118536
118536
|
return !!elemId && this.elements.has(elemId);
|
|
118537
118537
|
}
|
|
118538
118538
|
/** Query whether an Id is in the selection set.
|
|
118539
118539
|
* @see [[has]]
|
|
118540
|
-
* @deprecated in 5.0. Use `SelectionSet.elements.has(elemId)` instead.
|
|
118540
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `SelectionSet.elements.has(elemId)` instead.
|
|
118541
118541
|
*/
|
|
118542
118542
|
isSelected(elemId) {
|
|
118543
118543
|
return !!elemId && this.elements.has(elemId);
|
|
@@ -123320,7 +123320,7 @@ class ViewState extends _EntityState__WEBPACK_IMPORTED_MODULE_5__.ElementState {
|
|
|
123320
123320
|
/** Execute a function against each [[TileTreeReference]] associated with this view.
|
|
123321
123321
|
* This may include tile trees not associated with any [[GeometricModelState]] - e.g., context reality data.
|
|
123322
123322
|
* @note This method is inefficient (iteration cannot be aborted) and awkward (callback cannot be async nor return a value). Prefer to iterate using [[getTileTreeRefs]].
|
|
123323
|
-
* @deprecated in 5.0. Use [[getTileTreeRefs]] instead.
|
|
123323
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[getTileTreeRefs]] instead.
|
|
123324
123324
|
*/
|
|
123325
123325
|
forEachTileTreeRef(func) {
|
|
123326
123326
|
for (const ref of this.getModelTreeRefs()) {
|
|
@@ -126363,7 +126363,7 @@ class Viewport {
|
|
|
126363
126363
|
this.onDisposed.raiseEvent(this);
|
|
126364
126364
|
this.detachFromView();
|
|
126365
126365
|
}
|
|
126366
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
126366
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
126367
126367
|
dispose() {
|
|
126368
126368
|
this[Symbol.dispose]();
|
|
126369
126369
|
}
|
|
@@ -126722,7 +126722,7 @@ class Viewport {
|
|
|
126722
126722
|
}
|
|
126723
126723
|
}
|
|
126724
126724
|
/** Apply a function to every tile tree reference associated with the map layers displayed by this viewport.
|
|
126725
|
-
* @deprecated in 5.0. Use [[mapTileTreeRefs]] instead.
|
|
126725
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[mapTileTreeRefs]] instead.
|
|
126726
126726
|
*/
|
|
126727
126727
|
forEachMapTreeRef(func) {
|
|
126728
126728
|
if (this._mapTiledGraphicsProvider)
|
|
@@ -126734,7 +126734,7 @@ class Viewport {
|
|
|
126734
126734
|
}
|
|
126735
126735
|
;
|
|
126736
126736
|
/** Apply a function to every [[TileTreeReference]] displayed by this viewport.
|
|
126737
|
-
* @deprecated in 5.0. Use [[getTileTreeRefs]] instead.
|
|
126737
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[getTileTreeRefs]] instead.
|
|
126738
126738
|
*/
|
|
126739
126739
|
forEachTileTreeRef(func) {
|
|
126740
126740
|
for (const ref of this.getTileTreeRefs()) {
|
|
@@ -139721,7 +139721,7 @@ class AtmosphereUniforms {
|
|
|
139721
139721
|
return true;
|
|
139722
139722
|
}
|
|
139723
139723
|
[Symbol.dispose]() { }
|
|
139724
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
139724
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
139725
139725
|
dispose() {
|
|
139726
139726
|
this[Symbol.dispose]();
|
|
139727
139727
|
}
|
|
@@ -139807,7 +139807,7 @@ class BuffersContainer {
|
|
|
139807
139807
|
this._context = context;
|
|
139808
139808
|
this._vao = new VAOHandle(this._context);
|
|
139809
139809
|
}
|
|
139810
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
139810
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
139811
139811
|
dispose() {
|
|
139812
139812
|
this[Symbol.dispose]();
|
|
139813
139813
|
}
|
|
@@ -139869,7 +139869,7 @@ class VAOHandle {
|
|
|
139869
139869
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(!this.isDisposed);
|
|
139870
139870
|
}
|
|
139871
139871
|
get isDisposed() { return this._arrayObject === undefined; }
|
|
139872
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
139872
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
139873
139873
|
dispose() {
|
|
139874
139874
|
this[Symbol.dispose]();
|
|
139875
139875
|
}
|
|
@@ -142593,7 +142593,7 @@ class ClippingProgram {
|
|
|
142593
142593
|
[Symbol.dispose]() {
|
|
142594
142594
|
this._program = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this._program);
|
|
142595
142595
|
}
|
|
142596
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
142596
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
142597
142597
|
dispose() {
|
|
142598
142598
|
this[Symbol.dispose]();
|
|
142599
142599
|
}
|
|
@@ -154647,7 +154647,7 @@ class ShaderProgram {
|
|
|
154647
154647
|
this._status = 2 /* CompileStatus.Uncompiled */;
|
|
154648
154648
|
}
|
|
154649
154649
|
}
|
|
154650
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
154650
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
154651
154651
|
dispose() {
|
|
154652
154652
|
this[Symbol.dispose]();
|
|
154653
154653
|
}
|
|
@@ -155116,7 +155116,7 @@ class ShaderProgramExecutor {
|
|
|
155116
155116
|
ShaderProgramExecutor.freeParams();
|
|
155117
155117
|
this._isDisposed = true;
|
|
155118
155118
|
}
|
|
155119
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
155119
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
155120
155120
|
dispose() {
|
|
155121
155121
|
this[Symbol.dispose]();
|
|
155122
155122
|
}
|
|
@@ -158734,7 +158734,7 @@ class SingularTechnique {
|
|
|
158734
158734
|
[Symbol.dispose]() {
|
|
158735
158735
|
this.program[Symbol.dispose]();
|
|
158736
158736
|
}
|
|
158737
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
158737
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
158738
158738
|
dispose() {
|
|
158739
158739
|
this[Symbol.dispose]();
|
|
158740
158740
|
}
|
|
@@ -158791,7 +158791,7 @@ class VariedTechnique {
|
|
|
158791
158791
|
this._clippingPrograms.length = 0;
|
|
158792
158792
|
this._isDisposed = true;
|
|
158793
158793
|
}
|
|
158794
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
158794
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
158795
158795
|
dispose() {
|
|
158796
158796
|
this[Symbol.dispose]();
|
|
158797
158797
|
}
|
|
@@ -159498,7 +159498,7 @@ class Techniques {
|
|
|
159498
159498
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(tech);
|
|
159499
159499
|
this._list.length = 0;
|
|
159500
159500
|
}
|
|
159501
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
159501
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
159502
159502
|
dispose() {
|
|
159503
159503
|
this[Symbol.dispose]();
|
|
159504
159504
|
}
|
|
@@ -175586,7 +175586,7 @@ class RealityTreeReference extends RealityModelTileTree.Reference {
|
|
|
175586
175586
|
div.innerHTML = strings.join("<br>");
|
|
175587
175587
|
return div;
|
|
175588
175588
|
}
|
|
175589
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
175589
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
175590
175590
|
addLogoCards(cards) {
|
|
175591
175591
|
if (this._rdSourceKey.provider === _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.CesiumIonAsset && !cards.dataset.openStreetMapLogoCard) {
|
|
175592
175592
|
cards.dataset.openStreetMapLogoCard = "true";
|
|
@@ -177295,7 +177295,7 @@ class ArcGISMapLayerImageryProvider extends _tile_internal__WEBPACK_IMPORTED_MOD
|
|
|
177295
177295
|
}
|
|
177296
177296
|
}
|
|
177297
177297
|
}
|
|
177298
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
177298
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
177299
177299
|
addLogoCards(cards) {
|
|
177300
177300
|
if (!cards.dataset.arcGisLogoCard) {
|
|
177301
177301
|
cards.dataset.arcGisLogoCard = "true";
|
|
@@ -177525,7 +177525,7 @@ class AzureMapsLayerImageryProvider extends _tile_internal__WEBPACK_IMPORTED_MOD
|
|
|
177525
177525
|
return "";
|
|
177526
177526
|
return `${this._settings.url}&${this._settings.accessKey.key}=${this._settings.accessKey.value}&api-version=2.0&zoom=${zoom}&x=${x}&y=${y}`;
|
|
177527
177527
|
}
|
|
177528
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
177528
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
177529
177529
|
addLogoCards(cards) {
|
|
177530
177530
|
if (!cards.dataset.azureMapsLogoCard) {
|
|
177531
177531
|
cards.dataset.azureMapsLogoCard = "true";
|
|
@@ -177692,7 +177692,7 @@ class BingMapsImageryLayerProvider extends _tile_internal__WEBPACK_IMPORTED_MODU
|
|
|
177692
177692
|
}
|
|
177693
177693
|
return matchingAttributions;
|
|
177694
177694
|
}
|
|
177695
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
177695
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
177696
177696
|
addLogoCards(cards, vp) {
|
|
177697
177697
|
const tiles = _IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.tileAdmin.getTilesForUser(vp)?.selected;
|
|
177698
177698
|
const matchingAttributions = this.getMatchingAttributions(tiles);
|
|
@@ -178149,7 +178149,7 @@ class MapBoxLayerImageryProvider extends _tile_internal__WEBPACK_IMPORTED_MODULE
|
|
|
178149
178149
|
url = url.concat(`?${this._settings.accessKey.key}=${this._settings.accessKey.value}`);
|
|
178150
178150
|
return url;
|
|
178151
178151
|
}
|
|
178152
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
178152
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
178153
178153
|
addLogoCards(cards) {
|
|
178154
178154
|
if (!cards.dataset.mapboxLogoCard) {
|
|
178155
178155
|
cards.dataset.mapboxLogoCard = "true";
|
|
@@ -179889,7 +179889,7 @@ class AngleDescription extends _FormattedQuantityDescription__WEBPACK_IMPORTED_M
|
|
|
179889
179889
|
}
|
|
179890
179890
|
get formatterQuantityType() { return _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_1__.QuantityType.Angle; }
|
|
179891
179891
|
/**
|
|
179892
|
-
* @deprecated in 5.0. Use the `kindOfQuantityName` property instead.
|
|
179892
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `kindOfQuantityName` property instead.
|
|
179893
179893
|
*/
|
|
179894
179894
|
get quantityType() { return "Angle"; }
|
|
179895
179895
|
get parseError() { return _IModelApp__WEBPACK_IMPORTED_MODULE_0__.IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseAngle"); }
|
|
@@ -180022,7 +180022,7 @@ class LengthDescription extends _FormattedQuantityDescription__WEBPACK_IMPORTED_
|
|
|
180022
180022
|
}
|
|
180023
180023
|
get formatterQuantityType() { return _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_1__.QuantityType.Length; }
|
|
180024
180024
|
/**
|
|
180025
|
-
* @deprecated in 5.0. Use the `kindOfQuantityName` property instead.
|
|
180025
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `kindOfQuantityName` property instead.
|
|
180026
180026
|
*/
|
|
180027
180027
|
get quantityType() { return "Length"; }
|
|
180028
180028
|
get parseError() { return _IModelApp__WEBPACK_IMPORTED_MODULE_0__.IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseLength"); }
|
|
@@ -180043,7 +180043,7 @@ class SurveyLengthDescription extends _FormattedQuantityDescription__WEBPACK_IMP
|
|
|
180043
180043
|
}
|
|
180044
180044
|
get formatterQuantityType() { return _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_1__.QuantityType.LengthSurvey; }
|
|
180045
180045
|
/**
|
|
180046
|
-
* @deprecated in 5.0. Use the `kindOfQuantityName` property instead.
|
|
180046
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `kindOfQuantityName` property instead.
|
|
180047
180047
|
*/
|
|
180048
180048
|
get quantityType() { return "LengthSurvey"; }
|
|
180049
180049
|
get parseError() { return _IModelApp__WEBPACK_IMPORTED_MODULE_0__.IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseLength"); }
|
|
@@ -180064,7 +180064,7 @@ class EngineeringLengthDescription extends _FormattedQuantityDescription__WEBPAC
|
|
|
180064
180064
|
}
|
|
180065
180065
|
get formatterQuantityType() { return _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_1__.QuantityType.LengthEngineering; }
|
|
180066
180066
|
/**
|
|
180067
|
-
* @deprecated in 5.0. Use the `kindOfQuantityName` property instead.
|
|
180067
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `kindOfQuantityName` property instead.
|
|
180068
180068
|
*/
|
|
180069
180069
|
get quantityType() { return "LengthEngineering"; }
|
|
180070
180070
|
get parseError() { return _IModelApp__WEBPACK_IMPORTED_MODULE_0__.IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseLength"); }
|
|
@@ -181918,7 +181918,7 @@ class Decorations {
|
|
|
181918
181918
|
this.viewOverlay = undefined;
|
|
181919
181919
|
this.normal = undefined;
|
|
181920
181920
|
}
|
|
181921
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
181921
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
181922
181922
|
dispose() {
|
|
181923
181923
|
this[Symbol.dispose]();
|
|
181924
181924
|
}
|
|
@@ -182219,7 +182219,7 @@ class GraphicBranch {
|
|
|
182219
182219
|
[Symbol.dispose]() {
|
|
182220
182220
|
this.clear();
|
|
182221
182221
|
}
|
|
182222
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
182222
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
182223
182223
|
dispose() {
|
|
182224
182224
|
this[Symbol.dispose]();
|
|
182225
182225
|
}
|
|
@@ -187835,7 +187835,7 @@ class Tile {
|
|
|
187835
187835
|
this._state = 5 /* TileState.Abandoned */;
|
|
187836
187836
|
this.disposeChildren();
|
|
187837
187837
|
}
|
|
187838
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
187838
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
187839
187839
|
dispose() {
|
|
187840
187840
|
this[Symbol.dispose]();
|
|
187841
187841
|
}
|
|
@@ -190496,7 +190496,7 @@ class TileTree {
|
|
|
190496
190496
|
this._isDisposed = true;
|
|
190497
190497
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.rootTile);
|
|
190498
190498
|
}
|
|
190499
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
190499
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
190500
190500
|
dispose() {
|
|
190501
190501
|
this[Symbol.dispose]();
|
|
190502
190502
|
}
|
|
@@ -190818,7 +190818,7 @@ class TileTreeReference /* implements RenderMemory.Consumer */ {
|
|
|
190818
190818
|
* @beta
|
|
190819
190819
|
*/
|
|
190820
190820
|
get planarClipMaskPriority() { return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.PlanarClipMaskPriority.DesignModel; }
|
|
190821
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
190821
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
190822
190822
|
addLogoCards(_cards, _vp) { }
|
|
190823
190823
|
/** Add attribution logo cards for the tile tree source logo cards to the viewport's logo div.
|
|
190824
190824
|
* @beta
|
|
@@ -191786,7 +191786,7 @@ class CesiumTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_8__.Terra
|
|
|
191786
191786
|
this._assetId = opts.dataSource || _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.CesiumTerrainAssetId.Default;
|
|
191787
191787
|
this._tokenTimeOut = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeTimePoint.now().plus(CesiumTerrainProvider._tokenTimeoutInterval);
|
|
191788
191788
|
}
|
|
191789
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
191789
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
191790
191790
|
addLogoCards(cards) {
|
|
191791
191791
|
if (cards.dataset.cesiumIonLogoCard)
|
|
191792
191792
|
return;
|
|
@@ -192406,7 +192406,7 @@ class ImageryMapTileTree extends _internal__WEBPACK_IMPORTED_MODULE_4__.RealityT
|
|
|
192406
192406
|
this._rootTile = new ImageryMapTile(params.rootTile, this, rootQuadId, this.getTileRectangle(rootQuadId));
|
|
192407
192407
|
}
|
|
192408
192408
|
get tilingScheme() { return this._imageryLoader.imageryProvider.tilingScheme; }
|
|
192409
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
192409
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
192410
192410
|
addLogoCards(cards, vp) {
|
|
192411
192411
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
192412
192412
|
this._imageryLoader.addLogoCards(cards, vp);
|
|
@@ -192460,7 +192460,7 @@ class ImageryTileLoader extends _internal__WEBPACK_IMPORTED_MODULE_4__.RealityTi
|
|
|
192460
192460
|
get maxDepth() { return this._imageryProvider.maximumZoomLevel; }
|
|
192461
192461
|
get minDepth() { return this._imageryProvider.minimumZoomLevel; }
|
|
192462
192462
|
get priority() { return _internal__WEBPACK_IMPORTED_MODULE_4__.TileLoadPriority.Map; }
|
|
192463
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
192463
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
192464
192464
|
addLogoCards(cards, vp) {
|
|
192465
192465
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
192466
192466
|
this._imageryProvider.addLogoCards(cards, vp);
|
|
@@ -193365,7 +193365,7 @@ class MapLayerImageryProvider {
|
|
|
193365
193365
|
});
|
|
193366
193366
|
}
|
|
193367
193367
|
get tilingScheme() { return this.useGeographicTilingScheme ? this._geographicTilingScheme : this._mercatorTilingScheme; }
|
|
193368
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
193368
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
193369
193369
|
addLogoCards(_cards, _viewport) { }
|
|
193370
193370
|
/**
|
|
193371
193371
|
* Add attribution logo cards for the data supplied by this provider to the [[Viewport]]'s logo div.
|
|
@@ -195718,7 +195718,7 @@ class MapTileTreeReference extends _internal__WEBPACK_IMPORTED_MODULE_7__.TileTr
|
|
|
195718
195718
|
}
|
|
195719
195719
|
return info;
|
|
195720
195720
|
}
|
|
195721
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
195721
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
195722
195722
|
addLogoCards(cards, vp) {
|
|
195723
195723
|
const tree = this.treeOwner.tileTree;
|
|
195724
195724
|
if (tree) {
|
|
@@ -196356,7 +196356,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
196356
196356
|
* @public
|
|
196357
196357
|
*/
|
|
196358
196358
|
class TerrainMeshProvider {
|
|
196359
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
196359
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
196360
196360
|
addLogoCards(_cards, _vp) { }
|
|
196361
196361
|
/** Add attribution logo cards for the terrain data supplied by this provider to the [[Viewport]]'s logo div.
|
|
196362
196362
|
* For example, a provider that produces meshes from [Bing Maps](https://docs.microsoft.com/en-us/bingmaps/rest-services/elevations/) would be required to
|
|
@@ -211353,7 +211353,7 @@ class Geometry {
|
|
|
211353
211353
|
static largeCoordinateResult = 1.0e13;
|
|
211354
211354
|
/**
|
|
211355
211355
|
* Numeric value that may considered infinite for metric coordinates.
|
|
211356
|
-
* @deprecated in 4.x -
|
|
211356
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Use [[largeCoordinateResult]].
|
|
211357
211357
|
* * This coordinate should be used only as a placeholder indicating "at infinity" -- computing actual
|
|
211358
211358
|
* points at this coordinate invites numerical problems.
|
|
211359
211359
|
*/
|
|
@@ -211364,7 +211364,7 @@ class Geometry {
|
|
|
211364
211364
|
}
|
|
211365
211365
|
/**
|
|
211366
211366
|
* Test if the absolute value of x is at least [[largeCoordinateResult]].
|
|
211367
|
-
* @deprecated in 4.x -
|
|
211367
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Use [[isLargeCoordinateResult]].
|
|
211368
211368
|
*/
|
|
211369
211369
|
static isHugeCoordinate(x) {
|
|
211370
211370
|
return Geometry.isLargeCoordinateResult(x);
|
|
@@ -212331,7 +212331,7 @@ class Geometry {
|
|
|
212331
212331
|
/**
|
|
212332
212332
|
* Clone an array whose members have type `T`, which implements the clone method.
|
|
212333
212333
|
* * If the clone method returns `undefined`, then `undefined` is forced into the cloned array.
|
|
212334
|
-
* @deprecated in 4.x -
|
|
212334
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Use cloneArray.
|
|
212335
212335
|
*/
|
|
212336
212336
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
212337
212337
|
static cloneMembers(array) {
|
|
@@ -212757,7 +212757,7 @@ class BSpline1dNd {
|
|
|
212757
212757
|
* Test if the leading and trailing polygon coordinates are replicated in the manner of a "closed" bspline polygon
|
|
212758
212758
|
* which has been expanded to act as a normal bspline.
|
|
212759
212759
|
* @returns true if `degree` leading and trailing polygon blocks match.
|
|
212760
|
-
* @deprecated in 4.x -
|
|
212760
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Use `testClosablePolygon` instead.
|
|
212761
212761
|
*/
|
|
212762
212762
|
testCloseablePolygon(mode) {
|
|
212763
212763
|
return this.testClosablePolygon(mode);
|
|
@@ -215057,7 +215057,7 @@ var UVSelect;
|
|
|
215057
215057
|
UVSelect[UVSelect["uDirection"] = 0] = "uDirection";
|
|
215058
215058
|
/**
|
|
215059
215059
|
* index of v direction
|
|
215060
|
-
* @deprecated in 4.x -
|
|
215060
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Use vDirection instead.
|
|
215061
215061
|
*/
|
|
215062
215062
|
UVSelect[UVSelect["VDirection"] = 1] = "VDirection";
|
|
215063
215063
|
/** index of v direction */
|
|
@@ -215284,7 +215284,7 @@ class BSpline2dNd extends _curve_GeometryQuery__WEBPACK_IMPORTED_MODULE_0__.Geom
|
|
|
215284
215284
|
}
|
|
215285
215285
|
/**
|
|
215286
215286
|
* sum poles by the weights in the basisBuffer, using poles for given span
|
|
215287
|
-
* @deprecated in 4.x -
|
|
215287
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Use sumPoleBufferDerivativesForSpan instead.
|
|
215288
215288
|
*/
|
|
215289
215289
|
sumpoleBufferDerivativesForSpan(spanIndexU, spanIndexV) {
|
|
215290
215290
|
return this.sumPoleBufferDerivativesForSpan(spanIndexU, spanIndexV);
|
|
@@ -215506,7 +215506,7 @@ class BSplineSurface3d extends BSpline2dNd {
|
|
|
215506
215506
|
getPointGridJSON() {
|
|
215507
215507
|
const result = {
|
|
215508
215508
|
points: _geometry3d_PointHelpers__WEBPACK_IMPORTED_MODULE_7__.Point3dArray.unpackNumbersToNestedArraysIJK(this.coffs, 3, this.numPolesUV(0)),
|
|
215509
|
-
weighStyle: WeightStyle.WeightsAlreadyAppliedToCoordinates, // @deprecated in 4.x -
|
|
215509
|
+
weighStyle: WeightStyle.WeightsAlreadyAppliedToCoordinates, // @deprecated in 4.x - will not be removed until after 2026-06-13. Use weightStyle instead.
|
|
215510
215510
|
weightStyle: WeightStyle.UnWeighted,
|
|
215511
215511
|
numCartesianDimensions: 3,
|
|
215512
215512
|
};
|
|
@@ -215919,7 +215919,7 @@ class BSplineSurface3dH extends BSpline2dNd {
|
|
|
215919
215919
|
const result = {
|
|
215920
215920
|
points: _geometry3d_PointHelpers__WEBPACK_IMPORTED_MODULE_7__.Point3dArray.unpackNumbersToNestedArraysIJK(this.coffs, 4, this.numPolesUV(0)),
|
|
215921
215921
|
numCartesianDimensions: 3,
|
|
215922
|
-
weighStyle: WeightStyle.WeightsAlreadyAppliedToCoordinates, // @deprecated in 4.x -
|
|
215922
|
+
weighStyle: WeightStyle.WeightsAlreadyAppliedToCoordinates, // @deprecated in 4.x - will not be removed until after 2026-06-13. Use weightStyle instead.
|
|
215923
215923
|
weightStyle: WeightStyle.WeightsAlreadyAppliedToCoordinates,
|
|
215924
215924
|
};
|
|
215925
215925
|
return result;
|
|
@@ -224804,7 +224804,7 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
|
|
|
224804
224804
|
}
|
|
224805
224805
|
/**
|
|
224806
224806
|
* Gauss point quadrature count for evaluating curve length. (The number of intervals is adjusted to the arc sweep).
|
|
224807
|
-
* @deprecated in 5.0. Use correct spelling quadratureGaussCount.
|
|
224807
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use correct spelling quadratureGaussCount.
|
|
224808
224808
|
*/
|
|
224809
224809
|
static quadratureGuassCount = 5;
|
|
224810
224810
|
/** Gauss point quadrature count for evaluating curve length. (The number of intervals is adjusted to the arc sweep). */
|
|
@@ -228629,7 +228629,7 @@ class CurveLocationDetailPair {
|
|
|
228629
228629
|
}
|
|
228630
228630
|
/**
|
|
228631
228631
|
* Data bundle for a pair of arrays of CurveLocationDetail structures.
|
|
228632
|
-
* @deprecated in 4.x -
|
|
228632
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Use CurveLocationDetailPair[] instead.
|
|
228633
228633
|
* @public
|
|
228634
228634
|
*/
|
|
228635
228635
|
class CurveLocationDetailArrayPair {
|
|
@@ -236335,7 +236335,7 @@ class StrokeOptions {
|
|
|
236335
236335
|
maxEdgeLength;
|
|
236336
236336
|
/**
|
|
236337
236337
|
* Caller expects convex facets.
|
|
236338
|
-
* @deprecated in 4.x -
|
|
236338
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Never used. See [[shouldTriangulate]] and [[maximizeConvexFacets]].
|
|
236339
236339
|
*/
|
|
236340
236340
|
needConvexFacets;
|
|
236341
236341
|
/** Minimum strokes on a primitive. */
|
|
@@ -250603,7 +250603,7 @@ class GrowableXYArray extends _IndexedXYCollection__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
250603
250603
|
return result;
|
|
250604
250604
|
}
|
|
250605
250605
|
/** Restructure MultiLineStringDataVariant as array of GrowableXYZArray
|
|
250606
|
-
* @deprecated in 4.x -
|
|
250606
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Moved to GrowableXYZArray class.
|
|
250607
250607
|
*/
|
|
250608
250608
|
static createArrayOfGrowableXYZArray(data) {
|
|
250609
250609
|
return _GrowableXYZArray__WEBPACK_IMPORTED_MODULE_1__.GrowableXYZArray.createArrayOfGrowableXYZArray(data);
|
|
@@ -269286,7 +269286,7 @@ class Point4d extends _geometry3d_Plane3d__WEBPACK_IMPORTED_MODULE_0__.Plane3d {
|
|
|
269286
269286
|
* extract 4 consecutive numbers from a Float64Array into a Point4d.
|
|
269287
269287
|
* @param data buffer of numbers
|
|
269288
269288
|
* @param xIndex first index for x,y,z,w sequence. Assumed to be a valid index!
|
|
269289
|
-
* @deprecated in 4.x -
|
|
269289
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Use createFromPacked instead.
|
|
269290
269290
|
*/
|
|
269291
269291
|
static createFromPackedXYZW(data, xIndex = 0, result) {
|
|
269292
269292
|
return Point4d.create(data[xIndex], data[xIndex + 1], data[xIndex + 2], data[xIndex + 3], result);
|
|
@@ -278610,7 +278610,7 @@ class IndexedPolyface extends Polyface {
|
|
|
278610
278610
|
}
|
|
278611
278611
|
/**
|
|
278612
278612
|
* Clean up the open facet.
|
|
278613
|
-
* @deprecated in 4.x -
|
|
278613
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. To remove nebulous "open facet" concept from the API. Call [[PolyfaceData.trimAllIndexArrays]]
|
|
278614
278614
|
* instead.
|
|
278615
278615
|
*/
|
|
278616
278616
|
cleanupOpenFacet() {
|
|
@@ -278760,7 +278760,7 @@ class IndexedPolyface extends Polyface {
|
|
|
278760
278760
|
}
|
|
278761
278761
|
/**
|
|
278762
278762
|
* Given the index of a facet, return the data pertaining to the face it is a part of.
|
|
278763
|
-
* @deprecated in 4.x -
|
|
278763
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Use [[IndexedPolyface.tryGetFaceData]], which verifies the index is in range.
|
|
278764
278764
|
*/
|
|
278765
278765
|
getFaceDataByFacetIndex(facetIndex) {
|
|
278766
278766
|
return this.data.face[this._facetToFaceData[facetIndex]];
|
|
@@ -279982,7 +279982,7 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
|
|
|
279982
279982
|
* Apply stroke counts to curve primitives.
|
|
279983
279983
|
* * Recursively visit all children of data.
|
|
279984
279984
|
* * At each primitive, invoke `computeStrokeCountForOptions` method with options from the builder.
|
|
279985
|
-
* @deprecated in 4.x -
|
|
279985
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. This method does nothing and is unneeded.
|
|
279986
279986
|
*/
|
|
279987
279987
|
applyStrokeCountsToCurvePrimitives(data) {
|
|
279988
279988
|
const options = this._options;
|
|
@@ -282021,7 +282021,7 @@ class PolyfaceData {
|
|
|
282021
282021
|
}
|
|
282022
282022
|
/**
|
|
282023
282023
|
* Resize all data arrays to the specified `length`.
|
|
282024
|
-
* @deprecated in 4.x -
|
|
282024
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Because name is misleading. Call [[PolyfaceData.resizeAllArrays]] instead.
|
|
282025
282025
|
*/
|
|
282026
282026
|
resizeAllDataArrays(length) {
|
|
282027
282027
|
if (length > this.point.length) {
|
|
@@ -283593,7 +283593,7 @@ class PolyfaceQuery {
|
|
|
283593
283593
|
});
|
|
283594
283594
|
return builder.claimPolyface(true);
|
|
283595
283595
|
}
|
|
283596
|
-
/** @deprecated in 4.x -
|
|
283596
|
+
/** @deprecated in 4.x - will not be removed until after 2026-06-13. Use [[sweepLineStringToFacetsXYReturnSweptFacets]] instead. */
|
|
283597
283597
|
static sweepLinestringToFacetsXYreturnSweptFacets(linestringPoints, polyface) {
|
|
283598
283598
|
return this.sweepLineStringToFacetsXYReturnSweptFacets(linestringPoints, polyface);
|
|
283599
283599
|
}
|
|
@@ -283696,7 +283696,7 @@ class PolyfaceQuery {
|
|
|
283696
283696
|
* * Return collected line segments.
|
|
283697
283697
|
* * This calls [[sweepLineStringToFacets]] with options created by
|
|
283698
283698
|
* `const options = SweepLineStringToFacetsOptions.create(Vector3d.unitZ(), Angle.createSmallAngle(), false, true, true, true);`
|
|
283699
|
-
* @deprecated in 4.x -
|
|
283699
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
|
|
283700
283700
|
*/
|
|
283701
283701
|
static sweepLinestringToFacetsXYReturnLines(linestringPoints, polyface) {
|
|
283702
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);
|
|
@@ -283706,7 +283706,7 @@ class PolyfaceQuery {
|
|
|
283706
283706
|
* Find segments (within the linestring) which project to facets.
|
|
283707
283707
|
* * Return chains.
|
|
283708
283708
|
* * This calls [[sweepLineStringToFacets]] with default options.
|
|
283709
|
-
* @deprecated in 4.x -
|
|
283709
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
|
|
283710
283710
|
*/
|
|
283711
283711
|
static sweepLinestringToFacetsXYReturnChains(linestringPoints, polyface) {
|
|
283712
283712
|
return PolyfaceQuery.sweepLineStringToFacets(linestringPoints, polyface);
|
|
@@ -297507,7 +297507,7 @@ class Sample {
|
|
|
297507
297507
|
return points;
|
|
297508
297508
|
}
|
|
297509
297509
|
// cspell:word creat
|
|
297510
|
-
/** @deprecated in 4.x -
|
|
297510
|
+
/** @deprecated in 4.x - will not be removed until after 2026-06-13. Use createVerticalStaggerPolygon instead. */
|
|
297511
297511
|
static creatVerticalStaggerPolygon(dy1, dy2, dy3, dy4, ax, ay, dx1, dx4) {
|
|
297512
297512
|
return this.createVerticalStaggerPolygon(dy1, dy2, dy3, dy4, ax, ay, dx1, dx4);
|
|
297513
297513
|
}
|
|
@@ -327625,7 +327625,7 @@ var ShowSignOption;
|
|
|
327625
327625
|
// parse and toString methods
|
|
327626
327626
|
/**
|
|
327627
327627
|
* @beta
|
|
327628
|
-
* @deprecated in 4.10 -
|
|
327628
|
+
* @deprecated in 4.10 - will not be removed until after 2026-06-13. ScientificType is now a string enum and doesn't need a serialization method. You can access the enum directly.
|
|
327629
327629
|
*/
|
|
327630
327630
|
function scientificTypeToString(scientificType) {
|
|
327631
327631
|
return (scientificType === ScientificType.Normalized) ? "Normalized" : "ZeroNormalized";
|
|
@@ -327667,7 +327667,7 @@ function parseShowSignOption(showSignOption, formatName) {
|
|
|
327667
327667
|
}
|
|
327668
327668
|
/**
|
|
327669
327669
|
* @beta
|
|
327670
|
-
* @deprecated in 4.10 -
|
|
327670
|
+
* @deprecated in 4.10 - will not be removed until after 2026-06-13. ShowSignOption is now a string enum and doesn't need a serialization method. You can access the enum directly.
|
|
327671
327671
|
*/
|
|
327672
327672
|
function showSignOptionToString(showSign) {
|
|
327673
327673
|
switch (showSign) {
|
|
@@ -327760,7 +327760,7 @@ function parseFormatType(jsonObjType, formatName) {
|
|
|
327760
327760
|
}
|
|
327761
327761
|
}
|
|
327762
327762
|
/** @beta
|
|
327763
|
-
* @deprecated in 4.10 -
|
|
327763
|
+
* @deprecated in 4.10 - will not be removed until after 2026-06-13. FormatType is now a string enum and doesn't need a serialization method. You can access the enum directly.
|
|
327764
327764
|
*/
|
|
327765
327765
|
function formatTypeToString(type) {
|
|
327766
327766
|
switch (type) {
|
|
@@ -329182,7 +329182,7 @@ class Parser {
|
|
|
329182
329182
|
* @param inString A string that contains text represent a quantity.
|
|
329183
329183
|
* @param format Defines the likely format of inString. Primary unit serves as a default unit if no unit label found in string.
|
|
329184
329184
|
* @param unitsConversions dictionary of conversions used to convert from unit used in inString to output quantity
|
|
329185
|
-
* @deprecated in 4.10 -
|
|
329185
|
+
* @deprecated in 4.10 - will not be removed until after 2026-06-13. Check [[Parser.parseQuantityString]] for replacements.
|
|
329186
329186
|
*/
|
|
329187
329187
|
static parseToQuantityValue(inString, format, unitsConversions) {
|
|
329188
329188
|
// TODO: This method is not able to do bearing and azimuth formatting and is overlapping with parseQuantityString.
|
|
@@ -330481,18 +330481,18 @@ class Settings {
|
|
|
330481
330481
|
}
|
|
330482
330482
|
}
|
|
330483
330483
|
toString() {
|
|
330484
|
-
return `Configurations:
|
|
330485
|
-
backend location: ${this.Backend.location},
|
|
330486
|
-
backend name: ${this.Backend.name},
|
|
330487
|
-
backend version: ${this.Backend.version},
|
|
330488
|
-
oidc client id: ${this.oidcClientId},
|
|
330489
|
-
oidc scopes: ${this.oidcScopes},
|
|
330490
|
-
applicationId: ${this.gprid},
|
|
330491
|
-
log level: ${this.logLevel},
|
|
330492
|
-
testing iModelTileRpcTests: ${this.runiModelTileRpcTests},
|
|
330493
|
-
testing PresentationRpcTest: ${this.runPresentationRpcTests},
|
|
330494
|
-
testing iModelReadRpcTests: ${this.runiModelReadRpcTests},
|
|
330495
|
-
testing DevToolsRpcTests: ${this.runDevToolsRpcTests},
|
|
330484
|
+
return `Configurations:
|
|
330485
|
+
backend location: ${this.Backend.location},
|
|
330486
|
+
backend name: ${this.Backend.name},
|
|
330487
|
+
backend version: ${this.Backend.version},
|
|
330488
|
+
oidc client id: ${this.oidcClientId},
|
|
330489
|
+
oidc scopes: ${this.oidcScopes},
|
|
330490
|
+
applicationId: ${this.gprid},
|
|
330491
|
+
log level: ${this.logLevel},
|
|
330492
|
+
testing iModelTileRpcTests: ${this.runiModelTileRpcTests},
|
|
330493
|
+
testing PresentationRpcTest: ${this.runPresentationRpcTests},
|
|
330494
|
+
testing iModelReadRpcTests: ${this.runiModelReadRpcTests},
|
|
330495
|
+
testing DevToolsRpcTests: ${this.runDevToolsRpcTests},
|
|
330496
330496
|
testing iModelWriteRpcTests: ${this.runiModelWriteRpcTests}`;
|
|
330497
330497
|
}
|
|
330498
330498
|
}
|
|
@@ -330706,7 +330706,7 @@ class TestContext {
|
|
|
330706
330706
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
330707
330707
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
330708
330708
|
await core_frontend_1.NoRenderApp.startup({
|
|
330709
|
-
applicationVersion: "5.1.0-dev.
|
|
330709
|
+
applicationVersion: "5.1.0-dev.41",
|
|
330710
330710
|
applicationId: this.settings.gprid,
|
|
330711
330711
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.serviceAuthToken),
|
|
330712
330712
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -330987,7 +330987,7 @@ class UiAdmin {
|
|
|
330987
330987
|
/** Get the cursor X and Y position. */
|
|
330988
330988
|
get cursorPosition() { return { x: 0, y: 0 }; }
|
|
330989
330989
|
/** Create a PointProps object.
|
|
330990
|
-
* @deprecated in 4.2.x -
|
|
330990
|
+
* @deprecated in 4.2.x - will not be removed until after 2026-06-13. Please use @core/geometry [[XAndY]] or a custom implementation.
|
|
330991
330991
|
*/
|
|
330992
330992
|
createXAndY(x, y) { return { x, y }; }
|
|
330993
330993
|
/** Determines if focus is set to Home */
|
|
@@ -331191,7 +331191,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
331191
331191
|
* @module Utilities
|
|
331192
331192
|
*/
|
|
331193
331193
|
/** Enumeration for Function Keys
|
|
331194
|
-
* @public @deprecated in 4.3 -
|
|
331194
|
+
* @public @deprecated in 4.3 - will not be removed until after 2026-06-13. Please use the `ts-key-enum` npm package or string literals.
|
|
331195
331195
|
*/
|
|
331196
331196
|
var FunctionKey;
|
|
331197
331197
|
(function (FunctionKey) {
|
|
@@ -331209,7 +331209,7 @@ var FunctionKey;
|
|
|
331209
331209
|
FunctionKey["F12"] = "F12";
|
|
331210
331210
|
})(FunctionKey || (FunctionKey = {}));
|
|
331211
331211
|
/** Enumeration for Special Keys
|
|
331212
|
-
* @public @deprecated in 4.3 -
|
|
331212
|
+
* @public @deprecated in 4.3 - will not be removed until after 2026-06-13. Please use the `ts-key-enum` npm package or string literals.
|
|
331213
331213
|
*/
|
|
331214
331214
|
var SpecialKey;
|
|
331215
331215
|
(function (SpecialKey) {
|
|
@@ -331238,7 +331238,7 @@ var SpecialKey;
|
|
|
331238
331238
|
SpecialKey["Decimal"] = "Decimal";
|
|
331239
331239
|
})(SpecialKey || (SpecialKey = {}));
|
|
331240
331240
|
/** Determines if a KeyboardEvent.key is an Arrow key
|
|
331241
|
-
* @public @deprecated in 4.3 -
|
|
331241
|
+
* @public @deprecated in 4.3 - will not be removed until after 2026-06-13. Please use a custom implementation moving forward.
|
|
331242
331242
|
*/
|
|
331243
331243
|
function isArrowKey(key) {
|
|
331244
331244
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
@@ -331290,7 +331290,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
331290
331290
|
/**
|
|
331291
331291
|
* Class that define Standard Content Layouts that can be used to specify how the content is arranged in a frontstage.
|
|
331292
331292
|
* @public
|
|
331293
|
-
* @deprecated in 4.10.x -
|
|
331293
|
+
* @deprecated in 4.10.x - will not be removed until after 2026-06-13. Use `StandardContentLayouts` from `@itwin/appui-react`.
|
|
331294
331294
|
*/
|
|
331295
331295
|
class StandardContentLayouts {
|
|
331296
331296
|
static singleView = {
|
|
@@ -332815,20 +332815,20 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
332815
332815
|
*/
|
|
332816
332816
|
/* eslint-disable @typescript-eslint/no-deprecated */
|
|
332817
332817
|
/** Creates an IconSpec with an SVG source and gets the SVG source from an IconSpec.
|
|
332818
|
-
* @public @deprecated in 4.3 -
|
|
332818
|
+
* @public @deprecated in 4.3 - will not be removed until after 2026-06-13. AppUI libraries >= 4.7.x support loading SVGs sources without prefixes, eliminating the need for these utilities.
|
|
332819
332819
|
*/
|
|
332820
332820
|
class IconSpecUtilities {
|
|
332821
332821
|
/** Prefix for an SVG IconSpec loaded with the Sprite loader */
|
|
332822
332822
|
static SVG_PREFIX = "svg:";
|
|
332823
332823
|
static WEB_COMPONENT_PREFIX = "webSvg:";
|
|
332824
332824
|
/** Create an IconSpec for an SVG loaded into web component with svg-loader
|
|
332825
|
-
* @public @deprecated in 4.3 -
|
|
332825
|
+
* @public @deprecated in 4.3 - will not be removed until after 2026-06-13. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
|
|
332826
332826
|
*/
|
|
332827
332827
|
static createWebComponentIconSpec(srcString) {
|
|
332828
332828
|
return `${IconSpecUtilities.WEB_COMPONENT_PREFIX}${srcString}`;
|
|
332829
332829
|
}
|
|
332830
332830
|
/** Get the SVG Source from an svg-loader IconSpec
|
|
332831
|
-
* @public @deprecated in 4.3 -
|
|
332831
|
+
* @public @deprecated in 4.3 - will not be removed until after 2026-06-13. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
|
|
332832
332832
|
*/
|
|
332833
332833
|
static getWebComponentSource(iconSpec) {
|
|
332834
332834
|
if (iconSpec.startsWith(IconSpecUtilities.WEB_COMPONENT_PREFIX) && iconSpec.length > 7) {
|
|
@@ -332882,7 +332882,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
332882
332882
|
*/
|
|
332883
332883
|
|
|
332884
332884
|
/** iTwin.js UI UiError class is a subclass of BentleyError. Errors are logged.
|
|
332885
|
-
* @public @deprecated in 4.3 -
|
|
332885
|
+
* @public @deprecated in 4.3 - will not be removed until after 2026-06-13. Use [[Bentley.BentleyError]] instead.
|
|
332886
332886
|
*/
|
|
332887
332887
|
class UiError extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyError {
|
|
332888
332888
|
category;
|
|
@@ -332918,7 +332918,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
332918
332918
|
|
|
332919
332919
|
/** iTwin.js UI UiEvent class is a subclass of BeEvent with argument type safety.
|
|
332920
332920
|
* @public
|
|
332921
|
-
* @deprecated in 4.2 -
|
|
332921
|
+
* @deprecated in 4.2 - will not be removed until after 2026-06-13. This type is a duplicate of [[BeUiEvent]], which should be used instead.
|
|
332922
332922
|
*/
|
|
332923
332923
|
class UiEvent extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeUiEvent {
|
|
332924
332924
|
}
|
|
@@ -332949,14 +332949,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
332949
332949
|
|
|
332950
332950
|
/** UiSync Event class.
|
|
332951
332951
|
* @public
|
|
332952
|
-
* @deprecated in 4.2.x -
|
|
332952
|
+
* @deprecated in 4.2.x - will not be removed until after 2026-06-13. Use [[UiSyncEvent]] from @itwin/appui-react.
|
|
332953
332953
|
*/
|
|
332954
332954
|
class UiSyncEvent extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeUiEvent {
|
|
332955
332955
|
}
|
|
332956
332956
|
/** This class is used to send eventIds to interested UI components so the component can determine if it needs
|
|
332957
332957
|
* to refresh its display by calling setState on itself.
|
|
332958
332958
|
* @public
|
|
332959
|
-
* @deprecated in 4.2.x -
|
|
332959
|
+
* @deprecated in 4.2.x - will not be removed until after 2026-06-13. Use [[SyncUiEventDispatcher]] from @itwin/appui-react.
|
|
332960
332960
|
*/
|
|
332961
332961
|
class UiEventDispatcher {
|
|
332962
332962
|
_syncEventTimerId;
|
|
@@ -333159,7 +333159,7 @@ function join(head, tail) {
|
|
|
333159
333159
|
* @param contiguous - If true the filter string must be found "contiguous" in the searched string (E.g. "pul" will match "Git: Pull").
|
|
333160
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").
|
|
333161
333161
|
* Useful in cases where the target is words (e.g. command labels)
|
|
333162
|
-
* @internal @deprecated in 4.3 -
|
|
333162
|
+
* @internal @deprecated in 4.3 - will not be removed until after 2026-06-13. Use `matchesWords` from @itwin/core-react instead. Though internal, this requires deprecation due to known public usage in @itwin/core-react.
|
|
333163
333163
|
*/
|
|
333164
333164
|
function matchesWords(word, target, contiguous = false) {
|
|
333165
333165
|
if (!target || target.length === 0) {
|
|
@@ -333231,7 +333231,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
333231
333231
|
*/
|
|
333232
333232
|
/** Gets the class name for an object.
|
|
333233
333233
|
* @internal
|
|
333234
|
-
* @deprecated in 4.3 -
|
|
333234
|
+
* @deprecated in 4.3 - will not be removed until after 2026-06-13. Please use your own implementation in the future. Though internal, this requires deprecation due to known public usage in @itwin/core-react.
|
|
333235
333235
|
*/
|
|
333236
333236
|
const getClassName = (obj) => {
|
|
333237
333237
|
let className = "";
|
|
@@ -336852,7 +336852,7 @@ var PresentationStatus;
|
|
|
336852
336852
|
* Timeout for the request was reached which prevented it from being fulfilled. Frontend may
|
|
336853
336853
|
* repeat the request.
|
|
336854
336854
|
*
|
|
336855
|
-
* @deprecated in 5.0. Presentation RPC now relies on `RpcPendingResponse` to handle timeouts.
|
|
336855
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Presentation RPC now relies on `RpcPendingResponse` to handle timeouts.
|
|
336856
336856
|
*/
|
|
336857
336857
|
PresentationStatus[PresentationStatus["BackendTimeout"] = 65543] = "BackendTimeout";
|
|
336858
336858
|
})(PresentationStatus || (exports.PresentationStatus = PresentationStatus = {}));
|
|
@@ -337383,6 +337383,7 @@ const some = (set, cb) => {
|
|
|
337383
337383
|
*/
|
|
337384
337384
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
337385
337385
|
exports.KoqPropertyValueFormatter = void 0;
|
|
337386
|
+
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
337386
337387
|
const core_quantity_1 = __webpack_require__(/*! @itwin/core-quantity */ "../../core/quantity/lib/esm/core-quantity.js");
|
|
337387
337388
|
const ecschema_metadata_1 = __webpack_require__(/*! @itwin/ecschema-metadata */ "../../core/ecschema-metadata/lib/esm/ecschema-metadata.js");
|
|
337388
337389
|
/**
|
|
@@ -337392,14 +337393,35 @@ const ecschema_metadata_1 = __webpack_require__(/*! @itwin/ecschema-metadata */
|
|
|
337392
337393
|
class KoqPropertyValueFormatter {
|
|
337393
337394
|
_schemaContext;
|
|
337394
337395
|
_unitsProvider;
|
|
337396
|
+
_formatsProvider;
|
|
337397
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
337395
337398
|
_defaultFormats;
|
|
337396
|
-
|
|
337397
|
-
|
|
337398
|
-
|
|
337399
|
-
|
|
337400
|
-
|
|
337401
|
-
|
|
337399
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
337400
|
+
constructor(schemaContextOrProps, defaultFormats, formatsProvider) {
|
|
337401
|
+
if (schemaContextOrProps instanceof ecschema_metadata_1.SchemaContext) {
|
|
337402
|
+
this._schemaContext = schemaContextOrProps;
|
|
337403
|
+
this._formatsProvider = formatsProvider;
|
|
337404
|
+
this.defaultFormats = defaultFormats;
|
|
337405
|
+
}
|
|
337406
|
+
else {
|
|
337407
|
+
this._schemaContext = schemaContextOrProps.schemaContext;
|
|
337408
|
+
this._formatsProvider = schemaContextOrProps.formatsProvider;
|
|
337409
|
+
}
|
|
337410
|
+
this._unitsProvider = new ecschema_metadata_1.SchemaUnitProvider(this._schemaContext);
|
|
337411
|
+
}
|
|
337412
|
+
/* c8 ignore start */
|
|
337413
|
+
/** @internal */
|
|
337414
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
337415
|
+
get defaultFormats() {
|
|
337416
|
+
return this._defaultFormats;
|
|
337417
|
+
}
|
|
337418
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
337419
|
+
set defaultFormats(value) {
|
|
337420
|
+
this._defaultFormats = value
|
|
337421
|
+
? Object.entries(value).reduce((acc, [phenomenon, unitSystemFormats]) => ({ ...acc, [phenomenon.toUpperCase()]: unitSystemFormats }), {})
|
|
337422
|
+
: undefined;
|
|
337402
337423
|
}
|
|
337424
|
+
/* c8 ignore end */
|
|
337403
337425
|
async format(value, options) {
|
|
337404
337426
|
const formatterSpec = await this.getFormatterSpec(options);
|
|
337405
337427
|
if (!formatterSpec) {
|
|
@@ -337408,7 +337430,7 @@ class KoqPropertyValueFormatter {
|
|
|
337408
337430
|
return formatterSpec.applyFormatting(value);
|
|
337409
337431
|
}
|
|
337410
337432
|
async getFormatterSpec(options) {
|
|
337411
|
-
const formattingProps = await getFormattingProps(
|
|
337433
|
+
const formattingProps = await this.#getFormattingProps(options);
|
|
337412
337434
|
if (!formattingProps) {
|
|
337413
337435
|
return undefined;
|
|
337414
337436
|
}
|
|
@@ -337418,7 +337440,7 @@ class KoqPropertyValueFormatter {
|
|
|
337418
337440
|
return core_quantity_1.FormatterSpec.create("", format, this._unitsProvider, persistenceUnit);
|
|
337419
337441
|
}
|
|
337420
337442
|
async getParserSpec(options) {
|
|
337421
|
-
const formattingProps = await getFormattingProps(
|
|
337443
|
+
const formattingProps = await this.#getFormattingProps(options);
|
|
337422
337444
|
if (!formattingProps) {
|
|
337423
337445
|
return undefined;
|
|
337424
337446
|
}
|
|
@@ -337427,25 +337449,39 @@ class KoqPropertyValueFormatter {
|
|
|
337427
337449
|
const format = await core_quantity_1.Format.createFromJSON("", this._unitsProvider, formatProps);
|
|
337428
337450
|
return core_quantity_1.ParserSpec.create(format, this._unitsProvider, persistenceUnit);
|
|
337429
337451
|
}
|
|
337430
|
-
|
|
337431
|
-
|
|
337432
|
-
|
|
337433
|
-
|
|
337434
|
-
|
|
337435
|
-
|
|
337436
|
-
|
|
337437
|
-
|
|
337438
|
-
|
|
337439
|
-
|
|
337440
|
-
|
|
337441
|
-
|
|
337442
|
-
|
|
337443
|
-
|
|
337444
|
-
|
|
337452
|
+
async #getFormattingProps(options) {
|
|
337453
|
+
const { koqName } = options;
|
|
337454
|
+
const koq = await getKoq(this._schemaContext, koqName);
|
|
337455
|
+
if (!koq) {
|
|
337456
|
+
return undefined;
|
|
337457
|
+
}
|
|
337458
|
+
const persistenceUnit = await koq.persistenceUnit;
|
|
337459
|
+
(0, core_bentley_1.assert)(!!persistenceUnit);
|
|
337460
|
+
// default to metric as it's the persistence unit system
|
|
337461
|
+
const unitSystem = options.unitSystem ?? "metric";
|
|
337462
|
+
const formatsProvider = this._formatsProvider ?? new ecschema_metadata_1.SchemaFormatsProvider(this._schemaContext, unitSystem);
|
|
337463
|
+
const formatProps = await formatsProvider.getFormat(koqName);
|
|
337464
|
+
// `SchemaFormatsProvider` will fall back to default presentation format, but we want to fall back
|
|
337465
|
+
// to default formats' map first, and only then to the default presentation format. All of this can
|
|
337466
|
+
// be removed with the removal of default formats map.
|
|
337467
|
+
if (this._defaultFormats && (!formatProps || (await getUnitSystemKey(this._unitsProvider, formatProps)) !== unitSystem)) {
|
|
337468
|
+
const defaultFormatProps = await getFormatPropsFromDefaultFormats({
|
|
337469
|
+
schemaContext: this._schemaContext,
|
|
337470
|
+
formatsMap: this._defaultFormats,
|
|
337471
|
+
unitSystem,
|
|
337472
|
+
koqName,
|
|
337473
|
+
});
|
|
337474
|
+
if (defaultFormatProps) {
|
|
337475
|
+
return { formatProps: defaultFormatProps, persistenceUnitName: persistenceUnit.fullName };
|
|
337476
|
+
}
|
|
337477
|
+
}
|
|
337478
|
+
if (formatProps) {
|
|
337479
|
+
return { formatProps, persistenceUnitName: persistenceUnit.fullName };
|
|
337480
|
+
}
|
|
337445
337481
|
return undefined;
|
|
337446
337482
|
}
|
|
337447
|
-
return { formatProps, persistenceUnitName: persistenceUnit.fullName };
|
|
337448
337483
|
}
|
|
337484
|
+
exports.KoqPropertyValueFormatter = KoqPropertyValueFormatter;
|
|
337449
337485
|
async function getKoq(schemaLocater, fullName) {
|
|
337450
337486
|
const [schemaName, propKoqName] = fullName.split(":");
|
|
337451
337487
|
const schema = await schemaLocater.getSchema(new ecschema_metadata_1.SchemaKey(schemaName), ecschema_metadata_1.SchemaMatchType.Latest);
|
|
@@ -337454,94 +337490,51 @@ async function getKoq(schemaLocater, fullName) {
|
|
|
337454
337490
|
}
|
|
337455
337491
|
return schema.getItem(propKoqName, ecschema_metadata_1.KindOfQuantity);
|
|
337456
337492
|
}
|
|
337457
|
-
async function
|
|
337458
|
-
const
|
|
337459
|
-
|
|
337460
|
-
const
|
|
337461
|
-
|
|
337462
|
-
|
|
337463
|
-
|
|
337464
|
-
|
|
337465
|
-
|
|
337466
|
-
|
|
337467
|
-
|
|
337468
|
-
|
|
337469
|
-
|
|
337470
|
-
|
|
337471
|
-
|
|
337472
|
-
|
|
337473
|
-
|
|
337474
|
-
|
|
337475
|
-
return defaultUnitSystemFormat.format;
|
|
337476
|
-
}
|
|
337477
|
-
}
|
|
337478
|
-
}
|
|
337493
|
+
async function getUnitSystemKey(unitsProvider, formatProps) {
|
|
337494
|
+
const unitName = formatProps.composite?.units[0].name;
|
|
337495
|
+
(0, core_bentley_1.assert)(!!unitName);
|
|
337496
|
+
const unit = await unitsProvider.findUnitByName(unitName);
|
|
337497
|
+
(0, core_bentley_1.assert)(!!unit);
|
|
337498
|
+
const [_, unitSystemName] = unit.system.split(/[\.:]/);
|
|
337499
|
+
switch (unitSystemName.toUpperCase()) {
|
|
337500
|
+
case "METRIC":
|
|
337501
|
+
return "metric";
|
|
337502
|
+
case "IMPERIAL":
|
|
337503
|
+
return "imperial";
|
|
337504
|
+
case "USCUSTOM":
|
|
337505
|
+
return "usCustomary";
|
|
337506
|
+
case "USSURVEY":
|
|
337507
|
+
return "usSurvey";
|
|
337508
|
+
/* c8 ignore next 2 */
|
|
337509
|
+
default:
|
|
337510
|
+
return undefined;
|
|
337479
337511
|
}
|
|
337480
|
-
|
|
337481
|
-
|
|
337482
|
-
|
|
337483
|
-
|
|
337512
|
+
}
|
|
337513
|
+
async function getFormatPropsFromDefaultFormats({ schemaContext, formatsMap, unitSystem, koqName, }) {
|
|
337514
|
+
const koq = await getKoq(schemaContext, koqName);
|
|
337515
|
+
/* c8 ignore next 3 */
|
|
337516
|
+
if (!koq) {
|
|
337517
|
+
return undefined;
|
|
337484
337518
|
}
|
|
337485
|
-
|
|
337486
|
-
|
|
337487
|
-
|
|
337519
|
+
const persistenceUnit = await koq.persistenceUnit;
|
|
337520
|
+
/* c8 ignore next 3 */
|
|
337521
|
+
if (!persistenceUnit) {
|
|
337522
|
+
return undefined;
|
|
337488
337523
|
}
|
|
337489
|
-
|
|
337490
|
-
|
|
337491
|
-
|
|
337492
|
-
|
|
337493
|
-
|
|
337494
|
-
|
|
337495
|
-
|
|
337496
|
-
|
|
337497
|
-
|
|
337498
|
-
if (!lazyUnit) {
|
|
337499
|
-
continue;
|
|
337500
|
-
}
|
|
337501
|
-
const unit = await lazyUnit;
|
|
337502
|
-
const currentUnitSystem = await unit.unitSystem;
|
|
337503
|
-
if (currentUnitSystem && matcher(currentUnitSystem)) {
|
|
337504
|
-
return format;
|
|
337524
|
+
const actualPersistenceUnit = persistenceUnit instanceof ecschema_metadata_1.InvertedUnit ? /* c8 ignore next */ await persistenceUnit.invertsUnit : persistenceUnit;
|
|
337525
|
+
const phenomenon = await actualPersistenceUnit?.phenomenon;
|
|
337526
|
+
if (phenomenon && formatsMap[phenomenon.name.toUpperCase()]) {
|
|
337527
|
+
const defaultPhenomenonFormats = formatsMap[phenomenon.name.toUpperCase()];
|
|
337528
|
+
for (const defaultUnitSystemFormat of Array.isArray(defaultPhenomenonFormats)
|
|
337529
|
+
? /* c8 ignore next */ defaultPhenomenonFormats
|
|
337530
|
+
: [defaultPhenomenonFormats]) {
|
|
337531
|
+
if (defaultUnitSystemFormat.unitSystems.includes(unitSystem)) {
|
|
337532
|
+
return defaultUnitSystemFormat.format;
|
|
337505
337533
|
}
|
|
337506
337534
|
}
|
|
337507
337535
|
}
|
|
337508
337536
|
return undefined;
|
|
337509
337537
|
}
|
|
337510
|
-
function getPersistenceUnitFormatProps(persistenceUnit) {
|
|
337511
|
-
// Same as Format "DefaultRealU" in Formats ecschema
|
|
337512
|
-
return {
|
|
337513
|
-
formatTraits: ["keepSingleZero", "keepDecimalPoint", "showUnitLabel"],
|
|
337514
|
-
precision: 6,
|
|
337515
|
-
type: "Decimal",
|
|
337516
|
-
uomSeparator: " ",
|
|
337517
|
-
decimalSeparator: ".",
|
|
337518
|
-
composite: {
|
|
337519
|
-
units: [
|
|
337520
|
-
{
|
|
337521
|
-
name: persistenceUnit.fullName,
|
|
337522
|
-
label: persistenceUnit.label,
|
|
337523
|
-
},
|
|
337524
|
-
],
|
|
337525
|
-
},
|
|
337526
|
-
};
|
|
337527
|
-
}
|
|
337528
|
-
function getUnitSystemGroupMatchers(groupKey) {
|
|
337529
|
-
function createMatcher(name) {
|
|
337530
|
-
const names = Array.isArray(name) ? name : [name];
|
|
337531
|
-
return (unitSystem) => names.some((n) => n === unitSystem.name.toUpperCase());
|
|
337532
|
-
}
|
|
337533
|
-
switch (groupKey) {
|
|
337534
|
-
case "imperial":
|
|
337535
|
-
return ["IMPERIAL", "USCUSTOM", "INTERNATIONAL", "FINANCE"].map(createMatcher);
|
|
337536
|
-
case "metric":
|
|
337537
|
-
return [["SI", "METRIC"], "INTERNATIONAL", "FINANCE"].map(createMatcher);
|
|
337538
|
-
case "usCustomary":
|
|
337539
|
-
return ["USCUSTOM", "INTERNATIONAL", "FINANCE"].map(createMatcher);
|
|
337540
|
-
case "usSurvey":
|
|
337541
|
-
return ["USSURVEY", "USCUSTOM", "INTERNATIONAL", "FINANCE"].map(createMatcher);
|
|
337542
|
-
}
|
|
337543
|
-
return [];
|
|
337544
|
-
}
|
|
337545
337538
|
|
|
337546
337539
|
|
|
337547
337540
|
/***/ }),
|
|
@@ -337857,33 +337850,33 @@ let PresentationRpcInterface = class PresentationRpcInterface extends core_commo
|
|
|
337857
337850
|
NOTE: Any add/remove/change to the methods below requires an update of the interface version.
|
|
337858
337851
|
NOTE: Please consult the README in core/common/src/rpc for the semantic versioning rules.
|
|
337859
337852
|
===========================================================================================*/
|
|
337860
|
-
/** @deprecated in 4.10 -
|
|
337853
|
+
/** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337861
337854
|
async getNodesCount(_token, _options) {
|
|
337862
337855
|
return this.forward(arguments);
|
|
337863
337856
|
}
|
|
337864
|
-
/** @deprecated in 4.10 -
|
|
337857
|
+
/** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337865
337858
|
async getPagedNodes(_token, _options) {
|
|
337866
337859
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
337867
337860
|
}
|
|
337868
|
-
/** @deprecated in 4.10 -
|
|
337861
|
+
/** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337869
337862
|
async getNodesDescriptor(_token, _options) {
|
|
337870
337863
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
337871
337864
|
}
|
|
337872
|
-
/** @deprecated in 4.10 -
|
|
337865
|
+
/** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337873
337866
|
// TODO: add paged version of this (#387280)
|
|
337874
337867
|
async getNodePaths(_token, _options) {
|
|
337875
337868
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
337876
337869
|
}
|
|
337877
|
-
/** @deprecated in 4.10 -
|
|
337870
|
+
/** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337878
337871
|
// TODO: add paged version of this (#387280)
|
|
337879
337872
|
async getFilteredNodePaths(_token, _options) {
|
|
337880
337873
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
337881
337874
|
}
|
|
337882
|
-
/** @deprecated in 4.10 -
|
|
337875
|
+
/** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337883
337876
|
async getContentSources(_token, _options) {
|
|
337884
337877
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
337885
337878
|
}
|
|
337886
|
-
/** @deprecated in 4.10 -
|
|
337879
|
+
/** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337887
337880
|
async getContentDescriptor(_token, _options) {
|
|
337888
337881
|
const response = await this.forward(arguments);
|
|
337889
337882
|
return {
|
|
@@ -337891,11 +337884,11 @@ let PresentationRpcInterface = class PresentationRpcInterface extends core_commo
|
|
|
337891
337884
|
...(response.result ? { result: JSON.parse(response.result) } : {}),
|
|
337892
337885
|
};
|
|
337893
337886
|
}
|
|
337894
|
-
/** @deprecated in 4.10 -
|
|
337887
|
+
/** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337895
337888
|
async getContentSetSize(_token, _options) {
|
|
337896
337889
|
return this.forward(arguments);
|
|
337897
337890
|
}
|
|
337898
|
-
/** @deprecated in 4.10 -
|
|
337891
|
+
/** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337899
337892
|
async getPagedContent(_token, _options) {
|
|
337900
337893
|
const rpcResponse = await this.forward(arguments);
|
|
337901
337894
|
return {
|
|
@@ -337905,36 +337898,36 @@ let PresentationRpcInterface = class PresentationRpcInterface extends core_commo
|
|
|
337905
337898
|
: {}),
|
|
337906
337899
|
};
|
|
337907
337900
|
}
|
|
337908
|
-
/** @deprecated in 4.10 -
|
|
337901
|
+
/** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337909
337902
|
async getPagedContentSet(_token, _options) {
|
|
337910
337903
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
337911
337904
|
}
|
|
337912
|
-
/** @deprecated in 4.10 -
|
|
337905
|
+
/** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337913
337906
|
async getElementProperties(_token, _options) {
|
|
337914
337907
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
337915
337908
|
}
|
|
337916
|
-
/** @deprecated in 4.10 -
|
|
337909
|
+
/** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337917
337910
|
async getPagedDistinctValues(_token, _options) {
|
|
337918
337911
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
337919
337912
|
}
|
|
337920
|
-
/** @deprecated in 4.10 -
|
|
337913
|
+
/** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337921
337914
|
async getContentInstanceKeys(_token, _options) {
|
|
337922
337915
|
return this.forward(arguments);
|
|
337923
337916
|
}
|
|
337924
|
-
/** @deprecated in 4.10 -
|
|
337917
|
+
/** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337925
337918
|
async getDisplayLabelDefinition(_token, _options) {
|
|
337926
337919
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
337927
337920
|
}
|
|
337928
|
-
/** @deprecated in 4.10 -
|
|
337921
|
+
/** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337929
337922
|
async getPagedDisplayLabelDefinitions(_token, _options) {
|
|
337930
337923
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
337931
337924
|
}
|
|
337932
|
-
/** @deprecated in 4.10 -
|
|
337925
|
+
/** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337933
337926
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
337934
337927
|
async getSelectionScopes(_token, _options) {
|
|
337935
337928
|
return this.forward(arguments);
|
|
337936
337929
|
}
|
|
337937
|
-
/** @deprecated in 4.10 -
|
|
337930
|
+
/** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
337938
337931
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
337939
337932
|
async computeSelection(_token, _options) {
|
|
337940
337933
|
return this.forward(arguments);
|
|
@@ -337983,7 +337976,7 @@ class RegisteredRuleset {
|
|
|
337983
337976
|
[Symbol.dispose]() {
|
|
337984
337977
|
this._disposeFunc(this);
|
|
337985
337978
|
}
|
|
337986
|
-
/** @deprecated in 5.0. Use [Symbol.dispose] instead. */
|
|
337979
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
337987
337980
|
/* c8 ignore next 3 */
|
|
337988
337981
|
dispose() {
|
|
337989
337982
|
this[Symbol.dispose]();
|
|
@@ -339770,7 +339763,7 @@ class Field {
|
|
|
339770
339763
|
}
|
|
339771
339764
|
/**
|
|
339772
339765
|
* Serialize this object to JSON.
|
|
339773
|
-
* @deprecated in 5.0. Use [[toCompressedJSON]] instead.
|
|
339766
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[toCompressedJSON]] instead.
|
|
339774
339767
|
*/
|
|
339775
339768
|
toJSON() {
|
|
339776
339769
|
return this.toCompressedJSON({});
|
|
@@ -339791,7 +339784,7 @@ class Field {
|
|
|
339791
339784
|
}
|
|
339792
339785
|
/**
|
|
339793
339786
|
* Deserialize [[Field]] from JSON.
|
|
339794
|
-
* @deprecated in 5.0. Use [[fromCompressedJSON]] instead.
|
|
339787
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[fromCompressedJSON]] instead.
|
|
339795
339788
|
*/
|
|
339796
339789
|
static fromJSON(json, categories) {
|
|
339797
339790
|
if (!json) {
|
|
@@ -339904,7 +339897,7 @@ class PropertiesField extends Field {
|
|
|
339904
339897
|
}
|
|
339905
339898
|
/**
|
|
339906
339899
|
* Serialize this object to JSON
|
|
339907
|
-
* @deprecated in 5.0. Use [[toCompressedJSON]] instead.
|
|
339900
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[toCompressedJSON]] instead.
|
|
339908
339901
|
*/
|
|
339909
339902
|
toJSON() {
|
|
339910
339903
|
return {
|
|
@@ -339922,7 +339915,7 @@ class PropertiesField extends Field {
|
|
|
339922
339915
|
}
|
|
339923
339916
|
/**
|
|
339924
339917
|
* Deserialize [[PropertiesField]] from JSON.
|
|
339925
|
-
* @deprecated in 5.0. Use [[fromCompressedJSON]] instead.
|
|
339918
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[fromCompressedJSON]] instead.
|
|
339926
339919
|
*/
|
|
339927
339920
|
static fromJSON(json, categories) {
|
|
339928
339921
|
if (!json) {
|
|
@@ -340045,7 +340038,7 @@ class ArrayPropertiesField extends PropertiesField {
|
|
|
340045
340038
|
}
|
|
340046
340039
|
/**
|
|
340047
340040
|
* Serialize this object to JSON.
|
|
340048
|
-
* @deprecated in 5.0. Use [[toCompressedJSON]] instead.
|
|
340041
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[toCompressedJSON]] instead.
|
|
340049
340042
|
*/
|
|
340050
340043
|
toJSON() {
|
|
340051
340044
|
return {
|
|
@@ -340064,7 +340057,7 @@ class ArrayPropertiesField extends PropertiesField {
|
|
|
340064
340057
|
}
|
|
340065
340058
|
/**
|
|
340066
340059
|
* Deserialize [[ArrayPropertiesField]] from JSON.
|
|
340067
|
-
* @deprecated in 5.0. Use [[fromCompressedJSON]] instead.
|
|
340060
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[fromCompressedJSON]] instead.
|
|
340068
340061
|
*/
|
|
340069
340062
|
static fromJSON(json, categories) {
|
|
340070
340063
|
return new ArrayPropertiesField({
|
|
@@ -340123,7 +340116,7 @@ class StructPropertiesField extends PropertiesField {
|
|
|
340123
340116
|
}
|
|
340124
340117
|
/**
|
|
340125
340118
|
* Serialize this object to JSON.
|
|
340126
|
-
* @deprecated in 5.0. Use [[toCompressedJSON]] instead.
|
|
340119
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[toCompressedJSON]] instead.
|
|
340127
340120
|
*/
|
|
340128
340121
|
toJSON() {
|
|
340129
340122
|
return {
|
|
@@ -340142,7 +340135,7 @@ class StructPropertiesField extends PropertiesField {
|
|
|
340142
340135
|
}
|
|
340143
340136
|
/**
|
|
340144
340137
|
* Deserialize [[StructPropertiesField]] from JSON.
|
|
340145
|
-
* @deprecated in 5.0. Use [[fromCompressedJSON]] instead.
|
|
340138
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[fromCompressedJSON]] instead.
|
|
340146
340139
|
*/
|
|
340147
340140
|
static fromJSON(json, categories) {
|
|
340148
340141
|
return new StructPropertiesField({
|
|
@@ -340243,7 +340236,7 @@ class NestedContentField extends Field {
|
|
|
340243
340236
|
}
|
|
340244
340237
|
/**
|
|
340245
340238
|
* Serialize this object to JSON.
|
|
340246
|
-
* @deprecated in 5.0. Use [[toCompressedJSON]] instead.
|
|
340239
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[toCompressedJSON]] instead.
|
|
340247
340240
|
*/
|
|
340248
340241
|
toJSON() {
|
|
340249
340242
|
return {
|
|
@@ -342417,7 +342410,7 @@ class Presentation {
|
|
|
342417
342410
|
/**
|
|
342418
342411
|
* The singleton [[SelectionManager]].
|
|
342419
342412
|
*
|
|
342420
|
-
* @deprecated in 5.0. The whole unified selection system in this package is deprecated in favor of the new
|
|
342413
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. The whole unified selection system in this package is deprecated in favor of the new
|
|
342421
342414
|
* [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md) package.
|
|
342422
342415
|
*/
|
|
342423
342416
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
@@ -342494,6 +342487,7 @@ class PresentationManager {
|
|
|
342494
342487
|
_rulesetVars;
|
|
342495
342488
|
_clearEventListener;
|
|
342496
342489
|
_schemaContextProvider;
|
|
342490
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
342497
342491
|
_defaultFormats;
|
|
342498
342492
|
_ipcRequestsHandler;
|
|
342499
342493
|
/**
|
|
@@ -342507,7 +342501,7 @@ class PresentationManager {
|
|
|
342507
342501
|
/**
|
|
342508
342502
|
* Get / set active unit system used to format property values with units.
|
|
342509
342503
|
*
|
|
342510
|
-
* @deprecated in 4.0 -
|
|
342504
|
+
* @deprecated in 4.0 - will not be removed until after 2026-06-13. `IModelApp.quantityFormatter` should be used to get/set the active unit system. At the moment
|
|
342511
342505
|
* [[PresentationManager]] allows overriding it, but returns `IModelApp.quantityFormatter.activeUnitSystem` if override
|
|
342512
342506
|
* is not set.
|
|
342513
342507
|
*/
|
|
@@ -342530,6 +342524,7 @@ class PresentationManager {
|
|
|
342530
342524
|
this._localizationHelper = new LocalizationHelper_js_1.FrontendLocalizationHelper(props?.activeLocale);
|
|
342531
342525
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
342532
342526
|
this._schemaContextProvider = props?.schemaContextProvider ?? ((imodel) => imodel.schemaContext);
|
|
342527
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
342533
342528
|
this._defaultFormats = props?.defaultFormats;
|
|
342534
342529
|
if (core_frontend_1.IpcApp.isValid) {
|
|
342535
342530
|
// Ipc only works in ipc apps, so the `onUpdate` callback will only be called there.
|
|
@@ -342550,7 +342545,7 @@ class PresentationManager {
|
|
|
342550
342545
|
this._clearEventListener = undefined;
|
|
342551
342546
|
}
|
|
342552
342547
|
}
|
|
342553
|
-
/** @deprecated in 5.0. Use [Symbol.dispose] instead. */
|
|
342548
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
342554
342549
|
/* c8 ignore next 3 */
|
|
342555
342550
|
dispose() {
|
|
342556
342551
|
this[Symbol.dispose]();
|
|
@@ -342677,7 +342672,7 @@ class PresentationManager {
|
|
|
342677
342672
|
}
|
|
342678
342673
|
/**
|
|
342679
342674
|
* Retrieves nodes
|
|
342680
|
-
* @deprecated in 4.5 -
|
|
342675
|
+
* @deprecated in 4.5 - will not be removed until after 2026-06-13. Use [[getNodesIterator]] instead.
|
|
342681
342676
|
*/
|
|
342682
342677
|
async getNodes(requestOptions) {
|
|
342683
342678
|
const result = await this.getNodesIterator(requestOptions);
|
|
@@ -342692,7 +342687,7 @@ class PresentationManager {
|
|
|
342692
342687
|
}
|
|
342693
342688
|
/**
|
|
342694
342689
|
* Retrieves total nodes count and a single page of nodes.
|
|
342695
|
-
* @deprecated in 4.5 -
|
|
342690
|
+
* @deprecated in 4.5 - will not be removed until after 2026-06-13. Use [[getNodesIterator]] instead.
|
|
342696
342691
|
*/
|
|
342697
342692
|
async getNodesAndCount(requestOptions) {
|
|
342698
342693
|
const result = await this.getNodesIterator(requestOptions);
|
|
@@ -342784,8 +342779,14 @@ class PresentationManager {
|
|
|
342784
342779
|
});
|
|
342785
342780
|
let contentFormatter;
|
|
342786
342781
|
if (!requestOptions.omitFormattedValues) {
|
|
342787
|
-
const
|
|
342788
|
-
|
|
342782
|
+
const schemaContext = this._schemaContextProvider(requestOptions.imodel);
|
|
342783
|
+
const unitSystem = requestOptions.unitSystem ?? this._explicitActiveUnitSystem ?? core_frontend_1.IModelApp.quantityFormatter.activeUnitSystem;
|
|
342784
|
+
const koqPropertyFormatter = new presentation_common_1.KoqPropertyValueFormatter({
|
|
342785
|
+
schemaContext,
|
|
342786
|
+
formatsProvider: core_frontend_1.IModelApp.formatsProvider,
|
|
342787
|
+
});
|
|
342788
|
+
koqPropertyFormatter.defaultFormats = this._defaultFormats;
|
|
342789
|
+
contentFormatter = new internal_1.ContentFormatter(new internal_1.ContentPropertyValueFormatter(koqPropertyFormatter), unitSystem);
|
|
342789
342790
|
}
|
|
342790
342791
|
let descriptor = requestOptions.descriptor instanceof presentation_common_1.Descriptor ? requestOptions.descriptor : undefined;
|
|
342791
342792
|
let firstPage;
|
|
@@ -342836,7 +342837,7 @@ class PresentationManager {
|
|
|
342836
342837
|
}
|
|
342837
342838
|
/**
|
|
342838
342839
|
* Retrieves content which consists of a content descriptor and a page of records.
|
|
342839
|
-
* @deprecated in 4.5 -
|
|
342840
|
+
* @deprecated in 4.5 - will not be removed until after 2026-06-13. Use [[getContentIterator]] instead.
|
|
342840
342841
|
*/
|
|
342841
342842
|
async getContent(requestOptions) {
|
|
342842
342843
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
@@ -342844,7 +342845,7 @@ class PresentationManager {
|
|
|
342844
342845
|
}
|
|
342845
342846
|
/**
|
|
342846
342847
|
* Retrieves content set size and content which consists of a content descriptor and a page of records.
|
|
342847
|
-
* @deprecated in 4.5 -
|
|
342848
|
+
* @deprecated in 4.5 - will not be removed until after 2026-06-13. Use [[getContentIterator]] instead.
|
|
342848
342849
|
*/
|
|
342849
342850
|
async getContentAndSize(requestOptions) {
|
|
342850
342851
|
const response = await this.getContentIterator(requestOptions);
|
|
@@ -342881,7 +342882,7 @@ class PresentationManager {
|
|
|
342881
342882
|
}
|
|
342882
342883
|
/**
|
|
342883
342884
|
* Retrieves distinct values of specific field from the content.
|
|
342884
|
-
* @deprecated in 4.5 -
|
|
342885
|
+
* @deprecated in 4.5 - will not be removed until after 2026-06-13. Use [[getDistinctValuesIterator]] instead.
|
|
342885
342886
|
*/
|
|
342886
342887
|
async getPagedDistinctValues(requestOptions) {
|
|
342887
342888
|
const result = await this.getDistinctValuesIterator(requestOptions);
|
|
@@ -342970,7 +342971,7 @@ class PresentationManager {
|
|
|
342970
342971
|
}
|
|
342971
342972
|
/**
|
|
342972
342973
|
* Retrieves display label definition of specific items.
|
|
342973
|
-
* @deprecated in 4.5 -
|
|
342974
|
+
* @deprecated in 4.5 - will not be removed until after 2026-06-13. Use [[getDisplayLabelDefinitionsIterator]] instead.
|
|
342974
342975
|
*/
|
|
342975
342976
|
async getDisplayLabelDefinitions(requestOptions) {
|
|
342976
342977
|
const { items } = await this.getDisplayLabelDefinitionsIterator(requestOptions);
|
|
@@ -343537,14 +343538,14 @@ class FavoritePropertiesManager {
|
|
|
343537
343538
|
this.storage.dispose();
|
|
343538
343539
|
}
|
|
343539
343540
|
}
|
|
343540
|
-
/** @deprecated in 5.0. Use [Symbol.dispose] instead. */
|
|
343541
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
343541
343542
|
/* c8 ignore next 3 */
|
|
343542
343543
|
dispose() {
|
|
343543
343544
|
this[Symbol.dispose]();
|
|
343544
343545
|
}
|
|
343545
343546
|
/**
|
|
343546
343547
|
* Initialize favorite properties for the provided IModelConnection.
|
|
343547
|
-
* @deprecated in 4.5 -
|
|
343548
|
+
* @deprecated in 4.5 - will not be removed until after 2026-06-13. Initialization is performed automatically by all async methods and only needed for deprecated [[FavoritePropertiesManager.has]] and [[FavoritePropertiesManager.sortFields]].
|
|
343548
343549
|
*/
|
|
343549
343550
|
initializeConnection = async (imodel) => {
|
|
343550
343551
|
const imodelId = imodel.iModelId;
|
|
@@ -343754,7 +343755,7 @@ class FavoritePropertiesManager {
|
|
|
343754
343755
|
* @param imodel IModelConnection.
|
|
343755
343756
|
* @param scope FavoritePropertiesScope to check for favorite properties. It also checks the more general scopes.
|
|
343756
343757
|
* @note `initializeConnection` must be called with the `imodel` before calling this function.
|
|
343757
|
-
* @deprecated in 4.5 -
|
|
343758
|
+
* @deprecated in 4.5 - will not be removed until after 2026-06-13. Use [[FavoritePropertiesManager.hasAsync]] instead. This method is not async, therefore it requires early initialization by calling [[FavoritePropertiesManager.initializeConnection]].
|
|
343758
343759
|
*/
|
|
343759
343760
|
has(field, imodel, scope) {
|
|
343760
343761
|
this.validateInitialization(imodel);
|
|
@@ -343782,7 +343783,7 @@ class FavoritePropertiesManager {
|
|
|
343782
343783
|
* @param imodel IModelConnection.
|
|
343783
343784
|
* @param fields Array of Field's that needs to be sorted.
|
|
343784
343785
|
* @note `initializeConnection` must be called with the `imodel` before calling this function.
|
|
343785
|
-
* @deprecated in 4.5 -
|
|
343786
|
+
* @deprecated in 4.5 - will not be removed until after 2026-06-13. Use [[FavoritePropertiesManager.sortFieldsAsync]] instead. This method is not async, therefore it requires early initialization by calling [[FavoritePropertiesManager.initializeConnection]].
|
|
343786
343787
|
*/
|
|
343787
343788
|
sortFields = (imodel, fields) => {
|
|
343788
343789
|
this.validateInitialization(imodel);
|
|
@@ -344482,7 +344483,7 @@ const HILITE_RULESET = HiliteRules_json_1.default;
|
|
|
344482
344483
|
* supplied `KeySet`.
|
|
344483
344484
|
*
|
|
344484
344485
|
* @public
|
|
344485
|
-
* @deprecated in 5.0. Use `HiliteSetProvider` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md#hilite-sets) package instead.
|
|
344486
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `HiliteSetProvider` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md#hilite-sets) package instead.
|
|
344486
344487
|
*/
|
|
344487
344488
|
class HiliteSetProvider {
|
|
344488
344489
|
_imodel;
|
|
@@ -344642,7 +344643,7 @@ const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../cor
|
|
|
344642
344643
|
/**
|
|
344643
344644
|
* An event broadcasted on selection changes
|
|
344644
344645
|
* @public
|
|
344645
|
-
* @deprecated in 5.0. Use `Event<StorageSelectionChangesListener>` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md) package instead.
|
|
344646
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `Event<StorageSelectionChangesListener>` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md) package instead.
|
|
344646
344647
|
*/
|
|
344647
344648
|
class SelectionChangeEvent extends core_bentley_1.BeEvent {
|
|
344648
344649
|
}
|
|
@@ -344650,7 +344651,7 @@ exports.SelectionChangeEvent = SelectionChangeEvent;
|
|
|
344650
344651
|
/**
|
|
344651
344652
|
* The type of selection change
|
|
344652
344653
|
* @public
|
|
344653
|
-
* @deprecated in 5.0. Use `StorageSelectionChangeType` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md) package instead.
|
|
344654
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `StorageSelectionChangeType` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md) package instead.
|
|
344654
344655
|
*/
|
|
344655
344656
|
var SelectionChangeType;
|
|
344656
344657
|
(function (SelectionChangeType) {
|
|
@@ -344691,7 +344692,7 @@ const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../cor
|
|
|
344691
344692
|
* internal the selection state.
|
|
344692
344693
|
*
|
|
344693
344694
|
* @public
|
|
344694
|
-
* @deprecated in 5.0. Use `SelectionStorage` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md#basic-usage) package instead.
|
|
344695
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `SelectionStorage` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md#basic-usage) package instead.
|
|
344695
344696
|
*/
|
|
344696
344697
|
class SelectionHandler {
|
|
344697
344698
|
_inSelect;
|
|
@@ -344729,7 +344730,7 @@ class SelectionHandler {
|
|
|
344729
344730
|
[Symbol.dispose]() {
|
|
344730
344731
|
this._disposables.dispose();
|
|
344731
344732
|
}
|
|
344732
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
344733
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
344733
344734
|
/* c8 ignore next 3 */
|
|
344734
344735
|
dispose() {
|
|
344735
344736
|
this[Symbol.dispose]();
|
|
@@ -344834,7 +344835,7 @@ const presentation_common_1 = __webpack_require__(/*! @itwin/presentation-common
|
|
|
344834
344835
|
/**
|
|
344835
344836
|
* Helper class for working with selection.
|
|
344836
344837
|
* @public
|
|
344837
|
-
* @deprecated in 5.0. This is unnecessary after switching to [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md)
|
|
344838
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. This is unnecessary after switching to [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md)
|
|
344838
344839
|
* package. A similar method to this in the new system is `Selectables.load()`.
|
|
344839
344840
|
*/
|
|
344840
344841
|
class SelectionHelper {
|
|
@@ -344951,7 +344952,7 @@ const SelectionScopesManager_js_1 = __webpack_require__(/*! ./SelectionScopesMan
|
|
|
344951
344952
|
/**
|
|
344952
344953
|
* The selection manager which stores the overall selection.
|
|
344953
344954
|
* @public
|
|
344954
|
-
* @deprecated in 5.0. Use `SelectionStorage` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md) package instead.
|
|
344955
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `SelectionStorage` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md) package instead.
|
|
344955
344956
|
*/
|
|
344956
344957
|
class SelectionManager {
|
|
344957
344958
|
_imodelKeyFactory;
|
|
@@ -344994,7 +344995,7 @@ class SelectionManager {
|
|
|
344994
344995
|
this._selectionEventsSubscription.unsubscribe();
|
|
344995
344996
|
this._listeners.forEach((dispose) => dispose());
|
|
344996
344997
|
}
|
|
344997
|
-
/** @deprecated in 5.0. Use [Symbol.dispose] instead. */
|
|
344998
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
344998
344999
|
/* c8 ignore next 3 */
|
|
344999
345000
|
dispose() {
|
|
345000
345001
|
this[Symbol.dispose]();
|
|
@@ -345649,7 +345650,7 @@ const presentation_common_1 = __webpack_require__(/*! @itwin/presentation-common
|
|
|
345649
345650
|
* and can compute logical selection based on element IDs and selection scope.
|
|
345650
345651
|
*
|
|
345651
345652
|
* @public
|
|
345652
|
-
* @deprecated in 5.0. Use `computeSelection` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md#selection-scopes) package instead.
|
|
345653
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `computeSelection` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md#selection-scopes) package instead.
|
|
345653
345654
|
*/
|
|
345654
345655
|
class SelectionScopesManager {
|
|
345655
345656
|
_rpcRequestsHandler;
|
|
@@ -345717,7 +345718,7 @@ exports.SelectionScopesManager = SelectionScopesManager;
|
|
|
345717
345718
|
* calculating selection with scope.
|
|
345718
345719
|
*
|
|
345719
345720
|
* @public
|
|
345720
|
-
* @deprecated in 5.0. Use `computeSelection` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md#selection-scopes) package instead.
|
|
345721
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `computeSelection` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md#selection-scopes) package instead.
|
|
345721
345722
|
*/
|
|
345722
345723
|
function createSelectionScopeProps(scope) {
|
|
345723
345724
|
if (!scope) {
|
|
@@ -355792,7 +355793,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
355792
355793
|
/***/ ((module) => {
|
|
355793
355794
|
|
|
355794
355795
|
"use strict";
|
|
355795
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.1.0-dev.
|
|
355796
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.1.0-dev.41","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"}}');
|
|
355796
355797
|
|
|
355797
355798
|
/***/ }),
|
|
355798
355799
|
|