@itwin/ecschema-rpcinterface-tests 4.7.0-dev.12 → 4.7.0-dev.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/dist/_bea9.bundled-tests.js.map +1 -1
- package/lib/dist/bundled-tests.js +70 -86
- package/lib/dist/bundled-tests.js.map +1 -1
- package/lib/dist/core_frontend_lib_esm_ApproximateTerrainHeightsProps_js.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_1_6_node_modules_loaders_gl_draco_di-0642a6.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_meshoptimizer_0_20_0_node_modules_meshoptimizer_index_m-a5ae61.bundled-tests.js.map +1 -1
- package/package.json +15 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_bea9.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\
|
|
1
|
+
{"version":3,"file":"_bea9.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\486\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.1.6\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
|
|
@@ -87511,7 +87511,7 @@ class SubCategoriesCache {
|
|
|
87511
87511
|
(function (SubCategoriesCache) {
|
|
87512
87512
|
class Request {
|
|
87513
87513
|
get wasCanceled() { return this._canceled || this._imodel.isClosed; }
|
|
87514
|
-
constructor(categoryIds, imodel, maxCategoriesPerQuery =
|
|
87514
|
+
constructor(categoryIds, imodel, maxCategoriesPerQuery = 2500) {
|
|
87515
87515
|
this._categoryIds = [];
|
|
87516
87516
|
this._result = [];
|
|
87517
87517
|
this._canceled = false;
|
|
@@ -203536,11 +203536,12 @@ class Angle {
|
|
|
203536
203536
|
&& dotUV * dotUV <= _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.smallAngleRadiansSquared * dotUU * dotVV;
|
|
203537
203537
|
}
|
|
203538
203538
|
/**
|
|
203539
|
-
*
|
|
203540
|
-
* * This function assumes the input arguments are related to an angle between -PI and PI
|
|
203541
|
-
* * This function returns an angle between -PI and PI
|
|
203542
|
-
* @param rCos2A cosine value
|
|
203543
|
-
* @param rSin2A sine value
|
|
203539
|
+
* Compute the angle A given r*cos(2A) and r*sin(2A) for some nonnegative scalar r.
|
|
203540
|
+
* * This function assumes the input arguments are related to an angle between -PI and PI.
|
|
203541
|
+
* * This function returns an angle between -PI and PI.
|
|
203542
|
+
* @param rCos2A scaled cosine value of twice the angle A.
|
|
203543
|
+
* @param rSin2A scaled sine value of twice the angle A.
|
|
203544
|
+
* @return cos(A), sin(A) and A in radians
|
|
203544
203545
|
*/
|
|
203545
203546
|
static trigValuesToHalfAngleTrigValues(rCos2A, rSin2A) {
|
|
203546
203547
|
const r = _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.hypotenuseXY(rCos2A, rSin2A);
|
|
@@ -203550,41 +203551,25 @@ class Angle {
|
|
|
203550
203551
|
else {
|
|
203551
203552
|
/* If the caller really gave you sine and cosine values, r should be 1. However,
|
|
203552
203553
|
* to allow scaled values -- e.g. the x and y components of any vector -- we normalize
|
|
203553
|
-
* right here. This adds an extra sqrt and
|
|
203554
|
+
* right here. This adds an extra sqrt and two divisions, but improves
|
|
203554
203555
|
* both the usefulness and robustness of the computation.
|
|
203555
203556
|
*/
|
|
203556
203557
|
let cosA;
|
|
203557
203558
|
let sinA = 0.0;
|
|
203558
203559
|
const cos2A = rCos2A / r;
|
|
203559
203560
|
const sin2A = rSin2A / r;
|
|
203560
|
-
//
|
|
203561
|
-
|
|
203562
|
-
|
|
203563
|
-
* We know cos2A = (cosA)^2 - (sinA)^2 and 1 = (cosA)^2 + (sinA)^2
|
|
203564
|
-
* so 1 + cos2A = 2(cosA)^2 and therefore, cosA = sqrt((1+cos2A)/2)
|
|
203565
|
-
* cosine is positive in NE and SE quadrants so we use +sqrt
|
|
203566
|
-
*/
|
|
203567
|
-
cosA = Math.sqrt(0.5 * (1.0 + cos2A));
|
|
203568
|
-
// We know sin2A = 2 sinA cosA so sinA = sin2A/(2*cosA)
|
|
203569
|
-
sinA = sin2A / (2.0 * cosA);
|
|
203561
|
+
if (cos2A >= 0.0) { // 2A is in NE and SE quadrants, A in same quadrant
|
|
203562
|
+
cosA = Math.sqrt(0.5 * (1.0 + cos2A)); // half angle formula. Use +root since cosA >= 0
|
|
203563
|
+
sinA = sin2A / (2.0 * cosA); // double angle formula
|
|
203570
203564
|
}
|
|
203571
203565
|
else {
|
|
203572
|
-
//
|
|
203573
|
-
|
|
203574
|
-
/*
|
|
203575
|
-
* We know cos2A = (cosA)^2 - (sinA)^2 and 1 = (cosA)^2 + (sinA)^2
|
|
203576
|
-
* so 1 - cos2A = 2(sinA)^2 and therefore, sinA = sqrt((1-cos2A)/2)
|
|
203577
|
-
* sine is positive in NE quadrant so we use +sqrt
|
|
203578
|
-
*/
|
|
203579
|
-
sinA = Math.sqrt(0.5 * (1.0 - cos2A));
|
|
203580
|
-
// Original angle in SW quadrant. Half angle in SE quadrant
|
|
203566
|
+
if (sin2A > 0.0) { // 2A in NW quadrant. A in NE quadrant
|
|
203567
|
+
sinA = Math.sqrt(0.5 * (1.0 - cos2A)); // half angle formula. Use +root since sinA > 0
|
|
203581
203568
|
}
|
|
203582
|
-
else {
|
|
203583
|
-
|
|
203584
|
-
sinA = -Math.sqrt(0.5 * (1.0 - cos2A));
|
|
203569
|
+
else { // 2A in SW quadrant. A in SE quadrant
|
|
203570
|
+
sinA = -Math.sqrt(0.5 * (1.0 - cos2A)); // half angle formula. Use -root since sinA <= 0
|
|
203585
203571
|
}
|
|
203586
|
-
|
|
203587
|
-
cosA = sin2A / (2.0 * sinA); // always positive
|
|
203572
|
+
cosA = sin2A / (2.0 * sinA); // double angle formula
|
|
203588
203573
|
}
|
|
203589
203574
|
return { c: cosA, s: sinA, radians: Math.atan2(sinA, cosA) };
|
|
203590
203575
|
}
|
|
@@ -203603,18 +203588,19 @@ class Angle {
|
|
|
203603
203588
|
return value;
|
|
203604
203589
|
}
|
|
203605
203590
|
/**
|
|
203606
|
-
* Return the half angle cosine, sine, and radians for given dot products
|
|
203607
|
-
*
|
|
203608
|
-
*
|
|
203609
|
-
*
|
|
203610
|
-
* * Given ellipse x(t) = c + U cos(t) + V sin(t), find t0 such that radial vector W(t0) = x(t0) - c is
|
|
203611
|
-
* perpendicular to the ellipse.
|
|
203591
|
+
* Return the half angle cosine, sine, and radians for the given vector dot products.
|
|
203592
|
+
* * These values arise e.g. in the computation performed in `Arc3d.toScaledMatrix3d`.
|
|
203593
|
+
* * Let vectors U and V define the ellipse x(t) = c + U cos(t) + V sin(t). We seek an angle t0
|
|
203594
|
+
* such that the radial vector W(t0) := x(t0) - c is perpendicular to the ellipse.
|
|
203612
203595
|
* * Then 0 = W(t0).x'(t0) = (U cos(t0) + V sin(t0)).(V cos(t0) - U sin(t0)) = U.V cos(2t0) + 0.5 (V.V - U.U) sin(2t0)
|
|
203613
|
-
* implies sin(2t0) / cos(2t0) = 2 U.V / (U.U - V.V), i.e., t0 can be computed given the
|
|
203614
|
-
*
|
|
203596
|
+
* implies tan(2t0) = sin(2t0) / cos(2t0) = 2 U.V / (U.U - V.V), i.e., t0 can be computed given the input dot products.
|
|
203597
|
+
* Math details can be found at docs/learning/geometry/Angle.md
|
|
203615
203598
|
* @param dotUU dot product of vectorU with itself
|
|
203616
203599
|
* @param dotVV dot product of vectorV with itself
|
|
203617
203600
|
* @param dotUV dot product of vectorU with vectorV
|
|
203601
|
+
* @param favorZero whether to allow a tight tolerance for returning t0 = 0 (default true).
|
|
203602
|
+
* When dotUV is near zero, U and V are nearly perpendicular, and the returned angle is near zero.
|
|
203603
|
+
* @return the angle t0 and its cosine and sine.
|
|
203618
203604
|
*/
|
|
203619
203605
|
static dotProductsToHalfAngleTrigValues(dotUU, dotVV, dotUV, favorZero = true) {
|
|
203620
203606
|
const cos2t0 = dotUU - dotVV;
|
|
@@ -257038,8 +257024,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
257038
257024
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
257039
257025
|
/* harmony export */ "TorusPipe": () => (/* binding */ TorusPipe)
|
|
257040
257026
|
/* harmony export */ });
|
|
257041
|
-
/* harmony import */ var
|
|
257042
|
-
/* harmony import */ var
|
|
257027
|
+
/* harmony import */ var _curve_Arc3d__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../curve/Arc3d */ "../../core/geometry/lib/esm/curve/Arc3d.js");
|
|
257028
|
+
/* harmony import */ var _curve_Loop__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../curve/Loop */ "../../core/geometry/lib/esm/curve/Loop.js");
|
|
257043
257029
|
/* harmony import */ var _curve_Path__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../curve/Path */ "../../core/geometry/lib/esm/curve/Path.js");
|
|
257044
257030
|
/* harmony import */ var _Geometry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Geometry */ "../../core/geometry/lib/esm/Geometry.js");
|
|
257045
257031
|
/* harmony import */ var _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../geometry3d/Angle */ "../../core/geometry/lib/esm/geometry3d/Angle.js");
|
|
@@ -257066,23 +257052,27 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
257066
257052
|
|
|
257067
257053
|
|
|
257068
257054
|
/**
|
|
257069
|
-
* A torus pipe is a partial torus (donut).
|
|
257070
|
-
* *
|
|
257071
|
-
* * The "major hoop" arc
|
|
257072
|
-
* * vectorTheta0 = (radiusA, 0, 0)
|
|
257073
|
-
* * vectorTheta90 = (0, radiusA, 0)
|
|
257074
|
-
* *
|
|
257075
|
-
* * The minor hoop
|
|
257076
|
-
*
|
|
257055
|
+
* A torus pipe is a partial torus (donut).
|
|
257056
|
+
* * In its local coordinate system, the z-axis passes through the donut hole.
|
|
257057
|
+
* * The "major hoop" circular arc is defined for theta in the angular sweep. Its formula in local coordinates:
|
|
257058
|
+
* * `vectorTheta0 = (radiusA, 0, 0)`
|
|
257059
|
+
* * `vectorTheta90 = (0, radiusA, 0)`
|
|
257060
|
+
* * `M(theta) = vectorTheta0 * cos(theta) + vectorTheta90 * sin(theta)`
|
|
257061
|
+
* * The "minor hoop" circular arc is defined for phi in [0,2pi]. Its formula, centered at the origin:
|
|
257062
|
+
* * `vectorPhi0 = (radiusB * cos(theta), radiusB * sin(theta), 0)`
|
|
257063
|
+
* * `vectorPhi90 = (0, 0, radiusB)`
|
|
257064
|
+
* * `m(phi) = vectorPhi0 * cos(phi) + vectorPhi90 * sin(phi)`
|
|
257065
|
+
* * Thus the torus pipe in local coordinates has the formula:
|
|
257066
|
+
* * `T(theta, phi) = M(theta) + m(phi)`
|
|
257077
257067
|
* * The stored form of the torus pipe is oriented for positive volume:
|
|
257078
257068
|
* * Both radii are positive, with radiusA >= radiusB > 0
|
|
257079
257069
|
* * The sweep is positive
|
|
257080
257070
|
* * The coordinate system has positive determinant.
|
|
257081
257071
|
* * For uv parameterization,
|
|
257082
|
-
* * u is around the minor hoop, with
|
|
257083
|
-
* * v is along the major hoop with
|
|
257072
|
+
* * u is around the minor hoop, with u in [0,1] mapping to phi in [0, 2pi]
|
|
257073
|
+
* * v is along the major hoop, with v in [0,1] mapping to theta in the angular sweep
|
|
257084
257074
|
* * a constant v section is a full circle
|
|
257085
|
-
* * a constant u section is an arc with sweep
|
|
257075
|
+
* * a constant u section is an arc with the same angular sweep as the torusPipe
|
|
257086
257076
|
* @public
|
|
257087
257077
|
*/
|
|
257088
257078
|
class TorusPipe extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimitive {
|
|
@@ -257161,14 +257151,22 @@ class TorusPipe extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimit
|
|
|
257161
257151
|
const frame = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_2__.Transform.createOriginAndMatrixColumns(center, vectorX, vectorY, vectorZ);
|
|
257162
257152
|
return TorusPipe.createInFrame(frame, majorRadius, minorRadius, sweep, capped);
|
|
257163
257153
|
}
|
|
257164
|
-
/**
|
|
257154
|
+
/**
|
|
257155
|
+
* Create a TorusPipe from major arc and minor radius.
|
|
257156
|
+
* For best results, `arc` should be circular; otherwise, circularity is coerced.
|
|
257157
|
+
*/
|
|
257165
257158
|
static createAlongArc(arc, minorRadius, capped) {
|
|
257166
257159
|
if (!_geometry3d_Angle__WEBPACK_IMPORTED_MODULE_3__.Angle.isAlmostEqualRadiansAllowPeriodShift(0.0, arc.sweep.startRadians))
|
|
257167
257160
|
arc = arc.cloneInRotatedBasis(arc.sweep.startAngle);
|
|
257168
|
-
|
|
257161
|
+
if (!arc.isCircular) { // ensure circularity by squaring the axes and equating their lengths
|
|
257162
|
+
const perpVector90 = arc.perpendicularVector.sizedCrossProduct(arc.vector0, arc.matrixRef.columnXMagnitude());
|
|
257163
|
+
if (!perpVector90)
|
|
257164
|
+
return undefined;
|
|
257165
|
+
arc = _curve_Arc3d__WEBPACK_IMPORTED_MODULE_4__.Arc3d.create(arc.center, arc.vector0, perpVector90, arc.sweep);
|
|
257166
|
+
}
|
|
257169
257167
|
const data = arc.toScaledMatrix3d();
|
|
257170
|
-
const
|
|
257171
|
-
return TorusPipe.createInFrame(
|
|
257168
|
+
const rigidFrame = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_2__.Transform.createOriginAndMatrix(arc.center, data.axes);
|
|
257169
|
+
return TorusPipe.createInFrame(rigidFrame, data.r0, minorRadius, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_3__.Angle.createRadians(arc.sweep.sweepRadians), capped);
|
|
257172
257170
|
}
|
|
257173
257171
|
/** Return a coordinate frame (right handed, unit axes)
|
|
257174
257172
|
* * origin at center of major circle
|
|
@@ -257255,7 +257253,7 @@ class TorusPipe extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimit
|
|
|
257255
257253
|
const center = this._localToWorld.multiplyXYZ(majorRadius * c0, majorRadius * s0, 0);
|
|
257256
257254
|
const vector0 = this._localToWorld.multiplyVectorXYZ(minorRadius * c0, minorRadius * s0, 0);
|
|
257257
257255
|
const vector90 = this._localToWorld.multiplyVectorXYZ(0, 0, minorRadius);
|
|
257258
|
-
return
|
|
257256
|
+
return _curve_Loop__WEBPACK_IMPORTED_MODULE_5__.Loop.create(_curve_Arc3d__WEBPACK_IMPORTED_MODULE_4__.Arc3d.create(center, vector0, vector90));
|
|
257259
257257
|
}
|
|
257260
257258
|
/** Return an arc at constant u, and arc sweep matching this TorusPipe sweep. */
|
|
257261
257259
|
constantUSection(uFraction) {
|
|
@@ -257269,7 +257267,7 @@ class TorusPipe extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimit
|
|
|
257269
257267
|
const rxy = majorRadius + minorRadius * Math.cos(phiRadians);
|
|
257270
257268
|
const vector0 = axes.multiplyXYZ(rxy, 0, 0);
|
|
257271
257269
|
const vector90 = axes.multiplyXYZ(0, rxy, 0);
|
|
257272
|
-
return _curve_Path__WEBPACK_IMPORTED_MODULE_6__.Path.create(
|
|
257270
|
+
return _curve_Path__WEBPACK_IMPORTED_MODULE_6__.Path.create(_curve_Arc3d__WEBPACK_IMPORTED_MODULE_4__.Arc3d.create(center, vector0, vector90, _geometry3d_AngleSweep__WEBPACK_IMPORTED_MODULE_7__.AngleSweep.createStartEndRadians(0.0, theta1Radians)));
|
|
257273
257271
|
}
|
|
257274
257272
|
/** extend `rangeToExtend` to include this `TorusPipe` */
|
|
257275
257273
|
extendRange(rangeToExtend, transform) {
|
|
@@ -282547,6 +282545,10 @@ class Parser {
|
|
|
282547
282545
|
}
|
|
282548
282546
|
// common case where single value and single label are supplied
|
|
282549
282547
|
if (tokens.length === 2) {
|
|
282548
|
+
// unit specification comes before value (like currency)
|
|
282549
|
+
if (tokens[1].isNumber && tokens[0].isString) {
|
|
282550
|
+
tokens = [tokens[1], tokens[0]];
|
|
282551
|
+
}
|
|
282550
282552
|
if (tokens[0].isNumber && tokens[1].isString) {
|
|
282551
282553
|
const unit = await this.lookupUnitByLabel(tokens[1].value, format, unitsProvider, altUnitLabelsProvider);
|
|
282552
282554
|
if (undefined === defaultUnit)
|
|
@@ -282560,21 +282562,6 @@ class Parser {
|
|
|
282560
282562
|
return new _Quantity__WEBPACK_IMPORTED_MODULE_2__.Quantity(defaultUnit, mag);
|
|
282561
282563
|
}
|
|
282562
282564
|
}
|
|
282563
|
-
else { // unit specification comes before value (like currency)
|
|
282564
|
-
if (tokens[1].isNumber && tokens[0].isString) {
|
|
282565
|
-
const unit = await this.lookupUnitByLabel(tokens[0].value, format, unitsProvider, altUnitLabelsProvider);
|
|
282566
|
-
if (undefined === defaultUnit)
|
|
282567
|
-
defaultUnit = unit;
|
|
282568
|
-
if (defaultUnit && defaultUnit.name === unit.name) {
|
|
282569
|
-
return new _Quantity__WEBPACK_IMPORTED_MODULE_2__.Quantity(defaultUnit, tokens[1].value);
|
|
282570
|
-
}
|
|
282571
|
-
else if (defaultUnit) {
|
|
282572
|
-
const conversion = await unitsProvider.getConversion(unit, defaultUnit);
|
|
282573
|
-
const mag = ((tokens[1].value * conversion.factor)) + conversion.offset;
|
|
282574
|
-
return new _Quantity__WEBPACK_IMPORTED_MODULE_2__.Quantity(defaultUnit, mag);
|
|
282575
|
-
}
|
|
282576
|
-
}
|
|
282577
|
-
}
|
|
282578
282565
|
}
|
|
282579
282566
|
// common case where there are multiple value/label pairs
|
|
282580
282567
|
if (tokens.length % 2 === 0) {
|
|
@@ -282686,8 +282673,16 @@ class Parser {
|
|
|
282686
282673
|
}
|
|
282687
282674
|
// common case where single value and single label are supplied
|
|
282688
282675
|
if (tokens.length === 2) {
|
|
282676
|
+
// unit specification comes before value (like currency)
|
|
282677
|
+
if (tokens[1].isNumber && tokens[0].isString) {
|
|
282678
|
+
tokens = [tokens[1], tokens[0]];
|
|
282679
|
+
}
|
|
282689
282680
|
if (tokens[0].isNumber && tokens[1].isString) {
|
|
282690
|
-
|
|
282681
|
+
let conversion = Parser.tryFindUnitConversion(tokens[1].value, unitsConversions, defaultUnit);
|
|
282682
|
+
// if no conversion, ignore value in second token. If we have defaultUnit, use it.
|
|
282683
|
+
if (!conversion && defaultUnit) {
|
|
282684
|
+
conversion = Parser.tryFindUnitConversion(defaultUnit.label, unitsConversions, defaultUnit);
|
|
282685
|
+
}
|
|
282691
282686
|
if (conversion) {
|
|
282692
282687
|
const value = tokens[0].value * conversion.factor + conversion.offset;
|
|
282693
282688
|
return { ok: true, value };
|
|
@@ -282695,17 +282690,6 @@ class Parser {
|
|
|
282695
282690
|
// if no conversion, just return parsed number and ignore value in second token
|
|
282696
282691
|
return { ok: true, value: tokens[0].value };
|
|
282697
282692
|
}
|
|
282698
|
-
else { // unit specification comes before value (like currency)
|
|
282699
|
-
if (tokens[1].isNumber && tokens[0].isString) {
|
|
282700
|
-
const conversion = Parser.tryFindUnitConversion(tokens[0].value, unitsConversions, defaultUnit);
|
|
282701
|
-
if (conversion) {
|
|
282702
|
-
const value = tokens[1].value * conversion.factor + conversion.offset;
|
|
282703
|
-
return { ok: true, value };
|
|
282704
|
-
}
|
|
282705
|
-
// if no conversion, just return parsed number and ignore value in second token
|
|
282706
|
-
return { ok: true, value: tokens[1].value };
|
|
282707
|
-
}
|
|
282708
|
-
}
|
|
282709
282693
|
}
|
|
282710
282694
|
// common case where there are multiple value/label pairs
|
|
282711
282695
|
if (tokens.length % 2 === 0) {
|
|
@@ -297379,7 +297363,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
297379
297363
|
/***/ ((module) => {
|
|
297380
297364
|
|
|
297381
297365
|
"use strict";
|
|
297382
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.7.0-dev.
|
|
297366
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.7.0-dev.13","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.7.0-dev.13","@itwin/core-bentley":"workspace:^4.7.0-dev.13","@itwin/core-common":"workspace:^4.7.0-dev.13","@itwin/core-geometry":"workspace:^4.7.0-dev.13","@itwin/core-orbitgt":"workspace:^4.7.0-dev.13","@itwin/core-quantity":"workspace:^4.7.0-dev.13"},"//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.1","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.1.0","@itwin/object-storage-core":"^2.2.2","@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"}}');
|
|
297383
297367
|
|
|
297384
297368
|
/***/ })
|
|
297385
297369
|
|