@itwin/rpcinterface-full-stack-tests 4.9.0-dev.23 → 4.9.0-dev.24

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.
@@ -30707,6 +30707,12 @@ class Logger {
30707
30707
  Logger._logError(category, message, metaData);
30708
30708
  }
30709
30709
  static getExceptionMessage(err) {
30710
+ if (err === undefined) {
30711
+ return "Error: err is undefined.";
30712
+ }
30713
+ if (err === null) {
30714
+ return "Error: err is null.";
30715
+ }
30710
30716
  const stack = Logger.logExceptionCallstacks ? `\n${_BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.getErrorStack(err)}` : "";
30711
30717
  return _BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.getErrorMessage(err) + stack;
30712
30718
  }
@@ -30717,7 +30723,7 @@ class Logger {
30717
30723
  */
30718
30724
  static logException(category, err, log = (_category, message, metaData) => Logger.logError(_category, message, metaData)) {
30719
30725
  log(category, Logger.getExceptionMessage(err), () => {
30720
- return { ..._BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.getErrorMetadata(err), exceptionType: err.constructor.name };
30726
+ return { ..._BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.getErrorMetadata(err), exceptionType: err?.constructor?.name ?? "<Unknown>" };
30721
30727
  });
30722
30728
  }
30723
30729
  /** Log the specified message to the **warning** stream.
@@ -91652,15 +91658,15 @@ class PlanarClipMaskState {
91652
91658
  this._tileTreeRefs.forEach((treeRef) => treeRef.discloseTileTrees(trees));
91653
91659
  }
91654
91660
  // Returns the TileTreeReferences for the models that need to be drawn to create the planar clip mask, and extend the maskRange if needed.
91655
- getTileTrees(view, classifiedModelId, maskRange) {
91661
+ getTileTrees(context, classifiedModelId, maskRange) {
91656
91662
  if (this.settings.mode === _itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.PlanarClipMaskMode.Priority) {
91657
91663
  // For priority mode we simply want refs for all viewed models if the priority is higher than the mask priority.
91658
91664
  // For this case, we don't need a maskRange so leave it as null.
91659
91665
  const viewTrees = new Array();
91660
91666
  const thisPriority = this.settings.priority === undefined ? _itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.PlanarClipMaskPriority.RealityModel : this.settings.priority;
91661
- view.forEachTileTreeRef((ref) => {
91667
+ context.viewport.forEachTileTreeRef((ref) => {
91662
91668
  const tree = ref.treeOwner.load();
91663
- if (tree && tree.modelId !== classifiedModelId && ref.planarclipMaskPriority > thisPriority)
91669
+ if (tree && tree.modelId !== classifiedModelId && ref.planarClipMaskPriority > thisPriority)
91664
91670
  viewTrees.push(ref);
91665
91671
  });
91666
91672
  return viewTrees;
@@ -91670,8 +91676,8 @@ class PlanarClipMaskState {
91670
91676
  // Keep calling this until loaded so that the range is valid.
91671
91677
  if (!this._allLoaded) {
91672
91678
  this._tileTreeRefs = new Array();
91673
- if (this.settings.modelIds) {
91674
- view.collectMaskRefs(this.settings.modelIds, this._tileTreeRefs, maskRange);
91679
+ if (this.settings.modelIds && context.viewport.view.isSpatialView()) {
91680
+ context.viewport.view.collectMaskRefs(this.settings.modelIds, this._tileTreeRefs, maskRange);
91675
91681
  }
91676
91682
  this._allLoaded = this._tileTreeRefs.every((treeRef) => treeRef.treeOwner.load() !== undefined);
91677
91683
  maskRange.clone(this._maskRange);
@@ -91681,10 +91687,10 @@ class PlanarClipMaskState {
91681
91687
  return this._allLoaded ? this._tileTreeRefs : undefined;
91682
91688
  }
91683
91689
  // Returns any potential FeatureSymbology overrides for drawing the planar clip mask.
91684
- getPlanarClipMaskSymbologyOverrides(view, context, featureSymbologySource) {
91690
+ getPlanarClipMaskSymbologyOverrides(context, featureSymbologySource) {
91685
91691
  this._usingViewportOverrides = false;
91686
91692
  // First obtain a list of models that will need to be turned off for drawing the planar clip mask (only used for batched tile trees).
91687
- const overrideModels = view.getModelsNotInMask(this.settings.modelIds, _itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.PlanarClipMaskMode.Priority === this.settings.mode);
91693
+ const overrideModels = context.viewport.view.isSpatialView() ? context.viewport.view.getModelsNotInMask(this.settings.modelIds, _itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.PlanarClipMaskMode.Priority === this.settings.mode) : undefined;
91688
91694
  const noSubCategoryOrElementIds = !this.settings.subCategoryOrElementIds;
91689
91695
  if (noSubCategoryOrElementIds && !overrideModels)
91690
91696
  return undefined;
@@ -124412,7 +124418,7 @@ class PlanarClassifier extends _RenderPlanarClassifier__WEBPACK_IMPORTED_MODULE_
124412
124418
  this._width = requiredWidth;
124413
124419
  this._height = requiredHeight;
124414
124420
  const maskRange = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Range3d.createNull();
124415
- const maskTrees = this._planarClipMask?.getTileTrees(viewState, target.modelId, maskRange);
124421
+ const maskTrees = this._planarClipMask?.getTileTrees(context, target.modelId, maskRange);
124416
124422
  if (!maskTrees && !this._classifierTreeRef)
124417
124423
  return;
124418
124424
  const allTrees = maskTrees ? maskTrees.slice() : new Array();
@@ -124424,14 +124430,14 @@ class PlanarClassifier extends _RenderPlanarClassifier__WEBPACK_IMPORTED_MODULE_
124424
124430
  this._projectionMatrix = projection.projectionMatrix;
124425
124431
  this._frustum = projection.textureFrustum;
124426
124432
  this._debugFrustum = projection.debugFrustum;
124427
- this._planarClipMaskOverrides = this._planarClipMask?.getPlanarClipMaskSymbologyOverrides(viewState, context, this._featureSymbologySource);
124433
+ this._planarClipMaskOverrides = this._planarClipMask?.getPlanarClipMaskSymbologyOverrides(context, this._featureSymbologySource);
124428
124434
  if (!this._planarClipMask?.usingViewportOverrides && this._removeMe) {
124429
124435
  this._removeMe();
124430
124436
  this._removeMe = undefined;
124431
124437
  }
124432
124438
  else if (this._planarClipMask?.usingViewportOverrides && !this._removeMe) {
124433
124439
  this._removeMe = context.viewport.onFeatureOverridesChanged.addListener(() => {
124434
- this._planarClipMaskOverrides = this._planarClipMask?.getPlanarClipMaskSymbologyOverrides(viewState, context, this._featureSymbologySource);
124440
+ this._planarClipMaskOverrides = this._planarClipMask?.getPlanarClipMaskSymbologyOverrides(context, this._featureSymbologySource);
124435
124441
  context.viewport.requestRedraw();
124436
124442
  });
124437
124443
  }
@@ -141348,7 +141354,7 @@ const applyPlanarClassificationColorForThematic = applyPlanarClassificationPrelu
141348
141354
  return classColor;
141349
141355
  `;
141350
141356
  const overrideFeatureId = `
141351
- if (u_pClassColorParams.x > kClassifierDisplay_Element) return currentId;
141357
+ if (u_pClassColorParams.x != kClassifierDisplay_Element) return currentId;
141352
141358
  vec2 classPos = v_pClassPos / v_pClassPosW;
141353
141359
  vec4 featureTexel = TEXTURE(s_pClassSampler, vec2(classPos.x, (1.0 + classPos.y) / u_pClassColorParams.z));
141354
141360
  return (featureTexel == vec4(0)) ? currentId : addUInt32s(u_batchBase, featureTexel * 255.0) / 255.0;
@@ -153660,8 +153666,10 @@ class GraphicRef extends _internal__WEBPACK_IMPORTED_MODULE_1__.TileTreeReferenc
153660
153666
  this._owner = args.iModel.tiles.getTileTreeOwner(args, supplier);
153661
153667
  this._modelId = args.modelId;
153662
153668
  this._getToolTip = args.getToolTip;
153669
+ this._planarClipMaskPriority = args.planarClipMaskPriority;
153663
153670
  }
153664
153671
  get treeOwner() { return this._owner; }
153672
+ get planarClipMaskPriority() { return this._planarClipMaskPriority ?? super.planarClipMaskPriority; }
153665
153673
  canSupplyToolTip(hit) {
153666
153674
  return undefined !== this._getToolTip && this._modelId === hit.modelId;
153667
153675
  }
@@ -156805,11 +156813,11 @@ class TileTreeReference /* implements RenderMemory.Consumer */ {
156805
156813
  }
156806
156814
  /** Return whether this reference has global coverage. Mapping data is global and some non-primary models such as the OSM building layer have global coverage */
156807
156815
  get isGlobal() { return false; }
156808
- /** Return the clip mask priority for this model - models will be clipped by any other viewed model with a higher proirity.
156809
- * BIM models have highest prioirty and are never clipped.
156810
- * @alpha
156816
+ /** The [PlanarClipMaskPriority]($common) of this tile tree used to determine which tile trees contribute to a clip mask when
156817
+ * using [PlanarClipMaskMode.Priority]($common).
156818
+ * @beta
156811
156819
  */
156812
- get planarclipMaskPriority() { return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.PlanarClipMaskPriority.DesignModel; }
156820
+ get planarClipMaskPriority() { return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.PlanarClipMaskPriority.DesignModel; }
156813
156821
  /** Add attribution logo cards for the tile tree source logo cards to the viewport's logo div. */
156814
156822
  addLogoCards(_cards, _vp) { }
156815
156823
  /** Create a tile tree reference equivalent to this one that also supplies an implementation of [[GeometryTileTreeReference.collectTileGeometry]].
@@ -156846,10 +156854,18 @@ class TileTreeReference /* implements RenderMemory.Consumer */ {
156846
156854
  return this._createGeometryTreeReference();
156847
156855
  }
156848
156856
  /** Create a [[TileTreeReference]] that displays a pre-defined [[RenderGraphic]].
156849
- * The reference can be used by a [[TiledGraphicsProvider]] or as a [[DynamicSpatialClassifier]]. For example:
156857
+ * The reference can be used to add dynamic content to a [[Viewport]]'s scene as a [[TiledGraphicsProvider]], as in the following example:
156850
156858
  * ```ts
156851
156859
  * [[include:TileTreeReference_createFromRenderGraphic]]
156852
156860
  *```
156861
+ * Or, it can be used as a [[DynamicSpatialClassifier]] to contextualize a reality model, like so:
156862
+ * ```ts
156863
+ * [[include:TileTreeReference_DynamicClassifier]]
156864
+ * ```
156865
+ * It can also be used to mask out portions of the background map or terrain via [PlanarClipMaskSettings]($common), as shown below:
156866
+ * ```ts
156867
+ * [[include:TileTreeReference_DynamicClipMask]]
156868
+ * ```
156853
156869
  * @beta
156854
156870
  */
156855
156871
  static createFromRenderGraphic(args) {
@@ -164038,7 +164054,7 @@ class MapTileTreeReference extends _internal__WEBPACK_IMPORTED_MODULE_7__.TileTr
164038
164054
  }
164039
164055
  get isGlobal() { return true; }
164040
164056
  get baseColor() { return this._baseColor; }
164041
- get planarclipMaskPriority() { return _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.PlanarClipMaskPriority.BackgroundMap; }
164057
+ get planarClipMaskPriority() { return _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.PlanarClipMaskPriority.BackgroundMap; }
164042
164058
  _createGeometryTreeReference() {
164043
164059
  if (!this._settings.applyTerrain || this._isDrape)
164044
164060
  return undefined; // Don't bother generating non-terrain (flat) geometry.
@@ -192594,7 +192610,7 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
192594
192610
  * @param center arc center
192595
192611
  * @param vector0 vector to 0 degrees (commonly major axis)
192596
192612
  * @param vector90 vector to 90 degree point (commonly minor axis)
192597
- * @param sweep sweep limits
192613
+ * @param sweep sweep limits (default full sweep)
192598
192614
  * @param result optional preallocated result
192599
192615
  */
192600
192616
  static create(center, vector0, vector90, sweep, result) {
@@ -192603,12 +192619,12 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
192603
192619
  return Arc3d.createRefs(center !== undefined ? center.clone() : _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_4__.Point3d.create(0, 0, 0), matrix, sweep ? sweep.clone() : _geometry3d_AngleSweep__WEBPACK_IMPORTED_MODULE_2__.AngleSweep.create360(), result);
192604
192620
  }
192605
192621
  /**
192606
- * Create an arc from three points on the ellipse: two points on an axis and one in between.
192622
+ * Create an elliptical arc from three points on the ellipse: two points on an axis and one in between.
192607
192623
  * @param point0 start of arc, on an axis
192608
192624
  * @param point1 point on arc somewhere between `point0` and `point2`
192609
192625
  * @param point2 point on arc directly opposite `point0`
192610
192626
  * @param sweep angular sweep, measured from `point0` in the direction of `point1`.
192611
- * For a semicircle from `point0` to `point2` passing through `point1`, pass `AngleSweep.createStartEndDegrees(0,180)`.
192627
+ * For a half-ellipse from `point0` to `point2` passing through `point1`, pass `AngleSweep.createStartEndDegrees(0,180)`.
192612
192628
  * Default value is full sweep to create the entire ellipse.
192613
192629
  * @param result optional preallocated result
192614
192630
  * @returns elliptical arc, or undefined if construction impossible.
@@ -192632,9 +192648,9 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
192632
192648
  return Arc3d.create(center, vector0, vector90, sweep, result);
192633
192649
  }
192634
192650
  /**
192635
- * Create a circular arc defined by start point, tangent at start point, and end point.
192636
- * If tangent is parallel to line segment from start to end, return the line segment.
192637
- */
192651
+ * Create a circular arc defined by start point, tangent at start point, and end point.
192652
+ * If tangent is parallel to line segment from start to end, return the line segment.
192653
+ */
192638
192654
  static createCircularStartTangentEnd(start, tangentAtStart, end, result) {
192639
192655
  // To find the circle passing through start and end with tangentAtStart at start:
192640
192656
  // - find line 1: the perpendicular bisector of the line from start to end.
@@ -192660,6 +192676,39 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
192660
192676
  }
192661
192677
  return _LineSegment3d__WEBPACK_IMPORTED_MODULE_6__.LineSegment3d.create(start, end);
192662
192678
  }
192679
+ /**
192680
+ * Create a circular arc defined by start and end points and radius.
192681
+ * @param start start point of the arc
192682
+ * @param end end point of the arc
192683
+ * @param helper a third point near the arc in its plane, or a vector in the direction of the arc normal
192684
+ * @returns the constructed arc, or undefined if desired arc cannot be constructed
192685
+ */
192686
+ static createCircularStartEndRadius(start, end, radius, helper) {
192687
+ // Construct a line segment from start to end. It is a chord of the circle,
192688
+ // so the circle center is on its perpendicular bisector.
192689
+ const semiChordLen2 = 0.25 * start.distanceSquared(end);
192690
+ const radius2 = radius * radius;
192691
+ if (radius2 < semiChordLen2)
192692
+ return undefined;
192693
+ const height = Math.sqrt(radius2 - semiChordLen2); // Pythagoras gives us distance from chord to center
192694
+ const normal = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_4__.Vector3d.createZero(this._workVectorU);
192695
+ const vecToCenter = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_4__.Vector3d.createZero(this._workVectorV);
192696
+ // the helper gives us the circle normal
192697
+ if (helper instanceof _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_4__.Point3d)
192698
+ start.crossProductToPoints(helper, end, normal);
192699
+ else
192700
+ normal.setFrom(helper);
192701
+ // the normal and chord direction give us the side of the chord on which the center resides
192702
+ if (!normal.normalizeInPlace() || !normal.crossProductStartEnd(start, end, vecToCenter).scaleToLength(height, vecToCenter))
192703
+ return undefined;
192704
+ const center = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_4__.Point3d.createZero();
192705
+ start.interpolate(0.5, end, center).addInPlace(vecToCenter);
192706
+ const vector0 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_4__.Vector3d.createStartEnd(center, start, this._workVectorW);
192707
+ const endVector = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_4__.Vector3d.createStartEnd(center, end, this._workVectorV); // reuse static
192708
+ const sweep = _geometry3d_AngleSweep__WEBPACK_IMPORTED_MODULE_2__.AngleSweep.create(vector0.signedAngleTo(endVector, normal));
192709
+ const vector90 = normal.crossProduct(vector0, this._workVectorV); // has length radius (reuse static)
192710
+ return Arc3d.createRefs(center, _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_3__.Matrix3d.createColumns(vector0, vector90, normal), sweep);
192711
+ }
192663
192712
  /**
192664
192713
  * Return a clone of this arc, projected to given z value.
192665
192714
  * * If `z` is omitted, the clone is at the z of the center.
@@ -193135,7 +193184,7 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
193135
193184
  result.set(plane.altitude(this._center), plane.velocityXYZ(this._matrix.coffs[0], this._matrix.coffs[3], this._matrix.coffs[6]), plane.velocityXYZ(this._matrix.coffs[1], this._matrix.coffs[4], this._matrix.coffs[7]));
193136
193185
  return result;
193137
193186
  }
193138
- /** Create a new arc which is a unit circle centered at the origin. */
193187
+ /** Create a new arc which is a unit circle in the xy-plane centered at the origin. */
193139
193188
  static createUnitCircle() {
193140
193189
  return Arc3d.createRefs(_geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_4__.Point3d.create(0, 0, 0), _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_3__.Matrix3d.createIdentity(), _geometry3d_AngleSweep__WEBPACK_IMPORTED_MODULE_2__.AngleSweep.create360());
193141
193190
  }
@@ -193146,7 +193195,7 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
193146
193195
  * @param sweep sweep limits. defaults to full circle.
193147
193196
  */
193148
193197
  static createXY(center, radius, sweep = _geometry3d_AngleSweep__WEBPACK_IMPORTED_MODULE_2__.AngleSweep.create360()) {
193149
- return new Arc3d(center.clone(), _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_3__.Matrix3d.createScale(radius, radius, 1.0), sweep);
193198
+ return new Arc3d(center.clone(), _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_3__.Matrix3d.createScale(radius, radius, 1.0), sweep.clone());
193150
193199
  }
193151
193200
  /**
193152
193201
  * Create a new arc which is parallel to the xy plane, with given center and x,y radii, and optional angle sweep
@@ -193156,7 +193205,7 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
193156
193205
  * @param sweep angle sweep
193157
193206
  */
193158
193207
  static createXYEllipse(center, radiusA, radiusB, sweep = _geometry3d_AngleSweep__WEBPACK_IMPORTED_MODULE_2__.AngleSweep.create360()) {
193159
- return new Arc3d(center.clone(), _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_3__.Matrix3d.createScale(radiusA, radiusB, 1.0), sweep);
193208
+ return new Arc3d(center.clone(), _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_3__.Matrix3d.createScale(radiusA, radiusB, 1.0), sweep.clone());
193160
193209
  }
193161
193210
  /**
193162
193211
  * Replace the arc's 0 and 90 degree vectors.
@@ -193173,7 +193222,7 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
193173
193222
  const vector90A = this._matrix.multiplyXY(-angleData.s, angleData.c);
193174
193223
  const axes = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_3__.Matrix3d.createRigidFromColumns(vector0A, vector90A, _Geometry__WEBPACK_IMPORTED_MODULE_5__.AxisOrder.XYZ);
193175
193224
  return {
193176
- center: this._center,
193225
+ center: this._center.clone(),
193177
193226
  axes: (axes ? axes : _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_3__.Matrix3d.createIdentity()),
193178
193227
  r0: vector0A.magnitude(),
193179
193228
  r90: vector90A.magnitude(),
@@ -193183,10 +193232,10 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
193183
193232
  /** Return the arc definition with center, two vectors, and angle sweep; */
193184
193233
  toVectors() {
193185
193234
  return {
193186
- center: this.center,
193235
+ center: this.center.clone(),
193187
193236
  vector0: this._matrix.columnX(),
193188
193237
  vector90: this._matrix.columnY(),
193189
- sweep: this.sweep,
193238
+ sweep: this.sweep.clone(),
193190
193239
  };
193191
193240
  }
193192
193241
  /** Return the arc definition with center, two vectors, and angle sweep, optionally transformed. */
@@ -193195,13 +193244,13 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
193195
193244
  center: transform.multiplyPoint3d(this._center),
193196
193245
  vector0: transform.multiplyVector(this._matrix.columnX()),
193197
193246
  vector90: transform.multiplyVector(this._matrix.columnY()),
193198
- sweep: this.sweep,
193247
+ sweep: this.sweep.clone(),
193199
193248
  }
193200
193249
  : {
193201
193250
  center: this._center.clone(),
193202
193251
  vector0: this._matrix.columnX(),
193203
193252
  vector90: this._matrix.columnY(),
193204
- sweep: this.sweep,
193253
+ sweep: this.sweep.clone(),
193205
193254
  };
193206
193255
  }
193207
193256
  /** Return the arc definition with center, two vectors, and angle sweep, transformed to 4d points. */
@@ -193210,7 +193259,7 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
193210
193259
  center: matrix.multiplyPoint3d(this._center, 1.0),
193211
193260
  vector0: matrix.multiplyPoint3d(this._matrix.columnX(), 0.0),
193212
193261
  vector90: matrix.multiplyPoint3d(this._matrix.columnY(), 0.0),
193213
- sweep: this.sweep,
193262
+ sweep: this.sweep.clone(),
193214
193263
  };
193215
193264
  }
193216
193265
  /**
@@ -193470,6 +193519,7 @@ Arc3d._workPointB = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_4__.Poi
193470
193519
  Arc3d._workPointC = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_4__.Point3d.create();
193471
193520
  Arc3d._workVectorU = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_4__.Vector3d.create();
193472
193521
  Arc3d._workVectorV = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_4__.Vector3d.create();
193522
+ Arc3d._workVectorW = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_4__.Vector3d.create();
193473
193523
  // !! misspelled Gauss in the published static !! Declare it ok.
193474
193524
  // cspell::word Guass
193475
193525
  /** Gauss point quadrature count for evaluating curve length. (The number of intervals is adjusted to the arc sweep) */
@@ -225273,9 +225323,10 @@ class Vector3d extends XYZ {
225273
225323
  return result;
225274
225324
  }
225275
225325
  /**
225276
- * Return a (optionally new or reused) vector in the direction of `this` but with specified length.
225326
+ * Return a vector in the direction of `this` but with specified length.
225277
225327
  * @param length desired length of vector
225278
- * @param result optional preallocated result
225328
+ * @param result optional preallocated result to populate and return
225329
+ * @returns scaled instance vector, or undefined if the instance magnitude is too small
225279
225330
  */
225280
225331
  scaleToLength(length, result) {
225281
225332
  const mag = _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.correctSmallFraction(this.magnitude());
@@ -294112,7 +294163,7 @@ class TestContext {
294112
294163
  this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
294113
294164
  const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
294114
294165
  await core_frontend_1.NoRenderApp.startup({
294115
- applicationVersion: "4.9.0-dev.23",
294166
+ applicationVersion: "4.9.0-dev.24",
294116
294167
  applicationId: this.settings.gprid,
294117
294168
  authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
294118
294169
  hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
@@ -294139,32 +294190,32 @@ TestContext._instance = undefined;
294139
294190
  "use strict";
294140
294191
  __webpack_require__.r(__webpack_exports__);
294141
294192
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
294142
- /* harmony export */ "ArrayPropertiesField": () => (/* reexport safe */ _presentation_common_content_Fields__WEBPACK_IMPORTED_MODULE_25__.ArrayPropertiesField),
294193
+ /* harmony export */ "ArrayPropertiesField": () => (/* reexport safe */ _presentation_common_content_Fields__WEBPACK_IMPORTED_MODULE_24__.ArrayPropertiesField),
294143
294194
  /* harmony export */ "AsyncTasksTracker": () => (/* reexport safe */ _presentation_common_AsyncTasks__WEBPACK_IMPORTED_MODULE_0__.AsyncTasksTracker),
294144
- /* harmony export */ "CategoryDescription": () => (/* reexport safe */ _presentation_common_content_Category__WEBPACK_IMPORTED_MODULE_20__.CategoryDescription),
294195
+ /* harmony export */ "CategoryDescription": () => (/* reexport safe */ _presentation_common_content_Category__WEBPACK_IMPORTED_MODULE_19__.CategoryDescription),
294145
294196
  /* harmony export */ "ChildNodeSpecificationTypes": () => (/* reexport safe */ _presentation_common_rules_hierarchy_ChildNodeSpecification__WEBPACK_IMPORTED_MODULE_38__.ChildNodeSpecificationTypes),
294146
294197
  /* harmony export */ "ClassInfo": () => (/* reexport safe */ _presentation_common_EC__WEBPACK_IMPORTED_MODULE_2__.ClassInfo),
294147
- /* harmony export */ "Content": () => (/* reexport safe */ _presentation_common_content_Content__WEBPACK_IMPORTED_MODULE_21__.Content),
294148
- /* harmony export */ "ContentFlags": () => (/* reexport safe */ _presentation_common_content_Descriptor__WEBPACK_IMPORTED_MODULE_22__.ContentFlags),
294149
- /* harmony export */ "ContentFormatter": () => (/* reexport safe */ _presentation_common_content_PropertyValueFormatter__WEBPACK_IMPORTED_MODULE_32__.ContentFormatter),
294150
- /* harmony export */ "ContentPropertyValueFormatter": () => (/* reexport safe */ _presentation_common_content_PropertyValueFormatter__WEBPACK_IMPORTED_MODULE_32__.ContentPropertyValueFormatter),
294198
+ /* harmony export */ "Content": () => (/* reexport safe */ _presentation_common_content_Content__WEBPACK_IMPORTED_MODULE_20__.Content),
294199
+ /* harmony export */ "ContentFlags": () => (/* reexport safe */ _presentation_common_content_Descriptor__WEBPACK_IMPORTED_MODULE_21__.ContentFlags),
294200
+ /* harmony export */ "ContentFormatter": () => (/* reexport safe */ _presentation_common_content_PropertyValueFormatter__WEBPACK_IMPORTED_MODULE_31__.ContentFormatter),
294201
+ /* harmony export */ "ContentPropertyValueFormatter": () => (/* reexport safe */ _presentation_common_content_PropertyValueFormatter__WEBPACK_IMPORTED_MODULE_31__.ContentPropertyValueFormatter),
294151
294202
  /* harmony export */ "ContentSpecificationTypes": () => (/* reexport safe */ _presentation_common_rules_content_ContentSpecification__WEBPACK_IMPORTED_MODULE_59__.ContentSpecificationTypes),
294152
294203
  /* harmony export */ "DEFAULT_KEYS_BATCH_SIZE": () => (/* reexport safe */ _presentation_common_Utils__WEBPACK_IMPORTED_MODULE_11__.DEFAULT_KEYS_BATCH_SIZE),
294153
- /* harmony export */ "DefaultContentDisplayTypes": () => (/* reexport safe */ _presentation_common_content_DisplayTypes__WEBPACK_IMPORTED_MODULE_23__.DefaultContentDisplayTypes),
294154
- /* harmony export */ "Descriptor": () => (/* reexport safe */ _presentation_common_content_Descriptor__WEBPACK_IMPORTED_MODULE_22__.Descriptor),
294204
+ /* harmony export */ "DefaultContentDisplayTypes": () => (/* reexport safe */ _presentation_common_content_DisplayTypes__WEBPACK_IMPORTED_MODULE_22__.DefaultContentDisplayTypes),
294205
+ /* harmony export */ "Descriptor": () => (/* reexport safe */ _presentation_common_content_Descriptor__WEBPACK_IMPORTED_MODULE_21__.Descriptor),
294155
294206
  /* harmony export */ "DiagnosticsLogEntry": () => (/* reexport safe */ _presentation_common_Diagnostics__WEBPACK_IMPORTED_MODULE_1__.DiagnosticsLogEntry),
294156
- /* harmony export */ "DisplayValue": () => (/* reexport safe */ _presentation_common_content_Value__WEBPACK_IMPORTED_MODULE_30__.DisplayValue),
294157
- /* harmony export */ "DisplayValueGroup": () => (/* reexport safe */ _presentation_common_content_Value__WEBPACK_IMPORTED_MODULE_30__.DisplayValueGroup),
294158
- /* harmony export */ "FIELD_NAMES_SEPARATOR": () => (/* reexport safe */ _presentation_common_content_ContentTraverser__WEBPACK_IMPORTED_MODULE_31__.FIELD_NAMES_SEPARATOR),
294159
- /* harmony export */ "Field": () => (/* reexport safe */ _presentation_common_content_Fields__WEBPACK_IMPORTED_MODULE_25__.Field),
294160
- /* harmony export */ "FieldDescriptor": () => (/* reexport safe */ _presentation_common_content_Fields__WEBPACK_IMPORTED_MODULE_25__.FieldDescriptor),
294161
- /* harmony export */ "FieldDescriptorType": () => (/* reexport safe */ _presentation_common_content_Fields__WEBPACK_IMPORTED_MODULE_25__.FieldDescriptorType),
294207
+ /* harmony export */ "DisplayValue": () => (/* reexport safe */ _presentation_common_content_Value__WEBPACK_IMPORTED_MODULE_29__.DisplayValue),
294208
+ /* harmony export */ "DisplayValueGroup": () => (/* reexport safe */ _presentation_common_content_Value__WEBPACK_IMPORTED_MODULE_29__.DisplayValueGroup),
294209
+ /* harmony export */ "FIELD_NAMES_SEPARATOR": () => (/* reexport safe */ _presentation_common_content_ContentTraverser__WEBPACK_IMPORTED_MODULE_30__.FIELD_NAMES_SEPARATOR),
294210
+ /* harmony export */ "Field": () => (/* reexport safe */ _presentation_common_content_Fields__WEBPACK_IMPORTED_MODULE_24__.Field),
294211
+ /* harmony export */ "FieldDescriptor": () => (/* reexport safe */ _presentation_common_content_Fields__WEBPACK_IMPORTED_MODULE_24__.FieldDescriptor),
294212
+ /* harmony export */ "FieldDescriptorType": () => (/* reexport safe */ _presentation_common_content_Fields__WEBPACK_IMPORTED_MODULE_24__.FieldDescriptorType),
294162
294213
  /* harmony export */ "GroupingSpecificationTypes": () => (/* reexport safe */ _presentation_common_rules_customization_GroupingRule__WEBPACK_IMPORTED_MODULE_50__.GroupingSpecificationTypes),
294163
294214
  /* harmony export */ "HierarchyCompareInfo": () => (/* reexport safe */ _presentation_common_Update__WEBPACK_IMPORTED_MODULE_10__.HierarchyCompareInfo),
294164
294215
  /* harmony export */ "HierarchyLevel": () => (/* reexport safe */ _presentation_common_hierarchy_HierarchyLevel__WEBPACK_IMPORTED_MODULE_33__.HierarchyLevel),
294165
294216
  /* harmony export */ "InstanceKey": () => (/* reexport safe */ _presentation_common_EC__WEBPACK_IMPORTED_MODULE_2__.InstanceKey),
294166
294217
  /* harmony export */ "InstanceLabelOverrideValueSpecificationType": () => (/* reexport safe */ _presentation_common_rules_customization_InstanceLabelOverride__WEBPACK_IMPORTED_MODULE_52__.InstanceLabelOverrideValueSpecificationType),
294167
- /* harmony export */ "Item": () => (/* reexport safe */ _presentation_common_content_Item__WEBPACK_IMPORTED_MODULE_26__.Item),
294218
+ /* harmony export */ "Item": () => (/* reexport safe */ _presentation_common_content_Item__WEBPACK_IMPORTED_MODULE_25__.Item),
294168
294219
  /* harmony export */ "Key": () => (/* reexport safe */ _presentation_common_KeySet__WEBPACK_IMPORTED_MODULE_4__.Key),
294169
294220
  /* harmony export */ "KeySet": () => (/* reexport safe */ _presentation_common_KeySet__WEBPACK_IMPORTED_MODULE_4__.KeySet),
294170
294221
  /* harmony export */ "KoqPropertyValueFormatter": () => (/* reexport safe */ _presentation_common_KoqPropertyValueFormatter__WEBPACK_IMPORTED_MODULE_15__.KoqPropertyValueFormatter),
@@ -294172,8 +294223,8 @@ __webpack_require__.r(__webpack_exports__);
294172
294223
  /* harmony export */ "LabelDefinition": () => (/* reexport safe */ _presentation_common_LabelDefinition__WEBPACK_IMPORTED_MODULE_5__.LabelDefinition),
294173
294224
  /* harmony export */ "LocalizationHelper": () => (/* reexport safe */ _presentation_common_LocalizationHelper__WEBPACK_IMPORTED_MODULE_13__.LocalizationHelper),
294174
294225
  /* harmony export */ "NavigationPropertyInfo": () => (/* reexport safe */ _presentation_common_EC__WEBPACK_IMPORTED_MODULE_2__.NavigationPropertyInfo),
294175
- /* harmony export */ "NestedContentField": () => (/* reexport safe */ _presentation_common_content_Fields__WEBPACK_IMPORTED_MODULE_25__.NestedContentField),
294176
- /* harmony export */ "NestedContentValue": () => (/* reexport safe */ _presentation_common_content_Value__WEBPACK_IMPORTED_MODULE_30__.NestedContentValue),
294226
+ /* harmony export */ "NestedContentField": () => (/* reexport safe */ _presentation_common_content_Fields__WEBPACK_IMPORTED_MODULE_24__.NestedContentField),
294227
+ /* harmony export */ "NestedContentValue": () => (/* reexport safe */ _presentation_common_content_Value__WEBPACK_IMPORTED_MODULE_29__.NestedContentValue),
294177
294228
  /* harmony export */ "Node": () => (/* reexport safe */ _presentation_common_hierarchy_Node__WEBPACK_IMPORTED_MODULE_35__.Node),
294178
294229
  /* harmony export */ "NodeKey": () => (/* reexport safe */ _presentation_common_hierarchy_Key__WEBPACK_IMPORTED_MODULE_34__.NodeKey),
294179
294230
  /* harmony export */ "NodePathElement": () => (/* reexport safe */ _presentation_common_hierarchy_NodePathElement__WEBPACK_IMPORTED_MODULE_36__.NodePathElement),
@@ -294184,12 +294235,12 @@ __webpack_require__.r(__webpack_exports__);
294184
294235
  /* harmony export */ "PresentationIpcEvents": () => (/* reexport safe */ _presentation_common_PresentationRpcInterface__WEBPACK_IMPORTED_MODULE_16__.PresentationIpcEvents),
294185
294236
  /* harmony export */ "PresentationRpcInterface": () => (/* reexport safe */ _presentation_common_PresentationRpcInterface__WEBPACK_IMPORTED_MODULE_16__.PresentationRpcInterface),
294186
294237
  /* harmony export */ "PresentationStatus": () => (/* reexport safe */ _presentation_common_Error__WEBPACK_IMPORTED_MODULE_3__.PresentationStatus),
294187
- /* harmony export */ "PropertiesField": () => (/* reexport safe */ _presentation_common_content_Fields__WEBPACK_IMPORTED_MODULE_25__.PropertiesField),
294188
- /* harmony export */ "Property": () => (/* reexport safe */ _presentation_common_content_Property__WEBPACK_IMPORTED_MODULE_27__.Property),
294238
+ /* harmony export */ "PropertiesField": () => (/* reexport safe */ _presentation_common_content_Fields__WEBPACK_IMPORTED_MODULE_24__.PropertiesField),
294239
+ /* harmony export */ "Property": () => (/* reexport safe */ _presentation_common_content_Property__WEBPACK_IMPORTED_MODULE_26__.Property),
294189
294240
  /* harmony export */ "PropertyEditorParameterTypes": () => (/* reexport safe */ _presentation_common_rules_content_modifiers_PropertyEditorsSpecification__WEBPACK_IMPORTED_MODULE_66__.PropertyEditorParameterTypes),
294190
294241
  /* harmony export */ "PropertyGroupingValue": () => (/* reexport safe */ _presentation_common_rules_customization_GroupingRule__WEBPACK_IMPORTED_MODULE_50__.PropertyGroupingValue),
294191
294242
  /* harmony export */ "PropertyInfo": () => (/* reexport safe */ _presentation_common_EC__WEBPACK_IMPORTED_MODULE_2__.PropertyInfo),
294192
- /* harmony export */ "PropertyValueFormat": () => (/* reexport safe */ _presentation_common_content_TypeDescription__WEBPACK_IMPORTED_MODULE_29__.PropertyValueFormat),
294243
+ /* harmony export */ "PropertyValueFormat": () => (/* reexport safe */ _presentation_common_content_TypeDescription__WEBPACK_IMPORTED_MODULE_28__.PropertyValueFormat),
294193
294244
  /* harmony export */ "QuerySpecificationTypes": () => (/* reexport safe */ _presentation_common_rules_hierarchy_CustomQueryInstanceNodesSpecification__WEBPACK_IMPORTED_MODULE_40__.QuerySpecificationTypes),
294194
294245
  /* harmony export */ "RegisteredRuleset": () => (/* reexport safe */ _presentation_common_RegisteredRuleset__WEBPACK_IMPORTED_MODULE_7__.RegisteredRuleset),
294195
294246
  /* harmony export */ "RelatedClassInfo": () => (/* reexport safe */ _presentation_common_EC__WEBPACK_IMPORTED_MODULE_2__.RelatedClassInfo),
@@ -294203,28 +294254,29 @@ __webpack_require__.r(__webpack_exports__);
294203
294254
  /* harmony export */ "RulesetVariable": () => (/* reexport safe */ _presentation_common_RulesetVariables__WEBPACK_IMPORTED_MODULE_8__.RulesetVariable),
294204
294255
  /* harmony export */ "RulesetsFactory": () => (/* reexport safe */ _presentation_common_RulesetsFactory__WEBPACK_IMPORTED_MODULE_9__.RulesetsFactory),
294205
294256
  /* harmony export */ "SameLabelInstanceGroupApplicationStage": () => (/* reexport safe */ _presentation_common_rules_customization_GroupingRule__WEBPACK_IMPORTED_MODULE_50__.SameLabelInstanceGroupApplicationStage),
294206
- /* harmony export */ "SelectClassInfo": () => (/* reexport safe */ _presentation_common_content_Descriptor__WEBPACK_IMPORTED_MODULE_22__.SelectClassInfo),
294207
- /* harmony export */ "SortDirection": () => (/* reexport safe */ _presentation_common_content_Descriptor__WEBPACK_IMPORTED_MODULE_22__.SortDirection),
294257
+ /* harmony export */ "SelectClassInfo": () => (/* reexport safe */ _presentation_common_content_Descriptor__WEBPACK_IMPORTED_MODULE_21__.SelectClassInfo),
294258
+ /* harmony export */ "SortDirection": () => (/* reexport safe */ _presentation_common_content_Descriptor__WEBPACK_IMPORTED_MODULE_21__.SortDirection),
294208
294259
  /* harmony export */ "StandardNodeTypes": () => (/* reexport safe */ _presentation_common_hierarchy_Key__WEBPACK_IMPORTED_MODULE_34__.StandardNodeTypes),
294209
- /* harmony export */ "StructPropertiesField": () => (/* reexport safe */ _presentation_common_content_Fields__WEBPACK_IMPORTED_MODULE_25__.StructPropertiesField),
294260
+ /* harmony export */ "StructPropertiesField": () => (/* reexport safe */ _presentation_common_content_Fields__WEBPACK_IMPORTED_MODULE_24__.StructPropertiesField),
294210
294261
  /* harmony export */ "UPDATE_FULL": () => (/* reexport safe */ _presentation_common_Update__WEBPACK_IMPORTED_MODULE_10__.UPDATE_FULL),
294211
- /* harmony export */ "Value": () => (/* reexport safe */ _presentation_common_content_Value__WEBPACK_IMPORTED_MODULE_30__.Value),
294262
+ /* harmony export */ "Value": () => (/* reexport safe */ _presentation_common_content_Value__WEBPACK_IMPORTED_MODULE_29__.Value),
294212
294263
  /* harmony export */ "VariableValueType": () => (/* reexport safe */ _presentation_common_rules_Variables__WEBPACK_IMPORTED_MODULE_76__.VariableValueType),
294213
294264
  /* harmony export */ "VariableValueTypes": () => (/* reexport safe */ _presentation_common_RulesetVariables__WEBPACK_IMPORTED_MODULE_8__.VariableValueTypes),
294214
- /* harmony export */ "addFieldHierarchy": () => (/* reexport safe */ _presentation_common_content_ContentTraverser__WEBPACK_IMPORTED_MODULE_31__.addFieldHierarchy),
294265
+ /* harmony export */ "addFieldHierarchy": () => (/* reexport safe */ _presentation_common_content_ContentTraverser__WEBPACK_IMPORTED_MODULE_30__.addFieldHierarchy),
294266
+ /* harmony export */ "buildElementProperties": () => (/* reexport safe */ _presentation_common_ElementProperties__WEBPACK_IMPORTED_MODULE_32__.buildElementProperties),
294215
294267
  /* harmony export */ "combineDiagnosticsSeverities": () => (/* reexport safe */ _presentation_common_Diagnostics__WEBPACK_IMPORTED_MODULE_1__.combineDiagnosticsSeverities),
294216
- /* harmony export */ "combineFieldNames": () => (/* reexport safe */ _presentation_common_content_ContentTraverser__WEBPACK_IMPORTED_MODULE_31__.combineFieldNames),
294268
+ /* harmony export */ "combineFieldNames": () => (/* reexport safe */ _presentation_common_content_ContentTraverser__WEBPACK_IMPORTED_MODULE_30__.combineFieldNames),
294217
294269
  /* harmony export */ "compareDiagnosticsSeverities": () => (/* reexport safe */ _presentation_common_Diagnostics__WEBPACK_IMPORTED_MODULE_1__.compareDiagnosticsSeverities),
294218
- /* harmony export */ "createFieldHierarchies": () => (/* reexport safe */ _presentation_common_content_ContentTraverser__WEBPACK_IMPORTED_MODULE_31__.createFieldHierarchies),
294219
- /* harmony export */ "getFieldByDescriptor": () => (/* reexport safe */ _presentation_common_content_Fields__WEBPACK_IMPORTED_MODULE_25__.getFieldByDescriptor),
294220
- /* harmony export */ "getFieldByName": () => (/* reexport safe */ _presentation_common_content_Fields__WEBPACK_IMPORTED_MODULE_25__.getFieldByName),
294270
+ /* harmony export */ "createFieldHierarchies": () => (/* reexport safe */ _presentation_common_content_ContentTraverser__WEBPACK_IMPORTED_MODULE_30__.createFieldHierarchies),
294271
+ /* harmony export */ "getFieldByDescriptor": () => (/* reexport safe */ _presentation_common_content_Fields__WEBPACK_IMPORTED_MODULE_24__.getFieldByDescriptor),
294272
+ /* harmony export */ "getFieldByName": () => (/* reexport safe */ _presentation_common_content_Fields__WEBPACK_IMPORTED_MODULE_24__.getFieldByName),
294221
294273
  /* harmony export */ "getInstancesCount": () => (/* reexport safe */ _presentation_common_Utils__WEBPACK_IMPORTED_MODULE_11__.getInstancesCount),
294222
294274
  /* harmony export */ "isComputeSelectionRequestOptions": () => (/* reexport safe */ _presentation_common_PresentationManagerOptions__WEBPACK_IMPORTED_MODULE_6__.isComputeSelectionRequestOptions),
294223
294275
  /* harmony export */ "isSingleElementPropertiesRequestOptions": () => (/* reexport safe */ _presentation_common_PresentationManagerOptions__WEBPACK_IMPORTED_MODULE_6__.isSingleElementPropertiesRequestOptions),
294224
- /* harmony export */ "parseCombinedFieldNames": () => (/* reexport safe */ _presentation_common_content_ContentTraverser__WEBPACK_IMPORTED_MODULE_31__.parseCombinedFieldNames),
294225
- /* harmony export */ "traverseContent": () => (/* reexport safe */ _presentation_common_content_ContentTraverser__WEBPACK_IMPORTED_MODULE_31__.traverseContent),
294226
- /* harmony export */ "traverseContentItem": () => (/* reexport safe */ _presentation_common_content_ContentTraverser__WEBPACK_IMPORTED_MODULE_31__.traverseContentItem),
294227
- /* harmony export */ "traverseFieldHierarchy": () => (/* reexport safe */ _presentation_common_content_ContentTraverser__WEBPACK_IMPORTED_MODULE_31__.traverseFieldHierarchy)
294276
+ /* harmony export */ "parseCombinedFieldNames": () => (/* reexport safe */ _presentation_common_content_ContentTraverser__WEBPACK_IMPORTED_MODULE_30__.parseCombinedFieldNames),
294277
+ /* harmony export */ "traverseContent": () => (/* reexport safe */ _presentation_common_content_ContentTraverser__WEBPACK_IMPORTED_MODULE_30__.traverseContent),
294278
+ /* harmony export */ "traverseContentItem": () => (/* reexport safe */ _presentation_common_content_ContentTraverser__WEBPACK_IMPORTED_MODULE_30__.traverseContentItem),
294279
+ /* harmony export */ "traverseFieldHierarchy": () => (/* reexport safe */ _presentation_common_content_ContentTraverser__WEBPACK_IMPORTED_MODULE_30__.traverseFieldHierarchy)
294228
294280
  /* harmony export */ });
294229
294281
  /* harmony import */ var _presentation_common_AsyncTasks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./presentation-common/AsyncTasks */ "../../presentation/common/lib/esm/presentation-common/AsyncTasks.js");
294230
294282
  /* harmony import */ var _presentation_common_Diagnostics__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./presentation-common/Diagnostics */ "../../presentation/common/lib/esm/presentation-common/Diagnostics.js");
@@ -294244,21 +294296,21 @@ __webpack_require__.r(__webpack_exports__);
294244
294296
  /* harmony import */ var _presentation_common_KoqPropertyValueFormatter__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./presentation-common/KoqPropertyValueFormatter */ "../../presentation/common/lib/esm/presentation-common/KoqPropertyValueFormatter.js");
294245
294297
  /* harmony import */ var _presentation_common_PresentationRpcInterface__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./presentation-common/PresentationRpcInterface */ "../../presentation/common/lib/esm/presentation-common/PresentationRpcInterface.js");
294246
294298
  /* harmony import */ var _presentation_common_RpcRequestsHandler__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./presentation-common/RpcRequestsHandler */ "../../presentation/common/lib/esm/presentation-common/RpcRequestsHandler.js");
294247
- /* harmony import */ var _presentation_common_ElementProperties__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./presentation-common/ElementProperties */ "../../presentation/common/lib/esm/presentation-common/ElementProperties.js");
294248
- /* harmony import */ var _presentation_common_selection_SelectionScope__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./presentation-common/selection/SelectionScope */ "../../presentation/common/lib/esm/presentation-common/selection/SelectionScope.js");
294249
- /* harmony import */ var _presentation_common_content_Category__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./presentation-common/content/Category */ "../../presentation/common/lib/esm/presentation-common/content/Category.js");
294250
- /* harmony import */ var _presentation_common_content_Content__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./presentation-common/content/Content */ "../../presentation/common/lib/esm/presentation-common/content/Content.js");
294251
- /* harmony import */ var _presentation_common_content_Descriptor__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./presentation-common/content/Descriptor */ "../../presentation/common/lib/esm/presentation-common/content/Descriptor.js");
294252
- /* harmony import */ var _presentation_common_content_DisplayTypes__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./presentation-common/content/DisplayTypes */ "../../presentation/common/lib/esm/presentation-common/content/DisplayTypes.js");
294253
- /* harmony import */ var _presentation_common_content_Editor__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./presentation-common/content/Editor */ "../../presentation/common/lib/esm/presentation-common/content/Editor.js");
294254
- /* harmony import */ var _presentation_common_content_Fields__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./presentation-common/content/Fields */ "../../presentation/common/lib/esm/presentation-common/content/Fields.js");
294255
- /* harmony import */ var _presentation_common_content_Item__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./presentation-common/content/Item */ "../../presentation/common/lib/esm/presentation-common/content/Item.js");
294256
- /* harmony import */ var _presentation_common_content_Property__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./presentation-common/content/Property */ "../../presentation/common/lib/esm/presentation-common/content/Property.js");
294257
- /* harmony import */ var _presentation_common_content_Renderer__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./presentation-common/content/Renderer */ "../../presentation/common/lib/esm/presentation-common/content/Renderer.js");
294258
- /* harmony import */ var _presentation_common_content_TypeDescription__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./presentation-common/content/TypeDescription */ "../../presentation/common/lib/esm/presentation-common/content/TypeDescription.js");
294259
- /* harmony import */ var _presentation_common_content_Value__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./presentation-common/content/Value */ "../../presentation/common/lib/esm/presentation-common/content/Value.js");
294260
- /* harmony import */ var _presentation_common_content_ContentTraverser__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./presentation-common/content/ContentTraverser */ "../../presentation/common/lib/esm/presentation-common/content/ContentTraverser.js");
294261
- /* harmony import */ var _presentation_common_content_PropertyValueFormatter__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./presentation-common/content/PropertyValueFormatter */ "../../presentation/common/lib/esm/presentation-common/content/PropertyValueFormatter.js");
294299
+ /* harmony import */ var _presentation_common_selection_SelectionScope__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./presentation-common/selection/SelectionScope */ "../../presentation/common/lib/esm/presentation-common/selection/SelectionScope.js");
294300
+ /* harmony import */ var _presentation_common_content_Category__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./presentation-common/content/Category */ "../../presentation/common/lib/esm/presentation-common/content/Category.js");
294301
+ /* harmony import */ var _presentation_common_content_Content__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./presentation-common/content/Content */ "../../presentation/common/lib/esm/presentation-common/content/Content.js");
294302
+ /* harmony import */ var _presentation_common_content_Descriptor__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./presentation-common/content/Descriptor */ "../../presentation/common/lib/esm/presentation-common/content/Descriptor.js");
294303
+ /* harmony import */ var _presentation_common_content_DisplayTypes__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./presentation-common/content/DisplayTypes */ "../../presentation/common/lib/esm/presentation-common/content/DisplayTypes.js");
294304
+ /* harmony import */ var _presentation_common_content_Editor__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./presentation-common/content/Editor */ "../../presentation/common/lib/esm/presentation-common/content/Editor.js");
294305
+ /* harmony import */ var _presentation_common_content_Fields__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./presentation-common/content/Fields */ "../../presentation/common/lib/esm/presentation-common/content/Fields.js");
294306
+ /* harmony import */ var _presentation_common_content_Item__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./presentation-common/content/Item */ "../../presentation/common/lib/esm/presentation-common/content/Item.js");
294307
+ /* harmony import */ var _presentation_common_content_Property__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./presentation-common/content/Property */ "../../presentation/common/lib/esm/presentation-common/content/Property.js");
294308
+ /* harmony import */ var _presentation_common_content_Renderer__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./presentation-common/content/Renderer */ "../../presentation/common/lib/esm/presentation-common/content/Renderer.js");
294309
+ /* harmony import */ var _presentation_common_content_TypeDescription__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./presentation-common/content/TypeDescription */ "../../presentation/common/lib/esm/presentation-common/content/TypeDescription.js");
294310
+ /* harmony import */ var _presentation_common_content_Value__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./presentation-common/content/Value */ "../../presentation/common/lib/esm/presentation-common/content/Value.js");
294311
+ /* harmony import */ var _presentation_common_content_ContentTraverser__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./presentation-common/content/ContentTraverser */ "../../presentation/common/lib/esm/presentation-common/content/ContentTraverser.js");
294312
+ /* harmony import */ var _presentation_common_content_PropertyValueFormatter__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./presentation-common/content/PropertyValueFormatter */ "../../presentation/common/lib/esm/presentation-common/content/PropertyValueFormatter.js");
294313
+ /* harmony import */ var _presentation_common_ElementProperties__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./presentation-common/ElementProperties */ "../../presentation/common/lib/esm/presentation-common/ElementProperties.js");
294262
294314
  /* harmony import */ var _presentation_common_hierarchy_HierarchyLevel__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./presentation-common/hierarchy/HierarchyLevel */ "../../presentation/common/lib/esm/presentation-common/hierarchy/HierarchyLevel.js");
294263
294315
  /* harmony import */ var _presentation_common_hierarchy_Key__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./presentation-common/hierarchy/Key */ "../../presentation/common/lib/esm/presentation-common/hierarchy/Key.js");
294264
294316
  /* harmony import */ var _presentation_common_hierarchy_Node__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./presentation-common/hierarchy/Node */ "../../presentation/common/lib/esm/presentation-common/hierarchy/Node.js");
@@ -294338,7 +294390,6 @@ __webpack_require__.r(__webpack_exports__);
294338
294390
  */
294339
294391
 
294340
294392
 
294341
-
294342
294393
  /**
294343
294394
  * @module UnifiedSelection
294344
294395
  *
@@ -294365,6 +294416,7 @@ __webpack_require__.r(__webpack_exports__);
294365
294416
 
294366
294417
 
294367
294418
 
294419
+
294368
294420
  /**
294369
294421
  * @module Hierarchies
294370
294422
  *
@@ -294927,6 +294979,12 @@ var RelationshipPath;
294927
294979
 
294928
294980
  "use strict";
294929
294981
  __webpack_require__.r(__webpack_exports__);
294982
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
294983
+ /* harmony export */ "buildElementProperties": () => (/* binding */ buildElementProperties)
294984
+ /* harmony export */ });
294985
+ /* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
294986
+ /* harmony import */ var _content_ContentTraverser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./content/ContentTraverser */ "../../presentation/common/lib/esm/presentation-common/content/ContentTraverser.js");
294987
+ /* harmony import */ var _content_TypeDescription__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./content/TypeDescription */ "../../presentation/common/lib/esm/presentation-common/content/TypeDescription.js");
294930
294988
  /*---------------------------------------------------------------------------------------------
294931
294989
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
294932
294990
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -294937,6 +294995,191 @@ __webpack_require__.r(__webpack_exports__);
294937
294995
 
294938
294996
 
294939
294997
 
294998
+ /** @internal */
294999
+ const buildElementProperties = (descriptor, item) => {
295000
+ const builder = new ElementPropertiesBuilder();
295001
+ (0,_content_ContentTraverser__WEBPACK_IMPORTED_MODULE_1__.traverseContentItem)(builder, descriptor, item);
295002
+ return builder.items[0];
295003
+ };
295004
+ class ElementPropertiesAppender {
295005
+ constructor(_item, _onItemFinished) {
295006
+ this._item = _item;
295007
+ this._onItemFinished = _onItemFinished;
295008
+ this._propertyItems = {};
295009
+ this._categoryItemAppenders = {};
295010
+ }
295011
+ append(label, item) {
295012
+ this._propertyItems[label] = item;
295013
+ }
295014
+ finish() {
295015
+ // eslint-disable-next-line guard-for-in
295016
+ for (const categoryName in this._categoryItemAppenders) {
295017
+ const appender = this._categoryItemAppenders[categoryName];
295018
+ appender.finish();
295019
+ }
295020
+ this._onItemFinished({
295021
+ class: this._item.classInfo?.label ?? "",
295022
+ id: this._item.primaryKeys[0]?.id ?? _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.invalid,
295023
+ label: this._item.label.displayValue,
295024
+ items: this._propertyItems,
295025
+ });
295026
+ }
295027
+ getCategoryAppender(parentAppender, category) {
295028
+ let appender = this._categoryItemAppenders[category.name];
295029
+ if (!appender) {
295030
+ appender = new CategoryItemAppender(parentAppender, category);
295031
+ this._categoryItemAppenders[category.name] = appender;
295032
+ }
295033
+ return appender;
295034
+ }
295035
+ }
295036
+ class CategoryItemAppender {
295037
+ constructor(_parentAppender, _category) {
295038
+ this._parentAppender = _parentAppender;
295039
+ this._category = _category;
295040
+ this._items = {};
295041
+ }
295042
+ append(label, item) {
295043
+ this._items[label] = item;
295044
+ }
295045
+ finish() {
295046
+ if (Object.keys(this._items).length === 0) {
295047
+ return;
295048
+ }
295049
+ this._parentAppender.append(this._category.label, {
295050
+ type: "category",
295051
+ items: this._items,
295052
+ });
295053
+ }
295054
+ }
295055
+ class ArrayItemAppender {
295056
+ constructor(_parentAppender, _props) {
295057
+ this._parentAppender = _parentAppender;
295058
+ this._props = _props;
295059
+ this._items = [];
295060
+ }
295061
+ append(_label, item) {
295062
+ (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(item.type !== "category");
295063
+ this._items.push(item);
295064
+ }
295065
+ finish() {
295066
+ (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(this._props.valueType.valueFormat === _content_TypeDescription__WEBPACK_IMPORTED_MODULE_2__.PropertyValueFormat.Array);
295067
+ if (this._props.valueType.memberType.valueFormat === _content_TypeDescription__WEBPACK_IMPORTED_MODULE_2__.PropertyValueFormat.Primitive) {
295068
+ this._parentAppender.append(this._props.hierarchy.field.label, this.createPrimitivesArray());
295069
+ }
295070
+ else {
295071
+ this._parentAppender.append(this._props.hierarchy.field.label, this.createStructsArray());
295072
+ }
295073
+ }
295074
+ createPrimitivesArray() {
295075
+ return {
295076
+ type: "array",
295077
+ valueType: "primitive",
295078
+ values: this._items.map((item) => {
295079
+ (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(item.type === "primitive");
295080
+ return item.value;
295081
+ }),
295082
+ };
295083
+ }
295084
+ createStructsArray() {
295085
+ return {
295086
+ type: "array",
295087
+ valueType: "struct",
295088
+ values: this._items.map((item) => {
295089
+ (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(item.type === "struct");
295090
+ return item.members;
295091
+ }),
295092
+ };
295093
+ }
295094
+ }
295095
+ class StructItemAppender {
295096
+ constructor(_parentAppender, _props) {
295097
+ this._parentAppender = _parentAppender;
295098
+ this._props = _props;
295099
+ this._members = {};
295100
+ }
295101
+ append(label, item) {
295102
+ (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(item.type !== "category");
295103
+ this._members[label] = item;
295104
+ }
295105
+ finish() {
295106
+ (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(this._props.valueType.valueFormat === _content_TypeDescription__WEBPACK_IMPORTED_MODULE_2__.PropertyValueFormat.Struct);
295107
+ this._parentAppender.append(this._props.hierarchy.field.label, {
295108
+ type: "struct",
295109
+ members: this._members,
295110
+ });
295111
+ }
295112
+ }
295113
+ class ElementPropertiesBuilder {
295114
+ constructor() {
295115
+ this._appendersStack = [];
295116
+ this._items = [];
295117
+ }
295118
+ get items() {
295119
+ return this._items;
295120
+ }
295121
+ get _currentAppender() {
295122
+ const appender = this._appendersStack[this._appendersStack.length - 1];
295123
+ (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(appender !== undefined);
295124
+ return appender;
295125
+ }
295126
+ startContent(_props) {
295127
+ return true;
295128
+ }
295129
+ finishContent() { }
295130
+ processFieldHierarchies(_props) { }
295131
+ startItem(props) {
295132
+ this._elementPropertiesAppender = new ElementPropertiesAppender(props.item, (item) => this._items.push(item));
295133
+ this._appendersStack.push(this._elementPropertiesAppender);
295134
+ return true;
295135
+ }
295136
+ finishItem() {
295137
+ this._appendersStack.pop();
295138
+ (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(this._elementPropertiesAppender !== undefined);
295139
+ this._elementPropertiesAppender.finish();
295140
+ this._elementPropertiesAppender = undefined;
295141
+ }
295142
+ startCategory(props) {
295143
+ (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(this._elementPropertiesAppender !== undefined);
295144
+ this._appendersStack.push(this._elementPropertiesAppender.getCategoryAppender(this._currentAppender, props.category));
295145
+ return true;
295146
+ }
295147
+ finishCategory() {
295148
+ this._appendersStack.pop();
295149
+ }
295150
+ startField(_props) {
295151
+ return true;
295152
+ }
295153
+ finishField() { }
295154
+ startStruct(props) {
295155
+ this._appendersStack.push(new StructItemAppender(this._currentAppender, props));
295156
+ return true;
295157
+ }
295158
+ finishStruct() {
295159
+ this._appendersStack.pop().finish();
295160
+ }
295161
+ startArray(props) {
295162
+ this._appendersStack.push(new ArrayItemAppender(this._currentAppender, props));
295163
+ return true;
295164
+ }
295165
+ finishArray() {
295166
+ this._appendersStack.pop().finish();
295167
+ }
295168
+ processMergedValue(props) {
295169
+ this._currentAppender.append(props.mergedField.label, {
295170
+ type: "primitive",
295171
+ value: "",
295172
+ });
295173
+ }
295174
+ processPrimitiveValue(props) {
295175
+ this._currentAppender.append(props.field.label, {
295176
+ type: "primitive",
295177
+ value: props.displayValue?.toString() ?? "",
295178
+ });
295179
+ }
295180
+ }
295181
+
295182
+
294940
295183
  /***/ }),
294941
295184
 
294942
295185
  /***/ "../../presentation/common/lib/esm/presentation-common/Error.js":
@@ -296318,9 +296561,6 @@ class RpcRequestsHandler {
296318
296561
  // eslint-disable-next-line deprecation/deprecation
296319
296562
  return this.request(this.rpcClient.getPagedDistinctValues.bind(this.rpcClient), options);
296320
296563
  }
296321
- async getElementProperties(options) {
296322
- return this.request(this.rpcClient.getElementProperties.bind(this.rpcClient), options);
296323
- }
296324
296564
  async getContentInstanceKeys(options) {
296325
296565
  return this.request(this.rpcClient.getContentInstanceKeys.bind(this.rpcClient), options);
296326
296566
  }
@@ -301636,12 +301876,21 @@ class PresentationManager {
301636
301876
  */
301637
301877
  async getElementProperties(requestOptions) {
301638
301878
  this.startIModelInitialization(requestOptions.imodel);
301639
- const results = await this._requestsHandler.getElementProperties(this.toRpcTokenOptions(requestOptions));
301640
- // istanbul ignore if
301641
- if (!results) {
301879
+ const { elementId, contentParser, ...optionsNoElementId } = requestOptions;
301880
+ const parser = contentParser ?? _itwin_presentation_common__WEBPACK_IMPORTED_MODULE_2__.buildElementProperties;
301881
+ const iter = await this.getContentIterator({
301882
+ ...optionsNoElementId,
301883
+ descriptor: {
301884
+ displayType: _itwin_presentation_common__WEBPACK_IMPORTED_MODULE_2__.DefaultContentDisplayTypes.PropertyPane,
301885
+ contentFlags: _itwin_presentation_common__WEBPACK_IMPORTED_MODULE_2__.ContentFlags.ShowLabels,
301886
+ },
301887
+ rulesetOrId: "ElementProperties",
301888
+ keys: new _itwin_presentation_common__WEBPACK_IMPORTED_MODULE_2__.KeySet([{ className: "BisCore:Element", id: elementId }]),
301889
+ });
301890
+ if (!iter || iter.total === 0) {
301642
301891
  return undefined;
301643
301892
  }
301644
- return this._localizationHelper.getLocalizedElementProperties(results);
301893
+ return parser(iter.descriptor, (await iter.items.next()).value);
301645
301894
  }
301646
301895
  /**
301647
301896
  * Retrieves content item instance keys.
@@ -318775,7 +319024,7 @@ function __disposeResources(env) {
318775
319024
  /***/ ((module) => {
318776
319025
 
318777
319026
  "use strict";
318778
- module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.9.0-dev.23","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 -s webpackTests && certa -r chrome","cover":"npm -s test","test:debug":"certa -r chrome --debug","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.9.0-dev.23","@itwin/core-bentley":"workspace:^4.9.0-dev.23","@itwin/core-common":"workspace:^4.9.0-dev.23","@itwin/core-geometry":"workspace:^4.9.0-dev.23","@itwin/core-orbitgt":"workspace:^4.9.0-dev.23","@itwin/core-quantity":"workspace:^4.9.0-dev.23"},"//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/certa":"workspace:*","@itwin/eslint-plugin":"^4.0.2","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/mocha":"^10.0.6","@types/sinon":"^17.0.2","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","chai":"^4.3.10","chai-as-promised":"^7.1.1","cpx2":"^3.0.0","eslint":"^8.56.0","glob":"^10.3.12","mocha":"^10.2.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^17.0.2","source-map-loader":"^4.0.0","typescript":"~5.3.3","typemoq":"^2.1.0","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"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"}}');
319027
+ module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.9.0-dev.24","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 -s webpackTests && certa -r chrome","cover":"npm -s test","test:debug":"certa -r chrome --debug","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.9.0-dev.24","@itwin/core-bentley":"workspace:^4.9.0-dev.24","@itwin/core-common":"workspace:^4.9.0-dev.24","@itwin/core-geometry":"workspace:^4.9.0-dev.24","@itwin/core-orbitgt":"workspace:^4.9.0-dev.24","@itwin/core-quantity":"workspace:^4.9.0-dev.24"},"//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/certa":"workspace:*","@itwin/eslint-plugin":"^4.0.2","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/mocha":"^10.0.6","@types/sinon":"^17.0.2","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","chai":"^4.3.10","chai-as-promised":"^7.1.1","cpx2":"^3.0.0","eslint":"^8.56.0","glob":"^10.3.12","mocha":"^10.2.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^17.0.2","source-map-loader":"^4.0.0","typescript":"~5.3.3","typemoq":"^2.1.0","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"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"}}');
318779
319028
 
318780
319029
  /***/ }),
318781
319030