@itwin/rpcinterface-full-stack-tests 5.0.0-dev.67 → 5.0.0-dev.69

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.
@@ -34927,6 +34927,9 @@ var GeoServiceStatus;
34927
34927
  GeoServiceStatus[GeoServiceStatus["NoDatumConverter"] = 147459] = "NoDatumConverter";
34928
34928
  GeoServiceStatus[GeoServiceStatus["VerticalDatumConvertError"] = 147460] = "VerticalDatumConvertError";
34929
34929
  GeoServiceStatus[GeoServiceStatus["CSMapError"] = 147461] = "CSMapError";
34930
+ /**
34931
+ * @deprecated in 5.0. This status is never returned.
34932
+ */
34930
34933
  GeoServiceStatus[GeoServiceStatus["Pending"] = 147462] = "Pending";
34931
34934
  })(GeoServiceStatus || (GeoServiceStatus = {}));
34932
34935
  /** Error status from various reality data operations
@@ -35238,7 +35241,7 @@ class BentleyError extends Error {
35238
35241
  case GeoServiceStatus.NoDatumConverter: return "No datum converter";
35239
35242
  case GeoServiceStatus.VerticalDatumConvertError: return "Vertical datum convert error";
35240
35243
  case GeoServiceStatus.CSMapError: return "CSMap error";
35241
- case GeoServiceStatus.Pending: return "Pending";
35244
+ case GeoServiceStatus.Pending: return "Pending"; // eslint-disable-line @typescript-eslint/no-deprecated
35242
35245
  case RealityDataStatus.InvalidData: return "Invalid or unknown data";
35243
35246
  case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_OK:
35244
35247
  case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_ROW:
@@ -35560,6 +35563,8 @@ __webpack_require__.r(__webpack_exports__);
35560
35563
  /* harmony export */ compareNumbers: () => (/* binding */ compareNumbers),
35561
35564
  /* harmony export */ compareNumbersOrUndefined: () => (/* binding */ compareNumbersOrUndefined),
35562
35565
  /* harmony export */ comparePossiblyUndefined: () => (/* binding */ comparePossiblyUndefined),
35566
+ /* harmony export */ compareSimpleArrays: () => (/* binding */ compareSimpleArrays),
35567
+ /* harmony export */ compareSimpleTypes: () => (/* binding */ compareSimpleTypes),
35563
35568
  /* harmony export */ compareStrings: () => (/* binding */ compareStrings),
35564
35569
  /* harmony export */ compareStringsOrUndefined: () => (/* binding */ compareStringsOrUndefined),
35565
35570
  /* harmony export */ compareWithTolerance: () => (/* binding */ compareWithTolerance)
@@ -35627,6 +35632,52 @@ function areEqualPossiblyUndefined(t, u, areEqual) {
35627
35632
  else
35628
35633
  return areEqual(t, u);
35629
35634
  }
35635
+ /**
35636
+ * Compare two simples types (number, string, boolean)
35637
+ * This essentially wraps the existing type-specific comparison functions
35638
+ * @beta */
35639
+ function compareSimpleTypes(lhs, rhs) {
35640
+ let cmp = 0;
35641
+ // Make sure the types are the same
35642
+ cmp = compareStrings(typeof lhs, typeof rhs);
35643
+ if (cmp !== 0) {
35644
+ return cmp;
35645
+ }
35646
+ // Compare actual values
35647
+ switch (typeof lhs) {
35648
+ case "number":
35649
+ return compareNumbers(lhs, rhs);
35650
+ case "string":
35651
+ return compareStrings(lhs, rhs);
35652
+ case "boolean":
35653
+ return compareBooleans(lhs, rhs);
35654
+ }
35655
+ return cmp;
35656
+ }
35657
+ /**
35658
+ * Compare two arrays of simple types (number, string, boolean)
35659
+ * @beta
35660
+ */
35661
+ function compareSimpleArrays(lhs, rhs) {
35662
+ if (undefined === lhs)
35663
+ return undefined === rhs ? 0 : -1;
35664
+ else if (undefined === rhs)
35665
+ return 1;
35666
+ else if (lhs.length === 0 && rhs.length === 0) {
35667
+ return 0;
35668
+ }
35669
+ else if (lhs.length !== rhs.length) {
35670
+ return lhs.length - rhs.length;
35671
+ }
35672
+ let cmp = 0;
35673
+ for (let i = 0; i < lhs.length; i++) {
35674
+ cmp = compareSimpleTypes(lhs[i], rhs[i]);
35675
+ if (cmp !== 0) {
35676
+ break;
35677
+ }
35678
+ }
35679
+ return cmp;
35680
+ }
35630
35681
 
35631
35682
 
35632
35683
  /***/ }),
@@ -39614,7 +39665,7 @@ function lookupHttpStatusCategory(statusCode) {
39614
39665
  case _BentleyError__WEBPACK_IMPORTED_MODULE_0__.GeoServiceStatus.NoDatumConverter: return new OperationFailed();
39615
39666
  case _BentleyError__WEBPACK_IMPORTED_MODULE_0__.GeoServiceStatus.VerticalDatumConvertError: return new OperationFailed();
39616
39667
  case _BentleyError__WEBPACK_IMPORTED_MODULE_0__.GeoServiceStatus.CSMapError: return new InternalError();
39617
- case _BentleyError__WEBPACK_IMPORTED_MODULE_0__.GeoServiceStatus.Pending: return new Pending();
39668
+ case _BentleyError__WEBPACK_IMPORTED_MODULE_0__.GeoServiceStatus.Pending: return new Pending(); // eslint-disable-line @typescript-eslint/no-deprecated
39618
39669
  case _BentleyError__WEBPACK_IMPORTED_MODULE_0__.RealityDataStatus.Success: return new Success();
39619
39670
  case _BentleyError__WEBPACK_IMPORTED_MODULE_0__.RealityDataStatus.InvalidData: return new InvalidData();
39620
39671
  default: return new UnknownError();
@@ -40623,6 +40674,8 @@ __webpack_require__.r(__webpack_exports__);
40623
40674
  /* harmony export */ compareNumbers: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareNumbers),
40624
40675
  /* harmony export */ compareNumbersOrUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareNumbersOrUndefined),
40625
40676
  /* harmony export */ comparePossiblyUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.comparePossiblyUndefined),
40677
+ /* harmony export */ compareSimpleArrays: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareSimpleArrays),
40678
+ /* harmony export */ compareSimpleTypes: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareSimpleTypes),
40626
40679
  /* harmony export */ compareStrings: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareStrings),
40627
40680
  /* harmony export */ compareStringsOrUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareStringsOrUndefined),
40628
40681
  /* harmony export */ compareWithTolerance: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareWithTolerance),
@@ -48632,6 +48685,7 @@ var GeoCoordStatus;
48632
48685
  /** This temporary status is used to mark coordinates for which the conversion has not yet been processed by the backend
48633
48686
  * as opposed to other coordinate conversions that may have been resolved otherwise (typically a cache).
48634
48687
  * At the completion of the conversion promise no coordinates should have this status.
48688
+ * @deprecated in 5.0. Pending is no longer returned as a status for coordinate conversions.
48635
48689
  */
48636
48690
  GeoCoordStatus[GeoCoordStatus["Pending"] = -41556] = "Pending";
48637
48691
  })(GeoCoordStatus || (GeoCoordStatus = {}));
@@ -48647,7 +48701,7 @@ function mapToGeoServiceStatus(s) {
48647
48701
  case GeoCoordStatus.NoDatumConverter: return _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.GeoServiceStatus.NoDatumConverter;
48648
48702
  case GeoCoordStatus.VerticalDatumConvertError: return _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.GeoServiceStatus.VerticalDatumConvertError;
48649
48703
  case GeoCoordStatus.CSMapError: return _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.GeoServiceStatus.CSMapError;
48650
- case GeoCoordStatus.Pending: return _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.GeoServiceStatus.Pending;
48704
+ case GeoCoordStatus.Pending: return _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.GeoServiceStatus.Pending; // eslint-disable-line @typescript-eslint/no-deprecated
48651
48705
  default:
48652
48706
  throw new Error("GeoCoordStatus -> GeoServiceStatus - Missing enum conversion");
48653
48707
  }
@@ -51465,6 +51519,7 @@ __webpack_require__.r(__webpack_exports__);
51465
51519
  */
51466
51520
 
51467
51521
 
51522
+ ;
51468
51523
  /** Normalized representation of a [[MapSubLayerProps]] for which values
51469
51524
  * have been validated and default values have been applied where explicit values not defined.
51470
51525
  * A map sub layer represents a set of objects within the layer that can be controlled separately. These
@@ -51611,6 +51666,10 @@ class ImageMapLayerSettings extends MapLayerSettings {
51611
51666
  * @beta
51612
51667
  */
51613
51668
  unsavedQueryParams;
51669
+ /** Properties specific to the map layer provider.
51670
+ * @beta
51671
+ */
51672
+ properties;
51614
51673
  subLayers;
51615
51674
  get source() { return this.url; }
51616
51675
  /** @internal */
@@ -51623,6 +51682,9 @@ class ImageMapLayerSettings extends MapLayerSettings {
51623
51682
  if (props.queryParams) {
51624
51683
  this.savedQueryParams = { ...props.queryParams };
51625
51684
  }
51685
+ if (props.properties) {
51686
+ this.properties = { ...props.properties };
51687
+ }
51626
51688
  this.subLayers = [];
51627
51689
  if (!props.subLayers)
51628
51690
  return;
@@ -51644,6 +51706,9 @@ class ImageMapLayerSettings extends MapLayerSettings {
51644
51706
  props.subLayers = this.subLayers.map((x) => x.toJSON());
51645
51707
  if (this.savedQueryParams)
51646
51708
  props.queryParams = { ...this.savedQueryParams };
51709
+ if (this.properties) {
51710
+ props.properties = structuredClone(this.properties);
51711
+ }
51647
51712
  return props;
51648
51713
  }
51649
51714
  /** Create a copy of this MapLayerSettings, optionally modifying some of its properties.
@@ -51655,7 +51720,6 @@ class ImageMapLayerSettings extends MapLayerSettings {
51655
51720
  // Clone members not part of MapLayerProps
51656
51721
  clone.userName = this.userName;
51657
51722
  clone.password = this.password;
51658
- clone.accessKey = this.accessKey;
51659
51723
  if (this.unsavedQueryParams)
51660
51724
  clone.unsavedQueryParams = { ...this.unsavedQueryParams };
51661
51725
  if (this.savedQueryParams)
@@ -51675,6 +51739,12 @@ class ImageMapLayerSettings extends MapLayerSettings {
51675
51739
  else if (this.savedQueryParams) {
51676
51740
  props.queryParams = { ...this.savedQueryParams };
51677
51741
  }
51742
+ if (changedProps.properties) {
51743
+ props.properties = { ...changedProps.properties };
51744
+ }
51745
+ else if (this.properties) {
51746
+ props.properties = { ...this.properties };
51747
+ }
51678
51748
  return props;
51679
51749
  }
51680
51750
  /** @internal */
@@ -88276,11 +88346,17 @@ class AccuDraw {
88276
88346
  stringFromAngle(angle) {
88277
88347
  if (this.isBearingMode && this.flags.bearingFixToPlane2D) {
88278
88348
  const point = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(this.axes.x.x, this.axes.x.y, 0.0);
88349
+ const matrix = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Matrix3d.createRows(this.axes.x, this.axes.y, this.axes.z);
88350
+ if (matrix.determinant() < 0)
88351
+ angle = -angle; // Account for left handed rotations...
88279
88352
  point.normalizeInPlace();
88280
88353
  let adjustment = Math.acos(point.x);
88281
88354
  if (point.y < 0.0)
88282
88355
  adjustment = -adjustment;
88283
- angle += adjustment;
88356
+ angle += adjustment; // This is the angle measured from design x...
88357
+ angle = (Math.PI / 2) - angle; // Account for bearing direction convention...
88358
+ if (angle < 0)
88359
+ angle = (Math.PI * 2) + angle; // Negative bearings aren't valid?
88284
88360
  }
88285
88361
  const formatterSpec = this.getAngleFormatter();
88286
88362
  let formattedValue = angle.toString();
@@ -88320,7 +88396,10 @@ class AccuDraw {
88320
88396
  case ItemField.ANGLE_Item:
88321
88397
  parseResult = this.stringToAngle(input);
88322
88398
  if (_itwin_core_quantity__WEBPACK_IMPORTED_MODULE_13__.Parser.isParsedQuantity(parseResult)) {
88323
- this._angle = parseResult.value;
88399
+ if (this.isBearingMode && this.flags.bearingFixToPlane2D)
88400
+ this._angle = (Math.PI / 2) - parseResult.value;
88401
+ else
88402
+ this._angle = parseResult.value;
88324
88403
  break;
88325
88404
  }
88326
88405
  return _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.ERROR;
@@ -92894,6 +92973,10 @@ class BriefcaseConnection extends _IModelConnection__WEBPACK_IMPORTED_MODULE_5__
92894
92973
  async saveChanges(description) {
92895
92974
  await _IpcApp__WEBPACK_IMPORTED_MODULE_6__.IpcApp.appFunctionIpc.saveChanges(this.key, description);
92896
92975
  }
92976
+ /** Abandon pending changes to this briefcase. */
92977
+ async abandonChanges() {
92978
+ await _IpcApp__WEBPACK_IMPORTED_MODULE_6__.IpcApp.appFunctionIpc.abandonChanges(this.key);
92979
+ }
92897
92980
  /** Pull (and potentially merge if there are local changes) up to a specified changeset from iModelHub into this briefcase
92898
92981
  * @param toIndex The changeset index to pull changes to. If `undefined`, pull all changes.
92899
92982
  * @param options Options for pulling changes.
@@ -113163,7 +113246,7 @@ class ScreenViewport extends Viewport {
113163
113246
  const logo = this._logo = _IModelApp__WEBPACK_IMPORTED_MODULE_10__.IModelApp.makeHTMLElement("img", { parent: this.vpDiv, className: "imodeljs-icon" });
113164
113247
  logo.src = `${_IModelApp__WEBPACK_IMPORTED_MODULE_10__.IModelApp.publicPath}images/imodeljs-icon.svg`;
113165
113248
  logo.alt = "";
113166
- const showLogos = (ev) => {
113249
+ const showLogos = async (ev) => {
113167
113250
  const aboutBox = _IModelApp__WEBPACK_IMPORTED_MODULE_10__.IModelApp.makeModalDiv({ autoClose: true, width: 460, closeBox: true, rootDiv: this.vpDiv.ownerDocument.body }).modal;
113168
113251
  aboutBox.className += " imodeljs-about"; // only added so the CSS knows this is the about dialog
113169
113252
  const logos = _IModelApp__WEBPACK_IMPORTED_MODULE_10__.IModelApp.makeHTMLElement("table", { parent: aboutBox, className: "logo-cards" });
@@ -113171,9 +113254,11 @@ class ScreenViewport extends Viewport {
113171
113254
  logos.appendChild(_IModelApp__WEBPACK_IMPORTED_MODULE_10__.IModelApp.applicationLogoCard());
113172
113255
  }
113173
113256
  logos.appendChild(_IModelApp__WEBPACK_IMPORTED_MODULE_10__.IModelApp.makeIModelJsLogoCard());
113257
+ const promises = new Array();
113174
113258
  for (const ref of this.getTileTreeRefs()) {
113175
- ref.addLogoCards(logos, this);
113259
+ promises.push(ref.addAttributions(logos, this));
113176
113260
  }
113261
+ await Promise.all(promises);
113177
113262
  ev.stopPropagation();
113178
113263
  };
113179
113264
  logo.onclick = showLogos;
@@ -113381,7 +113466,7 @@ class ScreenViewport extends Viewport {
113381
113466
  // Some naughty decorators unwittingly do so by e.g. invalidating the scene in their decorate method.
113382
113467
  this._decorationCache.prohibitRemoval = true;
113383
113468
  context.addFromDecorator(this.view);
113384
- for (const ref of this.tiledGraphicsProviderRefs()) {
113469
+ for (const ref of this.getTileTreeRefs()) {
113385
113470
  context.addFromDecorator(ref);
113386
113471
  }
113387
113472
  for (const decorator of _IModelApp__WEBPACK_IMPORTED_MODULE_10__.IModelApp.viewManager.decorators)
@@ -159904,12 +159989,17 @@ class RealityTreeReference extends RealityModelTileTree.Reference {
159904
159989
  div.innerHTML = strings.join("<br>");
159905
159990
  return div;
159906
159991
  }
159992
+ /** @deprecated in 5.0 Use [addAttributions] instead. */
159907
159993
  addLogoCards(cards) {
159908
159994
  if (this._rdSourceKey.provider === _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.CesiumIonAsset && !cards.dataset.openStreetMapLogoCard) {
159909
159995
  cards.dataset.openStreetMapLogoCard = "true";
159910
159996
  cards.appendChild(_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.makeLogoCard({ heading: "OpenStreetMap", notice: `&copy;<a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> ${_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.localization.getLocalizedString("iModelJs:BackgroundMap:OpenStreetMapContributors")}` }));
159911
159997
  }
159912
159998
  }
159999
+ async addAttributions(cards) {
160000
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
160001
+ return Promise.resolve(this.addLogoCards(cards));
160002
+ }
159913
160003
  }
159914
160004
 
159915
160005
 
@@ -161599,12 +161689,17 @@ class ArcGISMapLayerImageryProvider extends _tile_internal__WEBPACK_IMPORTED_MOD
161599
161689
  }
161600
161690
  }
161601
161691
  }
161692
+ /** @deprecated in 5.0 Use [addAttributions] instead. */
161602
161693
  addLogoCards(cards) {
161603
161694
  if (!cards.dataset.arcGisLogoCard) {
161604
161695
  cards.dataset.arcGisLogoCard = "true";
161605
161696
  cards.appendChild(_IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.makeLogoCard({ heading: "ArcGIS", notice: this._copyrightText }));
161606
161697
  }
161607
161698
  }
161699
+ async addAttributions(cards, _vp) {
161700
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
161701
+ return Promise.resolve(this.addLogoCards(cards));
161702
+ }
161608
161703
  // Translates the provided Cartographic into a EPSG:3857 point, and retrieve information.
161609
161704
  // tolerance is in pixels
161610
161705
  async getIdentifyData(quadId, carto, tolerance, returnGeometry, maxAllowableOffset) {
@@ -161824,12 +161919,17 @@ class AzureMapsLayerImageryProvider extends _tile_internal__WEBPACK_IMPORTED_MOD
161824
161919
  return "";
161825
161920
  return `${this._settings.url}&${this._settings.accessKey.key}=${this._settings.accessKey.value}&api-version=2.0&zoom=${zoom}&x=${x}&y=${y}`;
161826
161921
  }
161922
+ /** @deprecated in 5.0 Use [addAttributions] instead. */
161827
161923
  addLogoCards(cards) {
161828
161924
  if (!cards.dataset.azureMapsLogoCard) {
161829
161925
  cards.dataset.azureMapsLogoCard = "true";
161830
161926
  cards.appendChild(_IModelApp__WEBPACK_IMPORTED_MODULE_0__.IModelApp.makeLogoCard({ heading: "Azure Maps", notice: _IModelApp__WEBPACK_IMPORTED_MODULE_0__.IModelApp.localization.getLocalizedString("iModelJs:BackgroundMap.AzureMapsCopyright") }));
161831
161927
  }
161832
161928
  }
161929
+ async addAttributions(cards, _vp) {
161930
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
161931
+ return Promise.resolve(this.addLogoCards(cards));
161932
+ }
161833
161933
  }
161834
161934
 
161835
161935
 
@@ -161986,6 +162086,7 @@ class BingMapsImageryLayerProvider extends _tile_internal__WEBPACK_IMPORTED_MODU
161986
162086
  }
161987
162087
  return matchingAttributions;
161988
162088
  }
162089
+ /** @deprecated in 5.0 Use [addAttributions] instead. */
161989
162090
  addLogoCards(cards, vp) {
161990
162091
  const tiles = _IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.tileAdmin.getTilesForUser(vp)?.selected;
161991
162092
  const matchingAttributions = this.getMatchingAttributions(tiles);
@@ -162000,6 +162101,10 @@ class BingMapsImageryLayerProvider extends _tile_internal__WEBPACK_IMPORTED_MODU
162000
162101
  }
162001
162102
  cards.appendChild(_IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.makeLogoCard({ iconSrc: `${_IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.publicPath}images/bing.svg`, heading: "Microsoft Bing", notice: copyrightMsg }));
162002
162103
  }
162104
+ async addAttributions(cards, vp) {
162105
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
162106
+ return Promise.resolve(this.addLogoCards(cards, vp));
162107
+ }
162003
162108
  // initializes the BingImageryProvider by reading the templateUrl, logo image, and attribution list.
162004
162109
  async initialize() {
162005
162110
  // get the template url
@@ -162438,12 +162543,17 @@ class MapBoxLayerImageryProvider extends _tile_internal__WEBPACK_IMPORTED_MODULE
162438
162543
  url = url.concat(`?${this._settings.accessKey.key}=${this._settings.accessKey.value}`);
162439
162544
  return url;
162440
162545
  }
162546
+ /** @deprecated in 5.0 Use [addAttributions] instead. */
162441
162547
  addLogoCards(cards) {
162442
162548
  if (!cards.dataset.mapboxLogoCard) {
162443
162549
  cards.dataset.mapboxLogoCard = "true";
162444
162550
  cards.appendChild(_IModelApp__WEBPACK_IMPORTED_MODULE_0__.IModelApp.makeLogoCard({ heading: "Mapbox", notice: _IModelApp__WEBPACK_IMPORTED_MODULE_0__.IModelApp.localization.getLocalizedString("iModelJs:BackgroundMap.MapBoxCopyright") }));
162445
162551
  }
162446
162552
  }
162553
+ async addAttributions(cards, _vp) {
162554
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
162555
+ return Promise.resolve(this.addLogoCards(cards));
162556
+ }
162447
162557
  // no initialization needed for MapBoxImageryProvider.
162448
162558
  async initialize() { }
162449
162559
  }
@@ -174781,8 +174891,15 @@ class TileTreeReference /* implements RenderMemory.Consumer */ {
174781
174891
  * @beta
174782
174892
  */
174783
174893
  get planarClipMaskPriority() { return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.PlanarClipMaskPriority.DesignModel; }
174784
- /** Add attribution logo cards for the tile tree source logo cards to the viewport's logo div. */
174894
+ /** @deprecated in 5.0 Use [addAttributions] instead. */
174785
174895
  addLogoCards(_cards, _vp) { }
174896
+ /** Add attribution logo cards for the tile tree source logo cards to the viewport's logo div.
174897
+ * @beta
174898
+ */
174899
+ async addAttributions(cards, vp) {
174900
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
174901
+ return Promise.resolve(this.addLogoCards(cards, vp));
174902
+ }
174786
174903
  /** Create a tile tree reference equivalent to this one that also supplies an implementation of [[GeometryTileTreeReference.collectTileGeometry]].
174787
174904
  * Return `undefined` if geometry collection is not supported.
174788
174905
  * @see [[createGeometryTreeReference]].
@@ -175729,6 +175846,7 @@ class CesiumTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_8__.Terra
175729
175846
  this._assetId = opts.dataSource || _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.CesiumTerrainAssetId.Default;
175730
175847
  this._tokenTimeOut = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeTimePoint.now().plus(CesiumTerrainProvider._tokenTimeoutInterval);
175731
175848
  }
175849
+ /** @deprecated in 5.0 Use [addAttributions] instead. */
175732
175850
  addLogoCards(cards) {
175733
175851
  if (cards.dataset.cesiumIonLogoCard)
175734
175852
  return;
@@ -175739,6 +175857,10 @@ class CesiumTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_8__.Terra
175739
175857
  const card = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.makeLogoCard({ iconSrc: `${_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.publicPath}images/cesium-ion.svg`, heading: "Cesium Ion", notice });
175740
175858
  cards.appendChild(card);
175741
175859
  }
175860
+ async addAttributions(cards, _vp) {
175861
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
175862
+ return Promise.resolve(this.addLogoCards(cards));
175863
+ }
175742
175864
  get maxDepth() { return this._maxDepth; }
175743
175865
  get tilingScheme() { return this._tilingScheme; }
175744
175866
  isTileAvailable(quadId) {
@@ -176344,9 +176466,14 @@ class ImageryMapTileTree extends _internal__WEBPACK_IMPORTED_MODULE_4__.RealityT
176344
176466
  this._rootTile = new ImageryMapTile(params.rootTile, this, rootQuadId, this.getTileRectangle(rootQuadId));
176345
176467
  }
176346
176468
  get tilingScheme() { return this._imageryLoader.imageryProvider.tilingScheme; }
176469
+ /** @deprecated in 5.0 Use [addAttributions] instead. */
176347
176470
  addLogoCards(cards, vp) {
176471
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
176348
176472
  this._imageryLoader.addLogoCards(cards, vp);
176349
176473
  }
176474
+ async addAttributions(cards, vp) {
176475
+ return this._imageryLoader.addAttributions(cards, vp);
176476
+ }
176350
176477
  getTileRectangle(quadId) {
176351
176478
  return this.tilingScheme.tileXYToRectangle(quadId.column, quadId.row, quadId.level);
176352
176479
  }
@@ -176393,9 +176520,14 @@ class ImageryTileLoader extends _internal__WEBPACK_IMPORTED_MODULE_4__.RealityTi
176393
176520
  get maxDepth() { return this._imageryProvider.maximumZoomLevel; }
176394
176521
  get minDepth() { return this._imageryProvider.minimumZoomLevel; }
176395
176522
  get priority() { return _internal__WEBPACK_IMPORTED_MODULE_4__.TileLoadPriority.Map; }
176523
+ /** @deprecated in 5.0 Use [addAttributions] instead. */
176396
176524
  addLogoCards(cards, vp) {
176525
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
176397
176526
  this._imageryProvider.addLogoCards(cards, vp);
176398
176527
  }
176528
+ async addAttributions(cards, vp) {
176529
+ await this._imageryProvider.addAttributions(cards, vp);
176530
+ }
176399
176531
  get maximumScreenSize() { return this._imageryProvider.maximumScreenSize; }
176400
176532
  get imageryProvider() { return this._imageryProvider; }
176401
176533
  async getToolTip(strings, quadId, carto, tree) { await this._imageryProvider.getToolTip(strings, quadId, carto, tree); }
@@ -176456,12 +176588,48 @@ class ImageryMapLayerTreeSupplier {
176456
176588
  if (0 === cmp) {
176457
176589
  cmp = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.compareBooleans)(lhs.settings.transparentBackground, rhs.settings.transparentBackground);
176458
176590
  if (0 === cmp) {
176459
- cmp = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.compareNumbers)(lhs.settings.subLayers.length, rhs.settings.subLayers.length);
176591
+ if (lhs.settings.properties || rhs.settings.properties) {
176592
+ if (lhs.settings.properties && rhs.settings.properties) {
176593
+ const lhsKeysLength = Object.keys(lhs.settings.properties).length;
176594
+ const rhsKeysLength = Object.keys(rhs.settings.properties).length;
176595
+ if (lhsKeysLength !== rhsKeysLength) {
176596
+ cmp = lhsKeysLength - rhsKeysLength;
176597
+ }
176598
+ else {
176599
+ for (const key of Object.keys(lhs.settings.properties)) {
176600
+ const lhsProp = lhs.settings.properties[key];
176601
+ const rhsProp = rhs.settings.properties[key];
176602
+ cmp = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.compareStrings)(typeof lhsProp, typeof rhsProp);
176603
+ if (0 !== cmp)
176604
+ break;
176605
+ if (Array.isArray(lhsProp) || Array.isArray(rhsProp)) {
176606
+ cmp = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.compareSimpleArrays)(lhsProp, rhsProp);
176607
+ if (0 !== cmp)
176608
+ break;
176609
+ }
176610
+ else {
176611
+ cmp = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.compareSimpleTypes)(lhsProp, rhsProp);
176612
+ if (0 !== cmp)
176613
+ break;
176614
+ }
176615
+ }
176616
+ }
176617
+ }
176618
+ else if (!lhs.settings.properties) {
176619
+ cmp = 1;
176620
+ }
176621
+ else {
176622
+ cmp = -1;
176623
+ }
176624
+ }
176460
176625
  if (0 === cmp) {
176461
- for (let i = 0; i < lhs.settings.subLayers.length && 0 === cmp; i++) {
176462
- cmp = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.compareStrings)(lhs.settings.subLayers[i].name, rhs.settings.subLayers[i].name);
176463
- if (0 === cmp) {
176464
- cmp = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.compareBooleans)(lhs.settings.subLayers[i].visible, rhs.settings.subLayers[i].visible);
176626
+ cmp = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.compareNumbers)(lhs.settings.subLayers.length, rhs.settings.subLayers.length);
176627
+ if (0 === cmp) {
176628
+ for (let i = 0; i < lhs.settings.subLayers.length && 0 === cmp; i++) {
176629
+ cmp = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.compareStrings)(lhs.settings.subLayers[i].name, rhs.settings.subLayers[i].name);
176630
+ if (0 === cmp) {
176631
+ cmp = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.compareBooleans)(lhs.settings.subLayers[i].visible, rhs.settings.subLayers[i].visible);
176632
+ }
176465
176633
  }
176466
176634
  }
176467
176635
  }
@@ -177245,13 +177413,18 @@ class MapLayerImageryProvider {
177245
177413
  });
177246
177414
  }
177247
177415
  get tilingScheme() { return this.useGeographicTilingScheme ? this._geographicTilingScheme : this._mercatorTilingScheme; }
177416
+ /** @deprecated in 5.0 Use [addAttributions] instead. */
177417
+ addLogoCards(_cards, _viewport) { }
177248
177418
  /**
177249
177419
  * Add attribution logo cards for the data supplied by this provider to the [[Viewport]]'s logo div.
177250
177420
  * @param _cards Logo cards HTML element that may contain custom data attributes.
177251
177421
  * @param _viewport Viewport to add logo cards to.
177252
177422
  * @beta
177253
177423
  */
177254
- addLogoCards(_cards, _viewport) { }
177424
+ async addAttributions(cards, vp) {
177425
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
177426
+ return Promise.resolve(this.addLogoCards(cards, vp));
177427
+ }
177255
177428
  /** @internal */
177256
177429
  _missingTileData;
177257
177430
  /** @internal */
@@ -177301,6 +177474,9 @@ class MapLayerImageryProvider {
177301
177474
  featureInfos.push({ layerName: this._settings.name });
177302
177475
  }
177303
177476
  /** @internal */
177477
+ decorate(_context) {
177478
+ }
177479
+ /** @internal */
177304
177480
  async getImageFromTileResponse(tileResponse, zoomLevel) {
177305
177481
  const arrayBuffer = await tileResponse.arrayBuffer();
177306
177482
  const byteArray = new Uint8Array(arrayBuffer);
@@ -177899,6 +178075,9 @@ class MapLayerTileTreeReference extends _internal__WEBPACK_IMPORTED_MODULE_3__.T
177899
178075
  div.innerHTML = strings.join("<br>");
177900
178076
  return div;
177901
178077
  }
178078
+ decorate(_context) {
178079
+ this.imageryProvider?.decorate(_context);
178080
+ }
177902
178081
  }
177903
178082
  /**
177904
178083
  * Creates a MapLayerTileTreeReference.
@@ -179720,20 +179899,43 @@ class MapTileTreeReference extends _internal__WEBPACK_IMPORTED_MODULE_7__.TileTr
179720
179899
  }
179721
179900
  return info;
179722
179901
  }
179723
- /** Add logo cards to logo div. */
179902
+ /** @deprecated in 5.0 Use [addAttributions] instead. */
179724
179903
  addLogoCards(cards, vp) {
179725
179904
  const tree = this.treeOwner.tileTree;
179726
179905
  if (tree) {
179906
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
179727
179907
  tree.mapLoader.terrainProvider.addLogoCards(cards, vp);
179728
179908
  for (const imageryTreeRef of this._layerTrees) {
179729
179909
  if (imageryTreeRef?.layerSettings.visible) {
179730
179910
  const imageryTree = imageryTreeRef.treeOwner.tileTree;
179731
179911
  if (imageryTree instanceof _internal__WEBPACK_IMPORTED_MODULE_7__.ImageryMapTileTree)
179912
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
179732
179913
  imageryTree.addLogoCards(cards, vp);
179733
179914
  }
179734
179915
  }
179735
179916
  }
179736
179917
  }
179918
+ /** Add logo cards to logo div. */
179919
+ async addAttributions(cards, vp) {
179920
+ const tree = this.treeOwner.tileTree;
179921
+ if (tree) {
179922
+ const promises = [tree.mapLoader.terrainProvider.addAttributions(cards, vp)];
179923
+ for (const imageryTreeRef of this._layerTrees) {
179924
+ if (imageryTreeRef?.layerSettings.visible) {
179925
+ const imageryTree = imageryTreeRef.treeOwner.tileTree;
179926
+ if (imageryTree instanceof _internal__WEBPACK_IMPORTED_MODULE_7__.ImageryMapTileTree)
179927
+ promises.push(imageryTree.addAttributions(cards, vp));
179928
+ }
179929
+ }
179930
+ await Promise.all(promises);
179931
+ }
179932
+ }
179933
+ decorate(context) {
179934
+ for (const layerTree of this._layerTrees) {
179935
+ if (layerTree)
179936
+ layerTree.decorate(context);
179937
+ }
179938
+ }
179737
179939
  }
179738
179940
  /** Returns whether a GCS converter is available.
179739
179941
  * @internal
@@ -180323,11 +180525,16 @@ __webpack_require__.r(__webpack_exports__);
180323
180525
  * @public
180324
180526
  */
180325
180527
  class TerrainMeshProvider {
180326
- /** Add attribution logo cards for the terrain data supplied by this provider to the [[Viewport]]'s logo div.
180327
- * For example, a provider that produces meshes from [Bing Maps](https://docs.microsoft.com/en-us/bingmaps/rest-services/elevations/) would be required to
180328
- * disclose any copyrighted data used in the production of those meshes.
180329
- */
180528
+ /** @deprecated in 5.0 Use [addAttributions] instead. */
180330
180529
  addLogoCards(_cards, _vp) { }
180530
+ /** Add attribution logo cards for the terrain data supplied by this provider to the [[Viewport]]'s logo div.
180531
+ * For example, a provider that produces meshes from [Bing Maps](https://docs.microsoft.com/en-us/bingmaps/rest-services/elevations/) would be required to
180532
+ * disclose any copyrighted data used in the production of those meshes.
180533
+ */
180534
+ async addAttributions(cards, vp) {
180535
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
180536
+ return Promise.resolve(this.addLogoCards(cards, vp));
180537
+ }
180331
180538
  /** Return whether terrain data can be obtained for the [[MapTile]] specified by `quadId`. If it returns false, a terrain mesh will instead be produced for
180332
180539
  * that tile by up-sampling the terrain mesh provided by its parent tile.
180333
180540
  * The default implementation returns `true`.
@@ -280798,9 +281005,8 @@ __webpack_require__.r(__webpack_exports__);
280798
281005
 
280799
281006
 
280800
281007
 
280801
- // cspell:word bagof
280802
281008
  /**
280803
- * `ImodelJson` namespace has classes for serializing and deserialization json objects
281009
+ * `IModelJson` namespace has classes for serializing and deserialization json objects
280804
281010
  * @public
280805
281011
  */
280806
281012
  var IModelJson;
@@ -281010,7 +281216,7 @@ var IModelJson;
281010
281216
  return _curve_CoordinateXYZ__WEBPACK_IMPORTED_MODULE_11__.CoordinateXYZ.create(point);
281011
281217
  return undefined;
281012
281218
  }
281013
- /** Parse TransitionSpiral content (right side) to TransitionSpiral3d. */
281219
+ /** Parse `transitionSpiral` content (right side) to TransitionSpiral3d. */
281014
281220
  static parseTransitionSpiral(data) {
281015
281221
  const axes = Reader.parseOrientation(data, true);
281016
281222
  const origin = Reader.parsePoint3dProperty(data, "origin");
@@ -281065,13 +281271,13 @@ var IModelJson;
281065
281271
  }
281066
281272
  return newCurve;
281067
281273
  }
281068
- /** Parse `bcurve` content to an InterpolationCurve3d object. */
281274
+ /** Parse `interpolationCurve` content to an InterpolationCurve3d object. */
281069
281275
  static parseInterpolationCurve(data) {
281070
281276
  if (data === undefined)
281071
281277
  return undefined;
281072
281278
  return _bspline_InterpolationCurve3d__WEBPACK_IMPORTED_MODULE_18__.InterpolationCurve3d.create(data);
281073
281279
  }
281074
- /** Parse `bcurve` content to an Akima curve object. */
281280
+ /** Parse `akimaCurve` content to an Akima curve object. */
281075
281281
  static parseAkimaCurve3d(data) {
281076
281282
  if (data === undefined)
281077
281283
  return undefined;
@@ -313038,18 +313244,18 @@ class Settings {
313038
313244
  }
313039
313245
  }
313040
313246
  toString() {
313041
- return `Configurations:
313042
- backend location: ${this.Backend.location},
313043
- backend name: ${this.Backend.name},
313044
- backend version: ${this.Backend.version},
313045
- oidc client id: ${this.oidcClientId},
313046
- oidc scopes: ${this.oidcScopes},
313047
- applicationId: ${this.gprid},
313048
- log level: ${this.logLevel},
313049
- testing iModelTileRpcTests: ${this.runiModelTileRpcTests},
313050
- testing PresentationRpcTest: ${this.runPresentationRpcTests},
313051
- testing iModelReadRpcTests: ${this.runiModelReadRpcTests},
313052
- testing DevToolsRpcTests: ${this.runDevToolsRpcTests},
313247
+ return `Configurations:
313248
+ backend location: ${this.Backend.location},
313249
+ backend name: ${this.Backend.name},
313250
+ backend version: ${this.Backend.version},
313251
+ oidc client id: ${this.oidcClientId},
313252
+ oidc scopes: ${this.oidcScopes},
313253
+ applicationId: ${this.gprid},
313254
+ log level: ${this.logLevel},
313255
+ testing iModelTileRpcTests: ${this.runiModelTileRpcTests},
313256
+ testing PresentationRpcTest: ${this.runPresentationRpcTests},
313257
+ testing iModelReadRpcTests: ${this.runiModelReadRpcTests},
313258
+ testing DevToolsRpcTests: ${this.runDevToolsRpcTests},
313053
313259
  testing iModelWriteRpcTests: ${this.runiModelWriteRpcTests}`;
313054
313260
  }
313055
313261
  }
@@ -313263,7 +313469,7 @@ class TestContext {
313263
313469
  this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
313264
313470
  const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
313265
313471
  await core_frontend_1.NoRenderApp.startup({
313266
- applicationVersion: "5.0.0-dev.67",
313472
+ applicationVersion: "5.0.0-dev.69",
313267
313473
  applicationId: this.settings.gprid,
313268
313474
  authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.serviceAuthToken),
313269
313475
  hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
@@ -339351,7 +339557,7 @@ function __rewriteRelativeImportExtension(path, preserveJsx) {
339351
339557
  /***/ ((module) => {
339352
339558
 
339353
339559
  "use strict";
339354
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.0.0-dev.67","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 ES2022 --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 --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","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","test:debug":"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:*"},"//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/eslint-plugin":"5.0.0-dev.1","@types/chai-as-promised":"^7","@vitest/browser":"^3.0.5","@vitest/coverage-v8":"^3.0.5","cpx2":"^3.0.0","eslint":"^9.13.0","glob":"^10.3.12","playwright":"~1.47.1","rimraf":"^3.0.2","source-map-loader":"^4.0.0","typescript":"~5.6.2","typemoq":"^2.1.0","vitest":"^3.0.5","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"1.0.6","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/cloud-agnostic-core":"^2.2.4","@itwin/object-storage-core":"^2.2.5","@itwin/core-i18n":"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"}}');
339560
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.0.0-dev.69","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 ES2022 --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 --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","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","test:debug":"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:*"},"//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/eslint-plugin":"5.0.0-dev.1","@types/chai-as-promised":"^7","@vitest/browser":"^3.0.6","@vitest/coverage-v8":"^3.0.6","cpx2":"^3.0.0","eslint":"^9.13.0","glob":"^10.3.12","playwright":"~1.47.1","rimraf":"^3.0.2","source-map-loader":"^4.0.0","typescript":"~5.6.2","typemoq":"^2.1.0","vitest":"^3.0.6","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"1.0.6","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/cloud-agnostic-core":"^2.2.4","@itwin/object-storage-core":"^2.2.5","@itwin/core-i18n":"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"}}');
339355
339561
 
339356
339562
  /***/ }),
339357
339563