@itwin/ecschema-rpcinterface-tests 4.2.0-dev.1 → 4.2.0-dev.3
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/_0062.bundled-tests.js.map +1 -1
- package/lib/dist/bundled-tests.js +143 -79
- 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_4_7_node_modules_loaders_gl_draco_di-02c2bd.bundled-tests.js.map +1 -1
- package/package.json +16 -16
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_0062.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\
|
|
1
|
+
{"version":3,"file":"_0062.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\7\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.4.7\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
|
|
@@ -31848,7 +31848,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
31848
31848
|
*/
|
|
31849
31849
|
|
|
31850
31850
|
|
|
31851
|
-
/** @
|
|
31851
|
+
/** @public */
|
|
31852
31852
|
class PropertyMetaDataMap {
|
|
31853
31853
|
constructor(properties) {
|
|
31854
31854
|
this.properties = properties;
|
|
@@ -31910,8 +31910,7 @@ class PropertyMetaDataMap {
|
|
|
31910
31910
|
*
|
|
31911
31911
|
* @note When iterating over the results, the current row will be a [[QueryRowProxy]] object. To get the row as a basic
|
|
31912
31912
|
* JavaScript object, call [[QueryRowProxy.toRow]] on it.
|
|
31913
|
-
*
|
|
31914
|
-
* @beta
|
|
31913
|
+
* @public
|
|
31915
31914
|
*/
|
|
31916
31915
|
class ECSqlReader {
|
|
31917
31916
|
/**
|
|
@@ -32059,7 +32058,7 @@ class ECSqlReader {
|
|
|
32059
32058
|
return this._done;
|
|
32060
32059
|
}
|
|
32061
32060
|
/**
|
|
32062
|
-
*
|
|
32061
|
+
* @internal
|
|
32063
32062
|
*/
|
|
32064
32063
|
getRowInternal() {
|
|
32065
32064
|
if (this._localRows.length <= this._localOffset)
|
|
@@ -32139,7 +32138,7 @@ class ECSqlReader {
|
|
|
32139
32138
|
return resp;
|
|
32140
32139
|
}
|
|
32141
32140
|
/**
|
|
32142
|
-
*
|
|
32141
|
+
* @internal
|
|
32143
32142
|
*/
|
|
32144
32143
|
formatCurrentRow(onlyReturnObject = false) {
|
|
32145
32144
|
if (!onlyReturnObject && this._options.rowFormat === _ConcurrentQuery__WEBPACK_IMPORTED_MODULE_1__.QueryRowFormat.UseECSqlPropertyIndexes) {
|
|
@@ -65746,6 +65745,9 @@ class Property {
|
|
|
65746
65745
|
this._customAttributes = new Map();
|
|
65747
65746
|
this._customAttributes.set(customAttribute.className, customAttribute);
|
|
65748
65747
|
}
|
|
65748
|
+
setName(name) {
|
|
65749
|
+
this._name = name;
|
|
65750
|
+
}
|
|
65749
65751
|
/**
|
|
65750
65752
|
* Retrieve all custom attributes in the current property and its base
|
|
65751
65753
|
* This is the async version of getCustomAttributesSync()
|
|
@@ -80698,7 +80700,7 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
80698
80700
|
* @param params The values to bind to the parameters (if the ECSQL has any).
|
|
80699
80701
|
* @param config Allow to specify certain flags which control how query is executed.
|
|
80700
80702
|
* @returns Returns an [ECSqlReader]($common) which helps iterate over the result set and also give access to metadata.
|
|
80701
|
-
* @
|
|
80703
|
+
* @public
|
|
80702
80704
|
* */
|
|
80703
80705
|
createQueryReader(ecsql, params, config) {
|
|
80704
80706
|
const executor = {
|
|
@@ -204125,12 +204127,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
204125
204127
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
204126
204128
|
/* harmony export */ GrowableXYArray: () => (/* binding */ GrowableXYArray)
|
|
204127
204129
|
/* harmony export */ });
|
|
204128
|
-
/* harmony import */ var
|
|
204130
|
+
/* harmony import */ var _Geometry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Geometry */ "../../core/geometry/lib/esm/Geometry.js");
|
|
204129
204131
|
/* harmony import */ var _GrowableXYZArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./GrowableXYZArray */ "../../core/geometry/lib/esm/geometry3d/GrowableXYZArray.js");
|
|
204130
204132
|
/* harmony import */ var _IndexedXYCollection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./IndexedXYCollection */ "../../core/geometry/lib/esm/geometry3d/IndexedXYCollection.js");
|
|
204131
204133
|
/* harmony import */ var _Point2dVector2d__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Point2dVector2d */ "../../core/geometry/lib/esm/geometry3d/Point2dVector2d.js");
|
|
204132
|
-
/* harmony import */ var
|
|
204133
|
-
/* harmony import */ var _PointStreaming__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./PointStreaming */ "../../core/geometry/lib/esm/geometry3d/PointStreaming.js");
|
|
204134
|
+
/* harmony import */ var _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Point3dVector3d */ "../../core/geometry/lib/esm/geometry3d/Point3dVector3d.js");
|
|
204134
204135
|
/*---------------------------------------------------------------------------------------------
|
|
204135
204136
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
204136
204137
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -204143,7 +204144,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
204143
204144
|
|
|
204144
204145
|
|
|
204145
204146
|
|
|
204146
|
-
|
|
204147
204147
|
/** `GrowableXYArray` manages a (possibly growing) Float64Array to pack xy coordinates.
|
|
204148
204148
|
* @public
|
|
204149
204149
|
*/
|
|
@@ -204238,26 +204238,33 @@ class GrowableXYArray extends _IndexedXYCollection__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
204238
204238
|
return newPoints;
|
|
204239
204239
|
}
|
|
204240
204240
|
/** Create an array populated from
|
|
204241
|
-
*
|
|
204242
|
-
* *
|
|
204243
|
-
* *
|
|
204244
|
-
* *
|
|
204241
|
+
* Valid inputs are:
|
|
204242
|
+
* * Point2d
|
|
204243
|
+
* * Point3d
|
|
204244
|
+
* * An array of 2 doubles
|
|
204245
|
+
* * An array of 3 doubles
|
|
204246
|
+
* * A GrowableXYZArray
|
|
204247
|
+
* * A GrowableXYArray
|
|
204248
|
+
* * Any json object satisfying Point3d.isXAndY
|
|
204249
|
+
* * A Float64Array of doubles, interpreted as xyxy
|
|
204250
|
+
* * An array of any of the above
|
|
204245
204251
|
*/
|
|
204246
|
-
static create(data) {
|
|
204247
|
-
|
|
204248
|
-
|
|
204249
|
-
newPoints.pushAllXYAndZ(data);
|
|
204252
|
+
static create(data, result) {
|
|
204253
|
+
if (result) {
|
|
204254
|
+
result.clear();
|
|
204250
204255
|
}
|
|
204251
204256
|
else {
|
|
204252
|
-
|
|
204257
|
+
const pointCount = typeof data[0] === "number" ? data.length / 2 : data.length;
|
|
204258
|
+
result = new GrowableXYArray(pointCount);
|
|
204253
204259
|
}
|
|
204254
|
-
|
|
204260
|
+
result.pushFrom(data);
|
|
204261
|
+
return result;
|
|
204255
204262
|
}
|
|
204256
|
-
/** Restructure MultiLineStringDataVariant as array of GrowableXYZArray
|
|
204263
|
+
/** Restructure MultiLineStringDataVariant as array of GrowableXYZArray
|
|
204264
|
+
* @deprecated in 4.x. Moved to GrowableXYZArray class.
|
|
204265
|
+
*/
|
|
204257
204266
|
static createArrayOfGrowableXYZArray(data) {
|
|
204258
|
-
|
|
204259
|
-
_PointStreaming__WEBPACK_IMPORTED_MODULE_2__.VariantPointDataStream.streamXYZ(data, collector);
|
|
204260
|
-
return collector.claimArrayOfGrowableXYZArray();
|
|
204267
|
+
return _GrowableXYZArray__WEBPACK_IMPORTED_MODULE_1__.GrowableXYZArray.createArrayOfGrowableXYZArray(data);
|
|
204261
204268
|
}
|
|
204262
204269
|
/** push a point to the end of the array */
|
|
204263
204270
|
push(toPush) {
|
|
@@ -204283,6 +204290,51 @@ class GrowableXYArray extends _IndexedXYCollection__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
204283
204290
|
this.pushXY(p.x, p.y);
|
|
204284
204291
|
}
|
|
204285
204292
|
}
|
|
204293
|
+
/** Push points from variant sources.
|
|
204294
|
+
* Valid inputs are:
|
|
204295
|
+
* * Point2d
|
|
204296
|
+
* * Point3d
|
|
204297
|
+
* * An array of 2 doubles
|
|
204298
|
+
* * A GrowableXYArray
|
|
204299
|
+
* * A GrowableXYZArray
|
|
204300
|
+
* * Any json object satisfying Point3d.isXAndY
|
|
204301
|
+
* * A Float64Array of doubles, interpreted as xyxy
|
|
204302
|
+
* * An array of any of the above
|
|
204303
|
+
*/
|
|
204304
|
+
pushFrom(p) {
|
|
204305
|
+
if (p instanceof _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Point3d) {
|
|
204306
|
+
this.pushXY(p.x, p.y);
|
|
204307
|
+
}
|
|
204308
|
+
else if (p instanceof _GrowableXYZArray__WEBPACK_IMPORTED_MODULE_1__.GrowableXYZArray) {
|
|
204309
|
+
this.pushAllXYAndZ(p);
|
|
204310
|
+
}
|
|
204311
|
+
else if (p instanceof _Point2dVector2d__WEBPACK_IMPORTED_MODULE_3__.Point2d) {
|
|
204312
|
+
this.pushXY(p.x, p.y);
|
|
204313
|
+
}
|
|
204314
|
+
else if (_Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.isNumberArray(p, 3) || p instanceof Float64Array) {
|
|
204315
|
+
const xyToAdd = Math.trunc(p.length / 2);
|
|
204316
|
+
this.ensureCapacity(this._xyInUse + xyToAdd, false);
|
|
204317
|
+
this.copyData(p, xyToAdd, this._xyInUse);
|
|
204318
|
+
this._xyInUse += xyToAdd;
|
|
204319
|
+
}
|
|
204320
|
+
else if (_Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.isNumberArray(p, 2)) {
|
|
204321
|
+
this.pushXY(p[0], p[1]);
|
|
204322
|
+
}
|
|
204323
|
+
else if (Array.isArray(p)) {
|
|
204324
|
+
// direct recursion re-wraps p and goes infinite. Unroll here.
|
|
204325
|
+
for (const q of p)
|
|
204326
|
+
this.pushFrom(q);
|
|
204327
|
+
}
|
|
204328
|
+
else if (_Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Point3d.isXAndY(p)) {
|
|
204329
|
+
this.pushXY(p.x, p.y);
|
|
204330
|
+
}
|
|
204331
|
+
else if (p instanceof _IndexedXYCollection__WEBPACK_IMPORTED_MODULE_0__.IndexedXYCollection) {
|
|
204332
|
+
const n = p.length;
|
|
204333
|
+
this.ensureCapacity(this._xyInUse + n, false);
|
|
204334
|
+
for (let i = 0; i < n; i++)
|
|
204335
|
+
this.pushXY(p.getXAtUncheckedPointIndex(i), p.getYAtUncheckedPointIndex(i));
|
|
204336
|
+
}
|
|
204337
|
+
}
|
|
204286
204338
|
/**
|
|
204287
204339
|
* Replicate numWrap xy values from the front of the array as new values at the end.
|
|
204288
204340
|
* @param numWrap number of xy values to replicate
|
|
@@ -204518,7 +204570,7 @@ class GrowableXYArray extends _IndexedXYCollection__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
204518
204570
|
const result = [];
|
|
204519
204571
|
const data = this._data;
|
|
204520
204572
|
for (let i = 0; i < n; i += 2)
|
|
204521
|
-
result.push(
|
|
204573
|
+
result.push(_Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Point3d.create(data[i], data[i + 1], z));
|
|
204522
204574
|
return result;
|
|
204523
204575
|
}
|
|
204524
204576
|
/** reverse the order of points. */
|
|
@@ -204612,7 +204664,7 @@ class GrowableXYArray extends _IndexedXYCollection__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
204612
204664
|
const n = 2 * (this._xyInUse - 1); // Length already takes into account what specifically is in use
|
|
204613
204665
|
const data = this._data;
|
|
204614
204666
|
for (let i = 0; i < n; i += 2)
|
|
204615
|
-
sum +=
|
|
204667
|
+
sum += _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.hypotenuseXY(data[i + 2] - data[i], data[i + 3] - data[i + 1]);
|
|
204616
204668
|
return sum;
|
|
204617
204669
|
}
|
|
204618
204670
|
/**
|
|
@@ -204651,7 +204703,7 @@ class GrowableXYArray extends _IndexedXYCollection__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
204651
204703
|
for (let i = 2; i < n; i += 2, dx1 = dx2, dy1 = dy2) {
|
|
204652
204704
|
dx2 = this._data[i] - x0;
|
|
204653
204705
|
dy2 = this._data[i + 1] - y0;
|
|
204654
|
-
area +=
|
|
204706
|
+
area += _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.crossProductXYXY(dx1, dy1, dx2, dy2);
|
|
204655
204707
|
}
|
|
204656
204708
|
}
|
|
204657
204709
|
return 0.5 * area;
|
|
@@ -204681,7 +204733,7 @@ class GrowableXYArray extends _IndexedXYCollection__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
204681
204733
|
const j = targetAIndex * 2;
|
|
204682
204734
|
const k = targetBIndex * 2;
|
|
204683
204735
|
const data = this._data;
|
|
204684
|
-
return
|
|
204736
|
+
return _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.crossProductXYXY(data[j] - data[i], data[j + 1] - data[i + 1], data[k] - data[i], data[k + 1] - data[i + 1]);
|
|
204685
204737
|
}
|
|
204686
204738
|
return undefined;
|
|
204687
204739
|
}
|
|
@@ -204691,7 +204743,7 @@ class GrowableXYArray extends _IndexedXYCollection__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
204691
204743
|
const j = targetAIndex * 2;
|
|
204692
204744
|
const k = targetBIndex * 2;
|
|
204693
204745
|
const data = this._data;
|
|
204694
|
-
return
|
|
204746
|
+
return _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.crossProductXYXY(data[j] - origin.x, data[j + 1] - origin.y, data[k] - origin.x, data[k + 1] - origin.y);
|
|
204695
204747
|
}
|
|
204696
204748
|
return undefined;
|
|
204697
204749
|
}
|
|
@@ -204700,7 +204752,7 @@ class GrowableXYArray extends _IndexedXYCollection__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
204700
204752
|
if (this.isIndexValid(i) && this.isIndexValid(j)) {
|
|
204701
204753
|
const i0 = 2 * i;
|
|
204702
204754
|
const j0 = 2 * j;
|
|
204703
|
-
return
|
|
204755
|
+
return _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.hypotenuseXY(this._data[j0] - this._data[i0], this._data[j0 + 1] - this._data[i0 + 1]);
|
|
204704
204756
|
}
|
|
204705
204757
|
return undefined;
|
|
204706
204758
|
}
|
|
@@ -204708,7 +204760,7 @@ class GrowableXYArray extends _IndexedXYCollection__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
204708
204760
|
distanceIndexToPoint(i, spacePoint) {
|
|
204709
204761
|
if (this.isIndexValid(i)) {
|
|
204710
204762
|
const i0 = 2 * i;
|
|
204711
|
-
return
|
|
204763
|
+
return _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.hypotenuseXY(spacePoint.x - this._data[i0], spacePoint.y - this._data[i0 + 1]);
|
|
204712
204764
|
}
|
|
204713
204765
|
return undefined;
|
|
204714
204766
|
}
|
|
@@ -204758,7 +204810,7 @@ class GrowableXYArray extends _IndexedXYCollection__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
204758
204810
|
return this._data[2 * pointIndex + componentIndex];
|
|
204759
204811
|
}
|
|
204760
204812
|
/** Toleranced equality test */
|
|
204761
|
-
isAlmostEqual(other, tolerance =
|
|
204813
|
+
isAlmostEqual(other, tolerance = _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.smallMetricDistance) {
|
|
204762
204814
|
const numXY = this._xyInUse;
|
|
204763
204815
|
if (other._xyInUse !== numXY)
|
|
204764
204816
|
return false;
|
|
@@ -204786,12 +204838,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
204786
204838
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
204787
204839
|
/* harmony export */ GrowableXYZArray: () => (/* binding */ GrowableXYZArray)
|
|
204788
204840
|
/* harmony export */ });
|
|
204789
|
-
/* harmony import */ var
|
|
204841
|
+
/* harmony import */ var _Geometry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Geometry */ "../../core/geometry/lib/esm/Geometry.js");
|
|
204790
204842
|
/* harmony import */ var _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./IndexedXYZCollection */ "../../core/geometry/lib/esm/geometry3d/IndexedXYZCollection.js");
|
|
204791
|
-
/* harmony import */ var
|
|
204792
|
-
/* harmony import */ var
|
|
204793
|
-
/* harmony import */ var
|
|
204794
|
-
/* harmony import */ var
|
|
204843
|
+
/* harmony import */ var _Point2dVector2d__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Point2dVector2d */ "../../core/geometry/lib/esm/geometry3d/Point2dVector2d.js");
|
|
204844
|
+
/* harmony import */ var _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Point3dVector3d */ "../../core/geometry/lib/esm/geometry3d/Point3dVector3d.js");
|
|
204845
|
+
/* harmony import */ var _PointStreaming__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./PointStreaming */ "../../core/geometry/lib/esm/geometry3d/PointStreaming.js");
|
|
204846
|
+
/* harmony import */ var _Range__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Range */ "../../core/geometry/lib/esm/geometry3d/Range.js");
|
|
204847
|
+
/* harmony import */ var _Transform__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Transform */ "../../core/geometry/lib/esm/geometry3d/Transform.js");
|
|
204795
204848
|
/*---------------------------------------------------------------------------------------------
|
|
204796
204849
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
204797
204850
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -204805,6 +204858,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
204805
204858
|
|
|
204806
204859
|
|
|
204807
204860
|
|
|
204861
|
+
|
|
204808
204862
|
/** `GrowableXYArray` manages a (possibly growing) Float64Array to pack xy coordinates.
|
|
204809
204863
|
* @public
|
|
204810
204864
|
*/
|
|
@@ -204907,7 +204961,7 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
204907
204961
|
/** Create an array from various point data formats.
|
|
204908
204962
|
* Valid inputs are:
|
|
204909
204963
|
* * Point2d
|
|
204910
|
-
* *
|
|
204964
|
+
* * Point3d
|
|
204911
204965
|
* * An array of 2 doubles
|
|
204912
204966
|
* * An array of 3 doubles
|
|
204913
204967
|
* * A GrowableXYZArray
|
|
@@ -204929,6 +204983,12 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
204929
204983
|
result.pushFrom(data);
|
|
204930
204984
|
return result;
|
|
204931
204985
|
}
|
|
204986
|
+
/** Restructure MultiLineStringDataVariant as array of GrowableXYZArray */
|
|
204987
|
+
static createArrayOfGrowableXYZArray(data) {
|
|
204988
|
+
const collector = new _PointStreaming__WEBPACK_IMPORTED_MODULE_1__.PointStreamGrowableXYZArrayCollector();
|
|
204989
|
+
_PointStreaming__WEBPACK_IMPORTED_MODULE_1__.VariantPointDataStream.streamXYZ(data, collector);
|
|
204990
|
+
return collector.claimArrayOfGrowableXYZArray();
|
|
204991
|
+
}
|
|
204932
204992
|
/** push a point to the end of the array */
|
|
204933
204993
|
push(toPush) {
|
|
204934
204994
|
this.pushXYZ(toPush.x, toPush.y, toPush.z);
|
|
@@ -204942,7 +205002,7 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
204942
205002
|
/** Push points from variant sources.
|
|
204943
205003
|
* Valid inputs are:
|
|
204944
205004
|
* * Point2d
|
|
204945
|
-
* *
|
|
205005
|
+
* * Point3d
|
|
204946
205006
|
* * An array of 2 doubles
|
|
204947
205007
|
* * An array of 3 doubles
|
|
204948
205008
|
* * A GrowableXYZArray
|
|
@@ -204952,30 +205012,30 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
204952
205012
|
* * An array of any of the above
|
|
204953
205013
|
*/
|
|
204954
205014
|
pushFrom(p) {
|
|
204955
|
-
if (p instanceof
|
|
205015
|
+
if (p instanceof _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Point3d)
|
|
204956
205016
|
this.pushXYZ(p.x, p.y, p.z);
|
|
204957
205017
|
else if (p instanceof GrowableXYZArray)
|
|
204958
205018
|
this.pushFromGrowableXYZArray(p);
|
|
204959
|
-
else if (p instanceof
|
|
205019
|
+
else if (p instanceof _Point2dVector2d__WEBPACK_IMPORTED_MODULE_3__.Point2d)
|
|
204960
205020
|
this.pushXYZ(p.x, p.y, 0.0);
|
|
204961
|
-
else if (
|
|
205021
|
+
else if (_Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.isNumberArray(p, 4) || p instanceof Float64Array) {
|
|
204962
205022
|
const xyzToAdd = Math.trunc(p.length / 3);
|
|
204963
205023
|
this.ensureCapacity(this._xyzInUse + xyzToAdd, false);
|
|
204964
205024
|
this.copyData(p, xyzToAdd, this._xyzInUse);
|
|
204965
205025
|
this._xyzInUse += xyzToAdd;
|
|
204966
205026
|
}
|
|
204967
|
-
else if (
|
|
205027
|
+
else if (_Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.isNumberArray(p, 3))
|
|
204968
205028
|
this.pushXYZ(p[0], p[1], p[2]);
|
|
204969
|
-
else if (
|
|
205029
|
+
else if (_Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.isNumberArray(p, 2))
|
|
204970
205030
|
this.pushXYZ(p[0], p[1], 0.0);
|
|
204971
205031
|
else if (Array.isArray(p)) {
|
|
204972
|
-
// direct recursion re-wraps p and goes infinite.
|
|
205032
|
+
// direct recursion re-wraps p and goes infinite. Unroll here.
|
|
204973
205033
|
for (const q of p)
|
|
204974
205034
|
this.pushFrom(q);
|
|
204975
205035
|
}
|
|
204976
|
-
else if (
|
|
205036
|
+
else if (_Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Point3d.isXYAndZ(p))
|
|
204977
205037
|
this.pushXYZ(p.x, p.y, p.z);
|
|
204978
|
-
else if (
|
|
205038
|
+
else if (_Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Point3d.isXAndY(p))
|
|
204979
205039
|
this.pushXYZ(p.x, p.y, 0.0);
|
|
204980
205040
|
else if (p instanceof _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0__.IndexedXYZCollection) {
|
|
204981
205041
|
const n = p.length;
|
|
@@ -205076,7 +205136,7 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
205076
205136
|
*/
|
|
205077
205137
|
getPoint3dAtUncheckedPointIndex(pointIndex, result) {
|
|
205078
205138
|
const index = 3 * pointIndex;
|
|
205079
|
-
return
|
|
205139
|
+
return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Point3d.create(this._data[index], this._data[index + 1], this._data[index + 2], result);
|
|
205080
205140
|
}
|
|
205081
205141
|
/**
|
|
205082
205142
|
* Get a point by index, strongly typed as a Point2d. This is unchecked. Use getPoint2dAtCheckedPointIndex to have validity test.
|
|
@@ -205085,13 +205145,13 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
205085
205145
|
*/
|
|
205086
205146
|
getPoint2dAtUncheckedPointIndex(pointIndex, result) {
|
|
205087
205147
|
const index = 3 * pointIndex;
|
|
205088
|
-
return
|
|
205148
|
+
return _Point2dVector2d__WEBPACK_IMPORTED_MODULE_3__.Point2d.create(this._data[index], this._data[index + 1], result);
|
|
205089
205149
|
}
|
|
205090
205150
|
/** copy xyz into strongly typed Point3d */
|
|
205091
205151
|
getPoint3dAtCheckedPointIndex(pointIndex, result) {
|
|
205092
205152
|
if (this.isIndexValid(pointIndex)) {
|
|
205093
205153
|
const index = 3 * pointIndex;
|
|
205094
|
-
return
|
|
205154
|
+
return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Point3d.create(this._data[index], this._data[index + 1], this._data[index + 2], result);
|
|
205095
205155
|
}
|
|
205096
205156
|
return undefined;
|
|
205097
205157
|
}
|
|
@@ -205114,7 +205174,7 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
205114
205174
|
getPoint2dAtCheckedPointIndex(pointIndex, result) {
|
|
205115
205175
|
if (this.isIndexValid(pointIndex)) {
|
|
205116
205176
|
const index = 3 * pointIndex;
|
|
205117
|
-
return
|
|
205177
|
+
return _Point2dVector2d__WEBPACK_IMPORTED_MODULE_3__.Point2d.create(this._data[index], this._data[index + 1], result);
|
|
205118
205178
|
}
|
|
205119
205179
|
return undefined;
|
|
205120
205180
|
}
|
|
@@ -205122,7 +205182,7 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
205122
205182
|
getVector3dAtCheckedVectorIndex(vectorIndex, result) {
|
|
205123
205183
|
if (this.isIndexValid(vectorIndex)) {
|
|
205124
205184
|
const index = 3 * vectorIndex;
|
|
205125
|
-
return
|
|
205185
|
+
return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(this._data[index], this._data[index + 1], this._data[index + 2], result);
|
|
205126
205186
|
}
|
|
205127
205187
|
return undefined;
|
|
205128
205188
|
}
|
|
@@ -205221,7 +205281,7 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
205221
205281
|
const result = [];
|
|
205222
205282
|
const data = this._data;
|
|
205223
205283
|
for (let i = 0; i < n; i += 3)
|
|
205224
|
-
result.push(
|
|
205284
|
+
result.push(_Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Point3d.create(data[i], data[i + 1], data[i + 2]));
|
|
205225
205285
|
return result;
|
|
205226
205286
|
}
|
|
205227
205287
|
/** multiply each point by the transform, replace values. */
|
|
@@ -205307,7 +205367,7 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
205307
205367
|
if (!matrix.computeCachedInverse(true))
|
|
205308
205368
|
return false;
|
|
205309
205369
|
const coffs = matrix.inverseCoffs;
|
|
205310
|
-
const tol =
|
|
205370
|
+
const tol = _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.smallFloatingPoint;
|
|
205311
205371
|
let x = 0;
|
|
205312
205372
|
let y = 0;
|
|
205313
205373
|
let z = 0;
|
|
@@ -205350,7 +205410,7 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
205350
205410
|
multiplyMatrix4dAndQuietRenormalizeMatrix4d(matrix) {
|
|
205351
205411
|
const data = this._data;
|
|
205352
205412
|
const nDouble = this.float64Length;
|
|
205353
|
-
const xyz1 =
|
|
205413
|
+
const xyz1 = _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Point3d.create();
|
|
205354
205414
|
for (let i = 0; i + 2 <= nDouble; i += 3) {
|
|
205355
205415
|
matrix.multiplyXYZWQuietRenormalize(data[i], data[i + 1], data[i + 2], 1.0, xyz1);
|
|
205356
205416
|
data[i] = xyz1.x;
|
|
@@ -205399,7 +205459,7 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
205399
205459
|
}
|
|
205400
205460
|
/** get range of points. */
|
|
205401
205461
|
getRange(transform) {
|
|
205402
|
-
const range =
|
|
205462
|
+
const range = _Range__WEBPACK_IMPORTED_MODULE_5__.Range3d.createNull();
|
|
205403
205463
|
this.extendRange(range, transform);
|
|
205404
205464
|
return range;
|
|
205405
205465
|
}
|
|
@@ -205414,7 +205474,7 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
205414
205474
|
const n = 3 * (this._xyzInUse - 1); // Length already takes into account what specifically is in use
|
|
205415
205475
|
const data = this._data;
|
|
205416
205476
|
for (let i = 0; i < n; i += 3)
|
|
205417
|
-
sum +=
|
|
205477
|
+
sum += _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.hypotenuseXYZ(data[i + 3] - data[i], data[i + 4] - data[i + 1], data[i + 5] - data[i + 2]);
|
|
205418
205478
|
return sum;
|
|
205419
205479
|
}
|
|
205420
205480
|
/**
|
|
@@ -205429,7 +205489,7 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
205429
205489
|
}
|
|
205430
205490
|
}
|
|
205431
205491
|
/** test if all points are within tolerance of a plane. */
|
|
205432
|
-
isCloseToPlane(plane, tolerance =
|
|
205492
|
+
isCloseToPlane(plane, tolerance = _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.smallMetricDistance) {
|
|
205433
205493
|
const numCoordinate = 3 * this._xyzInUse;
|
|
205434
205494
|
const data = this._data;
|
|
205435
205495
|
for (let i = 0; i < numCoordinate; i += 3)
|
|
@@ -205442,7 +205502,7 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
205442
205502
|
* * If already closed within tolerance, force exact copy
|
|
205443
205503
|
* * otherwise leave unchanged.
|
|
205444
205504
|
*/
|
|
205445
|
-
forceClosure(tolerance =
|
|
205505
|
+
forceClosure(tolerance = _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.smallMetricDistance) {
|
|
205446
205506
|
const d = this.distanceIndexIndex(0, this.length - 1);
|
|
205447
205507
|
// leave the empty array alone.
|
|
205448
205508
|
// Note that singleton will generate 0 distance and do nothing.
|
|
@@ -205464,7 +205524,7 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
205464
205524
|
const data = this._data;
|
|
205465
205525
|
i = 3 * i;
|
|
205466
205526
|
j = 3 * j;
|
|
205467
|
-
return
|
|
205527
|
+
return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Point3d.create(fraction0 * data[i] + fraction * data[j], fraction0 * data[i + 1] + fraction * data[j + 1], fraction0 * data[i + 2] + fraction * data[j + 2], result);
|
|
205468
205528
|
}
|
|
205469
205529
|
return undefined;
|
|
205470
205530
|
}
|
|
@@ -205495,7 +205555,7 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
205495
205555
|
for (let i = 3; i < n; i += 3, dx1 = dx2, dy1 = dy2) {
|
|
205496
205556
|
dx2 = this._data[i] - x0;
|
|
205497
205557
|
dy2 = this._data[i + 1] - y0;
|
|
205498
|
-
area +=
|
|
205558
|
+
area += _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.crossProductXYXY(dx1, dy1, dx2, dy2);
|
|
205499
205559
|
}
|
|
205500
205560
|
}
|
|
205501
205561
|
return 0.5 * area;
|
|
@@ -205507,14 +205567,14 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
205507
205567
|
const data = this._data;
|
|
205508
205568
|
i = 3 * i;
|
|
205509
205569
|
j = 3 * j;
|
|
205510
|
-
return
|
|
205570
|
+
return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(data[j] - data[i], data[j + 1] - data[i + 1], data[j + 2] - data[i + 2], result);
|
|
205511
205571
|
}
|
|
205512
205572
|
/** Compute a vector from origin to indexed target j */
|
|
205513
205573
|
vectorXYAndZIndex(origin, j, result) {
|
|
205514
205574
|
if (this.isIndexValid(j)) {
|
|
205515
205575
|
const data = this._data;
|
|
205516
205576
|
j = 3 * j;
|
|
205517
|
-
return
|
|
205577
|
+
return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(data[j] - origin.x, data[j + 1] - origin.y, data[j + 2] - origin.z, result);
|
|
205518
205578
|
}
|
|
205519
205579
|
return undefined;
|
|
205520
205580
|
}
|
|
@@ -205525,7 +205585,7 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
205525
205585
|
const j = targetAIndex * 3;
|
|
205526
205586
|
const k = targetBIndex * 3;
|
|
205527
205587
|
const data = this._data;
|
|
205528
|
-
return
|
|
205588
|
+
return _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.crossProductXYZXYZ(data[j] - data[i], data[j + 1] - data[i + 1], data[j + 2] - data[i + 2], data[k] - data[i], data[k + 1] - data[i + 1], data[k + 2] - data[i + 2], result);
|
|
205529
205589
|
}
|
|
205530
205590
|
return undefined;
|
|
205531
205591
|
}
|
|
@@ -205573,7 +205633,7 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
205573
205633
|
const j = targetAIndex * 3;
|
|
205574
205634
|
const k = targetBIndex * 3;
|
|
205575
205635
|
const data = this._data;
|
|
205576
|
-
return
|
|
205636
|
+
return _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.crossProductXYZXYZ(data[j] - origin.x, data[j + 1] - origin.y, data[j + 2] - origin.z, data[k] - origin.x, data[k + 1] - origin.y, data[k + 2] - origin.z, result);
|
|
205577
205637
|
}
|
|
205578
205638
|
return undefined;
|
|
205579
205639
|
}
|
|
@@ -205581,7 +205641,7 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
205581
205641
|
distanceIndexToPoint(i, spacePoint) {
|
|
205582
205642
|
if (this.isIndexValid(i)) {
|
|
205583
205643
|
const i0 = 3 * i;
|
|
205584
|
-
return
|
|
205644
|
+
return _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.hypotenuseXYZ(spacePoint.x - this._data[i0], spacePoint.y - this._data[i0 + 1], spacePoint.z - this._data[i0 + 2]);
|
|
205585
205645
|
}
|
|
205586
205646
|
return undefined;
|
|
205587
205647
|
}
|
|
@@ -205594,7 +205654,7 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
205594
205654
|
if (this.isIndexValid(i) && this.isIndexValid(j)) {
|
|
205595
205655
|
const i0 = 3 * i;
|
|
205596
205656
|
const j0 = 3 * j;
|
|
205597
|
-
return
|
|
205657
|
+
return _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.hypotenuseSquaredXYZ(this._data[j0] - this._data[i0], this._data[j0 + 1] - this._data[i0 + 1], this._data[j0 + 2] - this._data[i0 + 2]);
|
|
205598
205658
|
}
|
|
205599
205659
|
return undefined;
|
|
205600
205660
|
}
|
|
@@ -205607,7 +205667,7 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
205607
205667
|
if (this.isIndexValid(i) && this.isIndexValid(j)) {
|
|
205608
205668
|
const i0 = 3 * i;
|
|
205609
205669
|
const j0 = 3 * j;
|
|
205610
|
-
return
|
|
205670
|
+
return _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.hypotenuseXYZ(this._data[j0] - this._data[i0], this._data[j0 + 1] - this._data[i0 + 1], this._data[j0 + 2] - this._data[i0 + 2]);
|
|
205611
205671
|
}
|
|
205612
205672
|
return undefined;
|
|
205613
205673
|
}
|
|
@@ -205616,7 +205676,7 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
205616
205676
|
if (arrayA.isIndexValid(i) && arrayB.isIndexValid(j)) {
|
|
205617
205677
|
const i0 = 3 * i;
|
|
205618
205678
|
const j0 = 3 * j;
|
|
205619
|
-
return
|
|
205679
|
+
return _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.hypotenuseXYZ(arrayB._data[j0] - arrayA._data[i0], arrayB._data[j0 + 1] - arrayA._data[i0 + 1], arrayB._data[j0 + 2] - arrayA._data[i0 + 2]);
|
|
205620
205680
|
}
|
|
205621
205681
|
return undefined;
|
|
205622
205682
|
}
|
|
@@ -205695,10 +205755,10 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
205695
205755
|
const n = Math.min(arrayA.length, arrayB.length);
|
|
205696
205756
|
let i = 0;
|
|
205697
205757
|
let k0;
|
|
205698
|
-
const range =
|
|
205758
|
+
const range = _Range__WEBPACK_IMPORTED_MODULE_5__.Range1d.createNull();
|
|
205699
205759
|
while (i < n) {
|
|
205700
205760
|
k0 = 3 * i;
|
|
205701
|
-
range.extendX(
|
|
205761
|
+
range.extendX(_Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.hypotenuseXYZ(dataA[k0] - dataB[k0], dataA[k0 + 1] - dataB[k0 + 1], dataA[k0 + 2] - dataB[k0 + 2]));
|
|
205702
205762
|
i++;
|
|
205703
205763
|
}
|
|
205704
205764
|
return range;
|
|
@@ -205708,7 +205768,7 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
205708
205768
|
* @param points
|
|
205709
205769
|
* @param tolerance
|
|
205710
205770
|
*/
|
|
205711
|
-
static removeClosure(points, tolerance =
|
|
205771
|
+
static removeClosure(points, tolerance = _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.smallMetricDistance) {
|
|
205712
205772
|
while (points.length > 1 && points.distanceIndexIndex(0, points.length - 1) < tolerance)
|
|
205713
205773
|
points.pop();
|
|
205714
205774
|
}
|
|
@@ -205734,7 +205794,7 @@ class GrowableXYZArray extends _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_0_
|
|
|
205734
205794
|
const vx = data[i0++] - ax;
|
|
205735
205795
|
const vy = data[i0++] - ay;
|
|
205736
205796
|
const vz = data[i0++] - az;
|
|
205737
|
-
result =
|
|
205797
|
+
result = _Transform__WEBPACK_IMPORTED_MODULE_6__.Transform.createRowValues(ux, vx, 0, ax, uy, vy, 0, ay, uz, vz, 1, az, result);
|
|
205738
205798
|
return result.computeCachedInverse() ? result : undefined;
|
|
205739
205799
|
}
|
|
205740
205800
|
return undefined;
|
|
@@ -231623,11 +231683,15 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
|
|
|
231623
231683
|
}
|
|
231624
231684
|
}
|
|
231625
231685
|
/** Add a polygon to the evolving facets.
|
|
231626
|
-
*
|
|
231627
|
-
* *
|
|
231628
|
-
* *
|
|
231629
|
-
*
|
|
231630
|
-
* @param
|
|
231686
|
+
* * add points to the polyface
|
|
231687
|
+
* * compute each point index as the point is added
|
|
231688
|
+
* * all data arrays are parallel to the point array
|
|
231689
|
+
* * point indices are added in reverse order if indicated by the builder state
|
|
231690
|
+
* @param points array of vertices in order around the facet
|
|
231691
|
+
* @param normals optional array of normals, one per vertex
|
|
231692
|
+
* @param params optional array of uv-parameters, one per vertex
|
|
231693
|
+
* @param colors optional array of colors, one per vertex
|
|
231694
|
+
* @param edgeVisible optional array of flags, one per vertex, true iff edge starting at corresponding vertex is visible
|
|
231631
231695
|
*/
|
|
231632
231696
|
addFacetFromGrowableArrays(points, normals, params, colors, edgeVisible) {
|
|
231633
231697
|
// don't use trailing points that match start point.
|
|
@@ -287295,7 +287359,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
287295
287359
|
/***/ ((module) => {
|
|
287296
287360
|
|
|
287297
287361
|
"use strict";
|
|
287298
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.2.0-dev.
|
|
287362
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.2.0-dev.3","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 -c extraction.eslint.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 && 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.2.0-dev.3","@itwin/core-bentley":"workspace:^4.2.0-dev.3","@itwin/core-common":"workspace:^4.2.0-dev.3","@itwin/core-geometry":"workspace:^4.2.0-dev.3","@itwin/core-orbitgt":"workspace:^4.2.0-dev.3","@itwin/core-quantity":"workspace:^4.2.0-dev.3"},"//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.0-dev.44","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/mocha":"^8.2.2","@types/node":"18.16.1","@types/sinon":"^10.0.15","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","chai":"^4.1.2","chai-as-promised":"^7","cpx2":"^3.0.0","eslint":"^8.44.0","glob":"^7.1.2","mocha":"^10.0.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^15.0.4","source-map-loader":"^4.0.0","typescript":"~5.0.2","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.0.0","@itwin/object-storage-core":"^2.0.0","@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","wms-capabilities":"0.4.0"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"}}');
|
|
287299
287363
|
|
|
287300
287364
|
/***/ })
|
|
287301
287365
|
|