@itwin/rpcinterface-full-stack-tests 5.12.0-dev.1 → 5.12.0-dev.10

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.
@@ -49624,7 +49624,7 @@ var GeoServiceStatus;
49624
49624
  GeoServiceStatus[GeoServiceStatus["VerticalDatumConvertError"] = 147460] = "VerticalDatumConvertError";
49625
49625
  GeoServiceStatus[GeoServiceStatus["CSMapError"] = 147461] = "CSMapError";
49626
49626
  /**
49627
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. This status is never returned.
49627
+ * @deprecated in 5.0 - might be removed in next major version. This status is never returned.
49628
49628
  */
49629
49629
  GeoServiceStatus[GeoServiceStatus["Pending"] = 147462] = "Pending";
49630
49630
  })(GeoServiceStatus || (GeoServiceStatus = {}));
@@ -51124,7 +51124,7 @@ Symbol.dispose ??= Symbol("Symbol.dispose");
51124
51124
  Symbol.asyncDispose ??= Symbol("Symbol.asyncDispose");
51125
51125
  /**
51126
51126
  * A type guard that checks whether the given argument implements `IDisposable` interface
51127
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use isDisposable instead.
51127
+ * @deprecated in 5.0 - might be removed in next major version. Use isDisposable instead.
51128
51128
  * @public
51129
51129
  */
51130
51130
  function isIDisposable(obj) {
@@ -51163,7 +51163,7 @@ function disposeArray(list) {
51163
51163
  * of this function is equal to return value of func. If func throws, this function also throws (after
51164
51164
  * disposing the resource).
51165
51165
  * @public
51166
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `using` declarations instead.
51166
+ * @deprecated in 5.0 - might be removed in next major version. Use `using` declarations instead.
51167
51167
  */
51168
51168
  function using(resources, func) {
51169
51169
  if (!Array.isArray(resources))
@@ -53006,7 +53006,7 @@ class PerfLogger {
53006
53006
  [Symbol.dispose]() {
53007
53007
  this.logMessage();
53008
53008
  }
53009
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
53009
+ /** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
53010
53010
  dispose() {
53011
53011
  this[Symbol.dispose]();
53012
53012
  }
@@ -54777,7 +54777,7 @@ __webpack_require__.r(__webpack_exports__);
54777
54777
  /**
54778
54778
  * Mirrors the SpanKind enum from [@opentelemetry/api](https://open-telemetry.github.io/opentelemetry-js/enums/_opentelemetry_api.SpanKind.html)
54779
54779
  * @public
54780
- * @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.
54780
+ * @deprecated in 4.4 - might be removed in next major version. OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
54781
54781
  */
54782
54782
  var SpanKind;
54783
54783
  (function (SpanKind) {
@@ -54837,7 +54837,7 @@ function flattenObject(obj) {
54837
54837
  /**
54838
54838
  * Enables OpenTelemetry tracing in addition to traditional logging.
54839
54839
  * @public
54840
- * @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.
54840
+ * @deprecated in 4.4 - might be removed in next major version. OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
54841
54841
  */
54842
54842
  class Tracing {
54843
54843
  static _tracer;
@@ -58514,7 +58514,7 @@ var QueryRowFormat;
58514
58514
  QueryRowFormat[QueryRowFormat["UseECSqlPropertyIndexes"] = 1] = "UseECSqlPropertyIndexes";
58515
58515
  /** Each row is an object in which each non-null column value can be accessed by a [remapped property name]($docs/learning/ECSqlRowFormat.md).
58516
58516
  * This format is backwards-compatible with the format produced by iTwin.js 2.x. Null values are omitted.
58517
- * @deprecated in 4.11 - will not be removed until after 2026-06-13. Switch to UseECSqlPropertyIndexes for best performance, and UseECSqlPropertyNames if you want a JSON object as the result.
58517
+ * @deprecated in 4.11 - might be removed in next major version. Switch to UseECSqlPropertyIndexes for best performance, and UseECSqlPropertyNames if you want a JSON object as the result.
58518
58518
  */
58519
58519
  QueryRowFormat[QueryRowFormat["UseJsPropertyNames"] = 2] = "UseJsPropertyNames";
58520
58520
  })(QueryRowFormat || (QueryRowFormat = {}));
@@ -58585,7 +58585,7 @@ class QueryOptionsBuilder {
58585
58585
  * If set ECClassId, SourceECClassId and TargetECClassId system properties will return qualified name of class instead of a @typedef Id64String.
58586
58586
  * @param val A boolean value.
58587
58587
  * @returns @type QueryOptionsBuilder for fluent interface.
58588
- * @deprecated in 4.11 - will not be removed until after 2026-06-13. Use ecsql function ec_classname to get class name instead.
58588
+ * @deprecated in 4.11 - might be removed in next major version. Use ecsql function ec_classname to get class name instead.
58589
58589
  */
58590
58590
  setConvertClassIdsToNames(val) {
58591
58591
  // eslint-disable-next-line @typescript-eslint/no-deprecated
@@ -61986,7 +61986,7 @@ var PrimitiveTypeCode;
61986
61986
  })(PrimitiveTypeCode || (PrimitiveTypeCode = {}));
61987
61987
  /** Metadata for a property.
61988
61988
  * @beta
61989
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `Property` class from @itwin/ecschema-metadata` instead.
61989
+ * @deprecated in 5.0 - might be removed in next major version. Use the `Property` class from @itwin/ecschema-metadata` instead.
61990
61990
  */
61991
61991
  // eslint-disable-next-line @typescript-eslint/no-deprecated
61992
61992
  class PropertyMetaData {
@@ -62072,7 +62072,7 @@ class PropertyMetaData {
62072
62072
  }
62073
62073
  /** Metadata for an Entity.
62074
62074
  * @beta
62075
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `EntityClass` class from `@itwin/ecschema-metadata` instead.
62075
+ * @deprecated in 5.0 - might be removed in next major version. Use `EntityClass` class from `@itwin/ecschema-metadata` instead.
62076
62076
  */
62077
62077
  // eslint-disable-next-line @typescript-eslint/no-deprecated
62078
62078
  class EntityMetaData {
@@ -63388,7 +63388,7 @@ var FontType;
63388
63388
  * This class maps FontIds to FontProps.
63389
63389
  * @note This API has never worked properly. Don't use it. Use [IModelDb.fonts]($backend) instead.
63390
63390
  * @public
63391
- * @deprecated in 5.0.0 - will not be removed until after 2026-06-13. Use [IModelDb.fonts]($backend) instead.
63391
+ * @deprecated in 5.0.0 - might be removed in next major version. Use [IModelDb.fonts]($backend) instead.
63392
63392
  */
63393
63393
  class FontMap {
63394
63394
  fonts = new Map();
@@ -63852,7 +63852,7 @@ var GeoCoordStatus;
63852
63852
  /** This temporary status is used to mark coordinates for which the conversion has not yet been processed by the backend
63853
63853
  * as opposed to other coordinate conversions that may have been resolved otherwise (typically a cache).
63854
63854
  * At the completion of the conversion promise no coordinates should have this status.
63855
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Pending is no longer returned as a status for coordinate conversions.
63855
+ * @deprecated in 5.0 - might be removed in next major version. Pending is no longer returned as a status for coordinate conversions.
63856
63856
  */
63857
63857
  GeoCoordStatus[GeoCoordStatus["Pending"] = -41556] = "Pending";
63858
63858
  })(GeoCoordStatus || (GeoCoordStatus = {}));
@@ -86967,7 +86967,7 @@ const unknownIModelId = (req) => ({ iModelId: "undefined", key: req.parameters[0
86967
86967
  /** The RPC interface for working with *snapshot* iModels.
86968
86968
  * This interface is intended for desktop and mobile products. Web products are discouraged from registering this interface.
86969
86969
  * @internal
86970
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Check [[IpcAppFunctions]] or [[CheckpointConnection]] for replacements.
86970
+ * @deprecated in 5.0 - might be removed in next major version. Check [[IpcAppFunctions]] or [[CheckpointConnection]] for replacements.
86971
86971
  */
86972
86972
  class SnapshotIModelRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_0__.RpcInterface {
86973
86973
  /** Returns the SnapshotIModelRpcInterface client instance for the frontend. */
@@ -86983,15 +86983,15 @@ class SnapshotIModelRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_
86983
86983
  NOTE: Please consult the README in this folder for the semantic versioning rules.
86984
86984
  ===========================================================================================*/
86985
86985
  /**
86986
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[IpcAppFunctions.openSnapshot]] in IPC applications, no replacement for Web applications.
86986
+ * @deprecated in 5.0 - might be removed in next major version. Use [[IpcAppFunctions.openSnapshot]] in IPC applications, no replacement for Web applications.
86987
86987
  */
86988
86988
  async openFile(_filePath, _opts) { return this.forward(arguments); }
86989
86989
  /**
86990
- * @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [[CheckpointConnection.openRemote]].
86990
+ * @deprecated in 4.10 - might be removed in next major version. Use [[CheckpointConnection.openRemote]].
86991
86991
  */
86992
86992
  async openRemote(_key, _opts) { return this.forward(arguments); }
86993
86993
  /**
86994
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[IpcAppFunctions.closeIModel]] in IPC applications, no replacement for Web applications.
86994
+ * @deprecated in 5.0 - might be removed in next major version. Use [[IpcAppFunctions.closeIModel]] in IPC applications, no replacement for Web applications.
86995
86995
  */
86996
86996
  async close(_iModelRpcProps) { return this.forward(arguments); }
86997
86997
  }
@@ -92054,7 +92054,7 @@ function computeChildTileProps(parent, idProvider, root) {
92054
92054
  /** Deserializes tile content metadata.
92055
92055
  * @throws [[TileReadError]]
92056
92056
  * @internal
92057
- * @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.
92057
+ * @deprecated in 4.0 - might be removed in next major version. Use decodeTileContentDescription. I think tile agents (or their tests) are using this function.
92058
92058
  */
92059
92059
  function readTileContentDescription(stream, sizeMultiplier, is2d, options, isVolumeClassifier) {
92060
92060
  return decodeTileContentDescription({ stream, sizeMultiplier, is2d, options, isVolumeClassifier });
@@ -92484,7 +92484,7 @@ class SchemaContext {
92484
92484
  /**
92485
92485
  * Adds the given SchemaItem to the the SchemaContext by locating the schema, with the best match of SchemaMatchType.Exact, and
92486
92486
  * @param schemaItem The SchemaItem to add
92487
- * @deprecated in 4.0 - will not be removed until after 2026-06-13. Use ecschema-editing package
92487
+ * @deprecated in 4.0 - might be removed in next major version. Use ecschema-editing package
92488
92488
  */
92489
92489
  async addSchemaItem(schemaItem) {
92490
92490
  const schema = await this.getSchema(schemaItem.key.schemaKey, _ECObjects__WEBPACK_IMPORTED_MODULE_0__.SchemaMatchType.Exact);
@@ -96072,7 +96072,7 @@ var SchemaMatchType;
96072
96072
  (function (SchemaMatchType) {
96073
96073
  /*
96074
96074
  * Find exact VersionRead, VersionWrite, VersionMinor match as well as Data. NOTE data is not yet matched
96075
- * @deprecated in 4.10 - will not be removed until after 2026-06-13. Use Exact instead.
96075
+ * @deprecated in 4.10 - might be removed in next major version. Use Exact instead.
96076
96076
  */
96077
96077
  SchemaMatchType[SchemaMatchType["Identical"] = 0] = "Identical";
96078
96078
  /* Find exact VersionRead, VersionWrite, VersionMinor match. */
@@ -96172,7 +96172,7 @@ function parseSchemaItemType(type) {
96172
96172
  * @param value The SchemaItemType to stringify.
96173
96173
  * @return A string representing the provided SchemaItemType. If the type is not valid, an empty string is returned.
96174
96174
  * @beta
96175
- * @deprecated in 4.6.0 - will not be removed until after 2026-06-13. SchemaItemType is a string enum so just use it directly
96175
+ * @deprecated in 4.6.0 - might be removed in next major version. SchemaItemType is a string enum so just use it directly
96176
96176
  */
96177
96177
  function schemaItemTypeToString(value) {
96178
96178
  return value; // TODO: Remove
@@ -100664,7 +100664,7 @@ class CustomAttributeClass extends _Class__WEBPACK_IMPORTED_MODULE_2__.ECClass {
100664
100664
  static get schemaItemType() { return _ECObjects__WEBPACK_IMPORTED_MODULE_0__.SchemaItemType.CustomAttributeClass; }
100665
100665
  _appliesTo;
100666
100666
  /**
100667
- * @deprecated in 4.8 - will not be removed until after 2026-06-13. Use [[appliesTo]]
100667
+ * @deprecated in 4.8 - might be removed in next major version. Use [[appliesTo]]
100668
100668
  * */
100669
100669
  get containerType() {
100670
100670
  return this.appliesTo;
@@ -110221,9 +110221,7 @@ class AccuDraw {
110221
110221
  if (point.y < 0.0)
110222
110222
  adjustment = -adjustment;
110223
110223
  angle += adjustment; // This is the angle measured from design x...
110224
- angle = (Math.PI / 2) - angle; // Account for bearing direction convention...
110225
- if (angle < 0)
110226
- angle = (Math.PI * 2) + angle; // Negative bearings aren't valid?
110224
+ // core-quantity now applies the north-measured conversion itself (#9465); don't do it here too.
110227
110225
  }
110228
110226
  const formatterSpec = this.getAngleFormatter();
110229
110227
  let formattedValue = angle.toString();
@@ -110263,10 +110261,8 @@ class AccuDraw {
110263
110261
  case ItemField.ANGLE_Item:
110264
110262
  parseResult = this.stringToAngle(input);
110265
110263
  if (_itwin_core_quantity__WEBPACK_IMPORTED_MODULE_13__.Parser.isParsedQuantity(parseResult)) {
110266
- if (this.isBearingMode && this.flags.bearingFixToPlane2D)
110267
- this._angle = (Math.PI / 2) - parseResult.value;
110268
- else
110269
- this._angle = parseResult.value;
110264
+ // core-quantity's Parser applies the north-measured conversion itself now (#9465).
110265
+ this._angle = parseResult.value;
110270
110266
  break;
110271
110267
  }
110272
110268
  return _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.ERROR;
@@ -114695,7 +114691,7 @@ __webpack_require__.r(__webpack_exports__);
114695
114691
  * Use of this service requires an API key to be supplied via [[MapLayerOptions.BingMaps]] in the [[IModelAppOptions.mapLayerOptions]] passed to [[IModelApp.startup]].
114696
114692
  * @public
114697
114693
  * @extensions
114698
- * @deprecated in 5.11.0. Provide a [[LocationProvider]] implementation via [[IModelAppOptions.geospatialProviders]].
114694
+ * @deprecated in 5.11.0 - will not be removed until after 2027-07-03. Provide a [[LocationProvider]] implementation via [[IModelAppOptions.geospatialProviders]].
114699
114695
  * @note This class structurally satisfies [[LocationProvider]] but does not use an explicit `implements` clause
114700
114696
  * because api-extractor forbids `@public` classes from referencing `@beta` interfaces (ae-incompatible-release-tags).
114701
114697
  */
@@ -120382,7 +120378,7 @@ class GraphicalEditingScope extends _BriefcaseTxns__WEBPACK_IMPORTED_MODULE_2__.
120382
120378
  this._cleanup = undefined;
120383
120379
  }
120384
120380
  }
120385
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
120381
+ /** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
120386
120382
  dispose() {
120387
120383
  this[Symbol.dispose]();
120388
120384
  }
@@ -121852,14 +121848,14 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
121852
121848
  */
121853
121849
  onClose = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
121854
121850
  /** The font map for this IModelConnection. Only valid after calling #loadFontMap and waiting for the returned promise to be fulfilled.
121855
- * @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).
121851
+ * @deprecated in 5.0.0 - might be removed in next major version. If you need font Ids on the front-end for some reason, write an Ipc method that queries [IModelDb.fonts]($backend).
121856
121852
  */
121857
121853
  fontMap; // eslint-disable-line @typescript-eslint/no-deprecated
121858
121854
  _schemaContext;
121859
121855
  _schemasPromise;
121860
121856
  /** Load the FontMap for this IModelConnection.
121861
121857
  * @returns Returns a Promise<FontMap> that is fulfilled when the FontMap member of this IModelConnection is valid.
121862
- * @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).
121858
+ * @deprecated in 5.0.0 - might be removed in next major version. If you need font Ids on the front-end for some reason, write an Ipc method that queries [IModelDb.fonts]($backend).
121863
121859
  */
121864
121860
  async loadFontMap() {
121865
121861
  if (undefined === this.fontMap) { // eslint-disable-line @typescript-eslint/no-deprecated
@@ -121983,7 +121979,7 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
121983
121979
  return this.isOpen ? this._snapRpc.request(props) : { status: 2 };
121984
121980
  }
121985
121981
  /** @internal
121986
- * @deprecated in 4.8 - will not be removed until after 2026-06-13. Use AccuSnap.doSnapRequest.
121982
+ * @deprecated in 4.8 - might be removed in next major version. Use AccuSnap.doSnapRequest.
121987
121983
  */
121988
121984
  async requestSnap(props) {
121989
121985
  return this[_common_internal_Symbols__WEBPACK_IMPORTED_MODULE_12__._requestSnap](props);
@@ -122024,7 +122020,7 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
122024
122020
  return _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelReadRpcInterface.getClientForRouting(this.routingContext.token).getMassProperties(this.getRpcProps(), requestProps);
122025
122021
  }
122026
122022
  /** Request mass properties for multiple elements from the backend.
122027
- * @deprecated in 4.11 - will not be removed until after 2026-06-13. Use [[IModelConnection.getMassProperties]].
122023
+ * @deprecated in 4.11 - might be removed in next major version. Use [[IModelConnection.getMassProperties]].
122028
122024
  */
122029
122025
  async getMassPropertiesPerCandidate(requestProps) {
122030
122026
  return _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelReadRpcInterface.getClientForRouting(this.routingContext.token).getMassPropertiesPerCandidate(this.getRpcProps(), requestProps);
@@ -122464,7 +122460,7 @@ class SnapshotConnection extends IModelConnection {
122464
122460
  }
122465
122461
  /** Open an IModelConnection to a remote read-only snapshot iModel from a key that will be resolved by the backend.
122466
122462
  * @note This method is intended for web applications.
122467
- * @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [[CheckpointConnection.openRemote]].
122463
+ * @deprecated in 4.10 - might be removed in next major version. Use [[CheckpointConnection.openRemote]].
122468
122464
  */
122469
122465
  static async openRemote(fileKey) {
122470
122466
  const routingContext = _IModelRoutingContext__WEBPACK_IMPORTED_MODULE_6__.IModelRoutingContext.current || _IModelRoutingContext__WEBPACK_IMPORTED_MODULE_6__.IModelRoutingContext.default;
@@ -123049,7 +123045,7 @@ class SnapshotConnection extends IModelConnection {
123049
123045
  * There is no guarantee that this view will be suitable for the purposes of any other applications.
123050
123046
  * Most applications should ignore the default view and instead create a [[ViewState]] that fits their own requirements using APIs like [[ViewCreator3d]].
123051
123047
  * @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.
123052
- * @deprecated in 4.2 - will not be removed until after 2026-06-13. Create a ViewState to your own specifications.
123048
+ * @deprecated in 4.2 - might be removed in next major version. Create a ViewState to your own specifications.
123053
123049
  */
123054
123050
  async queryDefaultViewId() {
123055
123051
  const iModel = this._iModel;
@@ -123439,7 +123435,7 @@ class IpcApp {
123439
123435
  throw Object.assign(new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.BackendError(err.errorNumber, err.iTwinErrorId.key, err.message, err.loggingMetadata), trimErr);
123440
123436
  }
123441
123437
  /** @internal
123442
- * @deprecated in 4.8 - will not be removed until after 2026-06-13. Use [[makeIpcProxy]] for a type-safe interface.
123438
+ * @deprecated in 4.8 - might be removed in next major version. Use [[makeIpcProxy]] for a type-safe interface.
123443
123439
  */
123444
123440
  static async callIpcChannel(channelName, methodName, ...args) {
123445
123441
  return this[_common_internal_Symbols__WEBPACK_IMPORTED_MODULE_2__._callIpcChannel](channelName, methodName, ...args);
@@ -126746,7 +126742,7 @@ class HiliteSet {
126746
126742
  /** Toggle the hilited state of one or more elements.
126747
126743
  * @param arg the ID(s) of the elements whose state is to be toggled.
126748
126744
  * @param onOff True to add the elements to the hilited set, false to remove them.
126749
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[add]], [[remove]], [[replace]] instead.
126745
+ * @deprecated in 5.0 - might be removed in next major version. Use [[add]], [[remove]], [[replace]] instead.
126750
126746
  */
126751
126747
  setHilite(arg, onOff) {
126752
126748
  if (onOff) {
@@ -126814,14 +126810,14 @@ class SelectionSet {
126814
126810
  }
126815
126811
  /** Return true if elemId is in this `SelectionSet`.
126816
126812
  * @see [[isSelected]]
126817
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `SelectionSet.elements.has(elemId)` instead.
126813
+ * @deprecated in 5.0 - might be removed in next major version. Use `SelectionSet.elements.has(elemId)` instead.
126818
126814
  */
126819
126815
  has(elemId) {
126820
126816
  return !!elemId && this.elements.has(elemId);
126821
126817
  }
126822
126818
  /** Query whether an Id is in the selection set.
126823
126819
  * @see [[has]]
126824
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `SelectionSet.elements.has(elemId)` instead.
126820
+ * @deprecated in 5.0 - might be removed in next major version. Use `SelectionSet.elements.has(elemId)` instead.
126825
126821
  */
126826
126822
  isSelected(elemId) {
126827
126823
  return !!elemId && this.elements.has(elemId);
@@ -131101,7 +131097,7 @@ class ViewState extends _EntityState__WEBPACK_IMPORTED_MODULE_5__.ElementState {
131101
131097
  /** Execute a function against each [[TileTreeReference]] associated with this view.
131102
131098
  * This may include tile trees not associated with any [[GeometricModelState]] - e.g., context reality data.
131103
131099
  * @note This method is inefficient (iteration cannot be aborted) and awkward (callback cannot be async nor return a value). Prefer to iterate using [[getTileTreeRefs]].
131104
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[getTileTreeRefs]] instead.
131100
+ * @deprecated in 5.0 - might be removed in next major version. Use [[getTileTreeRefs]] instead.
131105
131101
  */
131106
131102
  forEachTileTreeRef(func) {
131107
131103
  for (const ref of this.getModelTreeRefs()) {
@@ -131499,11 +131495,10 @@ class ViewState extends _EntityState__WEBPACK_IMPORTED_MODULE_5__.ElementState {
131499
131495
  origin.setFrom(vp.view.isSpatialView() ? vp.view.iModel.globalOrigin : _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Point3d.create());
131500
131496
  switch (orientation) {
131501
131497
  case _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.GridOrientationType.View: {
131502
- const centerWorld = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Point3d.create(0.5, 0.5, 0.5);
131503
- vp.npcToWorld(centerWorld, centerWorld);
131498
+ const center = vp.npcToView(_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.NpcCenter);
131504
131499
  rMatrix.setFrom(vp.rotation);
131505
- rMatrix.multiplyXYZtoXYZ(origin, origin);
131506
- origin.z = centerWorld.z;
131500
+ rMatrix.multiplyVectorInPlace(origin);
131501
+ origin.z = center.z;
131507
131502
  rMatrix.multiplyTransposeVectorInPlace(origin);
131508
131503
  break;
131509
131504
  }
@@ -134199,7 +134194,7 @@ class Viewport {
134199
134194
  this.onDisposed.raiseEvent(this);
134200
134195
  this.detachFromView();
134201
134196
  }
134202
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
134197
+ /** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
134203
134198
  dispose() {
134204
134199
  this[Symbol.dispose]();
134205
134200
  }
@@ -134600,7 +134595,7 @@ class Viewport {
134600
134595
  }
134601
134596
  }
134602
134597
  /** Apply a function to every tile tree reference associated with the map layers displayed by this viewport.
134603
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[mapTileTreeRefs]] instead.
134598
+ * @deprecated in 5.0 - might be removed in next major version. Use [[mapTileTreeRefs]] instead.
134604
134599
  */
134605
134600
  forEachMapTreeRef(func) {
134606
134601
  if (this._mapTiledGraphicsProvider)
@@ -134612,7 +134607,7 @@ class Viewport {
134612
134607
  }
134613
134608
  ;
134614
134609
  /** Apply a function to every [[TileTreeReference]] displayed by this viewport.
134615
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[getTileTreeRefs]] instead.
134610
+ * @deprecated in 5.0 - might be removed in next major version. Use [[getTileTreeRefs]] instead.
134616
134611
  */
134617
134612
  forEachTileTreeRef(func) {
134618
134613
  for (const ref of this.getTileTreeRefs()) {
@@ -135242,11 +135237,11 @@ class Viewport {
135242
135237
  origin.setFrom(this.iModel.globalOrigin);
135243
135238
  switch (this.view.getGridOrientation()) {
135244
135239
  case _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.GridOrientationType.View: {
135245
- const center = this.view.getCenter();
135246
- this.toViewOrientation(center);
135247
- this.toViewOrientation(origin);
135240
+ const center = this.npcToView(_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.NpcCenter);
135241
+ rMatrix.setFrom(this.rotation);
135242
+ rMatrix.multiplyVectorInPlace(origin);
135248
135243
  origin.z = center.z;
135249
- this.fromViewOrientation(origin);
135244
+ rMatrix.multiplyTransposeVectorInPlace(origin);
135250
135245
  break;
135251
135246
  }
135252
135247
  case _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.GridOrientationType.WorldXY:
@@ -135270,24 +135265,24 @@ class Viewport {
135270
135265
  eyeVec = this._viewingSpace.rotation.getRow(2);
135271
135266
  eyeVec.normalizeInPlace();
135272
135267
  (0,_LinePlaneIntersect__WEBPACK_IMPORTED_MODULE_12__.linePlaneIntersect)(point, point, eyeVec, origin, planeNormal, false);
135273
- // // get origin and point in view coordinate system
135274
- const pointView = point.clone();
135275
- const originView = origin.clone();
135276
- this.toViewOrientation(pointView);
135277
- this.toViewOrientation(originView);
135268
+ // Get origin and point in the grid's local coordinate system.
135269
+ const pointGrid = point.clone();
135270
+ const originGrid = origin.clone();
135271
+ rMatrix.multiplyXYZtoXYZ(pointGrid, pointGrid);
135272
+ rMatrix.multiplyXYZtoXYZ(originGrid, originGrid);
135278
135273
  // subtract off the origin
135279
- pointView.y -= originView.y;
135280
- pointView.x -= originView.x;
135274
+ pointGrid.y -= originGrid.y;
135275
+ pointGrid.x -= originGrid.x;
135281
135276
  // round off the remainder to the grid distances
135282
135277
  const gridSpacing = this.view.getGridSpacing();
135283
- pointView.x = Viewport.roundGrid(pointView.x, gridSpacing.x);
135284
- pointView.y = Viewport.roundGrid(pointView.y, gridSpacing.y);
135278
+ pointGrid.x = Viewport.roundGrid(pointGrid.x, gridSpacing.x);
135279
+ pointGrid.y = Viewport.roundGrid(pointGrid.y, gridSpacing.y);
135285
135280
  // add the origin back in
135286
- pointView.x += originView.x;
135287
- pointView.y += originView.y;
135281
+ pointGrid.x += originGrid.x;
135282
+ pointGrid.y += originGrid.y;
135288
135283
  // go back to root coordinate system
135289
- this.fromViewOrientation(pointView);
135290
- point.setFrom(pointView);
135284
+ rMatrix.multiplyTransposeVectorInPlace(pointGrid);
135285
+ point.setFrom(pointGrid);
135291
135286
  }
135292
135287
  /** @internal */
135293
135288
  pointToGrid(point) {
@@ -144731,6 +144726,7 @@ __webpack_require__.r(__webpack_exports__);
144731
144726
  /* harmony export */ AccuDrawRotateCycleTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawRotateCycleTool),
144732
144727
  /* harmony export */ AccuDrawRotateElementTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawRotateElementTool),
144733
144728
  /* harmony export */ AccuDrawRotateFrontTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawRotateFrontTool),
144729
+ /* harmony export */ AccuDrawRotatePointsTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawRotatePointsTool),
144734
144730
  /* harmony export */ AccuDrawRotateSideTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawRotateSideTool),
144735
144731
  /* harmony export */ AccuDrawRotateTopTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawRotateTopTool),
144736
144732
  /* harmony export */ AccuDrawRotateViewTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawRotateViewTool),
@@ -149157,7 +149153,7 @@ class AtmosphereUniforms {
149157
149153
  return true;
149158
149154
  }
149159
149155
  [Symbol.dispose]() { }
149160
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
149156
+ /** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
149161
149157
  dispose() {
149162
149158
  this[Symbol.dispose]();
149163
149159
  }
@@ -149243,7 +149239,7 @@ class BuffersContainer {
149243
149239
  this._context = context;
149244
149240
  this._vao = new VAOHandle(this._context);
149245
149241
  }
149246
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
149242
+ /** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
149247
149243
  dispose() {
149248
149244
  this[Symbol.dispose]();
149249
149245
  }
@@ -149305,7 +149301,7 @@ class VAOHandle {
149305
149301
  (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(!this.isDisposed);
149306
149302
  }
149307
149303
  get isDisposed() { return this._arrayObject === undefined; }
149308
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
149304
+ /** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
149309
149305
  dispose() {
149310
149306
  this[Symbol.dispose]();
149311
149307
  }
@@ -152052,7 +152048,7 @@ class ClippingProgram {
152052
152048
  [Symbol.dispose]() {
152053
152049
  this._program = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this._program);
152054
152050
  }
152055
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
152051
+ /** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
152056
152052
  dispose() {
152057
152053
  this[Symbol.dispose]();
152058
152054
  }
@@ -164180,7 +164176,7 @@ class ShaderProgram {
164180
164176
  this._status = 2 /* CompileStatus.Uncompiled */;
164181
164177
  }
164182
164178
  }
164183
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
164179
+ /** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
164184
164180
  dispose() {
164185
164181
  this[Symbol.dispose]();
164186
164182
  }
@@ -164649,7 +164645,7 @@ class ShaderProgramExecutor {
164649
164645
  ShaderProgramExecutor.freeParams();
164650
164646
  this._isDisposed = true;
164651
164647
  }
164652
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
164648
+ /** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
164653
164649
  dispose() {
164654
164650
  this[Symbol.dispose]();
164655
164651
  }
@@ -168290,7 +168286,7 @@ class SingularTechnique {
168290
168286
  [Symbol.dispose]() {
168291
168287
  this.program[Symbol.dispose]();
168292
168288
  }
168293
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
168289
+ /** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
168294
168290
  dispose() {
168295
168291
  this[Symbol.dispose]();
168296
168292
  }
@@ -168347,7 +168343,7 @@ class VariedTechnique {
168347
168343
  this._clippingPrograms.length = 0;
168348
168344
  this._isDisposed = true;
168349
168345
  }
168350
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
168346
+ /** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
168351
168347
  dispose() {
168352
168348
  this[Symbol.dispose]();
168353
168349
  }
@@ -169054,7 +169050,7 @@ class Techniques {
169054
169050
  (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(tech);
169055
169051
  this._list.length = 0;
169056
169052
  }
169057
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
169053
+ /** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
169058
169054
  dispose() {
169059
169055
  this[Symbol.dispose]();
169060
169056
  }
@@ -185347,7 +185343,7 @@ class RealityTreeReference extends RealityModelTileTree.Reference {
185347
185343
  div.innerHTML = strings.join("<br>");
185348
185344
  return div;
185349
185345
  }
185350
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
185346
+ /** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
185351
185347
  addLogoCards(cards) {
185352
185348
  if (this._rdSourceKey.provider === _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.CesiumIonAsset && !cards.dataset.openStreetMapLogoCard) {
185353
185349
  cards.dataset.openStreetMapLogoCard = "true";
@@ -187164,7 +187160,7 @@ class ArcGISMapLayerImageryProvider extends _tile_internal__WEBPACK_IMPORTED_MOD
187164
187160
  }
187165
187161
  }
187166
187162
  }
187167
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
187163
+ /** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
187168
187164
  addLogoCards(cards) {
187169
187165
  if (!cards.dataset.arcGisLogoCard) {
187170
187166
  cards.dataset.arcGisLogoCard = "true";
@@ -187449,7 +187445,7 @@ class BingAttribution {
187449
187445
  function replaceHttpWithHttps(originalUrl) {
187450
187446
  return originalUrl.startsWith("http:") ? "https:".concat(originalUrl.slice(5)) : originalUrl;
187451
187447
  }
187452
- /** @deprecated in 5.11.0. Bing Maps imagery is deprecated. For basemap imagery providers, see `@itwin/map-layers-formats`. */
187448
+ /** @deprecated in 5.11.0 - will not be removed until after 2027-07-03. Bing Maps imagery is deprecated. For basemap imagery providers, see `@itwin/map-layers-formats`. */
187453
187449
  class BingMapsImageryLayerProvider extends _tile_internal__WEBPACK_IMPORTED_MODULE_3__.MapLayerImageryProvider {
187454
187450
  _urlTemplate;
187455
187451
  _urlSubdomains;
@@ -187518,7 +187514,7 @@ class BingMapsImageryLayerProvider extends _tile_internal__WEBPACK_IMPORTED_MODU
187518
187514
  }
187519
187515
  return matchingAttributions;
187520
187516
  }
187521
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
187517
+ /** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
187522
187518
  addLogoCards(cards, vp) {
187523
187519
  const tiles = _IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.tileAdmin.getTilesForUser(vp)?.selected;
187524
187520
  const matchingAttributions = this.getMatchingAttributions(tiles);
@@ -187975,7 +187971,7 @@ class MapBoxLayerImageryProvider extends _tile_internal__WEBPACK_IMPORTED_MODULE
187975
187971
  url = url.concat(`?${this._settings.accessKey.key}=${this._settings.accessKey.value}`);
187976
187972
  return url;
187977
187973
  }
187978
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
187974
+ /** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
187979
187975
  addLogoCards(cards) {
187980
187976
  if (!cards.dataset.mapboxLogoCard) {
187981
187977
  cards.dataset.mapboxLogoCard = "true";
@@ -189712,7 +189708,7 @@ __webpack_require__.r(__webpack_exports__);
189712
189708
 
189713
189709
  /**
189714
189710
  * Angle Property Description
189715
- * @deprecated in 5.11.0. This appui-based quantity description API is deprecated. Use [createQuantityDescription]($frontend) to build a plain [PropertyDescription]($appui-abstract) with synchronous quantity formatting callbacks backed by [IModelApp.quantityFormatter]($frontend).
189711
+ * @deprecated in 5.11.0 - will not be removed until after 2027-07-03. This appui-based quantity description API is deprecated. Use [createQuantityDescription]($frontend) to build a plain [PropertyDescription]($appui-abstract) with synchronous quantity formatting callbacks backed by [IModelApp.quantityFormatter]($frontend).
189716
189712
  * @beta
189717
189713
  */
189718
189714
  // eslint-disable-next-line @typescript-eslint/no-deprecated
@@ -189729,7 +189725,7 @@ class AngleDescription extends _FormattedQuantityDescription__WEBPACK_IMPORTED_M
189729
189725
  }
189730
189726
  get formatterQuantityType() { return _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_1__.QuantityType.Angle; }
189731
189727
  /**
189732
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `kindOfQuantityName` property instead.
189728
+ * @deprecated in 5.0 - might be removed in next major version. Use the `kindOfQuantityName` property instead.
189733
189729
  */
189734
189730
  get quantityType() { return "Angle"; }
189735
189731
  get parseError() { return _IModelApp__WEBPACK_IMPORTED_MODULE_0__.IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseAngle"); }
@@ -189798,7 +189794,7 @@ function createQuantityDescription(props) {
189798
189794
  }
189799
189795
  /**
189800
189796
  * Base Quantity Property Description
189801
- * @deprecated in 5.11.0. This appui-based quantity description API is deprecated. Use [createQuantityDescription]($frontend) to build a plain [PropertyDescription]($appui-abstract) with synchronous quantity formatting callbacks backed by [IModelApp.quantityFormatter]($frontend).
189797
+ * @deprecated in 5.11.0 - will not be removed until after 2027-07-03. This appui-based quantity description API is deprecated. Use [createQuantityDescription]($frontend) to build a plain [PropertyDescription]($appui-abstract) with synchronous quantity formatting callbacks backed by [IModelApp.quantityFormatter]($frontend).
189802
189798
  * @beta
189803
189799
  */
189804
189800
  class FormattedQuantityDescription extends _itwin_appui_abstract__WEBPACK_IMPORTED_MODULE_1__.BaseQuantityDescription {
@@ -189885,7 +189881,7 @@ __webpack_require__.r(__webpack_exports__);
189885
189881
 
189886
189882
  /**
189887
189883
  * Length Property Description
189888
- * @deprecated in 5.11.0. This appui-based quantity description API is deprecated. Use [createQuantityDescription]($frontend) to build a plain [PropertyDescription]($appui-abstract) with synchronous quantity formatting callbacks backed by [IModelApp.quantityFormatter]($frontend).
189884
+ * @deprecated in 5.11.0 - will not be removed until after 2027-07-03. This appui-based quantity description API is deprecated. Use [createQuantityDescription]($frontend) to build a plain [PropertyDescription]($appui-abstract) with synchronous quantity formatting callbacks backed by [IModelApp.quantityFormatter]($frontend).
189889
189885
  * @beta
189890
189886
  */
189891
189887
  // eslint-disable-next-line @typescript-eslint/no-deprecated
@@ -189902,14 +189898,14 @@ class LengthDescription extends _FormattedQuantityDescription__WEBPACK_IMPORTED_
189902
189898
  }
189903
189899
  get formatterQuantityType() { return _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_1__.QuantityType.Length; }
189904
189900
  /**
189905
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `kindOfQuantityName` property instead.
189901
+ * @deprecated in 5.0 - might be removed in next major version. Use the `kindOfQuantityName` property instead.
189906
189902
  */
189907
189903
  get quantityType() { return "Length"; }
189908
189904
  get parseError() { return _IModelApp__WEBPACK_IMPORTED_MODULE_0__.IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseLength"); }
189909
189905
  }
189910
189906
  /**
189911
189907
  * Survey Length Property Description
189912
- * @deprecated in 5.11.0. This appui-based quantity description API is deprecated. Use [createQuantityDescription]($frontend) in new code. To preserve survey-length behavior, configure a dedicated [FormatsProvider]($quantity) such as [FormatSetFormatsProvider]($ecschema-metadata).
189908
+ * @deprecated in 5.11.0 - will not be removed until after 2027-07-03. This appui-based quantity description API is deprecated. Use [createQuantityDescription]($frontend) in new code. To preserve survey-length behavior, configure a dedicated [FormatsProvider]($quantity) such as [FormatSetFormatsProvider]($ecschema-metadata).
189913
189909
  * @beta
189914
189910
  */
189915
189911
  // eslint-disable-next-line @typescript-eslint/no-deprecated
@@ -189926,14 +189922,14 @@ class SurveyLengthDescription extends _FormattedQuantityDescription__WEBPACK_IMP
189926
189922
  }
189927
189923
  get formatterQuantityType() { return _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_1__.QuantityType.LengthSurvey; }
189928
189924
  /**
189929
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `kindOfQuantityName` property instead.
189925
+ * @deprecated in 5.0 - might be removed in next major version. Use the `kindOfQuantityName` property instead.
189930
189926
  */
189931
189927
  get quantityType() { return "LengthSurvey"; }
189932
189928
  get parseError() { return _IModelApp__WEBPACK_IMPORTED_MODULE_0__.IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseLength"); }
189933
189929
  }
189934
189930
  /**
189935
189931
  * Engineering Length Property Description
189936
- * @deprecated in 5.11.0. This appui-based quantity description API is deprecated. Use [createQuantityDescription]($frontend) to build a plain [PropertyDescription]($appui-abstract) with synchronous quantity formatting callbacks backed by [IModelApp.quantityFormatter]($frontend).
189932
+ * @deprecated in 5.11.0 - will not be removed until after 2027-07-03. This appui-based quantity description API is deprecated. Use [createQuantityDescription]($frontend) to build a plain [PropertyDescription]($appui-abstract) with synchronous quantity formatting callbacks backed by [IModelApp.quantityFormatter]($frontend).
189937
189933
  * @beta
189938
189934
  */
189939
189935
  // eslint-disable-next-line @typescript-eslint/no-deprecated
@@ -189950,7 +189946,7 @@ class EngineeringLengthDescription extends _FormattedQuantityDescription__WEBPAC
189950
189946
  }
189951
189947
  get formatterQuantityType() { return _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_1__.QuantityType.LengthEngineering; }
189952
189948
  /**
189953
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `kindOfQuantityName` property instead.
189949
+ * @deprecated in 5.0 - might be removed in next major version. Use the `kindOfQuantityName` property instead.
189954
189950
  */
189955
189951
  get quantityType() { return "LengthEngineering"; }
189956
189952
  get parseError() { return _IModelApp__WEBPACK_IMPORTED_MODULE_0__.IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseLength"); }
@@ -191905,7 +191901,7 @@ class Decorations {
191905
191901
  this.viewOverlay = undefined;
191906
191902
  this.normal = undefined;
191907
191903
  }
191908
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
191904
+ /** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
191909
191905
  dispose() {
191910
191906
  this[Symbol.dispose]();
191911
191907
  }
@@ -192206,7 +192202,7 @@ class GraphicBranch {
192206
192202
  [Symbol.dispose]() {
192207
192203
  this.clear();
192208
192204
  }
192209
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
192205
+ /** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
192210
192206
  dispose() {
192211
192207
  this[Symbol.dispose]();
192212
192208
  }
@@ -198234,7 +198230,7 @@ class Tile {
198234
198230
  this._state = 5 /* TileState.Abandoned */;
198235
198231
  this.disposeChildren();
198236
198232
  }
198237
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
198233
+ /** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
198238
198234
  dispose() {
198239
198235
  this[Symbol.dispose]();
198240
198236
  }
@@ -200913,7 +200909,7 @@ class TileTree {
200913
200909
  this._isDisposed = true;
200914
200910
  (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.rootTile);
200915
200911
  }
200916
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
200912
+ /** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
200917
200913
  dispose() {
200918
200914
  this[Symbol.dispose]();
200919
200915
  }
@@ -201252,7 +201248,7 @@ class TileTreeReference /* implements RenderMemory.Consumer */ {
201252
201248
  * @beta
201253
201249
  */
201254
201250
  get planarClipMaskPriority() { return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.PlanarClipMaskPriority.DesignModel; }
201255
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
201251
+ /** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
201256
201252
  addLogoCards(_cards, _vp) { }
201257
201253
  /** Add attribution logo cards for the tile tree source logo cards to the viewport's logo div.
201258
201254
  * @beta
@@ -201920,7 +201916,7 @@ __webpack_require__.r(__webpack_exports__);
201920
201916
  * passed to [[IModelApp.startup]].
201921
201917
  * @public
201922
201918
  * @extensions
201923
- * @deprecated in 5.11.0. Provide an [[ElevationProvider]] and [[GeoidProvider]] implementation via [[IModelAppOptions.geospatialProviders]].
201919
+ * @deprecated in 5.11.0 - will not be removed until after 2027-07-03. Provide an [[ElevationProvider]] and [[GeoidProvider]] implementation via [[IModelAppOptions.geospatialProviders]].
201924
201920
  * @note This class structurally satisfies both [[ElevationProvider]] and [[GeoidProvider]] but does not use an explicit
201925
201921
  * `implements` clause because api-extractor forbids `@public` classes from referencing `@beta` interfaces (ae-incompatible-release-tags).
201926
201922
  */
@@ -201996,14 +201992,14 @@ class BingElevationProvider {
201996
201992
  }
201997
201993
  /** Get the height (altitude) at a given iModel coordinate. The height is geodetic (WGS84 ellipsoid)
201998
201994
  * If geodetic is true (the default) then height is returned in the Ellipsoidal WGS84 datum. If geodetic is false then sea level height is returned using the Earth Gravitational Model 2008 (EGM2008 2.5').
201999
- * @deprecated in 5.11.0. Use [[ElevationProvider.getHeight]] via [[IModelApp.elevationProvider]] instead.
201995
+ * @deprecated in 5.11.0 - will not be removed until after 2027-07-03. Use [[ElevationProvider.getHeight]] via [[IModelApp.elevationProvider]] instead.
202000
201996
  * @public
202001
201997
  */
202002
201998
  async getHeightValue(point, iModel, geodetic = true) {
202003
201999
  return this.getHeight(iModel.spatialToCartographicFromEcef(point), geodetic);
202004
202000
  }
202005
202001
  /** Get the height (altitude) range for a given iModel project extents. The height values are geodetic (WGS84 ellipsoid).
202006
- * @deprecated in 5.11.0. Use standalone [[getHeightRange]] function instead.
202002
+ * @deprecated in 5.11.0 - will not be removed until after 2027-07-03. Use standalone [[getHeightRange]] function instead.
202007
202003
  * @public
202008
202004
  */
202009
202005
  async getHeightRange(iModel) {
@@ -202019,7 +202015,7 @@ class BingElevationProvider {
202019
202015
  return heights ? _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_3__.Range1d.createArray(heights) : _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_3__.Range1d.createNull();
202020
202016
  }
202021
202017
  /** Get the average height (altitude) for a given iModel project extents. The height values are geodetic (WGS84 ellipsoid).
202022
- * @deprecated in 5.11.0. Use standalone [[getHeightAverage]] function instead.
202018
+ * @deprecated in 5.11.0 - will not be removed until after 2027-07-03. Use standalone [[getHeightAverage]] function instead.
202023
202019
  * @public
202024
202020
  */
202025
202021
  async getHeightAverage(iModel) {
@@ -202261,7 +202257,7 @@ class CesiumTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_8__.Terra
202261
202257
  this._iTwinId = opts.iTwinId;
202262
202258
  this._tokenTimeOut = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeTimePoint.now().plus(computeCesiumTokenTimeoutInterval(expiresAt));
202263
202259
  }
202264
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
202260
+ /** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
202265
202261
  addLogoCards(cards) {
202266
202262
  if (cards.dataset.cesiumIonLogoCard)
202267
202263
  return;
@@ -202894,7 +202890,7 @@ class ImageryMapTileTree extends _internal__WEBPACK_IMPORTED_MODULE_4__.RealityT
202894
202890
  this._rootTile = new ImageryMapTile(params.rootTile, this, rootQuadId, this.getTileRectangle(rootQuadId));
202895
202891
  }
202896
202892
  get tilingScheme() { return this._imageryLoader.imageryProvider.tilingScheme; }
202897
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
202893
+ /** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
202898
202894
  addLogoCards(cards, vp) {
202899
202895
  // eslint-disable-next-line @typescript-eslint/no-deprecated
202900
202896
  this._imageryLoader.addLogoCards(cards, vp);
@@ -202948,7 +202944,7 @@ class ImageryTileLoader extends _internal__WEBPACK_IMPORTED_MODULE_4__.RealityTi
202948
202944
  get maxDepth() { return this._imageryProvider.maximumZoomLevel; }
202949
202945
  get minDepth() { return this._imageryProvider.minimumZoomLevel; }
202950
202946
  get priority() { return _internal__WEBPACK_IMPORTED_MODULE_4__.TileLoadPriority.Map; }
202951
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
202947
+ /** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
202952
202948
  addLogoCards(cards, vp) {
202953
202949
  // eslint-disable-next-line @typescript-eslint/no-deprecated
202954
202950
  this._imageryProvider.addLogoCards(cards, vp);
@@ -203708,7 +203704,7 @@ class ArcGISMapLayerFormat extends ImageryMapLayerFormat {
203708
203704
  return new _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGISMapLayerImageryProvider(settings);
203709
203705
  }
203710
203706
  }
203711
- /** @deprecated in 5.11.0. Bing Maps imagery is deprecated. For basemap imagery providers, see `@itwin/map-layers-formats`. */
203707
+ /** @deprecated in 5.11.0 - will not be removed until after 2027-07-03. Bing Maps imagery is deprecated. For basemap imagery providers, see `@itwin/map-layers-formats`. */
203712
203708
  class BingMapsMapLayerFormat extends ImageryMapLayerFormat {
203713
203709
  static formatId = "BingMaps";
203714
203710
  static createImageryProvider(settings) {
@@ -203876,7 +203872,7 @@ class MapLayerImageryProvider {
203876
203872
  });
203877
203873
  }
203878
203874
  get tilingScheme() { return this.useGeographicTilingScheme ? this._geographicTilingScheme : this._mercatorTilingScheme; }
203879
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
203875
+ /** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
203880
203876
  addLogoCards(_cards, _viewport) { }
203881
203877
  /**
203882
203878
  * Add attribution logo cards for the data supplied by this provider to the [[Viewport]]'s logo div.
@@ -206301,7 +206297,7 @@ class MapTileTreeReference extends _internal__WEBPACK_IMPORTED_MODULE_7__.TileTr
206301
206297
  }
206302
206298
  return info;
206303
206299
  }
206304
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
206300
+ /** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
206305
206301
  addLogoCards(cards, vp) {
206306
206302
  const tree = this.treeOwner.tileTree;
206307
206303
  if (tree) {
@@ -206941,7 +206937,7 @@ __webpack_require__.r(__webpack_exports__);
206941
206937
  * @public
206942
206938
  */
206943
206939
  class TerrainMeshProvider {
206944
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
206940
+ /** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
206945
206941
  addLogoCards(_cards, _vp) { }
206946
206942
  /** Add attribution logo cards for the terrain data supplied by this provider to the [[Viewport]]'s logo div.
206947
206943
  * For example, a provider that produces meshes from [Bing Maps](https://docs.microsoft.com/en-us/bingmaps/rest-services/elevations/) would be required to
@@ -207110,8 +207106,10 @@ class AccuDrawShortcutInputCollector extends _Tool__WEBPACK_IMPORTED_MODULE_2__.
207110
207106
  _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.accuDraw.requestInputFocus(); // re-grab focus when auto-focus tool setting set...
207111
207107
  }
207112
207108
  async onDataButtonDown(ev) {
207113
- if (this._impl.doDataButtonDown(ev))
207109
+ if (this._impl.doDataButtonDown(ev)) {
207110
+ _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.accuDraw.processHints(); // Process pending hints pre-exit so they don't override savedState "ignoreFlags"...
207114
207111
  await this.exitTool();
207112
+ }
207115
207113
  return _Tool__WEBPACK_IMPORTED_MODULE_2__.EventHandled.No;
207116
207114
  }
207117
207115
  async onUnsuspend() {
@@ -207149,8 +207147,10 @@ class AccuDrawShortcutViewTool extends _ViewTool__WEBPACK_IMPORTED_MODULE_3__.Vi
207149
207147
  _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.accuDraw.requestInputFocus(); // re-grab focus when auto-focus tool setting set...
207150
207148
  }
207151
207149
  async onDataButtonDown(ev) {
207152
- if (this._impl.doDataButtonDown(ev))
207150
+ if (this._impl.doDataButtonDown(ev)) {
207151
+ _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.accuDraw.processHints(); // Process pending hints pre-exit so they don't override savedState "ignoreFlags"...
207153
207152
  await this.exitTool();
207153
+ }
207154
207154
  return _Tool__WEBPACK_IMPORTED_MODULE_2__.EventHandled.No;
207155
207155
  }
207156
207156
  async onUnsuspend() {
@@ -207197,6 +207197,7 @@ __webpack_require__.r(__webpack_exports__);
207197
207197
  /* harmony export */ AccuDrawRotateCycleTool: () => (/* binding */ AccuDrawRotateCycleTool),
207198
207198
  /* harmony export */ AccuDrawRotateElementTool: () => (/* binding */ AccuDrawRotateElementTool),
207199
207199
  /* harmony export */ AccuDrawRotateFrontTool: () => (/* binding */ AccuDrawRotateFrontTool),
207200
+ /* harmony export */ AccuDrawRotatePointsTool: () => (/* binding */ AccuDrawRotatePointsTool),
207200
207201
  /* harmony export */ AccuDrawRotateSideTool: () => (/* binding */ AccuDrawRotateSideTool),
207201
207202
  /* harmony export */ AccuDrawRotateTopTool: () => (/* binding */ AccuDrawRotateTopTool),
207202
207203
  /* harmony export */ AccuDrawRotateViewTool: () => (/* binding */ AccuDrawRotateViewTool),
@@ -207222,6 +207223,7 @@ __webpack_require__.r(__webpack_exports__);
207222
207223
  /* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
207223
207224
  /* harmony import */ var _Tool__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Tool */ "../../core/frontend/lib/esm/tools/Tool.js");
207224
207225
  /* harmony import */ var _AccuDrawShortcutTool__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./AccuDrawShortcutTool */ "../../core/frontend/lib/esm/tools/AccuDrawShortcutTool.js");
207226
+ /* harmony import */ var _common_render_GraphicType__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../common/render/GraphicType */ "../../core/frontend/lib/esm/common/render/GraphicType.js");
207225
207227
  /*---------------------------------------------------------------------------------------------
207226
207228
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
207227
207229
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -207237,6 +207239,7 @@ __webpack_require__.r(__webpack_exports__);
207237
207239
 
207238
207240
 
207239
207241
 
207242
+
207240
207243
  // cSpell:ignore dont unlockedz
207241
207244
  function normalizedDifference(point1, point2, out) {
207242
207245
  return point2.vectorTo(point1).normalizeWithLength(out).mag;
@@ -207299,15 +207302,13 @@ class AccuDrawShortcuts {
207299
207302
  }
207300
207303
  static updateACSByPoints(acs, vp, points, isDynamics) {
207301
207304
  const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw;
207302
- if (!accudraw.isEnabled)
207303
- return false;
207304
207305
  let accept = false;
207305
207306
  const vec = [new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d(), new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d(), new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d()];
207306
207307
  acs.setOrigin(points[0]);
207307
207308
  switch (points.length) {
207308
207309
  case 1:
207309
207310
  acs.setRotation(vp.rotation);
207310
- if (!isDynamics) {
207311
+ if (!isDynamics && accudraw.isEnabled) {
207311
207312
  accudraw.published.origin.setFrom(points[0]);
207312
207313
  accudraw.published.flags = _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetOrigin;
207313
207314
  accudraw.flags.fixedOrg = true;
@@ -207319,7 +207320,7 @@ class AccuDrawShortcuts {
207319
207320
  break;
207320
207321
  }
207321
207322
  if (vp.view.is3d()) {
207322
- if (normalizedCrossProduct(accudraw.axes.y, vec[0], vec[1]) < 0.00001) {
207323
+ if (accudraw.isEnabled && normalizedCrossProduct(accudraw.axes.y, vec[0], vec[1]) < 0.00001) {
207323
207324
  vec[2].set(0.0, 0.0, 1.0);
207324
207325
  if (normalizedCrossProduct(vec[2], vec[0], vec[1]) < 0.00001) {
207325
207326
  vec[2].set(0.0, 1.0, 0.0);
@@ -207328,7 +207329,7 @@ class AccuDrawShortcuts {
207328
207329
  }
207329
207330
  normalizedCrossProduct(vec[0], vec[1], vec[2]);
207330
207331
  acs.setRotation(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Matrix3d.createRows(vec[0], vec[1], vec[2]));
207331
- if (!isDynamics) {
207332
+ if (!isDynamics && accudraw.isEnabled) {
207332
207333
  accudraw.published.origin.setFrom(points[0]);
207333
207334
  accudraw.published.flags = _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetOrigin | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetNormal;
207334
207335
  accudraw.published.vector.setFrom(vec[0]);
@@ -208049,7 +208050,11 @@ class AccuDrawShortcuts {
208049
208050
  accudraw.unlockAllFields();
208050
208051
  }
208051
208052
  }
208052
- /** @beta */
208053
+ /**
208054
+ * Immediate tool to toggle AccuDraw's availability for the current session.
208055
+ * @note AccuDraw is enabled by default
208056
+ * @beta
208057
+ */
208053
208058
  class AccuDrawSessionToggleTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208054
208059
  static toolId = "AccuDraw.SessionToggle";
208055
208060
  async run() {
@@ -208057,7 +208062,11 @@ class AccuDrawSessionToggleTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool
208057
208062
  return true;
208058
208063
  }
208059
208064
  }
208060
- /** @beta */
208065
+ /**
208066
+ * Immediate tool to toggle AccuDraw on/off temporarily for the current interactive tool.
208067
+ * @note Typically used to disable AccuDraw for a single data button.
208068
+ * @beta
208069
+ */
208061
208070
  class AccuDrawSuspendToggleTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208062
208071
  static toolId = "AccuDraw.SuspendToggle";
208063
208072
  async run() {
@@ -208065,7 +208074,11 @@ class AccuDrawSuspendToggleTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool
208065
208074
  return true;
208066
208075
  }
208067
208076
  }
208068
- /** @beta */
208077
+ /**
208078
+ * Immediate tool to enable AccuDraw and position it at the current AccuSnap or Tentative snap location.
208079
+ * @note When not snapped, AccuDraw is activated at the last data button location when inactive, or moved to the current cursor location when active.
208080
+ * @beta
208081
+ */
208069
208082
  class AccuDrawSetOriginTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208070
208083
  static toolId = "AccuDraw.SetOrigin";
208071
208084
  async run() {
@@ -208073,7 +208086,11 @@ class AccuDrawSetOriginTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208073
208086
  return true;
208074
208087
  }
208075
208088
  }
208076
- /** @beta */
208089
+ /**
208090
+ * Immediate tool to lock the closer of the x or y axis based on the current cursor location.
208091
+ * @note When an axis is locked, points are projected onto the axis line.
208092
+ * @beta
208093
+ */
208077
208094
  class AccuDrawSetLockSmartTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208078
208095
  static toolId = "AccuDraw.LockSmart";
208079
208096
  async run() {
@@ -208081,7 +208098,10 @@ class AccuDrawSetLockSmartTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208081
208098
  return true;
208082
208099
  }
208083
208100
  }
208084
- /** @beta */
208101
+ /**
208102
+ * Immediate tool to toggle the locked state of an indexed axis of the AccuDraw compass.
208103
+ * @beta
208104
+ */
208085
208105
  class AccuDrawSetLockIndexTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208086
208106
  static toolId = "AccuDraw.LockIndex";
208087
208107
  async run() {
@@ -208089,7 +208109,10 @@ class AccuDrawSetLockIndexTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208089
208109
  return true;
208090
208110
  }
208091
208111
  }
208092
- /** @beta */
208112
+ /**
208113
+ * Immediate tool to toggle the locked state of the X text field.
208114
+ * @beta
208115
+ */
208093
208116
  class AccuDrawSetLockXTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208094
208117
  static toolId = "AccuDraw.LockX";
208095
208118
  async run() {
@@ -208097,7 +208120,10 @@ class AccuDrawSetLockXTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208097
208120
  return true;
208098
208121
  }
208099
208122
  }
208100
- /** @beta */
208123
+ /**
208124
+ * Immediate tool to toggle the locked state of the Y text field.
208125
+ * @beta
208126
+ */
208101
208127
  class AccuDrawSetLockYTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208102
208128
  static toolId = "AccuDraw.LockY";
208103
208129
  async run() {
@@ -208105,7 +208131,10 @@ class AccuDrawSetLockYTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208105
208131
  return true;
208106
208132
  }
208107
208133
  }
208108
- /** @beta */
208134
+ /**
208135
+ * Immediate tool to toggle the locked state of the Z text field.
208136
+ * @beta
208137
+ */
208109
208138
  class AccuDrawSetLockZTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208110
208139
  static toolId = "AccuDraw.LockZ";
208111
208140
  async run() {
@@ -208113,7 +208142,10 @@ class AccuDrawSetLockZTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208113
208142
  return true;
208114
208143
  }
208115
208144
  }
208116
- /** @beta */
208145
+ /**
208146
+ * Immediate tool to toggle the locked state of the Distance text field.
208147
+ * @beta
208148
+ */
208117
208149
  class AccuDrawSetLockDistanceTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208118
208150
  static toolId = "AccuDraw.LockDistance";
208119
208151
  async run() {
@@ -208121,7 +208153,10 @@ class AccuDrawSetLockDistanceTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Too
208121
208153
  return true;
208122
208154
  }
208123
208155
  }
208124
- /** @beta */
208156
+ /**
208157
+ * Immediate tool to toggle the locked state of the Angle text field.
208158
+ * @beta
208159
+ */
208125
208160
  class AccuDrawSetLockAngleTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208126
208161
  static toolId = "AccuDraw.LockAngle";
208127
208162
  async run() {
@@ -208129,7 +208164,10 @@ class AccuDrawSetLockAngleTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208129
208164
  return true;
208130
208165
  }
208131
208166
  }
208132
- /** @beta */
208167
+ /**
208168
+ * Immediate tool to toggle between polar and rectangular compass modes.
208169
+ * @beta
208170
+ */
208133
208171
  class AccuDrawChangeModeTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208134
208172
  static toolId = "AccuDraw.ChangeMode";
208135
208173
  async run() {
@@ -208137,7 +208175,10 @@ class AccuDrawChangeModeTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208137
208175
  return true;
208138
208176
  }
208139
208177
  }
208140
- /** @beta */
208178
+ /**
208179
+ * Immediate tool to cycle between XY, XZ, and YZ planes for the current AccuDraw rotation.
208180
+ * @beta
208181
+ */
208141
208182
  class AccuDrawRotateCycleTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208142
208183
  static toolId = "AccuDraw.RotateCycle";
208143
208184
  async run() {
@@ -208145,7 +208186,11 @@ class AccuDrawRotateCycleTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208145
208186
  return true;
208146
208187
  }
208147
208188
  }
208148
- /** @beta */
208189
+ /**
208190
+ * Immediate tool to set the AccuDraw rotation to a standard Top view.
208191
+ * @note When IModelApp.toolAdmin.acsContextLock is true, rotation is set relative to the view's ACS.
208192
+ * @beta
208193
+ */
208149
208194
  class AccuDrawRotateTopTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208150
208195
  static toolId = "AccuDraw.RotateTop";
208151
208196
  async run() {
@@ -208153,7 +208198,11 @@ class AccuDrawRotateTopTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208153
208198
  return true;
208154
208199
  }
208155
208200
  }
208156
- /** @beta */
208201
+ /**
208202
+ * Immediate tool to set the AccuDraw rotation to a standard Front view.
208203
+ * @note When IModelApp.toolAdmin.acsContextLock is true, rotation is set relative to the view's ACS.
208204
+ * @beta
208205
+ */
208157
208206
  class AccuDrawRotateFrontTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208158
208207
  static toolId = "AccuDraw.RotateFront";
208159
208208
  async run() {
@@ -208161,7 +208210,11 @@ class AccuDrawRotateFrontTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208161
208210
  return true;
208162
208211
  }
208163
208212
  }
208164
- /** @beta */
208213
+ /**
208214
+ * Immediate tool to set the AccuDraw rotation to a standard Side view.
208215
+ * @note When IModelApp.toolAdmin.acsContextLock is true, rotation is set relative to the view's ACS.
208216
+ * @beta
208217
+ */
208165
208218
  class AccuDrawRotateSideTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208166
208219
  static toolId = "AccuDraw.RotateSide";
208167
208220
  async run() {
@@ -208169,7 +208222,10 @@ class AccuDrawRotateSideTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208169
208222
  return true;
208170
208223
  }
208171
208224
  }
208172
- /** @beta */
208225
+ /**
208226
+ * Immediate tool to set the AccuDraw rotation to match the rotation of the current view.
208227
+ * @beta
208228
+ */
208173
208229
  class AccuDrawRotateViewTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208174
208230
  static toolId = "AccuDraw.RotateView";
208175
208231
  async run() {
@@ -208177,7 +208233,10 @@ class AccuDrawRotateViewTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208177
208233
  return true;
208178
208234
  }
208179
208235
  }
208180
- /** @beta */
208236
+ /**
208237
+ * Immediate tool to set the AccuDraw rotation to be a 90 degree rotation about the current x axis.
208238
+ * @beta
208239
+ */
208181
208240
  class AccuDrawRotate90AboutXTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208182
208241
  static toolId = "AccuDraw.Rotate90AboutX";
208183
208242
  async run() {
@@ -208185,7 +208244,10 @@ class AccuDrawRotate90AboutXTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool
208185
208244
  return true;
208186
208245
  }
208187
208246
  }
208188
- /** @beta */
208247
+ /**
208248
+ * Immediate tool to set the AccuDraw rotation to be a 90 degree rotation about the current y axis.
208249
+ * @beta
208250
+ */
208189
208251
  class AccuDrawRotate90AboutYTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208190
208252
  static toolId = "AccuDraw.Rotate90AboutY";
208191
208253
  async run() {
@@ -208193,7 +208255,10 @@ class AccuDrawRotate90AboutYTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool
208193
208255
  return true;
208194
208256
  }
208195
208257
  }
208196
- /** @beta */
208258
+ /**
208259
+ * Immediate tool to set the AccuDraw rotation to be a 90 degree rotation about the current z axis.
208260
+ * @beta
208261
+ */
208197
208262
  class AccuDrawRotate90AboutZTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
208198
208263
  static toolId = "AccuDraw.Rotate90AboutZ";
208199
208264
  async run() {
@@ -208239,7 +208304,11 @@ class RotateAxesImplementation extends _AccuDrawShortcutTool__WEBPACK_IMPORTED_M
208239
208304
  return true;
208240
208305
  }
208241
208306
  }
208242
- /** @beta */
208307
+ /**
208308
+ * Interactive tool to set the AccuDraw rotation by rotating about the current z axis to a point on the x axis.
208309
+ * @note When AccuSnap or Tentative snap is active, the snap point is immediately used to define the x axis and not further input is required.
208310
+ * @beta
208311
+ */
208243
208312
  class AccuDrawRotateAxesTool extends _AccuDrawShortcutTool__WEBPACK_IMPORTED_MODULE_7__.AccuDrawShortcutTool {
208244
208313
  aboutCurrentZ;
208245
208314
  static toolId = "AccuDraw.RotateAxes";
@@ -208304,7 +208373,10 @@ class RotateElementImplementation extends _AccuDrawShortcutTool__WEBPACK_IMPORTE
208304
208373
  return true;
208305
208374
  }
208306
208375
  }
208307
- /** @beta */
208376
+ /**
208377
+ * Interactive tool to set the AccuDraw rotation using the snapped to geometry under the cursor.
208378
+ * @beta
208379
+ */
208308
208380
  class AccuDrawRotateElementTool extends _AccuDrawShortcutTool__WEBPACK_IMPORTED_MODULE_7__.AccuDrawShortcutTool {
208309
208381
  static toolId = "AccuDraw.RotateElement";
208310
208382
  /** @internal */
@@ -208313,6 +208385,124 @@ class AccuDrawRotateElementTool extends _AccuDrawShortcutTool__WEBPACK_IMPORTED_
208313
208385
  }
208314
208386
  }
208315
208387
  /** @internal */
208388
+ class RotatePointsImplementation extends _AccuDrawShortcutTool__WEBPACK_IMPORTED_MODULE_7__.AccuDrawShortcutImplementation {
208389
+ _points = [];
208390
+ _origin = _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.tentativePoint.isActive ? _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.tentativePoint.getPoint().clone() : undefined;
208391
+ _moveOrigin = !_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw.isActive || _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.tentativePoint.isActive; // Preserve current origin if AccuDraw already active and not tentative snap...
208392
+ _lastPoint;
208393
+ onProvideToolAssistance() {
208394
+ switch (this._points.length) {
208395
+ case 0:
208396
+ _Tool__WEBPACK_IMPORTED_MODULE_6__.CoreTools.outputPromptByKey("AccuDraw.RotatePoints.Prompts.FirstPoint");
208397
+ break;
208398
+ case 1:
208399
+ _Tool__WEBPACK_IMPORTED_MODULE_6__.CoreTools.outputPromptByKey("AccuDraw.RotatePoints.Prompts.SecondPoint");
208400
+ break;
208401
+ default:
208402
+ _Tool__WEBPACK_IMPORTED_MODULE_6__.CoreTools.outputPromptByKey("AccuDraw.RotatePoints.Prompts.NextPoint");
208403
+ break;
208404
+ }
208405
+ }
208406
+ onInitialize() {
208407
+ if (undefined === this._origin)
208408
+ return;
208409
+ this._points.push(this._origin);
208410
+ _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.tentativePoint.clear(true); // Necessary when installed as an InputCollector...
208411
+ _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw.activate();
208412
+ _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw.setContext(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetOrigin | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.FixedOrigin, this._origin);
208413
+ _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw.refreshDecorationsAndDynamics();
208414
+ }
208415
+ onComplete() {
208416
+ let ignoreFlags = _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetRMatrix | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.Disable; // If AccuDraw wasn't active when the shortcut started, let it remain active for suspended tool when shortcut completes...
208417
+ if (this._moveOrigin)
208418
+ ignoreFlags |= _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetOrigin;
208419
+ return ignoreFlags;
208420
+ }
208421
+ doManipulation(ev, isMotion) {
208422
+ if (!ev || !ev.viewport)
208423
+ return false;
208424
+ _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.viewManager.invalidateDecorationsAllViews();
208425
+ if (isMotion) {
208426
+ this._lastPoint = ev.point.clone();
208427
+ return false;
208428
+ }
208429
+ const accuDraw = _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw;
208430
+ accuDraw.activate();
208431
+ switch (this._points.length) {
208432
+ case 0: {
208433
+ this._points.push(ev.point.clone());
208434
+ accuDraw.setContext(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetOrigin | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.FixedOrigin, this._points[0]);
208435
+ break;
208436
+ }
208437
+ case 1: {
208438
+ const xVec = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d.createNormalizedStartEnd(this._points[0], ev.point);
208439
+ if (undefined === xVec)
208440
+ return false;
208441
+ if (!ev.viewport.view.is3d() || !ev.viewport.view.allow3dManipulations()) {
208442
+ accuDraw.setContext(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetOrigin | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetXAxis, this._points[0], xVec);
208443
+ return true; // Complete
208444
+ }
208445
+ this._points.push(ev.point.clone());
208446
+ accuDraw.setContext(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetOrigin | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.FixedOrigin | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetNormal, this._points[0], xVec);
208447
+ break;
208448
+ }
208449
+ case 2: {
208450
+ const xVec = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d.createNormalizedStartEnd(this._points[0], this._points[1]);
208451
+ if (undefined === xVec)
208452
+ return false;
208453
+ const yVec = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d.createNormalizedStartEnd(this._points[0], ev.point);
208454
+ if (undefined === yVec)
208455
+ return false;
208456
+ const matrix = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Matrix3d.createRigidFromColumns(xVec, yVec, _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.AxisOrder.XYZ);
208457
+ if (undefined === matrix)
208458
+ return false;
208459
+ const invMatrix = matrix.inverse();
208460
+ if (undefined === invMatrix)
208461
+ return false;
208462
+ accuDraw.setContext(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetOrigin | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetRMatrix, this._points[0], invMatrix);
208463
+ return true; // Complete
208464
+ }
208465
+ }
208466
+ this.onProvideToolAssistance();
208467
+ return false;
208468
+ }
208469
+ doDecorate(context) {
208470
+ if (0 === this._points.length)
208471
+ return;
208472
+ const currentPoint = this._lastPoint;
208473
+ if (undefined === currentPoint)
208474
+ return;
208475
+ if (2 === this._points.length) {
208476
+ const xVec = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d.createNormalizedStartEnd(this._points[0], this._points[1]);
208477
+ if (undefined === xVec)
208478
+ return;
208479
+ const plane = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Plane3dByOriginAndUnitNormal.create(this._points[0], xVec);
208480
+ if (undefined === plane)
208481
+ return;
208482
+ plane.projectPointToPlane(currentPoint, currentPoint);
208483
+ }
208484
+ const tmpPoints = this._points.slice(0, 1);
208485
+ tmpPoints.push(currentPoint);
208486
+ const vp = context.viewport;
208487
+ const color = vp.getContrastToBackgroundColor();
208488
+ const builder = context.createGraphicBuilder(_common_render_GraphicType__WEBPACK_IMPORTED_MODULE_8__.GraphicType.WorldOverlay);
208489
+ builder.setSymbology(color, color, 2);
208490
+ builder.addLineString(tmpPoints);
208491
+ context.addDecorationFromBuilder(builder);
208492
+ }
208493
+ }
208494
+ /**
208495
+ * Interactive tool to set the AccuDraw rotation by 3 points: x axis origin, x axis direction, and y axis direction.
208496
+ * @beta
208497
+ */
208498
+ class AccuDrawRotatePointsTool extends _AccuDrawShortcutTool__WEBPACK_IMPORTED_MODULE_7__.AccuDrawShortcutTool {
208499
+ static toolId = "AccuDraw.RotatePoints";
208500
+ /** @internal */
208501
+ createImplementation() {
208502
+ return new RotatePointsImplementation();
208503
+ }
208504
+ }
208505
+ /** @internal */
208316
208506
  class DefineACSByElementImplementation extends _AccuDrawShortcutTool__WEBPACK_IMPORTED_MODULE_7__.AccuDrawShortcutImplementation {
208317
208507
  _origin = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Point3d.create();
208318
208508
  _rMatrix = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Matrix3d.createIdentity();
@@ -208355,7 +208545,10 @@ class DefineACSByElementImplementation extends _AccuDrawShortcutTool__WEBPACK_IM
208355
208545
  this._acs.display(context, _AuxCoordSys__WEBPACK_IMPORTED_MODULE_4__.ACSDisplayOptions.Active | _AuxCoordSys__WEBPACK_IMPORTED_MODULE_4__.ACSDisplayOptions.Dynamics);
208356
208546
  }
208357
208547
  }
208358
- /** @beta */
208548
+ /**
208549
+ * Interactive tool to set the view's ACS rotation by 3 points: x axis origin, x axis direction, and y axis direction/
208550
+ * @beta
208551
+ */
208359
208552
  class DefineACSByElementTool extends _AccuDrawShortcutTool__WEBPACK_IMPORTED_MODULE_7__.AccuDrawShortcutTool {
208360
208553
  static toolId = "AccuDraw.DefineACSByElement";
208361
208554
  /** @internal */
@@ -208368,6 +208561,7 @@ class DefineACSByPointsImplementation extends _AccuDrawShortcutTool__WEBPACK_IMP
208368
208561
  _points = [];
208369
208562
  _acs;
208370
208563
  _origin = _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.tentativePoint.isActive ? _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.tentativePoint.getPoint().clone() : undefined;
208564
+ _lastPoint;
208371
208565
  onProvideToolAssistance() {
208372
208566
  switch (this._points.length) {
208373
208567
  case 0:
@@ -208384,16 +208578,20 @@ class DefineACSByPointsImplementation extends _AccuDrawShortcutTool__WEBPACK_IMP
208384
208578
  onInitialize() {
208385
208579
  if (undefined === this._origin)
208386
208580
  return;
208387
- _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw.setContext(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetOrigin | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.FixedOrigin, this._origin);
208388
208581
  this._points.push(this._origin);
208389
208582
  _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.tentativePoint.clear(true); // Necessary when installed as an InputCollector...
208583
+ _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw.activate();
208584
+ _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw.setContext(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetOrigin | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.FixedOrigin, this._origin);
208585
+ _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw.refreshDecorationsAndDynamics();
208390
208586
  }
208391
208587
  doManipulation(ev, isMotion) {
208392
208588
  if (!ev || !ev.viewport)
208393
208589
  return false;
208394
208590
  _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.viewManager.invalidateDecorationsAllViews();
208395
- if (isMotion)
208591
+ if (isMotion) {
208592
+ this._lastPoint = ev.point.clone();
208396
208593
  return false;
208594
+ }
208397
208595
  _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw.activate();
208398
208596
  this._points.push(ev.point.clone());
208399
208597
  const vp = ev.viewport;
@@ -208408,11 +208606,11 @@ class DefineACSByPointsImplementation extends _AccuDrawShortcutTool__WEBPACK_IMP
208408
208606
  return false;
208409
208607
  }
208410
208608
  doDecorate(context) {
208609
+ if (undefined === this._lastPoint)
208610
+ return;
208411
208611
  const tmpPoints = [];
208412
208612
  this._points.forEach((pt) => tmpPoints.push(pt));
208413
- const ev = new _Tool__WEBPACK_IMPORTED_MODULE_6__.BeButtonEvent();
208414
- _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.toolAdmin.fillEventFromCursorLocation(ev);
208415
- tmpPoints.push(ev.point);
208613
+ tmpPoints.push(this._lastPoint);
208416
208614
  const vp = context.viewport;
208417
208615
  if (!this._acs)
208418
208616
  this._acs = vp.view.auxiliaryCoordinateSystem.clone();
@@ -208420,7 +208618,10 @@ class DefineACSByPointsImplementation extends _AccuDrawShortcutTool__WEBPACK_IMP
208420
208618
  this._acs.display(context, _AuxCoordSys__WEBPACK_IMPORTED_MODULE_4__.ACSDisplayOptions.Active | _AuxCoordSys__WEBPACK_IMPORTED_MODULE_4__.ACSDisplayOptions.Dynamics);
208421
208619
  }
208422
208620
  }
208423
- /** @beta */
208621
+ /**
208622
+ * Interactive tool to set the view's ACS rotation by 3 points: x axis origin, x axis direction, and y axis direction.
208623
+ * @beta
208624
+ */
208424
208625
  class DefineACSByPointsTool extends _AccuDrawShortcutTool__WEBPACK_IMPORTED_MODULE_7__.AccuDrawShortcutTool {
208425
208626
  static toolId = "AccuDraw.DefineACSByPoints";
208426
208627
  /** @internal */
@@ -209771,8 +209972,8 @@ class ViewClipByPlaneTool extends ViewClipTool {
209771
209972
  class ViewClipByShapeTool extends ViewClipTool {
209772
209973
  static toolId = "ViewClip.ByShape";
209773
209974
  static iconSpec = "icon-section-shape";
209774
- /** @internal */
209775
209975
  _orientationValue = { value: _AccuDraw__WEBPACK_IMPORTED_MODULE_3__.ContextRotationId.Top };
209976
+ _lastMotion;
209776
209977
  /** @internal */
209777
209978
  _points = [];
209778
209979
  /** @internal */
@@ -209906,9 +210107,8 @@ class ViewClipByShapeTool extends ViewClipTool {
209906
210107
  decorate(context) {
209907
210108
  if (context.viewport !== this.targetView)
209908
210109
  return;
209909
- const ev = new _Tool__WEBPACK_IMPORTED_MODULE_9__.BeButtonEvent();
209910
- _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin.fillEventFromCursorLocation(ev);
209911
- if (undefined === ev.viewport)
210110
+ const ev = this._lastMotion;
210111
+ if (undefined === ev?.viewport)
209912
210112
  return;
209913
210113
  const points = this.getClipPoints(ev);
209914
210114
  if (points.length < 2)
@@ -209929,6 +210129,7 @@ class ViewClipByShapeTool extends ViewClipTool {
209929
210129
  }
209930
210130
  /** @internal */
209931
210131
  async onMouseMotion(ev) {
210132
+ this._lastMotion = ev;
209932
210133
  if (this._points.length > 0 && undefined !== ev.viewport)
209933
210134
  ev.viewport.invalidateDecorations();
209934
210135
  }
@@ -209978,6 +210179,7 @@ class ViewClipByShapeTool extends ViewClipTool {
209978
210179
  class ViewClipByRangeTool extends ViewClipTool {
209979
210180
  static toolId = "ViewClip.ByRange";
209980
210181
  static iconSpec = "icon-section-range";
210182
+ _lastMotion;
209981
210183
  /** @internal */
209982
210184
  _corner;
209983
210185
  /** @internal */
@@ -210020,9 +210222,8 @@ class ViewClipByRangeTool extends ViewClipTool {
210020
210222
  decorate(context) {
210021
210223
  if (context.viewport !== this.targetView || undefined === this._corner)
210022
210224
  return;
210023
- const ev = new _Tool__WEBPACK_IMPORTED_MODULE_9__.BeButtonEvent();
210024
- _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin.fillEventFromCursorLocation(ev);
210025
- if (undefined === ev.viewport)
210225
+ const ev = this._lastMotion;
210226
+ if (undefined === ev?.viewport)
210026
210227
  return;
210027
210228
  const range = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Range3d.create();
210028
210229
  const transform = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Transform.createIdentity();
@@ -210041,6 +210242,7 @@ class ViewClipByRangeTool extends ViewClipTool {
210041
210242
  }
210042
210243
  /** @internal */
210043
210244
  async onMouseMotion(ev) {
210245
+ this._lastMotion = ev;
210044
210246
  if (undefined !== this._corner && undefined !== ev.viewport)
210045
210247
  ev.viewport.invalidateDecorations();
210046
210248
  }
@@ -222536,7 +222738,7 @@ class Geometry {
222536
222738
  static largeCoordinateResult = 1.0e13;
222537
222739
  /**
222538
222740
  * Numeric value that may considered infinite for metric coordinates.
222539
- * @deprecated in 4.9.0 - will not be removed until after 2026-06-13. Use [[largeCoordinateResult]].
222741
+ * @deprecated in 4.9.0 - might be removed in next major version. Use [[largeCoordinateResult]].
222540
222742
  * * This coordinate should be used only as a placeholder indicating "at infinity" -- computing actual
222541
222743
  * points at this coordinate invites numerical problems.
222542
222744
  */
@@ -222547,7 +222749,7 @@ class Geometry {
222547
222749
  }
222548
222750
  /**
222549
222751
  * Test if the absolute value of x is at least [[largeCoordinateResult]].
222550
- * @deprecated in 4.9.0 - will not be removed until after 2026-06-13. Use [[isLargeCoordinateResult]].
222752
+ * @deprecated in 4.9.0 - might be removed in next major version. Use [[isLargeCoordinateResult]].
222551
222753
  */
222552
222754
  static isHugeCoordinate(x) {
222553
222755
  return Geometry.isLargeCoordinateResult(x);
@@ -223615,7 +223817,7 @@ class Geometry {
223615
223817
  /**
223616
223818
  * Clone an array whose members have type `T`, which implements the clone method.
223617
223819
  * * If the clone method returns `undefined`, then `undefined` is forced into the cloned array.
223618
- * @deprecated in 4.4.0 - will not be removed until after 2026-06-13. Use cloneArray.
223820
+ * @deprecated in 4.4.0 - might be removed in next major version. Use cloneArray.
223619
223821
  */
223620
223822
  // eslint-disable-next-line @typescript-eslint/no-deprecated
223621
223823
  static cloneMembers(array) {
@@ -224057,7 +224259,7 @@ class BSpline1dNd {
224057
224259
  * Test if the leading and trailing polygon coordinates are replicated in the manner of a "closed" bspline polygon
224058
224260
  * which has been expanded to act as a normal bspline.
224059
224261
  * @returns true if `degree` leading and trailing polygon blocks match.
224060
- * @deprecated in 4.2.1 - will not be removed until after 2026-06-13. Use `testClosablePolygon` instead.
224262
+ * @deprecated in 4.2.1 - might be removed in next major version. Use `testClosablePolygon` instead.
224061
224263
  */
224062
224264
  testCloseablePolygon(mode) {
224063
224265
  return this.testClosablePolygon(mode);
@@ -226362,7 +226564,7 @@ var UVSelect;
226362
226564
  UVSelect[UVSelect["uDirection"] = 0] = "uDirection";
226363
226565
  /**
226364
226566
  * index of v direction
226365
- * @deprecated in 4.3.0 - will not be removed until after 2026-06-13. Use vDirection instead.
226567
+ * @deprecated in 4.3.0 - might be removed in next major version. Use vDirection instead.
226366
226568
  */
226367
226569
  UVSelect[UVSelect["VDirection"] = 1] = "VDirection";
226368
226570
  /** index of v direction */
@@ -226589,7 +226791,7 @@ class BSpline2dNd extends _curve_GeometryQuery__WEBPACK_IMPORTED_MODULE_0__.Geom
226589
226791
  }
226590
226792
  /**
226591
226793
  * sum poles by the weights in the basisBuffer, using poles for given span
226592
- * @deprecated in 4.3.0 - will not be removed until after 2026-06-13. Use sumPoleBufferDerivativesForSpan instead.
226794
+ * @deprecated in 4.3.0 - might be removed in next major version. Use sumPoleBufferDerivativesForSpan instead.
226593
226795
  */
226594
226796
  sumpoleBufferDerivativesForSpan(spanIndexU, spanIndexV) {
226595
226797
  return this.sumPoleBufferDerivativesForSpan(spanIndexU, spanIndexV);
@@ -236405,7 +236607,7 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
236405
236607
  }
236406
236608
  /**
236407
236609
  * Gauss point quadrature count for evaluating curve length. (The number of intervals is adjusted to the arc sweep).
236408
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use correct spelling quadratureGaussCount.
236610
+ * @deprecated in 5.0 - might be removed in next major version. Use correct spelling quadratureGaussCount.
236409
236611
  */
236410
236612
  static quadratureGuassCount = 5;
236411
236613
  /** Gauss point quadrature count for evaluating curve length. (The number of intervals is adjusted to the arc sweep). */
@@ -241050,7 +241252,7 @@ class CurveLocationDetailPair {
241050
241252
  }
241051
241253
  /**
241052
241254
  * Data bundle for a pair of arrays of CurveLocationDetail structures.
241053
- * @deprecated in 4.2.0 - will not be removed until after 2026-06-13. Use CurveLocationDetailPair[] instead.
241255
+ * @deprecated in 4.2.0 - might be removed in next major version. Use CurveLocationDetailPair[] instead.
241054
241256
  * @public
241055
241257
  */
241056
241258
  class CurveLocationDetailArrayPair {
@@ -249214,7 +249416,7 @@ class StrokeOptions {
249214
249416
  maxEdgeLength;
249215
249417
  /**
249216
249418
  * Caller expects convex facets.
249217
- * @deprecated in 4.2.0 - will not be removed until after 2026-06-13. Never used. See [[shouldTriangulate]] and [[maximizeConvexFacets]].
249419
+ * @deprecated in 4.2.0 - might be removed in next major version. Never used. See [[shouldTriangulate]] and [[maximizeConvexFacets]].
249218
249420
  */
249219
249421
  needConvexFacets;
249220
249422
  /** Minimum strokes on a primitive. */
@@ -266143,7 +266345,7 @@ class GrowableXYArray extends _IndexedXYCollection__WEBPACK_IMPORTED_MODULE_0__.
266143
266345
  }
266144
266346
  /**
266145
266347
  * Restructure MultiLineStringDataVariant as array of GrowableXYZArray
266146
- * @deprecated in 4.2.0 - will not be removed until after 2026-06-13. Moved to GrowableXYZArray class.
266348
+ * @deprecated in 4.2.0 - might be removed in next major version. Moved to GrowableXYZArray class.
266147
266349
  */
266148
266350
  static createArrayOfGrowableXYZArray(data) {
266149
266351
  return _GrowableXYZArray__WEBPACK_IMPORTED_MODULE_1__.GrowableXYZArray.createArrayOfGrowableXYZArray(data);
@@ -285304,7 +285506,7 @@ class Point4d extends _geometry3d_Plane3d__WEBPACK_IMPORTED_MODULE_0__.Plane3d {
285304
285506
  * extract 4 consecutive numbers from a Float64Array into a Point4d.
285305
285507
  * @param data buffer of numbers
285306
285508
  * @param xIndex first index for x,y,z,w sequence. Assumed to be a valid index!
285307
- * @deprecated in 4.3.0 - will not be removed until after 2026-06-13. Use createFromPacked instead.
285509
+ * @deprecated in 4.3.0 - might be removed in next major version. Use createFromPacked instead.
285308
285510
  */
285309
285511
  static createFromPackedXYZW(data, xIndex = 0, result) {
285310
285512
  return Point4d.create(data[xIndex], data[xIndex + 1], data[xIndex + 2], data[xIndex + 3], result);
@@ -294711,7 +294913,7 @@ class IndexedPolyface extends Polyface {
294711
294913
  }
294712
294914
  /**
294713
294915
  * Clean up the open facet.
294714
- * @deprecated in 4.5.0 - will not be removed until after 2026-06-13. To remove nebulous "open facet" concept from the API. Call [[PolyfaceData.trimAllIndexArrays]]
294916
+ * @deprecated in 4.5.0 - might be removed in next major version. To remove nebulous "open facet" concept from the API. Call [[PolyfaceData.trimAllIndexArrays]]
294715
294917
  * instead.
294716
294918
  */
294717
294919
  cleanupOpenFacet() {
@@ -294857,7 +295059,7 @@ class IndexedPolyface extends Polyface {
294857
295059
  }
294858
295060
  /**
294859
295061
  * Given the index of a facet, return the data pertaining to the face it is a part of.
294860
- * @deprecated in 4.5.0 - will not be removed until after 2026-06-13. Use [[IndexedPolyface.tryGetFaceData]], which verifies the index is in range.
295062
+ * @deprecated in 4.5.0 - might be removed in next major version. Use [[IndexedPolyface.tryGetFaceData]], which verifies the index is in range.
294861
295063
  */
294862
295064
  getFaceDataByFacetIndex(facetIndex) {
294863
295065
  return this.data.face[this._facetToFaceData[facetIndex]];
@@ -296143,7 +296345,7 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
296143
296345
  * Apply stroke counts to curve primitives.
296144
296346
  * * Recursively visit all children of data.
296145
296347
  * * At each primitive, invoke `computeStrokeCountForOptions` method with options from the builder.
296146
- * @deprecated in 4.8.0 - will not be removed until after 2026-06-13. This method does nothing and is unneeded.
296348
+ * @deprecated in 4.8.0 - might be removed in next major version. This method does nothing and is unneeded.
296147
296349
  */
296148
296350
  applyStrokeCountsToCurvePrimitives(data) {
296149
296351
  const options = this._options;
@@ -298237,7 +298439,7 @@ class PolyfaceData {
298237
298439
  }
298238
298440
  /**
298239
298441
  * Resize all data arrays to the specified `length`.
298240
- * @deprecated in 4.5.0 - will not be removed until after 2026-06-13. Because name is misleading. Call [[PolyfaceData.resizeAllArrays]] instead.
298442
+ * @deprecated in 4.5.0 - might be removed in next major version. Because name is misleading. Call [[PolyfaceData.resizeAllArrays]] instead.
298241
298443
  */
298242
298444
  resizeAllDataArrays(length) {
298243
298445
  if (length > this.point.length) {
@@ -299811,7 +300013,7 @@ class PolyfaceQuery {
299811
300013
  });
299812
300014
  return builder.claimPolyface(true);
299813
300015
  }
299814
- /** @deprecated in 4.7.0 - will not be removed until after 2026-06-13. Use [[sweepLineStringToFacetsXYReturnSweptFacets]] instead. */
300016
+ /** @deprecated in 4.7.0 - might be removed in next major version. Use [[sweepLineStringToFacetsXYReturnSweptFacets]] instead. */
299815
300017
  static sweepLinestringToFacetsXYreturnSweptFacets(linestringPoints, polyface) {
299816
300018
  return this.sweepLineStringToFacetsXYReturnSweptFacets(linestringPoints, polyface);
299817
300019
  }
@@ -299914,7 +300116,7 @@ class PolyfaceQuery {
299914
300116
  * * Return collected line segments.
299915
300117
  * * This calls [[sweepLineStringToFacets]] with options created by
299916
300118
  * `const options = SweepLineStringToFacetsOptions.create(Vector3d.unitZ(), Angle.createSmallAngle(), false, true, true, true);`
299917
- * @deprecated in 4.7.0 - will not be removed until after 2026-06-13. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
300119
+ * @deprecated in 4.7.0 - might be removed in next major version. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
299918
300120
  */
299919
300121
  static sweepLinestringToFacetsXYReturnLines(linestringPoints, polyface) {
299920
300122
  const options = SweepLineStringToFacetsOptions.create(_geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.unitZ(), _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createSmallAngle(), false, true, true, true);
@@ -299924,7 +300126,7 @@ class PolyfaceQuery {
299924
300126
  * Find segments (within the linestring) which project to facets.
299925
300127
  * * Return chains.
299926
300128
  * * This calls [[sweepLineStringToFacets]] with default options.
299927
- * @deprecated in 4.7.0 - will not be removed until after 2026-06-13. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
300129
+ * @deprecated in 4.7.0 - might be removed in next major version. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
299928
300130
  */
299929
300131
  static sweepLinestringToFacetsXYReturnChains(linestringPoints, polyface) {
299930
300132
  return PolyfaceQuery.sweepLineStringToFacets(linestringPoints, polyface);
@@ -342309,11 +342511,19 @@ class BaseFormat {
342309
342511
  // default "north" is applied by the formatter (quarter rotation counter clockwise from east, the value depends on the units used)
342310
342512
  get azimuthBase() { return this._azimuthBase; }
342311
342513
  set azimuthBase(azimuthBase) { this._azimuthBase = azimuthBase; }
342514
+ /**
342515
+ * Must share the same phenomenon as the eventual persistence unit.
342516
+ * @see FormatProps.azimuthBaseUnit
342517
+ */
342312
342518
  get azimuthBaseUnit() { return this._azimuthBaseUnit; }
342313
342519
  set azimuthBaseUnit(azimuthBaseUnit) { this._azimuthBaseUnit = azimuthBaseUnit; }
342314
342520
  get azimuthCounterClockwise() { return this._azimuthCounterClockwise; }
342315
342521
  set azimuthCounterClockwise(azimuthCounterClockwise) { this._azimuthCounterClockwise = azimuthCounterClockwise; }
342316
342522
  get azimuthClockwiseOrDefault() { return !this._azimuthCounterClockwise; }
342523
+ /**
342524
+ * Must share the same phenomenon as the eventual persistence unit.
342525
+ * @see FormatProps.revolutionUnit
342526
+ */
342317
342527
  get revolutionUnit() { return this._revolutionUnit; }
342318
342528
  set revolutionUnit(revolutionUnit) { this._revolutionUnit = revolutionUnit; }
342319
342529
  /** This method parses input string that is typically extracted for persisted JSON data and validates that the string is a valid FormatType. Throws exception if not valid. */
@@ -342913,7 +343123,7 @@ var ShowSignOption;
342913
343123
  // parse and toString methods
342914
343124
  /**
342915
343125
  * @beta
342916
- * @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.
343126
+ * @deprecated in 4.10 - might be removed in next major version. ScientificType is now a string enum and doesn't need a serialization method. You can access the enum directly.
342917
343127
  */
342918
343128
  function scientificTypeToString(scientificType) {
342919
343129
  return (scientificType === ScientificType.Normalized) ? "Normalized" : "ZeroNormalized";
@@ -342967,7 +343177,7 @@ function parseShowSignOption(showSignOption, formatName) {
342967
343177
  }
342968
343178
  /**
342969
343179
  * @beta
342970
- * @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.
343180
+ * @deprecated in 4.10 - might be removed in next major version. ShowSignOption is now a string enum and doesn't need a serialization method. You can access the enum directly.
342971
343181
  */
342972
343182
  function showSignOptionToString(showSign) {
342973
343183
  switch (showSign) {
@@ -343060,7 +343270,7 @@ function parseFormatType(jsonObjType, formatName) {
343060
343270
  }
343061
343271
  }
343062
343272
  /** @beta
343063
- * @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.
343273
+ * @deprecated in 4.10 - might be removed in next major version. FormatType is now a string enum and doesn't need a serialization method. You can access the enum directly.
343064
343274
  */
343065
343275
  function formatTypeToString(type) {
343066
343276
  switch (type) {
@@ -343153,6 +343363,7 @@ __webpack_require__.r(__webpack_exports__);
343153
343363
  /* harmony import */ var _FormatterSpec__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./FormatterSpec */ "../../core/quantity/lib/esm/Formatter/FormatterSpec.js");
343154
343364
  /* harmony import */ var _FormatEnums__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./FormatEnums */ "../../core/quantity/lib/esm/Formatter/FormatEnums.js");
343155
343365
  /* harmony import */ var _Quantity__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Quantity */ "../../core/quantity/lib/esm/Quantity.js");
343366
+ /* harmony import */ var _generated_Units_generated__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../generated/Units.generated */ "../../core/quantity/lib/esm/generated/Units.generated.js");
343156
343367
  /*---------------------------------------------------------------------------------------------
343157
343368
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
343158
343369
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -343165,6 +343376,7 @@ __webpack_require__.r(__webpack_exports__);
343165
343376
 
343166
343377
 
343167
343378
 
343379
+
343168
343380
  /** rounding additive
343169
343381
  * @internal
343170
343382
  */
@@ -343605,8 +343817,8 @@ class Formatter {
343605
343817
  if (type !== _FormatEnums__WEBPACK_IMPORTED_MODULE_3__.FormatType.Bearing && type !== _FormatEnums__WEBPACK_IMPORTED_MODULE_3__.FormatType.Azimuth)
343606
343818
  return { magnitude };
343607
343819
  const revolution = this.getRevolution(spec);
343608
- magnitude = this.normalizeAngle(magnitude, revolution);
343609
343820
  const quarterRevolution = revolution / 4;
343821
+ magnitude = this.normalizeToAzimuth(magnitude, spec.persistenceUnit.phenomenon, revolution);
343610
343822
  if (type === _FormatEnums__WEBPACK_IMPORTED_MODULE_3__.FormatType.Bearing) {
343611
343823
  let quadrant = 0;
343612
343824
  while (magnitude > quarterRevolution) {
@@ -343675,6 +343887,17 @@ class Formatter {
343675
343887
  magnitude += revolution;
343676
343888
  return magnitude;
343677
343889
  }
343890
+ /**
343891
+ * Converts a raw magnitude to a normalized azimuth (0 to revolution, measured clockwise from north), based on
343892
+ * the phenomenon it was persisted under. Raw math angles (`ANGLE` phenomenon) need the north-measured conversion;
343893
+ * true azimuths (`HORIZONTAL_DIRECTION`) don't. Not a unit conversion, so it's applied here, not via `convertTo`.
343894
+ * @internal
343895
+ */
343896
+ static normalizeToAzimuth(magnitude, phenomenon, revolution) {
343897
+ if (phenomenon === _generated_Units_generated__WEBPACK_IMPORTED_MODULE_5__.Phenomena.ANGLE)
343898
+ magnitude = revolution / 4 - magnitude;
343899
+ return this.normalizeAngle(magnitude, revolution);
343900
+ }
343678
343901
  static getRevolution(spec) {
343679
343902
  if (spec.revolutionConversion === undefined) {
343680
343903
  throw new _Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityError(_Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityStatus.MissingRequiredProperty, `Missing revolution unit conversion for calculating ${spec.name}'s revolution.`);
@@ -343938,6 +344161,9 @@ class FormatterSpec {
343938
344161
  * @param name The name of a format specification.
343939
344162
  * @param unitsProvider The units provider is used to look up unit definitions and provide conversion information for converting between units.
343940
344163
  * @param inputUnit The unit the value to be formatted. This unit is often referred to as persistence unit.
344164
+ * @note For Bearing/Azimuth formats, `inputUnit`'s phenomenon must match `format.azimuthBaseUnit`/`format.revolutionUnit`.
344165
+ * @see BaseFormat.azimuthBaseUnit
344166
+ * @see BaseFormat.revolutionUnit
343941
344167
  */
343942
344168
  static async create(name, format, unitsProvider, inputUnit) {
343943
344169
  const conversions = await FormatterSpec.getUnitConversions(format, unitsProvider, inputUnit);
@@ -344110,6 +344336,7 @@ __webpack_require__.r(__webpack_exports__);
344110
344336
  /* harmony import */ var _Formatter_FormatEnums__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Formatter/FormatEnums */ "../../core/quantity/lib/esm/Formatter/FormatEnums.js");
344111
344337
  /* harmony import */ var _QuantityLoggerCategory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./QuantityLoggerCategory */ "../../core/quantity/lib/esm/QuantityLoggerCategory.js");
344112
344338
  /* harmony import */ var _Quantity__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Quantity */ "../../core/quantity/lib/esm/Quantity.js");
344339
+ /* harmony import */ var _generated_Units_generated__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./generated/Units.generated */ "../../core/quantity/lib/esm/generated/Units.generated.js");
344113
344340
  /*---------------------------------------------------------------------------------------------
344114
344341
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
344115
344342
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -344123,6 +344350,7 @@ __webpack_require__.r(__webpack_exports__);
344123
344350
 
344124
344351
 
344125
344352
 
344353
+
344126
344354
  /** Possible parser errors
344127
344355
  * @beta
344128
344356
  */
@@ -344763,7 +344991,7 @@ class Parser {
344763
344991
  * @param inString A string that contains text represent a quantity.
344764
344992
  * @param format Defines the likely format of inString. Primary unit serves as a default unit if no unit label found in string.
344765
344993
  * @param unitsConversions dictionary of conversions used to convert from unit used in inString to output quantity
344766
- * @deprecated in 4.10 - will not be removed until after 2026-06-13. Check [[Parser.parseQuantityString]] for replacements.
344994
+ * @deprecated in 4.10 - might be removed in next major version. Check [[Parser.parseQuantityString]] for replacements.
344767
344995
  */
344768
344996
  static parseToQuantityValue(inString, format, unitsConversions) {
344769
344997
  // TODO: This method is not able to do bearing and azimuth formatting and is overlapping with parseQuantityString.
@@ -344786,16 +345014,19 @@ class Parser {
344786
345014
  }
344787
345015
  return this.parseAndProcessTokens(inString, format, unitsConversions);
344788
345016
  }
344789
- /** The value of special direction is always in degrees, try to find the unit conversion for that. */
345017
+ /** The value of special direction is always in degrees; resolve "degrees" relative to
345018
+ * `spec.outUnit`'s phenomenon, since `Units.ARC_DEG` only exists in the `Units.ANGLE` family. */
344790
345019
  static processSpecialBearingDirection(mag, spec) {
344791
- const specialDirUnit = spec.unitConversions.find((unitConversion) => unitConversion.name === "Units.ARC_DEG");
345020
+ const degreeUnitName = spec.outUnit.phenomenon === _generated_Units_generated__WEBPACK_IMPORTED_MODULE_6__.Phenomena.HORIZONTAL_DIRECTION ? "Units.HORIZONTAL_DIR_ARC_DEG" : "Units.ARC_DEG";
345021
+ const specialDirUnit = spec.unitConversions.find((unitConversion) => unitConversion.name === degreeUnitName);
344792
345022
  if (!specialDirUnit)
344793
345023
  return { ok: false, error: ParseError.UnknownUnit };
344794
345024
  const preferredUnit = spec.outUnit;
344795
345025
  const conversion = this.tryFindUnitConversion(specialDirUnit.label, spec.unitConversions, preferredUnit);
344796
345026
  if (!conversion)
344797
345027
  return { ok: true, value: mag };
344798
- return { ok: true, value: (0,_Quantity__WEBPACK_IMPORTED_MODULE_5__.applyConversion)(mag, conversion) };
345028
+ const revolution = this.getRevolution(spec);
345029
+ return { ok: true, value: this.convertAzimuthToPersistenceConvention((0,_Quantity__WEBPACK_IMPORTED_MODULE_5__.applyConversion)(mag, conversion), spec, revolution) };
344799
345030
  }
344800
345031
  static parseBearingFormat(inString, spec) {
344801
345032
  const specialDirections = {
@@ -344872,6 +345103,7 @@ class Parser {
344872
345103
  }
344873
345104
  }
344874
345105
  magnitude = this.normalizeAngle(magnitude, revolution);
345106
+ magnitude = this.convertAzimuthToPersistenceConvention(magnitude, spec, revolution);
344875
345107
  return { ok: true, value: magnitude };
344876
345108
  }
344877
345109
  static parseAzimuthFormat(inString, spec) {
@@ -344897,6 +345129,8 @@ class Parser {
344897
345129
  const inputIsClockwise = spec.format.azimuthClockwiseOrDefault;
344898
345130
  if (inputIsClockwise && azimuthBase === 0) {
344899
345131
  // parsed result already has the same base and orientation as our desired output
345132
+ if (spec.outUnit.phenomenon === _generated_Units_generated__WEBPACK_IMPORTED_MODULE_6__.Phenomena.ANGLE)
345133
+ return { ok: true, value: this.convertAzimuthToPersistenceConvention(magnitude, spec, revolution) };
344900
345134
  return parsedResult;
344901
345135
  }
344902
345136
  if (inputIsClockwise)
@@ -344904,6 +345138,7 @@ class Parser {
344904
345138
  else
344905
345139
  magnitude = azimuthBase - magnitude;
344906
345140
  magnitude = this.normalizeAngle(magnitude, revolution);
345141
+ magnitude = this.convertAzimuthToPersistenceConvention(magnitude, spec, revolution);
344907
345142
  return { ok: true, value: magnitude };
344908
345143
  }
344909
345144
  /**
@@ -345045,6 +345280,15 @@ class Parser {
345045
345280
  }
345046
345281
  return converted.magnitude;
345047
345282
  }
345283
+ /** Converts an azimuth-convention magnitude back to a raw math angle when `spec.outUnit` is
345284
+ * `ANGLE`-phenomenon (mirrors the transform in `Formatter.processBearingAndAzimuth`). No-op for
345285
+ * `HORIZONTAL_DIRECTION`, which is already a true azimuth. */
345286
+ static convertAzimuthToPersistenceConvention(magnitude, spec, revolution) {
345287
+ if (spec.outUnit.phenomenon !== _generated_Units_generated__WEBPACK_IMPORTED_MODULE_6__.Phenomena.ANGLE)
345288
+ return magnitude;
345289
+ const quarterRevolution = revolution / 4;
345290
+ return this.normalizeAngle(quarterRevolution - magnitude, revolution);
345291
+ }
345048
345292
  static parseAndProcessTokens(inString, format, unitsConversions) {
345049
345293
  const tokens = Parser.parseQuantitySpecification(inString, format);
345050
345294
  if (Parser._log) {
@@ -345245,6 +345489,9 @@ class ParserSpec {
345245
345489
  * @param format The format specification.
345246
345490
  * @param unitsProvider The units provider is used to look up unit definitions and provide conversion information for converting between units.
345247
345491
  * @param outUnit The unit a value will be formatted to. This unit is often referred to as persistence unit.
345492
+ * @note For Bearing/Azimuth formats, `outUnit`'s phenomenon must match `format.azimuthBaseUnit`/`format.revolutionUnit`.
345493
+ * @see BaseFormat.azimuthBaseUnit
345494
+ * @see BaseFormat.revolutionUnit
345248
345495
  */
345249
345496
  static async create(format, unitsProvider, outUnit, altUnitLabelsProvider) {
345250
345497
  let conversions;
@@ -348808,7 +349055,7 @@ class TestContext {
348808
349055
  this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
348809
349056
  const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
348810
349057
  await core_frontend_1.NoRenderApp.startup({
348811
- applicationVersion: "5.12.0-dev.1",
349058
+ applicationVersion: "5.12.0-dev.10",
348812
349059
  applicationId: this.settings.gprid,
348813
349060
  authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.serviceAuthToken),
348814
349061
  hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
@@ -349089,7 +349336,7 @@ class UiAdmin {
349089
349336
  /** Get the cursor X and Y position. */
349090
349337
  get cursorPosition() { return { x: 0, y: 0 }; }
349091
349338
  /** Create a PointProps object.
349092
- * @deprecated in 4.2.0 - will not be removed until after 2026-06-13. Please use @core/geometry [[XAndY]] or a custom implementation.
349339
+ * @deprecated in 4.2.0 - might be removed in next major version. Please use @core/geometry [[XAndY]] or a custom implementation.
349093
349340
  */
349094
349341
  createXAndY(x, y) { return { x, y }; }
349095
349342
  /** Determines if focus is set to Home */
@@ -349293,7 +349540,7 @@ __webpack_require__.r(__webpack_exports__);
349293
349540
  * @module Utilities
349294
349541
  */
349295
349542
  /** Enumeration for Function Keys
349296
- * @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.
349543
+ * @public @deprecated in 4.3 - might be removed in next major version. Please use the `ts-key-enum` npm package or string literals.
349297
349544
  */
349298
349545
  var FunctionKey;
349299
349546
  (function (FunctionKey) {
@@ -349311,7 +349558,7 @@ var FunctionKey;
349311
349558
  FunctionKey["F12"] = "F12";
349312
349559
  })(FunctionKey || (FunctionKey = {}));
349313
349560
  /** Enumeration for Special Keys
349314
- * @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.
349561
+ * @public @deprecated in 4.3 - might be removed in next major version. Please use the `ts-key-enum` npm package or string literals.
349315
349562
  */
349316
349563
  var SpecialKey;
349317
349564
  (function (SpecialKey) {
@@ -349340,7 +349587,7 @@ var SpecialKey;
349340
349587
  SpecialKey["Decimal"] = "Decimal";
349341
349588
  })(SpecialKey || (SpecialKey = {}));
349342
349589
  /** Determines if a KeyboardEvent.key is an Arrow key
349343
- * @public @deprecated in 4.3 - will not be removed until after 2026-06-13. Please use a custom implementation moving forward.
349590
+ * @public @deprecated in 4.3 - might be removed in next major version. Please use a custom implementation moving forward.
349344
349591
  */
349345
349592
  function isArrowKey(key) {
349346
349593
  // eslint-disable-next-line @typescript-eslint/no-deprecated
@@ -349392,7 +349639,7 @@ __webpack_require__.r(__webpack_exports__);
349392
349639
  /**
349393
349640
  * Class that define Standard Content Layouts that can be used to specify how the content is arranged in a frontstage.
349394
349641
  * @public
349395
- * @deprecated in 4.10.0 - will not be removed until after 2026-06-13. Use `StandardContentLayouts` from `@itwin/appui-react`.
349642
+ * @deprecated in 4.10.0 - might be removed in next major version. Use `StandardContentLayouts` from `@itwin/appui-react`.
349396
349643
  */
349397
349644
  class StandardContentLayouts {
349398
349645
  static singleView = {
@@ -350920,20 +351167,20 @@ __webpack_require__.r(__webpack_exports__);
350920
351167
  */
350921
351168
  /* eslint-disable @typescript-eslint/no-deprecated */
350922
351169
  /** Creates an IconSpec with an SVG source and gets the SVG source from an IconSpec.
350923
- * @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.
351170
+ * @public @deprecated in 4.3 - might be removed in next major version. AppUI libraries >= 4.7.x support loading SVGs sources without prefixes, eliminating the need for these utilities.
350924
351171
  */
350925
351172
  class IconSpecUtilities {
350926
351173
  /** Prefix for an SVG IconSpec loaded with the Sprite loader */
350927
351174
  static SVG_PREFIX = "svg:";
350928
351175
  static WEB_COMPONENT_PREFIX = "webSvg:";
350929
351176
  /** Create an IconSpec for an SVG loaded into web component with svg-loader
350930
- * @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.
351177
+ * @public @deprecated in 4.3 - might be removed in next major version. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
350931
351178
  */
350932
351179
  static createWebComponentIconSpec(srcString) {
350933
351180
  return `${IconSpecUtilities.WEB_COMPONENT_PREFIX}${srcString}`;
350934
351181
  }
350935
351182
  /** Get the SVG Source from an svg-loader IconSpec
350936
- * @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.
351183
+ * @public @deprecated in 4.3 - might be removed in next major version. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
350937
351184
  */
350938
351185
  static getWebComponentSource(iconSpec) {
350939
351186
  if (iconSpec.startsWith(IconSpecUtilities.WEB_COMPONENT_PREFIX) && iconSpec.length > 7) {
@@ -350987,7 +351234,7 @@ __webpack_require__.r(__webpack_exports__);
350987
351234
  */
350988
351235
 
350989
351236
  /** iTwin.js UI UiError class is a subclass of BentleyError. Errors are logged.
350990
- * @public @deprecated in 4.3 - will not be removed until after 2026-06-13. Use [[Bentley.BentleyError]] instead.
351237
+ * @public @deprecated in 4.3 - might be removed in next major version. Use [[Bentley.BentleyError]] instead.
350991
351238
  */
350992
351239
  class UiError extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyError {
350993
351240
  category;
@@ -351023,7 +351270,7 @@ __webpack_require__.r(__webpack_exports__);
351023
351270
 
351024
351271
  /** iTwin.js UI UiEvent class is a subclass of BeEvent with argument type safety.
351025
351272
  * @public
351026
- * @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.
351273
+ * @deprecated in 4.2 - might be removed in next major version. This type is a duplicate of [[BeUiEvent]], which should be used instead.
351027
351274
  */
351028
351275
  class UiEvent extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeUiEvent {
351029
351276
  }
@@ -351054,7 +351301,7 @@ __webpack_require__.r(__webpack_exports__);
351054
351301
 
351055
351302
  /** UiSync Event class.
351056
351303
  * @public
351057
- * @deprecated in 4.2.0 - will not be removed until after 2026-06-13. Use [[UiSyncEvent]] from @itwin/appui-react.
351304
+ * @deprecated in 4.2.0 - might be removed in next major version. Use [[UiSyncEvent]] from @itwin/appui-react.
351058
351305
  */
351059
351306
  // eslint-disable-next-line @typescript-eslint/no-deprecated
351060
351307
  class UiSyncEvent extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeUiEvent {
@@ -351062,7 +351309,7 @@ class UiSyncEvent extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeUiE
351062
351309
  /** This class is used to send eventIds to interested UI components so the component can determine if it needs
351063
351310
  * to refresh its display by calling setState on itself.
351064
351311
  * @public
351065
- * @deprecated in 4.2.0 - will not be removed until after 2026-06-13. Use [[SyncUiEventDispatcher]] from @itwin/appui-react.
351312
+ * @deprecated in 4.2.0 - might be removed in next major version. Use [[SyncUiEventDispatcher]] from @itwin/appui-react.
351066
351313
  */
351067
351314
  class UiEventDispatcher {
351068
351315
  _syncEventTimerId;
@@ -351265,7 +351512,7 @@ function join(head, tail) {
351265
351512
  * @param contiguous - If true the filter string must be found "contiguous" in the searched string (E.g. "pul" will match "Git: Pull").
351266
351513
  * 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").
351267
351514
  * Useful in cases where the target is words (e.g. command labels)
351268
- * @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.
351515
+ * @internal @deprecated in 4.3 - might be removed in next major version. Use `matchesWords` from @itwin/core-react instead. Though internal, this requires deprecation due to known public usage in @itwin/core-react.
351269
351516
  */
351270
351517
  function matchesWords(word, target, contiguous = false) {
351271
351518
  if (!target || target.length === 0) {
@@ -351337,7 +351584,7 @@ __webpack_require__.r(__webpack_exports__);
351337
351584
  */
351338
351585
  /** Gets the class name for an object.
351339
351586
  * @internal
351340
- * @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.
351587
+ * @deprecated in 4.3 - might be removed in next major version. Please use your own implementation in the future. Though internal, this requires deprecation due to known public usage in @itwin/core-react.
351341
351588
  */
351342
351589
  const getClassName = (obj) => {
351343
351590
  let className = "";
@@ -355040,7 +355287,7 @@ var PresentationStatus;
355040
355287
  * Timeout for the request was reached which prevented it from being fulfilled. Frontend may
355041
355288
  * repeat the request.
355042
355289
  *
355043
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Presentation RPC now relies on `RpcPendingResponse` to handle timeouts.
355290
+ * @deprecated in 5.0 - might be removed in next major version. Presentation RPC now relies on `RpcPendingResponse` to handle timeouts.
355044
355291
  */
355045
355292
  PresentationStatus[PresentationStatus["BackendTimeout"] = 65543] = "BackendTimeout";
355046
355293
  })(PresentationStatus || (exports.PresentationStatus = PresentationStatus = {}));
@@ -356031,33 +356278,33 @@ let PresentationRpcInterface = class PresentationRpcInterface extends core_commo
356031
356278
  NOTE: Any add/remove/change to the methods below requires an update of the interface version.
356032
356279
  NOTE: Please consult the README in core/common/src/rpc for the semantic versioning rules.
356033
356280
  ===========================================================================================*/
356034
- /** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356281
+ /** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356035
356282
  async getNodesCount(_token, _options) {
356036
356283
  return this.forward(arguments);
356037
356284
  }
356038
- /** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356285
+ /** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356039
356286
  async getPagedNodes(_token, _options) {
356040
356287
  return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
356041
356288
  }
356042
- /** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356289
+ /** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356043
356290
  async getNodesDescriptor(_token, _options) {
356044
356291
  return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
356045
356292
  }
356046
- /** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356293
+ /** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356047
356294
  // TODO: add paged version of this (#387280)
356048
356295
  async getNodePaths(_token, _options) {
356049
356296
  return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
356050
356297
  }
356051
- /** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356298
+ /** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356052
356299
  // TODO: add paged version of this (#387280)
356053
356300
  async getFilteredNodePaths(_token, _options) {
356054
356301
  return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
356055
356302
  }
356056
- /** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356303
+ /** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356057
356304
  async getContentSources(_token, _options) {
356058
356305
  return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
356059
356306
  }
356060
- /** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356307
+ /** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356061
356308
  async getContentDescriptor(_token, _options) {
356062
356309
  const response = await this.forward(arguments);
356063
356310
  return {
@@ -356065,11 +356312,11 @@ let PresentationRpcInterface = class PresentationRpcInterface extends core_commo
356065
356312
  ...(response.result ? { result: JSON.parse(response.result) } : {}),
356066
356313
  };
356067
356314
  }
356068
- /** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356315
+ /** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356069
356316
  async getContentSetSize(_token, _options) {
356070
356317
  return this.forward(arguments);
356071
356318
  }
356072
- /** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356319
+ /** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356073
356320
  async getPagedContent(_token, _options) {
356074
356321
  const rpcResponse = await this.forward(arguments);
356075
356322
  return {
@@ -356079,35 +356326,35 @@ let PresentationRpcInterface = class PresentationRpcInterface extends core_commo
356079
356326
  : {}),
356080
356327
  };
356081
356328
  }
356082
- /** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356329
+ /** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356083
356330
  async getPagedContentSet(_token, _options) {
356084
356331
  return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
356085
356332
  }
356086
- /** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356333
+ /** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356087
356334
  async getElementProperties(_token, _options) {
356088
356335
  return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
356089
356336
  }
356090
- /** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356337
+ /** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356091
356338
  async getPagedDistinctValues(_token, _options) {
356092
356339
  return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
356093
356340
  }
356094
- /** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356341
+ /** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356095
356342
  async getContentInstanceKeys(_token, _options) {
356096
356343
  return this.forward(arguments);
356097
356344
  }
356098
- /** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356345
+ /** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356099
356346
  async getDisplayLabelDefinition(_token, _options) {
356100
356347
  return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
356101
356348
  }
356102
- /** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356349
+ /** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356103
356350
  async getPagedDisplayLabelDefinitions(_token, _options) {
356104
356351
  return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
356105
356352
  }
356106
- /** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356353
+ /** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356107
356354
  async getSelectionScopes(_token, _options) {
356108
356355
  return this.forward(arguments);
356109
356356
  }
356110
- /** @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356357
+ /** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
356111
356358
  async computeSelection(_token, _options) {
356112
356359
  return this.forward(arguments);
356113
356360
  }
@@ -356155,7 +356402,7 @@ class RegisteredRuleset {
356155
356402
  [Symbol.dispose]() {
356156
356403
  this._disposeFunc(this);
356157
356404
  }
356158
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
356405
+ /** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
356159
356406
  /* c8 ignore next 3 */
356160
356407
  dispose() {
356161
356408
  this[Symbol.dispose]();
@@ -357193,13 +357440,19 @@ function traverseContentItemFieldValue(visitor, fieldHierarchy, mergedFieldNames
357193
357440
  if (rawValue !== undefined) {
357194
357441
  if (valueType.valueFormat === TypeDescription_js_1.PropertyValueFormat.Array) {
357195
357442
  (0, core_bentley_1.assert)(Value_js_1.Value.isArray(rawValue));
357196
- (0, core_bentley_1.assert)(Value_js_1.DisplayValue.isArray(displayValue));
357197
- return traverseContentItemArrayFieldValue(visitor, fieldHierarchy, mergedFieldNames, valueType, parentFieldName, rawValue, displayValue);
357443
+ // When content is retrieved with formatting omitted, display values are not provided. Synthesize an array
357444
+ // of matching length so array items can still be traversed.
357445
+ const arrayDisplayValues = displayValue === undefined ? rawValue.map(() => undefined) : displayValue;
357446
+ (0, core_bentley_1.assert)(Value_js_1.DisplayValue.isArray(arrayDisplayValues));
357447
+ return traverseContentItemArrayFieldValue(visitor, fieldHierarchy, mergedFieldNames, valueType, parentFieldName, rawValue, arrayDisplayValues);
357198
357448
  }
357199
357449
  if (valueType.valueFormat === TypeDescription_js_1.PropertyValueFormat.Struct) {
357200
357450
  (0, core_bentley_1.assert)(Value_js_1.Value.isMap(rawValue));
357201
- (0, core_bentley_1.assert)(Value_js_1.DisplayValue.isMap(displayValue));
357202
- return traverseContentItemStructFieldValue(visitor, fieldHierarchy, mergedFieldNames, valueType, parentFieldName, rawValue, displayValue);
357451
+ // When content is retrieved with formatting omitted, display values are not provided. Use an empty map so
357452
+ // struct members can still be traversed.
357453
+ const structDisplayValues = displayValue === undefined ? {} : displayValue;
357454
+ (0, core_bentley_1.assert)(Value_js_1.DisplayValue.isMap(structDisplayValues));
357455
+ return traverseContentItemStructFieldValue(visitor, fieldHierarchy, mergedFieldNames, valueType, parentFieldName, rawValue, structDisplayValues);
357203
357456
  }
357204
357457
  }
357205
357458
  traverseContentItemPrimitiveFieldValue(visitor, fieldHierarchy, mergedFieldNames, valueType, parentFieldName, rawValue, displayValue);
@@ -358153,7 +358406,7 @@ class Field {
358153
358406
  }
358154
358407
  /**
358155
358408
  * Serialize this object to JSON.
358156
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[toCompressedJSON]] instead.
358409
+ * @deprecated in 5.0 - might be removed in next major version. Use [[toCompressedJSON]] instead.
358157
358410
  */
358158
358411
  toJSON() {
358159
358412
  return this.toCompressedJSON({});
@@ -358174,7 +358427,7 @@ class Field {
358174
358427
  }
358175
358428
  /**
358176
358429
  * Deserialize [[Field]] from JSON.
358177
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[fromCompressedJSON]] instead.
358430
+ * @deprecated in 5.0 - might be removed in next major version. Use [[fromCompressedJSON]] instead.
358178
358431
  */
358179
358432
  static fromJSON(json, categories) {
358180
358433
  if (!json) {
@@ -358328,7 +358581,7 @@ class PropertiesField extends Field {
358328
358581
  }
358329
358582
  /**
358330
358583
  * Serialize this object to JSON
358331
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[toCompressedJSON]] instead.
358584
+ * @deprecated in 5.0 - might be removed in next major version. Use [[toCompressedJSON]] instead.
358332
358585
  */
358333
358586
  toJSON() {
358334
358587
  return {
@@ -358346,7 +358599,7 @@ class PropertiesField extends Field {
358346
358599
  }
358347
358600
  /**
358348
358601
  * Deserialize [[PropertiesField]] from JSON.
358349
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[fromCompressedJSON]] instead.
358602
+ * @deprecated in 5.0 - might be removed in next major version. Use [[fromCompressedJSON]] instead.
358350
358603
  */
358351
358604
  static fromJSON(json, categories) {
358352
358605
  if (!json) {
@@ -358481,7 +358734,7 @@ class ArrayPropertiesField extends PropertiesField {
358481
358734
  }
358482
358735
  /**
358483
358736
  * Serialize this object to JSON.
358484
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[toCompressedJSON]] instead.
358737
+ * @deprecated in 5.0 - might be removed in next major version. Use [[toCompressedJSON]] instead.
358485
358738
  */
358486
358739
  toJSON() {
358487
358740
  return {
@@ -358500,7 +358753,7 @@ class ArrayPropertiesField extends PropertiesField {
358500
358753
  }
358501
358754
  /**
358502
358755
  * Deserialize [[ArrayPropertiesField]] from JSON.
358503
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[fromCompressedJSON]] instead.
358756
+ * @deprecated in 5.0 - might be removed in next major version. Use [[fromCompressedJSON]] instead.
358504
358757
  */
358505
358758
  static fromJSON(json, categories) {
358506
358759
  return new ArrayPropertiesField({
@@ -358571,7 +358824,7 @@ class StructPropertiesField extends PropertiesField {
358571
358824
  }
358572
358825
  /**
358573
358826
  * Serialize this object to JSON.
358574
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[toCompressedJSON]] instead.
358827
+ * @deprecated in 5.0 - might be removed in next major version. Use [[toCompressedJSON]] instead.
358575
358828
  */
358576
358829
  toJSON() {
358577
358830
  return {
@@ -358590,7 +358843,7 @@ class StructPropertiesField extends PropertiesField {
358590
358843
  }
358591
358844
  /**
358592
358845
  * Deserialize [[StructPropertiesField]] from JSON.
358593
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[fromCompressedJSON]] instead.
358846
+ * @deprecated in 5.0 - might be removed in next major version. Use [[fromCompressedJSON]] instead.
358594
358847
  */
358595
358848
  static fromJSON(json, categories) {
358596
358849
  return new StructPropertiesField({
@@ -358691,7 +358944,7 @@ class NestedContentField extends Field {
358691
358944
  }
358692
358945
  /**
358693
358946
  * Serialize this object to JSON.
358694
- * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[toCompressedJSON]] instead.
358947
+ * @deprecated in 5.0 - might be removed in next major version. Use [[toCompressedJSON]] instead.
358695
358948
  */
358696
358949
  toJSON() {
358697
358950
  return {
@@ -360906,7 +361159,7 @@ class Presentation {
360906
361159
  /**
360907
361160
  * The singleton [[SelectionManager]].
360908
361161
  *
360909
- * @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
361162
+ * @deprecated in 5.0 - might be removed in next major version. The whole unified selection system in this package is deprecated in favor of the new
360910
361163
  * [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md) package.
360911
361164
  */
360912
361165
  // eslint-disable-next-line @typescript-eslint/no-deprecated
@@ -361001,7 +361254,7 @@ class PresentationManager {
361001
361254
  /**
361002
361255
  * Get / set active unit system used to format property values with units.
361003
361256
  *
361004
- * @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
361257
+ * @deprecated in 4.0 - might be removed in next major version. `IModelApp.quantityFormatter` should be used to get/set the active unit system. At the moment
361005
361258
  * [[PresentationManager]] allows overriding it, but returns `IModelApp.quantityFormatter.activeUnitSystem` if override
361006
361259
  * is not set.
361007
361260
  */
@@ -361045,7 +361298,7 @@ class PresentationManager {
361045
361298
  this._clearEventListener = undefined;
361046
361299
  }
361047
361300
  }
361048
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
361301
+ /** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
361049
361302
  /* c8 ignore next 3 */
361050
361303
  dispose() {
361051
361304
  this[Symbol.dispose]();
@@ -361179,7 +361432,7 @@ class PresentationManager {
361179
361432
  }
361180
361433
  /**
361181
361434
  * Retrieves nodes.
361182
- * @deprecated in 4.5 - will not be removed until after 2026-06-13. Use [[getNodesIterator]] instead.
361435
+ * @deprecated in 4.5 - might be removed in next major version. Use [[getNodesIterator]] instead.
361183
361436
  */
361184
361437
  async getNodes(requestOptions) {
361185
361438
  const result = await this.getNodesIterator(requestOptions);
@@ -361198,7 +361451,7 @@ class PresentationManager {
361198
361451
  }
361199
361452
  /**
361200
361453
  * Retrieves total nodes count and a single page of nodes.
361201
- * @deprecated in 4.5 - will not be removed until after 2026-06-13. Use [[getNodesIterator]] instead.
361454
+ * @deprecated in 4.5 - might be removed in next major version. Use [[getNodesIterator]] instead.
361202
361455
  */
361203
361456
  async getNodesAndCount(requestOptions) {
361204
361457
  const result = await this.getNodesIterator(requestOptions);
@@ -361359,7 +361612,7 @@ class PresentationManager {
361359
361612
  }
361360
361613
  /**
361361
361614
  * Retrieves content which consists of a content descriptor and a page of records.
361362
- * @deprecated in 4.5 - will not be removed until after 2026-06-13. Use [[getContentIterator]] instead.
361615
+ * @deprecated in 4.5 - might be removed in next major version. Use [[getContentIterator]] instead.
361363
361616
  */
361364
361617
  async getContent(requestOptions) {
361365
361618
  // eslint-disable-next-line @typescript-eslint/no-deprecated
@@ -361367,7 +361620,7 @@ class PresentationManager {
361367
361620
  }
361368
361621
  /**
361369
361622
  * Retrieves content set size and content which consists of a content descriptor and a page of records.
361370
- * @deprecated in 4.5 - will not be removed until after 2026-06-13. Use [[getContentIterator]] instead.
361623
+ * @deprecated in 4.5 - might be removed in next major version. Use [[getContentIterator]] instead.
361371
361624
  */
361372
361625
  async getContentAndSize(requestOptions) {
361373
361626
  const response = await this.getContentIterator(requestOptions);
@@ -361404,7 +361657,7 @@ class PresentationManager {
361404
361657
  }
361405
361658
  /**
361406
361659
  * Retrieves distinct values of specific field from the content.
361407
- * @deprecated in 4.5 - will not be removed until after 2026-06-13. Use [[getDistinctValuesIterator]] instead.
361660
+ * @deprecated in 4.5 - might be removed in next major version. Use [[getDistinctValuesIterator]] instead.
361408
361661
  */
361409
361662
  async getPagedDistinctValues(requestOptions) {
361410
361663
  const result = await this.getDistinctValuesIterator(requestOptions);
@@ -361493,7 +361746,7 @@ class PresentationManager {
361493
361746
  }
361494
361747
  /**
361495
361748
  * Retrieves display label definition of specific items.
361496
- * @deprecated in 4.5 - will not be removed until after 2026-06-13. Use [[getDisplayLabelDefinitionsIterator]] instead.
361749
+ * @deprecated in 4.5 - might be removed in next major version. Use [[getDisplayLabelDefinitionsIterator]] instead.
361497
361750
  */
361498
361751
  async getDisplayLabelDefinitions(requestOptions) {
361499
361752
  const { items } = await this.getDisplayLabelDefinitionsIterator(requestOptions);
@@ -362059,14 +362312,14 @@ class FavoritePropertiesManager {
362059
362312
  this.storage.dispose();
362060
362313
  }
362061
362314
  }
362062
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
362315
+ /** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
362063
362316
  /* c8 ignore next 3 */
362064
362317
  dispose() {
362065
362318
  this[Symbol.dispose]();
362066
362319
  }
362067
362320
  /**
362068
362321
  * Initialize favorite properties for the provided IModelConnection.
362069
- * @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]].
362322
+ * @deprecated in 4.5 - might be removed in next major version. Initialization is performed automatically by all async methods and only needed for deprecated [[FavoritePropertiesManager.has]] and [[FavoritePropertiesManager.sortFields]].
362070
362323
  */
362071
362324
  initializeConnection = async (imodel) => {
362072
362325
  const imodelId = imodel.iModelId;
@@ -362276,7 +362529,7 @@ class FavoritePropertiesManager {
362276
362529
  * @param imodel IModelConnection.
362277
362530
  * @param scope FavoritePropertiesScope to check for favorite properties. It also checks the more general scopes.
362278
362531
  * @note `initializeConnection` must be called with the `imodel` before calling this function.
362279
- * @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]].
362532
+ * @deprecated in 4.5 - might be removed in next major version. Use [[FavoritePropertiesManager.hasAsync]] instead. This method is not async, therefore it requires early initialization by calling [[FavoritePropertiesManager.initializeConnection]].
362280
362533
  */
362281
362534
  has(field, imodel, scope) {
362282
362535
  this.validateInitialization(imodel);
@@ -362304,7 +362557,7 @@ class FavoritePropertiesManager {
362304
362557
  * @param imodel IModelConnection.
362305
362558
  * @param fields Array of Field's that needs to be sorted.
362306
362559
  * @note `initializeConnection` must be called with the `imodel` before calling this function.
362307
- * @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]].
362560
+ * @deprecated in 4.5 - might be removed in next major version. Use [[FavoritePropertiesManager.sortFieldsAsync]] instead. This method is not async, therefore it requires early initialization by calling [[FavoritePropertiesManager.initializeConnection]].
362308
362561
  */
362309
362562
  sortFields = (imodel, fields) => {
362310
362563
  this.validateInitialization(imodel);
@@ -362980,7 +363233,7 @@ const HILITE_RULESET = HiliteRules_json_1.default;
362980
363233
  * supplied `KeySet`.
362981
363234
  *
362982
363235
  * @public
362983
- * @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.
363236
+ * @deprecated in 5.0 - might be removed in next major version. Use `HiliteSetProvider` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md#hilite-sets) package instead.
362984
363237
  */
362985
363238
  class HiliteSetProvider {
362986
363239
  _imodel;
@@ -363140,7 +363393,7 @@ const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../cor
363140
363393
  /**
363141
363394
  * An event broadcasted on selection changes
363142
363395
  * @public
363143
- * @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.
363396
+ * @deprecated in 5.0 - might be removed in next major version. Use `Event<StorageSelectionChangesListener>` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md) package instead.
363144
363397
  */
363145
363398
  class SelectionChangeEvent extends core_bentley_1.BeEvent {
363146
363399
  }
@@ -363148,7 +363401,7 @@ exports.SelectionChangeEvent = SelectionChangeEvent;
363148
363401
  /**
363149
363402
  * The type of selection change
363150
363403
  * @public
363151
- * @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.
363404
+ * @deprecated in 5.0 - might be removed in next major version. Use `StorageSelectionChangeType` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md) package instead.
363152
363405
  */
363153
363406
  var SelectionChangeType;
363154
363407
  (function (SelectionChangeType) {
@@ -363189,7 +363442,7 @@ const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../cor
363189
363442
  * internal the selection state.
363190
363443
  *
363191
363444
  * @public
363192
- * @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.
363445
+ * @deprecated in 5.0 - might be removed in next major version. Use `SelectionStorage` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md#basic-usage) package instead.
363193
363446
  */
363194
363447
  class SelectionHandler {
363195
363448
  _inSelect;
@@ -363227,7 +363480,7 @@ class SelectionHandler {
363227
363480
  [Symbol.dispose]() {
363228
363481
  this._disposables.dispose();
363229
363482
  }
363230
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
363483
+ /** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
363231
363484
  /* c8 ignore next 3 */
363232
363485
  dispose() {
363233
363486
  this[Symbol.dispose]();
@@ -363332,7 +363585,7 @@ const presentation_common_1 = __webpack_require__(/*! @itwin/presentation-common
363332
363585
  /**
363333
363586
  * Helper class for working with selection.
363334
363587
  * @public
363335
- * @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)
363588
+ * @deprecated in 5.0 - might be removed in next major version. This is unnecessary after switching to [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md)
363336
363589
  * package. A similar method to this in the new system is `Selectables.load()`.
363337
363590
  */
363338
363591
  class SelectionHelper {
@@ -363451,7 +363704,7 @@ const SelectionScopesManager_js_1 = __webpack_require__(/*! ./SelectionScopesMan
363451
363704
  /**
363452
363705
  * The selection manager which stores the overall selection.
363453
363706
  * @public
363454
- * @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.
363707
+ * @deprecated in 5.0 - might be removed in next major version. Use `SelectionStorage` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md) package instead.
363455
363708
  */
363456
363709
  class SelectionManager {
363457
363710
  _imodelKeyFactory;
@@ -363494,7 +363747,7 @@ class SelectionManager {
363494
363747
  this._selectionEventsSubscription.unsubscribe();
363495
363748
  this._listeners.forEach((dispose) => dispose());
363496
363749
  }
363497
- /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
363750
+ /** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
363498
363751
  /* c8 ignore next 3 */
363499
363752
  dispose() {
363500
363753
  this[Symbol.dispose]();
@@ -364149,7 +364402,7 @@ const presentation_common_1 = __webpack_require__(/*! @itwin/presentation-common
364149
364402
  * and can compute logical selection based on element IDs and selection scope.
364150
364403
  *
364151
364404
  * @public
364152
- * @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.
364405
+ * @deprecated in 5.0 - might be removed in next major version. Use `computeSelection` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md#selection-scopes) package instead.
364153
364406
  */
364154
364407
  class SelectionScopesManager {
364155
364408
  _rpcRequestsHandler;
@@ -364217,7 +364470,7 @@ exports.SelectionScopesManager = SelectionScopesManager;
364217
364470
  * calculating selection with scope.
364218
364471
  *
364219
364472
  * @public
364220
- * @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.
364473
+ * @deprecated in 5.0 - might be removed in next major version. Use `computeSelection` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md#selection-scopes) package instead.
364221
364474
  */
364222
364475
  function createSelectionScopeProps(scope) {
364223
364476
  if (!scope) {
@@ -375759,7 +376012,7 @@ var loadLanguages = instance.loadLanguages;
375759
376012
  /***/ ((module) => {
375760
376013
 
375761
376014
  "use strict";
375762
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.12.0-dev.1","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s webpackWorkers && npm run -s copy:workers && npm run -s copy:draco","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2022 --outDir lib/esm","clean":"rimraf -g lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","copy:draco":"cpx \\"./node_modules/@loaders.gl/draco/dist/libs/*\\" ./lib/public/scripts","docs":"betools docs --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts && npm run -s extract","extract":"betools extract --fileExt=ts --extractFrom=./src/test/example-code --recursive --out=../../generated-docs/extract","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-deprecation":"eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \\"./src/**/*.ts\\"","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2 && npm run -s webpackTestWorker","webpackTestWorker":"webpack --config ./src/test/worker/webpack.config.js 1>&2 && cpx \\"./lib/test/test-worker.js\\" ./lib/test","webpackWorkers":"webpack --config ./src/workers/ImdlParser/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@bentley/aec-units-schema":"^1.0.3","@bentley/formats-schema":"^1.0.0","@bentley/units-schema":"^1.0.10","@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*","@itwin/object-storage-core":"^3.0.4","@itwin/eslint-plugin":"^6.0.0","@types/chai-as-promised":"^7","@types/draco3d":"^1.4.10","@types/node":"~20.17.0","@types/sinon":"^17.0.2","@vitest/browser-playwright":"^4.1.8","@vitest/coverage-v8":"^4.1.8","cpx2":"^8.0.0","eslint":"^9.31.0","glob":"^10.5.0","playwright":"~1.56.1","rimraf":"^6.0.1","sinon":"^17.0.2","source-map-loader":"^5.0.0","typescript":"~5.6.2","vitest":"^4.1.8","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"2.2.0","webpack":"^5.97.1"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/core-i18n":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"~4.3.4","@loaders.gl/draco":"~4.3.4","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
376015
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.12.0-dev.10","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s webpackWorkers && npm run -s copy:workers && npm run -s copy:draco","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2022 --outDir lib/esm","clean":"rimraf -g lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","copy:draco":"cpx \\"./node_modules/@loaders.gl/draco/dist/libs/*\\" ./lib/public/scripts","docs":"betools docs --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts && npm run -s extract","extract":"betools extract --fileExt=ts --extractFrom=./src/test/example-code --recursive --out=../../generated-docs/extract","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-deprecation":"eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \\"./src/**/*.ts\\"","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2 && npm run -s webpackTestWorker","webpackTestWorker":"webpack --config ./src/test/worker/webpack.config.js 1>&2 && cpx \\"./lib/test/test-worker.js\\" ./lib/test","webpackWorkers":"webpack --config ./src/workers/ImdlParser/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@bentley/aec-units-schema":"^1.0.3","@bentley/formats-schema":"^1.0.0","@bentley/units-schema":"^1.0.10","@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*","@itwin/object-storage-core":"^3.0.4","@itwin/eslint-plugin":"^6.0.0","@types/chai-as-promised":"^7","@types/draco3d":"^1.4.10","@types/node":"~20.17.0","@types/sinon":"^17.0.2","@vitest/browser-playwright":"^4.1.8","@vitest/coverage-v8":"^4.1.8","cpx2":"^8.0.0","eslint":"^9.31.0","glob":"^10.5.0","playwright":"~1.56.1","rimraf":"^6.0.1","sinon":"^17.0.2","source-map-loader":"^5.0.0","typescript":"~5.6.2","vitest":"^4.1.8","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"2.2.0","webpack":"^5.97.1"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/core-i18n":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"~4.3.4","@loaders.gl/draco":"~4.3.4","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
375763
376016
 
375764
376017
  /***/ }),
375765
376018