@itwin/rpcinterface-full-stack-tests 3.4.0-dev.1 → 3.4.0-dev.14

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.
@@ -21,9 +21,9 @@
21
21
 
22
22
  /***/ }),
23
23
 
24
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.2.5/node_modules/@itwin/certa/lib/utils/CallbackUtils.js":
24
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.2.8/node_modules/@itwin/certa/lib/utils/CallbackUtils.js":
25
25
  /*!********************************************************************************************************************!*\
26
- !*** ../../common/temp/node_modules/.pnpm/@itwin+certa@3.2.5/node_modules/@itwin/certa/lib/utils/CallbackUtils.js ***!
26
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+certa@3.2.8/node_modules/@itwin/certa/lib/utils/CallbackUtils.js ***!
27
27
  \********************************************************************************************************************/
28
28
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
29
29
 
@@ -2296,7 +2296,7 @@ exports.getAccessTokenFromBackend = exports.getTokenCallbackName = void 0;
2296
2296
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
2297
2297
  * See LICENSE.md in the project root for license terms and full copyright notice.
2298
2298
  *--------------------------------------------------------------------------------------------*/
2299
- const CallbackUtils_1 = __webpack_require__(/*! @itwin/certa/lib/utils/CallbackUtils */ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.2.5/node_modules/@itwin/certa/lib/utils/CallbackUtils.js");
2299
+ const CallbackUtils_1 = __webpack_require__(/*! @itwin/certa/lib/utils/CallbackUtils */ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.2.8/node_modules/@itwin/certa/lib/utils/CallbackUtils.js");
2300
2300
  // Shared by both the frontend and backend side of the tests
2301
2301
  exports.getTokenCallbackName = "getToken";
2302
2302
  async function getAccessTokenFromBackend(user, oidcConfig) {
@@ -21236,9 +21236,9 @@ module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
21236
21236
 
21237
21237
  /***/ }),
21238
21238
 
21239
- /***/ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.4/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js":
21239
+ /***/ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.5/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js":
21240
21240
  /*!****************************************************************************************************************************************************************************!*\
21241
- !*** ../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.4/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js ***!
21241
+ !*** ../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.5/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js ***!
21242
21242
  \****************************************************************************************************************************************************************************/
21243
21243
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
21244
21244
 
@@ -21247,8 +21247,8 @@ __webpack_require__.r(__webpack_exports__);
21247
21247
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
21248
21248
  /* harmony export */ "default": () => (/* binding */ Browser)
21249
21249
  /* harmony export */ });
21250
- /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
21251
- /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/createClass.js");
21250
+ /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
21251
+ /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js");
21252
21252
 
21253
21253
 
21254
21254
 
@@ -21273,12 +21273,12 @@ var serializeCookie = function serializeCookie(name, val, options) {
21273
21273
  var opt = options || {};
21274
21274
  opt.path = opt.path || '/';
21275
21275
  var value = encodeURIComponent(val);
21276
- var str = name + '=' + value;
21276
+ var str = "".concat(name, "=").concat(value);
21277
21277
 
21278
21278
  if (opt.maxAge > 0) {
21279
21279
  var maxAge = opt.maxAge - 0;
21280
- if (isNaN(maxAge)) throw new Error('maxAge should be a Number');
21281
- str += '; Max-Age=' + Math.floor(maxAge);
21280
+ if (Number.isNaN(maxAge)) throw new Error('maxAge should be a Number');
21281
+ str += "; Max-Age=".concat(Math.floor(maxAge));
21282
21282
  }
21283
21283
 
21284
21284
  if (opt.domain) {
@@ -21286,7 +21286,7 @@ var serializeCookie = function serializeCookie(name, val, options) {
21286
21286
  throw new TypeError('option domain is invalid');
21287
21287
  }
21288
21288
 
21289
- str += '; Domain=' + opt.domain;
21289
+ str += "; Domain=".concat(opt.domain);
21290
21290
  }
21291
21291
 
21292
21292
  if (opt.path) {
@@ -21294,7 +21294,7 @@ var serializeCookie = function serializeCookie(name, val, options) {
21294
21294
  throw new TypeError('option path is invalid');
21295
21295
  }
21296
21296
 
21297
- str += '; Path=' + opt.path;
21297
+ str += "; Path=".concat(opt.path);
21298
21298
  }
21299
21299
 
21300
21300
  if (opt.expires) {
@@ -21302,7 +21302,7 @@ var serializeCookie = function serializeCookie(name, val, options) {
21302
21302
  throw new TypeError('option expires is invalid');
21303
21303
  }
21304
21304
 
21305
- str += '; Expires=' + opt.expires.toUTCString();
21305
+ str += "; Expires=".concat(opt.expires.toUTCString());
21306
21306
  }
21307
21307
 
21308
21308
  if (opt.httpOnly) str += '; HttpOnly';
@@ -21352,7 +21352,7 @@ var cookie = {
21352
21352
  document.cookie = serializeCookie(name, encodeURIComponent(value), cookieOptions);
21353
21353
  },
21354
21354
  read: function read(name) {
21355
- var nameEQ = name + '=';
21355
+ var nameEQ = "".concat(name, "=");
21356
21356
  var ca = document.cookie.split(';');
21357
21357
 
21358
21358
  for (var i = 0; i < ca.length; i++) {
@@ -21562,21 +21562,16 @@ var path = {
21562
21562
  var subdomain = {
21563
21563
  name: 'subdomain',
21564
21564
  lookup: function lookup(options) {
21565
- var found;
21565
+ // If given get the subdomain index else 1
21566
+ var lookupFromSubdomainIndex = typeof options.lookupFromSubdomainIndex === 'number' ? options.lookupFromSubdomainIndex + 1 : 1; // get all matches if window.location. is existing
21567
+ // first item of match is the match itself and the second is the first group macht which sould be the first subdomain match
21568
+ // is the hostname no public domain get the or option of localhost
21566
21569
 
21567
- if (typeof window !== 'undefined') {
21568
- var language = window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);
21570
+ var language = typeof window !== 'undefined' && window.location && window.location.hostname && window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i); // if there is no match (null) return undefined
21569
21571
 
21570
- if (language instanceof Array) {
21571
- if (typeof options.lookupFromSubdomainIndex === 'number') {
21572
- found = language[options.lookupFromSubdomainIndex].replace('http://', '').replace('https://', '').replace('.', '');
21573
- } else {
21574
- found = language[0].replace('http://', '').replace('https://', '').replace('.', '');
21575
- }
21576
- }
21577
- }
21572
+ if (!language) return undefined; // return the given group match
21578
21573
 
21579
- return found;
21574
+ return language[lookupFromSubdomainIndex];
21580
21575
  }
21581
21576
  };
21582
21577
 
@@ -21589,8 +21584,8 @@ function getDefaults() {
21589
21584
  lookupSessionStorage: 'i18nextLng',
21590
21585
  // cache user language
21591
21586
  caches: ['localStorage'],
21592
- excludeCacheFor: ['cimode'] //cookieMinutes: 10,
21593
- //cookieDomain: 'myDomain'
21587
+ excludeCacheFor: ['cimode'] // cookieMinutes: 10,
21588
+ // cookieDomain: 'myDomain'
21594
21589
 
21595
21590
  };
21596
21591
  }
@@ -21684,10 +21679,10 @@ __webpack_require__.r(__webpack_exports__);
21684
21679
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
21685
21680
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
21686
21681
  /* harmony export */ });
21687
- /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
21688
- /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/createClass.js");
21689
- /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
21690
- /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/typeof.js");
21682
+ /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
21683
+ /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js");
21684
+ /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
21685
+ /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js");
21691
21686
 
21692
21687
 
21693
21688
 
@@ -61497,7 +61492,7 @@ class StopWatch {
61497
61492
  get current() { return BeDuration.fromMilliseconds(BeTimePoint.now().milliseconds - (!!this._start ? this._start.milliseconds : 0)); }
61498
61493
  /** Get the elapsed time, in seconds, since start() on a running timer. */
61499
61494
  get currentSeconds() { return this.current.seconds; }
61500
- /** Get the elapsed time between start() and stop() on this timer. */
61495
+ /** Get the elapsed time between start() and stop() on this timer in milliseconds. */
61501
61496
  get elapsed() { return BeDuration.fromMilliseconds((!!this._stop ? this._stop.milliseconds : BeTimePoint.now().milliseconds) - (!!this._start ? this._start.milliseconds : 0)); }
61502
61497
  /** Get the elapsed time, in seconds, between start() and stop() on this timer. */
61503
61498
  get elapsedSeconds() { return this.elapsed.seconds; }
@@ -62115,20 +62110,20 @@ var AmbientOcclusion;
62115
62110
  static fromJSON(json) { return undefined !== json ? new Settings(json) : this.defaults; }
62116
62111
  toJSON() {
62117
62112
  return {
62118
- bias: this.bias,
62119
- zLengthCap: this.zLengthCap,
62120
- maxDistance: this.maxDistance,
62121
- intensity: this.intensity,
62122
- texelStepSize: this.texelStepSize,
62123
- blurDelta: this.blurDelta,
62124
- blurSigma: this.blurSigma,
62125
- blurTexelStepSize: this.blurTexelStepSize,
62113
+ bias: this.bias !== Settings._defaultBias ? this.bias : undefined,
62114
+ zLengthCap: this.zLengthCap !== Settings._defaultZLengthCap ? this.zLengthCap : undefined,
62115
+ maxDistance: this.maxDistance !== Settings._defaultMaxDistance ? this.maxDistance : undefined,
62116
+ intensity: this.intensity !== Settings._defaultIntensity ? this.intensity : undefined,
62117
+ texelStepSize: this.texelStepSize !== Settings._defaultTexelStepSize ? this.texelStepSize : undefined,
62118
+ blurDelta: this.blurDelta !== Settings._defaultBlurDelta ? this.blurDelta : undefined,
62119
+ blurSigma: this.blurSigma !== Settings._defaultBlurSigma ? this.blurSigma : undefined,
62120
+ blurTexelStepSize: this.blurTexelStepSize !== Settings._defaultBlurTexelStepSize ? this.blurTexelStepSize : undefined,
62126
62121
  };
62127
62122
  }
62128
62123
  }
62129
62124
  Settings._defaultBias = 0.25;
62130
62125
  Settings._defaultZLengthCap = 0.0025;
62131
- Settings._defaultMaxDistance = 100.0;
62126
+ Settings._defaultMaxDistance = 10000.0;
62132
62127
  Settings._defaultIntensity = 1.0;
62133
62128
  Settings._defaultTexelStepSize = 1;
62134
62129
  Settings._defaultBlurDelta = 1.0;
@@ -63282,7 +63277,8 @@ __webpack_require__.r(__webpack_exports__);
63282
63277
  * @module Codes
63283
63278
  */
63284
63279
 
63285
- /** A three-part structure containing information about the [Code]($docs/bis/guide/fundamentals/codes) of an Element
63280
+ /**
63281
+ * A three-part structure containing information about the [Code]($docs/bis/guide/fundamentals/codes) of an Element
63286
63282
  * @public
63287
63283
  */
63288
63284
  class Code {
@@ -68933,13 +68929,21 @@ var Gradient;
68933
68929
  (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== imageBuffer);
68934
68930
  return imageBuffer;
68935
68931
  }
68936
- /** Applies this gradient's settings to produce a bitmap image. */
68932
+ /** Produces a bitmap image from this gradient.
68933
+ * @param width Width of the image
68934
+ * @param height Height of the image
68935
+ * @note If this gradient uses [[Gradient.Mode.Thematic]], then the width of the image will be 1 and the margin color will be included in the top and bottom rows.
68936
+ * @see [[produceImage]] for more customization.
68937
+ */
68937
68938
  getImage(width, height) {
68938
- if (this.mode === Mode.Thematic) {
68939
- // Allow caller to pass in height but not width. Thematic gradients are always one-dimensional.
68940
- // NB: The height used to be hardcoded to 8192 here. Now we will let the render system decide.
68941
- width = 1; // Force width to 1 for thematic gradients.
68942
- }
68939
+ if (this.mode === Mode.Thematic)
68940
+ width = 1;
68941
+ return this.produceImage({ width, height, includeThematicMargin: true });
68942
+ }
68943
+ /** Produces a bitmap image from this gradient. */
68944
+ produceImage(args) {
68945
+ var _a;
68946
+ const { width, height, includeThematicMargin } = { ...args };
68943
68947
  const thisAngle = (this.angle === undefined) ? 0 : this.angle.radians;
68944
68948
  const cosA = Math.cos(thisAngle);
68945
68949
  const sinA = Math.sin(thisAngle);
@@ -69045,14 +69049,11 @@ var Gradient;
69045
69049
  break;
69046
69050
  }
69047
69051
  case Mode.Thematic: {
69048
- let settings = this.thematicSettings;
69049
- if (settings === undefined) {
69050
- settings = _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.defaults;
69051
- }
69052
+ const settings = (_a = this.thematicSettings) !== null && _a !== void 0 ? _a : _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.defaults;
69052
69053
  for (let j = 0; j < height; j++) {
69053
69054
  let f = 1 - j / height;
69054
69055
  let color;
69055
- if (f < _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.margin || f > _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.contentMax) {
69056
+ if (includeThematicMargin && (f < _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.margin || f > _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.contentMax)) {
69056
69057
  color = settings.marginColor;
69057
69058
  }
69058
69059
  else {
@@ -86797,6 +86798,7 @@ class IpcWebSocketBackend extends IpcWebSocket {
86797
86798
  constructor() {
86798
86799
  super();
86799
86800
  this._handlers = new Map();
86801
+ this._processingQueue = [];
86800
86802
  IpcWebSocket.receivers.add(async (e, m) => this.dispatch(e, m));
86801
86803
  }
86802
86804
  send(channel, ...data) {
@@ -86810,22 +86812,35 @@ class IpcWebSocketBackend extends IpcWebSocket {
86810
86812
  };
86811
86813
  }
86812
86814
  async dispatch(_evt, message) {
86813
- if (message.type !== IpcWebSocketMessageType.Invoke || !message.method)
86815
+ if (message.type !== IpcWebSocketMessageType.Invoke)
86814
86816
  return;
86815
- const handler = this._handlers.get(message.channel);
86816
- if (!handler)
86817
+ this._processingQueue.push(message);
86818
+ await this.processMessages();
86819
+ }
86820
+ async processMessages() {
86821
+ if (this._processing || !this._processingQueue.length) {
86817
86822
  return;
86818
- let args = message.data;
86819
- if (typeof (args) === "undefined")
86820
- args = [];
86821
- const response = await handler({}, message.method, ...args);
86822
- IpcWebSocket.transport.send({
86823
- type: IpcWebSocketMessageType.Response,
86824
- channel: message.channel,
86825
- response: message.request,
86826
- data: response,
86827
- sequence: -1,
86828
- });
86823
+ }
86824
+ const message = this._processingQueue.shift();
86825
+ if (message && message.method) {
86826
+ const handler = this._handlers.get(message.channel);
86827
+ if (handler) {
86828
+ this._processing = message;
86829
+ let args = message.data;
86830
+ if (typeof (args) === "undefined")
86831
+ args = [];
86832
+ const response = await handler({}, message.method, ...args);
86833
+ IpcWebSocket.transport.send({
86834
+ type: IpcWebSocketMessageType.Response,
86835
+ channel: message.channel,
86836
+ response: message.request,
86837
+ data: response,
86838
+ sequence: -1,
86839
+ });
86840
+ this._processing = undefined;
86841
+ }
86842
+ }
86843
+ await this.processMessages();
86829
86844
  }
86830
86845
  }
86831
86846
 
@@ -87120,6 +87135,7 @@ class IModelReadRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_2__.
87120
87135
  ===========================================================================================*/
87121
87136
  async getConnectionProps(_iModelToken) { return this.forward(arguments); }
87122
87137
  async queryRows(_iModelToken, _request) { return this.forward(arguments); }
87138
+ async querySubCategories(_iModelToken, _categoryIds) { return this.forward(arguments); }
87123
87139
  async queryBlob(_iModelToken, _request) { return this.forward(arguments); }
87124
87140
  async getModelProps(_iModelToken, _modelIds) { return this.forward(arguments); }
87125
87141
  async queryModelRanges(_iModelToken, _modelIds) { return this.forward(arguments); }
@@ -87157,6 +87173,9 @@ IModelReadRpcInterface.interfaceVersion = "3.2.0";
87157
87173
  __decorate([
87158
87174
  _core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcResponseCacheControl.Immutable)
87159
87175
  ], IModelReadRpcInterface.prototype, "getConnectionProps", null);
87176
+ __decorate([
87177
+ _core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcResponseCacheControl.Immutable)
87178
+ ], IModelReadRpcInterface.prototype, "querySubCategories", null);
87160
87179
  __decorate([
87161
87180
  _core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcResponseCacheControl.Immutable)
87162
87181
  ], IModelReadRpcInterface.prototype, "getModelProps", null);
@@ -103475,6 +103494,15 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
103475
103494
  };
103476
103495
  return new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.ECSqlReader(executor, ecsql, params, config);
103477
103496
  }
103497
+ /**
103498
+ * queries the BisCore.SubCategory table for the entries that are children of the passed categoryIds
103499
+ * @param compressedCategoryIds compressed category Ids
103500
+ * @returns array of SubCategoryResultRow
103501
+ * @internal
103502
+ */
103503
+ async querySubCategories(compressedCategoryIds) {
103504
+ return _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelReadRpcInterface.getClientForRouting(this.routingContext.token).querySubCategories(this.getRpcProps(), compressedCategoryIds);
103505
+ }
103478
103506
  /** Execute a query and stream its results
103479
103507
  * The result of the query is async iterator over the rows. The iterator will get next page automatically once rows in current page has been read.
103480
103508
  * [ECSQL row]($docs/learning/ECSQLRowFormat).
@@ -106669,29 +106697,73 @@ class PerModelCategoryVisibilityOverrides extends _itwin_core_bentley__WEBPACK_I
106669
106697
  else
106670
106698
  return PerModelCategoryVisibility.Override.None;
106671
106699
  }
106672
- setOverride(modelIds, categoryIds, override) {
106700
+ /**
106701
+ * set the overrides for multiple perModelCategoryVisibility props, loading categoryIds from the iModel if necessary.
106702
+ * @see [[PerModelCategoryVisibility]]
106703
+ * @param perModelCategoryVisibility array of model category visibility overrides @see [[PerModelCategoryVisibility.Props]]
106704
+ * @param iModel Optional param iModel. If no iModel is provided, then the iModel associated with the viewport (used to construct this class) is used.
106705
+ * This optional iModel param is useful for apps which may show multiple iModels at once. Passing in an iModel ensures that the subcategories cache for the provided iModel
106706
+ * is populated as opposed to the iModel associated with the viewport which may or may not be an empty iModel.
106707
+ * @returns a promise that resolves once the overrides have been applied.
106708
+ */
106709
+ async setOverrides(perModelCategoryVisibility, iModel) {
106710
+ let anyChanged = false;
106711
+ const catIdsToLoad = [];
106712
+ const iModelToUse = iModel ? iModel : this._vp.iModel;
106713
+ for (const override of perModelCategoryVisibility) {
106714
+ const modelId = override.modelId;
106715
+ // The caller may pass a single categoryId as a string, if we don't convert this to an array we will iterate
106716
+ // over each individual character of that string, which is not the desired behavior.
106717
+ const categoryIds = typeof override.categoryIds === "string" ? [override.categoryIds] : override.categoryIds;
106718
+ const visOverride = override.visOverride;
106719
+ for (const categoryId of categoryIds) {
106720
+ if (this.findAndUpdateOverrideInArray(modelId, categoryId, visOverride)) {
106721
+ anyChanged = true;
106722
+ if (PerModelCategoryVisibility.Override.None !== visOverride) {
106723
+ catIdsToLoad.push(categoryId);
106724
+ }
106725
+ }
106726
+ }
106727
+ }
106728
+ if (anyChanged) {
106729
+ this._vp.setViewedCategoriesPerModelChanged();
106730
+ if (catIdsToLoad.length !== 0) {
106731
+ this._vp.subcategories.push(iModelToUse.subcategories, catIdsToLoad, () => this._vp.setViewedCategoriesPerModelChanged());
106732
+ }
106733
+ }
106734
+ return;
106735
+ }
106736
+ /** Find and update the override in the array of overrides. If override not found, adds it to the array.
106737
+ * If the array was changed, returns true. */
106738
+ findAndUpdateOverrideInArray(modelId, categoryId, override) {
106673
106739
  const ovr = this._scratch;
106740
+ ovr.reset(modelId, categoryId, false);
106741
+ let changed = false;
106742
+ const index = this.indexOf(ovr);
106743
+ if (-1 === index) {
106744
+ if (PerModelCategoryVisibility.Override.None !== override) {
106745
+ this.insert(new PerModelCategoryVisibilityOverride(modelId, categoryId, PerModelCategoryVisibility.Override.Show === override));
106746
+ changed = true;
106747
+ }
106748
+ }
106749
+ else {
106750
+ if (PerModelCategoryVisibility.Override.None === override) {
106751
+ this._array.splice(index, 1);
106752
+ changed = true;
106753
+ }
106754
+ else if (this._array[index].visible !== (PerModelCategoryVisibility.Override.Show === override)) {
106755
+ this._array[index].visible = (PerModelCategoryVisibility.Override.Show === override);
106756
+ changed = true;
106757
+ }
106758
+ }
106759
+ return changed;
106760
+ }
106761
+ setOverride(modelIds, categoryIds, override) {
106674
106762
  let changed = false;
106675
106763
  for (const modelId of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(modelIds)) {
106676
106764
  for (const categoryId of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(categoryIds)) {
106677
- ovr.reset(modelId, categoryId, false);
106678
- const index = this.indexOf(ovr);
106679
- if (-1 === index) {
106680
- if (PerModelCategoryVisibility.Override.None !== override) {
106681
- this.insert(new PerModelCategoryVisibilityOverride(modelId, categoryId, PerModelCategoryVisibility.Override.Show === override));
106682
- changed = true;
106683
- }
106684
- }
106685
- else {
106686
- if (PerModelCategoryVisibility.Override.None === override) {
106687
- this._array.splice(index, 1);
106688
- changed = true;
106689
- }
106690
- else if (this._array[index].visible !== (PerModelCategoryVisibility.Override.Show === override)) {
106691
- this._array[index].visible = (PerModelCategoryVisibility.Override.Show === override);
106692
- changed = true;
106693
- }
106694
- }
106765
+ if (this.findAndUpdateOverrideInArray(modelId, categoryId, override))
106766
+ changed = true;
106695
106767
  }
106696
106768
  }
106697
106769
  if (changed) {
@@ -109311,29 +109383,6 @@ class SubCategoriesCache {
109311
109383
  cancel: () => request.cancel(),
109312
109384
  };
109313
109385
  }
109314
- /**
109315
- * Populates the notLoadedCategoryIds property of the HydrateViewStateRequestProps.
109316
- * notLoadedCategoryIds is a subset of categoryIds, filtering out any ids which already have an entry in the cache.
109317
- */
109318
- preload(options, categoryIds) {
109319
- const missing = this.getMissing(categoryIds);
109320
- if (undefined === missing)
109321
- return;
109322
- this._missingAtTimeOfPreload = missing;
109323
- options.notLoadedCategoryIds = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.CompressedId64Set.sortAndCompress(missing);
109324
- }
109325
- /**
109326
- * Populates the SubCategoriesCache using the categoryIdsResult of the HydrateViewStateResponseProps
109327
- */
109328
- postload(options) {
109329
- if (options.categoryIdsResult === undefined)
109330
- return;
109331
- // missingAtTimeOfPreload shouldn't be undefined if options.categoryIdsResult is defined... but just to be safe we'll check
109332
- const missing = this._missingAtTimeOfPreload === undefined ? new Set() : this._missingAtTimeOfPreload;
109333
- this.processResults(options.categoryIdsResult, missing);
109334
- // clear missing
109335
- this._missingAtTimeOfPreload = undefined;
109336
- }
109337
109386
  /** Given categoryIds, return which of these are not cached. */
109338
109387
  getMissing(categoryIds) {
109339
109388
  let missing;
@@ -109415,38 +109464,38 @@ class SubCategoriesCache {
109415
109464
  (function (SubCategoriesCache) {
109416
109465
  class Request {
109417
109466
  constructor(categoryIds, imodel, maxCategoriesPerQuery = 200) {
109418
- this._ecsql = [];
109467
+ this._categoryIds = [];
109419
109468
  this._result = [];
109420
109469
  this._canceled = false;
109421
- this._curECSqlIndex = 0;
109470
+ this._curCategoryIdsIndex = 0;
109422
109471
  this._imodel = imodel;
109423
109472
  const catIds = [...categoryIds];
109473
+ _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.OrderedId64Iterable.sortArray(catIds); // sort categories, so that given the same set of categoryIds we will always create the same batches.
109424
109474
  while (catIds.length !== 0) {
109425
109475
  const end = (catIds.length > maxCategoriesPerQuery) ? maxCategoriesPerQuery : catIds.length;
109426
- const where = catIds.splice(0, end).join(",");
109427
- this._ecsql.push(`SELECT ECInstanceId as id, Parent.Id as parentId, Properties as appearance FROM BisCore.SubCategory WHERE Parent.Id IN (${where})`);
109476
+ const compressedIds = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.CompressedId64Set.compressArray(catIds.splice(0, end));
109477
+ this._categoryIds.push(compressedIds);
109428
109478
  }
109429
109479
  }
109430
109480
  get wasCanceled() { return this._canceled || this._imodel.isClosed; }
109431
109481
  cancel() { this._canceled = true; }
109432
109482
  async dispatch() {
109433
- if (this.wasCanceled || this._curECSqlIndex >= this._ecsql.length) // handle case of empty category Id set...
109483
+ if (this.wasCanceled || this._curCategoryIdsIndex >= this._categoryIds.length) // handle case of empty category Id set...
109434
109484
  return undefined;
109435
109485
  try {
109436
- const ecsql = this._ecsql[this._curECSqlIndex];
109437
- for await (const row of this._imodel.query(ecsql, undefined, { rowFormat: _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.QueryRowFormat.UseJsPropertyNames })) {
109438
- this._result.push(row);
109439
- if (this.wasCanceled)
109440
- return undefined;
109441
- }
109486
+ const catIds = this._categoryIds[this._curCategoryIdsIndex];
109487
+ const result = await this._imodel.querySubCategories(catIds);
109488
+ this._result.push(...result);
109489
+ if (this.wasCanceled)
109490
+ return undefined;
109442
109491
  }
109443
109492
  catch {
109444
109493
  // ###TODO: detect cases in which retry is warranted
109445
109494
  // Note that currently, if we succeed in obtaining some pages of results and fail to retrieve another page, we will end up processing the
109446
109495
  // incomplete results. Since we're not retrying, that's the best we can do.
109447
109496
  }
109448
- // Finished with current ECSql query. Dispatch the next if one exists.
109449
- if (++this._curECSqlIndex < this._ecsql.length) {
109497
+ // Finished with current batch of categoryIds. Dispatch the next batch if one exists.
109498
+ if (++this._curCategoryIdsIndex < this._categoryIds.length) {
109450
109499
  if (this.wasCanceled)
109451
109500
  return undefined;
109452
109501
  else
@@ -109521,7 +109570,7 @@ class SubCategoriesCache {
109521
109570
  this._request.promise.then((completed) => {
109522
109571
  if (this._disposed)
109523
109572
  return;
109524
- // Invoke all the functions which were awaiting this set of categories.
109573
+ // Invoke all the functions which were awaiting this set of IModelConnection.Categories.
109525
109574
  (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== this._current);
109526
109575
  if (completed)
109527
109576
  for (const func of this._current.funcs)
@@ -112094,7 +112143,6 @@ class ViewState extends _EntityState__WEBPACK_IMPORTED_MODULE_5__.ElementState {
112094
112143
  const acsId = this.getAuxiliaryCoordinateSystemId();
112095
112144
  if (_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.isValid(acsId))
112096
112145
  hydrateRequest.acsId = acsId;
112097
- this.iModel.subcategories.preload(hydrateRequest, this.categorySelector.categories);
112098
112146
  }
112099
112147
  /** Asynchronously load any required data for this ViewState from the backend.
112100
112148
  * FINAL, No subclass should override load. If additional load behavior is needed, see preload and postload.
@@ -112109,15 +112157,16 @@ class ViewState extends _EntityState__WEBPACK_IMPORTED_MODULE_5__.ElementState {
112109
112157
  const hydrateRequest = {};
112110
112158
  this.preload(hydrateRequest);
112111
112159
  const promises = [
112112
- _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.IModelReadRpcInterface.getClientForRouting(this.iModel.routingContext.token).hydrateViewState(this.iModel.getRpcProps(), hydrateRequest),
112160
+ _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.IModelReadRpcInterface.getClientForRouting(this.iModel.routingContext.token).hydrateViewState(this.iModel.getRpcProps(), hydrateRequest).
112161
+ then(async (hydrateResponse) => this.postload(hydrateResponse)),
112113
112162
  this.displayStyle.load(),
112114
112163
  ];
112115
- const result = await Promise.all(promises);
112116
- const hydrateResponse = result[0];
112117
- await this.postload(hydrateResponse);
112164
+ const subcategories = this.iModel.subcategories.load(this.categorySelector.categories);
112165
+ if (undefined !== subcategories)
112166
+ promises.push(subcategories.promise.then((_) => { }));
112167
+ await Promise.all(promises);
112118
112168
  }
112119
112169
  async postload(hydrateResponse) {
112120
- this.iModel.subcategories.postload(hydrateResponse);
112121
112170
  if (hydrateResponse.acsElementProps)
112122
112171
  this._auxCoordSystem = _AuxCoordSys__WEBPACK_IMPORTED_MODULE_3__.AuxCoordSystemState.fromProps(hydrateResponse.acsElementProps, this.iModel);
112123
112172
  }
@@ -136605,8 +136654,6 @@ class RealityMeshGeometry extends _CachedGeometry__WEBPACK_IMPORTED_MODULE_7__.I
136605
136654
  }
136606
136655
  get techniqueId() { return 7 /* RealityMesh */; }
136607
136656
  getPass(target) {
136608
- if (target.isDrawingShadowMap)
136609
- return "none";
136610
136657
  if (this._baseIsTransparent || (target.wantThematicDisplay && target.uniforms.thematic.wantIsoLines))
136611
136658
  return "translucent";
136612
136659
  return "opaque";
@@ -142220,6 +142267,7 @@ class SolarShadowMap {
142220
142267
  this.onGraphicsChanged(this._graphics);
142221
142268
  }
142222
142269
  update(context) {
142270
+ var _a;
142223
142271
  this._isReady = false;
142224
142272
  this.clearGraphics(false);
142225
142273
  if (undefined === context || !context.viewport.view.isSpatialView()) {
@@ -142229,9 +142277,7 @@ class SolarShadowMap {
142229
142277
  }
142230
142278
  const view = context.viewport.view;
142231
142279
  const style = view.getDisplayStyle3d();
142232
- let sunDirection = style.sunDirection;
142233
- if (undefined === sunDirection)
142234
- sunDirection = defaultSunDirection;
142280
+ const sunDirection = (_a = style.sunDirection) !== null && _a !== void 0 ? _a : defaultSunDirection;
142235
142281
  const minimumHorizonDirection = -.01;
142236
142282
  if (sunDirection.z > minimumHorizonDirection) {
142237
142283
  this.notifyGraphicsChanged();
@@ -142253,8 +142299,21 @@ class SolarShadowMap {
142253
142299
  // Limit the map to only displayed models.
142254
142300
  const viewTileRange = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Range3d.createNull();
142255
142301
  view.forEachTileTreeRef((ref) => {
142256
- if (ref.castsShadows)
142257
- ref.accumulateTransformedRange(viewTileRange, worldToMap, undefined);
142302
+ if (ref.castsShadows) {
142303
+ if (ref.isGlobal) {
142304
+ // A shadow-casting tile tree that spans the globe. Limit its range to the viewed extents.
142305
+ for (const p3 of viewFrustum.points) {
142306
+ const p4 = worldToMap.multiplyPoint3d(p3, 1);
142307
+ if (p4.w > 0.0001)
142308
+ viewTileRange.extendXYZW(p4.x, p4.y, p4.z, p4.w);
142309
+ else
142310
+ viewTileRange.high.z = Math.max(1.0, viewTileRange.high.z); // behind eye plane.
142311
+ }
142312
+ }
142313
+ else {
142314
+ ref.accumulateTransformedRange(viewTileRange, worldToMap, undefined);
142315
+ }
142316
+ }
142258
142317
  });
142259
142318
  if (!viewTileRange.isNull)
142260
142319
  viewTileRange.clone(shadowRange);
@@ -143485,7 +143544,15 @@ class System extends _RenderSystem__WEBPACK_IMPORTED_MODULE_7__.RenderSystem {
143485
143544
  }
143486
143545
  /** Attempt to create a texture using gradient symbology. */
143487
143546
  getGradientTexture(symb, iModel) {
143488
- const source = symb.getImage(0x100, 0x100);
143547
+ let width = 0x100;
143548
+ let height = 0x100;
143549
+ if (symb.mode === _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.Gradient.Mode.Thematic) {
143550
+ // Pixels in each row are identical, no point in having width > 1.
143551
+ width = 1;
143552
+ // We want maximum height to minimize bleeding of margin color.
143553
+ height = this.maxTextureSize;
143554
+ }
143555
+ const source = symb.produceImage({ width, height, includeThematicMargin: true });
143489
143556
  return this.createTexture({
143490
143557
  image: {
143491
143558
  source,
@@ -147767,7 +147834,7 @@ const computeAmbientOcclusion = `
147767
147834
  float bias = u_hbaoSettings.x; // Represents an angle in radians. If the dot product between the normal of the sample and the vector to the camera is less than this value, sampling stops in the current direction. This is used to remove shadows from near planar edges.
147768
147835
  float zLengthCap = u_hbaoSettings.y; // If the distance in linear Z from the current sample to first sample is greater than this value, sampling stops in the current direction.
147769
147836
  float intensity = u_hbaoSettings.z; // Raise the final occlusion to the power of this value. Larger values make the ambient shadows darker.
147770
- float texelStepSize = u_hbaoSettings.w; // Indicates the distance to step toward the next texel sample in the current direction.
147837
+ float texelStepSize = clamp(u_hbaoSettings.w * linearDepth, 1.0, u_hbaoSettings.w); // Indicates the distance to step toward the next texel sample in the current direction.
147771
147838
 
147772
147839
  float tOcclusion = 0.0;
147773
147840
 
@@ -147812,6 +147879,9 @@ const computeAmbientOcclusion = `
147812
147879
  tOcclusion += curOcclusion;
147813
147880
  }
147814
147881
 
147882
+ float distanceFadeFactor = kFrustumType_Perspective == u_frustum.z ? 1.0 - pow(clamp(nonLinearDepth / u_maxDistance, 0.0, 1.0), 4.0) : 1.0;
147883
+ tOcclusion *= distanceFadeFactor;
147884
+
147815
147885
  tOcclusion /= 4.0;
147816
147886
  tOcclusion = 1.0 - clamp(tOcclusion, 0.0, 1.0);
147817
147887
  tOcclusion = pow(tOcclusion, intensity);
@@ -157717,7 +157787,7 @@ class GltfReader {
157717
157787
  if (dracoMeshes.length === 0)
157718
157788
  return;
157719
157789
  try {
157720
- const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_5_node_modules_loaders_gl_draco_di-e0b0bc"), __webpack_require__.e("_c41d")]).then(__webpack_require__.bind(__webpack_require__, /*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@3.2.5/node_modules/@loaders.gl/draco/dist/esm/index.js"))).DracoLoader;
157790
+ const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_7_node_modules_loaders_gl_draco_di-a586d9"), __webpack_require__.e("_c5fe")]).then(__webpack_require__.bind(__webpack_require__, /*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@3.2.7/node_modules/@loaders.gl/draco/dist/esm/index.js"))).DracoLoader;
157721
157791
  await Promise.all(dracoMeshes.map(async (x) => this.decodeDracoMesh(x, dracoLoader)));
157722
157792
  }
157723
157793
  catch (err) {
@@ -160844,7 +160914,7 @@ function readPnts(stream, dataOffset, pnts) {
160844
160914
  async function decodeDracoPointCloud(buf) {
160845
160915
  var _a, _b, _c, _d, _e, _f;
160846
160916
  try {
160847
- const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_5_node_modules_loaders_gl_draco_di-e0b0bc"), __webpack_require__.e("_c41d")]).then(__webpack_require__.bind(__webpack_require__, /*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@3.2.5/node_modules/@loaders.gl/draco/dist/esm/index.js"))).DracoLoader;
160917
+ const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_7_node_modules_loaders_gl_draco_di-a586d9"), __webpack_require__.e("_c5fe")]).then(__webpack_require__.bind(__webpack_require__, /*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@3.2.7/node_modules/@loaders.gl/draco/dist/esm/index.js"))).DracoLoader;
160848
160918
  const mesh = await dracoLoader.parse(buf, {});
160849
160919
  if (mesh.topology !== "point-list")
160850
160920
  return undefined;
@@ -163029,6 +163099,7 @@ class RealityTileTree extends _internal__WEBPACK_IMPORTED_MODULE_6__.TileTree {
163029
163099
  const preloadDebugBuilder = (debugControl && debugControl.displayRealityTilePreload) ? args.context.createSceneGraphicBuilder() : undefined;
163030
163100
  const graphicTypeBranches = new Map();
163031
163101
  const selectedTiles = this.selectRealityTiles(args, displayedTileDescendants, preloadDebugBuilder);
163102
+ args.processSelectedTiles(selectedTiles);
163032
163103
  let sortIndices;
163033
163104
  if (!this.parentsAndChildrenExclusive) {
163034
163105
  sortIndices = selectedTiles.map((_x, i) => i);
@@ -167289,28 +167360,6 @@ class ArcGisUtilities {
167289
167360
  return undefined;
167290
167361
  }
167291
167362
  }
167292
- static async getFootprintJson(url, credentials) {
167293
- const cached = ArcGisUtilities._footprintCache.get(url);
167294
- if (cached !== undefined)
167295
- return cached;
167296
- try {
167297
- const tmpUrl = new URL(url);
167298
- tmpUrl.searchParams.append("f", "json");
167299
- tmpUrl.searchParams.append("option", "footprints");
167300
- tmpUrl.searchParams.append("outSR", "4326");
167301
- const accessClient = _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.mapLayerFormatRegistry.getAccessClient("ArcGIS");
167302
- if (accessClient) {
167303
- await ArcGisUtilities.appendSecurityToken(tmpUrl, accessClient, { mapLayerUrl: new URL(url), userName: credentials === null || credentials === void 0 ? void 0 : credentials.user, password: credentials === null || credentials === void 0 ? void 0 : credentials.password });
167304
- }
167305
- const json = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_1__.getJson)(tmpUrl.toString());
167306
- ArcGisUtilities._footprintCache.set(url, json);
167307
- return json;
167308
- }
167309
- catch (_error) {
167310
- ArcGisUtilities._footprintCache.set(url, undefined);
167311
- return undefined;
167312
- }
167313
- }
167314
167363
  // return the appended access token if available.
167315
167364
  static async appendSecurityToken(url, accessClient, accessTokenParams) {
167316
167365
  // Append security token if available
@@ -167327,7 +167376,6 @@ class ArcGisUtilities {
167327
167376
  }
167328
167377
  }
167329
167378
  ArcGisUtilities._serviceCache = new Map();
167330
- ArcGisUtilities._footprintCache = new Map();
167331
167379
 
167332
167380
 
167333
167381
  /***/ }),
@@ -168206,18 +168254,9 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
168206
168254
  if (this._usesCachedTiles && this._tileMapSupported) {
168207
168255
  this._tileMap = new _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGISTileMap(this._settings.url, (_d = (_c = json.tileInfo) === null || _c === void 0 ? void 0 : _c.lods) === null || _d === void 0 ? void 0 : _d.length);
168208
168256
  }
168209
- const footprintJson = await _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisUtilities.getFootprintJson(this._settings.url, this.getRequestAuthorization());
168210
- if (undefined !== footprintJson && undefined !== footprintJson.featureCollection && Array.isArray(footprintJson.featureCollection.layers)) {
168211
- for (const layer of footprintJson.featureCollection.layers) {
168212
- if (layer.layerDefinition && layer.layerDefinition.extent) {
168213
- this.cartoRange = _internal__WEBPACK_IMPORTED_MODULE_4__.MapCartoRectangle.createFromDegrees(layer.layerDefinition.extent.xmin, layer.layerDefinition.extent.ymin, layer.layerDefinition.extent.xmax, layer.layerDefinition.extent.ymax);
168214
- break;
168215
- }
168216
- }
168217
- }
168218
- // Sometimes footprint request doesnt work, fallback to dataset fullextent
168219
- if (this.cartoRange === undefined && json.fullExtent) {
168220
- if (json.fullExtent.spatialReference.latestWkid === 3857) {
168257
+ // Read range using fullextent from service metadata
168258
+ if (json.fullExtent) {
168259
+ if (json.fullExtent.spatialReference.latestWkid === 3857 || json.fullExtent.spatialReference.wkid === 102100) {
168221
168260
  const range3857 = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_6__.Range2d.createFrom({
168222
168261
  low: { x: json.fullExtent.xmin, y: json.fullExtent.ymin },
168223
168262
  high: { x: json.fullExtent.xmax, y: json.fullExtent.ymax }
@@ -188144,17 +188183,17 @@ class BSplineCurve3dBase extends _curve_CurvePrimitive__WEBPACK_IMPORTED_MODULE_
188144
188183
  * @returns Returns a CurveLocationDetail structure that holds the details of the close point.
188145
188184
  */
188146
188185
  closestPoint(spacePoint, _extend) {
188186
+ // seed at start point -- final point comes with final bezier perpendicular step.
188147
188187
  const point = this.fractionToPoint(0);
188148
188188
  const result = _curve_CurveLocationDetail__WEBPACK_IMPORTED_MODULE_2__.CurveLocationDetail.createCurveFractionPointDistance(this, 0.0, point, point.distance(spacePoint));
188149
- this.fractionToPoint(1.0, point);
188150
- result.updateIfCloserCurveFractionPointDistance(this, 1.0, point, spacePoint.distance(point));
188151
188189
  let span;
188152
188190
  const numSpans = this.numSpan;
188153
188191
  for (let i = 0; i < numSpans; i++) {
188154
188192
  if (this._bcurve.knots.isIndexOfRealSpan(i)) {
188155
188193
  span = this.getSaturatedBezierSpan3dOr3dH(i, true, span);
188156
188194
  if (span) {
188157
- if (span.updateClosestPointByTruePerpendicular(spacePoint, result)) {
188195
+ // umm ... if the bspline is discontinuous, both ends should be tested. Ignore that possibility ...
188196
+ if (span.updateClosestPointByTruePerpendicular(spacePoint, result, false, true)) {
188158
188197
  // the detail records the span bezier -- promote it to the parent curve . ..
188159
188198
  result.curve = this;
188160
188199
  result.fraction = span.fractionToParentFraction(result.fraction);
@@ -191604,7 +191643,7 @@ class BezierCurve3dH extends _BezierCurveBase__WEBPACK_IMPORTED_MODULE_0__.Bezie
191604
191643
  * @param detail pre-allocated detail to record (evolving) closest point.
191605
191644
  * @returns true if an updated occurred, false if either (a) no perpendicular projections or (b) perpendiculars were not closer.
191606
191645
  */
191607
- updateClosestPointByTruePerpendicular(spacePoint, detail) {
191646
+ updateClosestPointByTruePerpendicular(spacePoint, detail, testAt0 = false, testAt1 = false) {
191608
191647
  let numUpdates = 0;
191609
191648
  let roots;
191610
191649
  if (this.isUnitWeight()) {
@@ -191656,8 +191695,17 @@ class BezierCurve3dH extends _BezierCurveBase__WEBPACK_IMPORTED_MODULE_0__.Bezie
191656
191695
  numUpdates += detail.updateIfCloserCurveFractionPointDistance(this, fraction, xyz, a) ? 1 : 0;
191657
191696
  }
191658
191697
  }
191698
+ if (testAt0)
191699
+ numUpdates += this.updateDetailAtFraction(detail, 0.0, spacePoint) ? 1 : 0;
191700
+ if (testAt1)
191701
+ numUpdates += this.updateDetailAtFraction(detail, 1.0, spacePoint) ? 1 : 0;
191659
191702
  return numUpdates > 0;
191660
191703
  }
191704
+ updateDetailAtFraction(detail, fraction, spacePoint) {
191705
+ const xyz = this.fractionToPoint(fraction);
191706
+ const a = xyz.distance(spacePoint);
191707
+ return detail.updateIfCloserCurveFractionPointDistance(this, fraction, xyz, a);
191708
+ }
191661
191709
  /** Extend `rangeToExtend`, using candidate extrema at
191662
191710
  * * both end points
191663
191711
  * * any internal extrema in x,y,z
@@ -200354,6 +200402,7 @@ class CurveChainWithDistanceIndex extends _curve_CurvePrimitive__WEBPACK_IMPORTE
200354
200402
  const chainFraction = this.chainDistanceToChainFraction(chainDistance);
200355
200403
  const chainDetail = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_7__.CurveLocationDetail.createCurveFractionPoint(this, chainFraction, childDetail.point);
200356
200404
  chainDetail.childDetail = childDetail;
200405
+ chainDetail.a = childDetail.a;
200357
200406
  return chainDetail;
200358
200407
  }
200359
200408
  return undefined;
@@ -243623,7 +243672,7 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
243623
243672
  * * Circular or elliptical pipe cross sections can be specified by supplying either a radius, a pair of semi-axis lengths, or a full Arc3d.
243624
243673
  * * For semi-axis length input, x corresponds to an ellipse local axis nominally situated parallel to the xy-plane.
243625
243674
  * * The center of Arc3d input is translated to the centerline start point to act as initial cross section.
243626
- * @param centerline centerline of pipe
243675
+ * @param centerline centerline of pipe. If curved, it will be stroked using the builder's StrokeOptions.
243627
243676
  * @param sectionData circle radius, ellipse semi-axis lengths, or full Arc3d
243628
243677
  * @param numFacetAround how many equal parameter-space chords around each section
243629
243678
  */
@@ -243642,7 +243691,7 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
243642
243691
  }
243643
243692
  else if (centerline instanceof _curve_GeometryQuery__WEBPACK_IMPORTED_MODULE_32__.GeometryQuery) {
243644
243693
  const linestring = _curve_LineString3d__WEBPACK_IMPORTED_MODULE_11__.LineString3d.create();
243645
- centerline.emitStrokes(linestring);
243694
+ centerline.emitStrokes(linestring, this._options);
243646
243695
  this.addMiteredPipesFromPoints(linestring.packedPoints, sectionData, numFacetAround);
243647
243696
  }
243648
243697
  }
@@ -254686,6 +254735,26 @@ class Sample {
254686
254735
  }
254687
254736
  return result;
254688
254737
  }
254738
+ /** Create various orders of non-rational B-spline curves with helical poles */
254739
+ static createBsplineCurveHelices(radius, height, numTurns, numSamplesPerTurn) {
254740
+ const pts = [];
254741
+ const zDelta = (height / numTurns) / numSamplesPerTurn;
254742
+ const aDelta = 2 * Math.PI / numSamplesPerTurn;
254743
+ for (let iTurn = 0; iTurn < numTurns; ++iTurn) {
254744
+ for (let iSample = 0; iSample < numSamplesPerTurn; iSample++) {
254745
+ pts.push(_geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Point3d.create(radius * Math.cos(iSample * aDelta), radius * Math.sin(iSample * aDelta), pts.length * zDelta));
254746
+ }
254747
+ }
254748
+ const result = [];
254749
+ for (const order of [2, 3, 4, 9, 16, 25]) {
254750
+ if (order > pts.length)
254751
+ continue;
254752
+ const curve = _bspline_BSplineCurve__WEBPACK_IMPORTED_MODULE_9__.BSplineCurve3d.createUniformKnots(pts, order);
254753
+ if (curve !== undefined)
254754
+ result.push(curve);
254755
+ }
254756
+ return result;
254757
+ }
254689
254758
  /** Create weighted bsplines for circular arcs.
254690
254759
  */
254691
254760
  static createBspline3dHArcs() {
@@ -265661,8 +265730,8 @@ __webpack_require__.r(__webpack_exports__);
265661
265730
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
265662
265731
  /* harmony export */ "ITwinLocalization": () => (/* binding */ ITwinLocalization)
265663
265732
  /* harmony export */ });
265664
- /* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.8.14/node_modules/i18next/dist/esm/i18next.js");
265665
- /* harmony import */ var i18next_browser_languagedetector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! i18next-browser-languagedetector */ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.4/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js");
265733
+ /* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.9.0/node_modules/i18next/dist/esm/i18next.js");
265734
+ /* harmony import */ var i18next_browser_languagedetector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! i18next-browser-languagedetector */ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.5/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js");
265666
265735
  /* harmony import */ var i18next_xhr_backend__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! i18next-xhr-backend */ "../../common/temp/node_modules/.pnpm/i18next-xhr-backend@3.2.2/node_modules/i18next-xhr-backend/dist/esm/i18nextXHRBackend.js");
265667
265736
  /* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
265668
265737
  /*---------------------------------------------------------------------------------------------
@@ -287059,7 +287128,7 @@ class TestContext {
287059
287128
  this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
287060
287129
  const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${(_a = process.env.IMJS_URL_PREFIX) !== null && _a !== void 0 ? _a : ""}api.bentley.com/imodels` } });
287061
287130
  await core_frontend_1.NoRenderApp.startup({
287062
- applicationVersion: "3.4.0-dev.1",
287131
+ applicationVersion: "3.4.0-dev.14",
287063
287132
  applicationId: this.settings.gprid,
287064
287133
  authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
287065
287134
  hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
@@ -302311,9 +302380,9 @@ const gBase64 = {
302311
302380
 
302312
302381
  /***/ }),
302313
302382
 
302314
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
302383
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
302315
302384
  /*!******************************************************************************************************************************!*\
302316
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
302385
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
302317
302386
  \******************************************************************************************************************************/
302318
302387
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302319
302388
 
@@ -302334,9 +302403,9 @@ function _arrayLikeToArray(arr, len) {
302334
302403
 
302335
302404
  /***/ }),
302336
302405
 
302337
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
302406
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
302338
302407
  /*!****************************************************************************************************************************!*\
302339
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
302408
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
302340
302409
  \****************************************************************************************************************************/
302341
302410
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302342
302411
 
@@ -302351,9 +302420,9 @@ function _arrayWithHoles(arr) {
302351
302420
 
302352
302421
  /***/ }),
302353
302422
 
302354
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
302423
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
302355
302424
  /*!***********************************************************************************************************************************!*\
302356
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
302425
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
302357
302426
  \***********************************************************************************************************************************/
302358
302427
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302359
302428
 
@@ -302372,9 +302441,9 @@ function _assertThisInitialized(self) {
302372
302441
 
302373
302442
  /***/ }),
302374
302443
 
302375
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
302444
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
302376
302445
  /*!****************************************************************************************************************************!*\
302377
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
302446
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
302378
302447
  \****************************************************************************************************************************/
302379
302448
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302380
302449
 
@@ -302391,9 +302460,9 @@ function _classCallCheck(instance, Constructor) {
302391
302460
 
302392
302461
  /***/ }),
302393
302462
 
302394
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/createClass.js":
302463
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js":
302395
302464
  /*!*************************************************************************************************************************!*\
302396
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
302465
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
302397
302466
  \*************************************************************************************************************************/
302398
302467
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302399
302468
 
@@ -302423,9 +302492,9 @@ function _createClass(Constructor, protoProps, staticProps) {
302423
302492
 
302424
302493
  /***/ }),
302425
302494
 
302426
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
302495
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
302427
302496
  /*!****************************************************************************************************************************!*\
302428
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
302497
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
302429
302498
  \****************************************************************************************************************************/
302430
302499
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302431
302500
 
@@ -302451,9 +302520,9 @@ function _defineProperty(obj, key, value) {
302451
302520
 
302452
302521
  /***/ }),
302453
302522
 
302454
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
302523
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
302455
302524
  /*!****************************************************************************************************************************!*\
302456
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
302525
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
302457
302526
  \****************************************************************************************************************************/
302458
302527
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302459
302528
 
@@ -302471,9 +302540,9 @@ function _getPrototypeOf(o) {
302471
302540
 
302472
302541
  /***/ }),
302473
302542
 
302474
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/inherits.js":
302543
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/inherits.js":
302475
302544
  /*!**********************************************************************************************************************!*\
302476
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/inherits.js ***!
302545
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/inherits.js ***!
302477
302546
  \**********************************************************************************************************************/
302478
302547
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302479
302548
 
@@ -302482,7 +302551,7 @@ __webpack_require__.r(__webpack_exports__);
302482
302551
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
302483
302552
  /* harmony export */ "default": () => (/* binding */ _inherits)
302484
302553
  /* harmony export */ });
302485
- /* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");
302554
+ /* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");
302486
302555
 
302487
302556
  function _inherits(subClass, superClass) {
302488
302557
  if (typeof superClass !== "function" && superClass !== null) {
@@ -302504,9 +302573,9 @@ function _inherits(subClass, superClass) {
302504
302573
 
302505
302574
  /***/ }),
302506
302575
 
302507
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
302576
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
302508
302577
  /*!*****************************************************************************************************************************!*\
302509
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
302578
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
302510
302579
  \*****************************************************************************************************************************/
302511
302580
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302512
302581
 
@@ -302521,9 +302590,9 @@ function _iterableToArray(iter) {
302521
302590
 
302522
302591
  /***/ }),
302523
302592
 
302524
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
302593
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
302525
302594
  /*!*****************************************************************************************************************************!*\
302526
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
302595
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
302527
302596
  \*****************************************************************************************************************************/
302528
302597
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302529
302598
 
@@ -302538,9 +302607,9 @@ function _nonIterableRest() {
302538
302607
 
302539
302608
  /***/ }),
302540
302609
 
302541
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
302610
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
302542
302611
  /*!***************************************************************************************************************************************!*\
302543
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
302612
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
302544
302613
  \***************************************************************************************************************************************/
302545
302614
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302546
302615
 
@@ -302549,8 +302618,8 @@ __webpack_require__.r(__webpack_exports__);
302549
302618
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
302550
302619
  /* harmony export */ "default": () => (/* binding */ _possibleConstructorReturn)
302551
302620
  /* harmony export */ });
302552
- /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/typeof.js");
302553
- /* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
302621
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js");
302622
+ /* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
302554
302623
 
302555
302624
 
302556
302625
  function _possibleConstructorReturn(self, call) {
@@ -302565,9 +302634,9 @@ function _possibleConstructorReturn(self, call) {
302565
302634
 
302566
302635
  /***/ }),
302567
302636
 
302568
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
302637
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
302569
302638
  /*!****************************************************************************************************************************!*\
302570
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
302639
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
302571
302640
  \****************************************************************************************************************************/
302572
302641
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302573
302642
 
@@ -302586,9 +302655,9 @@ function _setPrototypeOf(o, p) {
302586
302655
 
302587
302656
  /***/ }),
302588
302657
 
302589
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/toArray.js":
302658
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/toArray.js":
302590
302659
  /*!*********************************************************************************************************************!*\
302591
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/toArray.js ***!
302660
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/toArray.js ***!
302592
302661
  \*********************************************************************************************************************/
302593
302662
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302594
302663
 
@@ -302597,10 +302666,10 @@ __webpack_require__.r(__webpack_exports__);
302597
302666
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
302598
302667
  /* harmony export */ "default": () => (/* binding */ _toArray)
302599
302668
  /* harmony export */ });
302600
- /* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js");
302601
- /* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/iterableToArray.js");
302602
- /* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");
302603
- /* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");
302669
+ /* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js");
302670
+ /* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/iterableToArray.js");
302671
+ /* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");
302672
+ /* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");
302604
302673
 
302605
302674
 
302606
302675
 
@@ -302611,9 +302680,9 @@ function _toArray(arr) {
302611
302680
 
302612
302681
  /***/ }),
302613
302682
 
302614
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/typeof.js":
302683
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js":
302615
302684
  /*!********************************************************************************************************************!*\
302616
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
302685
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
302617
302686
  \********************************************************************************************************************/
302618
302687
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302619
302688
 
@@ -302634,9 +302703,9 @@ function _typeof(obj) {
302634
302703
 
302635
302704
  /***/ }),
302636
302705
 
302637
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
302706
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
302638
302707
  /*!****************************************************************************************************************************************!*\
302639
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
302708
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
302640
302709
  \****************************************************************************************************************************************/
302641
302710
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302642
302711
 
@@ -302645,7 +302714,7 @@ __webpack_require__.r(__webpack_exports__);
302645
302714
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
302646
302715
  /* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
302647
302716
  /* harmony export */ });
302648
- /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");
302717
+ /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");
302649
302718
 
302650
302719
  function _unsupportedIterableToArray(o, minLen) {
302651
302720
  if (!o) return;
@@ -302658,10 +302727,10 @@ function _unsupportedIterableToArray(o, minLen) {
302658
302727
 
302659
302728
  /***/ }),
302660
302729
 
302661
- /***/ "../../common/temp/node_modules/.pnpm/i18next@21.8.14/node_modules/i18next/dist/esm/i18next.js":
302662
- /*!*****************************************************************************************************!*\
302663
- !*** ../../common/temp/node_modules/.pnpm/i18next@21.8.14/node_modules/i18next/dist/esm/i18next.js ***!
302664
- \*****************************************************************************************************/
302730
+ /***/ "../../common/temp/node_modules/.pnpm/i18next@21.9.0/node_modules/i18next/dist/esm/i18next.js":
302731
+ /*!****************************************************************************************************!*\
302732
+ !*** ../../common/temp/node_modules/.pnpm/i18next@21.9.0/node_modules/i18next/dist/esm/i18next.js ***!
302733
+ \****************************************************************************************************/
302665
302734
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302666
302735
 
302667
302736
  "use strict";
@@ -302682,15 +302751,15 @@ __webpack_require__.r(__webpack_exports__);
302682
302751
  /* harmony export */ "t": () => (/* binding */ t),
302683
302752
  /* harmony export */ "use": () => (/* binding */ use)
302684
302753
  /* harmony export */ });
302685
- /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/typeof.js");
302686
- /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
302687
- /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/createClass.js");
302688
- /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
302689
- /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/inherits.js");
302690
- /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
302691
- /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
302692
- /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
302693
- /* harmony import */ var _babel_runtime_helpers_esm_toArray__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/toArray.js");
302754
+ /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js");
302755
+ /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
302756
+ /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js");
302757
+ /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
302758
+ /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/inherits.js");
302759
+ /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
302760
+ /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
302761
+ /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
302762
+ /* harmony import */ var _babel_runtime_helpers_esm_toArray__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/toArray.js");
302694
302763
 
302695
302764
 
302696
302765
 
@@ -304562,6 +304631,8 @@ var Connector = function (_EventEmitter) {
304562
304631
  _this.waitingReads = [];
304563
304632
  _this.maxParallelReads = options.maxParallelReads || 10;
304564
304633
  _this.readingCalls = 0;
304634
+ _this.maxRetries = options.maxRetries >= 0 ? options.maxRetries : 5;
304635
+ _this.retryTimeout = options.retryTimeout >= 1 ? options.retryTimeout : 350;
304565
304636
  _this.state = {};
304566
304637
  _this.queue = [];
304567
304638
 
@@ -304668,7 +304739,7 @@ var Connector = function (_EventEmitter) {
304668
304739
  var _this3 = this;
304669
304740
 
304670
304741
  var tried = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
304671
- var wait = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 350;
304742
+ var wait = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : this.retryTimeout;
304672
304743
  var callback = arguments.length > 5 ? arguments[5] : undefined;
304673
304744
  if (!lng.length) return callback(null, {});
304674
304745
 
@@ -304686,13 +304757,6 @@ var Connector = function (_EventEmitter) {
304686
304757
 
304687
304758
  this.readingCalls++;
304688
304759
  return this.backend[fcName](lng, ns, function (err, data) {
304689
- if (err && data && tried < 5) {
304690
- setTimeout(function () {
304691
- _this3.read.call(_this3, lng, ns, fcName, tried + 1, wait * 2, callback);
304692
- }, wait);
304693
- return;
304694
- }
304695
-
304696
304760
  _this3.readingCalls--;
304697
304761
 
304698
304762
  if (_this3.waitingReads.length > 0) {
@@ -304701,6 +304765,13 @@ var Connector = function (_EventEmitter) {
304701
304765
  _this3.read(next.lng, next.ns, next.fcName, next.tried, next.wait, next.callback);
304702
304766
  }
304703
304767
 
304768
+ if (err && data && tried < _this3.maxRetries) {
304769
+ setTimeout(function () {
304770
+ _this3.read.call(_this3, lng, ns, fcName, tried + 1, wait * 2, callback);
304771
+ }, wait);
304772
+ return;
304773
+ }
304774
+
304704
304775
  callback(err, data);
304705
304776
  });
304706
304777
  }
@@ -305516,7 +305587,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
305516
305587
  /***/ ((module) => {
305517
305588
 
305518
305589
  "use strict";
305519
- module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.0-dev.1","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","build:ci":"npm run -s build && npm run -s build:esm","build:cjs":"tsc 1>&2 --outDir lib/cjs","build:esm":"tsc 1>&2 --module ES2020 --outDir lib/esm","clean":"rimraf lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","docs":"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/primitives,**/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-eslintrc -c \\"../../tools/eslint-plugin/dist/configs/extension-exports-config.js\\" \\"./src/**/*.ts\\" 1>&2","lint":"eslint -f visualstudio \\"./src/**/*.ts\\" 1>&2","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run -s webpackTests && certa -r chrome","cover":"npm -s test","test:debug":"certa -r chrome --debug","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core/tree/master/core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:^3.4.0-dev.1","@itwin/core-bentley":"workspace:^3.4.0-dev.1","@itwin/core-common":"workspace:^3.4.0-dev.1","@itwin/core-geometry":"workspace:^3.4.0-dev.1","@itwin/core-orbitgt":"workspace:^3.4.0-dev.1","@itwin/core-quantity":"workspace:^3.4.0-dev.1","@itwin/webgl-compatibility":"workspace:^3.4.0-dev.1"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/certa":"workspace:*","@itwin/eslint-plugin":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/deep-assign":"^0.1.0","@types/lodash":"^4.14.0","@types/mocha":"^8.2.2","@types/node":"16.11.7","@types/qs":"^6.5.0","@types/semver":"^7.3.9","@types/superagent":"^4.1.14","@types/sinon":"^9.0.0","chai":"^4.1.2","chai-as-promised":"^7","cpx2":"^3.0.0","eslint":"^7.11.0","glob":"^7.1.2","mocha":"^10.0.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^9.0.2","source-map-loader":"^4.0.0","typescript":"~4.4.0","webpack":"^5.64.4"},"//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/core-telemetry":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","deep-assign":"^2.0.0","fuse.js":"^3.3.0","lodash":"^4.17.10","qs":"^6.5.1","semver":"^7.3.5","superagent":"7.1.3","wms-capabilities":"0.4.0","xml-js":"~1.6.11"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"},"eslintConfig":{"plugins":["@itwin"],"extends":"plugin:@itwin/itwinjs-recommended","rules":{"@itwin/no-internal-barrel-imports":["error",{"required-barrel-modules":["./src/tile/internal.ts"]}],"@itwin/public-extension-exports":["error",{"releaseTags":["public","preview"],"outputApiFile":false}]},"overrides":[{"files":["*.test.ts","*.test.tsx","**/test/**/*.ts"],"rules":{"@itwin/no-internal-barrel-imports":"off"}}]}}');
305590
+ module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.0-dev.14","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","build:ci":"npm run -s build && npm run -s build:esm","build:cjs":"tsc 1>&2 --outDir lib/cjs","build:esm":"tsc 1>&2 --module ES2020 --outDir lib/esm","clean":"rimraf lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","docs":"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/primitives,**/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-eslintrc -c \\"../../tools/eslint-plugin/dist/configs/extension-exports-config.js\\" \\"./src/**/*.ts\\" 1>&2","lint":"eslint -f visualstudio \\"./src/**/*.ts\\" 1>&2","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run -s webpackTests && certa -r chrome","cover":"npm -s test","test:debug":"certa -r chrome --debug","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core/tree/master/core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:^3.4.0-dev.14","@itwin/core-bentley":"workspace:^3.4.0-dev.14","@itwin/core-common":"workspace:^3.4.0-dev.14","@itwin/core-geometry":"workspace:^3.4.0-dev.14","@itwin/core-orbitgt":"workspace:^3.4.0-dev.14","@itwin/core-quantity":"workspace:^3.4.0-dev.14","@itwin/webgl-compatibility":"workspace:^3.4.0-dev.14"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/certa":"workspace:*","@itwin/eslint-plugin":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/deep-assign":"^0.1.0","@types/lodash":"^4.14.0","@types/mocha":"^8.2.2","@types/node":"16.11.7","@types/qs":"^6.5.0","@types/semver":"7.3.10","@types/superagent":"^4.1.14","@types/sinon":"^9.0.0","chai":"^4.1.2","chai-as-promised":"^7","cpx2":"^3.0.0","eslint":"^7.11.0","glob":"^7.1.2","mocha":"^10.0.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^9.0.2","source-map-loader":"^4.0.0","typescript":"~4.4.0","webpack":"^5.64.4"},"//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/core-telemetry":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","deep-assign":"^2.0.0","fuse.js":"^3.3.0","lodash":"^4.17.10","qs":"^6.5.1","semver":"^7.3.5","superagent":"7.1.3","wms-capabilities":"0.4.0","xml-js":"~1.6.11"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"},"eslintConfig":{"plugins":["@itwin"],"extends":"plugin:@itwin/itwinjs-recommended","rules":{"@itwin/no-internal-barrel-imports":["error",{"required-barrel-modules":["./src/tile/internal.ts"]}],"@itwin/public-extension-exports":["error",{"releaseTags":["public","preview"],"outputApiFile":false}]},"overrides":[{"files":["*.test.ts","*.test.tsx","**/test/**/*.ts"],"rules":{"@itwin/no-internal-barrel-imports":"off"}}]}}');
305520
305591
 
305521
305592
  /***/ }),
305522
305593