@itwin/rpcinterface-full-stack-tests 4.10.0-dev.32 → 4.10.0-dev.34

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.
@@ -27181,7 +27181,6 @@ var DbOpcode;
27181
27181
  /** Values for return codes from BeSQLite functions. Consult SQLite documentation for further explanations.
27182
27182
  * @public
27183
27183
  */
27184
- /* eslint-disable @typescript-eslint/naming-convention */
27185
27184
  // Disabling for the rest of the file since eslint does not correctly parse the entire enum, only parts of it
27186
27185
  var DbResult;
27187
27186
  (function (DbResult) {
@@ -27332,7 +27331,6 @@ var DbResult;
27332
27331
  DbResult[DbResult["BE_SQLITE_CONSTRAINT_UNIQUE"] = 2067] = "BE_SQLITE_CONSTRAINT_UNIQUE";
27333
27332
  DbResult[DbResult["BE_SQLITE_CONSTRAINT_VTAB"] = 2323] = "BE_SQLITE_CONSTRAINT_VTAB";
27334
27333
  })(DbResult || (DbResult = {}));
27335
- /* eslint-enable @typescript-eslint/naming-convention */
27336
27334
 
27337
27335
 
27338
27336
  /***/ }),
@@ -28118,14 +28116,14 @@ class ByteStream {
28118
28116
  */
28119
28117
  static fromUint8Array(bytes) {
28120
28118
  const { byteOffset, byteLength } = bytes;
28121
- return new ByteStream(bytes.buffer, { byteOffset, byteLength }); // eslint-disable-line deprecation/deprecation
28119
+ return new ByteStream(bytes.buffer, { byteOffset, byteLength }); // eslint-disable-line @typescript-eslint/no-deprecated
28122
28120
  }
28123
28121
  /** Construct a new ByteStream with the read position set to the beginning.
28124
28122
  * @param buffer The underlying buffer from which data is to be extracted.
28125
28123
  * @param subView If defined, specifies the subset of the underlying buffer's data to use.
28126
28124
  */
28127
28125
  static fromArrayBuffer(buffer, subView) {
28128
- return new ByteStream(buffer, subView); // eslint-disable-line deprecation/deprecation
28126
+ return new ByteStream(buffer, subView); // eslint-disable-line @typescript-eslint/no-deprecated
28129
28127
  }
28130
28128
  /** The number of bytes in this stream */
28131
28129
  get length() {
@@ -29045,7 +29043,6 @@ __webpack_require__.r(__webpack_exports__);
29045
29043
  * @public
29046
29044
  */
29047
29045
  function isIDisposable(obj) {
29048
- // eslint-disable-next-line @typescript-eslint/unbound-method
29049
29046
  return !!obj && (obj instanceof Object) && !!obj.dispose && (typeof obj.dispose === "function");
29050
29047
  }
29051
29048
  /** Convenience function for disposing of a disposable object that may be undefined.
@@ -31505,7 +31502,7 @@ class ProcessDetector {
31505
31502
  * @note This method will return `true` for any frontend running on an iPad, whether it is a user-launched web browser (e.g. Safari) or the frontend of a mobile app.
31506
31503
  */
31507
31504
  static get isIPadBrowser() {
31508
- return this.isBrowserProcess && window.navigator.platform === "iPad" || (window.navigator.platform === "MacIntel" && window.navigator.maxTouchPoints > 0 && !("MSStream" in window)); /* eslint-disable-line deprecation/deprecation */
31505
+ return this.isBrowserProcess && window.navigator.platform === "iPad" || (window.navigator.platform === "MacIntel" && window.navigator.maxTouchPoints > 0 && !("MSStream" in window)); /* eslint-disable-line @typescript-eslint/no-deprecated */
31509
31506
  }
31510
31507
  /** Is this process running in a browser on an iPhone?
31511
31508
  * @note This method will return `true` for any frontend running on an iPhone, whether it is a user-launched web browser (e.g. Safari) or the frontend of a mobile app.
@@ -32393,7 +32390,7 @@ function utf8ToString(utf8) {
32393
32390
  * @public
32394
32391
  */
32395
32392
  function base64StringToUint8Array(base64) {
32396
- return new Uint8Array(atob(base64).split("").map((c) => c.charCodeAt(0))); // eslint-disable-line deprecation/deprecation
32393
+ return new Uint8Array(atob(base64).split("").map((c) => c.charCodeAt(0)));
32397
32394
  }
32398
32395
 
32399
32396
 
@@ -32643,7 +32640,7 @@ function* getFlatEntries(obj, path = "") {
32643
32640
  function flattenObject(obj) {
32644
32641
  return Object.fromEntries(getFlatEntries(obj));
32645
32642
  }
32646
- /* eslint-disable deprecation/deprecation -- lots of self-references here... */
32643
+ /* eslint-disable @typescript-eslint/no-deprecated -- lots of self-references here... */
32647
32644
  /**
32648
32645
  * Enables OpenTelemetry tracing in addition to traditional logging.
32649
32646
  * @public
@@ -32715,7 +32712,7 @@ class Tracing {
32715
32712
  loggerCategory: category,
32716
32713
  });
32717
32714
  }
32718
- catch (_e) { } // avoid throwing random errors (with stack trace mangled by async hooks) when openTelemetry collector doesn't work
32715
+ catch { } // avoid throwing random errors (with stack trace mangled by async hooks) when openTelemetry collector doesn't work
32719
32716
  const spanContext = Tracing._openTelemetry.trace.getSpan(oTelContext)?.spanContext();
32720
32717
  base(category, message, {
32721
32718
  ...serializedMetadata,
@@ -32735,7 +32732,7 @@ class Tracing {
32735
32732
  Tracing._openTelemetry?.trace.getSpan(Tracing._openTelemetry.context.active())?.setAttributes(attributes);
32736
32733
  }
32737
32734
  }
32738
- /* eslint-enable deprecation/deprecation */
32735
+ /* eslint-enable @typescript-eslint/no-deprecated */
32739
32736
 
32740
32737
 
32741
32738
  /***/ }),
@@ -33119,7 +33116,7 @@ class UnexpectedErrors {
33119
33116
  try {
33120
33117
  telemetry(error);
33121
33118
  }
33122
- catch (_) {
33119
+ catch {
33123
33120
  // ignore errors from telemetry trackers
33124
33121
  }
33125
33122
  });
@@ -34200,7 +34197,7 @@ class BackgroundMapProvider {
34200
34197
  }
34201
34198
  /** @internal */
34202
34199
  static fromBackgroundMapProps(props) {
34203
- // eslint-disable-next-line deprecation/deprecation
34200
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
34204
34201
  return this.fromJSON({ name: props.providerName, type: props.providerData?.mapType });
34205
34202
  }
34206
34203
  /** Return true if this provider is equivalent to `other`. */
@@ -34344,9 +34341,9 @@ class BackgroundMapSettings {
34344
34341
  const props = this.toJSON();
34345
34342
  // Preserve deprecated imagery provider properties.
34346
34343
  if ("BingProvider" !== this._provider.name)
34347
- props.providerName = this._provider.name; // eslint-disable-line deprecation/deprecation
34344
+ props.providerName = this._provider.name; // eslint-disable-line @typescript-eslint/no-deprecated
34348
34345
  if (_BackgroundMapProvider__WEBPACK_IMPORTED_MODULE_0__.BackgroundMapType.Hybrid !== this._provider.type)
34349
- props.providerData = { mapType: this._provider.type }; // eslint-disable-line deprecation/deprecation
34346
+ props.providerData = { mapType: this._provider.type }; // eslint-disable-line @typescript-eslint/no-deprecated
34350
34347
  return props;
34351
34348
  }
34352
34349
  /** Returns true if these settings are equivalent to the supplied JSON settings. */
@@ -35616,7 +35613,6 @@ class ColorDef {
35616
35613
  }
35617
35614
  break;
35618
35615
  }
35619
- // eslint-disable-next-line no-cond-assign
35620
35616
  }
35621
35617
  else if (m = /^\#([a-f0-9]+)$/.exec(val)) { // hex color
35622
35618
  const hex = m[1];
@@ -35926,7 +35922,6 @@ class ColorDef {
35926
35922
  const v = 0xff & Math.floor(dvalue * 255 + 0.5);
35927
35923
  let r = 0, b = 0, g = 0;
35928
35924
  switch (hueIntpart) {
35929
- /* eslint-disable max-statements-per-line */
35930
35925
  case 0:
35931
35926
  r = v;
35932
35927
  g = t;
@@ -35952,7 +35947,6 @@ class ColorDef {
35952
35947
  r = v, g = p;
35953
35948
  b = q;
35954
35949
  break; // magenta-ish
35955
- /* eslint-enable max-statements-per-line */
35956
35950
  }
35957
35951
  return ColorDef.from(r, g, b, transparency);
35958
35952
  }
@@ -39123,7 +39117,7 @@ function readElementMeshes(data) {
39123
39117
  if (geom instanceof _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.IndexedPolyface)
39124
39118
  polyfaces.push(geom);
39125
39119
  }
39126
- catch (_) {
39120
+ catch {
39127
39121
  //
39128
39122
  }
39129
39123
  }
@@ -44006,7 +44000,6 @@ __webpack_require__.r(__webpack_exports__);
44006
44000
  /* harmony export */ });
44007
44001
  /* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
44008
44002
  /* harmony import */ var _BackgroundMapProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BackgroundMapProvider */ "../../core/common/lib/esm/BackgroundMapProvider.js");
44009
- /* eslint-disable deprecation/deprecation */
44010
44003
  /*---------------------------------------------------------------------------------------------
44011
44004
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
44012
44005
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -46386,9 +46379,9 @@ class RenderMaterial {
46386
46379
  this._alpha = undefined !== alpha ? clampToNormalizedRange(alpha) : undefined;
46387
46380
  }
46388
46381
  /** Create a RenderMaterial params object using specified key and ColorDef values, as well as an optional texture mapping. */
46389
- // eslint-disable-next-line deprecation/deprecation
46382
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
46390
46383
  static fromColors(key, diffuseColor, specularColor, emissiveColor, reflectColor, textureMap) {
46391
- // eslint-disable-next-line deprecation/deprecation
46384
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
46392
46385
  const materialParams = new Params();
46393
46386
  materialParams.key = key;
46394
46387
  materialParams.diffuseColor = diffuseColor;
@@ -46400,11 +46393,11 @@ class RenderMaterial {
46400
46393
  }
46401
46394
  }
46402
46395
  /** Obtain an immutable instance of a RenderMaterial with all default properties. */
46403
- // eslint-disable-next-line deprecation/deprecation
46396
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
46404
46397
  Params.defaults = new Params();
46405
46398
  RenderMaterial.Params = Params;
46406
46399
  })(RenderMaterial || (RenderMaterial = {}));
46407
- // eslint-disable-next-line deprecation/deprecation
46400
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
46408
46401
  Object.freeze(RenderMaterial.Params.defaults);
46409
46402
 
46410
46403
 
@@ -47787,7 +47780,7 @@ async function handleNotFound(request, status, dispatch) {
47787
47780
  resolve(response);
47788
47781
  }
47789
47782
  catch (err) {
47790
- reject(err);
47783
+ reject(err); // eslint-disable-line @typescript-eslint/prefer-promise-reject-errors
47791
47784
  }
47792
47785
  }, reject);
47793
47786
  });
@@ -49903,7 +49896,6 @@ __webpack_require__.r(__webpack_exports__);
49903
49896
  */
49904
49897
  // cSpell:ignore tweens yoyo catmull
49905
49898
  /* eslint-disable guard-for-in */
49906
- /* eslint-disable @typescript-eslint/prefer-for-of */
49907
49899
  /* eslint-disable @typescript-eslint/naming-convention */
49908
49900
  /** A group of `Tween`s. This class is called `Group` in the tween.js library.
49909
49901
  * @note Unlike tween.js, we do NOT create any global instances of this class
@@ -61799,40 +61791,40 @@ IModelReadRpcInterface.interfaceName = "IModelReadRpcInterface";
61799
61791
  /** The semantic version of the interface. */
61800
61792
  IModelReadRpcInterface.interfaceVersion = "3.7.0";
61801
61793
  __decorate([
61802
- _core_RpcOperation__WEBPACK_IMPORTED_MODULE_4__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.Immutable) // eslint-disable-line deprecation/deprecation
61794
+ _core_RpcOperation__WEBPACK_IMPORTED_MODULE_4__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.Immutable)
61803
61795
  ], IModelReadRpcInterface.prototype, "getConnectionProps", null);
61804
61796
  __decorate([
61805
- _core_RpcOperation__WEBPACK_IMPORTED_MODULE_4__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.Immutable) // eslint-disable-line deprecation/deprecation
61797
+ _core_RpcOperation__WEBPACK_IMPORTED_MODULE_4__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.Immutable)
61806
61798
  ], IModelReadRpcInterface.prototype, "querySubCategories", null);
61807
61799
  __decorate([
61808
- _core_RpcOperation__WEBPACK_IMPORTED_MODULE_4__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.Immutable) // eslint-disable-line deprecation/deprecation
61800
+ _core_RpcOperation__WEBPACK_IMPORTED_MODULE_4__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.Immutable)
61809
61801
  ], IModelReadRpcInterface.prototype, "queryAllUsedSpatialSubCategories", null);
61810
61802
  __decorate([
61811
- _core_RpcOperation__WEBPACK_IMPORTED_MODULE_4__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.Immutable) // eslint-disable-line deprecation/deprecation
61803
+ _core_RpcOperation__WEBPACK_IMPORTED_MODULE_4__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.Immutable)
61812
61804
  ], IModelReadRpcInterface.prototype, "getModelProps", null);
61813
61805
  __decorate([
61814
- _core_RpcOperation__WEBPACK_IMPORTED_MODULE_4__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.Immutable) // eslint-disable-line deprecation/deprecation
61806
+ _core_RpcOperation__WEBPACK_IMPORTED_MODULE_4__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.Immutable)
61815
61807
  ], IModelReadRpcInterface.prototype, "queryModelRanges", null);
61816
61808
  __decorate([
61817
- _core_RpcOperation__WEBPACK_IMPORTED_MODULE_4__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.Immutable) // eslint-disable-line deprecation/deprecation
61809
+ _core_RpcOperation__WEBPACK_IMPORTED_MODULE_4__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.Immutable)
61818
61810
  ], IModelReadRpcInterface.prototype, "queryModelExtents", null);
61819
61811
  __decorate([
61820
- _core_RpcOperation__WEBPACK_IMPORTED_MODULE_4__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.Immutable) // eslint-disable-line deprecation/deprecation
61812
+ _core_RpcOperation__WEBPACK_IMPORTED_MODULE_4__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.Immutable)
61821
61813
  ], IModelReadRpcInterface.prototype, "getClassHierarchy", null);
61822
61814
  __decorate([
61823
- _core_RpcOperation__WEBPACK_IMPORTED_MODULE_4__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.Immutable) // eslint-disable-line deprecation/deprecation
61815
+ _core_RpcOperation__WEBPACK_IMPORTED_MODULE_4__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.Immutable)
61824
61816
  ], IModelReadRpcInterface.prototype, "getViewStateData", null);
61825
61817
  __decorate([
61826
- _core_RpcOperation__WEBPACK_IMPORTED_MODULE_4__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.Immutable) // eslint-disable-line deprecation/deprecation
61818
+ _core_RpcOperation__WEBPACK_IMPORTED_MODULE_4__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.Immutable)
61827
61819
  ], IModelReadRpcInterface.prototype, "getDefaultViewId", null);
61828
61820
  __decorate([
61829
- _core_RpcOperation__WEBPACK_IMPORTED_MODULE_4__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.Immutable) // eslint-disable-line deprecation/deprecation
61821
+ _core_RpcOperation__WEBPACK_IMPORTED_MODULE_4__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.Immutable)
61830
61822
  ], IModelReadRpcInterface.prototype, "getCustomViewState3dData", null);
61831
61823
  __decorate([
61832
- _core_RpcOperation__WEBPACK_IMPORTED_MODULE_4__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.Immutable) // eslint-disable-line deprecation/deprecation
61824
+ _core_RpcOperation__WEBPACK_IMPORTED_MODULE_4__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.Immutable)
61833
61825
  ], IModelReadRpcInterface.prototype, "hydrateViewState", null);
61834
61826
  __decorate([
61835
- _core_RpcOperation__WEBPACK_IMPORTED_MODULE_4__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.Immutable) // eslint-disable-line deprecation/deprecation
61827
+ _core_RpcOperation__WEBPACK_IMPORTED_MODULE_4__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcResponseCacheControl.Immutable)
61836
61828
  ], IModelReadRpcInterface.prototype, "getGeoCoordinatesFromIModelCoordinates", null);
61837
61829
 
61838
61830
 
@@ -61926,7 +61918,7 @@ IModelTileRpcInterface.interfaceName = "IModelTileRpcInterface";
61926
61918
  /** The semantic version of the interface. */
61927
61919
  IModelTileRpcInterface.interfaceVersion = "3.2.0";
61928
61920
  __decorate([
61929
- _core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcResponseCacheControl.Immutable) // eslint-disable-line deprecation/deprecation
61921
+ _core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcResponseCacheControl.Immutable)
61930
61922
  ], IModelTileRpcInterface.prototype, "requestTileTreeProps", null);
61931
61923
 
61932
61924
 
@@ -62017,7 +62009,6 @@ __webpack_require__.r(__webpack_exports__);
62017
62009
  * @module RpcInterface
62018
62010
  */
62019
62011
 
62020
- /* eslint-disable deprecation/deprecation */
62021
62012
  /** An RpcManager that uses RpcDefaultConfiguration/RpcDirectProtocol to make client stubs invoke
62022
62013
  * registered server impls as direct method calls within the same JavaScript context. In other words,
62023
62014
  * TestRpcManager sets up a protocol that uses our remoting mechanism but cuts out the communication
@@ -62082,7 +62073,7 @@ __webpack_require__.r(__webpack_exports__);
62082
62073
  */
62083
62074
  class WipRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_0__.RpcInterface {
62084
62075
  /** Returns the IModelReadRpcInterface instance for the frontend. */
62085
- static getClient() { return _RpcManager__WEBPACK_IMPORTED_MODULE_1__.RpcManager.getClientForInterface(WipRpcInterface); } // eslint-disable-line deprecation/deprecation
62076
+ static getClient() { return _RpcManager__WEBPACK_IMPORTED_MODULE_1__.RpcManager.getClientForInterface(WipRpcInterface); } // eslint-disable-line @typescript-eslint/no-deprecated
62086
62077
  /*===========================================================================================
62087
62078
  NOTE: Any add/remove/change to the methods below requires an update of the interface version.
62088
62079
  NOTE: Please consult the README in this folder for the semantic versioning rules.
@@ -62297,7 +62288,7 @@ class RpcDirectRequest extends _RpcRequest__WEBPACK_IMPORTED_MODULE_4__.RpcReque
62297
62288
  resolve(this.fulfillment.status);
62298
62289
  }
62299
62290
  catch (err) {
62300
- reject(err);
62291
+ reject(err); // eslint-disable-line @typescript-eslint/prefer-promise-reject-errors
62301
62292
  }
62302
62293
  });
62303
62294
  }
@@ -62336,7 +62327,7 @@ __webpack_require__.r(__webpack_exports__);
62336
62327
  /** @packageDocumentation
62337
62328
  * @module RpcInterface
62338
62329
  */
62339
- /* eslint-disable deprecation/deprecation */
62330
+ /* eslint-disable @typescript-eslint/no-deprecated */
62340
62331
  /** Describes available options for RPC response caching.
62341
62332
  * @public
62342
62333
  */
@@ -62476,7 +62467,6 @@ var __setFunctionName = (undefined && undefined.__setFunctionName) || function (
62476
62467
 
62477
62468
 
62478
62469
 
62479
- /* eslint-disable deprecation/deprecation */
62480
62470
  /** An RPC operation control response.
62481
62471
  * @public
62482
62472
  */
@@ -62844,7 +62834,7 @@ class RpcInvocation {
62844
62834
  impl[_RpcRegistry__WEBPACK_IMPORTED_MODULE_10__.CURRENT_INVOCATION] = undefined;
62845
62835
  }
62846
62836
  }
62847
- catch (_err) { }
62837
+ catch { }
62848
62838
  return fulfillment;
62849
62839
  }
62850
62840
  lookupOperationFunction(implementation) {
@@ -62908,7 +62898,7 @@ __webpack_require__.r(__webpack_exports__);
62908
62898
  */
62909
62899
 
62910
62900
  // cspell:ignore unmarshal
62911
- /* eslint-disable deprecation/deprecation */
62901
+ /* eslint-disable @typescript-eslint/no-deprecated */
62912
62902
  function isBuffer(val) {
62913
62903
  return val && typeof (val.constructor) !== "undefined" && typeof (val.constructor.isBuffer) === "function" && val.constructor.isBuffer(val);
62914
62904
  }
@@ -63081,7 +63071,6 @@ __webpack_require__.r(__webpack_exports__);
63081
63071
 
63082
63072
 
63083
63073
 
63084
- /* eslint-disable deprecation/deprecation */
63085
63074
  /** The policy for an RPC operation.
63086
63075
  * @internal
63087
63076
  */
@@ -63225,7 +63214,7 @@ __webpack_require__.r(__webpack_exports__);
63225
63214
  */
63226
63215
 
63227
63216
 
63228
- /* eslint-disable deprecation/deprecation */
63217
+ /* eslint-disable @typescript-eslint/no-deprecated */
63229
63218
  /** Manages pending RPC requests and responses.
63230
63219
  * @internal
63231
63220
  */
@@ -63637,7 +63626,6 @@ __webpack_require__.r(__webpack_exports__);
63637
63626
 
63638
63627
 
63639
63628
 
63640
- /* eslint-disable deprecation/deprecation */
63641
63629
  /** @internal */
63642
63630
  const REGISTRY = Symbol.for("@itwin/core-common/RpcRegistry");
63643
63631
  /** @internal */
@@ -63780,7 +63768,6 @@ class RpcRegistry {
63780
63768
  }
63781
63769
  interceptOperation(proxy, operation) {
63782
63770
  const clientFunction = proxy[operation];
63783
- // eslint-disable-next-line prefer-arrow/prefer-arrow-functions
63784
63771
  proxy[operation] = function () {
63785
63772
  const args = Array.from(arguments);
63786
63773
  args.push(operation);
@@ -63858,7 +63845,7 @@ __webpack_require__.r(__webpack_exports__);
63858
63845
 
63859
63846
  /* eslint-disable @typescript-eslint/naming-convention */
63860
63847
  // cspell:ignore csrf
63861
- /* eslint-disable deprecation/deprecation */
63848
+ /* eslint-disable @typescript-eslint/no-deprecated */
63862
63849
  /** @internal */
63863
63850
  const aggregateLoad = { lastRequest: 0, lastResponse: 0 };
63864
63851
  /** @internal */
@@ -63887,7 +63874,6 @@ class Cancellable {
63887
63874
  cancel() { }
63888
63875
  constructor(task) {
63889
63876
  this.promise = new Promise((resolve, reject) => {
63890
- // eslint-disable-next-line @typescript-eslint/unbound-method
63891
63877
  this.cancel = () => resolve(undefined);
63892
63878
  task.then(resolve, reject);
63893
63879
  });
@@ -64351,7 +64337,6 @@ __webpack_require__.r(__webpack_exports__);
64351
64337
  /** @packageDocumentation
64352
64338
  * @module RpcInterface
64353
64339
  */
64354
- /* eslint-disable deprecation/deprecation */
64355
64340
  /** @beta */
64356
64341
  class RpcRoutingToken {
64357
64342
  static generate(debugLabel = "") {
@@ -64398,7 +64383,7 @@ __webpack_require__.r(__webpack_exports__);
64398
64383
 
64399
64384
 
64400
64385
 
64401
- /* eslint-disable deprecation/deprecation */
64386
+ /* eslint-disable @typescript-eslint/no-deprecated */
64402
64387
  class SessionConfiguration extends _RpcConfiguration__WEBPACK_IMPORTED_MODULE_0__.RpcConfiguration {
64403
64388
  constructor() {
64404
64389
  super(...arguments);
@@ -64566,7 +64551,6 @@ __webpack_require__.r(__webpack_exports__);
64566
64551
 
64567
64552
 
64568
64553
 
64569
- /* eslint-disable deprecation/deprecation */
64570
64554
  var AppMode;
64571
64555
  (function (AppMode) {
64572
64556
  AppMode["MilestoneReview"] = "1";
@@ -64860,7 +64844,7 @@ __webpack_require__.r(__webpack_exports__);
64860
64844
 
64861
64845
 
64862
64846
 
64863
- /* eslint-disable deprecation/deprecation */
64847
+ /* eslint-disable @typescript-eslint/no-deprecated */
64864
64848
  /** @internal */
64865
64849
  const BACKEND = Symbol.for("@itwin.WebAppRpcLogging.Backend");
64866
64850
  const FRONTEND = Symbol.for("@itwin.WebAppRpcLogging.Frontend");
@@ -65344,7 +65328,7 @@ class WebAppRpcRequest extends _core_RpcRequest__WEBPACK_IMPORTED_MODULE_4__.Rpc
65344
65328
  }
65345
65329
  setupTextTransport(parameters) {
65346
65330
  if (this.operation.policy.allowResponseCaching(this)) {
65347
- const encodedBody = btoa(parameters.objects); // eslint-disable-line deprecation/deprecation
65331
+ const encodedBody = btoa(parameters.objects);
65348
65332
  if (encodedBody.length <= _a.maxUrlComponentSize) {
65349
65333
  this._request.method = "get";
65350
65334
  this._request.body = undefined;
@@ -65426,7 +65410,6 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
65426
65410
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
65427
65411
  */
65428
65412
 
65429
- /* eslint-disable deprecation/deprecation */
65430
65413
  const START = 0;
65431
65414
  const START_BOUNDARY = 1;
65432
65415
  const HEADER_FIELD_START = 2;
@@ -66481,7 +66464,7 @@ class Parser {
66481
66464
  try {
66482
66465
  parsedContentId = ContentIdProvider.create(true, options).specFromId(contentId);
66483
66466
  }
66484
- catch (e) {
66467
+ catch {
66485
66468
  this.reject("Invalid content Id");
66486
66469
  }
66487
66470
  if (Object.keys(parsedContentId).some((key) => parsedContentId.hasOwnProperty(key) && typeof parsedContentId[key] === "number" && !Number.isFinite(parsedContentId[key])))
@@ -73248,7 +73231,7 @@ class OverrideFormat {
73248
73231
  let prevPos = 1; // Initial position is the character directly after the opening '(' in the override string.
73249
73232
  let currPos;
73250
73233
  // TODO need to include `,` as a valid search argument.
73251
- while (-1 !== (currPos = overrideString.indexOf(")", prevPos))) { // eslint-disable-line
73234
+ while (-1 !== (currPos = overrideString.indexOf(")", prevPos))) {
73252
73235
  tokens.push(overrideString.substring(prevPos, currPos));
73253
73236
  prevPos = currPos + 1;
73254
73237
  }
@@ -76881,12 +76864,12 @@ class SchemaUnitProvider {
76881
76864
  try {
76882
76865
  foundUnit = await this.findUnitByDisplayLabel(findLabel, findSchema, findPhenomenon, findUnitSystem);
76883
76866
  }
76884
- catch (err) {
76867
+ catch {
76885
76868
  // If there is no Unit with display label that matches label, then check for alternate display labels that may match
76886
76869
  foundUnit = await this.findUnitByAltDisplayLabel(findLabel, findSchema, findPhenomenon, findUnitSystem);
76887
76870
  }
76888
76871
  }
76889
- catch (err) {
76872
+ catch {
76890
76873
  throw new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyError(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.ERROR, "Cannot find unit with label", () => {
76891
76874
  return { unitLabel };
76892
76875
  });
@@ -77992,7 +77975,6 @@ class AccuDraw {
77992
77975
  let rMatrix;
77993
77976
  let myAxes;
77994
77977
  const vecP = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d.createZero();
77995
- /* eslint-disable max-statements-per-line */
77996
77978
  switch (this.flags.baseRotation) {
77997
77979
  case RotationMode.Top:
77998
77980
  switch (whichVec) {
@@ -78072,7 +78054,6 @@ class AccuDraw {
78072
78054
  }
78073
78055
  break;
78074
78056
  }
78075
- /* eslint-enable max-statements-per-line */
78076
78057
  return vecP;
78077
78058
  }
78078
78059
  getBestViewedRotationFromXVector(rotation, vp) {
@@ -79414,7 +79395,7 @@ class AccuDraw {
79414
79395
  applyDistanceRoundOff(distance, vp) {
79415
79396
  if (!this._distanceRoundOff.active || !this._distanceRoundOff.units.size)
79416
79397
  return undefined;
79417
- let roundValue = this._distanceRoundOff.units.values().next().value; // eslint-disable-line @typescript-eslint/no-non-null-assertion
79398
+ let roundValue = this._distanceRoundOff.units.values().next().value;
79418
79399
  if (this._distanceRoundOff.units.size > 1) {
79419
79400
  // NOTE: Set isn't ordered, find smallest entry...
79420
79401
  this._distanceRoundOff.units.forEach((thisRoundValue) => {
@@ -79438,7 +79419,7 @@ class AccuDraw {
79438
79419
  applyAngleRoundOff(angle, distance, vp) {
79439
79420
  if (!this._angleRoundOff.active || !this._angleRoundOff.units.size)
79440
79421
  return undefined;
79441
- let roundValue = this._angleRoundOff.units.values().next().value; // eslint-disable-line @typescript-eslint/no-non-null-assertion
79422
+ let roundValue = this._angleRoundOff.units.values().next().value;
79442
79423
  if (this._angleRoundOff.units.size > 1) {
79443
79424
  // NOTE: Set isn't ordered, find smallest entry...
79444
79425
  this._angleRoundOff.units.forEach((thisRoundValue) => {
@@ -80760,7 +80741,7 @@ class AccuSnap {
80760
80741
  if (this._toolTipPromise === promise) // have we abandoned this request while awaiting getToolTip?
80761
80742
  this.showLocateMessage(viewPt, vp, msg);
80762
80743
  }
80763
- catch (error) { } // happens if getToolTip was canceled
80744
+ catch { } // happens if getToolTip was canceled
80764
80745
  });
80765
80746
  }
80766
80747
  showLocateMessage(viewPt, vp, msg) {
@@ -81104,7 +81085,7 @@ class AccuSnap {
81104
81085
  const intersect = new _HitDetail__WEBPACK_IMPORTED_MODULE_3__.IntersectDetail(snap, snap.heat, snap.snapPoint, otherPrimitive, result.intersectId);
81105
81086
  return intersect;
81106
81087
  }
81107
- catch (_err) {
81088
+ catch {
81108
81089
  if (out)
81109
81090
  out.snapStatus = _ElementLocateManager__WEBPACK_IMPORTED_MODULE_2__.SnapStatus.Aborted;
81110
81091
  return undefined;
@@ -82484,7 +82465,7 @@ class BingLocationProvider {
82484
82465
  },
82485
82466
  };
82486
82467
  }
82487
- catch (error) {
82468
+ catch {
82488
82469
  return undefined;
82489
82470
  }
82490
82471
  }
@@ -82757,11 +82738,11 @@ class BriefcaseConnection extends _IModelConnection__WEBPACK_IMPORTED_MODULE_5__
82757
82738
  */
82758
82739
  async pullChanges(toIndex, options) {
82759
82740
  const removeListeners = [];
82760
- // eslint-disable-next-line deprecation/deprecation
82741
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
82761
82742
  const shouldReportProgress = !!options?.progressCallback || !!options?.downloadProgressCallback;
82762
82743
  if (shouldReportProgress) {
82763
82744
  const handleProgress = (_evt, data) => {
82764
- // eslint-disable-next-line deprecation/deprecation
82745
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
82765
82746
  options?.progressCallback?.(data);
82766
82747
  options?.downloadProgressCallback?.(data);
82767
82748
  };
@@ -83434,7 +83415,7 @@ class CheckpointConnection extends _IModelConnection__WEBPACK_IMPORTED_MODULE_4_
83434
83415
  _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logTrace(loggerCategory, `IModelConnection.open`, iModelToken);
83435
83416
  const startTime = Date.now();
83436
83417
  const removeListener = _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RpcRequest.events.addListener((type, request) => {
83437
- if (type !== _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RpcRequestEvent.PendingUpdateReceived) // eslint-disable-line deprecation/deprecation
83418
+ if (type !== _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RpcRequestEvent.PendingUpdateReceived) // eslint-disable-line @typescript-eslint/no-deprecated
83438
83419
  return;
83439
83420
  if (!(openForReadOperation && request.operation === openForReadOperation))
83440
83421
  return;
@@ -83888,11 +83869,11 @@ class DisplayStyleState extends _EntityState__WEBPACK_IMPORTED_MODULE_6__.Elemen
83888
83869
  if (script)
83889
83870
  newState = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.RenderSchedule.ScriptReference(this.id, script);
83890
83871
  }
83891
- catch (_) {
83872
+ catch {
83892
83873
  // schedule state is undefined.
83893
83874
  }
83894
83875
  if (newState !== this._scriptReference) {
83895
- this.onScheduleScriptReferenceChanged.raiseEvent(newState); // eslint-disable-line deprecation/deprecation
83876
+ this.onScheduleScriptReferenceChanged.raiseEvent(newState); // eslint-disable-line @typescript-eslint/no-deprecated
83896
83877
  this.onScheduleScriptChanged.raiseEvent(newState?.script);
83897
83878
  this._scriptReference = newState;
83898
83879
  }
@@ -83913,13 +83894,13 @@ class DisplayStyleState extends _EntityState__WEBPACK_IMPORTED_MODULE_6__.Elemen
83913
83894
  newState = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.RenderSchedule.ScriptReference(timelineId, script);
83914
83895
  }
83915
83896
  }
83916
- catch (_) {
83897
+ catch {
83917
83898
  // schedule state is undefined.
83918
83899
  }
83919
83900
  }
83920
83901
  this._queryRenderTimelinePropsPromise = undefined;
83921
83902
  if (newState !== this._scriptReference) {
83922
- this.onScheduleScriptReferenceChanged.raiseEvent(newState); // eslint-disable-line deprecation/deprecation
83903
+ this.onScheduleScriptReferenceChanged.raiseEvent(newState); // eslint-disable-line @typescript-eslint/no-deprecated
83923
83904
  this.onScheduleScriptChanged.raiseEvent(newState?.script);
83924
83905
  this._scriptReference = newState;
83925
83906
  }
@@ -83930,7 +83911,7 @@ class DisplayStyleState extends _EntityState__WEBPACK_IMPORTED_MODULE_6__.Elemen
83930
83911
  const omitScriptElementIds = !_IModelApp__WEBPACK_IMPORTED_MODULE_7__.IModelApp.tileAdmin.enableFrontendScheduleScripts;
83931
83912
  return await this.iModel.elements.loadProps(timelineId, { renderTimeline: { omitScriptElementIds } });
83932
83913
  }
83933
- catch (_) {
83914
+ catch {
83934
83915
  return undefined;
83935
83916
  }
83936
83917
  }
@@ -84053,7 +84034,7 @@ class DisplayStyleState extends _EntityState__WEBPACK_IMPORTED_MODULE_6__.Elemen
84053
84034
  return;
84054
84035
  try {
84055
84036
  const scriptRef = script ? new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.RenderSchedule.ScriptReference(script) : undefined;
84056
- this.onScheduleScriptReferenceChanged.raiseEvent(scriptRef); // eslint-disable-line deprecation/deprecation
84037
+ this.onScheduleScriptReferenceChanged.raiseEvent(scriptRef); // eslint-disable-line @typescript-eslint/no-deprecated
84057
84038
  this.onScheduleScriptChanged.raiseEvent(script);
84058
84039
  this._scriptReference = scriptRef;
84059
84040
  this._assigningScript = true;
@@ -84926,7 +84907,7 @@ class DrawingViewState extends _ViewState__WEBPACK_IMPORTED_MODULE_14__.ViewStat
84926
84907
  break;
84927
84908
  }
84928
84909
  }
84929
- catch (_ex) {
84910
+ catch {
84930
84911
  // The version of BisCore ECSchema in the iModel is probably too old to contain the SectionDrawing ECClass.
84931
84912
  }
84932
84913
  return { spatialView, displaySpatialView, drawingToSpatialTransform };
@@ -86294,7 +86275,7 @@ class EnvironmentDecorations {
86294
86275
  else
86295
86276
  idToImage.set(spec, image);
86296
86277
  }
86297
- // eslint-disable-next-line deprecation/deprecation
86278
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
86298
86279
  const params = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RenderTexture.Params(key, _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RenderTexture.Type.SkyBox);
86299
86280
  const txImgs = [
86300
86281
  idToImage.get(sky.images.front), idToImage.get(sky.images.back), idToImage.get(sky.images.top),
@@ -88197,7 +88178,6 @@ var _a;
88197
88178
  // eslint-disable-next-line @itwin/import-within-package
88198
88179
 
88199
88180
  /** @public */
88200
- // eslint-disable-next-line @typescript-eslint/no-var-requires
88201
88181
  const ITWINJS_CORE_VERSION = _package_json__WEBPACK_IMPORTED_MODULE_0__.version;
88202
88182
  const COPYRIGHT_NOTICE = 'Copyright © 2017-2024 <a href="https://www.bentley.com" target="_blank" rel="noopener noreferrer">Bentley Systems, Inc.</a>';
88203
88183
 
@@ -88524,7 +88504,7 @@ class IModelApp {
88524
88504
  try {
88525
88505
  return (await this.authorizationClient?.getAccessToken()) ?? "";
88526
88506
  }
88527
- catch (e) {
88507
+ catch {
88528
88508
  return "";
88529
88509
  }
88530
88510
  }
@@ -88882,11 +88862,11 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
88882
88862
  this.hilited = new _SelectionSet__WEBPACK_IMPORTED_MODULE_8__.HiliteSet(this);
88883
88863
  this.tiles = new _Tiles__WEBPACK_IMPORTED_MODULE_11__.Tiles(this);
88884
88864
  this.geoServices = _GeoServices__WEBPACK_IMPORTED_MODULE_4__.GeoServices.createForIModel(this);
88885
- /* eslint-disable-next-line deprecation/deprecation */
88865
+ /* eslint-disable-next-line @typescript-eslint/no-deprecated */
88886
88866
  this.displayedExtents = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Range3d.fromJSON(this.projectExtents);
88887
88867
  this.onProjectExtentsChanged.addListener(() => {
88888
88868
  // Compute new displayed extents as the union of the ranges we previously expanded by with the new project extents.
88889
- /* eslint-disable-next-line deprecation/deprecation */
88869
+ /* eslint-disable-next-line @typescript-eslint/no-deprecated */
88890
88870
  this.expandDisplayedExtents(this._extentsExpansion);
88891
88871
  });
88892
88872
  this.hilited.onModelSubCategoryModeChanged.addListener(() => {
@@ -89239,9 +89219,9 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
89239
89219
  */
89240
89220
  expandDisplayedExtents(range) {
89241
89221
  this._extentsExpansion.extendRange(range);
89242
- /* eslint-disable-next-line deprecation/deprecation */
89222
+ /* eslint-disable-next-line @typescript-eslint/no-deprecated */
89243
89223
  this.displayedExtents.setFrom(this.projectExtents);
89244
- /* eslint-disable-next-line deprecation/deprecation */
89224
+ /* eslint-disable-next-line @typescript-eslint/no-deprecated */
89245
89225
  this.displayedExtents.extendRange(this._extentsExpansion);
89246
89226
  }
89247
89227
  /** @internal */
@@ -89375,7 +89355,7 @@ class SnapshotConnection extends IModelConnection {
89375
89355
  static async openRemote(fileKey) {
89376
89356
  const routingContext = _IModelRoutingContext__WEBPACK_IMPORTED_MODULE_6__.IModelRoutingContext.current || _IModelRoutingContext__WEBPACK_IMPORTED_MODULE_6__.IModelRoutingContext["default"];
89377
89357
  _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RpcManager.setIModel({ iModelId: "undefined", key: fileKey });
89378
- const openResponse = await _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.SnapshotIModelRpcInterface.getClientForRouting(routingContext.token).openRemote(fileKey); // eslint-disable-line deprecation/deprecation
89358
+ const openResponse = await _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.SnapshotIModelRpcInterface.getClientForRouting(routingContext.token).openRemote(fileKey); // eslint-disable-line @typescript-eslint/no-deprecated
89379
89359
  _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logTrace(loggerCategory, "SnapshotConnection.openRemote", () => ({ fileKey }));
89380
89360
  const connection = new SnapshotConnection(openResponse);
89381
89361
  connection.routingContext = routingContext;
@@ -89459,7 +89439,7 @@ class SnapshotConnection extends IModelConnection {
89459
89439
  const propArray = await this.getProps(notLoaded);
89460
89440
  await this.updateLoadedWithModelProps(propArray);
89461
89441
  }
89462
- catch (err) {
89442
+ catch {
89463
89443
  // ignore error, we had nothing to do.
89464
89444
  }
89465
89445
  }
@@ -89474,7 +89454,7 @@ class SnapshotConnection extends IModelConnection {
89474
89454
  }
89475
89455
  }
89476
89456
  }
89477
- catch (err) {
89457
+ catch {
89478
89458
  // ignore error, we had nothing to do.
89479
89459
  }
89480
89460
  }
@@ -89805,7 +89785,7 @@ class SnapshotConnection extends IModelConnection {
89805
89785
  * @deprecated in 3.x use ViewStore apis
89806
89786
  */
89807
89787
  async getThumbnail(_viewId) {
89808
- // eslint-disable-next-line deprecation/deprecation
89788
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
89809
89789
  const val = await _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelReadRpcInterface.getClientForRouting(this._iModel.routingContext.token).getViewThumbnail(this._iModel.getRpcProps(), _viewId.toString());
89810
89790
  const intValues = new Uint32Array(val.buffer, 0, 4);
89811
89791
  if (intValues[1] !== _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.ImageSourceFormat.Jpeg && intValues[1] !== _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.ImageSourceFormat.Png)
@@ -92519,8 +92499,7 @@ class RealityDataSourceCesiumIonAssetImpl {
92519
92499
  try {
92520
92500
  tilesetUrl = await rdSource.getServiceUrl(iTwinId);
92521
92501
  }
92522
- catch (e) {
92523
- }
92502
+ catch { }
92524
92503
  return (tilesetUrl !== undefined) ? rdSource : undefined;
92525
92504
  }
92526
92505
  get isContextShare() {
@@ -92696,8 +92675,7 @@ class RealityDataSourceContextShareImpl {
92696
92675
  await rdSource.queryRealityData(iTwinId);
92697
92676
  tilesetUrl = await rdSource.getServiceUrl(iTwinId);
92698
92677
  }
92699
- catch (e) {
92700
- }
92678
+ catch { }
92701
92679
  return (tilesetUrl !== undefined) ? rdSource : undefined;
92702
92680
  }
92703
92681
  get isContextShare() {
@@ -92774,7 +92752,7 @@ class RealityDataSourceContextShareImpl {
92774
92752
  this._tilesetUrl = await _IModelApp__WEBPACK_IMPORTED_MODULE_4__.IModelApp.realityDataAccess.getRealityDataUrl(resolvedITwinId, rdSourceKey.id);
92775
92753
  this._isUrlResolved = true;
92776
92754
  }
92777
- catch (e) {
92755
+ catch {
92778
92756
  const errMsg = `Error getting URL from ContextShare using realityDataId=${rdSourceKey.id} and iTwinId=${iTwinId}`;
92779
92757
  _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_1__.Logger.logError(_common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_3__.FrontendLoggerCategory.RealityData, errMsg);
92780
92758
  }
@@ -92979,7 +92957,7 @@ class RealityDataSourceTilesetUrlImpl {
92979
92957
  try {
92980
92958
  new URL(url);
92981
92959
  }
92982
- catch (_) {
92960
+ catch {
92983
92961
  return false;
92984
92962
  }
92985
92963
  return true;
@@ -94439,7 +94417,7 @@ class SpatialViewState extends _ViewState__WEBPACK_IMPORTED_MODULE_6__.ViewState
94439
94417
  * @deprecated in 3.6. These extents are based on [[IModelConnection.displayedExtents]], which is deprecated. Consider using [[computeFitRange]] or [[getViewedExtents]] instead.
94440
94418
  */
94441
94419
  getDisplayedExtents() {
94442
- /* eslint-disable-next-line deprecation/deprecation */
94420
+ /* eslint-disable-next-line @typescript-eslint/no-deprecated */
94443
94421
  const extents = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Range3d.fromJSON(this.iModel.displayedExtents);
94444
94422
  extents.scaleAboutCenterInPlace(1.0001); // projectExtents. lying smack up against the extents is not excluded by frustum...
94445
94423
  extents.extendRange(this.getGroundExtents());
@@ -94896,7 +94874,7 @@ class SubCategoriesCache {
94896
94874
  this.processResults(results, new Set(), false);
94897
94875
  }
94898
94876
  }
94899
- catch (e) {
94877
+ catch {
94900
94878
  // In case of a truncated response, gracefully handle the error and exit.
94901
94879
  }
94902
94880
  }
@@ -95224,7 +95202,7 @@ class TentativePoint {
95224
95202
  showTentative() {
95225
95203
  if (this.isSnapped) {
95226
95204
  _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.viewManager.invalidateDecorationsAllViews();
95227
- _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.accuSnap.displayToolTip(this._viewPoint, this.viewport, undefined); // eslint-disable-line @typescript-eslint/no-floating-promises
95205
+ _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.accuSnap.displayToolTip(this._viewPoint, this.viewport, undefined);
95228
95206
  }
95229
95207
  else {
95230
95208
  this.viewport.invalidateDecorations();
@@ -96642,7 +96620,7 @@ class ViewCreator3d {
96642
96620
  * Get the Id of the default view.
96643
96621
  */
96644
96622
  async _getDefaultViewId() {
96645
- // eslint-disable-next-line deprecation/deprecation
96623
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
96646
96624
  const viewId = await this._imodel.views.queryDefaultViewId();
96647
96625
  if (viewId !== _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.invalid)
96648
96626
  return viewId;
@@ -97611,7 +97589,7 @@ class ViewState extends _EntityState__WEBPACK_IMPORTED_MODULE_5__.ElementState {
97611
97589
  }
97612
97590
  /** @internal */
97613
97591
  get scheduleScriptReference() {
97614
- return this.displayStyle.scheduleScriptReference; // eslint-disable-line deprecation/deprecation
97592
+ return this.displayStyle.scheduleScriptReference; // eslint-disable-line @typescript-eslint/no-deprecated
97615
97593
  }
97616
97594
  /** Get the globe projection mode.
97617
97595
  * @internal
@@ -101972,7 +101950,7 @@ class Viewport {
101972
101950
  * @deprecated in 3.x. Use readImageBuffer.
101973
101951
  */
101974
101952
  readImage(rect = new _common_ViewRect__WEBPACK_IMPORTED_MODULE_27__.ViewRect(1, 1, 0, 0), targetSize = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Point2d.createZero(), flipVertically = false) {
101975
- // eslint-disable-next-line deprecation/deprecation
101953
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
101976
101954
  return this.target.readImage(rect, targetSize, flipVertically);
101977
101955
  }
101978
101956
  /** Capture the image currently rendered in this viewport, or a subset thereof.
@@ -102371,7 +102349,6 @@ class ScreenViewport extends Viewport {
102371
102349
  this.addChildDiv(this.vpDiv, canvas, 10);
102372
102350
  this.target.updateViewRect();
102373
102351
  // SEE: decorationDiv doc comment
102374
- // eslint-disable-next-line deprecation/deprecation
102375
102352
  this.decorationDiv = this.addNewDiv("overlay-decorators", true, 30);
102376
102353
  this.toolTipDiv = this.addNewDiv("overlay-tooltip", true, 40);
102377
102354
  this.setCursor();
@@ -102561,7 +102538,6 @@ class ScreenViewport extends Viewport {
102561
102538
  /** Populate a set of decoration graphics to be displayed in this viewport. */
102562
102539
  addDecorations(decorations) {
102563
102540
  // SEE: decorationDiv doc comment
102564
- // eslint-disable-next-line deprecation/deprecation
102565
102541
  ScreenViewport.markAllChildrenForRemoval(this.decorationDiv);
102566
102542
  const context = new _ViewContext__WEBPACK_IMPORTED_MODULE_24__.DecorateContext(this, decorations, this._decorationCache);
102567
102543
  try {
@@ -102572,7 +102548,6 @@ class ScreenViewport extends Viewport {
102572
102548
  this.forEachTiledGraphicsProviderTree((ref) => context.addFromDecorator(ref));
102573
102549
  for (const decorator of _IModelApp__WEBPACK_IMPORTED_MODULE_10__.IModelApp.viewManager.decorators)
102574
102550
  context.addFromDecorator(decorator);
102575
- // eslint-disable-next-line deprecation/deprecation
102576
102551
  ScreenViewport.removeMarkedChildren(this.decorationDiv);
102577
102552
  }
102578
102553
  finally {
@@ -104364,7 +104339,7 @@ class Material extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.RenderMat
104364
104339
  const material = this.key ?? this.materialParams;
104365
104340
  return { isAtlas: false, material };
104366
104341
  }
104367
- // eslint-disable-next-line deprecation/deprecation
104342
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
104368
104343
  constructor(params, imdl) {
104369
104344
  super(params);
104370
104345
  this.materialParams = imdl ?? {
@@ -104381,7 +104356,7 @@ class Material extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.RenderMat
104381
104356
  };
104382
104357
  }
104383
104358
  static create(args) {
104384
- // eslint-disable-next-line deprecation/deprecation
104359
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
104385
104360
  const params = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.RenderMaterial.Params();
104386
104361
  params.alpha = args.alpha;
104387
104362
  if (args.diffuse) {
@@ -105142,7 +105117,7 @@ class Parser {
105142
105117
  const materialJson = this._document.renderMaterials[key];
105143
105118
  if (!materialJson)
105144
105119
  return undefined;
105145
- // eslint-disable-next-line deprecation/deprecation
105120
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
105146
105121
  const materialParams = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.RenderMaterial.Params(key);
105147
105122
  materialParams.diffuseColor = this.colorDefFromMaterialJson(materialJson.diffuseColor);
105148
105123
  if (materialJson.diffuse !== undefined)
@@ -105162,7 +105137,6 @@ class Parser {
105162
105137
  materialParams.ambient = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.JsonUtils.asDouble(materialJson.ambient);
105163
105138
  if (undefined !== materialJson.textureMapping)
105164
105139
  materialParams.textureMapping = this.textureMappingFromJson(materialJson.textureMapping.texture);
105165
- // eslint-disable-next-line deprecation/deprecation
105166
105140
  return new Material(materialParams);
105167
105141
  }
105168
105142
  parseNamedTexture(namedTex, name) {
@@ -105319,7 +105293,7 @@ function parseImdlDocument(options) {
105319
105293
  const parser = new Parser(imdlDoc, binaryData, options, featureTable, stream);
105320
105294
  return parser.parse();
105321
105295
  }
105322
- catch (_) {
105296
+ catch {
105323
105297
  return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileReadStatus.InvalidTileData;
105324
105298
  }
105325
105299
  }
@@ -112846,7 +112820,7 @@ class BaseUnitFormattingSettingsProvider {
112846
112820
  async buildQuantityFormatOverridesMap() {
112847
112821
  const overrideFormatProps = new Map();
112848
112822
  // use map and await all returned promises - overrides are stored by QuantityType
112849
- for await (const quantityTypeKey of [...this._quantityFormatter.quantityTypesRegistry.keys()]) {
112823
+ for (const quantityTypeKey of [...this._quantityFormatter.quantityTypesRegistry.keys()]) {
112850
112824
  const quantityTypeDef = this._quantityFormatter.quantityTypesRegistry.get(quantityTypeKey);
112851
112825
  if (quantityTypeDef) {
112852
112826
  const typeKey = quantityTypeDef.key;
@@ -113097,7 +113071,7 @@ class LocalUnitFormatProvider extends _BaseUnitFormattingSettingsProvider__WEBPA
113097
113071
  localStorage.setItem(this.buildUnitSystemKey(), unitSystemKey);
113098
113072
  return true;
113099
113073
  }
113100
- catch (_e) {
113074
+ catch {
113101
113075
  return false;
113102
113076
  }
113103
113077
  }
@@ -113111,7 +113085,7 @@ class LocalUnitFormatProvider extends _BaseUnitFormattingSettingsProvider__WEBPA
113111
113085
  localStorage.setItem(this.buildOverridesKey(quantityTypeKey), JSON.stringify(overrideProps));
113112
113086
  return true;
113113
113087
  }
113114
- catch (_e) {
113088
+ catch {
113115
113089
  return false;
113116
113090
  }
113117
113091
  }
@@ -116393,7 +116367,6 @@ __webpack_require__.r(__webpack_exports__);
116393
116367
 
116394
116368
 
116395
116369
 
116396
- /* eslint-disable no-restricted-syntax */
116397
116370
  // cSpell:ignore deserializing subcat uninstanced wiremesh qorigin trimesh
116398
116371
  /** An opaque representation of a texture draped on geometry within a [[Viewport]].
116399
116372
  * @internal
@@ -116503,7 +116476,7 @@ class RenderSystem {
116503
116476
  * @returns the newly-created material, or undefined if the material could not be created or if a material with the same key as that specified in the params already exists.
116504
116477
  * @deprecated in 3.x. Use [[createRenderMaterial]].
116505
116478
  */
116506
- // eslint-disable-next-line deprecation/deprecation
116479
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
116507
116480
  createMaterial(_params, _imodel) { return undefined; }
116508
116481
  /** Create a [RenderMaterial]($common).
116509
116482
  * @see [[CreateRenderMaterialArgs]] for a description of the material parameters.
@@ -116788,7 +116761,7 @@ class RenderSystem {
116788
116761
  /** Create a new texture from an [[ImageBuffer]].
116789
116762
  * @deprecated in 3.x. Use [[createTexture]].
116790
116763
  */
116791
- // eslint-disable-next-line deprecation/deprecation
116764
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
116792
116765
  createTextureFromImageBuffer(image, iModel, params) {
116793
116766
  const ownership = params.key ? { key: params.key, iModel } : (params.isOwned ? "external" : undefined);
116794
116767
  return this.createTexture({
@@ -116803,7 +116776,7 @@ class RenderSystem {
116803
116776
  /** Create a new texture from an HTML image. Typically the image was extracted from a binary representation of a jpeg or png via [[imageElementFromImageSource]].
116804
116777
  * @deprecated in 3.x. Use [[createTexture]].
116805
116778
  */
116806
- // eslint-disable-next-line deprecation/deprecation
116779
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
116807
116780
  createTextureFromImage(image, hasAlpha, iModel, params) {
116808
116781
  const ownership = params.key && iModel ? { key: params.key, iModel } : (params.isOwned ? "external" : undefined);
116809
116782
  return this.createTexture({
@@ -116818,7 +116791,7 @@ class RenderSystem {
116818
116791
  /** Create a new texture from an ImageSource.
116819
116792
  * @deprecated in 3.x. Use RenderSystem.createTextureFromSource.
116820
116793
  */
116821
- // eslint-disable-next-line deprecation/deprecation
116794
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
116822
116795
  async createTextureFromImageSource(source, iModel, params) {
116823
116796
  const ownership = iModel && params.key ? { iModel, key: params.key } : (params.isOwned ? "external" : undefined);
116824
116797
  return this.createTextureFromSource({
@@ -116850,7 +116823,7 @@ class RenderSystem {
116850
116823
  }
116851
116824
  }
116852
116825
  /** Create a new texture by its element ID. This texture will be retrieved asynchronously from the backend. A placeholder image will be associated with the texture until the requested image data loads. */
116853
- // eslint-disable-next-line deprecation/deprecation
116826
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
116854
116827
  createTextureFromElement(_id, _imodel, _params, _format) {
116855
116828
  return undefined;
116856
116829
  }
@@ -116860,7 +116833,7 @@ class RenderSystem {
116860
116833
  /** Create a new texture from a cube of HTML images.
116861
116834
  * @internal
116862
116835
  */
116863
- // eslint-disable-next-line deprecation/deprecation
116836
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
116864
116837
  createTextureFromCubeImages(_posX, _negX, _posY, _negY, _posZ, _negZ, _imodel, _params) {
116865
116838
  return undefined;
116866
116839
  }
@@ -124724,7 +124697,7 @@ class Material extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.RenderMat
124724
124697
  get overridesRgb() { return this.rgba[0] >= 0; }
124725
124698
  get overridesAlpha() { return this.rgba[3] >= 0; }
124726
124699
  get hasTranslucency() { return this.overridesAlpha && this.rgba[3] < 1; }
124727
- // eslint-disable-next-line deprecation/deprecation
124700
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
124728
124701
  constructor(params) {
124729
124702
  super(params);
124730
124703
  // Used for type-switching vs MaterialAtlas
@@ -124761,7 +124734,7 @@ class Material extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.RenderMat
124761
124734
  this.fragUniforms[index] = loByte + hiByte * 256;
124762
124735
  }
124763
124736
  }
124764
- // eslint-disable-next-line deprecation/deprecation
124737
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
124765
124738
  Material.default = new Material(_itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.RenderMaterial.Params.defaults);
124766
124739
  /** Strictly for testing. */
124767
124740
  Material.preserveParams = false;
@@ -130050,7 +130023,7 @@ class Compositor extends SceneCompositor {
130050
130023
  try {
130051
130024
  gl.readPixels(rect.left, bottom, rect.width, rect.height, gl.RGBA, gl.UNSIGNED_BYTE, bytes);
130052
130025
  }
130053
- catch (e) {
130026
+ catch {
130054
130027
  result = undefined;
130055
130028
  }
130056
130029
  });
@@ -133619,7 +133592,7 @@ class IdMap {
133619
133592
  return this.gradients.get(symb);
133620
133593
  }
133621
133594
  /** Find or create a new material given material parameters. This will cache the material if its key is valid. */
133622
- // eslint-disable-next-line deprecation/deprecation
133595
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
133623
133596
  getMaterial(params) {
133624
133597
  if (!params.key || !_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.isValidId64(params.key)) // Only cache persistent materials.
133625
133598
  return new _Material__WEBPACK_IMPORTED_MODULE_21__.Material(params);
@@ -133638,7 +133611,7 @@ class IdMap {
133638
133611
  else
133639
133612
  return this.findGradient(key);
133640
133613
  }
133641
- // eslint-disable-next-line deprecation/deprecation
133614
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
133642
133615
  getTextureFromElement(key, iModel, params, format) {
133643
133616
  let tex = this.findTexture(params.key);
133644
133617
  if (tex)
@@ -133690,7 +133663,7 @@ class IdMap {
133690
133663
  this.texturesFromImageSources.delete(key);
133691
133664
  }
133692
133665
  }
133693
- // eslint-disable-next-line deprecation/deprecation
133666
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
133694
133667
  getTextureFromCubeImages(posX, negX, posY, negY, posZ, negZ, params) {
133695
133668
  let tex = this.findTexture(params.key);
133696
133669
  if (tex)
@@ -133996,7 +133969,7 @@ class System extends _RenderSystem__WEBPACK_IMPORTED_MODULE_9__.RenderSystem {
133996
133969
  this.resourceCache.delete(imodel);
133997
133970
  }
133998
133971
  /** Attempt to create a material for the given iModel using a set of material parameters. */
133999
- // eslint-disable-next-line deprecation/deprecation
133972
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
134000
133973
  createMaterial(params, imodel) {
134001
133974
  const idMap = this.getIdMap(imodel);
134002
133975
  const material = idMap.getMaterial(params);
@@ -134008,7 +133981,7 @@ class System extends _RenderSystem__WEBPACK_IMPORTED_MODULE_9__.RenderSystem {
134008
133981
  if (cached)
134009
133982
  return cached;
134010
133983
  }
134011
- // eslint-disable-next-line deprecation/deprecation
133984
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
134012
133985
  const params = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RenderMaterial.Params();
134013
133986
  params.alpha = args.alpha;
134014
133987
  if (undefined !== args.diffuse?.weight)
@@ -134079,11 +134052,11 @@ class System extends _RenderSystem__WEBPACK_IMPORTED_MODULE_9__.RenderSystem {
134079
134052
  return super.createTextureFromSource(args);
134080
134053
  return this.getIdMap(args.ownership.iModel).getTextureFromImageSource(args, args.ownership.key);
134081
134054
  }
134082
- // eslint-disable-next-line deprecation/deprecation
134055
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
134083
134056
  createTextureFromElement(id, imodel, params, format) {
134084
134057
  return this.getIdMap(imodel).getTextureFromElement(id, imodel, params, format);
134085
134058
  }
134086
- // eslint-disable-next-line deprecation/deprecation
134059
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
134087
134060
  createTextureFromCubeImages(posX, negX, posY, negY, posZ, negZ, imodel, params) {
134088
134061
  return this.getIdMap(imodel).getTextureFromCubeImages(posX, negX, posY, negY, posZ, negZ, params);
134089
134062
  }
@@ -135096,7 +135069,7 @@ class Target extends _RenderTarget__WEBPACK_IMPORTED_MODULE_7__.RenderTarget {
135096
135069
  try {
135097
135070
  context.readPixels(x, y, w, h, context.RGBA, context.UNSIGNED_BYTE, out);
135098
135071
  }
135099
- catch (e) {
135072
+ catch {
135100
135073
  didSucceed = false;
135101
135074
  }
135102
135075
  });
@@ -137510,7 +137483,7 @@ class ExternalTextureLoader {
137510
137483
  }
137511
137484
  }
137512
137485
  }
137513
- catch (_e) { }
137486
+ catch { }
137514
137487
  return this._nextRequest(req);
137515
137488
  }
137516
137489
  async _convertTexture() {
@@ -137534,7 +137507,7 @@ class ExternalTextureLoader {
137534
137507
  }
137535
137508
  }
137536
137509
  }
137537
- catch (_e) { }
137510
+ catch { }
137538
137511
  this._convertPending = false;
137539
137512
  }
137540
137513
  _requestExists(reqToCheck) {
@@ -147338,7 +147311,7 @@ function createClassifierId(classifier, source) {
147338
147311
  if (undefined === classifier)
147339
147312
  return { modelId: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.invalid, type: _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.BatchType.PlanarClassifier, expansion: 0, animationId: undefined };
147340
147313
  const type = classifier.flags.isVolumeClassifier ? _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.BatchType.VolumeClassifier : _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.BatchType.PlanarClassifier;
147341
- const scriptInfo = _IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.tileAdmin.getScriptInfoForTreeId(classifier.modelId, source?.scheduleScriptReference); // eslint-disable-line deprecation/deprecation
147314
+ const scriptInfo = _IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.tileAdmin.getScriptInfoForTreeId(classifier.modelId, source?.scheduleScriptReference); // eslint-disable-line @typescript-eslint/no-deprecated
147342
147315
  return {
147343
147316
  modelId: classifier.modelId,
147344
147317
  type,
@@ -147382,7 +147355,7 @@ class ContextShareProvider {
147382
147355
  try {
147383
147356
  attUrl = new URL(tilesetUrl);
147384
147357
  }
147385
- catch (e) {
147358
+ catch {
147386
147359
  // Not a valid URL for Context share
147387
147360
  return false;
147388
147361
  }
@@ -147413,7 +147386,7 @@ class ContextShareProvider {
147413
147386
  try {
147414
147387
  attUrl = new URL(tilesetUrl);
147415
147388
  }
147416
- catch (e) {
147389
+ catch {
147417
147390
  // Not a valid URL and not equal, probably $cesiumAsset
147418
147391
  return invalidUrlInfo;
147419
147392
  }
@@ -148111,7 +148084,7 @@ class GltfReaderProps {
148111
148084
  json = JSON.parse(utf8Json);
148112
148085
  version = 2;
148113
148086
  }
148114
- catch (_) {
148087
+ catch {
148115
148088
  return undefined;
148116
148089
  }
148117
148090
  }
@@ -148130,7 +148103,7 @@ class GltfReaderProps {
148130
148103
  return undefined;
148131
148104
  json = JSON.parse(jsonStr);
148132
148105
  }
148133
- catch (_) {
148106
+ catch {
148134
148107
  return undefined;
148135
148108
  }
148136
148109
  }
@@ -148684,7 +148657,7 @@ class GltfReader {
148684
148657
  const bytes = aligned ? bufferData.subarray(offset, offset + length) : bufferData.slice(offset, offset + length);
148685
148658
  return new GltfBufferView(bytes, accessor.count, type, accessor, byteStride / dataSize);
148686
148659
  }
148687
- catch (e) {
148660
+ catch {
148688
148661
  return undefined;
148689
148662
  }
148690
148663
  }
@@ -149445,8 +149418,7 @@ class GltfReader {
149445
149418
  promises.push(this.resolveImage(image));
149446
149419
  await Promise.all(promises);
149447
149420
  }
149448
- catch (_) {
149449
- }
149421
+ catch { }
149450
149422
  }
149451
149423
  async decodeDracoMesh(ext, loader) {
149452
149424
  const bv = this._bufferViews[ext.bufferView];
@@ -149467,7 +149439,7 @@ class GltfReader {
149467
149439
  resolved.search = this._baseUrl?.search ?? "";
149468
149440
  return resolved.toString();
149469
149441
  }
149470
- catch (_) {
149442
+ catch {
149471
149443
  return undefined;
149472
149444
  }
149473
149445
  }
@@ -149485,7 +149457,7 @@ class GltfReader {
149485
149457
  if (data)
149486
149458
  buffer.resolvedBuffer = new Uint8Array(data);
149487
149459
  }
149488
- catch (_) {
149460
+ catch {
149489
149461
  //
149490
149462
  }
149491
149463
  }
@@ -149510,7 +149482,7 @@ class GltfReader {
149510
149482
  else
149511
149483
  image.resolvedImage = await (0,_common_ImageUtil__WEBPACK_IMPORTED_MODULE_10__.imageElementFromImageSource)(imageSource);
149512
149484
  }
149513
- catch (_) {
149485
+ catch {
149514
149486
  //
149515
149487
  }
149516
149488
  return;
@@ -150985,11 +150957,11 @@ async function loadNamedTexture(name, namedTex, options) {
150985
150957
  return await options.system.createTextureFromSource({ source, ownership, type: textureType, transparency: namedTex.transparency });
150986
150958
  }
150987
150959
  // bufferViewJson was undefined, so attempt to request the texture directly from the backend
150988
- // eslint-disable-next-line deprecation/deprecation
150960
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
150989
150961
  const params = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.RenderTexture.Params(cacheable ? name : undefined, textureType);
150990
150962
  return options.system.createTextureFromElement(name, options.iModel, params, namedTex.format);
150991
150963
  }
150992
- catch (_) {
150964
+ catch {
150993
150965
  return undefined;
150994
150966
  }
150995
150967
  }
@@ -151076,7 +151048,7 @@ function getMaterial(mat, options) {
151076
151048
  function colorDefFromJson(col) {
151077
151049
  return col ? _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.ColorDef.from(col[0] * 255 + 0.5, col[1] * 255 + 0.5, col[2] * 255 + 0.5) : undefined;
151078
151050
  }
151079
- // eslint-disable-next-line deprecation/deprecation
151051
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
151080
151052
  const params = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.RenderMaterial.Params(mat);
151081
151053
  params.diffuseColor = colorDefFromJson(json.diffuseColor);
151082
151054
  if (json.diffuse !== undefined)
@@ -151096,7 +151068,7 @@ function getMaterial(mat, options) {
151096
151068
  params.ambient = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.JsonUtils.asDouble(json.ambient);
151097
151069
  if (undefined !== json.textureMapping)
151098
151070
  params.textureMapping = textureMappingFromJson(json.textureMapping.texture, options);
151099
- // eslint-disable-next-line deprecation/deprecation
151071
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
151100
151072
  return options.system.createMaterial(params, options.iModel);
151101
151073
  }
151102
151074
  function getModifiers(primitive) {
@@ -152342,7 +152314,7 @@ class OrbitGtTileTree extends _internal__WEBPACK_IMPORTED_MODULE_9__.TileTree {
152342
152314
  this.viewFlagOverrides = {};
152343
152315
  this._tileGraphics = new Map();
152344
152316
  const worldContentRange = this.iModelTransform.multiplyRange(cloudRange);
152345
- /* eslint-disable-next-line deprecation/deprecation */
152317
+ /* eslint-disable-next-line @typescript-eslint/no-deprecated */
152346
152318
  this.iModel.expandDisplayedExtents(worldContentRange);
152347
152319
  this._tileParams = { contentId: "0", range: cloudRange, maximumSize: 256 };
152348
152320
  this.rootTile = new OrbitGtRootTile(this._tileParams, this);
@@ -152446,7 +152418,6 @@ class OrbitGtTileTree extends _internal__WEBPACK_IMPORTED_MODULE_9__.TileTree {
152446
152418
  }
152447
152419
  }
152448
152420
  /** @internal */
152449
- // eslint-disable-next-line no-redeclare
152450
152421
  (function (OrbitGtTileTree) {
152451
152422
  function isValidSASToken(downloadUrl) {
152452
152423
  // Create fake URL for and parameter parsing and SAS token URI parsing
@@ -152766,7 +152737,7 @@ async function readPointCloudTileContent(stream, iModel, modelId, _is3d, tile, s
152766
152737
  const buf = new Uint8Array(stream.arrayBuffer, dataOffset + draco.byteOffset, draco.byteLength);
152767
152738
  props = await decodeDracoPointCloud(buf);
152768
152739
  }
152769
- catch (_) {
152740
+ catch {
152770
152741
  //
152771
152742
  }
152772
152743
  }
@@ -152914,7 +152885,7 @@ class PrimaryTreeSupplier {
152914
152885
  elevation = (lo + hi) / 2;
152915
152886
  }
152916
152887
  }
152917
- catch (_err) {
152888
+ catch {
152918
152889
  //
152919
152890
  }
152920
152891
  return new PlanProjectionTileTree(params, id.treeId, elevation);
@@ -152967,7 +152938,7 @@ class PrimaryTreeReference extends _internal__WEBPACK_IMPORTED_MODULE_6__.TileTr
152967
152938
  return cutApp ? app.extendAppearance(cutApp) : app;
152968
152939
  });
152969
152940
  }
152970
- const scriptInfo = _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.tileAdmin.getScriptInfoForTreeId(model.id, view.displayStyle.scheduleScriptReference); // eslint-disable-line deprecation/deprecation
152941
+ const scriptInfo = _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.tileAdmin.getScriptInfoForTreeId(model.id, view.displayStyle.scheduleScriptReference); // eslint-disable-line @typescript-eslint/no-deprecated
152971
152942
  this._id = {
152972
152943
  modelId: model.id,
152973
152944
  is3d: model.is3d,
@@ -153012,7 +152983,7 @@ class PrimaryTreeReference extends _internal__WEBPACK_IMPORTED_MODULE_6__.TileTr
153012
152983
  }
153013
152984
  get treeOwner() {
153014
152985
  const newId = this.createTreeId(this.view, this._id.modelId);
153015
- const timeline = _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.tileAdmin.getScriptInfoForTreeId(this._id.modelId, this.view.displayStyle.scheduleScriptReference)?.timeline; // eslint-disable-line deprecation/deprecation
152986
+ const timeline = _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.tileAdmin.getScriptInfoForTreeId(this._id.modelId, this.view.displayStyle.scheduleScriptReference)?.timeline; // eslint-disable-line @typescript-eslint/no-deprecated
153016
152987
  if (0 !== (0,_itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.compareIModelTileTreeIds)(newId, this._id.treeId) || timeline !== this._id.timeline) {
153017
152988
  this._id = {
153018
152989
  modelId: this._id.modelId,
@@ -153038,7 +153009,7 @@ class PrimaryTreeReference extends _internal__WEBPACK_IMPORTED_MODULE_6__.TileTr
153038
153009
  forceSurfaceDiscard: true,
153039
153010
  };
153040
153011
  }
153041
- const animationId = _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.tileAdmin.getScriptInfoForTreeId(modelId, view.displayStyle.scheduleScriptReference)?.animationId; // eslint-disable-line deprecation/deprecation
153012
+ const animationId = _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.tileAdmin.getScriptInfoForTreeId(modelId, view.displayStyle.scheduleScriptReference)?.animationId; // eslint-disable-line @typescript-eslint/no-deprecated
153042
153013
  const renderMode = this._viewFlagOverrides.renderMode ?? view.viewFlags.renderMode;
153043
153014
  const visibleEdges = this._viewFlagOverrides.visibleEdges ?? view.viewFlags.visibleEdges;
153044
153015
  const edgesRequired = visibleEdges || _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RenderMode.SmoothShade !== renderMode || _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.tileAdmin.alwaysRequestEdges;
@@ -153332,7 +153303,7 @@ class SpatialRefs {
153332
153303
  this._sectionCutOnlyRefs = new Map();
153333
153304
  this._swapSectionCutOnlyRefs = new Map();
153334
153305
  this._view = view;
153335
- this._scheduleScript = view.displayStyle.scheduleScriptReference; // eslint-disable-line deprecation/deprecation
153306
+ this._scheduleScript = view.displayStyle.scheduleScriptReference; // eslint-disable-line @typescript-eslint/no-deprecated
153336
153307
  this._sectionCut = this.getSectionCutFromView();
153337
153308
  if (excludedModels)
153338
153309
  this._excludedModels = new Set(excludedModels);
@@ -153394,7 +153365,7 @@ class SpatialRefs {
153394
153365
  this._allLoaded = true;
153395
153366
  this.updateModels();
153396
153367
  }
153397
- const curScript = this._view.displayStyle.scheduleScriptReference; // eslint-disable-line deprecation/deprecation
153368
+ const curScript = this._view.displayStyle.scheduleScriptReference; // eslint-disable-line @typescript-eslint/no-deprecated
153398
153369
  const prevScript = this._scheduleScript;
153399
153370
  if (curScript !== prevScript) {
153400
153371
  this._scheduleScript = curScript;
@@ -153900,14 +153871,13 @@ class RealityModelTileTree extends _internal__WEBPACK_IMPORTED_MODULE_8__.Realit
153900
153871
  this._isContentUnbounded = this.rootTile.contentRange.diagonal().magnitude() > 2 * _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Constant.earthRadiusWGS84.equator;
153901
153872
  if (!this.isContentUnbounded && !this.rootTile.contentRange.isNull) {
153902
153873
  const worldContentRange = this.iModelTransform.multiplyRange(this.rootTile.contentRange);
153903
- /* eslint-disable-next-line deprecation/deprecation */
153874
+ /* eslint-disable-next-line @typescript-eslint/no-deprecated */
153904
153875
  this.iModel.expandDisplayedExtents(worldContentRange);
153905
153876
  }
153906
153877
  }
153907
153878
  get isContentUnbounded() { return this._isContentUnbounded; }
153908
153879
  }
153909
153880
  /** @internal */
153910
- // eslint-disable-next-line no-redeclare
153911
153881
  (function (RealityModelTileTree) {
153912
153882
  class Reference extends _internal__WEBPACK_IMPORTED_MODULE_8__.TileTreeReference {
153913
153883
  // public get classifiers(): SpatialClassifiers | undefined { return undefined !== this._classifier ? this._classifier.classifiers : undefined; }
@@ -154978,7 +154948,7 @@ class RealityTileLoader {
154978
154948
  if (content.containsPointCloud)
154979
154949
  this._containsPointClouds = true;
154980
154950
  }
154981
- catch (_err) {
154951
+ catch {
154982
154952
  // Failure to load should prevent us from trying to load children
154983
154953
  content.isLeaf = true;
154984
154954
  }
@@ -155676,7 +155646,7 @@ class ThreeDTileFormatInterpreter {
155676
155646
  }
155677
155647
  }
155678
155648
  }
155679
- catch (e) {
155649
+ catch {
155680
155650
  _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logWarning(loggerCategory, `Error getSpatialLocationAndExtents - cannot interpret json`);
155681
155651
  // return first 1024 char from the json
155682
155652
  const getMetaData = () => {
@@ -156738,7 +156708,6 @@ class TileAdmin {
156738
156708
  * @internal
156739
156709
  */
156740
156710
  isTileInUse(marker) {
156741
- // eslint-disable-next-line @typescript-eslint/naming-convention
156742
156711
  for (const [_user, markers] of this._tileUsagePerUser)
156743
156712
  if (markers.has(marker))
156744
156713
  return true;
@@ -157022,7 +156991,7 @@ class TileAdmin {
157022
156991
  _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RpcOperation.lookup(_itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelTileRpcInterface, "requestTileTreeProps").policy.retryInterval = () => retryInterval;
157023
156992
  const policy = _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RpcOperation.lookup(_itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelTileRpcInterface, "generateTileContent").policy;
157024
156993
  policy.retryInterval = () => retryInterval;
157025
- policy.allowResponseCaching = () => _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RpcResponseCacheControl.Immutable; // eslint-disable-line deprecation/deprecation
156994
+ policy.allowResponseCaching = () => _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RpcResponseCacheControl.Immutable;
157026
156995
  }
157027
156996
  }
157028
156997
  /** @public */
@@ -157704,7 +157673,7 @@ class TileRequest {
157704
157673
  this.notifyAndClear();
157705
157674
  this.channel.recordCompletion(this.tile, content, Date.now() - start);
157706
157675
  }
157707
- catch (_err) {
157676
+ catch {
157708
157677
  this.setFailed();
157709
157678
  }
157710
157679
  }
@@ -158238,7 +158207,7 @@ class TileStorage {
158238
158207
  });
158239
158208
  return new Uint8Array(buffer); // should always be Buffer because transferType === "buffer"
158240
158209
  }
158241
- catch (_) {
158210
+ catch {
158242
158211
  // @itwin/object-storage re-throws internal implementation-specific errors, so let's treat them all as 404 for now.
158243
158212
  return undefined;
158244
158213
  }
@@ -159519,7 +159488,6 @@ class ArcGISTileMap {
159519
159488
  this._restBaseUrl = restBaseUrl;
159520
159489
  this._fetchFunc = fetchFunc;
159521
159490
  this._settings = settings;
159522
- // eslint-disable-next-line @typescript-eslint/no-floating-promises
159523
159491
  this._callQueues = new Array(ArcGISTileMap.maxLod).fill(Promise.resolve(nonVisibleChildren));
159524
159492
  }
159525
159493
  async fetchTileMapFromServer(level, row, column, width, height) {
@@ -160000,7 +159968,7 @@ class ArcGisUtilities {
160000
159968
  ArcGisUtilities._serviceCache.set(url, (errorCode === undefined ? info : undefined));
160001
159969
  return info; // Always return json, even though it contains an error code.
160002
159970
  }
160003
- catch (_error) {
159971
+ catch {
160004
159972
  ArcGisUtilities._serviceCache.set(url, undefined);
160005
159973
  return undefined;
160006
159974
  }
@@ -160158,7 +160126,7 @@ class BingElevationProvider {
160158
160126
  const tileResponseBody = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_0__.request)(requestUrl, "json");
160159
160127
  return tileResponseBody.resourceSets[0].resources[0].elevations[0];
160160
160128
  }
160161
- catch (error) {
160129
+ catch {
160162
160130
  return 0.0;
160163
160131
  }
160164
160132
  }
@@ -160173,7 +160141,7 @@ class BingElevationProvider {
160173
160141
  const tileResponseBody = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_0__.request)(requestUrl, "json");
160174
160142
  return tileResponseBody.resourceSets[0].resources[0].elevations;
160175
160143
  }
160176
- catch (error) {
160144
+ catch {
160177
160145
  return undefined;
160178
160146
  }
160179
160147
  }
@@ -160187,7 +160155,7 @@ class BingElevationProvider {
160187
160155
  const tileResponseBody = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_0__.request)(requestUrl, "json");
160188
160156
  return tileResponseBody.resourceSets[0].resources[0].offsets[0];
160189
160157
  }
160190
- catch (error) {
160158
+ catch {
160191
160159
  return 0.0;
160192
160160
  }
160193
160161
  }
@@ -160313,7 +160281,7 @@ async function getCesiumAccessTokenAndEndpointUrl(assetId, requestKey) {
160313
160281
  }
160314
160282
  return { token: apiResponse.accessToken, url: apiResponse.url };
160315
160283
  }
160316
- catch (error) {
160284
+ catch {
160317
160285
  (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(false);
160318
160286
  return {};
160319
160287
  }
@@ -160339,7 +160307,7 @@ async function getCesiumTerrainProvider(opts) {
160339
160307
  const layerUrl = `${accessTokenAndEndpointUrl.url}layer.json`;
160340
160308
  layers = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_4__.request)(layerUrl, "json", layerRequestOptions);
160341
160309
  }
160342
- catch (error) {
160310
+ catch {
160343
160311
  notifyTerrainError();
160344
160312
  return undefined;
160345
160313
  }
@@ -160454,7 +160422,7 @@ class CesiumTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_8__.Terra
160454
160422
  const response = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_4__.request)(tileUrl, "arraybuffer", requestOptions);
160455
160423
  return new Uint8Array(response);
160456
160424
  }
160457
- catch (_) {
160425
+ catch {
160458
160426
  return undefined;
160459
160427
  }
160460
160428
  }
@@ -160901,7 +160869,7 @@ class ArcGISImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_0__.MapLa
160901
160869
  try {
160902
160870
  metadata = await _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.getServiceJson({ url: this._settings.url, formatId: this._settings.formatId, userName: this._settings.userName, password: this._settings.password, queryParams: this._settings.collectQueryParams() });
160903
160871
  }
160904
- catch (_e) {
160872
+ catch {
160905
160873
  }
160906
160874
  if (metadata && metadata.accessTokenRequired) {
160907
160875
  const accessClient = _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.mapLayerFormatRegistry.getAccessClient(this._settings.formatId);
@@ -161602,15 +161570,14 @@ class BingMapsImageryLayerProvider extends _internal__WEBPACK_IMPORTED_MODULE_3_
161602
161570
  return matchingAttributions;
161603
161571
  const unmatchedSet = this._attributions.slice();
161604
161572
  for (const tile of tiles) {
161605
- if (tile instanceof _internal__WEBPACK_IMPORTED_MODULE_3__.MapTile)
161573
+ if (tile instanceof _internal__WEBPACK_IMPORTED_MODULE_3__.MapTile) {
161606
161574
  // compare to the set of Bing attributions that we have not yet matched.
161607
- for (let iAttr = 0; iAttr < unmatchedSet.length; iAttr++) {
161608
- const attribution = unmatchedSet[iAttr];
161575
+ for (const attribution of unmatchedSet) {
161609
161576
  if (attribution && attribution.matchesTile(tile, this._mapTilingScheme)) {
161610
161577
  matchingAttributions.push(attribution);
161611
- delete unmatchedSet[iAttr];
161612
161578
  }
161613
161579
  }
161580
+ }
161614
161581
  }
161615
161582
  return matchingAttributions;
161616
161583
  }
@@ -161652,7 +161619,7 @@ class BingMapsImageryLayerProvider extends _internal__WEBPACK_IMPORTED_MODULE_3_
161652
161619
  this._missingTileData = tileData.data;
161653
161620
  });
161654
161621
  }
161655
- catch (error) {
161622
+ catch {
161656
161623
  throw new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyError(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.BadModel, "Error in Bing Server communications");
161657
161624
  }
161658
161625
  }
@@ -161973,7 +161940,7 @@ class FeatureGraphicsRenderer extends _internal__WEBPACK_IMPORTED_MODULE_3__.Fea
161973
161940
  const spatialPoints = await this.toSpatial(pointsArray);
161974
161941
  this._graphics.push({ type: "pointstring", points: spatialPoints });
161975
161942
  }
161976
- catch (error) {
161943
+ catch {
161977
161944
  _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(loggerCategory, "FeatureGraphicsRenderer: Could not reproject points");
161978
161945
  }
161979
161946
  this._scratchPointsArray.clear();
@@ -165264,7 +165231,7 @@ class MapTileLoader extends _internal__WEBPACK_IMPORTED_MODULE_3__.RealityTileLo
165264
165231
  const data = await this.terrainProvider.requestMeshData({ tile, isCanceled });
165265
165232
  return undefined !== data ? { data } : undefined;
165266
165233
  }
165267
- catch (_) {
165234
+ catch {
165268
165235
  return undefined;
165269
165236
  }
165270
165237
  }
@@ -172392,7 +172359,7 @@ class MeasureMarker extends _Marker__WEBPACK_IMPORTED_MODULE_7__.Marker {
172392
172359
  ctx.fill();
172393
172360
  ctx.stroke();
172394
172361
  };
172395
- this.drawFunc = markerDrawFunc; // eslint-disable-line @typescript-eslint/unbound-method
172362
+ this.drawFunc = markerDrawFunc;
172396
172363
  this.title = title;
172397
172364
  this.label = label;
172398
172365
  this.labelFont = "16px sans-serif";
@@ -172783,7 +172750,7 @@ class MeasureDistanceTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_10__.P
172783
172750
  ev.viewport.invalidateDecorations();
172784
172751
  return true;
172785
172752
  };
172786
- marker.onMouseButton = segMarkerButtonFunc; // eslint-disable-line @typescript-eslint/unbound-method
172753
+ marker.onMouseButton = segMarkerButtonFunc;
172787
172754
  this._acceptedSegments.push({ distance, slope, start, end, delta, adjustedStart, adjustedEnd, adjustedDelta, refAxes, marker });
172788
172755
  }
172789
172756
  }
@@ -181664,7 +181631,7 @@ __webpack_require__.r(__webpack_exports__);
181664
181631
  *--------------------------------------------------------------------------------------------*/
181665
181632
 
181666
181633
 
181667
- /* eslint-disable @typescript-eslint/naming-convention, no-empty */
181634
+ /* eslint-disable @typescript-eslint/naming-convention */
181668
181635
  /**
181669
181636
  * Enumeration of the 6 possible orderings of XYZ axis order
181670
181637
  * * **Note:** There are 3 axis order with right hand system (XYZ = 0, YZX = 1, ZXY = 2) and 3 axis order with
@@ -182723,7 +182690,7 @@ class Geometry {
182723
182690
  * * If the clone method returns `undefined`, then `undefined` is forced into the cloned array.
182724
182691
  * @deprecated in 4.x. Use cloneArray.
182725
182692
  */
182726
- // eslint-disable-next-line deprecation/deprecation
182693
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
182727
182694
  static cloneMembers(array) {
182728
182695
  if (array === undefined)
182729
182696
  return undefined;
@@ -182970,7 +182937,6 @@ __webpack_require__.r(__webpack_exports__);
182970
182937
  */
182971
182938
  // import { Point2d } from "../Geometry2d";
182972
182939
 
182973
- /* eslint-disable @typescript-eslint/naming-convention, no-empty */
182974
182940
 
182975
182941
 
182976
182942
  /** Bspline knots and poles for 1d-to-Nd.
@@ -183448,13 +183414,14 @@ class BSplineCurve3dBase extends _curve_CurvePrimitive__WEBPACK_IMPORTED_MODULE_
183448
183414
  * * If the space point is exactly on the curve, this is the reverse of fractionToPoint.
183449
183415
  * * Since CurvePrimitive should always have start and end available as candidate points, this method should always succeed
183450
183416
  * @param spacePoint point in space
183451
- * @param _extend ignored. A BSplineCurve3dBase cannot be extended.
183452
- * @returns Returns a CurveLocationDetail structure that holds the details of the close point.
183417
+ * @param _extend ignored (pass false). A BSplineCurve3dBase cannot be extended.
183418
+ * @param result optional pre-allocated detail to populate and return.
183419
+ * @returns details of the closest point.
183453
183420
  */
183454
- closestPoint(spacePoint, _extend) {
183421
+ closestPoint(spacePoint, _extend, result) {
183455
183422
  // seed at start point -- final point comes with final bezier perpendicular step.
183456
183423
  const point = this.fractionToPoint(0);
183457
- const result = _curve_CurveLocationDetail__WEBPACK_IMPORTED_MODULE_3__.CurveLocationDetail.createCurveFractionPointDistance(this, 0.0, point, point.distance(spacePoint));
183424
+ result = _curve_CurveLocationDetail__WEBPACK_IMPORTED_MODULE_3__.CurveLocationDetail.createCurveFractionPointDistance(this, 0.0, point, point.distance(spacePoint), result);
183458
183425
  let span;
183459
183426
  const numSpans = this.numSpan;
183460
183427
  for (let i = 0; i < numSpans; i++) {
@@ -191930,7 +191897,7 @@ class ClipVector {
191930
191897
  result._clips.push(clipPrim);
191931
191898
  }
191932
191899
  }
191933
- catch (e) {
191900
+ catch {
191934
191901
  result.clear();
191935
191902
  }
191936
191903
  return result;
@@ -196426,9 +196393,10 @@ class CurveChainWithDistanceIndex extends _curve_CurvePrimitive__WEBPACK_IMPORTE
196426
196393
  * has pointer to an additional detail for the child curve.
196427
196394
  * @param spacePoint point in space
196428
196395
  * @param extend true to extend the curve
196429
- * @returns a CurveLocationDetail structure that holds the details of the close point.
196396
+ * @param result optional pre-allocated detail to populate and return.
196397
+ * @returns details of the closest point
196430
196398
  */
196431
- closestPoint(spacePoint, extend) {
196399
+ closestPoint(spacePoint, extend, result) {
196432
196400
  let childDetail;
196433
196401
  let aMin = Number.MAX_VALUE;
196434
196402
  const numChildren = this.path.children.length;
@@ -196467,7 +196435,7 @@ class CurveChainWithDistanceIndex extends _curve_CurvePrimitive__WEBPACK_IMPORTE
196467
196435
  }
196468
196436
  if (!childDetail)
196469
196437
  return undefined;
196470
- return this.computeChainDetail(childDetail);
196438
+ return this.computeChainDetail(childDetail, result);
196471
196439
  }
196472
196440
  /**
196473
196441
  * Construct an offset of each child as viewed in the xy-plane (ignoring z).
@@ -196503,17 +196471,18 @@ class CurveChainWithDistanceIndex extends _curve_CurvePrimitive__WEBPACK_IMPORTE
196503
196471
  /**
196504
196472
  * Compute the global chain detail corresponding to a local child detail.
196505
196473
  * @param childDetail the local (fragment) detail, captured as-is.
196506
- * @returns newly allocated global (chain) detail with its `childDetail` field pointing to the input, and its `a`
196507
- * field copied from the input.
196474
+ * @param result optional pre-allocated detail to populate and return.
196475
+ * @returns global (chain) detail with its `childDetail` field pointing to the input and its `a`
196476
+ * field copied from the input, but if a PathFragment for `childDetail` cannot be resolved, return undefined.
196508
196477
  */
196509
- computeChainDetail(childDetail) {
196478
+ computeChainDetail(childDetail, result) {
196510
196479
  if (!childDetail.curve)
196511
196480
  return undefined;
196512
196481
  const fragment = this.curveAndChildFractionToFragment(childDetail.curve, childDetail.fraction);
196513
196482
  if (fragment) {
196514
196483
  const chainDistance = fragment.childFractionToChainDistance(childDetail.fraction);
196515
196484
  const chainFraction = this.chainDistanceToChainFraction(chainDistance);
196516
- const chainDetail = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_5__.CurveLocationDetail.createCurveFractionPoint(this, chainFraction, childDetail.point);
196485
+ const chainDetail = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_5__.CurveLocationDetail.createCurveFractionPoint(this, chainFraction, childDetail.point, result);
196517
196486
  chainDetail.childDetail = childDetail;
196518
196487
  chainDetail.a = childDetail.a;
196519
196488
  return chainDetail;
@@ -196573,16 +196542,16 @@ __webpack_require__.r(__webpack_exports__);
196573
196542
  /* harmony export */ "CurveCollection": () => (/* binding */ CurveCollection)
196574
196543
  /* harmony export */ });
196575
196544
  /* harmony import */ var _Geometry__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../Geometry */ "../../core/geometry/lib/esm/Geometry.js");
196576
- /* harmony import */ var _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./CurveLocationDetail */ "../../core/geometry/lib/esm/curve/CurveLocationDetail.js");
196577
- /* harmony import */ var _CurvePrimitive__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./CurvePrimitive */ "../../core/geometry/lib/esm/curve/CurvePrimitive.js");
196545
+ /* harmony import */ var _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./CurveLocationDetail */ "../../core/geometry/lib/esm/curve/CurveLocationDetail.js");
196546
+ /* harmony import */ var _CurvePrimitive__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./CurvePrimitive */ "../../core/geometry/lib/esm/curve/CurvePrimitive.js");
196578
196547
  /* harmony import */ var _GeometryQuery__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./GeometryQuery */ "../../core/geometry/lib/esm/curve/GeometryQuery.js");
196579
- /* harmony import */ var _internalContexts_CloneCurvesContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./internalContexts/CloneCurvesContext */ "../../core/geometry/lib/esm/curve/internalContexts/CloneCurvesContext.js");
196580
- /* harmony import */ var _internalContexts_CloneWithExpandedLineStrings__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./internalContexts/CloneWithExpandedLineStrings */ "../../core/geometry/lib/esm/curve/internalContexts/CloneWithExpandedLineStrings.js");
196581
- /* harmony import */ var _internalContexts_CountLinearPartsSearchContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./internalContexts/CountLinearPartsSearchContext */ "../../core/geometry/lib/esm/curve/internalContexts/CountLinearPartsSearchContext.js");
196582
- /* harmony import */ var _internalContexts_GapSearchContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./internalContexts/GapSearchContext */ "../../core/geometry/lib/esm/curve/internalContexts/GapSearchContext.js");
196548
+ /* harmony import */ var _internalContexts_CloneCurvesContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./internalContexts/CloneCurvesContext */ "../../core/geometry/lib/esm/curve/internalContexts/CloneCurvesContext.js");
196549
+ /* harmony import */ var _internalContexts_CloneWithExpandedLineStrings__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./internalContexts/CloneWithExpandedLineStrings */ "../../core/geometry/lib/esm/curve/internalContexts/CloneWithExpandedLineStrings.js");
196550
+ /* harmony import */ var _internalContexts_CountLinearPartsSearchContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./internalContexts/CountLinearPartsSearchContext */ "../../core/geometry/lib/esm/curve/internalContexts/CountLinearPartsSearchContext.js");
196551
+ /* harmony import */ var _internalContexts_GapSearchContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./internalContexts/GapSearchContext */ "../../core/geometry/lib/esm/curve/internalContexts/GapSearchContext.js");
196583
196552
  /* harmony import */ var _internalContexts_PlaneAltitudeRangeContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./internalContexts/PlaneAltitudeRangeContext */ "../../core/geometry/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.js");
196584
196553
  /* harmony import */ var _internalContexts_SumLengthsContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internalContexts/SumLengthsContext */ "../../core/geometry/lib/esm/curve/internalContexts/SumLengthsContext.js");
196585
- /* harmony import */ var _internalContexts_TransformInPlaceContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./internalContexts/TransformInPlaceContext */ "../../core/geometry/lib/esm/curve/internalContexts/TransformInPlaceContext.js");
196554
+ /* harmony import */ var _internalContexts_TransformInPlaceContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./internalContexts/TransformInPlaceContext */ "../../core/geometry/lib/esm/curve/internalContexts/TransformInPlaceContext.js");
196586
196555
  /* harmony import */ var _LineString3d__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./LineString3d */ "../../core/geometry/lib/esm/curve/LineString3d.js");
196587
196556
  /* harmony import */ var _ProxyCurve__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ProxyCurve */ "../../core/geometry/lib/esm/curve/ProxyCurve.js");
196588
196557
  /*---------------------------------------------------------------------------------------------
@@ -196630,19 +196599,20 @@ class CurveCollection extends _GeometryQuery__WEBPACK_IMPORTED_MODULE_0__.Geomet
196630
196599
  sumLengths() {
196631
196600
  return _internalContexts_SumLengthsContext__WEBPACK_IMPORTED_MODULE_1__.SumLengthsContext.sumLengths(this);
196632
196601
  }
196633
- /** Return the closest point on the contained curves */
196634
- closestPoint(spacePoint) {
196602
+ /**
196603
+ * Return the closest point on the contained curves.
196604
+ * @param spacePoint point in space.
196605
+ * @param _extend unused here (pass false), but applicable to overrides in [[Path]] and [[BagOfCurves]].
196606
+ * @param result optional pre-allocated detail to populate and return.
196607
+ * @returns details of the closest point.
196608
+ */
196609
+ closestPoint(spacePoint, _extend = false, result) {
196635
196610
  let detailA;
196611
+ const detailB = new _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_2__.CurveLocationDetail();
196636
196612
  if (this.children !== undefined) {
196637
196613
  for (const child of this.children) {
196638
- if (child instanceof _CurvePrimitive__WEBPACK_IMPORTED_MODULE_2__.CurvePrimitive) {
196639
- const detailB = child.closestPoint(spacePoint, false);
196640
- detailA = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_3__.CurveLocationDetail.chooseSmallerA(detailA, detailB);
196641
- }
196642
- else if (child instanceof CurveCollection) {
196643
- const detailB = child.closestPoint(spacePoint);
196644
- detailA = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_3__.CurveLocationDetail.chooseSmallerA(detailA, detailB);
196645
- }
196614
+ if (child.closestPoint(spacePoint, false, detailB))
196615
+ detailA = result = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_2__.CurveLocationDetail.chooseSmallerA(detailA, detailB).clone(result);
196646
196616
  }
196647
196617
  }
196648
196618
  return detailA;
@@ -196655,27 +196625,27 @@ class CurveCollection extends _GeometryQuery__WEBPACK_IMPORTED_MODULE_0__.Geomet
196655
196625
  * "unstructured" so gaps should not be semantically meaningful.
196656
196626
  */
196657
196627
  maxGap() {
196658
- return _internalContexts_GapSearchContext__WEBPACK_IMPORTED_MODULE_4__.GapSearchContext.maxGap(this);
196628
+ return _internalContexts_GapSearchContext__WEBPACK_IMPORTED_MODULE_3__.GapSearchContext.maxGap(this);
196659
196629
  }
196660
196630
  /** Return true if the curve collection has any primitives other than LineSegment3d and LineString3d */
196661
196631
  checkForNonLinearPrimitives() {
196662
- return _internalContexts_CountLinearPartsSearchContext__WEBPACK_IMPORTED_MODULE_5__.CountLinearPartsSearchContext.hasNonLinearPrimitives(this);
196632
+ return _internalContexts_CountLinearPartsSearchContext__WEBPACK_IMPORTED_MODULE_4__.CountLinearPartsSearchContext.hasNonLinearPrimitives(this);
196663
196633
  }
196664
196634
  /** Apply transform recursively to children */
196665
196635
  tryTransformInPlace(transform) {
196666
- return _internalContexts_TransformInPlaceContext__WEBPACK_IMPORTED_MODULE_6__.TransformInPlaceContext.tryTransformInPlace(this, transform);
196636
+ return _internalContexts_TransformInPlaceContext__WEBPACK_IMPORTED_MODULE_5__.TransformInPlaceContext.tryTransformInPlace(this, transform);
196667
196637
  }
196668
196638
  /** Return a deep copy. */
196669
196639
  clone() {
196670
- return _internalContexts_CloneCurvesContext__WEBPACK_IMPORTED_MODULE_7__.CloneCurvesContext.clone(this);
196640
+ return _internalContexts_CloneCurvesContext__WEBPACK_IMPORTED_MODULE_6__.CloneCurvesContext.clone(this);
196671
196641
  }
196672
196642
  /** Create a deep copy of transformed curves. */
196673
196643
  cloneTransformed(transform) {
196674
- return _internalContexts_CloneCurvesContext__WEBPACK_IMPORTED_MODULE_7__.CloneCurvesContext.clone(this, transform);
196644
+ return _internalContexts_CloneCurvesContext__WEBPACK_IMPORTED_MODULE_6__.CloneCurvesContext.clone(this, transform);
196675
196645
  }
196676
196646
  /** Create a deep copy with all linestrings broken down into multiple LineSegment3d. */
196677
196647
  cloneWithExpandedLineStrings() {
196678
- return _internalContexts_CloneWithExpandedLineStrings__WEBPACK_IMPORTED_MODULE_8__.CloneWithExpandedLineStrings.clone(this);
196648
+ return _internalContexts_CloneWithExpandedLineStrings__WEBPACK_IMPORTED_MODULE_7__.CloneWithExpandedLineStrings.clone(this);
196679
196649
  }
196680
196650
  /**
196681
196651
  * Push all CurvePrimitives contained in the instance onto the `results` array.
@@ -196685,7 +196655,7 @@ class CurveCollection extends _GeometryQuery__WEBPACK_IMPORTED_MODULE_0__.Geomet
196685
196655
  collectCurvePrimitivesGo(results, smallestPossiblePrimitives, explodeLinestrings = false) {
196686
196656
  if (this.children) {
196687
196657
  for (const child of this.children) {
196688
- if (child instanceof _CurvePrimitive__WEBPACK_IMPORTED_MODULE_2__.CurvePrimitive)
196658
+ if (child instanceof _CurvePrimitive__WEBPACK_IMPORTED_MODULE_8__.CurvePrimitive)
196689
196659
  child.collectCurvePrimitivesGo(results, smallestPossiblePrimitives, explodeLinestrings);
196690
196660
  else if (child instanceof CurveCollection)
196691
196661
  child.collectCurvePrimitivesGo(results, smallestPossiblePrimitives, explodeLinestrings);
@@ -196765,8 +196735,8 @@ class CurveCollection extends _GeometryQuery__WEBPACK_IMPORTED_MODULE_0__.Geomet
196765
196735
  static createCurveLocationDetailOnAnyCurvePrimitive(source, fraction = 0.5) {
196766
196736
  if (!source)
196767
196737
  return undefined;
196768
- if (source instanceof _CurvePrimitive__WEBPACK_IMPORTED_MODULE_2__.CurvePrimitive) {
196769
- return _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_3__.CurveLocationDetail.createCurveEvaluatedFraction(source, fraction);
196738
+ if (source instanceof _CurvePrimitive__WEBPACK_IMPORTED_MODULE_8__.CurvePrimitive) {
196739
+ return _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_2__.CurveLocationDetail.createCurveEvaluatedFraction(source, fraction);
196770
196740
  }
196771
196741
  else if (source instanceof CurveCollection && source.children !== undefined)
196772
196742
  for (const child of source.children) {
@@ -196808,6 +196778,22 @@ class CurveChain extends CurveCollection {
196808
196778
  get children() {
196809
196779
  return this._curves;
196810
196780
  }
196781
+ /** Return the start point of the curve chain (start point of the first child). */
196782
+ startPoint(result) {
196783
+ const firstChild = this.getChild(0);
196784
+ if (firstChild)
196785
+ return firstChild.fractionToPoint(0.0, result);
196786
+ else
196787
+ return undefined;
196788
+ }
196789
+ /** Return the end point of the curve chain (end point of the last child). */
196790
+ endPoint(result) {
196791
+ const lastChild = this.getChild(this._curves.length - 1);
196792
+ if (lastChild)
196793
+ return lastChild.fractionToPoint(1.0, result);
196794
+ else
196795
+ return undefined;
196796
+ }
196811
196797
  /**
196812
196798
  * Return the curve primitive at the given `index`, optionally using `modulo` to map `index` to the cyclic indexing.
196813
196799
  * * In particular, `-1` is the final curve.
@@ -196852,7 +196838,7 @@ class CurveChain extends CurveCollection {
196852
196838
  * @return whether the child was added
196853
196839
  */
196854
196840
  tryAddChild(child) {
196855
- if (child && child instanceof _CurvePrimitive__WEBPACK_IMPORTED_MODULE_2__.CurvePrimitive) {
196841
+ if (child && child instanceof _CurvePrimitive__WEBPACK_IMPORTED_MODULE_8__.CurvePrimitive) {
196856
196842
  this._curves.push(child);
196857
196843
  return true;
196858
196844
  }
@@ -196902,7 +196888,7 @@ class CurveChain extends CurveCollection {
196902
196888
  primitiveIndexAndFractionToCurveLocationDetailPointAndDerivative(index, fraction, cyclic = false, result) {
196903
196889
  const primitive = this.cyclicCurvePrimitive(index, cyclic);
196904
196890
  if (primitive) {
196905
- return _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_3__.CurveLocationDetail.createCurveEvaluatedFractionPointAndDerivative(primitive, fraction, result);
196891
+ return _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_2__.CurveLocationDetail.createCurveEvaluatedFractionPointAndDerivative(primitive, fraction, result);
196906
196892
  }
196907
196893
  return undefined;
196908
196894
  }
@@ -196949,7 +196935,7 @@ class BagOfCurves extends CurveCollection {
196949
196935
  const clone = new BagOfCurves();
196950
196936
  let child;
196951
196937
  for (child of this.children) {
196952
- if (child instanceof _CurvePrimitive__WEBPACK_IMPORTED_MODULE_2__.CurvePrimitive) {
196938
+ if (child instanceof _CurvePrimitive__WEBPACK_IMPORTED_MODULE_8__.CurvePrimitive) {
196953
196939
  const ls = _LineString3d__WEBPACK_IMPORTED_MODULE_11__.LineString3d.create();
196954
196940
  child.emitStrokes(ls, options);
196955
196941
  if (ls)
@@ -196963,6 +196949,24 @@ class BagOfCurves extends CurveCollection {
196963
196949
  }
196964
196950
  return clone;
196965
196951
  }
196952
+ /**
196953
+ * Return the closest point on the contained curves.
196954
+ * @param spacePoint point in space.
196955
+ * @param extend applicable only to children of type [[CurvePrimitive]], [[Path]], or [[BagOfCurves]]
196956
+ * @param result optional pre-allocated detail to populate and return.
196957
+ * @returns details of the closest point.
196958
+ */
196959
+ closestPoint(spacePoint, extend = false, result) {
196960
+ let detailA;
196961
+ const detailB = new _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_2__.CurveLocationDetail();
196962
+ if (this.children !== undefined) {
196963
+ for (const child of this.children) {
196964
+ if (child.closestPoint(spacePoint, extend, detailB))
196965
+ detailA = result = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_2__.CurveLocationDetail.chooseSmallerA(detailA, detailB).clone(result);
196966
+ }
196967
+ }
196968
+ return detailA;
196969
+ }
196966
196970
  /** Return an empty `BagOfCurves` */
196967
196971
  cloneEmptyPeer() {
196968
196972
  return new BagOfCurves();
@@ -197151,7 +197155,8 @@ __webpack_require__.r(__webpack_exports__);
197151
197155
  * @module Curve
197152
197156
  */
197153
197157
 
197154
- /** Enumeration of condition for extending a curve beyond start or end point.
197158
+ /**
197159
+ * Enumeration of condition for extending a curve beyond start or end point.
197155
197160
  * * Not all CurvePrimitives support these modes.
197156
197161
  * @public
197157
197162
  */
@@ -197159,17 +197164,18 @@ var CurveExtendMode;
197159
197164
  (function (CurveExtendMode) {
197160
197165
  /** No extension allowed. */
197161
197166
  CurveExtendMode[CurveExtendMode["None"] = 0] = "None";
197162
- /** Extend along continuation of the end tangent */
197167
+ /** Extend along continuation of the end tangent. */
197163
197168
  CurveExtendMode[CurveExtendMode["OnTangent"] = 1] = "OnTangent";
197164
197169
  /** Extend along continuation of the curve. */
197165
197170
  CurveExtendMode[CurveExtendMode["OnCurve"] = 2] = "OnCurve";
197166
197171
  })(CurveExtendMode || (CurveExtendMode = {}));
197167
- /** Logic for deciding how a curve may be extended for closest point or intersection searches.
197172
+ /**
197173
+ * Logic for deciding how a curve may be extended for closest point or intersection searches.
197168
197174
  * @public
197169
197175
  */
197170
197176
  class CurveExtendOptions {
197171
197177
  /**
197172
- * Given an VariantCurveExtendParameter, isolate the particular CurveExtendMode in effect at an end.
197178
+ * Given a `VariantCurveExtendParameter`, isolate the particular CurveExtendMode in effect at an end.
197173
197179
  * * Return `CurveExtendMode.None` if `param === false`.
197174
197180
  * * Return `CurveExtendMode.OnCurve` if `param === true`.
197175
197181
  * * Return the param if it is a single CurveExtendMode.
@@ -197181,15 +197187,14 @@ class CurveExtendOptions {
197181
197187
  if (param === true)
197182
197188
  return CurveExtendMode.OnCurve;
197183
197189
  if (Array.isArray(param))
197184
- return param[endIndex];
197190
+ return param.length > endIndex ? param[endIndex] : CurveExtendMode.None;
197185
197191
  return param;
197186
197192
  }
197187
197193
  /**
197188
- *
197189
- * * if fraction is between 0 and 1 return it unchanged.
197190
- * * if fraction is less than 0 use the variant param to choose the fraction or 0
197191
- * * if fraction is greater than 1 use the variant param to choose the fraction or 1
197192
- *
197194
+ * Correct fraction to be within [0,1].
197195
+ * * If fraction is in [0,1] return it unchanged.
197196
+ * * If fraction is less than 0 use `extendParam` to decide whether to return it unchanged, or to return 0.
197197
+ * * If fraction is greater than 1 use `extendParam` to decide whether to return it unchanged, or to return 1.
197193
197198
  */
197194
197199
  static correctFraction(extendParam, fraction) {
197195
197200
  if (fraction < 0) {
@@ -197206,10 +197211,10 @@ class CurveExtendOptions {
197206
197211
  }
197207
197212
  /**
197208
197213
  * Adjust a radians value to an angle sweep, allowing the extendParam to affect choice among periodic fractions.
197209
- * * if radians is within the sweep, convert it to a fraction of the sweep.
197210
- * * if radians is outside, use the extendParam to choose among:
197211
- * * fraction below 0
197212
- * * fraction above 1
197214
+ * * If radians is within the sweep, convert it to a fraction of the sweep.
197215
+ * * If radians is outside, use the extendParam to choose among:
197216
+ * * fraction below 0.
197217
+ * * fraction above 1.
197213
197218
  */
197214
197219
  static resolveRadiansToSweepFraction(extendParam, radians, sweep) {
197215
197220
  let fraction = sweep.radiansToSignedPeriodicFraction(radians);
@@ -197219,11 +197224,11 @@ class CurveExtendOptions {
197219
197224
  const mode1 = CurveExtendOptions.resolveVariantCurveExtendParameterToCurveExtendMode(extendParam, 1);
197220
197225
  if (mode0 !== CurveExtendMode.None) {
197221
197226
  if (mode1 !== CurveExtendMode.None) {
197222
- // both extensions possible ... let the sweep resolve to the "closer" end
197227
+ // both extensions possible; let the sweep resolve to the "closer" end
197223
197228
  fraction = sweep.radiansToSignedPeriodicFraction(radians);
197224
197229
  }
197225
197230
  else {
197226
- // only extend to negative .....
197231
+ // only extend to negative
197227
197232
  if (fraction > 1.0)
197228
197233
  fraction -= fractionPeriod;
197229
197234
  }
@@ -197232,7 +197237,7 @@ class CurveExtendOptions {
197232
197237
  if (fraction < 0.0)
197233
197238
  fraction += fractionPeriod;
197234
197239
  }
197235
- else { // both clamped !!!!
197240
+ else { // both clamped
197236
197241
  fraction = _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.clamp(fraction, 0, 1);
197237
197242
  }
197238
197243
  }
@@ -198936,11 +198941,15 @@ class CurvePrimitive extends _GeometryQuery__WEBPACK_IMPORTED_MODULE_1__.Geometr
198936
198941
  * Search for a point on the curve that is closest to the spacePoint.
198937
198942
  * * If the space point is exactly on the curve, this is the reverse of fractionToPoint.
198938
198943
  * * Since CurvePrimitive should always have start and end available as candidate points, this method should always
198939
- * succeed
198940
- * @param spacePoint point in space
198941
- * @param extend true to extend the curve (if possible), false for no extend, single CurveExtendOptions (for both
198942
- * directions), or array of distinct CurveExtendOptions for start and end.
198943
- * @returns Returns a CurveLocationDetail structure that holds the details of the close point.
198944
+ * succeed.
198945
+ * @param spacePoint point in space.
198946
+ * @param extend if applicable, compute the closest point to the curve extended according to variant type:
198947
+ * * false: do not extend the curve
198948
+ * * true: extend the curve at both start and end
198949
+ * * CurveExtendOptions: extend the curve in the specified manner at both start and end
198950
+ * * CurveExtendOptions[]: first entry applies to curve start; second, to curve end; any other entries ignored
198951
+ * @param result optional pre-allocated detail to populate and return.
198952
+ * @returns details of the closest point.
198944
198953
  */
198945
198954
  closestPoint(spacePoint, extend, result) {
198946
198955
  const strokeHandler = new _internalContexts_ClosestPointStrokeHandler__WEBPACK_IMPORTED_MODULE_10__.ClosestPointStrokeHandler(spacePoint, extend, result);
@@ -199181,7 +199190,6 @@ __webpack_require__.r(__webpack_exports__);
199181
199190
  /* harmony export */ });
199182
199191
  /* harmony import */ var _CurvePrimitive__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CurvePrimitive */ "../../core/geometry/lib/esm/curve/CurvePrimitive.js");
199183
199192
 
199184
- /* eslint-disable @typescript-eslint/naming-convention, no-empty */
199185
199193
  /** base class for detailed traversal of curve artifacts.
199186
199194
  * * This recurses to children in the quickest way (no records of path)
199187
199195
  * * Use the RecursiveCurveProcessorWithStack to record the path along the visit.
@@ -199520,7 +199528,6 @@ __webpack_require__.r(__webpack_exports__);
199520
199528
 
199521
199529
 
199522
199530
 
199523
- /* eslint-disable @typescript-eslint/naming-convention, no-empty */
199524
199531
  /**
199525
199532
  * A LineSegment3d is:
199526
199533
  * * A 3d line segment represented by its start and end coordinates
@@ -201701,14 +201708,14 @@ class JointOptions {
201701
201708
  * * leftOffsetDistance is required
201702
201709
  * * minArcDegrees and maxChamferDegrees are optional.
201703
201710
  */
201704
- constructor(leftOffsetDistance, minArcDegrees = 180, maxChamferDegrees = 90, preserveEllipticalArcs = false, allowSharpestCorners = false) {
201711
+ constructor(leftOffsetDistance, minArcDegrees = 180, maxChamferDegrees = 91, preserveEllipticalArcs = false, allowSharpestCorners = false) {
201705
201712
  /**
201706
201713
  * Smallest arc to construct.
201707
201714
  * * If this control angle is 180 degrees or more, arcs are never created.
201708
201715
  */
201709
201716
  this.minArcDegrees = 180.0;
201710
201717
  /** Largest turn angle at which to construct a sharp corner, or largest turn angle in a multi-segment chamfer. */
201711
- this.maxChamferTurnDegrees = 90;
201718
+ this.maxChamferTurnDegrees = 91.0;
201712
201719
  /**
201713
201720
  * Whether to remove the internal turn angle upper bound for sharp corner construction.
201714
201721
  * * By default, a sharp corner is not created at a joint when the turn angle is too large, so as to avoid offsets whose
@@ -201754,7 +201761,7 @@ class JointOptions {
201754
201761
  }
201755
201762
  /** Return true if the options indicate this amount of turn should be handled with an arc. */
201756
201763
  needArc(theta) {
201757
- return Math.abs(theta.degrees) >= this.minArcDegrees;
201764
+ return Math.abs(theta.degrees) >= this.minArcDegrees - _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.smallAngleDegrees;
201758
201765
  }
201759
201766
  /** Return the number of corners needed to chamfer the given turn angle. */
201760
201767
  numChamferPoints(theta) {
@@ -201765,7 +201772,7 @@ class JointOptions {
201765
201772
  maxStepDegreesClamp = this.maxChamferTurnDegrees;
201766
201773
  }
201767
201774
  const stepDegrees = _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.clamp(this.maxChamferTurnDegrees, minStepDegreesClamp, maxStepDegreesClamp);
201768
- if (degrees <= stepDegrees)
201775
+ if (degrees <= stepDegrees + _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.smallAngleDegrees)
201769
201776
  return 1;
201770
201777
  return Math.ceil(degrees / stepDegrees);
201771
201778
  }
@@ -201986,6 +201993,8 @@ __webpack_require__.r(__webpack_exports__);
201986
201993
  /* harmony import */ var _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../geometry3d/Point3dVector3d */ "../../core/geometry/lib/esm/geometry3d/Point3dVector3d.js");
201987
201994
  /* harmony import */ var _CurveChainWithDistanceIndex__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./CurveChainWithDistanceIndex */ "../../core/geometry/lib/esm/curve/CurveChainWithDistanceIndex.js");
201988
201995
  /* harmony import */ var _CurveCollection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CurveCollection */ "../../core/geometry/lib/esm/curve/CurveCollection.js");
201996
+ /* harmony import */ var _CurveExtendMode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./CurveExtendMode */ "../../core/geometry/lib/esm/curve/CurveExtendMode.js");
201997
+ /* harmony import */ var _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./CurveLocationDetail */ "../../core/geometry/lib/esm/curve/CurveLocationDetail.js");
201989
201998
  /* harmony import */ var _CurvePrimitive__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./CurvePrimitive */ "../../core/geometry/lib/esm/curve/CurvePrimitive.js");
201990
201999
  /* harmony import */ var _LineString3d__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./LineString3d */ "../../core/geometry/lib/esm/curve/LineString3d.js");
201991
202000
  /*---------------------------------------------------------------------------------------------
@@ -201997,6 +202006,8 @@ __webpack_require__.r(__webpack_exports__);
201997
202006
 
201998
202007
 
201999
202008
 
202009
+
202010
+
202000
202011
  /**
202001
202012
  * * A `Path` object is a collection of curves that join head-to-tail to form a path.
202002
202013
  * * A `Path` object does not bound a planar region. Use `Loop` to indicate region bounding.
@@ -202050,6 +202061,31 @@ class Path extends _CurveCollection__WEBPACK_IMPORTED_MODULE_0__.CurveChain {
202050
202061
  curve.emitStrokes(strokes, options);
202051
202062
  return Path.create(strokes);
202052
202063
  }
202064
+ /**
202065
+ * Return the closest point on the contained curves.
202066
+ * @param spacePoint point in space.
202067
+ * @param extend compute the closest point to the path extended according to variant type:
202068
+ * * false: do not extend the path
202069
+ * * true: extend the path at both start and end
202070
+ * * CurveExtendOptions: extend the path in the specified manner at both start and end
202071
+ * * CurveExtendOptions[]: first entry applies to path start; second, to path end; any other entries ignored
202072
+ * @param result optional pre-allocated detail to populate and return.
202073
+ * @returns details of the closest point.
202074
+ */
202075
+ closestPoint(spacePoint, extend = false, result) {
202076
+ let detailA;
202077
+ const detailB = new _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_5__.CurveLocationDetail();
202078
+ if (this.children !== undefined) {
202079
+ for (let i = 0; i < this.children.length; i++) {
202080
+ const child = this.children[i]; // head only extends at start; tail, only at end. NOTE: child may be both head and tail!
202081
+ const mode0 = (i === 0) ? _CurveExtendMode__WEBPACK_IMPORTED_MODULE_6__.CurveExtendOptions.resolveVariantCurveExtendParameterToCurveExtendMode(extend, 0) : _CurveExtendMode__WEBPACK_IMPORTED_MODULE_6__.CurveExtendMode.None;
202082
+ const mode1 = (i === this.children.length - 1) ? _CurveExtendMode__WEBPACK_IMPORTED_MODULE_6__.CurveExtendOptions.resolveVariantCurveExtendParameterToCurveExtendMode(extend, 1) : _CurveExtendMode__WEBPACK_IMPORTED_MODULE_6__.CurveExtendMode.None;
202083
+ if (child.closestPoint(spacePoint, [mode0, mode1], detailB))
202084
+ detailA = result = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_5__.CurveLocationDetail.chooseSmallerA(detailA, detailB).clone(result);
202085
+ }
202086
+ }
202087
+ return detailA;
202088
+ }
202053
202089
  /** Return the boundary type (1) of a corresponding MicroStation CurveVector */
202054
202090
  dgnBoundaryType() {
202055
202091
  return 1;
@@ -202093,7 +202129,6 @@ __webpack_require__.r(__webpack_exports__);
202093
202129
 
202094
202130
 
202095
202131
 
202096
- /* eslint-disable @typescript-eslint/naming-convention, no-empty */
202097
202132
  /**
202098
202133
  * A PointString3d is an array of points.
202099
202134
  * * PointString3D is first class (displayable, possibly persistent) geometry derived from the GeometryQuery base class.
@@ -205643,7 +205678,6 @@ __webpack_require__.r(__webpack_exports__);
205643
205678
  */
205644
205679
 
205645
205680
 
205646
- /* eslint-disable @typescript-eslint/naming-convention, no-empty */
205647
205681
  /**
205648
205682
  * Tolerance blob for various stroking methods.
205649
205683
  *
@@ -211216,7 +211250,7 @@ var JointMode;
211216
211250
  * @internal
211217
211251
  */
211218
211252
  class Joint {
211219
- // capture references to all data . . .
211253
+ // capture references to all data members
211220
211254
  constructor(curve0, curve1, swingPoint) {
211221
211255
  this.curve0 = curve0;
211222
211256
  this.curve1 = curve1;
@@ -211353,9 +211387,10 @@ class Joint {
211353
211387
  }
211354
211388
  /**
211355
211389
  * Visit joints on a chain.
211356
- * * terminate on `false` return from `callback`
211357
- * @param start first (and, for cyclic chain, final) joint
211390
+ * * Terminates if `callback` returns `false`.
211391
+ * @param start first (and, for cyclic chain, final) joint.
211358
211392
  * @param callback function to call with each Joint as a single parameter.
211393
+ * @param maxTest
211359
211394
  */
211360
211395
  static visitJointsOnChain(start, callback, maxTest = 100) {
211361
211396
  let joint = start;
@@ -211736,7 +211771,7 @@ class CurveChainWireOffsetContext {
211736
211771
  for (const c of curves.children) {
211737
211772
  const c1 = CurveChainWireOffsetContext.createSingleOffsetPrimitiveXY(c, offsetOptions);
211738
211773
  if (c1 === undefined) {
211739
- // bad .. maybe arc to inside?
211774
+ // bad; maybe arc to inside?
211740
211775
  }
211741
211776
  else if (c1 instanceof _CurvePrimitive__WEBPACK_IMPORTED_MODULE_12__.CurvePrimitive) {
211742
211777
  simpleOffsets.push(c1);
@@ -217799,7 +217834,6 @@ __webpack_require__.r(__webpack_exports__);
217799
217834
 
217800
217835
 
217801
217836
 
217802
- /* eslint-disable @typescript-eslint/naming-convention, no-empty */
217803
217837
  /**
217804
217838
  * Helper class to accumulate points and vectors until there is enough data to define a coordinate system.
217805
217839
  *
@@ -225298,7 +225332,6 @@ __webpack_require__.r(__webpack_exports__);
225298
225332
  /** @packageDocumentation
225299
225333
  * @module CartesianGeometry
225300
225334
  */
225301
- /* eslint-disable @typescript-eslint/naming-convention, no-empty */
225302
225335
 
225303
225336
 
225304
225337
  /**
@@ -227872,7 +227905,6 @@ __webpack_require__.r(__webpack_exports__);
227872
227905
  /** @packageDocumentation
227873
227906
  * @module CartesianGeometry
227874
227907
  */
227875
- /* eslint-disable @typescript-eslint/naming-convention, no-empty */
227876
227908
 
227877
227909
 
227878
227910
 
@@ -237978,7 +238010,6 @@ __webpack_require__.r(__webpack_exports__);
237978
238010
 
237979
238011
 
237980
238012
 
237981
- /* eslint-disable @typescript-eslint/naming-convention */
237982
238013
  /**
237983
238014
  * * BezierCoffs is an abstract base class for one-dimensional (u to f(u)) Bezier polynomials.
237984
238015
  * * The base class carries a Float64Array with coefficients.
@@ -245235,7 +245266,6 @@ __webpack_require__.r(__webpack_exports__);
245235
245266
 
245236
245267
 
245237
245268
 
245238
- /* eslint-disable @itwin/prefer-get */
245239
245269
  /**
245240
245270
  * An `IndexedPolyfaceVisitor` is an iterator-like object that "visits" facets of a mesh.
245241
245271
  * * The visitor extends `PolyfaceData`, so it can at any time hold all the data of a single facet.
@@ -245533,7 +245563,6 @@ __webpack_require__.r(__webpack_exports__);
245533
245563
  /** @packageDocumentation
245534
245564
  * @module Polyface
245535
245565
  */
245536
- /* eslint-disable @typescript-eslint/naming-convention, no-empty */
245537
245566
  // cspell:word internaldocs
245538
245567
 
245539
245568
 
@@ -247299,7 +247328,7 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
247299
247328
  const children = data.children;
247300
247329
  if (children)
247301
247330
  for (const child of children)
247302
- // eslint-disable-next-line deprecation/deprecation
247331
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
247303
247332
  this.applyStrokeCountsToCurvePrimitives(child);
247304
247333
  }
247305
247334
  }
@@ -248210,7 +248239,6 @@ __webpack_require__.r(__webpack_exports__);
248210
248239
  /** @packageDocumentation
248211
248240
  * @module Polyface
248212
248241
  */
248213
- /* eslint-disable @typescript-eslint/naming-convention, no-empty */
248214
248242
 
248215
248243
 
248216
248244
 
@@ -249554,7 +249582,6 @@ __webpack_require__.r(__webpack_exports__);
249554
249582
  /** @packageDocumentation
249555
249583
  * @module Polyface
249556
249584
  */
249557
- /* eslint-disable @typescript-eslint/naming-convention, no-empty */
249558
249585
  // cspell:word internaldocs
249559
249586
 
249560
249587
 
@@ -262142,7 +262169,6 @@ __webpack_require__.r(__webpack_exports__);
262142
262169
  /** @packageDocumentation
262143
262170
  * @module Serialization
262144
262171
  */
262145
- /* eslint-disable quote-props */
262146
262172
  /**
262147
262173
  * Utilities to compare json objects by searching through their properties.
262148
262174
  * @public
@@ -275547,7 +275573,7 @@ class ITwinLocalization {
275547
275573
  locales = locales.filter((thisLocale) => !thisError.includes(thisLocale));
275548
275574
  }
275549
275575
  }
275550
- catch (e) {
275576
+ catch {
275551
275577
  locales = [];
275552
275578
  }
275553
275579
  // if we removed every locale from the array, it wasn't loaded.
@@ -293722,7 +293748,6 @@ class Formatter {
293722
293748
  const compositeStrings = [];
293723
293749
  // Caller will deal with appending +||-||() value sign as specified by formatting options so just format positive value
293724
293750
  let posMagnitude = Math.abs(magnitude);
293725
- // eslint-disable-next-line @typescript-eslint/prefer-for-of
293726
293751
  for (let i = 0; i < spec.unitConversions.length; i++) {
293727
293752
  const currentLabel = spec.unitConversions[i].label;
293728
293753
  const unitConversion = spec.unitConversions[i].conversion;
@@ -294066,7 +294091,6 @@ class Formatter {
294066
294091
  }
294067
294092
  }
294068
294093
  }
294069
- // eslint-disable-next-line @typescript-eslint/naming-convention
294070
294094
  Formatter.FPV_MINTHRESHOLD = 1.0e-14;
294071
294095
 
294072
294096
 
@@ -294456,7 +294480,6 @@ class Parser {
294456
294480
  uomSeparatorToIgnore = format.uomSeparator.charCodeAt(0);
294457
294481
  skipCodes.push(uomSeparatorToIgnore);
294458
294482
  }
294459
- // eslint-disable-next-line @typescript-eslint/prefer-for-of
294460
294483
  for (let i = 0; i < str.length; i++) {
294461
294484
  const charCode = str.charCodeAt(i);
294462
294485
  if (Parser.isDigitOrDecimalSeparator(charCode, format)) {
@@ -296192,9 +296215,9 @@ class Settings {
296192
296215
  this.iModels = [];
296193
296216
  const isFrontend = (typeof (process) === "undefined");
296194
296217
  if (!isFrontend && undefined === env.TF_BUILD) {
296195
- const path = __webpack_require__(/*! path */ "../../common/temp/node_modules/.pnpm/path-browserify@1.0.1/node_modules/path-browserify/index.js"); // eslint-disable-line @typescript-eslint/no-var-requires
296196
- const dotenv = __webpack_require__(/*! dotenv */ "../../common/temp/node_modules/.pnpm/dotenv@16.4.5/node_modules/dotenv/lib/main.js"); // eslint-disable-line @typescript-eslint/no-var-requires
296197
- const dotenvExpand = __webpack_require__(/*! dotenv-expand */ "../../common/temp/node_modules/.pnpm/dotenv-expand@5.1.0/node_modules/dotenv-expand/lib/main.js"); // eslint-disable-line @typescript-eslint/no-var-requires
296218
+ const path = __webpack_require__(/*! path */ "../../common/temp/node_modules/.pnpm/path-browserify@1.0.1/node_modules/path-browserify/index.js"); // eslint-disable-line @typescript-eslint/no-require-imports
296219
+ const dotenv = __webpack_require__(/*! dotenv */ "../../common/temp/node_modules/.pnpm/dotenv@16.4.5/node_modules/dotenv/lib/main.js"); // eslint-disable-line @typescript-eslint/no-require-imports
296220
+ const dotenvExpand = __webpack_require__(/*! dotenv-expand */ "../../common/temp/node_modules/.pnpm/dotenv-expand@5.1.0/node_modules/dotenv-expand/lib/main.js"); // eslint-disable-line @typescript-eslint/no-require-imports
296198
296221
  // First check in process.cwd() for the config
296199
296222
  let result = dotenv.config();
296200
296223
  if (result.error) {
@@ -296461,7 +296484,6 @@ const Settings_1 = __webpack_require__(/*! ../../common/Settings */ "./lib/commo
296461
296484
  const SideChannels_1 = __webpack_require__(/*! ../../common/SideChannels */ "./lib/common/SideChannels.js");
296462
296485
  const IModelSession_1 = __webpack_require__(/*! ./IModelSession */ "./lib/frontend/setup/IModelSession.js");
296463
296486
  /* eslint-disable no-console */
296464
- /* eslint-disable @typescript-eslint/indent */
296465
296487
  class TestContext {
296466
296488
  constructor(env) {
296467
296489
  this.settings = new Settings_1.Settings(env);
@@ -296503,7 +296525,7 @@ class TestContext {
296503
296525
  this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
296504
296526
  const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
296505
296527
  await core_frontend_1.NoRenderApp.startup({
296506
- applicationVersion: "4.10.0-dev.32",
296528
+ applicationVersion: "4.10.0-dev.34",
296507
296529
  applicationId: this.settings.gprid,
296508
296530
  authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
296509
296531
  hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
@@ -297040,7 +297062,7 @@ var InstanceKey;
297040
297062
  * @deprecated in 3.x. Use [[InstanceKey]].
297041
297063
  */
297042
297064
  // istanbul ignore next
297043
- // eslint-disable-next-line deprecation/deprecation
297065
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
297044
297066
  function toJSON(key) {
297045
297067
  return { ...key };
297046
297068
  }
@@ -297050,7 +297072,7 @@ var InstanceKey;
297050
297072
  * @deprecated in 3.x. Use [[InstanceKey]].
297051
297073
  */
297052
297074
  // istanbul ignore next
297053
- // eslint-disable-next-line deprecation/deprecation
297075
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
297054
297076
  function fromJSON(json) {
297055
297077
  return { ...json };
297056
297078
  }
@@ -297064,7 +297086,7 @@ var ClassInfo;
297064
297086
  * @deprecated in 3.x. Use [[ClassInfo]].
297065
297087
  */
297066
297088
  // istanbul ignore next
297067
- // eslint-disable-next-line deprecation/deprecation
297089
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
297068
297090
  function toJSON(info) {
297069
297091
  return { ...info };
297070
297092
  }
@@ -297074,7 +297096,7 @@ var ClassInfo;
297074
297096
  * @deprecated in 3.x. Use [[ClassInfo]].
297075
297097
  */
297076
297098
  // istanbul ignore next
297077
- // eslint-disable-next-line deprecation/deprecation
297099
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
297078
297100
  function fromJSON(json) {
297079
297101
  return { ...json };
297080
297102
  }
@@ -297587,7 +297609,6 @@ class PresentationError extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__
297587
297609
  * Returns the name of each error status. The name is used by the `Error.prototype.toString()`
297588
297610
  * method to create a string representation of the error.
297589
297611
  */
297590
- // eslint-disable-next-line @typescript-eslint/naming-convention
297591
297612
  _initName() {
297592
297613
  let value = PresentationStatus[this.errorNumber];
297593
297614
  if (!value) {
@@ -297727,7 +297748,7 @@ class KeySet {
297727
297748
  get nodeKeys() {
297728
297749
  const set = new Set();
297729
297750
  for (const serialized of this._nodeKeys) {
297730
- // eslint-disable-next-line deprecation/deprecation
297751
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
297731
297752
  const key = _hierarchy_Key__WEBPACK_IMPORTED_MODULE_2__.NodeKey.fromJSON(JSON.parse(serialized));
297732
297753
  set.add(key);
297733
297754
  }
@@ -297761,7 +297782,7 @@ class KeySet {
297761
297782
  }
297762
297783
  addKeySet(keyset, pred) {
297763
297784
  for (const key of keyset._nodeKeys) {
297764
- // eslint-disable-next-line deprecation/deprecation
297785
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
297765
297786
  if (!pred || pred(_hierarchy_Key__WEBPACK_IMPORTED_MODULE_2__.NodeKey.fromJSON(JSON.parse(key)))) {
297766
297787
  this._nodeKeys.add(key);
297767
297788
  }
@@ -298016,7 +298037,7 @@ class KeySet {
298016
298037
  return true;
298017
298038
  }
298018
298039
  }
298019
- // eslint-disable-next-line deprecation/deprecation
298040
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
298020
298041
  return some(this._nodeKeys, (serializedKey) => callback(_hierarchy_Key__WEBPACK_IMPORTED_MODULE_2__.NodeKey.fromJSON(JSON.parse(serializedKey))));
298021
298042
  }
298022
298043
  /** Iterate over all keys in this keyset. */
@@ -298027,7 +298048,7 @@ class KeySet {
298027
298048
  ids.forEach((id) => callback({ className: recentClassName, id }, index++));
298028
298049
  });
298029
298050
  this._nodeKeys.forEach((serializedKey) => {
298030
- // eslint-disable-next-line deprecation/deprecation
298051
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
298031
298052
  callback(_hierarchy_Key__WEBPACK_IMPORTED_MODULE_2__.NodeKey.fromJSON(JSON.parse(serializedKey)), index++);
298032
298053
  });
298033
298054
  }
@@ -298065,7 +298086,7 @@ class KeySet {
298065
298086
  instanceKeys.push([className, compressedIds.length > 0 ? compressedIds : _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.invalid]);
298066
298087
  }
298067
298088
  }
298068
- // eslint-disable-next-line deprecation/deprecation
298089
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
298069
298090
  const nodeKeys = [];
298070
298091
  for (const serializedKey of this._nodeKeys.values()) {
298071
298092
  nodeKeys.push(JSON.parse(serializedKey));
@@ -298304,7 +298325,7 @@ var LabelCompositeValue;
298304
298325
  * Serialize given [[LabelCompositeValue]] to JSON
298305
298326
  * @deprecated in 3.x. Use [[LabelCompositeValue]].
298306
298327
  */
298307
- // eslint-disable-next-line deprecation/deprecation
298328
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
298308
298329
  function toJSON(compositeValue) {
298309
298330
  return { ...compositeValue };
298310
298331
  }
@@ -298313,7 +298334,7 @@ var LabelCompositeValue;
298313
298334
  * Deserialize [[LabelCompositeValue]] from JSON
298314
298335
  * @deprecated in 3.x. Use [[LabelCompositeValue]].
298315
298336
  */
298316
- // eslint-disable-next-line deprecation/deprecation
298337
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
298317
298338
  function fromJSON(json) {
298318
298339
  return { ...json };
298319
298340
  }
@@ -298326,7 +298347,7 @@ var LabelDefinition;
298326
298347
  * Serialize given [[LabelDefinition]] to JSON
298327
298348
  * @deprecated in 3.x. Use [[LabelDefinition]].
298328
298349
  */
298329
- // eslint-disable-next-line deprecation/deprecation
298350
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
298330
298351
  function toJSON(labelDefinition) {
298331
298352
  return { ...labelDefinition };
298332
298353
  }
@@ -298335,7 +298356,7 @@ var LabelDefinition;
298335
298356
  * Deserialize [[LabelDefinition]] from JSON
298336
298357
  * @deprecated in 3.x. Use [[LabelDefinition]].
298337
298358
  */
298338
- // eslint-disable-next-line deprecation/deprecation
298359
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
298339
298360
  function fromJSON(json) {
298340
298361
  if (typeof json === "string") {
298341
298362
  return JSON.parse(json);
@@ -298633,7 +298654,7 @@ class PresentationRpcInterface extends _itwin_core_common__WEBPACK_IMPORTED_MODU
298633
298654
  async getNodesCount(_token, _options) {
298634
298655
  return this.forward(arguments);
298635
298656
  }
298636
- // eslint-disable-next-line deprecation/deprecation
298657
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
298637
298658
  async getPagedNodes(_token, _options) {
298638
298659
  return this.forward(arguments);
298639
298660
  }
@@ -298641,12 +298662,12 @@ class PresentationRpcInterface extends _itwin_core_common__WEBPACK_IMPORTED_MODU
298641
298662
  return this.forward(arguments);
298642
298663
  }
298643
298664
  // TODO: add paged version of this (#387280)
298644
- // eslint-disable-next-line deprecation/deprecation
298665
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
298645
298666
  async getNodePaths(_token, _options) {
298646
298667
  return this.forward(arguments);
298647
298668
  }
298648
298669
  // TODO: add paged version of this (#387280)
298649
- // eslint-disable-next-line deprecation/deprecation
298670
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
298650
298671
  async getFilteredNodePaths(_token, _options) {
298651
298672
  return this.forward(arguments);
298652
298673
  }
@@ -298692,9 +298713,8 @@ class PresentationRpcInterface extends _itwin_core_common__WEBPACK_IMPORTED_MODU
298692
298713
  return this.forward(arguments);
298693
298714
  }
298694
298715
  }
298695
- // eslint-disable-line deprecation/deprecation
298696
298716
  /** The immutable name of the interface. */
298697
- PresentationRpcInterface.interfaceName = "PresentationRpcInterface"; // eslint-disable-line @typescript-eslint/naming-convention
298717
+ PresentationRpcInterface.interfaceName = "PresentationRpcInterface";
298698
298718
  /** The semantic version of the interface. */
298699
298719
  PresentationRpcInterface.interfaceVersion = "4.1.0";
298700
298720
  /** @internal */
@@ -298864,7 +298884,7 @@ class RpcRequestsHandler {
298864
298884
  return this.request(this.rpcClient.getNodesCount.bind(this.rpcClient), options);
298865
298885
  }
298866
298886
  async getPagedNodes(options) {
298867
- // eslint-disable-next-line deprecation/deprecation
298887
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
298868
298888
  return this.request(this.rpcClient.getPagedNodes.bind(this.rpcClient), options);
298869
298889
  }
298870
298890
  async getNodesDescriptor(options) {
@@ -298875,11 +298895,11 @@ class RpcRequestsHandler {
298875
298895
  return response;
298876
298896
  }
298877
298897
  async getNodePaths(options) {
298878
- // eslint-disable-next-line deprecation/deprecation
298898
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
298879
298899
  return this.request(this.rpcClient.getNodePaths.bind(this.rpcClient), options);
298880
298900
  }
298881
298901
  async getFilteredNodePaths(options) {
298882
- // eslint-disable-next-line deprecation/deprecation
298902
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
298883
298903
  return this.request(this.rpcClient.getFilteredNodePaths.bind(this.rpcClient), options);
298884
298904
  }
298885
298905
  async getContentSources(options) {
@@ -298898,7 +298918,7 @@ class RpcRequestsHandler {
298898
298918
  return this.request(this.rpcClient.getPagedContentSet.bind(this.rpcClient), options);
298899
298919
  }
298900
298920
  async getPagedDistinctValues(options) {
298901
- // eslint-disable-next-line deprecation/deprecation
298921
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
298902
298922
  return this.request(this.rpcClient.getPagedDistinctValues.bind(this.rpcClient), options);
298903
298923
  }
298904
298924
  async getContentInstanceKeys(options) {
@@ -298915,7 +298935,7 @@ class RpcRequestsHandler {
298915
298935
  }
298916
298936
  async computeSelection(options) {
298917
298937
  return this.request(
298918
- // eslint-disable-next-line deprecation/deprecation
298938
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
298919
298939
  this.rpcClient.computeSelection.bind(this.rpcClient), options);
298920
298940
  }
298921
298941
  }
@@ -299113,7 +299133,6 @@ const toString = (displayValue) => {
299113
299133
  if (!displayValue) {
299114
299134
  return "NULL";
299115
299135
  }
299116
- // eslint-disable-next-line @typescript-eslint/no-base-to-string
299117
299136
  return displayValue.toString();
299118
299137
  };
299119
299138
  const createDescription = (record, relatedClass, field, value) => {
@@ -299313,29 +299332,29 @@ var PartialHierarchyModification;
299313
299332
  * Serialize given object to JSON.
299314
299333
  * @deprecated in 3.x. Use [[PartialHierarchyModification]]
299315
299334
  */
299316
- // eslint-disable-next-line deprecation/deprecation
299335
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
299317
299336
  function toJSON(obj) {
299318
299337
  switch (obj.type) {
299319
299338
  case "Insert":
299320
299339
  return {
299321
299340
  type: "Insert",
299322
- // eslint-disable-next-line deprecation/deprecation
299341
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
299323
299342
  parent: obj.parent === undefined ? undefined : _hierarchy_Key__WEBPACK_IMPORTED_MODULE_0__.NodeKey.toJSON(obj.parent),
299324
299343
  position: obj.position,
299325
- // eslint-disable-next-line deprecation/deprecation
299344
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
299326
299345
  node: _hierarchy_Node__WEBPACK_IMPORTED_MODULE_1__.Node.toJSON(obj.node),
299327
299346
  };
299328
299347
  case "Update":
299329
299348
  return {
299330
299349
  type: "Update",
299331
- // eslint-disable-next-line deprecation/deprecation
299350
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
299332
299351
  target: _hierarchy_Key__WEBPACK_IMPORTED_MODULE_0__.NodeKey.toJSON(obj.target),
299333
299352
  changes: _hierarchy_Node__WEBPACK_IMPORTED_MODULE_1__.Node.toPartialJSON(obj.changes),
299334
299353
  };
299335
299354
  case "Delete":
299336
299355
  return {
299337
299356
  type: "Delete",
299338
- // eslint-disable-next-line deprecation/deprecation
299357
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
299339
299358
  parent: obj.parent === undefined ? undefined : _hierarchy_Key__WEBPACK_IMPORTED_MODULE_0__.NodeKey.toJSON(obj.parent),
299340
299359
  position: obj.position,
299341
299360
  };
@@ -299346,29 +299365,29 @@ var PartialHierarchyModification;
299346
299365
  * Deserialize given object from JSON
299347
299366
  * @deprecated in 3.x. Use [[PartialHierarchyModification]]
299348
299367
  */
299349
- // eslint-disable-next-line deprecation/deprecation
299368
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
299350
299369
  function fromJSON(json) {
299351
299370
  switch (json.type) {
299352
299371
  case "Insert":
299353
299372
  return {
299354
299373
  type: "Insert",
299355
- // eslint-disable-next-line deprecation/deprecation
299374
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
299356
299375
  parent: json.parent === undefined ? undefined : _hierarchy_Key__WEBPACK_IMPORTED_MODULE_0__.NodeKey.fromJSON(json.parent),
299357
299376
  position: json.position,
299358
- // eslint-disable-next-line deprecation/deprecation
299377
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
299359
299378
  node: _hierarchy_Node__WEBPACK_IMPORTED_MODULE_1__.Node.fromJSON(json.node),
299360
299379
  };
299361
299380
  case "Update":
299362
299381
  return {
299363
299382
  type: "Update",
299364
- // eslint-disable-next-line deprecation/deprecation
299383
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
299365
299384
  target: _hierarchy_Key__WEBPACK_IMPORTED_MODULE_0__.NodeKey.fromJSON(json.target),
299366
299385
  changes: _hierarchy_Node__WEBPACK_IMPORTED_MODULE_1__.Node.fromPartialJSON(json.changes),
299367
299386
  };
299368
299387
  case "Delete":
299369
299388
  return {
299370
299389
  type: "Delete",
299371
- // eslint-disable-next-line deprecation/deprecation
299390
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
299372
299391
  parent: json.parent === undefined ? undefined : _hierarchy_Key__WEBPACK_IMPORTED_MODULE_0__.NodeKey.fromJSON(json.parent),
299373
299392
  position: json.position,
299374
299393
  };
@@ -299383,11 +299402,11 @@ var HierarchyCompareInfo;
299383
299402
  * Serialize given object to JSON.
299384
299403
  * @deprecated in 3.x. Use [[HierarchyCompareInfo]]
299385
299404
  */
299386
- // eslint-disable-next-line deprecation/deprecation
299405
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
299387
299406
  function toJSON(obj) {
299388
299407
  return {
299389
299408
  ...obj,
299390
- // eslint-disable-next-line deprecation/deprecation
299409
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
299391
299410
  changes: obj.changes.map((change) => PartialHierarchyModification.toJSON(change)),
299392
299411
  };
299393
299412
  }
@@ -299396,11 +299415,11 @@ var HierarchyCompareInfo;
299396
299415
  * Deserialize given object from JSON
299397
299416
  * @deprecated in 3.x. Use [[HierarchyCompareInfo]]
299398
299417
  */
299399
- // eslint-disable-next-line deprecation/deprecation
299418
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
299400
299419
  function fromJSON(json) {
299401
299420
  return {
299402
299421
  ...json,
299403
- // eslint-disable-next-line deprecation/deprecation
299422
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
299404
299423
  changes: json.changes.map((change) => PartialHierarchyModification.fromJSON(change)),
299405
299424
  };
299406
299425
  }
@@ -300001,7 +300020,7 @@ function convertNestedContentItemToStructArrayItem(item, field, nextField) {
300001
300020
  nextFieldValues.display.push(nextDisplayValue);
300002
300021
  }
300003
300022
  });
300004
- const convertedItem = new _Item__WEBPACK_IMPORTED_MODULE_3__.Item(item.primaryKeys, item.label, item.imageId, // eslint-disable-line deprecation/deprecation
300023
+ const convertedItem = new _Item__WEBPACK_IMPORTED_MODULE_3__.Item(item.primaryKeys, item.label, item.imageId, // eslint-disable-line @typescript-eslint/no-deprecated
300005
300024
  item.classInfo, { [nextField.name]: nextFieldValues.raw }, { [nextField.name]: nextFieldValues.display }, item.mergedFieldNames, item.extendedData);
300006
300025
  return { emptyNestedItem: false, convertedItem };
300007
300026
  }
@@ -300068,7 +300087,7 @@ function convertNestedContentFieldHierarchyItemToStructArrayItem(item, fieldHier
300068
300087
  return { emptyNestedItem: true, convertedItem: item };
300069
300088
  }
300070
300089
  const converted = convertNestedContentValuesToStructArrayValuesRecursive(fieldHierarchy, rawValue);
300071
- const convertedItem = new _Item__WEBPACK_IMPORTED_MODULE_3__.Item(item.primaryKeys, item.label, item.imageId, // eslint-disable-line deprecation/deprecation
300090
+ const convertedItem = new _Item__WEBPACK_IMPORTED_MODULE_3__.Item(item.primaryKeys, item.label, item.imageId, // eslint-disable-line @typescript-eslint/no-deprecated
300072
300091
  item.classInfo, { [fieldName]: converted.raw }, { [fieldName]: converted.display }, converted.mergedFieldNames, item.extendedData);
300073
300092
  return { emptyNestedItem: false, convertedItem };
300074
300093
  }
@@ -300232,8 +300251,8 @@ class Descriptor {
300232
300251
  this.fields = [...source.fields];
300233
300252
  this.sortingField = source.sortingField;
300234
300253
  this.sortDirection = source.sortDirection;
300235
- this.filterExpression = source.fieldsFilterExpression ?? source.filterExpression; // eslint-disable-line deprecation/deprecation
300236
- this.fieldsFilterExpression = source.fieldsFilterExpression ?? source.filterExpression; // eslint-disable-line deprecation/deprecation
300254
+ this.filterExpression = source.fieldsFilterExpression ?? source.filterExpression; // eslint-disable-line @typescript-eslint/no-deprecated
300255
+ this.fieldsFilterExpression = source.fieldsFilterExpression ?? source.filterExpression; // eslint-disable-line @typescript-eslint/no-deprecated
300237
300256
  this.instanceFilter = source.instanceFilter;
300238
300257
  this.ruleset = source.ruleset;
300239
300258
  }
@@ -300251,8 +300270,8 @@ class Descriptor {
300251
300270
  classesMap,
300252
300271
  }, this.connectionId !== undefined && { connectionId: this.connectionId }, this.inputKeysHash !== undefined && { inputKeysHash: this.inputKeysHash },
300253
300272
  // istanbul ignore next
300254
- this.contentOptions !== undefined && { contentOptions: this.contentOptions }, // eslint-disable-line deprecation/deprecation
300255
- this.sortingField !== undefined && { sortingFieldName: this.sortingField.name }, this.sortDirection !== undefined && { sortDirection: this.sortDirection }, this.filterExpression !== undefined && { filterExpression: this.filterExpression }, // eslint-disable-line deprecation/deprecation
300273
+ this.contentOptions !== undefined && { contentOptions: this.contentOptions }, // eslint-disable-line @typescript-eslint/no-deprecated
300274
+ this.sortingField !== undefined && { sortingFieldName: this.sortingField.name }, this.sortDirection !== undefined && { sortDirection: this.sortDirection }, this.filterExpression !== undefined && { filterExpression: this.filterExpression }, // eslint-disable-line @typescript-eslint/no-deprecated
300256
300275
  this.fieldsFilterExpression !== undefined && { fieldsFilterExpression: this.fieldsFilterExpression }, this.instanceFilter !== undefined && { instanceFilter: this.instanceFilter }, this.selectionInfo !== undefined && { selectionInfo: this.selectionInfo }, this.ruleset !== undefined && { ruleset: this.ruleset });
300257
300276
  }
300258
300277
  /** Deserialize [[Descriptor]] from JSON */
@@ -300309,9 +300328,9 @@ class Descriptor {
300309
300328
  if (this.contentFlags !== 0) {
300310
300329
  overrides.contentFlags = this.contentFlags;
300311
300330
  }
300312
- // eslint-disable-next-line deprecation/deprecation
300331
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
300313
300332
  if (this.filterExpression || this.fieldsFilterExpression) {
300314
- // eslint-disable-next-line deprecation/deprecation
300333
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
300315
300334
  overrides.fieldsFilterExpression = this.fieldsFilterExpression ?? this.filterExpression;
300316
300335
  }
300317
300336
  if (this.instanceFilter) {
@@ -300516,7 +300535,7 @@ class Field {
300516
300535
  return PropertiesField.fromJSON(json, categories);
300517
300536
  }
300518
300537
  if (isNestedContentField(json)) {
300519
- // eslint-disable-next-line deprecation/deprecation
300538
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
300520
300539
  return NestedContentField.fromJSON(json, categories);
300521
300540
  }
300522
300541
  const field = Object.create(Field.prototype);
@@ -300908,7 +300927,7 @@ class NestedContentField extends Field {
300908
300927
  pathToPrimaryClass: json.pathToPrimaryClass.map((stepJson) => _EC__WEBPACK_IMPORTED_MODULE_1__.RelatedClassInfo.fromCompressedJSON(stepJson, classesMap)),
300909
300928
  });
300910
300929
  }
300911
- // eslint-disable-next-line deprecation/deprecation
300930
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
300912
300931
  static fromCommonJSON(json, categories) {
300913
300932
  return {
300914
300933
  category: this.getCategoryFromFieldJson(json, categories),
@@ -301049,7 +301068,7 @@ class Item {
301049
301068
  */
301050
301069
  constructor(primaryKeys, label, imageId, classInfo, values, displayValues, mergedFieldNames, extendedData) {
301051
301070
  this.primaryKeys = primaryKeys;
301052
- this.imageId = imageId; // eslint-disable-line deprecation/deprecation
301071
+ this.imageId = imageId; // eslint-disable-line @typescript-eslint/no-deprecated
301053
301072
  this.classInfo = classInfo;
301054
301073
  this.values = values;
301055
301074
  this.displayValues = displayValues;
@@ -301068,11 +301087,11 @@ class Item {
301068
301087
  const { label, ...baseItem } = this;
301069
301088
  return {
301070
301089
  ...baseItem,
301071
- // eslint-disable-next-line deprecation/deprecation
301090
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301072
301091
  values: _Value__WEBPACK_IMPORTED_MODULE_1__.Value.toJSON(this.values),
301073
- // eslint-disable-next-line deprecation/deprecation
301092
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301074
301093
  displayValues: _Value__WEBPACK_IMPORTED_MODULE_1__.DisplayValue.toJSON(this.displayValues),
301075
- // eslint-disable-next-line deprecation/deprecation
301094
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301076
301095
  labelDefinition: _LabelDefinition__WEBPACK_IMPORTED_MODULE_0__.LabelDefinition.toJSON(label),
301077
301096
  };
301078
301097
  }
@@ -301087,11 +301106,11 @@ class Item {
301087
301106
  const item = Object.create(Item.prototype);
301088
301107
  const { labelDefinition, ...baseJson } = json;
301089
301108
  return Object.assign(item, baseJson, {
301090
- // eslint-disable-next-line deprecation/deprecation
301109
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301091
301110
  values: _Value__WEBPACK_IMPORTED_MODULE_1__.Value.fromJSON(json.values),
301092
- // eslint-disable-next-line deprecation/deprecation
301111
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301093
301112
  displayValues: _Value__WEBPACK_IMPORTED_MODULE_1__.DisplayValue.fromJSON(json.displayValues),
301094
- // eslint-disable-next-line deprecation/deprecation
301113
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301095
301114
  label: _LabelDefinition__WEBPACK_IMPORTED_MODULE_0__.LabelDefinition.fromJSON(labelDefinition),
301096
301115
  });
301097
301116
  }
@@ -301489,13 +301508,13 @@ var Value;
301489
301508
  * Serialize [[Value]] to JSON
301490
301509
  * @deprecated in 3.x. Use [[Value]]
301491
301510
  */
301492
- // eslint-disable-next-line deprecation/deprecation
301511
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301493
301512
  function fromJSON(json) {
301494
301513
  if (json === null) {
301495
301514
  return undefined;
301496
301515
  }
301497
301516
  if (isNestedContentValue(json)) {
301498
- // eslint-disable-next-line deprecation/deprecation
301517
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301499
301518
  return json.map(NestedContentValue.fromJSON);
301500
301519
  }
301501
301520
  if (isArrayValue(json)) {
@@ -301511,13 +301530,13 @@ var Value;
301511
301530
  * Deserialize [[Value]] from JSON
301512
301531
  * @deprecated in 3.x. Use [[Value]]
301513
301532
  */
301514
- // eslint-disable-next-line deprecation/deprecation
301533
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301515
301534
  function toJSON(value) {
301516
301535
  if (undefined === value) {
301517
301536
  return null;
301518
301537
  }
301519
301538
  if (isNestedContentValue(value)) {
301520
- // eslint-disable-next-line deprecation/deprecation
301539
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301521
301540
  return value.map(NestedContentValue.toJSON);
301522
301541
  }
301523
301542
  if (isArrayValue(value)) {
@@ -301553,7 +301572,7 @@ var DisplayValue;
301553
301572
  * Serialize [[DisplayValue]] to JSON
301554
301573
  * @deprecated in 3.x. Use [[DisplayValue]]
301555
301574
  */
301556
- // eslint-disable-next-line deprecation/deprecation
301575
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301557
301576
  function fromJSON(json) {
301558
301577
  if (json === null) {
301559
301578
  return undefined;
@@ -301571,7 +301590,7 @@ var DisplayValue;
301571
301590
  * Deserialize [[DisplayValue]] from JSON
301572
301591
  * @deprecated in 3.x. Use [[DisplayValue]]
301573
301592
  */
301574
- // eslint-disable-next-line deprecation/deprecation
301593
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301575
301594
  function toJSON(value) {
301576
301595
  if (undefined === value) {
301577
301596
  return null;
@@ -301593,7 +301612,7 @@ var NestedContentValue;
301593
301612
  * Serialize [[NestedContentValue]] to JSON
301594
301613
  * @deprecated in 3.x. Use [[NestedContentValue]]
301595
301614
  */
301596
- // eslint-disable-next-line deprecation/deprecation
301615
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301597
301616
  function toJSON(value) {
301598
301617
  return {
301599
301618
  ...value,
@@ -301606,7 +301625,7 @@ var NestedContentValue;
301606
301625
  * Deserialize [[NestedContentValue]] from JSON
301607
301626
  * @deprecated in 3.x. Use [[NestedContentValue]]
301608
301627
  */
301609
- // eslint-disable-next-line deprecation/deprecation
301628
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301610
301629
  function fromJSON(json) {
301611
301630
  return {
301612
301631
  ...json,
@@ -301623,12 +301642,12 @@ var DisplayValueGroup;
301623
301642
  * Serialize [[DisplayValueGroup]] to JSON
301624
301643
  * @deprecated in 3.x. Use [[DisplayValueGroup]]
301625
301644
  */
301626
- // eslint-disable-next-line deprecation/deprecation
301645
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301627
301646
  function toJSON(group) {
301628
301647
  return {
301629
- // eslint-disable-next-line deprecation/deprecation
301648
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301630
301649
  displayValue: DisplayValue.toJSON(group.displayValue),
301631
- // eslint-disable-next-line deprecation/deprecation
301650
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301632
301651
  groupedRawValues: group.groupedRawValues.map(Value.toJSON),
301633
301652
  };
301634
301653
  }
@@ -301637,18 +301656,18 @@ var DisplayValueGroup;
301637
301656
  * Deserialize [[DisplayValueGroup]] from JSON
301638
301657
  * @deprecated in 3.x. Use [[DisplayValueGroup]]
301639
301658
  */
301640
- // eslint-disable-next-line deprecation/deprecation
301659
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301641
301660
  function fromJSON(json) {
301642
301661
  return {
301643
- // eslint-disable-next-line deprecation/deprecation
301662
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301644
301663
  displayValue: DisplayValue.fromJSON(json.displayValue),
301645
- // eslint-disable-next-line deprecation/deprecation
301664
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301646
301665
  groupedRawValues: json.groupedRawValues.map(Value.fromJSON),
301647
301666
  };
301648
301667
  }
301649
301668
  DisplayValueGroup.fromJSON = fromJSON;
301650
301669
  })(DisplayValueGroup || (DisplayValueGroup = {}));
301651
- // eslint-disable-next-line deprecation/deprecation
301670
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301652
301671
  function isNestedContentValue(v) {
301653
301672
  return (v !== undefined &&
301654
301673
  Array.isArray(v) &&
@@ -301664,78 +301683,78 @@ function isArrayValue(v) {
301664
301683
  // we have other means to determine the type of value.
301665
301684
  return v !== undefined && Array.isArray(v);
301666
301685
  }
301667
- // eslint-disable-next-line deprecation/deprecation
301686
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301668
301687
  function isMapValue(v) {
301669
301688
  return v !== undefined && typeof v === "object" && !Array.isArray(v);
301670
301689
  }
301671
301690
  function isPrimitiveValue(v) {
301672
301691
  return !isArrayValue(v) && !isMapValue(v);
301673
301692
  }
301674
- // eslint-disable-next-line deprecation/deprecation
301693
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301675
301694
  function valuesArrayFromJSON(json) {
301676
- // eslint-disable-next-line deprecation/deprecation
301695
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301677
301696
  return json.map(Value.fromJSON);
301678
301697
  }
301679
- // eslint-disable-next-line deprecation/deprecation
301698
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301680
301699
  function valuesArrayToJSON(values) {
301681
- // eslint-disable-next-line deprecation/deprecation
301700
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301682
301701
  return values.map(Value.toJSON);
301683
301702
  }
301684
- // eslint-disable-next-line deprecation/deprecation
301703
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301685
301704
  function valuesMapFromJSON(json) {
301686
301705
  const map = {};
301687
301706
  for (const key in json) {
301688
301707
  /* istanbul ignore else */
301689
301708
  if (json.hasOwnProperty(key)) {
301690
- // eslint-disable-next-line deprecation/deprecation
301709
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301691
301710
  map[key] = Value.fromJSON(json[key]);
301692
301711
  }
301693
301712
  }
301694
301713
  return map;
301695
301714
  }
301696
- // eslint-disable-next-line deprecation/deprecation
301715
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301697
301716
  function valuesMapToJSON(values) {
301698
- // eslint-disable-next-line deprecation/deprecation
301717
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301699
301718
  const map = {};
301700
301719
  for (const key in values) {
301701
301720
  /* istanbul ignore else */
301702
301721
  if (values.hasOwnProperty(key)) {
301703
- // eslint-disable-next-line deprecation/deprecation
301722
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301704
301723
  map[key] = Value.toJSON(values[key]);
301705
301724
  }
301706
301725
  }
301707
301726
  return map;
301708
301727
  }
301709
- // eslint-disable-next-line deprecation/deprecation
301728
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301710
301729
  function displayValuesArrayFromJSON(json) {
301711
- // eslint-disable-next-line deprecation/deprecation
301730
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301712
301731
  return json.map(DisplayValue.fromJSON);
301713
301732
  }
301714
- // eslint-disable-next-line deprecation/deprecation
301733
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301715
301734
  function displayValuesArrayToJSON(values) {
301716
- // eslint-disable-next-line deprecation/deprecation
301735
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301717
301736
  return values.map(DisplayValue.toJSON);
301718
301737
  }
301719
- // eslint-disable-next-line deprecation/deprecation
301738
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301720
301739
  function displayValuesMapFromJSON(json) {
301721
301740
  const map = {};
301722
301741
  for (const key in json) {
301723
301742
  /* istanbul ignore else */
301724
301743
  if (json.hasOwnProperty(key)) {
301725
- // eslint-disable-next-line deprecation/deprecation
301744
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301726
301745
  map[key] = DisplayValue.fromJSON(json[key]);
301727
301746
  }
301728
301747
  }
301729
301748
  return map;
301730
301749
  }
301731
- // eslint-disable-next-line deprecation/deprecation
301750
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301732
301751
  function displayValuesMapToJSON(values) {
301733
- // eslint-disable-next-line deprecation/deprecation
301752
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301734
301753
  const map = {};
301735
301754
  for (const key in values) {
301736
301755
  /* istanbul ignore else */
301737
301756
  if (values.hasOwnProperty(key)) {
301738
- // eslint-disable-next-line deprecation/deprecation
301757
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301739
301758
  map[key] = DisplayValue.toJSON(values[key]);
301740
301759
  }
301741
301760
  }
@@ -301776,11 +301795,11 @@ var HierarchyLevel;
301776
301795
  * @beta
301777
301796
  * @deprecated in 3.x. Use [[HierarchyLevel]].
301778
301797
  */
301779
- // eslint-disable-next-line deprecation/deprecation
301798
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301780
301799
  function fromJSON(json) {
301781
301800
  return {
301782
301801
  ...json,
301783
- // eslint-disable-next-line deprecation/deprecation
301802
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301784
301803
  nodes: json.nodes.map(_Node__WEBPACK_IMPORTED_MODULE_0__.Node.fromJSON),
301785
301804
  };
301786
301805
  }
@@ -301832,7 +301851,7 @@ var NodeKey;
301832
301851
  * Serialize given [[NodeKey]] to JSON
301833
301852
  * @deprecated in 3.x. Use [[NodeKey]].
301834
301853
  */
301835
- // eslint-disable-next-line deprecation/deprecation
301854
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301836
301855
  function toJSON(key) {
301837
301856
  return { ...key };
301838
301857
  }
@@ -301841,34 +301860,34 @@ var NodeKey;
301841
301860
  * Deserialize node key from JSON
301842
301861
  * @deprecated in 3.x. Use [[NodeKey]].
301843
301862
  */
301844
- // eslint-disable-next-line deprecation/deprecation
301863
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301845
301864
  function fromJSON(json) {
301846
301865
  return { version: 1, ...json };
301847
301866
  }
301848
301867
  NodeKey.fromJSON = fromJSON;
301849
- // eslint-disable-next-line deprecation/deprecation
301868
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301850
301869
  function isInstancesNodeKey(key) {
301851
301870
  return key.type === StandardNodeTypes.ECInstancesNode;
301852
301871
  }
301853
301872
  NodeKey.isInstancesNodeKey = isInstancesNodeKey;
301854
- // eslint-disable-next-line deprecation/deprecation
301873
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301855
301874
  function isClassGroupingNodeKey(key) {
301856
301875
  return key.type === StandardNodeTypes.ECClassGroupingNode;
301857
301876
  }
301858
301877
  NodeKey.isClassGroupingNodeKey = isClassGroupingNodeKey;
301859
- // eslint-disable-next-line deprecation/deprecation
301878
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301860
301879
  function isPropertyGroupingNodeKey(key) {
301861
301880
  return key.type === StandardNodeTypes.ECPropertyGroupingNode;
301862
301881
  }
301863
301882
  NodeKey.isPropertyGroupingNodeKey = isPropertyGroupingNodeKey;
301864
- // eslint-disable-next-line deprecation/deprecation
301883
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301865
301884
  function isLabelGroupingNodeKey(key) {
301866
301885
  return key.type === StandardNodeTypes.DisplayLabelGroupingNode;
301867
301886
  }
301868
301887
  NodeKey.isLabelGroupingNodeKey = isLabelGroupingNodeKey;
301869
- // eslint-disable-next-line deprecation/deprecation
301888
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301870
301889
  function isGroupingNodeKey(key) {
301871
- return isClassGroupingNodeKey(key) || isPropertyGroupingNodeKey(key) || isLabelGroupingNodeKey(key); // eslint-disable-line deprecation/deprecation
301890
+ return isClassGroupingNodeKey(key) || isPropertyGroupingNodeKey(key) || isLabelGroupingNodeKey(key); // eslint-disable-line @typescript-eslint/no-deprecated
301872
301891
  }
301873
301892
  NodeKey.isGroupingNodeKey = isGroupingNodeKey;
301874
301893
  /**
@@ -301959,7 +301978,7 @@ var Node;
301959
301978
  * Serialize given [[Node]] to JSON
301960
301979
  * @deprecated in 3.x. Use [[Node]].
301961
301980
  */
301962
- // eslint-disable-next-line deprecation/deprecation
301981
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301963
301982
  function toJSON(node) {
301964
301983
  const { label, ...baseNode } = node;
301965
301984
  return {
@@ -301969,7 +301988,7 @@ var Node;
301969
301988
  }
301970
301989
  Node.toJSON = toJSON;
301971
301990
  /** @internal */
301972
- // eslint-disable-next-line deprecation/deprecation
301991
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301973
301992
  function toPartialJSON(node) {
301974
301993
  if (node.key === undefined) {
301975
301994
  return node;
@@ -301985,7 +302004,7 @@ var Node;
301985
302004
  * Deserialize [[Node]] from JSON
301986
302005
  * @deprecated in 3.x. Use [[Node]].
301987
302006
  */
301988
- // eslint-disable-next-line deprecation/deprecation
302007
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301989
302008
  function fromJSON(json) {
301990
302009
  if (typeof json === "string") {
301991
302010
  return JSON.parse(json, reviver);
@@ -301993,14 +302012,14 @@ var Node;
301993
302012
  const { labelDefinition, ...baseJson } = json;
301994
302013
  return {
301995
302014
  ...baseJson,
301996
- // eslint-disable-next-line deprecation/deprecation
302015
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
301997
302016
  key: _Key__WEBPACK_IMPORTED_MODULE_0__.NodeKey.fromJSON(json.key),
301998
302017
  label: labelDefinition,
301999
302018
  };
302000
302019
  }
302001
302020
  Node.fromJSON = fromJSON;
302002
302021
  /** @internal */
302003
- // eslint-disable-next-line deprecation/deprecation
302022
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
302004
302023
  function fromPartialJSON(json) {
302005
302024
  if (json.key === undefined) {
302006
302025
  return json;
@@ -302008,7 +302027,7 @@ var Node;
302008
302027
  const { key, labelDefinition, ...baseJson } = json;
302009
302028
  return {
302010
302029
  ...baseJson,
302011
- // eslint-disable-next-line deprecation/deprecation
302030
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
302012
302031
  key: _Key__WEBPACK_IMPORTED_MODULE_0__.NodeKey.fromJSON(key),
302013
302032
  label: labelDefinition,
302014
302033
  };
@@ -302020,7 +302039,7 @@ var Node;
302020
302039
  * @internal
302021
302040
  */
302022
302041
  function reviver(key, value) {
302023
- // eslint-disable-next-line deprecation/deprecation
302042
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
302024
302043
  return key === "" ? fromJSON(value) : value;
302025
302044
  }
302026
302045
  Node.reviver = reviver;
@@ -302030,12 +302049,12 @@ var Node;
302030
302049
  * @returns Deserialized nodes list
302031
302050
  * @internal
302032
302051
  */
302033
- // eslint-disable-next-line deprecation/deprecation
302052
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
302034
302053
  function listFromJSON(json) {
302035
302054
  if (typeof json === "string") {
302036
302055
  return JSON.parse(json, listReviver);
302037
302056
  }
302038
- // eslint-disable-next-line deprecation/deprecation
302057
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
302039
302058
  return json.map((m) => fromJSON(m));
302040
302059
  }
302041
302060
  Node.listFromJSON = listFromJSON;
@@ -302081,21 +302100,21 @@ var NodePathElement;
302081
302100
  * Serialize given [[NodePathElement]] to JSON
302082
302101
  * @deprecated in 3.x. Use [[NodePathElement]].
302083
302102
  */
302084
- // eslint-disable-next-line deprecation/deprecation
302103
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
302085
302104
  function toJSON(npe) {
302086
- // eslint-disable-next-line deprecation/deprecation
302105
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
302087
302106
  const result = {
302088
- // eslint-disable-next-line deprecation/deprecation
302107
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
302089
302108
  node: _Node__WEBPACK_IMPORTED_MODULE_0__.Node.toJSON(npe.node),
302090
302109
  index: npe.index,
302091
- // eslint-disable-next-line deprecation/deprecation
302110
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
302092
302111
  children: npe.children.map(NodePathElement.toJSON),
302093
302112
  };
302094
302113
  if (undefined !== npe.isMarked) {
302095
302114
  result.isMarked = npe.isMarked;
302096
302115
  }
302097
302116
  if (undefined !== npe.filteringData) {
302098
- // eslint-disable-next-line deprecation/deprecation
302117
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
302099
302118
  result.filteringData = NodePathFilteringData.toJSON(npe.filteringData);
302100
302119
  }
302101
302120
  return result;
@@ -302105,14 +302124,14 @@ var NodePathElement;
302105
302124
  * Deserialize [[NodePathElement]] from JSON
302106
302125
  * @deprecated in 3.x. Use [[NodePathElement]].
302107
302126
  */
302108
- // eslint-disable-next-line deprecation/deprecation
302127
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
302109
302128
  function fromJSON(json) {
302110
302129
  if (typeof json === "string") {
302111
302130
  return JSON.parse(json, reviver);
302112
302131
  }
302113
302132
  const result = {
302114
302133
  index: json.index,
302115
- // eslint-disable-next-line deprecation/deprecation
302134
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
302116
302135
  node: _Node__WEBPACK_IMPORTED_MODULE_0__.Node.fromJSON(json.node),
302117
302136
  children: listFromJSON(json.children),
302118
302137
  };
@@ -302120,7 +302139,7 @@ var NodePathElement;
302120
302139
  result.isMarked = json.isMarked;
302121
302140
  }
302122
302141
  if (undefined !== json.filteringData) {
302123
- // eslint-disable-next-line deprecation/deprecation
302142
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
302124
302143
  result.filteringData = NodePathFilteringData.fromJSON(json.filteringData);
302125
302144
  }
302126
302145
  return result;
@@ -302132,7 +302151,7 @@ var NodePathElement;
302132
302151
  * @internal
302133
302152
  */
302134
302153
  function reviver(key, value) {
302135
- // eslint-disable-next-line deprecation/deprecation
302154
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
302136
302155
  return key === "" ? fromJSON(value) : value;
302137
302156
  }
302138
302157
  NodePathElement.reviver = reviver;
@@ -302142,12 +302161,12 @@ var NodePathElement;
302142
302161
  * @returns Deserialized [[NodePathElement]] list
302143
302162
  * @internal
302144
302163
  */
302145
- // eslint-disable-next-line deprecation/deprecation
302164
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
302146
302165
  function listFromJSON(json) {
302147
302166
  if (typeof json === "string") {
302148
302167
  return JSON.parse(json, listReviver);
302149
302168
  }
302150
- // eslint-disable-next-line deprecation/deprecation
302169
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
302151
302170
  return json.map((m) => fromJSON(m));
302152
302171
  }
302153
302172
  NodePathElement.listFromJSON = listFromJSON;
@@ -302168,7 +302187,7 @@ var NodePathFilteringData;
302168
302187
  * Serialize given [[NodePathFilteringData]] to JSON
302169
302188
  * @deprecated in 3.x. Use [[NodePathFilteringData]].
302170
302189
  */
302171
- // eslint-disable-next-line deprecation/deprecation
302190
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
302172
302191
  function toJSON(npfd) {
302173
302192
  return {
302174
302193
  occurances: npfd.matchesCount,
@@ -302180,7 +302199,7 @@ var NodePathFilteringData;
302180
302199
  * Deserialize [[NodePathFilteringData]] from JSON
302181
302200
  * @deprecated in 3.x. Use [[NodePathFilteringData]].
302182
302201
  */
302183
- // eslint-disable-next-line deprecation/deprecation
302202
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
302184
302203
  function fromJSON(json) {
302185
302204
  return {
302186
302205
  matchesCount: json.occurances,
@@ -303348,7 +303367,6 @@ __webpack_require__.r(__webpack_exports__);
303348
303367
  class ConnectivityInformationProvider {
303349
303368
  constructor() {
303350
303369
  this.onInternetConnectivityChanged = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
303351
- // eslint-disable-next-line @typescript-eslint/naming-convention
303352
303370
  this.onNativeAppInternetConnectivityChanged = (status) => {
303353
303371
  if (this._currentStatus === status) {
303354
303372
  return;
@@ -303837,13 +303855,12 @@ class PresentationManager {
303837
303855
  * An event raised when content created using specific ruleset changes
303838
303856
  */
303839
303857
  this.onIModelContentChanged = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
303840
- // eslint-disable-next-line @typescript-eslint/naming-convention
303841
303858
  this.onUpdate = (_evt, report) => {
303842
303859
  // eslint-disable-next-line @typescript-eslint/no-floating-promises
303843
303860
  this.handleUpdateAsync(report);
303844
303861
  };
303845
303862
  if (props) {
303846
- // eslint-disable-next-line deprecation/deprecation
303863
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
303847
303864
  this._explicitActiveUnitSystem = props.activeUnitSystem;
303848
303865
  }
303849
303866
  this._requestsHandler =
@@ -303946,7 +303963,7 @@ class PresentationManager {
303946
303963
  if (this.activeLocale) {
303947
303964
  defaultOptions.locale = this.activeLocale;
303948
303965
  }
303949
- defaultOptions.unitSystem = this.activeUnitSystem; // eslint-disable-line deprecation/deprecation
303966
+ defaultOptions.unitSystem = this.activeUnitSystem; // eslint-disable-line @typescript-eslint/no-deprecated
303950
303967
  const { imodel, rulesetVariables, ...rpcRequestOptions } = requestOptions;
303951
303968
  return {
303952
303969
  ...defaultOptions,
@@ -303993,7 +304010,7 @@ class PresentationManager {
303993
304010
  const result = await this._requestsHandler.getPagedNodes({ ...rpcOptions, paging });
303994
304011
  return {
303995
304012
  total: result.total,
303996
- // eslint-disable-next-line deprecation/deprecation
304013
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
303997
304014
  items: this._localizationHelper.getLocalizedNodes(result.items.map(_itwin_presentation_common__WEBPACK_IMPORTED_MODULE_2__.Node.fromJSON)),
303998
304015
  };
303999
304016
  },
@@ -304049,7 +304066,7 @@ class PresentationManager {
304049
304066
  const options = await this.addRulesetAndVariablesToOptions(requestOptions);
304050
304067
  const rpcOptions = this.toRpcTokenOptions({ ...options });
304051
304068
  const result = await this._requestsHandler.getNodePaths(rpcOptions);
304052
- // eslint-disable-next-line deprecation/deprecation
304069
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
304053
304070
  return result.map(_itwin_presentation_common__WEBPACK_IMPORTED_MODULE_2__.NodePathElement.fromJSON).map((npe) => this._localizationHelper.getLocalizedNodePathElement(npe));
304054
304071
  }
304055
304072
  /** Retrieves paths from root nodes to nodes containing filter text in their label. */
@@ -304057,7 +304074,7 @@ class PresentationManager {
304057
304074
  this.startIModelInitialization(requestOptions.imodel);
304058
304075
  const options = await this.addRulesetAndVariablesToOptions(requestOptions);
304059
304076
  const result = await this._requestsHandler.getFilteredNodePaths(this.toRpcTokenOptions(options));
304060
- // eslint-disable-next-line deprecation/deprecation
304077
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
304061
304078
  return result.map(_itwin_presentation_common__WEBPACK_IMPORTED_MODULE_2__.NodePathElement.fromJSON).map((npe) => this._localizationHelper.getLocalizedNodePathElement(npe));
304062
304079
  }
304063
304080
  /**
@@ -304166,7 +304183,7 @@ class PresentationManager {
304166
304183
  * @deprecated in 4.5. Use [[getContentIterator]] instead.
304167
304184
  */
304168
304185
  async getContent(requestOptions) {
304169
- // eslint-disable-next-line deprecation/deprecation
304186
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
304170
304187
  return (await this.getContentAndSize(requestOptions))?.content;
304171
304188
  }
304172
304189
  /**
@@ -304200,7 +304217,7 @@ class PresentationManager {
304200
304217
  const response = await this._requestsHandler.getPagedDistinctValues({ ...rpcOptions, paging });
304201
304218
  return {
304202
304219
  total: response.total,
304203
- // eslint-disable-next-line deprecation/deprecation
304220
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
304204
304221
  items: response.items.map((x) => this._localizationHelper.getLocalizedDisplayValueGroup(_itwin_presentation_common__WEBPACK_IMPORTED_MODULE_2__.DisplayValueGroup.fromJSON(x))),
304205
304222
  };
304206
304223
  },
@@ -305002,7 +305019,7 @@ class FavoritePropertiesManager {
305002
305019
  */
305003
305020
  startConnectionInitialization(imodel) {
305004
305021
  if (!this.isInitialized(imodel) && !this._imodelInitializationPromises.has(imodel)) {
305005
- // eslint-disable-next-line deprecation/deprecation
305022
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
305006
305023
  this._imodelInitializationPromises.set(imodel, this.initializeConnection(imodel));
305007
305024
  }
305008
305025
  }
@@ -305016,7 +305033,7 @@ class FavoritePropertiesManager {
305016
305033
  }
305017
305034
  let promise = this._imodelInitializationPromises.get(imodel);
305018
305035
  if (!promise) {
305019
- // eslint-disable-next-line deprecation/deprecation
305036
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
305020
305037
  promise = this.initializeConnection(imodel);
305021
305038
  // Put the promise in the map to avoid possible multiple initializations from different promises.
305022
305039
  this._imodelInitializationPromises.set(imodel, promise);
@@ -305169,7 +305186,7 @@ class FavoritePropertiesManager {
305169
305186
  */
305170
305187
  async hasAsync(field, imodel, scope) {
305171
305188
  await this.ensureInitialized(imodel);
305172
- // eslint-disable-next-line deprecation/deprecation
305189
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
305173
305190
  return this.has(field, imodel, scope);
305174
305191
  }
305175
305192
  /**
@@ -305180,7 +305197,7 @@ class FavoritePropertiesManager {
305180
305197
  */
305181
305198
  async sortFieldsAsync(imodel, fields) {
305182
305199
  await this.ensureInitialized(imodel);
305183
- // eslint-disable-next-line deprecation/deprecation
305200
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
305184
305201
  return this.sortFields(imodel, fields);
305185
305202
  }
305186
305203
  getFieldPriority(field, iTwinId, imodelId) {
@@ -305613,7 +305630,6 @@ class OfflineCachingFavoritePropertiesStorage {
305613
305630
  constructor(props) {
305614
305631
  this._propertiesOfflineCache = new DictionaryWithReservations(iTwinAndIModelIdsKeyComparer);
305615
305632
  this._propertiesOrderOfflineCache = new DictionaryWithReservations(iTwinAndIModelIdsKeyComparer);
305616
- // eslint-disable-next-line @typescript-eslint/naming-convention
305617
305633
  this.onConnectivityStatusChanged = (args) => {
305618
305634
  // istanbul ignore else
305619
305635
  if (args.status === _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.InternetConnectivityStatus.Online) {
@@ -306064,7 +306080,6 @@ class SelectionHandler {
306064
306080
  * Called when the selection changes. Handles this callback by first checking whether
306065
306081
  * the event should be handled at all (using the `shouldHandle` method) and then calling `onSelect`
306066
306082
  */
306067
- // eslint-disable-next-line @typescript-eslint/naming-convention
306068
306083
  this.onSelectionChanged = (evt, provider) => {
306069
306084
  if (!this.onSelect || !this.shouldHandle(evt)) {
306070
306085
  return;
@@ -306560,7 +306575,6 @@ class ToolSelectionSyncHandler {
306560
306575
  constructor(imodel, logicalSelection) {
306561
306576
  this._selectionSourceName = "Tool";
306562
306577
  this._asyncsTracker = new _itwin_presentation_common__WEBPACK_IMPORTED_MODULE_2__.AsyncTasksTracker();
306563
- // eslint-disable-next-line @typescript-eslint/naming-convention
306564
306578
  this.onToolSelectionChanged = async (ev) => {
306565
306579
  // ignore selection change event if the handler is suspended
306566
306580
  if (this.isSuspended) {
@@ -307288,7 +307302,7 @@ __webpack_require__.r(__webpack_exports__);
307288
307302
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
307289
307303
  * See LICENSE.md in the project root for license terms and full copyright notice.
307290
307304
  *--------------------------------------------------------------------------------------------*/
307291
- /* eslint-disable deprecation/deprecation */
307305
+ /* eslint-disable @typescript-eslint/no-deprecated */
307292
307306
  /** @packageDocumentation
307293
307307
  * @module UiItemsProvider
307294
307308
  */
@@ -307619,7 +307633,7 @@ __webpack_require__.r(__webpack_exports__);
307619
307633
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
307620
307634
  * See LICENSE.md in the project root for license terms and full copyright notice.
307621
307635
  *--------------------------------------------------------------------------------------------*/
307622
- /* eslint-disable deprecation/deprecation */
307636
+ /* eslint-disable @typescript-eslint/no-deprecated */
307623
307637
  /** @packageDocumentation
307624
307638
  * @module UiItemsProvider
307625
307639
  */
@@ -307865,14 +307879,14 @@ var BackstageItemType;
307865
307879
  * @public
307866
307880
  */
307867
307881
  const isActionItem = (item) => {
307868
- return item.execute !== undefined; // eslint-disable-line deprecation/deprecation
307882
+ return item.execute !== undefined; // eslint-disable-line @typescript-eslint/no-deprecated
307869
307883
  };
307870
307884
  /** BackstageStageLauncher type guard.
307871
307885
  * @deprecated in 3.6. Use [isBackstageStageLauncher]($appui-react) instead.
307872
307886
  * @public
307873
307887
  */
307874
307888
  const isStageLauncher = (item) => {
307875
- return item.stageId !== undefined; // eslint-disable-line deprecation/deprecation
307889
+ return item.stageId !== undefined; // eslint-disable-line @typescript-eslint/no-deprecated
307876
307890
  };
307877
307891
  /** Utilities for creating and maintaining backstage items
307878
307892
  * @deprecated in 3.6. Use [BackstageItemUtilities]($appui-react) instead.
@@ -308128,7 +308142,7 @@ var SpecialKey;
308128
308142
  * @public @deprecated in 4.3. Please use a custom implementation moving forward.
308129
308143
  */
308130
308144
  function isArrowKey(key) {
308131
- // eslint-disable-next-line deprecation/deprecation
308145
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
308132
308146
  return (key === SpecialKey.ArrowLeft || key === SpecialKey.ArrowRight || key === SpecialKey.ArrowUp || key === SpecialKey.ArrowDown);
308133
308147
  }
308134
308148
 
@@ -308173,7 +308187,7 @@ __webpack_require__.r(__webpack_exports__);
308173
308187
  /** @packageDocumentation
308174
308188
  * @module ContentView
308175
308189
  */
308176
- /* eslint-disable deprecation/deprecation */
308190
+ /* eslint-disable @typescript-eslint/no-deprecated */
308177
308191
  /**
308178
308192
  * Class that define Standard Content Layouts that can be used to specify how the content is arranged in a frontstage.
308179
308193
  * @public
@@ -309717,21 +309731,21 @@ var StatusBarLabelSide;
309717
309731
  * @public
309718
309732
  */
309719
309733
  const isAbstractStatusBarActionItem = (item) => {
309720
- return item.execute !== undefined; // eslint-disable-line deprecation/deprecation
309734
+ return item.execute !== undefined; // eslint-disable-line @typescript-eslint/no-deprecated
309721
309735
  };
309722
309736
  /** AbstractStatusBarLabelItem type guard.
309723
309737
  * @deprecated in 3.6. Use [isStatusBarLabelItem]($appui-react) instead.
309724
309738
  * @public
309725
309739
  */
309726
309740
  const isAbstractStatusBarLabelItem = (item) => {
309727
- return item.label !== undefined && item.execute === undefined; // eslint-disable-line deprecation/deprecation
309741
+ return item.label !== undefined && item.execute === undefined; // eslint-disable-line @typescript-eslint/no-deprecated
309728
309742
  };
309729
309743
  /** AbstractStatusBarCustomItem type guard.
309730
309744
  * @deprecated in 3.6. Use [isStatusBarCustomItem]($appui-react) instead.
309731
309745
  * @public
309732
309746
  */
309733
309747
  const isAbstractStatusBarCustomItem = (item) => {
309734
- return !!item.isCustom; // eslint-disable-line deprecation/deprecation
309748
+ return !!item.isCustom; // eslint-disable-line @typescript-eslint/no-deprecated
309735
309749
  };
309736
309750
  /** Helper class to create Abstract StatusBar Item definitions.
309737
309751
  * @deprecated in 3.6. Use [StatusBarItemUtilities]($appui-react) instead.
@@ -310251,7 +310265,7 @@ __webpack_require__.r(__webpack_exports__);
310251
310265
  /** @packageDocumentation
310252
310266
  * @module Utilities
310253
310267
  */
310254
- /* eslint-disable deprecation/deprecation */
310268
+ /* eslint-disable @typescript-eslint/no-deprecated */
310255
310269
  /** Creates an IconSpec with an SVG source and gets the SVG source from an IconSpec.
310256
310270
  * @public @deprecated in 4.3. AppUI libraries >= 4.7.x support loading SVGs sources without prefixes, eliminating the need for these utilities.
310257
310271
  */
@@ -310405,7 +310419,6 @@ __webpack_require__.r(__webpack_exports__);
310405
310419
  * @public
310406
310420
  * @deprecated in 4.2.x Use [[UiSyncEvent]] from @itwin/appui-react.
310407
310421
  */
310408
- // eslint-disable-next-line deprecation/deprecation
310409
310422
  class UiSyncEvent extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeUiEvent {
310410
310423
  }
310411
310424
  /** This class is used to send eventIds to interested UI components so the component can determine if it needs
@@ -310417,7 +310430,7 @@ class UiEventDispatcher {
310417
310430
  constructor() {
310418
310431
  this._eventIds = new Set();
310419
310432
  this._eventIdAdded = false;
310420
- // eslint-disable-next-line deprecation/deprecation
310433
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
310421
310434
  this._uiSyncEvent = new UiSyncEvent();
310422
310435
  this._timeoutPeriod = 100;
310423
310436
  this._secondaryTimeoutPeriod = this._timeoutPeriod / 2;
@@ -310446,7 +310459,7 @@ class UiEventDispatcher {
310446
310459
  return this._eventIds;
310447
310460
  }
310448
310461
  /** Return UiSyncEvent so callers can register an event callback. */
310449
- // eslint-disable-next-line deprecation/deprecation
310462
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
310450
310463
  get onSyncUiEvent() {
310451
310464
  return this._uiSyncEvent;
310452
310465
  }
@@ -321375,7 +321388,7 @@ function __disposeResources(env) {
321375
321388
  /***/ ((module) => {
321376
321389
 
321377
321390
  "use strict";
321378
- module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.10.0-dev.32","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s webpackWorkers && npm run -s copy:workers","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2020 --outDir lib/esm","clean":"rimraf lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","docs":"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run --coverage","test:debug":"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:^4.10.0-dev.32","@itwin/core-bentley":"workspace:^4.10.0-dev.32","@itwin/core-common":"workspace:^4.10.0-dev.32","@itwin/core-geometry":"workspace:^4.10.0-dev.32","@itwin/core-orbitgt":"workspace:^4.10.0-dev.32","@itwin/core-quantity":"workspace:^4.10.0-dev.32"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/eslint-plugin":"^4.0.2","@types/chai-as-promised":"^7","@vitest/browser":"^2.1.0","@vitest/coverage-v8":"^2.1.0","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","cpx2":"^3.0.0","eslint":"^8.56.0","glob":"^10.3.12","playwright":"~1.47.1","rimraf":"^3.0.2","source-map-loader":"^4.0.0","typescript":"~5.6.2","typemoq":"^2.1.0","vitest":"^2.1.0","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"1.0.6","webpack":"^5.76.0"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/cloud-agnostic-core":"^2.2.4","@itwin/object-storage-core":"^2.2.5","@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","meshoptimizer":"~0.20.0","wms-capabilities":"0.4.0"}}');
321391
+ module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.10.0-dev.34","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s webpackWorkers && npm run -s copy:workers","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2020 --outDir lib/esm","clean":"rimraf lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","docs":"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run --coverage","test:debug":"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:^4.10.0-dev.34","@itwin/core-bentley":"workspace:^4.10.0-dev.34","@itwin/core-common":"workspace:^4.10.0-dev.34","@itwin/core-geometry":"workspace:^4.10.0-dev.34","@itwin/core-orbitgt":"workspace:^4.10.0-dev.34","@itwin/core-quantity":"workspace:^4.10.0-dev.34"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/eslint-plugin":"5.0.0-dev.1","@types/chai-as-promised":"^7","@vitest/browser":"^2.1.0","@vitest/coverage-v8":"^2.1.0","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","cpx2":"^3.0.0","eslint":"^9.13.0","glob":"^10.3.12","playwright":"~1.47.1","rimraf":"^3.0.2","source-map-loader":"^4.0.0","typescript":"~5.6.2","typemoq":"^2.1.0","vitest":"^2.1.0","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"1.0.6","webpack":"^5.76.0"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/cloud-agnostic-core":"^2.2.4","@itwin/object-storage-core":"^2.2.5","@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","meshoptimizer":"~0.20.0","wms-capabilities":"0.4.0"}}');
321379
321392
 
321380
321393
  /***/ }),
321381
321394
 
@@ -321818,7 +321831,7 @@ describe("PresentationRpcInterface tests", () => {
321818
321831
  const key1 = { id: core_bentley_1.Id64.fromString("0x1"), className: "BisCore:Subject" };
321819
321832
  const key2 = { id: core_bentley_1.Id64.fromString("0x17"), className: "BisCore:SpatialCategory" };
321820
321833
  const keys = new presentation_common_1.KeySet([key1, key2]);
321821
- // eslint-disable-next-line deprecation/deprecation
321834
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
321822
321835
  const contentAndSize = await presentation_frontend_1.Presentation.presentation.getContentAndSize({
321823
321836
  imodel,
321824
321837
  rulesetOrId: createContentRuleset(),
@@ -321831,7 +321844,7 @@ describe("PresentationRpcInterface tests", () => {
321831
321844
  const key1 = { id: core_bentley_1.Id64.fromString("0x1"), className: "BisCore:Subject" };
321832
321845
  const key2 = { id: core_bentley_1.Id64.fromString("0x17"), className: "BisCore:SpatialCategory" };
321833
321846
  const keys = new presentation_common_1.KeySet([key1, key2]);
321834
- // eslint-disable-next-line deprecation/deprecation
321847
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
321835
321848
  const content = await presentation_frontend_1.Presentation.presentation.getContent({
321836
321849
  imodel,
321837
321850
  rulesetOrId: createContentRuleset(),
@@ -321978,9 +321991,8 @@ const core_common_1 = __webpack_require__(/*! @itwin/core-common */ "../../core/
321978
321991
  const core_frontend_1 = __webpack_require__(/*! @itwin/core-frontend */ "../../core/frontend/lib/esm/core-frontend.js");
321979
321992
  const frontend_1 = __webpack_require__(/*! @itwin/oidc-signin-tool/lib/cjs/frontend */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.3.5_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/frontend.js");
321980
321993
  const TestContext_1 = __webpack_require__(/*! ./setup/TestContext */ "./lib/frontend/setup/TestContext.js");
321981
- /* eslint-disable deprecation/deprecation */
321994
+ /* eslint-disable @typescript-eslint/no-deprecated */
321982
321995
  const expect = chai.expect;
321983
- // eslint-disable-next-line @typescript-eslint/no-var-requires
321984
321996
  __webpack_require__.g.btoa = (str) => {
321985
321997
  const buffer = buffer_1.Buffer.from(str, "binary");
321986
321998
  return buffer.toString("base64");
@@ -322286,7 +322298,6 @@ describe("Snapping", () => {
322286
322298
  closePoint: { x: 1, y: 2, z: 3 },
322287
322299
  worldToView: worldToView.toJSON(),
322288
322300
  };
322289
- // eslint-disable-next-line @typescript-eslint/no-floating-promises
322290
322301
  const promise = core_common_1.IModelReadRpcInterface.getClient().requestSnap(iModel.getRpcProps(), id, snapProps);
322291
322302
  try {
322292
322303
  await core_common_1.IModelReadRpcInterface.getClient().cancelSnap(iModel.getRpcProps(), id);