@itwin/rpcinterface-full-stack-tests 5.5.0-dev.12 → 5.5.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/bundled-tests.js +129 -84
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +14 -14
|
@@ -98336,6 +98336,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
98336
98336
|
/* harmony import */ var _Exception__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Exception */ "../../core/ecschema-metadata/lib/esm/Exception.js");
|
|
98337
98337
|
/* harmony import */ var _Metadata_SchemaItem__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Metadata/SchemaItem */ "../../core/ecschema-metadata/lib/esm/Metadata/SchemaItem.js");
|
|
98338
98338
|
/* harmony import */ var _SchemaKey__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SchemaKey */ "../../core/ecschema-metadata/lib/esm/SchemaKey.js");
|
|
98339
|
+
/* harmony import */ var _utils_ECClassHierarchy__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./utils/ECClassHierarchy */ "../../core/ecschema-metadata/lib/esm/utils/ECClassHierarchy.js");
|
|
98339
98340
|
/*---------------------------------------------------------------------------------------------
|
|
98340
98341
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
98341
98342
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -98344,6 +98345,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
98344
98345
|
|
|
98345
98346
|
|
|
98346
98347
|
|
|
98348
|
+
|
|
98347
98349
|
/**
|
|
98348
98350
|
* @internal
|
|
98349
98351
|
*/
|
|
@@ -98504,13 +98506,19 @@ class SchemaContext {
|
|
|
98504
98506
|
_locaters;
|
|
98505
98507
|
_knownSchemas;
|
|
98506
98508
|
_fallbackLocaterDefined;
|
|
98509
|
+
_classHierarchy;
|
|
98507
98510
|
constructor() {
|
|
98508
98511
|
this._locaters = [];
|
|
98509
98512
|
this._knownSchemas = new SchemaCache();
|
|
98510
98513
|
this._locaters.push(this._knownSchemas);
|
|
98511
98514
|
this._fallbackLocaterDefined = false;
|
|
98515
|
+
this._classHierarchy = new _utils_ECClassHierarchy__WEBPACK_IMPORTED_MODULE_4__.ECClassHierarchy();
|
|
98512
98516
|
}
|
|
98513
98517
|
get locaters() { return this._locaters; }
|
|
98518
|
+
/** @internal */
|
|
98519
|
+
get classHierarchy() {
|
|
98520
|
+
return this._classHierarchy;
|
|
98521
|
+
}
|
|
98514
98522
|
/**
|
|
98515
98523
|
* Adds a locater to the context.
|
|
98516
98524
|
*
|
|
@@ -105442,7 +105450,6 @@ class ECClass extends _SchemaItem__WEBPACK_IMPORTED_MODULE_9__.SchemaItem {
|
|
|
105442
105450
|
static get schemaItemType() { return _ECObjects__WEBPACK_IMPORTED_MODULE_3__.AbstractSchemaItemType.Class; } // need this so getItem("name", ECClass) in schema works
|
|
105443
105451
|
_modifier;
|
|
105444
105452
|
_baseClass;
|
|
105445
|
-
_derivedClasses;
|
|
105446
105453
|
_properties;
|
|
105447
105454
|
_customAttributes;
|
|
105448
105455
|
_mergedPropertyCache;
|
|
@@ -105477,18 +105484,24 @@ class ECClass extends _SchemaItem__WEBPACK_IMPORTED_MODULE_9__.SchemaItem {
|
|
|
105477
105484
|
const oldBaseClass = this._baseClass;
|
|
105478
105485
|
this._baseClass = baseClass;
|
|
105479
105486
|
if (baseClass)
|
|
105480
|
-
this.
|
|
105487
|
+
this.schema.context.classHierarchy.addBaseClass(this.key, baseClass);
|
|
105481
105488
|
else if (oldBaseClass)
|
|
105482
|
-
this.
|
|
105489
|
+
this.schema.context.classHierarchy.removeBaseClass(this.key, oldBaseClass);
|
|
105483
105490
|
}
|
|
105484
105491
|
/**
|
|
105485
105492
|
* Gets the derived classes belonging to this class.
|
|
105486
105493
|
* @returns An array of ECClasses or undefined if no derived classes exist.
|
|
105487
105494
|
*/
|
|
105488
105495
|
async getDerivedClasses() {
|
|
105489
|
-
|
|
105496
|
+
const derivedClasses = [];
|
|
105497
|
+
for (const derivedClassKey of this.schema.context.classHierarchy.getDerivedClassKeys(this.key)) {
|
|
105498
|
+
const derivedClass = await this.schema.context.getSchemaItem(derivedClassKey, ECClass);
|
|
105499
|
+
if (derivedClass)
|
|
105500
|
+
derivedClasses.push(derivedClass);
|
|
105501
|
+
}
|
|
105502
|
+
if (derivedClasses.length === 0)
|
|
105490
105503
|
return undefined;
|
|
105491
|
-
return
|
|
105504
|
+
return derivedClasses;
|
|
105492
105505
|
}
|
|
105493
105506
|
/**
|
|
105494
105507
|
* Convenience method for adding an already loaded ECProperty used by create*Property methods.
|
|
@@ -105847,9 +105860,7 @@ class ECClass extends _SchemaItem__WEBPACK_IMPORTED_MODULE_9__.SchemaItem {
|
|
|
105847
105860
|
});
|
|
105848
105861
|
}
|
|
105849
105862
|
this._baseClass = lazyBase;
|
|
105850
|
-
|
|
105851
|
-
return;
|
|
105852
|
-
this.addDerivedClass(baseClass, this);
|
|
105863
|
+
this.schema.context.classHierarchy.addBaseClass(this.key, lazyBase);
|
|
105853
105864
|
}
|
|
105854
105865
|
}
|
|
105855
105866
|
async fromJSON(classProps) {
|
|
@@ -105871,39 +105882,16 @@ class ECClass extends _SchemaItem__WEBPACK_IMPORTED_MODULE_9__.SchemaItem {
|
|
|
105871
105882
|
* This is essentially a depth-first traversal through the inheritance tree.
|
|
105872
105883
|
*/
|
|
105873
105884
|
async *getAllBaseClasses() {
|
|
105874
|
-
const
|
|
105875
|
-
|
|
105876
|
-
if (
|
|
105877
|
-
for (let i = ecClass.mixins.length - 1; i >= 0; i--) {
|
|
105878
|
-
baseClasses.push(await ecClass.mixins[i]);
|
|
105879
|
-
}
|
|
105880
|
-
}
|
|
105881
|
-
if (ecClass.baseClass)
|
|
105882
|
-
baseClasses.push(await ecClass.baseClass);
|
|
105883
|
-
};
|
|
105884
|
-
while (baseClasses.length > 0) {
|
|
105885
|
-
const baseClass = baseClasses.pop();
|
|
105886
|
-
await addBaseClasses(baseClass);
|
|
105887
|
-
if (baseClass !== this)
|
|
105885
|
+
for (const baseClassKey of this.schema.context.classHierarchy.getBaseClassKeys(this.key)) {
|
|
105886
|
+
const baseClass = await this.schema.lookupItem(baseClassKey, ECClass);
|
|
105887
|
+
if (baseClass)
|
|
105888
105888
|
yield baseClass;
|
|
105889
105889
|
}
|
|
105890
105890
|
}
|
|
105891
105891
|
*getAllBaseClassesSync() {
|
|
105892
|
-
const
|
|
105893
|
-
|
|
105894
|
-
if (ecClass.schemaItemType === _ECObjects__WEBPACK_IMPORTED_MODULE_3__.SchemaItemType.EntityClass) { // cannot use EntityClass typeguard because of circular reference
|
|
105895
|
-
for (const m of Array.from(ecClass.getMixinsSync()).reverse()) {
|
|
105896
|
-
baseClasses.push(m);
|
|
105897
|
-
}
|
|
105898
|
-
}
|
|
105899
|
-
const baseClass = ecClass.getBaseClassSync();
|
|
105892
|
+
for (const baseClassKey of this.schema.context.classHierarchy.getBaseClassKeys(this.key)) {
|
|
105893
|
+
const baseClass = this.schema.lookupItemSync(baseClassKey, ECClass);
|
|
105900
105894
|
if (baseClass)
|
|
105901
|
-
baseClasses.push(baseClass);
|
|
105902
|
-
};
|
|
105903
|
-
while (baseClasses.length > 0) {
|
|
105904
|
-
const baseClass = baseClasses.pop();
|
|
105905
|
-
addBaseClasses(baseClass);
|
|
105906
|
-
if (baseClass !== this)
|
|
105907
105895
|
yield baseClass;
|
|
105908
105896
|
}
|
|
105909
105897
|
}
|
|
@@ -106051,35 +106039,31 @@ class ECClass extends _SchemaItem__WEBPACK_IMPORTED_MODULE_9__.SchemaItem {
|
|
|
106051
106039
|
return false;
|
|
106052
106040
|
}
|
|
106053
106041
|
async is(targetClass, schemaName) {
|
|
106054
|
-
|
|
106055
|
-
|
|
106056
|
-
|
|
106057
|
-
if (_SchemaItem__WEBPACK_IMPORTED_MODULE_9__.SchemaItem.equalByKey(this, key))
|
|
106058
|
-
return true;
|
|
106059
|
-
return this.traverseBaseClasses((thisSchemaItem, thatSchemaItemOrKey) => _SchemaItem__WEBPACK_IMPORTED_MODULE_9__.SchemaItem.equalByKey(thisSchemaItem, thatSchemaItemOrKey), key);
|
|
106060
|
-
}
|
|
106061
|
-
else {
|
|
106062
|
-
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(ECClass.isECClass(targetClass), "Expected targetClass to be of type ECClass");
|
|
106063
|
-
if (_SchemaItem__WEBPACK_IMPORTED_MODULE_9__.SchemaItem.equalByKey(this, targetClass))
|
|
106064
|
-
return true;
|
|
106065
|
-
return this.traverseBaseClasses((thisSchemaItem, thatSchemaItemOrKey) => _SchemaItem__WEBPACK_IMPORTED_MODULE_9__.SchemaItem.equalByKey(thisSchemaItem, thatSchemaItemOrKey), targetClass);
|
|
106066
|
-
}
|
|
106042
|
+
return typeof targetClass === "string"
|
|
106043
|
+
? this.isSync(targetClass, schemaName ?? "")
|
|
106044
|
+
: this.isSync(targetClass);
|
|
106067
106045
|
}
|
|
106068
106046
|
/** @internal */
|
|
106069
106047
|
isSync(targetClass, schemaName) {
|
|
106048
|
+
let targetSchemaKey;
|
|
106070
106049
|
if (schemaName !== undefined) {
|
|
106071
106050
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(typeof (targetClass) === "string", "Expected targetClass of type string because schemaName was specified");
|
|
106072
|
-
|
|
106073
|
-
if (_SchemaItem__WEBPACK_IMPORTED_MODULE_9__.SchemaItem.equalByKey(this,
|
|
106051
|
+
targetSchemaKey = new _SchemaKey__WEBPACK_IMPORTED_MODULE_5__.SchemaItemKey(targetClass, new _SchemaKey__WEBPACK_IMPORTED_MODULE_5__.SchemaKey(schemaName));
|
|
106052
|
+
if (_SchemaItem__WEBPACK_IMPORTED_MODULE_9__.SchemaItem.equalByKey(this, targetSchemaKey))
|
|
106074
106053
|
return true;
|
|
106075
|
-
return this.traverseBaseClassesSync((thisSchemaItem, thatSchemaItemOrKey) => _SchemaItem__WEBPACK_IMPORTED_MODULE_9__.SchemaItem.equalByKey(thisSchemaItem, thatSchemaItemOrKey), key);
|
|
106076
106054
|
}
|
|
106077
106055
|
else {
|
|
106078
106056
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(ECClass.isECClass(targetClass), "Expected targetClass to be of type ECClass");
|
|
106079
106057
|
if (_SchemaItem__WEBPACK_IMPORTED_MODULE_9__.SchemaItem.equalByKey(this, targetClass))
|
|
106080
106058
|
return true;
|
|
106081
|
-
|
|
106059
|
+
targetSchemaKey = targetClass.key;
|
|
106082
106060
|
}
|
|
106061
|
+
for (const baseClassKey of this.schema.context.classHierarchy.getBaseClassKeys(this.key)) {
|
|
106062
|
+
if (baseClassKey.matchesFullName(targetSchemaKey.fullName)) {
|
|
106063
|
+
return true;
|
|
106064
|
+
}
|
|
106065
|
+
}
|
|
106066
|
+
return false;
|
|
106083
106067
|
}
|
|
106084
106068
|
/**
|
|
106085
106069
|
* @internal
|
|
@@ -106098,35 +106082,6 @@ class ECClass extends _SchemaItem__WEBPACK_IMPORTED_MODULE_9__.SchemaItem {
|
|
|
106098
106082
|
setModifier(modifier) {
|
|
106099
106083
|
this._modifier = modifier;
|
|
106100
106084
|
}
|
|
106101
|
-
/**
|
|
106102
|
-
* Adds an ECClass to the derived class collection. This method is only intended to update the local
|
|
106103
|
-
* cache of derived classes. For adding a class to the hierarchy, use the baseClass setter method.
|
|
106104
|
-
* @param prop The property to add.
|
|
106105
|
-
* @return The property that was added.
|
|
106106
|
-
*/
|
|
106107
|
-
addDerivedClass(baseClass, derivedClass) {
|
|
106108
|
-
if (!baseClass._derivedClasses)
|
|
106109
|
-
baseClass._derivedClasses = new Map();
|
|
106110
|
-
if (baseClass._derivedClasses.has(derivedClass.fullName))
|
|
106111
|
-
return;
|
|
106112
|
-
if (derivedClass.isSync(baseClass)) {
|
|
106113
|
-
const promise = new _DelayedPromise__WEBPACK_IMPORTED_MODULE_1__.DelayedPromiseWithProps(derivedClass.key, async () => derivedClass);
|
|
106114
|
-
baseClass._derivedClasses.set(derivedClass.fullName, promise);
|
|
106115
|
-
}
|
|
106116
|
-
}
|
|
106117
|
-
/**
|
|
106118
|
-
* Removes an ECClass from the derived class collection. This method is only intended to update the local
|
|
106119
|
-
* cache of derived classes. For updating the class hierarchy, use the baseClass setter method.
|
|
106120
|
-
* @param prop The property to add.
|
|
106121
|
-
* @return The property that was added.
|
|
106122
|
-
*/
|
|
106123
|
-
removeDerivedClass(baseClass, derivedClass) {
|
|
106124
|
-
if (!baseClass._derivedClasses)
|
|
106125
|
-
return;
|
|
106126
|
-
if (!baseClass._derivedClasses.has(derivedClass.fullName))
|
|
106127
|
-
return;
|
|
106128
|
-
baseClass._derivedClasses.delete(derivedClass.fullName);
|
|
106129
|
-
}
|
|
106130
106085
|
}
|
|
106131
106086
|
/**
|
|
106132
106087
|
* A Typescript class representation of an ECStructClass.
|
|
@@ -106562,6 +106517,7 @@ class EntityClass extends _Class__WEBPACK_IMPORTED_MODULE_4__.ECClass {
|
|
|
106562
106517
|
addMixin(mixin) {
|
|
106563
106518
|
if (!this._mixins)
|
|
106564
106519
|
this._mixins = [];
|
|
106520
|
+
this.schema.context.classHierarchy.addBaseClass(this.key, mixin.key, true);
|
|
106565
106521
|
this._mixins.push(new _DelayedPromise__WEBPACK_IMPORTED_MODULE_0__.DelayedPromiseWithProps(mixin.key, async () => mixin));
|
|
106566
106522
|
return;
|
|
106567
106523
|
}
|
|
@@ -106719,6 +106675,7 @@ class EntityClass extends _Class__WEBPACK_IMPORTED_MODULE_4__.ECClass {
|
|
|
106719
106675
|
if (!mixinSchemaItemKey)
|
|
106720
106676
|
throw new _Exception__WEBPACK_IMPORTED_MODULE_3__.ECSchemaError(_Exception__WEBPACK_IMPORTED_MODULE_3__.ECSchemaStatus.InvalidECJson, `The ECEntityClass ${this.name} has a mixin ("${name}") that cannot be found.`);
|
|
106721
106677
|
if (!this._mixins.find((value) => mixinSchemaItemKey.matchesFullName(value.fullName))) {
|
|
106678
|
+
this.schema.context.classHierarchy.addBaseClass(this.key, mixinSchemaItemKey, true);
|
|
106722
106679
|
this._mixins.push(new _DelayedPromise__WEBPACK_IMPORTED_MODULE_0__.DelayedPromiseWithProps(mixinSchemaItemKey, async () => {
|
|
106723
106680
|
const mixin = await this.schema.lookupItem(mixinSchemaItemKey, _Mixin__WEBPACK_IMPORTED_MODULE_5__.Mixin);
|
|
106724
106681
|
if (undefined === mixin)
|
|
@@ -112584,6 +112541,94 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
112584
112541
|
*/
|
|
112585
112542
|
|
|
112586
112543
|
|
|
112544
|
+
/***/ }),
|
|
112545
|
+
|
|
112546
|
+
/***/ "../../core/ecschema-metadata/lib/esm/utils/ECClassHierarchy.js":
|
|
112547
|
+
/*!**********************************************************************!*\
|
|
112548
|
+
!*** ../../core/ecschema-metadata/lib/esm/utils/ECClassHierarchy.js ***!
|
|
112549
|
+
\**********************************************************************/
|
|
112550
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
112551
|
+
|
|
112552
|
+
"use strict";
|
|
112553
|
+
__webpack_require__.r(__webpack_exports__);
|
|
112554
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
112555
|
+
/* harmony export */ ECClassHierarchy: () => (/* binding */ ECClassHierarchy)
|
|
112556
|
+
/* harmony export */ });
|
|
112557
|
+
/**
|
|
112558
|
+
* The class hierarchy is a helper class that maintains the relationships between ECClasses and their base classes
|
|
112559
|
+
* within a SchemaContext. It allows for efficient retrieval of base and derived classes based on their schema item
|
|
112560
|
+
* keys to support lazy loaded classes properly.
|
|
112561
|
+
* @internal
|
|
112562
|
+
*/
|
|
112563
|
+
class ECClassHierarchy {
|
|
112564
|
+
_hierarchy = new Map();
|
|
112565
|
+
addClassEntry(classKey) {
|
|
112566
|
+
const classEntry = { baseClasses: [], derivedClasses: [] };
|
|
112567
|
+
this._hierarchy.set(classKey.fullName, classEntry);
|
|
112568
|
+
return classEntry;
|
|
112569
|
+
}
|
|
112570
|
+
addBaseClass(classKey, baseClassKey, isMixin = false) {
|
|
112571
|
+
const classEntry = this._hierarchy.get(classKey.fullName) ?? this.addClassEntry(classKey);
|
|
112572
|
+
if (!classEntry.baseClasses.find((entry) => entry.baseClassKey.matches(baseClassKey))) {
|
|
112573
|
+
classEntry.baseClasses.push({ baseClassKey, isMixin });
|
|
112574
|
+
}
|
|
112575
|
+
if (!isMixin) {
|
|
112576
|
+
this.addDerivedClass(baseClassKey, classKey);
|
|
112577
|
+
}
|
|
112578
|
+
}
|
|
112579
|
+
addDerivedClass(baseClassKey, classKey) {
|
|
112580
|
+
const baseClassEntry = this._hierarchy.get(baseClassKey.fullName) ?? this.addClassEntry(baseClassKey);
|
|
112581
|
+
if (!baseClassEntry.derivedClasses.find((derivedKey) => derivedKey.matches(classKey))) {
|
|
112582
|
+
baseClassEntry.derivedClasses.push(classKey);
|
|
112583
|
+
}
|
|
112584
|
+
}
|
|
112585
|
+
removeBaseClass(classKey, baseClassKey) {
|
|
112586
|
+
const classEntry = this._hierarchy.get(classKey.fullName);
|
|
112587
|
+
if (!classEntry) {
|
|
112588
|
+
return;
|
|
112589
|
+
}
|
|
112590
|
+
const index = classEntry.baseClasses.findIndex((entry) => entry.baseClassKey.matches(baseClassKey));
|
|
112591
|
+
if (index !== -1) {
|
|
112592
|
+
classEntry.baseClasses.splice(index, 1);
|
|
112593
|
+
}
|
|
112594
|
+
this.removedDerivedClass(baseClassKey, classKey);
|
|
112595
|
+
}
|
|
112596
|
+
removedDerivedClass(baseClassKey, classKey) {
|
|
112597
|
+
const baseClassEntry = this._hierarchy.get(baseClassKey.fullName);
|
|
112598
|
+
if (!baseClassEntry) {
|
|
112599
|
+
return;
|
|
112600
|
+
}
|
|
112601
|
+
const derivedIndex = baseClassEntry.derivedClasses.findIndex((derivedKey) => derivedKey.matches(classKey));
|
|
112602
|
+
if (derivedIndex !== -1) {
|
|
112603
|
+
baseClassEntry.derivedClasses.splice(derivedIndex, 1);
|
|
112604
|
+
}
|
|
112605
|
+
}
|
|
112606
|
+
getBaseClassKeys(classKey) {
|
|
112607
|
+
const classEntry = this._hierarchy.get(classKey.fullName);
|
|
112608
|
+
if (!classEntry) {
|
|
112609
|
+
return [];
|
|
112610
|
+
}
|
|
112611
|
+
const baseClassKeys = [];
|
|
112612
|
+
for (const entry of classEntry.baseClasses) {
|
|
112613
|
+
baseClassKeys.push(entry.baseClassKey);
|
|
112614
|
+
baseClassKeys.push(...this.getBaseClassKeys(entry.baseClassKey));
|
|
112615
|
+
}
|
|
112616
|
+
return baseClassKeys;
|
|
112617
|
+
}
|
|
112618
|
+
getDerivedClassKeys(classKey) {
|
|
112619
|
+
const classEntry = this._hierarchy.get(classKey.fullName);
|
|
112620
|
+
if (!classEntry) {
|
|
112621
|
+
return [];
|
|
112622
|
+
}
|
|
112623
|
+
const derivedClassKeys = [...classEntry.derivedClasses];
|
|
112624
|
+
for (const derivedClassKey of classEntry.derivedClasses) {
|
|
112625
|
+
derivedClassKeys.push(...this.getDerivedClassKeys(derivedClassKey));
|
|
112626
|
+
}
|
|
112627
|
+
return derivedClassKeys;
|
|
112628
|
+
}
|
|
112629
|
+
}
|
|
112630
|
+
|
|
112631
|
+
|
|
112587
112632
|
/***/ }),
|
|
112588
112633
|
|
|
112589
112634
|
/***/ "../../core/ecschema-metadata/lib/esm/utils/SchemaGraph.js":
|
|
@@ -344453,7 +344498,7 @@ class TestContext {
|
|
|
344453
344498
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
344454
344499
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
344455
344500
|
await core_frontend_1.NoRenderApp.startup({
|
|
344456
|
-
applicationVersion: "5.5.0-dev.
|
|
344501
|
+
applicationVersion: "5.5.0-dev.13",
|
|
344457
344502
|
applicationId: this.settings.gprid,
|
|
344458
344503
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.serviceAuthToken),
|
|
344459
344504
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -371077,7 +371122,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
371077
371122
|
/***/ ((module) => {
|
|
371078
371123
|
|
|
371079
371124
|
"use strict";
|
|
371080
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.5.0-dev.
|
|
371125
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.5.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 && 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:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","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","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 webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run","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:*","@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":{"@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":"^3.0.4","@itwin/eslint-plugin":"5.2.2-dev.2","@types/chai-as-promised":"^7","@types/draco3d":"^1.4.10","@types/sinon":"^17.0.2","@vitest/browser":"^3.0.6","@vitest/coverage-v8":"^3.0.6","cpx2":"^8.0.0","eslint":"^9.31.0","glob":"^10.5.0","playwright":"~1.56.1","rimraf":"^6.0.1","sinon":"^17.0.2","source-map-loader":"^5.0.0","typescript":"~5.6.2","typemoq":"^2.1.0","vitest":"^3.0.6","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"2.2.0","webpack":"^5.97.1"},"//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/draco":"^4.3.4","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
|
|
371081
371126
|
|
|
371082
371127
|
/***/ }),
|
|
371083
371128
|
|