@itwin/rpcinterface-full-stack-tests 3.4.0-dev.2 → 3.4.0-dev.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/dist/{_c41d.bundled-tests.js → _c5fe.bundled-tests.js} +3 -3
- package/lib/dist/_c5fe.bundled-tests.js.map +1 -0
- package/lib/dist/bundled-tests.js +275 -221
- package/lib/dist/bundled-tests.js.map +1 -1
- package/lib/dist/core_frontend_lib_esm_ApproximateTerrainHeightsProps_js.bundled-tests.js.map +1 -1
- package/lib/dist/{vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_5_node_modules_loaders_gl_draco_di-e0b0bc.bundled-tests.js → vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_7_node_modules_loaders_gl_draco_di-a586d9.bundled-tests.js} +72 -72
- package/lib/dist/{vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_5_node_modules_loaders_gl_draco_di-e0b0bc.bundled-tests.js.map → vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_7_node_modules_loaders_gl_draco_di-a586d9.bundled-tests.js.map} +1 -1
- package/package.json +14 -14
- package/lib/dist/_c41d.bundled-tests.js.map +0 -1
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
|
|
22
22
|
/***/ }),
|
|
23
23
|
|
|
24
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.2.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
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 +=
|
|
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 +=
|
|
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 +=
|
|
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 +=
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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 =
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
|
|
68940
|
-
|
|
68941
|
-
|
|
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
|
-
|
|
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
|
|
86815
|
+
if (message.type !== IpcWebSocketMessageType.Invoke)
|
|
86814
86816
|
return;
|
|
86815
|
-
|
|
86816
|
-
|
|
86817
|
+
this._processingQueue.push(message);
|
|
86818
|
+
await this.processMessages();
|
|
86819
|
+
}
|
|
86820
|
+
async processMessages() {
|
|
86821
|
+
if (this._processing || !this._processingQueue.length) {
|
|
86817
86822
|
return;
|
|
86818
|
-
|
|
86819
|
-
|
|
86820
|
-
|
|
86821
|
-
|
|
86822
|
-
|
|
86823
|
-
|
|
86824
|
-
|
|
86825
|
-
|
|
86826
|
-
|
|
86827
|
-
|
|
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
|
|
|
@@ -89929,6 +89944,9 @@ class BentleyCloudRpcProtocol extends _WebAppRpcProtocol__WEBPACK_IMPORTED_MODUL
|
|
|
89929
89944
|
const components = url.pathname.split("/").filter((x) => x); // filter out empty segments
|
|
89930
89945
|
const operationComponent = components.slice(-1)[0];
|
|
89931
89946
|
const encodedRequest = url.searchParams.get("parameters") || "";
|
|
89947
|
+
// The encodedRequest should be base64 - fail now if any other characters detected.
|
|
89948
|
+
if (/[^A-z0-9=+\/]/.test(encodedRequest))
|
|
89949
|
+
throw new _IModelError__WEBPACK_IMPORTED_MODULE_1__.IModelError(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.ERROR, `Invalid request: Malformed URL parameters detected.`);
|
|
89932
89950
|
const firstHyphen = operationComponent.indexOf("-");
|
|
89933
89951
|
const lastHyphen = operationComponent.lastIndexOf("-");
|
|
89934
89952
|
const interfaceDefinition = operationComponent.slice(0, firstHyphen);
|
|
@@ -90320,11 +90338,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
90320
90338
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
90321
90339
|
/* harmony export */ "WebAppRpcProtocol": () => (/* binding */ WebAppRpcProtocol)
|
|
90322
90340
|
/* harmony export */ });
|
|
90323
|
-
/* harmony import */ var
|
|
90324
|
-
/* harmony import */ var
|
|
90325
|
-
/* harmony import */ var
|
|
90326
|
-
/* harmony import */ var
|
|
90327
|
-
/* harmony import */ var
|
|
90341
|
+
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
90342
|
+
/* harmony import */ var _CommonLoggerCategory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../CommonLoggerCategory */ "../../core/common/lib/esm/CommonLoggerCategory.js");
|
|
90343
|
+
/* harmony import */ var _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/RpcConstants */ "../../core/common/lib/esm/rpc/core/RpcConstants.js");
|
|
90344
|
+
/* harmony import */ var _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/RpcProtocol */ "../../core/common/lib/esm/rpc/core/RpcProtocol.js");
|
|
90345
|
+
/* harmony import */ var _OpenAPI__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./OpenAPI */ "../../core/common/lib/esm/rpc/web/OpenAPI.js");
|
|
90346
|
+
/* harmony import */ var _WebAppRpcLogging__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./WebAppRpcLogging */ "../../core/common/lib/esm/rpc/web/WebAppRpcLogging.js");
|
|
90347
|
+
/* harmony import */ var _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./WebAppRpcRequest */ "../../core/common/lib/esm/rpc/web/WebAppRpcRequest.js");
|
|
90328
90348
|
/*---------------------------------------------------------------------------------------------
|
|
90329
90349
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
90330
90350
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -90337,10 +90357,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
90337
90357
|
|
|
90338
90358
|
|
|
90339
90359
|
|
|
90360
|
+
|
|
90361
|
+
|
|
90340
90362
|
/** The HTTP application protocol.
|
|
90341
90363
|
* @internal
|
|
90342
90364
|
*/
|
|
90343
|
-
class WebAppRpcProtocol extends
|
|
90365
|
+
class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_3__.RpcProtocol {
|
|
90344
90366
|
/** Constructs an HTTP protocol. */
|
|
90345
90367
|
constructor(configuration) {
|
|
90346
90368
|
super(configuration);
|
|
@@ -90348,9 +90370,9 @@ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__.R
|
|
|
90348
90370
|
/** An optional prefix for RPC operation URI paths. */
|
|
90349
90371
|
this.pathPrefix = "";
|
|
90350
90372
|
/** The RPC request class for this protocol. */
|
|
90351
|
-
this.requestType =
|
|
90373
|
+
this.requestType = _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_6__.WebAppRpcRequest;
|
|
90352
90374
|
this.supportsStatusCategory = true;
|
|
90353
|
-
this.events.addListener(
|
|
90375
|
+
this.events.addListener(_WebAppRpcLogging__WEBPACK_IMPORTED_MODULE_5__.WebAppRpcLogging.logProtocolEvent);
|
|
90354
90376
|
}
|
|
90355
90377
|
/** Convenience handler for an RPC operation get request for an HTTP server. */
|
|
90356
90378
|
async handleOperationGetRequest(req, res) {
|
|
@@ -90358,9 +90380,19 @@ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__.R
|
|
|
90358
90380
|
}
|
|
90359
90381
|
/** Convenience handler for an RPC operation post request for an HTTP server. */
|
|
90360
90382
|
async handleOperationPostRequest(req, res) {
|
|
90361
|
-
|
|
90383
|
+
let request;
|
|
90384
|
+
try {
|
|
90385
|
+
request = await _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_6__.WebAppRpcRequest.parseRequest(this, req);
|
|
90386
|
+
}
|
|
90387
|
+
catch (error) {
|
|
90388
|
+
const message = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyError.getErrorMessage(error);
|
|
90389
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(_CommonLoggerCategory__WEBPACK_IMPORTED_MODULE_1__.CommonLoggerCategory.RpcInterfaceBackend, `Failed to parse request: ${message}`, _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyError.getErrorMetadata(error));
|
|
90390
|
+
res.status(400);
|
|
90391
|
+
res.send(JSON.stringify({ message, isError: true }));
|
|
90392
|
+
return;
|
|
90393
|
+
}
|
|
90362
90394
|
const fulfillment = await this.fulfill(request);
|
|
90363
|
-
await
|
|
90395
|
+
await _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_6__.WebAppRpcRequest.sendResponse(this, request, fulfillment, req, res);
|
|
90364
90396
|
}
|
|
90365
90397
|
/** Convenience handler for an OpenAPI description request for an HTTP server. */
|
|
90366
90398
|
handleOpenApiDescriptionRequest(_req, res) {
|
|
@@ -90370,45 +90402,45 @@ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__.R
|
|
|
90370
90402
|
/** Converts an HTTP content type value to an RPC content type value. */
|
|
90371
90403
|
static computeContentType(httpType) {
|
|
90372
90404
|
if (!httpType)
|
|
90373
|
-
return
|
|
90374
|
-
if (httpType.indexOf(
|
|
90375
|
-
return
|
|
90405
|
+
return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcContentType.Unknown;
|
|
90406
|
+
if (httpType.indexOf(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.WEB_RPC_CONSTANTS.ANY_TEXT) === 0) {
|
|
90407
|
+
return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcContentType.Text;
|
|
90376
90408
|
}
|
|
90377
|
-
else if (httpType.indexOf(
|
|
90378
|
-
return
|
|
90409
|
+
else if (httpType.indexOf(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.WEB_RPC_CONSTANTS.BINARY) === 0) {
|
|
90410
|
+
return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcContentType.Binary;
|
|
90379
90411
|
}
|
|
90380
|
-
else if (httpType.indexOf(
|
|
90381
|
-
return
|
|
90412
|
+
else if (httpType.indexOf(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.WEB_RPC_CONSTANTS.MULTIPART) === 0) {
|
|
90413
|
+
return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcContentType.Multipart;
|
|
90382
90414
|
}
|
|
90383
90415
|
else {
|
|
90384
|
-
return
|
|
90416
|
+
return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcContentType.Unknown;
|
|
90385
90417
|
}
|
|
90386
90418
|
}
|
|
90387
90419
|
/** Supplies the status corresponding to a protocol-specific code value. */
|
|
90388
90420
|
getStatus(code) {
|
|
90389
90421
|
switch (code) {
|
|
90390
|
-
case 404: return
|
|
90391
|
-
case 202: return
|
|
90392
|
-
case 200: return
|
|
90393
|
-
case 500: return
|
|
90394
|
-
case 204: return
|
|
90395
|
-
case 502: return
|
|
90396
|
-
case 503: return
|
|
90397
|
-
case 504: return
|
|
90398
|
-
default: return
|
|
90422
|
+
case 404: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.NotFound;
|
|
90423
|
+
case 202: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Pending;
|
|
90424
|
+
case 200: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Resolved;
|
|
90425
|
+
case 500: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Rejected;
|
|
90426
|
+
case 204: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.NoContent;
|
|
90427
|
+
case 502: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.BadGateway;
|
|
90428
|
+
case 503: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.ServiceUnavailable;
|
|
90429
|
+
case 504: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.GatewayTimeout;
|
|
90430
|
+
default: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Unknown;
|
|
90399
90431
|
}
|
|
90400
90432
|
}
|
|
90401
90433
|
/** Supplies the protocol-specific code corresponding to a status value. */
|
|
90402
90434
|
getCode(status) {
|
|
90403
90435
|
switch (status) {
|
|
90404
|
-
case
|
|
90405
|
-
case
|
|
90406
|
-
case
|
|
90407
|
-
case
|
|
90408
|
-
case
|
|
90409
|
-
case
|
|
90410
|
-
case
|
|
90411
|
-
case
|
|
90436
|
+
case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.NotFound: return 404;
|
|
90437
|
+
case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Pending: return 202;
|
|
90438
|
+
case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Resolved: return 200;
|
|
90439
|
+
case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Rejected: return 500;
|
|
90440
|
+
case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.NoContent: return 204;
|
|
90441
|
+
case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.BadGateway: return 502;
|
|
90442
|
+
case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.ServiceUnavailable: return 503;
|
|
90443
|
+
case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.GatewayTimeout: return 504;
|
|
90412
90444
|
default: return 501;
|
|
90413
90445
|
}
|
|
90414
90446
|
}
|
|
@@ -90419,7 +90451,7 @@ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__.R
|
|
|
90419
90451
|
/** An OpenAPI-compatible description of this protocol.
|
|
90420
90452
|
* @internal
|
|
90421
90453
|
*/
|
|
90422
|
-
get openAPIDescription() { return new
|
|
90454
|
+
get openAPIDescription() { return new _OpenAPI__WEBPACK_IMPORTED_MODULE_4__.RpcOpenAPIDescription(this); }
|
|
90423
90455
|
}
|
|
90424
90456
|
|
|
90425
90457
|
|
|
@@ -90520,7 +90552,7 @@ class WebAppRpcRequest extends _core_RpcRequest__WEBPACK_IMPORTED_MODULE_6__.Rpc
|
|
|
90520
90552
|
}
|
|
90521
90553
|
}
|
|
90522
90554
|
if (!request.id) {
|
|
90523
|
-
throw new _IModelError__WEBPACK_IMPORTED_MODULE_2__.IModelError(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.ERROR, `Invalid request.`);
|
|
90555
|
+
throw new _IModelError__WEBPACK_IMPORTED_MODULE_2__.IModelError(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.ERROR, `Invalid request: Missing required activity ID.`);
|
|
90524
90556
|
}
|
|
90525
90557
|
return request;
|
|
90526
90558
|
}
|
|
@@ -136639,8 +136671,6 @@ class RealityMeshGeometry extends _CachedGeometry__WEBPACK_IMPORTED_MODULE_7__.I
|
|
|
136639
136671
|
}
|
|
136640
136672
|
get techniqueId() { return 7 /* RealityMesh */; }
|
|
136641
136673
|
getPass(target) {
|
|
136642
|
-
if (target.isDrawingShadowMap)
|
|
136643
|
-
return "none";
|
|
136644
136674
|
if (this._baseIsTransparent || (target.wantThematicDisplay && target.uniforms.thematic.wantIsoLines))
|
|
136645
136675
|
return "translucent";
|
|
136646
136676
|
return "opaque";
|
|
@@ -142254,6 +142284,7 @@ class SolarShadowMap {
|
|
|
142254
142284
|
this.onGraphicsChanged(this._graphics);
|
|
142255
142285
|
}
|
|
142256
142286
|
update(context) {
|
|
142287
|
+
var _a;
|
|
142257
142288
|
this._isReady = false;
|
|
142258
142289
|
this.clearGraphics(false);
|
|
142259
142290
|
if (undefined === context || !context.viewport.view.isSpatialView()) {
|
|
@@ -142263,9 +142294,7 @@ class SolarShadowMap {
|
|
|
142263
142294
|
}
|
|
142264
142295
|
const view = context.viewport.view;
|
|
142265
142296
|
const style = view.getDisplayStyle3d();
|
|
142266
|
-
|
|
142267
|
-
if (undefined === sunDirection)
|
|
142268
|
-
sunDirection = defaultSunDirection;
|
|
142297
|
+
const sunDirection = (_a = style.sunDirection) !== null && _a !== void 0 ? _a : defaultSunDirection;
|
|
142269
142298
|
const minimumHorizonDirection = -.01;
|
|
142270
142299
|
if (sunDirection.z > minimumHorizonDirection) {
|
|
142271
142300
|
this.notifyGraphicsChanged();
|
|
@@ -142287,8 +142316,21 @@ class SolarShadowMap {
|
|
|
142287
142316
|
// Limit the map to only displayed models.
|
|
142288
142317
|
const viewTileRange = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Range3d.createNull();
|
|
142289
142318
|
view.forEachTileTreeRef((ref) => {
|
|
142290
|
-
if (ref.castsShadows)
|
|
142291
|
-
ref.
|
|
142319
|
+
if (ref.castsShadows) {
|
|
142320
|
+
if (ref.isGlobal) {
|
|
142321
|
+
// A shadow-casting tile tree that spans the globe. Limit its range to the viewed extents.
|
|
142322
|
+
for (const p3 of viewFrustum.points) {
|
|
142323
|
+
const p4 = worldToMap.multiplyPoint3d(p3, 1);
|
|
142324
|
+
if (p4.w > 0.0001)
|
|
142325
|
+
viewTileRange.extendXYZW(p4.x, p4.y, p4.z, p4.w);
|
|
142326
|
+
else
|
|
142327
|
+
viewTileRange.high.z = Math.max(1.0, viewTileRange.high.z); // behind eye plane.
|
|
142328
|
+
}
|
|
142329
|
+
}
|
|
142330
|
+
else {
|
|
142331
|
+
ref.accumulateTransformedRange(viewTileRange, worldToMap, undefined);
|
|
142332
|
+
}
|
|
142333
|
+
}
|
|
142292
142334
|
});
|
|
142293
142335
|
if (!viewTileRange.isNull)
|
|
142294
142336
|
viewTileRange.clone(shadowRange);
|
|
@@ -143519,7 +143561,15 @@ class System extends _RenderSystem__WEBPACK_IMPORTED_MODULE_7__.RenderSystem {
|
|
|
143519
143561
|
}
|
|
143520
143562
|
/** Attempt to create a texture using gradient symbology. */
|
|
143521
143563
|
getGradientTexture(symb, iModel) {
|
|
143522
|
-
|
|
143564
|
+
let width = 0x100;
|
|
143565
|
+
let height = 0x100;
|
|
143566
|
+
if (symb.mode === _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.Gradient.Mode.Thematic) {
|
|
143567
|
+
// Pixels in each row are identical, no point in having width > 1.
|
|
143568
|
+
width = 1;
|
|
143569
|
+
// We want maximum height to minimize bleeding of margin color.
|
|
143570
|
+
height = this.maxTextureSize;
|
|
143571
|
+
}
|
|
143572
|
+
const source = symb.produceImage({ width, height, includeThematicMargin: true });
|
|
143523
143573
|
return this.createTexture({
|
|
143524
143574
|
image: {
|
|
143525
143575
|
source,
|
|
@@ -147801,7 +147851,7 @@ const computeAmbientOcclusion = `
|
|
|
147801
147851
|
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.
|
|
147802
147852
|
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.
|
|
147803
147853
|
float intensity = u_hbaoSettings.z; // Raise the final occlusion to the power of this value. Larger values make the ambient shadows darker.
|
|
147804
|
-
float texelStepSize = u_hbaoSettings.w; // Indicates the distance to step toward the next texel sample in the current direction.
|
|
147854
|
+
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.
|
|
147805
147855
|
|
|
147806
147856
|
float tOcclusion = 0.0;
|
|
147807
147857
|
|
|
@@ -147846,6 +147896,9 @@ const computeAmbientOcclusion = `
|
|
|
147846
147896
|
tOcclusion += curOcclusion;
|
|
147847
147897
|
}
|
|
147848
147898
|
|
|
147899
|
+
float distanceFadeFactor = kFrustumType_Perspective == u_frustum.z ? 1.0 - pow(clamp(nonLinearDepth / u_maxDistance, 0.0, 1.0), 4.0) : 1.0;
|
|
147900
|
+
tOcclusion *= distanceFadeFactor;
|
|
147901
|
+
|
|
147849
147902
|
tOcclusion /= 4.0;
|
|
147850
147903
|
tOcclusion = 1.0 - clamp(tOcclusion, 0.0, 1.0);
|
|
147851
147904
|
tOcclusion = pow(tOcclusion, intensity);
|
|
@@ -157751,7 +157804,7 @@ class GltfReader {
|
|
|
157751
157804
|
if (dracoMeshes.length === 0)
|
|
157752
157805
|
return;
|
|
157753
157806
|
try {
|
|
157754
|
-
const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-
|
|
157807
|
+
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;
|
|
157755
157808
|
await Promise.all(dracoMeshes.map(async (x) => this.decodeDracoMesh(x, dracoLoader)));
|
|
157756
157809
|
}
|
|
157757
157810
|
catch (err) {
|
|
@@ -160878,7 +160931,7 @@ function readPnts(stream, dataOffset, pnts) {
|
|
|
160878
160931
|
async function decodeDracoPointCloud(buf) {
|
|
160879
160932
|
var _a, _b, _c, _d, _e, _f;
|
|
160880
160933
|
try {
|
|
160881
|
-
const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-
|
|
160934
|
+
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;
|
|
160882
160935
|
const mesh = await dracoLoader.parse(buf, {});
|
|
160883
160936
|
if (mesh.topology !== "point-list")
|
|
160884
160937
|
return undefined;
|
|
@@ -163063,6 +163116,7 @@ class RealityTileTree extends _internal__WEBPACK_IMPORTED_MODULE_6__.TileTree {
|
|
|
163063
163116
|
const preloadDebugBuilder = (debugControl && debugControl.displayRealityTilePreload) ? args.context.createSceneGraphicBuilder() : undefined;
|
|
163064
163117
|
const graphicTypeBranches = new Map();
|
|
163065
163118
|
const selectedTiles = this.selectRealityTiles(args, displayedTileDescendants, preloadDebugBuilder);
|
|
163119
|
+
args.processSelectedTiles(selectedTiles);
|
|
163066
163120
|
let sortIndices;
|
|
163067
163121
|
if (!this.parentsAndChildrenExclusive) {
|
|
163068
163122
|
sortIndices = selectedTiles.map((_x, i) => i);
|
|
@@ -167323,28 +167377,6 @@ class ArcGisUtilities {
|
|
|
167323
167377
|
return undefined;
|
|
167324
167378
|
}
|
|
167325
167379
|
}
|
|
167326
|
-
static async getFootprintJson(url, credentials) {
|
|
167327
|
-
const cached = ArcGisUtilities._footprintCache.get(url);
|
|
167328
|
-
if (cached !== undefined)
|
|
167329
|
-
return cached;
|
|
167330
|
-
try {
|
|
167331
|
-
const tmpUrl = new URL(url);
|
|
167332
|
-
tmpUrl.searchParams.append("f", "json");
|
|
167333
|
-
tmpUrl.searchParams.append("option", "footprints");
|
|
167334
|
-
tmpUrl.searchParams.append("outSR", "4326");
|
|
167335
|
-
const accessClient = _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.mapLayerFormatRegistry.getAccessClient("ArcGIS");
|
|
167336
|
-
if (accessClient) {
|
|
167337
|
-
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 });
|
|
167338
|
-
}
|
|
167339
|
-
const json = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_1__.getJson)(tmpUrl.toString());
|
|
167340
|
-
ArcGisUtilities._footprintCache.set(url, json);
|
|
167341
|
-
return json;
|
|
167342
|
-
}
|
|
167343
|
-
catch (_error) {
|
|
167344
|
-
ArcGisUtilities._footprintCache.set(url, undefined);
|
|
167345
|
-
return undefined;
|
|
167346
|
-
}
|
|
167347
|
-
}
|
|
167348
167380
|
// return the appended access token if available.
|
|
167349
167381
|
static async appendSecurityToken(url, accessClient, accessTokenParams) {
|
|
167350
167382
|
// Append security token if available
|
|
@@ -167361,7 +167393,6 @@ class ArcGisUtilities {
|
|
|
167361
167393
|
}
|
|
167362
167394
|
}
|
|
167363
167395
|
ArcGisUtilities._serviceCache = new Map();
|
|
167364
|
-
ArcGisUtilities._footprintCache = new Map();
|
|
167365
167396
|
|
|
167366
167397
|
|
|
167367
167398
|
/***/ }),
|
|
@@ -168240,18 +168271,9 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
168240
168271
|
if (this._usesCachedTiles && this._tileMapSupported) {
|
|
168241
168272
|
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);
|
|
168242
168273
|
}
|
|
168243
|
-
|
|
168244
|
-
if (
|
|
168245
|
-
|
|
168246
|
-
if (layer.layerDefinition && layer.layerDefinition.extent) {
|
|
168247
|
-
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);
|
|
168248
|
-
break;
|
|
168249
|
-
}
|
|
168250
|
-
}
|
|
168251
|
-
}
|
|
168252
|
-
// Sometimes footprint request doesnt work, fallback to dataset fullextent
|
|
168253
|
-
if (this.cartoRange === undefined && json.fullExtent) {
|
|
168254
|
-
if (json.fullExtent.spatialReference.latestWkid === 3857) {
|
|
168274
|
+
// Read range using fullextent from service metadata
|
|
168275
|
+
if (json.fullExtent) {
|
|
168276
|
+
if (json.fullExtent.spatialReference.latestWkid === 3857 || json.fullExtent.spatialReference.wkid === 102100) {
|
|
168255
168277
|
const range3857 = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_6__.Range2d.createFrom({
|
|
168256
168278
|
low: { x: json.fullExtent.xmin, y: json.fullExtent.ymin },
|
|
168257
168279
|
high: { x: json.fullExtent.xmax, y: json.fullExtent.ymax }
|
|
@@ -188178,17 +188200,17 @@ class BSplineCurve3dBase extends _curve_CurvePrimitive__WEBPACK_IMPORTED_MODULE_
|
|
|
188178
188200
|
* @returns Returns a CurveLocationDetail structure that holds the details of the close point.
|
|
188179
188201
|
*/
|
|
188180
188202
|
closestPoint(spacePoint, _extend) {
|
|
188203
|
+
// seed at start point -- final point comes with final bezier perpendicular step.
|
|
188181
188204
|
const point = this.fractionToPoint(0);
|
|
188182
188205
|
const result = _curve_CurveLocationDetail__WEBPACK_IMPORTED_MODULE_2__.CurveLocationDetail.createCurveFractionPointDistance(this, 0.0, point, point.distance(spacePoint));
|
|
188183
|
-
this.fractionToPoint(1.0, point);
|
|
188184
|
-
result.updateIfCloserCurveFractionPointDistance(this, 1.0, point, spacePoint.distance(point));
|
|
188185
188206
|
let span;
|
|
188186
188207
|
const numSpans = this.numSpan;
|
|
188187
188208
|
for (let i = 0; i < numSpans; i++) {
|
|
188188
188209
|
if (this._bcurve.knots.isIndexOfRealSpan(i)) {
|
|
188189
188210
|
span = this.getSaturatedBezierSpan3dOr3dH(i, true, span);
|
|
188190
188211
|
if (span) {
|
|
188191
|
-
if
|
|
188212
|
+
// umm ... if the bspline is discontinuous, both ends should be tested. Ignore that possibility ...
|
|
188213
|
+
if (span.updateClosestPointByTruePerpendicular(spacePoint, result, false, true)) {
|
|
188192
188214
|
// the detail records the span bezier -- promote it to the parent curve . ..
|
|
188193
188215
|
result.curve = this;
|
|
188194
188216
|
result.fraction = span.fractionToParentFraction(result.fraction);
|
|
@@ -191638,7 +191660,7 @@ class BezierCurve3dH extends _BezierCurveBase__WEBPACK_IMPORTED_MODULE_0__.Bezie
|
|
|
191638
191660
|
* @param detail pre-allocated detail to record (evolving) closest point.
|
|
191639
191661
|
* @returns true if an updated occurred, false if either (a) no perpendicular projections or (b) perpendiculars were not closer.
|
|
191640
191662
|
*/
|
|
191641
|
-
updateClosestPointByTruePerpendicular(spacePoint, detail) {
|
|
191663
|
+
updateClosestPointByTruePerpendicular(spacePoint, detail, testAt0 = false, testAt1 = false) {
|
|
191642
191664
|
let numUpdates = 0;
|
|
191643
191665
|
let roots;
|
|
191644
191666
|
if (this.isUnitWeight()) {
|
|
@@ -191690,8 +191712,17 @@ class BezierCurve3dH extends _BezierCurveBase__WEBPACK_IMPORTED_MODULE_0__.Bezie
|
|
|
191690
191712
|
numUpdates += detail.updateIfCloserCurveFractionPointDistance(this, fraction, xyz, a) ? 1 : 0;
|
|
191691
191713
|
}
|
|
191692
191714
|
}
|
|
191715
|
+
if (testAt0)
|
|
191716
|
+
numUpdates += this.updateDetailAtFraction(detail, 0.0, spacePoint) ? 1 : 0;
|
|
191717
|
+
if (testAt1)
|
|
191718
|
+
numUpdates += this.updateDetailAtFraction(detail, 1.0, spacePoint) ? 1 : 0;
|
|
191693
191719
|
return numUpdates > 0;
|
|
191694
191720
|
}
|
|
191721
|
+
updateDetailAtFraction(detail, fraction, spacePoint) {
|
|
191722
|
+
const xyz = this.fractionToPoint(fraction);
|
|
191723
|
+
const a = xyz.distance(spacePoint);
|
|
191724
|
+
return detail.updateIfCloserCurveFractionPointDistance(this, fraction, xyz, a);
|
|
191725
|
+
}
|
|
191695
191726
|
/** Extend `rangeToExtend`, using candidate extrema at
|
|
191696
191727
|
* * both end points
|
|
191697
191728
|
* * any internal extrema in x,y,z
|
|
@@ -200388,6 +200419,7 @@ class CurveChainWithDistanceIndex extends _curve_CurvePrimitive__WEBPACK_IMPORTE
|
|
|
200388
200419
|
const chainFraction = this.chainDistanceToChainFraction(chainDistance);
|
|
200389
200420
|
const chainDetail = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_7__.CurveLocationDetail.createCurveFractionPoint(this, chainFraction, childDetail.point);
|
|
200390
200421
|
chainDetail.childDetail = childDetail;
|
|
200422
|
+
chainDetail.a = childDetail.a;
|
|
200391
200423
|
return chainDetail;
|
|
200392
200424
|
}
|
|
200393
200425
|
return undefined;
|
|
@@ -243657,7 +243689,7 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
|
|
|
243657
243689
|
* * Circular or elliptical pipe cross sections can be specified by supplying either a radius, a pair of semi-axis lengths, or a full Arc3d.
|
|
243658
243690
|
* * For semi-axis length input, x corresponds to an ellipse local axis nominally situated parallel to the xy-plane.
|
|
243659
243691
|
* * The center of Arc3d input is translated to the centerline start point to act as initial cross section.
|
|
243660
|
-
* @param centerline centerline of pipe
|
|
243692
|
+
* @param centerline centerline of pipe. If curved, it will be stroked using the builder's StrokeOptions.
|
|
243661
243693
|
* @param sectionData circle radius, ellipse semi-axis lengths, or full Arc3d
|
|
243662
243694
|
* @param numFacetAround how many equal parameter-space chords around each section
|
|
243663
243695
|
*/
|
|
@@ -243676,7 +243708,7 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
|
|
|
243676
243708
|
}
|
|
243677
243709
|
else if (centerline instanceof _curve_GeometryQuery__WEBPACK_IMPORTED_MODULE_32__.GeometryQuery) {
|
|
243678
243710
|
const linestring = _curve_LineString3d__WEBPACK_IMPORTED_MODULE_11__.LineString3d.create();
|
|
243679
|
-
centerline.emitStrokes(linestring);
|
|
243711
|
+
centerline.emitStrokes(linestring, this._options);
|
|
243680
243712
|
this.addMiteredPipesFromPoints(linestring.packedPoints, sectionData, numFacetAround);
|
|
243681
243713
|
}
|
|
243682
243714
|
}
|
|
@@ -254720,6 +254752,26 @@ class Sample {
|
|
|
254720
254752
|
}
|
|
254721
254753
|
return result;
|
|
254722
254754
|
}
|
|
254755
|
+
/** Create various orders of non-rational B-spline curves with helical poles */
|
|
254756
|
+
static createBsplineCurveHelices(radius, height, numTurns, numSamplesPerTurn) {
|
|
254757
|
+
const pts = [];
|
|
254758
|
+
const zDelta = (height / numTurns) / numSamplesPerTurn;
|
|
254759
|
+
const aDelta = 2 * Math.PI / numSamplesPerTurn;
|
|
254760
|
+
for (let iTurn = 0; iTurn < numTurns; ++iTurn) {
|
|
254761
|
+
for (let iSample = 0; iSample < numSamplesPerTurn; iSample++) {
|
|
254762
|
+
pts.push(_geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Point3d.create(radius * Math.cos(iSample * aDelta), radius * Math.sin(iSample * aDelta), pts.length * zDelta));
|
|
254763
|
+
}
|
|
254764
|
+
}
|
|
254765
|
+
const result = [];
|
|
254766
|
+
for (const order of [2, 3, 4, 9, 16, 25]) {
|
|
254767
|
+
if (order > pts.length)
|
|
254768
|
+
continue;
|
|
254769
|
+
const curve = _bspline_BSplineCurve__WEBPACK_IMPORTED_MODULE_9__.BSplineCurve3d.createUniformKnots(pts, order);
|
|
254770
|
+
if (curve !== undefined)
|
|
254771
|
+
result.push(curve);
|
|
254772
|
+
}
|
|
254773
|
+
return result;
|
|
254774
|
+
}
|
|
254723
254775
|
/** Create weighted bsplines for circular arcs.
|
|
254724
254776
|
*/
|
|
254725
254777
|
static createBspline3dHArcs() {
|
|
@@ -265695,8 +265747,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
265695
265747
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
265696
265748
|
/* harmony export */ "ITwinLocalization": () => (/* binding */ ITwinLocalization)
|
|
265697
265749
|
/* harmony export */ });
|
|
265698
|
-
/* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.
|
|
265699
|
-
/* 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.
|
|
265750
|
+
/* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/esm/i18next.js");
|
|
265751
|
+
/* 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");
|
|
265700
265752
|
/* 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");
|
|
265701
265753
|
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
265702
265754
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -287093,7 +287145,7 @@ class TestContext {
|
|
|
287093
287145
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
287094
287146
|
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` } });
|
|
287095
287147
|
await core_frontend_1.NoRenderApp.startup({
|
|
287096
|
-
applicationVersion: "3.4.0-dev.
|
|
287148
|
+
applicationVersion: "3.4.0-dev.20",
|
|
287097
287149
|
applicationId: this.settings.gprid,
|
|
287098
287150
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
287099
287151
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -302345,9 +302397,9 @@ const gBase64 = {
|
|
|
302345
302397
|
|
|
302346
302398
|
/***/ }),
|
|
302347
302399
|
|
|
302348
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302400
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
|
|
302349
302401
|
/*!******************************************************************************************************************************!*\
|
|
302350
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302402
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
|
|
302351
302403
|
\******************************************************************************************************************************/
|
|
302352
302404
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302353
302405
|
|
|
@@ -302368,9 +302420,9 @@ function _arrayLikeToArray(arr, len) {
|
|
|
302368
302420
|
|
|
302369
302421
|
/***/ }),
|
|
302370
302422
|
|
|
302371
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302423
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
|
|
302372
302424
|
/*!****************************************************************************************************************************!*\
|
|
302373
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302425
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
|
|
302374
302426
|
\****************************************************************************************************************************/
|
|
302375
302427
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302376
302428
|
|
|
@@ -302385,9 +302437,9 @@ function _arrayWithHoles(arr) {
|
|
|
302385
302437
|
|
|
302386
302438
|
/***/ }),
|
|
302387
302439
|
|
|
302388
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302440
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
|
|
302389
302441
|
/*!***********************************************************************************************************************************!*\
|
|
302390
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302442
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
|
|
302391
302443
|
\***********************************************************************************************************************************/
|
|
302392
302444
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302393
302445
|
|
|
@@ -302406,9 +302458,9 @@ function _assertThisInitialized(self) {
|
|
|
302406
302458
|
|
|
302407
302459
|
/***/ }),
|
|
302408
302460
|
|
|
302409
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302461
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
|
|
302410
302462
|
/*!****************************************************************************************************************************!*\
|
|
302411
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302463
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
|
|
302412
302464
|
\****************************************************************************************************************************/
|
|
302413
302465
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302414
302466
|
|
|
@@ -302425,9 +302477,9 @@ function _classCallCheck(instance, Constructor) {
|
|
|
302425
302477
|
|
|
302426
302478
|
/***/ }),
|
|
302427
302479
|
|
|
302428
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302480
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js":
|
|
302429
302481
|
/*!*************************************************************************************************************************!*\
|
|
302430
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302482
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
|
|
302431
302483
|
\*************************************************************************************************************************/
|
|
302432
302484
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302433
302485
|
|
|
@@ -302457,9 +302509,9 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
302457
302509
|
|
|
302458
302510
|
/***/ }),
|
|
302459
302511
|
|
|
302460
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302512
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
|
|
302461
302513
|
/*!****************************************************************************************************************************!*\
|
|
302462
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302514
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
|
|
302463
302515
|
\****************************************************************************************************************************/
|
|
302464
302516
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302465
302517
|
|
|
@@ -302485,9 +302537,9 @@ function _defineProperty(obj, key, value) {
|
|
|
302485
302537
|
|
|
302486
302538
|
/***/ }),
|
|
302487
302539
|
|
|
302488
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302540
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
|
|
302489
302541
|
/*!****************************************************************************************************************************!*\
|
|
302490
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302542
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
|
|
302491
302543
|
\****************************************************************************************************************************/
|
|
302492
302544
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302493
302545
|
|
|
@@ -302505,9 +302557,9 @@ function _getPrototypeOf(o) {
|
|
|
302505
302557
|
|
|
302506
302558
|
/***/ }),
|
|
302507
302559
|
|
|
302508
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302560
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/inherits.js":
|
|
302509
302561
|
/*!**********************************************************************************************************************!*\
|
|
302510
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302562
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/inherits.js ***!
|
|
302511
302563
|
\**********************************************************************************************************************/
|
|
302512
302564
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302513
302565
|
|
|
@@ -302516,7 +302568,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302516
302568
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
302517
302569
|
/* harmony export */ "default": () => (/* binding */ _inherits)
|
|
302518
302570
|
/* harmony export */ });
|
|
302519
|
-
/* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302571
|
+
/* 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");
|
|
302520
302572
|
|
|
302521
302573
|
function _inherits(subClass, superClass) {
|
|
302522
302574
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -302538,9 +302590,9 @@ function _inherits(subClass, superClass) {
|
|
|
302538
302590
|
|
|
302539
302591
|
/***/ }),
|
|
302540
302592
|
|
|
302541
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302593
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
|
|
302542
302594
|
/*!*****************************************************************************************************************************!*\
|
|
302543
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302595
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
|
|
302544
302596
|
\*****************************************************************************************************************************/
|
|
302545
302597
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302546
302598
|
|
|
@@ -302555,9 +302607,9 @@ function _iterableToArray(iter) {
|
|
|
302555
302607
|
|
|
302556
302608
|
/***/ }),
|
|
302557
302609
|
|
|
302558
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302610
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
|
|
302559
302611
|
/*!*****************************************************************************************************************************!*\
|
|
302560
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302612
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
|
|
302561
302613
|
\*****************************************************************************************************************************/
|
|
302562
302614
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302563
302615
|
|
|
@@ -302572,9 +302624,9 @@ function _nonIterableRest() {
|
|
|
302572
302624
|
|
|
302573
302625
|
/***/ }),
|
|
302574
302626
|
|
|
302575
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302627
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
|
|
302576
302628
|
/*!***************************************************************************************************************************************!*\
|
|
302577
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302629
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
|
|
302578
302630
|
\***************************************************************************************************************************************/
|
|
302579
302631
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302580
302632
|
|
|
@@ -302583,8 +302635,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302583
302635
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
302584
302636
|
/* harmony export */ "default": () => (/* binding */ _possibleConstructorReturn)
|
|
302585
302637
|
/* harmony export */ });
|
|
302586
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302587
|
-
/* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302638
|
+
/* 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");
|
|
302639
|
+
/* 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");
|
|
302588
302640
|
|
|
302589
302641
|
|
|
302590
302642
|
function _possibleConstructorReturn(self, call) {
|
|
@@ -302599,9 +302651,9 @@ function _possibleConstructorReturn(self, call) {
|
|
|
302599
302651
|
|
|
302600
302652
|
/***/ }),
|
|
302601
302653
|
|
|
302602
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302654
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
|
|
302603
302655
|
/*!****************************************************************************************************************************!*\
|
|
302604
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302656
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
|
|
302605
302657
|
\****************************************************************************************************************************/
|
|
302606
302658
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302607
302659
|
|
|
@@ -302620,9 +302672,9 @@ function _setPrototypeOf(o, p) {
|
|
|
302620
302672
|
|
|
302621
302673
|
/***/ }),
|
|
302622
302674
|
|
|
302623
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302675
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/toArray.js":
|
|
302624
302676
|
/*!*********************************************************************************************************************!*\
|
|
302625
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302677
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/toArray.js ***!
|
|
302626
302678
|
\*********************************************************************************************************************/
|
|
302627
302679
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302628
302680
|
|
|
@@ -302631,10 +302683,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302631
302683
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
302632
302684
|
/* harmony export */ "default": () => (/* binding */ _toArray)
|
|
302633
302685
|
/* harmony export */ });
|
|
302634
|
-
/* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302635
|
-
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302636
|
-
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302637
|
-
/* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302686
|
+
/* 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");
|
|
302687
|
+
/* 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");
|
|
302688
|
+
/* 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");
|
|
302689
|
+
/* 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");
|
|
302638
302690
|
|
|
302639
302691
|
|
|
302640
302692
|
|
|
@@ -302645,9 +302697,9 @@ function _toArray(arr) {
|
|
|
302645
302697
|
|
|
302646
302698
|
/***/ }),
|
|
302647
302699
|
|
|
302648
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302700
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js":
|
|
302649
302701
|
/*!********************************************************************************************************************!*\
|
|
302650
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302702
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
|
|
302651
302703
|
\********************************************************************************************************************/
|
|
302652
302704
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302653
302705
|
|
|
@@ -302668,9 +302720,9 @@ function _typeof(obj) {
|
|
|
302668
302720
|
|
|
302669
302721
|
/***/ }),
|
|
302670
302722
|
|
|
302671
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302723
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
|
|
302672
302724
|
/*!****************************************************************************************************************************************!*\
|
|
302673
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302725
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
|
|
302674
302726
|
\****************************************************************************************************************************************/
|
|
302675
302727
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302676
302728
|
|
|
@@ -302679,7 +302731,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302679
302731
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
302680
302732
|
/* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
|
|
302681
302733
|
/* harmony export */ });
|
|
302682
|
-
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302734
|
+
/* 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");
|
|
302683
302735
|
|
|
302684
302736
|
function _unsupportedIterableToArray(o, minLen) {
|
|
302685
302737
|
if (!o) return;
|
|
@@ -302692,10 +302744,10 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
|
302692
302744
|
|
|
302693
302745
|
/***/ }),
|
|
302694
302746
|
|
|
302695
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next@21.
|
|
302696
|
-
|
|
302697
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next@21.
|
|
302698
|
-
|
|
302747
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/esm/i18next.js":
|
|
302748
|
+
/*!****************************************************************************************************!*\
|
|
302749
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/esm/i18next.js ***!
|
|
302750
|
+
\****************************************************************************************************/
|
|
302699
302751
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302700
302752
|
|
|
302701
302753
|
"use strict";
|
|
@@ -302716,15 +302768,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302716
302768
|
/* harmony export */ "t": () => (/* binding */ t),
|
|
302717
302769
|
/* harmony export */ "use": () => (/* binding */ use)
|
|
302718
302770
|
/* harmony export */ });
|
|
302719
|
-
/* 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.
|
|
302720
|
-
/* 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.
|
|
302721
|
-
/* 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.
|
|
302722
|
-
/* 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.
|
|
302723
|
-
/* 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.
|
|
302724
|
-
/* 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.
|
|
302725
|
-
/* 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.
|
|
302726
|
-
/* 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.
|
|
302727
|
-
/* 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.
|
|
302771
|
+
/* 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");
|
|
302772
|
+
/* 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");
|
|
302773
|
+
/* 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");
|
|
302774
|
+
/* 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");
|
|
302775
|
+
/* 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");
|
|
302776
|
+
/* 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");
|
|
302777
|
+
/* 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");
|
|
302778
|
+
/* 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");
|
|
302779
|
+
/* 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");
|
|
302728
302780
|
|
|
302729
302781
|
|
|
302730
302782
|
|
|
@@ -304596,6 +304648,8 @@ var Connector = function (_EventEmitter) {
|
|
|
304596
304648
|
_this.waitingReads = [];
|
|
304597
304649
|
_this.maxParallelReads = options.maxParallelReads || 10;
|
|
304598
304650
|
_this.readingCalls = 0;
|
|
304651
|
+
_this.maxRetries = options.maxRetries >= 0 ? options.maxRetries : 5;
|
|
304652
|
+
_this.retryTimeout = options.retryTimeout >= 1 ? options.retryTimeout : 350;
|
|
304599
304653
|
_this.state = {};
|
|
304600
304654
|
_this.queue = [];
|
|
304601
304655
|
|
|
@@ -304702,7 +304756,7 @@ var Connector = function (_EventEmitter) {
|
|
|
304702
304756
|
var _this3 = this;
|
|
304703
304757
|
|
|
304704
304758
|
var tried = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
|
|
304705
|
-
var wait = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] :
|
|
304759
|
+
var wait = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : this.retryTimeout;
|
|
304706
304760
|
var callback = arguments.length > 5 ? arguments[5] : undefined;
|
|
304707
304761
|
if (!lng.length) return callback(null, {});
|
|
304708
304762
|
|
|
@@ -304720,13 +304774,6 @@ var Connector = function (_EventEmitter) {
|
|
|
304720
304774
|
|
|
304721
304775
|
this.readingCalls++;
|
|
304722
304776
|
return this.backend[fcName](lng, ns, function (err, data) {
|
|
304723
|
-
if (err && data && tried < 5) {
|
|
304724
|
-
setTimeout(function () {
|
|
304725
|
-
_this3.read.call(_this3, lng, ns, fcName, tried + 1, wait * 2, callback);
|
|
304726
|
-
}, wait);
|
|
304727
|
-
return;
|
|
304728
|
-
}
|
|
304729
|
-
|
|
304730
304777
|
_this3.readingCalls--;
|
|
304731
304778
|
|
|
304732
304779
|
if (_this3.waitingReads.length > 0) {
|
|
@@ -304735,6 +304782,13 @@ var Connector = function (_EventEmitter) {
|
|
|
304735
304782
|
_this3.read(next.lng, next.ns, next.fcName, next.tried, next.wait, next.callback);
|
|
304736
304783
|
}
|
|
304737
304784
|
|
|
304785
|
+
if (err && data && tried < _this3.maxRetries) {
|
|
304786
|
+
setTimeout(function () {
|
|
304787
|
+
_this3.read.call(_this3, lng, ns, fcName, tried + 1, wait * 2, callback);
|
|
304788
|
+
}, wait);
|
|
304789
|
+
return;
|
|
304790
|
+
}
|
|
304791
|
+
|
|
304738
304792
|
callback(err, data);
|
|
304739
304793
|
});
|
|
304740
304794
|
}
|
|
@@ -304970,7 +305024,7 @@ var I18n = function (_EventEmitter) {
|
|
|
304970
305024
|
options = {};
|
|
304971
305025
|
}
|
|
304972
305026
|
|
|
304973
|
-
if (!options.defaultNS && options.ns) {
|
|
305027
|
+
if (!options.defaultNS && options.defaultNS !== false && options.ns) {
|
|
304974
305028
|
if (typeof options.ns === 'string') {
|
|
304975
305029
|
options.defaultNS = options.ns;
|
|
304976
305030
|
} else if (options.ns.indexOf('translation') < 0) {
|
|
@@ -305550,7 +305604,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
305550
305604
|
/***/ ((module) => {
|
|
305551
305605
|
|
|
305552
305606
|
"use strict";
|
|
305553
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.0-dev.
|
|
305607
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.0-dev.20","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.20","@itwin/core-bentley":"workspace:^3.4.0-dev.20","@itwin/core-common":"workspace:^3.4.0-dev.20","@itwin/core-geometry":"workspace:^3.4.0-dev.20","@itwin/core-orbitgt":"workspace:^3.4.0-dev.20","@itwin/core-quantity":"workspace:^3.4.0-dev.20","@itwin/webgl-compatibility":"workspace:^3.4.0-dev.20"},"//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"}}]}}');
|
|
305554
305608
|
|
|
305555
305609
|
/***/ }),
|
|
305556
305610
|
|