@itwin/rpcinterface-full-stack-tests 3.5.0-dev.53 → 3.5.0-dev.57

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.
@@ -1 +1 @@
1
- {"version":3,"file":"_554f.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\3\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.2.10\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
1
+ {"version":3,"file":"_554f.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\8\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.2.10\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
@@ -183569,7 +183569,7 @@ class Tool {
183569
183569
  }
183570
183570
  static getLocalizedKey(name) {
183571
183571
  const key = `tools.${this.toolId}.${name}`;
183572
- const val = _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.localization.getLocalizedStringWithNamespace(this.namespace, key);
183572
+ const val = _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.localization.getLocalizedString(key, { ns: this.namespace });
183573
183573
  return key === val ? undefined : val; // if translation for key doesn't exist, `translate` returns the key as the result
183574
183574
  }
183575
183575
  /**
@@ -191489,8 +191489,8 @@ __webpack_require__.r(__webpack_exports__);
191489
191489
  /* harmony import */ var _geometry4d_Point4d__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../geometry4d/Point4d */ "../../core/geometry/lib/esm/geometry4d/Point4d.js");
191490
191490
  /* harmony import */ var _numerics_BezierPolynomials__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../numerics/BezierPolynomials */ "../../core/geometry/lib/esm/numerics/BezierPolynomials.js");
191491
191491
  /* harmony import */ var _Bezier1dNd__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Bezier1dNd */ "../../core/geometry/lib/esm/bspline/Bezier1dNd.js");
191492
- /* harmony import */ var _BezierCurve3d__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./BezierCurve3d */ "../../core/geometry/lib/esm/bspline/BezierCurve3d.js");
191493
- /* harmony import */ var _BezierCurve3dH__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./BezierCurve3dH */ "../../core/geometry/lib/esm/bspline/BezierCurve3dH.js");
191492
+ /* harmony import */ var _BezierCurve3d__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./BezierCurve3d */ "../../core/geometry/lib/esm/bspline/BezierCurve3d.js");
191493
+ /* harmony import */ var _BezierCurve3dH__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./BezierCurve3dH */ "../../core/geometry/lib/esm/bspline/BezierCurve3dH.js");
191494
191494
  /* harmony import */ var _BSpline1dNd__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BSpline1dNd */ "../../core/geometry/lib/esm/bspline/BSpline1dNd.js");
191495
191495
  /* harmony import */ var _BSplineCurveOps__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./BSplineCurveOps */ "../../core/geometry/lib/esm/bspline/BSplineCurveOps.js");
191496
191496
  /* harmony import */ var _KnotVector__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./KnotVector */ "../../core/geometry/lib/esm/bspline/KnotVector.js");
@@ -191814,7 +191814,7 @@ class BSplineCurve3d extends BSplineCurve3dBase {
191814
191814
  }
191815
191815
  initializeWorkBezier() {
191816
191816
  if (this._workBezier === undefined)
191817
- this._workBezier = _BezierCurve3dH__WEBPACK_IMPORTED_MODULE_12__.BezierCurve3dH.createOrder(this.order);
191817
+ this._workBezier = _BezierCurve3d__WEBPACK_IMPORTED_MODULE_12__.BezierCurve3d.createOrder(this.order);
191818
191818
  return this._workBezier;
191819
191819
  }
191820
191820
  /** test of `other` is an instance of BSplineCurve3d */
@@ -191855,7 +191855,7 @@ class BSplineCurve3d extends BSplineCurve3dBase {
191855
191855
  /** Create a bspline with uniform knots. */
191856
191856
  static createUniformKnots(poles, order) {
191857
191857
  const numPoles = poles instanceof Float64Array ? poles.length / 3 : poles.length;
191858
- if (order < 1 || numPoles < order)
191858
+ if (order < 2 || numPoles < order)
191859
191859
  return undefined;
191860
191860
  const knots = _KnotVector__WEBPACK_IMPORTED_MODULE_3__.KnotVector.createUniformClamped(numPoles, order - 1, 0.0, 1.0);
191861
191861
  const curve = new BSplineCurve3d(numPoles, order, knots);
@@ -191877,11 +191877,32 @@ class BSplineCurve3d extends BSplineCurve3dBase {
191877
191877
  return curve;
191878
191878
  }
191879
191879
  /** Create a smoothly closed B-spline curve with uniform knots.
191880
- * Note that the curve does not start at the first pole, and first and last poles should be distinct.
191880
+ * Note that the curve does not start at the first pole!
191881
191881
  */
191882
191882
  static createPeriodicUniformKnots(poles, order) {
191883
- const numPoles = poles instanceof Float64Array ? poles.length / 3 : poles.length;
191884
- if (order < 1 || numPoles < order)
191883
+ if (order < 2)
191884
+ return undefined;
191885
+ let numPoles = poles instanceof Float64Array ? poles.length / 3 : poles.length;
191886
+ const startPoint = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_14__.Point3d.createZero();
191887
+ const endPoint = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_14__.Point3d.createZero();
191888
+ let hasClosurePoint = false;
191889
+ do {
191890
+ if (poles instanceof Float64Array) {
191891
+ startPoint.set(poles[0], poles[1], poles[2]);
191892
+ endPoint.set(poles[3 * numPoles - 3], poles[3 * numPoles - 2], poles[3 * numPoles - 1]);
191893
+ }
191894
+ else if (poles instanceof _geometry3d_GrowableXYZArray__WEBPACK_IMPORTED_MODULE_15__.GrowableXYZArray) {
191895
+ startPoint.set(poles.float64Data()[0], poles.float64Data()[1], poles.float64Data()[2]);
191896
+ endPoint.set(poles.float64Data()[3 * numPoles - 3], poles.float64Data()[3 * numPoles - 2], poles.float64Data()[3 * numPoles - 1]);
191897
+ }
191898
+ else {
191899
+ startPoint.setFromPoint3d(poles[0]);
191900
+ endPoint.setFromPoint3d(poles[numPoles - 1]);
191901
+ }
191902
+ if (hasClosurePoint = startPoint.isAlmostEqual(endPoint))
191903
+ --numPoles; // remove wraparound pole if found
191904
+ } while (hasClosurePoint && numPoles > 1);
191905
+ if (numPoles < order)
191885
191906
  return undefined;
191886
191907
  const degree = order - 1;
191887
191908
  const numIntervals = numPoles;
@@ -191902,10 +191923,10 @@ class BSplineCurve3d extends BSplineCurve3dBase {
191902
191923
  }
191903
191924
  else {
191904
191925
  let i = 0;
191905
- for (const p of poles) {
191906
- curve._bcurve.packedData[i++] = p.x;
191907
- curve._bcurve.packedData[i++] = p.y;
191908
- curve._bcurve.packedData[i++] = p.z;
191926
+ for (let j = 0; j < numPoles; j++) {
191927
+ curve._bcurve.packedData[i++] = poles[j].x;
191928
+ curve._bcurve.packedData[i++] = poles[j].y;
191929
+ curve._bcurve.packedData[i++] = poles[j].z;
191909
191930
  }
191910
191931
  for (let j = 0; j < degree; j++) {
191911
191932
  curve._bcurve.packedData[i++] = poles[j].x;
@@ -191946,7 +191967,7 @@ class BSplineCurve3d extends BSplineCurve3dBase {
191946
191967
  const numKnots = knotArray.length;
191947
191968
  // shift knots-of-interest limits for overclamped case ...
191948
191969
  const skipFirstAndLast = (numPoles + order === numKnots);
191949
- if (order < 1 || numPoles < order)
191970
+ if (order < 2 || numPoles < order)
191950
191971
  return undefined;
191951
191972
  const knots = _KnotVector__WEBPACK_IMPORTED_MODULE_3__.KnotVector.create(knotArray, order - 1, skipFirstAndLast);
191952
191973
  const curve = new BSplineCurve3d(numPoles, order, knots);
@@ -192046,7 +192067,7 @@ class BSplineCurve3d extends BSplineCurve3dBase {
192046
192067
  const numSpan = this.numSpan;
192047
192068
  let numStroke = 0;
192048
192069
  for (let spanIndex = 0; spanIndex < numSpan; spanIndex++) {
192049
- const bezier = this.getSaturatedBezierSpan3dH(spanIndex, workBezier);
192070
+ const bezier = this.getSaturatedBezierSpan3d(spanIndex, workBezier);
192050
192071
  if (bezier)
192051
192072
  numStroke += bezier.computeStrokeCountForOptions(options);
192052
192073
  }
@@ -192063,7 +192084,7 @@ class BSplineCurve3d extends BSplineCurve3dBase {
192063
192084
  const numSpan = this.numSpan;
192064
192085
  const myData = _curve_Query_StrokeCountMap__WEBPACK_IMPORTED_MODULE_19__.StrokeCountMap.createWithCurvePrimitiveAndOptionalParent(this, parentStrokeMap, []);
192065
192086
  for (let spanIndex = 0; spanIndex < numSpan; spanIndex++) {
192066
- const bezier = this.getSaturatedBezierSpan3dH(spanIndex, workBezier);
192087
+ const bezier = this.getSaturatedBezierSpan3d(spanIndex, workBezier);
192067
192088
  if (bezier) {
192068
192089
  const segmentLength = workBezier.curveLength();
192069
192090
  const numStrokeOnSegment = workBezier.computeStrokeCountForOptions(options);
@@ -192077,7 +192098,7 @@ class BSplineCurve3d extends BSplineCurve3dBase {
192077
192098
  const workBezier = this.initializeWorkBezier();
192078
192099
  const numSpan = this.numSpan;
192079
192100
  for (let spanIndex = 0; spanIndex < numSpan; spanIndex++) {
192080
- const bezier = this.getSaturatedBezierSpan3dH(spanIndex, workBezier);
192101
+ const bezier = this.getSaturatedBezierSpan3d(spanIndex, workBezier);
192081
192102
  if (bezier)
192082
192103
  bezier.emitStrokes(dest, options);
192083
192104
  }
@@ -192116,8 +192137,8 @@ class BSplineCurve3d extends BSplineCurve3dBase {
192116
192137
  if (spanIndex < 0 || spanIndex >= this.numSpan)
192117
192138
  return undefined;
192118
192139
  const order = this.order;
192119
- if (result === undefined || !(result instanceof _BezierCurve3d__WEBPACK_IMPORTED_MODULE_20__.BezierCurve3d) || result.order !== order)
192120
- result = _BezierCurve3d__WEBPACK_IMPORTED_MODULE_20__.BezierCurve3d.createOrder(order);
192140
+ if (result === undefined || !(result instanceof _BezierCurve3d__WEBPACK_IMPORTED_MODULE_12__.BezierCurve3d) || result.order !== order)
192141
+ result = _BezierCurve3d__WEBPACK_IMPORTED_MODULE_12__.BezierCurve3d.createOrder(order);
192121
192142
  const bezier = result;
192122
192143
  bezier.loadSpanPoles(this._bcurve.packedData, spanIndex);
192123
192144
  if (bezier.saturateInPlace(this._bcurve.knots, spanIndex))
@@ -192133,8 +192154,8 @@ class BSplineCurve3d extends BSplineCurve3dBase {
192133
192154
  if (spanIndex < 0 || spanIndex >= this.numSpan)
192134
192155
  return undefined;
192135
192156
  const order = this.order;
192136
- if (result === undefined || !(result instanceof _BezierCurve3dH__WEBPACK_IMPORTED_MODULE_12__.BezierCurve3dH) || result.order !== order)
192137
- result = _BezierCurve3dH__WEBPACK_IMPORTED_MODULE_12__.BezierCurve3dH.createOrder(order);
192157
+ if (result === undefined || !(result instanceof _BezierCurve3dH__WEBPACK_IMPORTED_MODULE_20__.BezierCurve3dH) || result.order !== order)
192158
+ result = _BezierCurve3dH__WEBPACK_IMPORTED_MODULE_20__.BezierCurve3dH.createOrder(order);
192138
192159
  const bezier = result;
192139
192160
  bezier.loadSpan3dPolesWithWeight(this._bcurve.packedData, spanIndex, 1.0);
192140
192161
  if (bezier.saturateInPlace(this._bcurve.knots, spanIndex))
@@ -195745,7 +195766,10 @@ class InterpolationCurve3d extends _curve_ProxyCurve__WEBPACK_IMPORTED_MODULE_4_
195745
195766
  this._options = properties;
195746
195767
  }
195747
195768
  dispatchToGeometryHandler(handler) {
195748
- return handler.handleInterpolationCurve3d(this);
195769
+ let result = handler.handleInterpolationCurve3d(this);
195770
+ if (undefined === result) // if handler doesn't specialize on interpolation curves, default to proxy
195771
+ result = this._proxyCurve.dispatchToGeometryHandler(handler);
195772
+ return result;
195749
195773
  }
195750
195774
  /**
195751
195775
  * Create an [[InterpolationCurve3d]] based on points, knots, and other properties in the [[InterpolationCurve3dProps]] or [[InterpolationCurve3dOptions]].
@@ -202540,7 +202564,10 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_0__.CurvePrimitive
202540
202564
  getPlaneAltitudeSineCosinePolynomial(plane, result) {
202541
202565
  if (!result)
202542
202566
  result = new _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_5__.SineCosinePolynomial(0, 0, 0);
202543
- result.set(plane.altitude(this._center), plane.altitudeXYZ(this._matrix.coffs[0], this._matrix.coffs[3], this._matrix.coffs[6]), plane.altitudeXYZ(this._matrix.coffs[1], this._matrix.coffs[4], this._matrix.coffs[7]));
202567
+ // altitude function of angle t, given plane with origin o and unit normal n:
202568
+ // A(t) = (c + u cos(t) + v sin(t)) . n = (c-o).n + u.n cos(t) + v.n sin(t)
202569
+ // Note the different functions for computing dot product against a point vs. a vector!
202570
+ 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]));
202544
202571
  return result;
202545
202572
  }
202546
202573
  /**
@@ -212966,8 +212993,9 @@ class RegionOps {
212966
212993
  * @param distanceTolerance optional absolute distance tolerance
212967
212994
  */
212968
212995
  static computeXYAreaTolerance(range, distanceTolerance = _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.smallMetricDistance) {
212969
- // if A = bh and e is distance tolerance, then A' := (b+e)(h+e) = A + e(b+h+e), so A'-A = e(b+h+e).
212970
- return distanceTolerance * (range.xLength() + range.yLength() + distanceTolerance);
212996
+ // if A = bh and e is distance tolerance, then A' := (b+e/2)(h+e/2) = A + e/2(b+h+e/2), so A'-A = e/2(b+h+e/2).
212997
+ const halfDistTol = 0.5 * distanceTolerance;
212998
+ return halfDistTol * (range.xLength() + range.yLength() + halfDistTol);
212971
212999
  }
212972
213000
  /**
212973
213001
  * Return an xy area for a loop, parity region, or union region.
@@ -213571,10 +213599,10 @@ __webpack_require__.r(__webpack_exports__);
213571
213599
  /* harmony import */ var _LineSegment3d__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./LineSegment3d */ "../../core/geometry/lib/esm/curve/LineSegment3d.js");
213572
213600
  /* harmony import */ var _Arc3d__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./Arc3d */ "../../core/geometry/lib/esm/curve/Arc3d.js");
213573
213601
  /* harmony import */ var _geometry3d_Range__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../geometry3d/Range */ "../../core/geometry/lib/esm/geometry3d/Range.js");
213574
- /* harmony import */ var _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../geometry3d/Point3dVector3d */ "../../core/geometry/lib/esm/geometry3d/Point3dVector3d.js");
213575
- /* harmony import */ var _internalContexts_PlaneAltitudeRangeContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./internalContexts/PlaneAltitudeRangeContext */ "../../core/geometry/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.js");
213602
+ /* harmony import */ var _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../geometry3d/Point3dVector3d */ "../../core/geometry/lib/esm/geometry3d/Point3dVector3d.js");
213603
+ /* harmony import */ var _internalContexts_PlaneAltitudeRangeContext__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./internalContexts/PlaneAltitudeRangeContext */ "../../core/geometry/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.js");
213576
213604
  /* harmony import */ var _GeometryQuery__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./GeometryQuery */ "../../core/geometry/lib/esm/curve/GeometryQuery.js");
213577
- /* harmony import */ var _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../geometry3d/Ray3d */ "../../core/geometry/lib/esm/geometry3d/Ray3d.js");
213605
+ /* harmony import */ var _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../geometry3d/Ray3d */ "../../core/geometry/lib/esm/geometry3d/Ray3d.js");
213578
213606
  /*---------------------------------------------------------------------------------------------
213579
213607
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
213580
213608
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -214008,9 +214036,8 @@ class RegionBooleanContext {
214008
214036
  const rangeB = this.groupB.range();
214009
214037
  const rangeAB = rangeA.union(rangeB);
214010
214038
  const areaTol = _RegionOps__WEBPACK_IMPORTED_MODULE_1__.RegionOps.computeXYAreaTolerance(rangeAB);
214011
- const direction = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_12__.Vector3d.create(1.0, -0.12328974132467);
214012
214039
  let margin = 0.1;
214013
- this._workSegment = _internalContexts_PlaneAltitudeRangeContext__WEBPACK_IMPORTED_MODULE_13__.PlaneAltitudeRangeContext.findExtremePointsInDirection(rangeAB.corners(), direction, this._workSegment);
214040
+ this._workSegment = _internalContexts_PlaneAltitudeRangeContext__WEBPACK_IMPORTED_MODULE_12__.PlaneAltitudeRangeContext.findExtremePointsInDirection(rangeAB.corners(), RegionBooleanContext._bridgeDirection, this._workSegment);
214014
214041
  if (this._workSegment)
214015
214042
  margin *= this._workSegment.point0Ref.distanceXY(this._workSegment.point1Ref); // how much further to extend each bridge ray
214016
214043
  const maxPoints = [];
@@ -214018,7 +214045,7 @@ class RegionBooleanContext {
214018
214045
  const area = _RegionOps__WEBPACK_IMPORTED_MODULE_1__.RegionOps.computeXYArea(region);
214019
214046
  if (area === undefined || Math.abs(area) < areaTol)
214020
214047
  return; // avoid bridging trivial faces
214021
- this._workSegment = _internalContexts_PlaneAltitudeRangeContext__WEBPACK_IMPORTED_MODULE_13__.PlaneAltitudeRangeContext.findExtremePointsInDirection(region, direction, this._workSegment);
214048
+ this._workSegment = _internalContexts_PlaneAltitudeRangeContext__WEBPACK_IMPORTED_MODULE_12__.PlaneAltitudeRangeContext.findExtremePointsInDirection(region, RegionBooleanContext._bridgeDirection, this._workSegment);
214022
214049
  if (this._workSegment)
214023
214050
  maxPoints.push(this._workSegment.point1Ref);
214024
214051
  };
@@ -214033,8 +214060,7 @@ class RegionBooleanContext {
214033
214060
  }
214034
214061
  }
214035
214062
  }
214036
- const ray = _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_14__.Ray3d.createZero();
214037
- direction.normalizeInPlace();
214063
+ const ray = _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_13__.Ray3d.createZero();
214038
214064
  for (const p of maxPoints) {
214039
214065
  // Make a line from...
214040
214066
  // 1) exactly the max point of the loops to
@@ -214042,8 +214068,8 @@ class RegionBooleanContext {
214042
214068
  // If p came from some inner loop this will...
214043
214069
  // 1) create a bridge from the inner loop through any containing loops (always)
214044
214070
  // 2) avoid crossing any containing loop at a vertex. (with high probability, but not absolutely always)
214045
- const bridgeLength = margin + _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_14__.Ray3d.create(p, direction, ray).intersectionWithRange3d(rangeAB).high;
214046
- const outside = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_12__.Point3d.createAdd2Scaled(p, 1.0, direction, bridgeLength);
214071
+ const bridgeLength = margin + _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_13__.Ray3d.create(p, RegionBooleanContext._bridgeDirection, ray).intersectionWithRange3d(rangeAB).high;
214072
+ const outside = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_14__.Point3d.createAdd2Scaled(p, 1.0, RegionBooleanContext._bridgeDirection, bridgeLength);
214047
214073
  const bridgeLine = _LineSegment3d__WEBPACK_IMPORTED_MODULE_11__.LineSegment3d.createXYXY(p.x, p.y, outside.x, outside.y);
214048
214074
  this.extraGeometry.addMember(bridgeLine, true);
214049
214075
  }
@@ -214201,6 +214227,7 @@ class RegionBooleanContext {
214201
214227
  return true;
214202
214228
  }
214203
214229
  }
214230
+ RegionBooleanContext._bridgeDirection = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_14__.Vector3d.createNormalized(1.0, -0.12328974132467); // magic unit direction to minimize vertex hits
214204
214231
  /** return xy area between a (part of a) curve and the x axis through a reference point.
214205
214232
  * If detail is undefined or does not have both start and end fractions, just do trapezoid area
214206
214233
  */
@@ -215824,16 +215851,18 @@ __webpack_require__.r(__webpack_exports__);
215824
215851
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
215825
215852
  /* harmony export */ "PlaneAltitudeRangeContext": () => (/* binding */ PlaneAltitudeRangeContext)
215826
215853
  /* harmony export */ });
215827
- /* harmony import */ var _Geometry__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../Geometry */ "../../core/geometry/lib/esm/Geometry.js");
215854
+ /* harmony import */ var _Geometry__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../Geometry */ "../../core/geometry/lib/esm/Geometry.js");
215855
+ /* harmony import */ var _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../geometry3d/Angle */ "../../core/geometry/lib/esm/geometry3d/Angle.js");
215828
215856
  /* harmony import */ var _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../geometry3d/GeometryHandler */ "../../core/geometry/lib/esm/geometry3d/GeometryHandler.js");
215829
- /* harmony import */ var _geometry3d_GrowableXYZArray__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../geometry3d/GrowableXYZArray */ "../../core/geometry/lib/esm/geometry3d/GrowableXYZArray.js");
215830
- /* harmony import */ var _geometry3d_Plane3dByOriginAndUnitNormal__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../geometry3d/Plane3dByOriginAndUnitNormal */ "../../core/geometry/lib/esm/geometry3d/Plane3dByOriginAndUnitNormal.js");
215831
- /* harmony import */ var _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../geometry3d/Point3dVector3d */ "../../core/geometry/lib/esm/geometry3d/Point3dVector3d.js");
215857
+ /* harmony import */ var _geometry3d_GrowableXYZArray__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../geometry3d/GrowableXYZArray */ "../../core/geometry/lib/esm/geometry3d/GrowableXYZArray.js");
215858
+ /* harmony import */ var _geometry3d_Plane3dByOriginAndUnitNormal__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../geometry3d/Plane3dByOriginAndUnitNormal */ "../../core/geometry/lib/esm/geometry3d/Plane3dByOriginAndUnitNormal.js");
215859
+ /* harmony import */ var _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../geometry3d/Point3dVector3d */ "../../core/geometry/lib/esm/geometry3d/Point3dVector3d.js");
215832
215860
  /* harmony import */ var _geometry3d_Range__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../geometry3d/Range */ "../../core/geometry/lib/esm/geometry3d/Range.js");
215833
- /* harmony import */ var _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../geometry3d/Ray3d */ "../../core/geometry/lib/esm/geometry3d/Ray3d.js");
215834
- /* harmony import */ var _GeometryQuery__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../GeometryQuery */ "../../core/geometry/lib/esm/curve/GeometryQuery.js");
215835
- /* harmony import */ var _LineSegment3d__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../LineSegment3d */ "../../core/geometry/lib/esm/curve/LineSegment3d.js");
215836
- /* harmony import */ var _LineString3d__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../LineString3d */ "../../core/geometry/lib/esm/curve/LineString3d.js");
215861
+ /* harmony import */ var _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../geometry3d/Ray3d */ "../../core/geometry/lib/esm/geometry3d/Ray3d.js");
215862
+ /* harmony import */ var _GeometryQuery__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../GeometryQuery */ "../../core/geometry/lib/esm/curve/GeometryQuery.js");
215863
+ /* harmony import */ var _LineSegment3d__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../LineSegment3d */ "../../core/geometry/lib/esm/curve/LineSegment3d.js");
215864
+ /* harmony import */ var _LineString3d__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../LineString3d */ "../../core/geometry/lib/esm/curve/LineString3d.js");
215865
+ /* harmony import */ var _StrokeOptions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../StrokeOptions */ "../../core/geometry/lib/esm/curve/StrokeOptions.js");
215837
215866
  /*---------------------------------------------------------------------------------------------
215838
215867
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
215839
215868
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -215848,6 +215877,8 @@ __webpack_require__.r(__webpack_exports__);
215848
215877
 
215849
215878
 
215850
215879
 
215880
+
215881
+
215851
215882
  /**
215852
215883
  * Accumulator context for searching for extrema of geometry along a plane.
215853
215884
  * @internal
@@ -215889,16 +215920,25 @@ class PlaneAltitudeRangeContext extends _geometry3d_GeometryHandler__WEBPACK_IMP
215889
215920
  handleLineString3d(lineString) {
215890
215921
  this.announcePoints(lineString.packedPoints);
215891
215922
  }
215923
+ initStrokeOptions() {
215924
+ // TODO: compute the exact extrema; until then stroke aggressively
215925
+ if (undefined === this._strokeOptions) {
215926
+ this._strokeOptions = new _StrokeOptions__WEBPACK_IMPORTED_MODULE_2__.StrokeOptions();
215927
+ this._strokeOptions.angleTol = _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_3__.Angle.createDegrees(1);
215928
+ }
215929
+ }
215892
215930
  handleBSplineCurve3d(bcurve) {
215893
215931
  // ugh. The point MUST be on the curve -- usual excess-range of poles is not ok.
215894
- const ls = _LineString3d__WEBPACK_IMPORTED_MODULE_2__.LineString3d.create();
215895
- bcurve.emitStrokes(ls);
215932
+ this.initStrokeOptions();
215933
+ const ls = _LineString3d__WEBPACK_IMPORTED_MODULE_4__.LineString3d.create();
215934
+ bcurve.emitStrokes(ls, this._strokeOptions);
215896
215935
  this.handleLineString3d(ls);
215897
215936
  }
215898
215937
  handleBSplineCurve3dH(bcurve) {
215899
215938
  // ugh. The point MUST be on the curve -- usual excess-range of poles is not ok.
215900
- const ls = _LineString3d__WEBPACK_IMPORTED_MODULE_2__.LineString3d.create();
215901
- bcurve.emitStrokes(ls);
215939
+ this.initStrokeOptions();
215940
+ const ls = _LineString3d__WEBPACK_IMPORTED_MODULE_4__.LineString3d.create();
215941
+ bcurve.emitStrokes(ls, this._strokeOptions);
215902
215942
  this.handleLineString3d(ls);
215903
215943
  }
215904
215944
  handleArc3d(g) {
@@ -215913,15 +215953,15 @@ class PlaneAltitudeRangeContext extends _geometry3d_GeometryHandler__WEBPACK_IMP
215913
215953
  this.announcePoint((this._workPoint = g.endPoint(this._workPoint)));
215914
215954
  }
215915
215955
  static findExtremesInDirection(geometry, direction) {
215916
- const origin = direction instanceof _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_3__.Ray3d ? direction.origin : _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_4__.Point3d.createZero();
215917
- const vector = direction instanceof _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_3__.Ray3d ? direction.direction : direction;
215918
- const plane = _geometry3d_Plane3dByOriginAndUnitNormal__WEBPACK_IMPORTED_MODULE_5__.Plane3dByOriginAndUnitNormal.create(origin, vector); // vector is normalized, so altitudes are distances
215956
+ const origin = direction instanceof _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_5__.Ray3d ? direction.origin : _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_6__.Point3d.createZero();
215957
+ const vector = direction instanceof _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_5__.Ray3d ? direction.direction : direction;
215958
+ const plane = _geometry3d_Plane3dByOriginAndUnitNormal__WEBPACK_IMPORTED_MODULE_7__.Plane3dByOriginAndUnitNormal.create(origin, vector); // vector is normalized, so altitudes are distances
215919
215959
  if (plane) {
215920
215960
  const context = new PlaneAltitudeRangeContext(plane);
215921
- if (geometry instanceof _GeometryQuery__WEBPACK_IMPORTED_MODULE_6__.GeometryQuery) {
215961
+ if (geometry instanceof _GeometryQuery__WEBPACK_IMPORTED_MODULE_8__.GeometryQuery) {
215922
215962
  geometry.dispatchToGeometryHandler(context);
215923
215963
  }
215924
- else if (geometry instanceof _geometry3d_GrowableXYZArray__WEBPACK_IMPORTED_MODULE_7__.GrowableXYZArray) {
215964
+ else if (geometry instanceof _geometry3d_GrowableXYZArray__WEBPACK_IMPORTED_MODULE_9__.GrowableXYZArray) {
215925
215965
  context.announcePoints(geometry);
215926
215966
  }
215927
215967
  else {
@@ -215941,7 +215981,7 @@ class PlaneAltitudeRangeContext extends _geometry3d_GeometryHandler__WEBPACK_IMP
215941
215981
  static findExtremePointsInDirection(geometry, direction, lowHigh) {
215942
215982
  const context = this.findExtremesInDirection(geometry, direction);
215943
215983
  if (context && context.highPoint && context.lowPoint)
215944
- return _LineSegment3d__WEBPACK_IMPORTED_MODULE_8__.LineSegment3d.create(context.lowPoint, context.highPoint, lowHigh);
215984
+ return _LineSegment3d__WEBPACK_IMPORTED_MODULE_10__.LineSegment3d.create(context.lowPoint, context.highPoint, lowHigh);
215945
215985
  return undefined;
215946
215986
  }
215947
215987
  /** Compute altitudes for the geometry (via dispatch) over the plane defined by the given direction,
@@ -215964,8 +216004,8 @@ class PlaneAltitudeRangeContext extends _geometry3d_GeometryHandler__WEBPACK_IMP
215964
216004
  static findExtremeFractionsAlongDirection(geometry, direction, lowHigh) {
215965
216005
  const range = this.findExtremeAltitudesInDirection(geometry, direction, lowHigh);
215966
216006
  if (undefined !== range) {
215967
- const mag = (direction instanceof _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_4__.Vector3d) ? direction.magnitude() : direction.direction.magnitude();
215968
- const scaleToFraction = _Geometry__WEBPACK_IMPORTED_MODULE_9__.Geometry.conditionalDivideCoordinate(1.0, mag);
216007
+ const mag = (direction instanceof _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_6__.Vector3d) ? direction.magnitude() : direction.direction.magnitude();
216008
+ const scaleToFraction = _Geometry__WEBPACK_IMPORTED_MODULE_11__.Geometry.conditionalDivideCoordinate(1.0, mag);
215969
216009
  if (undefined !== scaleToFraction) {
215970
216010
  range.low *= scaleToFraction;
215971
216011
  range.high *= scaleToFraction;
@@ -229969,6 +230009,19 @@ class Vector3d extends XYZ {
229969
230009
  this.z *= a;
229970
230010
  return true;
229971
230011
  }
230012
+ /** Create a normalized vector from the inputs.
230013
+ * @param result optional result
230014
+ * @returns undefined if and only if normalization fails
230015
+ */
230016
+ static createNormalized(x = 0, y = 0, z = 0, result) {
230017
+ if (undefined === result)
230018
+ result = Vector3d.create(x, y, z);
230019
+ else
230020
+ result.set(x, y, z);
230021
+ if (result.normalizeInPlace())
230022
+ return result;
230023
+ return undefined;
230024
+ }
229972
230025
  /**
229973
230026
  * Return fractional projection of target vector onto this
229974
230027
  * * It's returning the signed projection magnitude divided by the target magnitude. In other words,
@@ -292110,7 +292163,7 @@ class TestContext {
292110
292163
  this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
292111
292164
  const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${(_a = process.env.IMJS_URL_PREFIX) !== null && _a !== void 0 ? _a : ""}api.bentley.com/imodels` } });
292112
292165
  await core_frontend_1.NoRenderApp.startup({
292113
- applicationVersion: "3.5.0-dev.53",
292166
+ applicationVersion: "3.5.0-dev.57",
292114
292167
  applicationId: this.settings.gprid,
292115
292168
  authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
292116
292169
  hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
@@ -292247,7 +292300,6 @@ __webpack_require__.r(__webpack_exports__);
292247
292300
  /* harmony export */ "NodeKey": () => (/* reexport safe */ _presentation_common_hierarchy_Key__WEBPACK_IMPORTED_MODULE_31__.NodeKey),
292248
292301
  /* harmony export */ "NodePathElement": () => (/* reexport safe */ _presentation_common_hierarchy_NodePathElement__WEBPACK_IMPORTED_MODULE_33__.NodePathElement),
292249
292302
  /* harmony export */ "NodePathFilteringData": () => (/* reexport safe */ _presentation_common_hierarchy_NodePathElement__WEBPACK_IMPORTED_MODULE_33__.NodePathFilteringData),
292250
- /* harmony export */ "PRESENTATION_COMMON_ROOT": () => (/* reexport safe */ _presentation_common_Utils__WEBPACK_IMPORTED_MODULE_11__.PRESENTATION_COMMON_ROOT),
292251
292303
  /* harmony export */ "PRESENTATION_IPC_CHANNEL_NAME": () => (/* reexport safe */ _presentation_common_PresentationIpcInterface__WEBPACK_IMPORTED_MODULE_12__.PRESENTATION_IPC_CHANNEL_NAME),
292252
292304
  /* harmony export */ "PartialHierarchyModification": () => (/* reexport safe */ _presentation_common_Update__WEBPACK_IMPORTED_MODULE_10__.PartialHierarchyModification),
292253
292305
  /* harmony export */ "PresentationError": () => (/* reexport safe */ _presentation_common_Error__WEBPACK_IMPORTED_MODULE_3__.PresentationError),
@@ -294624,11 +294676,9 @@ var HierarchyCompareInfo;
294624
294676
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
294625
294677
 
294626
294678
  "use strict";
294627
- var __dirname = "/";
294628
294679
  __webpack_require__.r(__webpack_exports__);
294629
294680
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
294630
294681
  /* harmony export */ "DEFAULT_KEYS_BATCH_SIZE": () => (/* binding */ DEFAULT_KEYS_BATCH_SIZE),
294631
- /* harmony export */ "PRESENTATION_COMMON_ROOT": () => (/* binding */ PRESENTATION_COMMON_ROOT),
294632
294682
  /* harmony export */ "getInstancesCount": () => (/* binding */ getInstancesCount)
294633
294683
  /* harmony export */ });
294634
294684
  /* harmony import */ var _hierarchy_Key__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./hierarchy/Key */ "../../presentation/common/lib/esm/presentation-common/hierarchy/Key.js");
@@ -294671,8 +294721,6 @@ const getInstancesCount = (keys) => {
294671
294721
  * @public
294672
294722
  */
294673
294723
  const DEFAULT_KEYS_BATCH_SIZE = 5000;
294674
- /** @internal */
294675
- const PRESENTATION_COMMON_ROOT = __dirname;
294676
294724
 
294677
294725
 
294678
294726
  /***/ }),
@@ -311179,7 +311227,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
311179
311227
  /***/ ((module) => {
311180
311228
 
311181
311229
  "use strict";
311182
- module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.5.0-dev.53","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","build:ci":"npm run -s build && npm run -s build:esm","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","docs":"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/primitives,**/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-eslintrc -c \\"../../tools/eslint-plugin/dist/configs/extension-exports-config.js\\" \\"./src/**/*.ts\\" 1>&2","lint":"eslint -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"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core/tree/master/core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:^3.5.0-dev.53","@itwin/core-bentley":"workspace:^3.5.0-dev.53","@itwin/core-common":"workspace:^3.5.0-dev.53","@itwin/core-geometry":"workspace:^3.5.0-dev.53","@itwin/core-orbitgt":"workspace:^3.5.0-dev.53","@itwin/core-quantity":"workspace:^3.5.0-dev.53","@itwin/webgl-compatibility":"workspace:^3.5.0-dev.53"},"//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":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/deep-assign":"^0.1.0","@types/lodash":"^4.14.0","@types/mocha":"^8.2.2","@types/node":"18.11.5","@types/qs":"^6.5.0","@types/semver":"7.3.10","@types/superagent":"^4.1.14","@types/sinon":"^9.0.0","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","chai":"^4.1.2","chai-as-promised":"^7","cpx2":"^3.0.0","eslint":"^7.11.0","glob":"^7.1.2","mocha":"^10.0.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^9.0.2","source-map-loader":"^4.0.0","typescript":"~4.4.0","webpack":"^5.64.4"},"//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/object-storage-azure":"~1.4.0","@itwin/cloud-agnostic-core":"~1.4.0","@itwin/object-storage-core":"~1.4.0","@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","deep-assign":"^2.0.0","fuse.js":"^3.3.0","lodash":"^4.17.10","qs":"^6.5.1","semver":"^7.3.5","superagent":"7.1.3","wms-capabilities":"0.4.0","xml-js":"~1.6.11","reflect-metadata":"0.1.13"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"},"eslintConfig":{"plugins":["@itwin"],"extends":"plugin:@itwin/itwinjs-recommended","rules":{"@itwin/no-internal-barrel-imports":["error",{"required-barrel-modules":["./src/tile/internal.ts"]}],"@itwin/public-extension-exports":["error",{"releaseTags":["public","preview"],"outputApiFile":false}]},"overrides":[{"files":["*.test.ts","*.test.tsx","**/test/**/*.ts"],"rules":{"@itwin/no-internal-barrel-imports":"off"}}]}}');
311230
+ module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.5.0-dev.57","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","build:ci":"npm run -s build && npm run -s build:esm","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","docs":"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/primitives,**/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-eslintrc -c \\"../../tools/eslint-plugin/dist/configs/extension-exports-config.js\\" \\"./src/**/*.ts\\" 1>&2","lint":"eslint -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"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core/tree/master/core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:^3.5.0-dev.57","@itwin/core-bentley":"workspace:^3.5.0-dev.57","@itwin/core-common":"workspace:^3.5.0-dev.57","@itwin/core-geometry":"workspace:^3.5.0-dev.57","@itwin/core-orbitgt":"workspace:^3.5.0-dev.57","@itwin/core-quantity":"workspace:^3.5.0-dev.57","@itwin/webgl-compatibility":"workspace:^3.5.0-dev.57"},"//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":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/deep-assign":"^0.1.0","@types/lodash":"^4.14.0","@types/mocha":"^8.2.2","@types/node":"18.11.5","@types/qs":"^6.5.0","@types/semver":"7.3.10","@types/superagent":"^4.1.14","@types/sinon":"^9.0.0","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","chai":"^4.1.2","chai-as-promised":"^7","cpx2":"^3.0.0","eslint":"^7.11.0","glob":"^7.1.2","mocha":"^10.0.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^9.0.2","source-map-loader":"^4.0.0","typescript":"~4.4.0","webpack":"^5.64.4"},"//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/object-storage-azure":"~1.4.0","@itwin/cloud-agnostic-core":"~1.4.0","@itwin/object-storage-core":"~1.4.0","@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","deep-assign":"^2.0.0","fuse.js":"^3.3.0","lodash":"^4.17.10","qs":"^6.5.1","semver":"^7.3.5","superagent":"7.1.3","wms-capabilities":"0.4.0","xml-js":"~1.6.11","reflect-metadata":"0.1.13"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"},"eslintConfig":{"plugins":["@itwin"],"extends":"plugin:@itwin/itwinjs-recommended","rules":{"@itwin/no-internal-barrel-imports":["error",{"required-barrel-modules":["./src/tile/internal.ts"]}],"@itwin/public-extension-exports":["error",{"releaseTags":["public","preview"],"outputApiFile":false}]},"overrides":[{"files":["*.test.ts","*.test.tsx","**/test/**/*.ts"],"rules":{"@itwin/no-internal-barrel-imports":"off"}}]}}');
311183
311231
 
311184
311232
  /***/ }),
311185
311233