@itwin/ecschema-rpcinterface-tests 5.16.0-dev.10 → 5.16.0-dev.12
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/bundled-tests.js +129 -67
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +13 -13
|
@@ -20008,9 +20008,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20008
20008
|
/* harmony export */ OrderedId64Array: () => (/* binding */ OrderedId64Array)
|
|
20009
20009
|
/* harmony export */ });
|
|
20010
20010
|
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../../core/bentley/lib/esm/Assert.js");
|
|
20011
|
-
/* harmony import */ var
|
|
20012
|
-
/* harmony import */ var
|
|
20013
|
-
/* harmony import */ var
|
|
20011
|
+
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BentleyError */ "../../core/bentley/lib/esm/BentleyError.js");
|
|
20012
|
+
/* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Id */ "../../core/bentley/lib/esm/Id.js");
|
|
20013
|
+
/* harmony import */ var _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./OrderedId64Iterable */ "../../core/bentley/lib/esm/OrderedId64Iterable.js");
|
|
20014
|
+
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./SortedArray */ "../../core/bentley/lib/esm/SortedArray.js");
|
|
20014
20015
|
/*---------------------------------------------------------------------------------------------
|
|
20015
20016
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
20016
20017
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -20022,6 +20023,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20022
20023
|
|
|
20023
20024
|
|
|
20024
20025
|
|
|
20026
|
+
|
|
20025
20027
|
/** A compact string representation of an [[Id64Set]]. Such a representation is useful when serializing potentially very large
|
|
20026
20028
|
* sets of Ids.
|
|
20027
20029
|
* @see [[CompressedId64Set.iterable]] to efficiently iterate the Ids represented by a compact string.
|
|
@@ -20078,7 +20080,7 @@ var CompressedId64Set;
|
|
|
20078
20080
|
function sortAndCompress(ids) {
|
|
20079
20081
|
// `string` is an Iterable<string>. In that case assume caller passed a single Id64String.
|
|
20080
20082
|
const arr = typeof ids === "string" ? [ids] : Array.from(ids);
|
|
20081
|
-
|
|
20083
|
+
_OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_3__.OrderedId64Iterable.sortArray(arr);
|
|
20082
20084
|
return compressArray(arr);
|
|
20083
20085
|
}
|
|
20084
20086
|
CompressedId64Set.sortAndCompress = sortAndCompress;
|
|
@@ -20114,7 +20116,7 @@ var CompressedId64Set;
|
|
|
20114
20116
|
const curId = new Uint64();
|
|
20115
20117
|
const curIncrement = new Uint64();
|
|
20116
20118
|
for (const id of ids) {
|
|
20117
|
-
if (!
|
|
20119
|
+
if (!_Id__WEBPACK_IMPORTED_MODULE_2__.Id64.isValidId64(id))
|
|
20118
20120
|
continue; // ignore garbage and invalid Ids ("0")
|
|
20119
20121
|
curId.setFromId(id);
|
|
20120
20122
|
curIncrement.setFromDifference(curId, prevId);
|
|
@@ -20190,7 +20192,7 @@ var CompressedId64Set;
|
|
|
20190
20192
|
this.assertConstraints();
|
|
20191
20193
|
}
|
|
20192
20194
|
setFromId(id) {
|
|
20193
|
-
|
|
20195
|
+
_Id__WEBPACK_IMPORTED_MODULE_2__.Id64.getUint32Pair(id, this);
|
|
20194
20196
|
}
|
|
20195
20197
|
copyFrom(other) {
|
|
20196
20198
|
this.lower = other.lower;
|
|
@@ -20205,48 +20207,80 @@ var CompressedId64Set;
|
|
|
20205
20207
|
return `${upper}${lower}`.toUpperCase();
|
|
20206
20208
|
}
|
|
20207
20209
|
toId64String() {
|
|
20208
|
-
return
|
|
20210
|
+
return _Id__WEBPACK_IMPORTED_MODULE_2__.Id64.fromUint32Pair(this.lower, this.upper);
|
|
20209
20211
|
}
|
|
20210
20212
|
}
|
|
20211
|
-
/**
|
|
20212
|
-
*
|
|
20213
|
+
/** Parses the runs (an increment, optionally repeated `multiplier` times) encoded in a [[CompressedId64Set]],
|
|
20214
|
+
* without materializing the individual Ids.
|
|
20213
20215
|
*/
|
|
20214
|
-
|
|
20215
|
-
|
|
20216
|
-
|
|
20217
|
-
|
|
20218
|
-
|
|
20219
|
-
|
|
20220
|
-
|
|
20221
|
-
|
|
20216
|
+
class RunParser {
|
|
20217
|
+
_ids;
|
|
20218
|
+
_curIndex = 1; // skip the leading '+'
|
|
20219
|
+
increment = new Uint64();
|
|
20220
|
+
multiplier = 1;
|
|
20221
|
+
constructor(_ids) {
|
|
20222
|
+
this._ids = _ids;
|
|
20223
|
+
if (0 !== _ids.length && "+" !== _ids[0])
|
|
20224
|
+
throw new Error("Invalid CompressedId64Set");
|
|
20225
|
+
}
|
|
20226
|
+
/** Parse the next run into [[increment]] and [[multiplier]]. Returns false when there are no more runs. */
|
|
20227
|
+
next() {
|
|
20228
|
+
const ids = this._ids;
|
|
20229
|
+
if (this._curIndex >= ids.length)
|
|
20230
|
+
return false;
|
|
20231
|
+
this.multiplier = 1;
|
|
20232
|
+
this.parseIncrement();
|
|
20233
|
+
if (this.increment.isZero)
|
|
20234
|
+
throw new Error("Invalid CompressedId64Set");
|
|
20235
|
+
if (this._curIndex < ids.length) {
|
|
20236
|
+
switch (ids[this._curIndex++]) {
|
|
20237
|
+
case "*":
|
|
20238
|
+
this.multiplier = this.parseUint32();
|
|
20239
|
+
if (0 === this.multiplier)
|
|
20240
|
+
throw new Error("Invalid CompressedId64Set");
|
|
20241
|
+
if (this._curIndex !== ids.length && ids[this._curIndex++] !== "+")
|
|
20242
|
+
return false;
|
|
20243
|
+
break;
|
|
20244
|
+
case "+":
|
|
20245
|
+
break;
|
|
20246
|
+
default:
|
|
20247
|
+
throw new Error("Invalid CompressedId64Set");
|
|
20248
|
+
}
|
|
20249
|
+
}
|
|
20250
|
+
return true;
|
|
20251
|
+
}
|
|
20252
|
+
parseUint32() {
|
|
20253
|
+
const ids = this._ids;
|
|
20222
20254
|
let value = 0;
|
|
20223
20255
|
let nChars = 0;
|
|
20224
|
-
while (
|
|
20256
|
+
while (this._curIndex < ids.length && nChars < 8) {
|
|
20225
20257
|
++nChars;
|
|
20226
|
-
const ch = ids.charCodeAt(
|
|
20258
|
+
const ch = ids.charCodeAt(this._curIndex);
|
|
20227
20259
|
if (!isHexDigit(ch))
|
|
20228
20260
|
break; // not a hex digit in [0..9] or [A..F]
|
|
20229
20261
|
value <<= 4;
|
|
20230
20262
|
value |= (ch >= 65 ? ch - 65 + 10 : ch - 48); // ch - 'A' + 10 or ch - '0'
|
|
20231
20263
|
value = value >>> 0; // restore unsignedness because silly javascript.
|
|
20232
|
-
++
|
|
20264
|
+
++this._curIndex;
|
|
20233
20265
|
}
|
|
20234
20266
|
return value;
|
|
20235
20267
|
}
|
|
20236
|
-
|
|
20268
|
+
/** Parse a 64-bit hexadecimal value of up to 16 digits into [[increment]]. */
|
|
20269
|
+
parseIncrement() {
|
|
20270
|
+
const ids = this._ids;
|
|
20237
20271
|
let lower = 0;
|
|
20238
20272
|
let upper = 0;
|
|
20239
20273
|
// Read up to the first 8 digits.
|
|
20240
|
-
const startIndex =
|
|
20241
|
-
const first = parseUint32();
|
|
20242
|
-
const nFirstDigits =
|
|
20274
|
+
const startIndex = this._curIndex;
|
|
20275
|
+
const first = this.parseUint32();
|
|
20276
|
+
const nFirstDigits = this._curIndex - startIndex;
|
|
20243
20277
|
(0,_Assert__WEBPACK_IMPORTED_MODULE_0__.assert)(nFirstDigits <= 8);
|
|
20244
|
-
if (8 === nFirstDigits &&
|
|
20278
|
+
if (8 === nFirstDigits && this._curIndex + 1 < ids.length && isHexDigit(ids.charCodeAt(this._curIndex + 1))) {
|
|
20245
20279
|
// We've got up to 8 more digits remaining
|
|
20246
|
-
const secondIndex =
|
|
20247
|
-
const second = parseUint32();
|
|
20280
|
+
const secondIndex = this._curIndex;
|
|
20281
|
+
const second = this.parseUint32();
|
|
20248
20282
|
// Transfer excess digits from upper to lower.
|
|
20249
|
-
const nSecondDigits =
|
|
20283
|
+
const nSecondDigits = this._curIndex - secondIndex;
|
|
20250
20284
|
(0,_Assert__WEBPACK_IMPORTED_MODULE_0__.assert)(nSecondDigits > 0 && nSecondDigits <= 8);
|
|
20251
20285
|
const nDigitsToTransfer = 8 - nSecondDigits;
|
|
20252
20286
|
upper = first >>> (4 * nDigitsToTransfer);
|
|
@@ -20256,37 +20290,63 @@ var CompressedId64Set;
|
|
|
20256
20290
|
else {
|
|
20257
20291
|
lower = first;
|
|
20258
20292
|
}
|
|
20259
|
-
|
|
20260
|
-
|
|
20293
|
+
this.increment.lower = lower;
|
|
20294
|
+
this.increment.upper = upper;
|
|
20261
20295
|
}
|
|
20262
|
-
|
|
20263
|
-
|
|
20264
|
-
|
|
20265
|
-
|
|
20266
|
-
|
|
20267
|
-
|
|
20268
|
-
|
|
20269
|
-
|
|
20270
|
-
|
|
20271
|
-
|
|
20272
|
-
|
|
20273
|
-
|
|
20274
|
-
|
|
20275
|
-
|
|
20276
|
-
|
|
20277
|
-
|
|
20278
|
-
|
|
20279
|
-
|
|
20280
|
-
|
|
20281
|
-
}
|
|
20282
|
-
|
|
20283
|
-
|
|
20284
|
-
|
|
20296
|
+
}
|
|
20297
|
+
/** The maximum number of Ids that [[CompressedId64Set.iterator]] will produce from a single [[CompressedId64Set]].
|
|
20298
|
+
* A short compressed string can represent billions of Ids, so [[CompressedId64Set.iterator]] counts the Ids before producing any of them,
|
|
20299
|
+
* and throws a [[BentleyError]] with [[IModelStatus.BadArg]] if the count exceeds this limit.
|
|
20300
|
+
* The limit applies equally to [[CompressedId64Set.iterable]], [[CompressedId64Set.decompressSet]], [[CompressedId64Set.decompressArray]],
|
|
20301
|
+
* and [[MutableCompressedId64Set]].
|
|
20302
|
+
* @beta
|
|
20303
|
+
*/
|
|
20304
|
+
CompressedId64Set.maxIdCount = 1000000;
|
|
20305
|
+
/** Supplies an iterator over the [[Id64String]]s in a [[CompressedId64Set]].
|
|
20306
|
+
* The Ids are iterated in ascending order based on their unsigned 64-bit integer values.
|
|
20307
|
+
* @throws [[BentleyError]] with [[IModelStatus.BadArg]] if `ids` represents more than [[CompressedId64Set.maxIdCount]] Ids.
|
|
20308
|
+
*/
|
|
20309
|
+
function* iterator(ids) {
|
|
20310
|
+
let numIds = 0;
|
|
20311
|
+
const counter = new RunParser(ids);
|
|
20312
|
+
while (counter.next()) {
|
|
20313
|
+
numIds += counter.multiplier;
|
|
20314
|
+
if (numIds > CompressedId64Set.maxIdCount)
|
|
20315
|
+
throw new _BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError(_BentleyError__WEBPACK_IMPORTED_MODULE_1__.IModelStatus.BadArg, `CompressedId64Set exceeds the maximum of ${CompressedId64Set.maxIdCount} Ids`);
|
|
20316
|
+
}
|
|
20317
|
+
const parser = new RunParser(ids);
|
|
20318
|
+
const curId = new Uint64();
|
|
20319
|
+
while (parser.next()) {
|
|
20320
|
+
for (let i = 0; i < parser.multiplier; i++) {
|
|
20321
|
+
curId.add(parser.increment);
|
|
20285
20322
|
yield curId.toId64String();
|
|
20286
20323
|
}
|
|
20287
20324
|
}
|
|
20288
20325
|
}
|
|
20289
20326
|
CompressedId64Set.iterator = iterator;
|
|
20327
|
+
/** Compute the number of Ids represented by a [[CompressedId64Set]] without materializing them.
|
|
20328
|
+
* The cost is proportional to the length of the string, not to the number of Ids it represents.
|
|
20329
|
+
* Use this to bound the work of decompressing a set obtained from an untrusted source, such as an RPC argument.
|
|
20330
|
+
* @param ids The compact string representation.
|
|
20331
|
+
* @returns The number of Ids that [[CompressedId64Set.iterator]] would produce.
|
|
20332
|
+
* @throws Error if `ids` is not a well-formed [[CompressedId64Set]], including if any of the Ids it represents would exceed 64 bits.
|
|
20333
|
+
* @beta
|
|
20334
|
+
*/
|
|
20335
|
+
function count(ids) {
|
|
20336
|
+
const maxId = 0xffffffffffffffffn;
|
|
20337
|
+
let total = 0;
|
|
20338
|
+
let lastId = 0n;
|
|
20339
|
+
const parser = new RunParser(ids);
|
|
20340
|
+
while (parser.next()) {
|
|
20341
|
+
total += parser.multiplier;
|
|
20342
|
+
const increment = (BigInt(parser.increment.upper) << 32n) | BigInt(parser.increment.lower);
|
|
20343
|
+
lastId += increment * BigInt(parser.multiplier);
|
|
20344
|
+
if (lastId > maxId)
|
|
20345
|
+
throw new Error("CompressedId64Set contains an Id that exceeds the maximum 64-bit value");
|
|
20346
|
+
}
|
|
20347
|
+
return total;
|
|
20348
|
+
}
|
|
20349
|
+
CompressedId64Set.count = count;
|
|
20290
20350
|
/** Supplies an iterable over the [[Id64String]]s in a [[CompressedId64Set]].
|
|
20291
20351
|
* The Ids are iterated in ascending order based on their unsigned 64-bit integer values.
|
|
20292
20352
|
*/
|
|
@@ -20301,6 +20361,7 @@ var CompressedId64Set;
|
|
|
20301
20361
|
* @param out If supplied, the Ids will be inserted into this set rather than allocating and returning a new set.
|
|
20302
20362
|
* @returns The set containing the decompressed Ids.
|
|
20303
20363
|
* @throws Error if `compressedIds` is not a well-formed [[CompressedId64Set]].
|
|
20364
|
+
* @throws [[BentleyError]] with [[IModelStatus.BadArg]] if `compressedIds` represents more than [[CompressedId64Set.maxIdCount]] Ids.
|
|
20304
20365
|
* @see [[CompressedId64Set.compressSet]] to perform the inverse operation.
|
|
20305
20366
|
* @see [[CompressedId64Set.decompressArray]] to decompress as an [[Id64Array]] instead.
|
|
20306
20367
|
* @see [[CompressedId64Set.iterable]] to efficiently iterate the Ids.
|
|
@@ -20317,6 +20378,7 @@ var CompressedId64Set;
|
|
|
20317
20378
|
* @param out If supplied, the Ids will be appended to this array rather than allocating and returning a new array.
|
|
20318
20379
|
* @returns The array containing the decompressed Ids.
|
|
20319
20380
|
* @throws Error if `compressedIds` is not a well-formed [[CompressedId64Set]].
|
|
20381
|
+
* @throws [[BentleyError]] with [[IModelStatus.BadArg]] if `compressedIds` represents more than [[CompressedId64Set.maxIdCount]] Ids.
|
|
20320
20382
|
* @note The Ids are decompressed and appended to the array in ascending order based on their 64-bit numerical values.
|
|
20321
20383
|
* @see [[CompressedId64Set.compressArray]] to perform the inverse operation.
|
|
20322
20384
|
* @see [[CompressedId64Set.decompressSet]] to decompress as an [[Id64Set]] instead.
|
|
@@ -20334,10 +20396,10 @@ var CompressedId64Set;
|
|
|
20334
20396
|
* @see [[CompressedId64Set]] for an immutable compact string representation.
|
|
20335
20397
|
* @public
|
|
20336
20398
|
*/
|
|
20337
|
-
class OrderedId64Array extends
|
|
20399
|
+
class OrderedId64Array extends _SortedArray__WEBPACK_IMPORTED_MODULE_4__.SortedArray {
|
|
20338
20400
|
/** Construct a new, empty array. */
|
|
20339
20401
|
constructor() {
|
|
20340
|
-
super((lhs, rhs) =>
|
|
20402
|
+
super((lhs, rhs) => _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_3__.OrderedId64Iterable.compare(lhs, rhs));
|
|
20341
20403
|
}
|
|
20342
20404
|
/** An iterable that iterates over the Ids in sorted order. */
|
|
20343
20405
|
get ids() { return this._array; }
|
|
@@ -20367,7 +20429,7 @@ class MutableCompressedId64Set {
|
|
|
20367
20429
|
* @throws Error if `id` is not a valid [[Id64String]].
|
|
20368
20430
|
*/
|
|
20369
20431
|
add(id) {
|
|
20370
|
-
if (!
|
|
20432
|
+
if (!_Id__WEBPACK_IMPORTED_MODULE_2__.Id64.isValidId64(id))
|
|
20371
20433
|
throw new Error("MutableCompressedId64Set.add: invalid Id");
|
|
20372
20434
|
this._deleted.remove(id);
|
|
20373
20435
|
this._inserted.insert(id);
|
|
@@ -20376,7 +20438,7 @@ class MutableCompressedId64Set {
|
|
|
20376
20438
|
* @throws Error if `id` is not a valid [[Id64String]].
|
|
20377
20439
|
*/
|
|
20378
20440
|
delete(id) {
|
|
20379
|
-
if (!
|
|
20441
|
+
if (!_Id__WEBPACK_IMPORTED_MODULE_2__.Id64.isValidId64(id))
|
|
20380
20442
|
throw new Error("MutableCompressedId64Set.delete: invalid Id");
|
|
20381
20443
|
this._inserted.remove(id);
|
|
20382
20444
|
this._deleted.insert(id);
|
|
@@ -20400,27 +20462,27 @@ class MutableCompressedId64Set {
|
|
|
20400
20462
|
computeUnion(ids) {
|
|
20401
20463
|
if (this.isEmpty)
|
|
20402
20464
|
return CompressedId64Set.compressIds(ids);
|
|
20403
|
-
else if (
|
|
20465
|
+
else if (_OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_3__.OrderedId64Iterable.isEmptySet(ids) || this.equals(ids))
|
|
20404
20466
|
return this.ids;
|
|
20405
|
-
return CompressedId64Set.compressIds(
|
|
20467
|
+
return CompressedId64Set.compressIds(_OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_3__.OrderedId64Iterable.union(this, ids));
|
|
20406
20468
|
}
|
|
20407
20469
|
/** Compute a compact string representation of the intersection of this and another set of Ids - i.e., those Ids present in both this and the other set. */
|
|
20408
20470
|
computeIntersection(ids) {
|
|
20409
20471
|
if (this.equals(ids))
|
|
20410
20472
|
return this.ids;
|
|
20411
|
-
else if (this.isEmpty ||
|
|
20473
|
+
else if (this.isEmpty || _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_3__.OrderedId64Iterable.isEmptySet(ids))
|
|
20412
20474
|
return "";
|
|
20413
|
-
return CompressedId64Set.compressIds(
|
|
20475
|
+
return CompressedId64Set.compressIds(_OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_3__.OrderedId64Iterable.intersection(this, ids));
|
|
20414
20476
|
}
|
|
20415
20477
|
/** Compute a compact string representation of the difference between this and another set - i.e., those Ids present in this but not in the other set. */
|
|
20416
20478
|
computeDifference(ids) {
|
|
20417
20479
|
if (this.isEmpty || this.equals(ids))
|
|
20418
20480
|
return "";
|
|
20419
|
-
return CompressedId64Set.compressIds(
|
|
20481
|
+
return CompressedId64Set.compressIds(_OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_3__.OrderedId64Iterable.difference(this, ids));
|
|
20420
20482
|
}
|
|
20421
20483
|
/** Return true if this set contains no Ids. */
|
|
20422
20484
|
get isEmpty() {
|
|
20423
|
-
return
|
|
20485
|
+
return _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_3__.OrderedId64Iterable.isEmptySet(this.ids);
|
|
20424
20486
|
}
|
|
20425
20487
|
/** Return true if the set of Ids represented by `other` is identical to those in this set.
|
|
20426
20488
|
* @note This considers only the **distinct** Ids in `other` - duplicates are ignored.
|
|
@@ -20435,7 +20497,7 @@ class MutableCompressedId64Set {
|
|
|
20435
20497
|
if (typeof other === "string")
|
|
20436
20498
|
return other === this.ids;
|
|
20437
20499
|
this.updateIds();
|
|
20438
|
-
return
|
|
20500
|
+
return _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_3__.OrderedId64Iterable.areEqualSets(this, other);
|
|
20439
20501
|
}
|
|
20440
20502
|
get _isDirty() {
|
|
20441
20503
|
return !this._inserted.isEmpty || !this._deleted.isEmpty;
|
|
@@ -20443,8 +20505,8 @@ class MutableCompressedId64Set {
|
|
|
20443
20505
|
updateIds() {
|
|
20444
20506
|
if (!this._isDirty)
|
|
20445
20507
|
return;
|
|
20446
|
-
const difference =
|
|
20447
|
-
const union = { [Symbol.iterator]: () =>
|
|
20508
|
+
const difference = _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_3__.OrderedId64Iterable.difference(CompressedId64Set.iterable(this._ids), this._deleted.ids);
|
|
20509
|
+
const union = { [Symbol.iterator]: () => _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_3__.OrderedId64Iterable.unionIterator(difference, this._inserted.ids) };
|
|
20448
20510
|
this._ids = CompressedId64Set.compressIds(union);
|
|
20449
20511
|
this._inserted.clear();
|
|
20450
20512
|
this._deleted.clear();
|
|
@@ -338273,7 +338335,7 @@ class WMS {
|
|
|
338273
338335
|
(module) {
|
|
338274
338336
|
|
|
338275
338337
|
"use strict";
|
|
338276
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.16.0-dev.
|
|
338338
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.16.0-dev.12","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 build:workers && npm run -s copy:draco","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 ES2022 --outDir lib/esm","clean":"rimraf -g 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:draco":"cpx \\"./node_modules/@loaders.gl/draco/dist/libs/*\\" ./lib/public/scripts","docs":"betools docs --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts && npm run -s extract","extract":"betools extract --fileExt=ts --extractFrom=./src/test/example-code --recursive --out=../../generated-docs/extract","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-deprecation":"eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \\"./src/**/*.ts\\"","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run build:test-worker && vitest --run","cover":"npm run build:test-worker && vitest --run","build:test-worker":"vite build --config ./src/test/worker/vite.config.mts 1>&2","build:workers":"rimraf lib/workers/webpack && vite build --config ./src/workers/ImdlParser/vite.config.mts 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:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*"},"//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":{"@bentley/aec-units-schema":"catalog:schemas","@bentley/formats-schema":"catalog:schemas","@bentley/units-schema":"catalog:schemas","@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/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*","@itwin/object-storage-core":"catalog:imodels-clients","@itwin/eslint-plugin":"catalog:linting","@types/node":"catalog:build","@types/sinon":"catalog:testing","@vitest/browser-playwright":"catalog:testing","@vitest/coverage-v8":"catalog:testing","cpx2":"catalog:build","eslint":"catalog:linting","playwright":"catalog:testing","rimraf":"catalog:build","sinon":"catalog:testing","typescript":"catalog:build","vite":"catalog:bundling","vitest":"catalog:testing"},"//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/core-i18n":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^4.4.5","@loaders.gl/draco":"^4.4.5","fuse.js":"^3.3.0","wms-capabilities":"0.6.0"}}');
|
|
338277
338339
|
|
|
338278
338340
|
/***/ },
|
|
338279
338341
|
|