@itwin/rpcinterface-full-stack-tests 3.0.0-dev.167 → 3.0.0-dev.172
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/dist/bundled-tests.js +615 -310
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +15 -15
|
@@ -8565,7 +8565,7 @@ module.exports = _typeof, module.exports.__esModule = true, module.exports["defa
|
|
|
8565
8565
|
__webpack_require__.r(__webpack_exports__);
|
|
8566
8566
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DefaultRequestOptionsProvider", function() { return DefaultRequestOptionsProvider; });
|
|
8567
8567
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Client", function() { return Client; });
|
|
8568
|
-
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
8568
|
+
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js");
|
|
8569
8569
|
/* harmony import */ var deep_assign__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! deep-assign */ "../../common/temp/node_modules/.pnpm/deep-assign@2.0.0/node_modules/deep-assign/index.js");
|
|
8570
8570
|
/* harmony import */ var deep_assign__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(deep_assign__WEBPACK_IMPORTED_MODULE_1__);
|
|
8571
8571
|
/* harmony import */ var _ITwinClientLoggerCategory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ITwinClientLoggerCategory */ "../../common/temp/node_modules/.pnpm/@bentley+itwin-client@3.0.0-dev.138/node_modules/@bentley/itwin-client/lib/esm/ITwinClientLoggerCategory.js");
|
|
@@ -8681,7 +8681,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8681
8681
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UserCancelledError", function() { return UserCancelledError; });
|
|
8682
8682
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SasUrlExpired", function() { return SasUrlExpired; });
|
|
8683
8683
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DownloadFailed", function() { return DownloadFailed; });
|
|
8684
|
-
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
8684
|
+
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js");
|
|
8685
8685
|
|
|
8686
8686
|
/** Error thrown when user cancelled operation
|
|
8687
8687
|
* @internal
|
|
@@ -8767,7 +8767,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8767
8767
|
/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(qs__WEBPACK_IMPORTED_MODULE_1__);
|
|
8768
8768
|
/* harmony import */ var superagent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! superagent */ "../../common/temp/node_modules/.pnpm/superagent@5.3.1/node_modules/superagent/lib/client.js");
|
|
8769
8769
|
/* harmony import */ var superagent__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(superagent__WEBPACK_IMPORTED_MODULE_2__);
|
|
8770
|
-
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
8770
|
+
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js");
|
|
8771
8771
|
/* harmony import */ var _ITwinClientLoggerCategory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ITwinClientLoggerCategory */ "../../common/temp/node_modules/.pnpm/@bentley+itwin-client@3.0.0-dev.138/node_modules/@bentley/itwin-client/lib/esm/ITwinClientLoggerCategory.js");
|
|
8772
8772
|
/*---------------------------------------------------------------------------------------------
|
|
8773
8773
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -9125,9 +9125,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9125
9125
|
|
|
9126
9126
|
/***/ }),
|
|
9127
9127
|
|
|
9128
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.0.0-dev.
|
|
9128
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.0.0-dev.170/node_modules/@itwin/certa/lib/utils/CallbackUtils.js":
|
|
9129
9129
|
/*!**************************************************************************************************************************************!*\
|
|
9130
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+certa@3.0.0-dev.
|
|
9130
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+certa@3.0.0-dev.170/node_modules/@itwin/certa/lib/utils/CallbackUtils.js ***!
|
|
9131
9131
|
\**************************************************************************************************************************************/
|
|
9132
9132
|
/*! no static exports found */
|
|
9133
9133
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -9171,9 +9171,9 @@ exports.executeBackendCallback = executeBackendCallback;
|
|
|
9171
9171
|
|
|
9172
9172
|
/***/ }),
|
|
9173
9173
|
|
|
9174
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
9174
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/AccessToken.js":
|
|
9175
9175
|
/*!************************************************************************************************************************************************!*\
|
|
9176
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
9176
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/AccessToken.js ***!
|
|
9177
9177
|
\************************************************************************************************************************************************/
|
|
9178
9178
|
/*! no exports provided */
|
|
9179
9179
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -9192,9 +9192,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9192
9192
|
|
|
9193
9193
|
/***/ }),
|
|
9194
9194
|
|
|
9195
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
9195
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Assert.js":
|
|
9196
9196
|
/*!*******************************************************************************************************************************************!*\
|
|
9197
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
9197
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Assert.js ***!
|
|
9198
9198
|
\*******************************************************************************************************************************************/
|
|
9199
9199
|
/*! exports provided: assert */
|
|
9200
9200
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -9247,9 +9247,9 @@ function assert(condition, message) {
|
|
|
9247
9247
|
|
|
9248
9248
|
/***/ }),
|
|
9249
9249
|
|
|
9250
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
9250
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/AsyncMutex.js":
|
|
9251
9251
|
/*!***********************************************************************************************************************************************!*\
|
|
9252
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
9252
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/AsyncMutex.js ***!
|
|
9253
9253
|
\***********************************************************************************************************************************************/
|
|
9254
9254
|
/*! exports provided: AsyncMutex */
|
|
9255
9255
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -9300,9 +9300,9 @@ class AsyncMutex {
|
|
|
9300
9300
|
|
|
9301
9301
|
/***/ }),
|
|
9302
9302
|
|
|
9303
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
9303
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/BeEvent.js":
|
|
9304
9304
|
/*!********************************************************************************************************************************************!*\
|
|
9305
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
9305
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/BeEvent.js ***!
|
|
9306
9306
|
\********************************************************************************************************************************************/
|
|
9307
9307
|
/*! exports provided: BeEvent, BeUiEvent, BeEventList */
|
|
9308
9308
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -9312,7 +9312,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9312
9312
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BeEvent", function() { return BeEvent; });
|
|
9313
9313
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BeUiEvent", function() { return BeUiEvent; });
|
|
9314
9314
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BeEventList", function() { return BeEventList; });
|
|
9315
|
-
/* harmony import */ var _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UnexpectedErrors */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
9315
|
+
/* harmony import */ var _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UnexpectedErrors */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/UnexpectedErrors.js");
|
|
9316
9316
|
/*---------------------------------------------------------------------------------------------
|
|
9317
9317
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
9318
9318
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -9467,9 +9467,9 @@ class BeEventList {
|
|
|
9467
9467
|
|
|
9468
9468
|
/***/ }),
|
|
9469
9469
|
|
|
9470
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
9470
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/BeSQLite.js":
|
|
9471
9471
|
/*!*********************************************************************************************************************************************!*\
|
|
9472
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
9472
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/BeSQLite.js ***!
|
|
9473
9473
|
\*********************************************************************************************************************************************/
|
|
9474
9474
|
/*! exports provided: OpenMode, DbOpcode, DbResult */
|
|
9475
9475
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -9663,9 +9663,9 @@ var DbResult;
|
|
|
9663
9663
|
|
|
9664
9664
|
/***/ }),
|
|
9665
9665
|
|
|
9666
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
9666
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js":
|
|
9667
9667
|
/*!*************************************************************************************************************************************************!*\
|
|
9668
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
9668
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js ***!
|
|
9669
9669
|
\*************************************************************************************************************************************************/
|
|
9670
9670
|
/*! exports provided: BentleyStatus, IModelStatus, BriefcaseStatus, RpcInterfaceStatus, ChangeSetStatus, RepositoryStatus, HttpStatus, IModelHubStatus, AuthStatus, GeoServiceStatus, BentleyError */
|
|
9671
9671
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -9683,7 +9683,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9683
9683
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AuthStatus", function() { return AuthStatus; });
|
|
9684
9684
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GeoServiceStatus", function() { return GeoServiceStatus; });
|
|
9685
9685
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BentleyError", function() { return BentleyError; });
|
|
9686
|
-
/* harmony import */ var _BeSQLite__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeSQLite */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
9686
|
+
/* harmony import */ var _BeSQLite__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeSQLite */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/BeSQLite.js");
|
|
9687
9687
|
/*---------------------------------------------------------------------------------------------
|
|
9688
9688
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
9689
9689
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -10383,9 +10383,9 @@ class BentleyError extends Error {
|
|
|
10383
10383
|
|
|
10384
10384
|
/***/ }),
|
|
10385
10385
|
|
|
10386
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
10386
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/BentleyLoggerCategory.js":
|
|
10387
10387
|
/*!**********************************************************************************************************************************************************!*\
|
|
10388
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
10388
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/BentleyLoggerCategory.js ***!
|
|
10389
10389
|
\**********************************************************************************************************************************************************/
|
|
10390
10390
|
/*! exports provided: BentleyLoggerCategory */
|
|
10391
10391
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -10413,9 +10413,9 @@ var BentleyLoggerCategory;
|
|
|
10413
10413
|
|
|
10414
10414
|
/***/ }),
|
|
10415
10415
|
|
|
10416
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
10416
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/ByteStream.js":
|
|
10417
10417
|
/*!***********************************************************************************************************************************************!*\
|
|
10418
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
10418
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/ByteStream.js ***!
|
|
10419
10419
|
\***********************************************************************************************************************************************/
|
|
10420
10420
|
/*! exports provided: ByteStream */
|
|
10421
10421
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -10423,8 +10423,8 @@ var BentleyLoggerCategory;
|
|
|
10423
10423
|
"use strict";
|
|
10424
10424
|
__webpack_require__.r(__webpack_exports__);
|
|
10425
10425
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ByteStream", function() { return ByteStream; });
|
|
10426
|
-
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
10427
|
-
/* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Id */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
10426
|
+
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Assert.js");
|
|
10427
|
+
/* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Id */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Id.js");
|
|
10428
10428
|
/*---------------------------------------------------------------------------------------------
|
|
10429
10429
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
10430
10430
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -10445,6 +10445,16 @@ class ByteStream {
|
|
|
10445
10445
|
/** Construct a new ByteStream with the read position set to the beginning.
|
|
10446
10446
|
* @param buffer The underlying buffer from which data is to be extracted.
|
|
10447
10447
|
* @param subView If defined, specifies the subset of the underlying buffer's data to use.
|
|
10448
|
+
* This constructor is subject to two common mistakes:
|
|
10449
|
+
*
|
|
10450
|
+
* 1. Given `bytes: Uint8Array`, `new ByteStream(bytes)` will compile but at run-time will produce an error asserting that
|
|
10451
|
+
* the DataView constructor requires an ArrayBuffer. The correct usage is `new ByteStream(bytes.buffer)`.
|
|
10452
|
+
* 2. Given `bytes: Uint8Array`, `new ByteStream(bytes.buffer)` creates a stream for the entire range of bytes represented by the underlying
|
|
10453
|
+
* ArrayBuffer. If `bytes` represents only a **sub-range** of the underlying buffer's data, the results will be unexpected unless the optional `subView`
|
|
10454
|
+
* argument is supplied, with correct offset and length.
|
|
10455
|
+
*
|
|
10456
|
+
* For both of the above reasons, prefer to use [[fromUint8Array]].
|
|
10457
|
+
* @deprecated Use [[fromUint8Array]] or [[fromArrayBuffer]].
|
|
10448
10458
|
*/
|
|
10449
10459
|
constructor(buffer, subView) {
|
|
10450
10460
|
this._curPos = 0;
|
|
@@ -10457,10 +10467,30 @@ class ByteStream {
|
|
|
10457
10467
|
this._byteOffset = 0;
|
|
10458
10468
|
}
|
|
10459
10469
|
}
|
|
10470
|
+
/** Construct a new ByteStream for the range of bytes represented by `bytes`, which may be a subset of the range of bytes
|
|
10471
|
+
* represented by the underlying ArrayBuffer. The read position will be set to the beginning of the range of bytes.
|
|
10472
|
+
*/
|
|
10473
|
+
static fromUint8Array(bytes) {
|
|
10474
|
+
const { byteOffset, byteLength } = bytes;
|
|
10475
|
+
return new ByteStream(bytes.buffer, { byteOffset, byteLength }); // eslint-disable-line deprecation/deprecation
|
|
10476
|
+
}
|
|
10477
|
+
/** Construct a new ByteStream with the read position set to the beginning.
|
|
10478
|
+
* @param buffer The underlying buffer from which data is to be extracted.
|
|
10479
|
+
* @param subView If defined, specifies the subset of the underlying buffer's data to use.
|
|
10480
|
+
*/
|
|
10481
|
+
static fromArrayBuffer(buffer, subView) {
|
|
10482
|
+
return new ByteStream(buffer, subView); // eslint-disable-line deprecation/deprecation
|
|
10483
|
+
}
|
|
10460
10484
|
/** The number of bytes in this stream */
|
|
10461
10485
|
get length() { return this._view.byteLength; }
|
|
10462
|
-
/** Returns true if the current read position has been advanced past the end of the stream
|
|
10486
|
+
/** Returns true if the current read position has been advanced past the end of the stream. This generally indicates that an attempt was made to read more data than is available.
|
|
10487
|
+
* @see [[isAtTheEnd]]
|
|
10488
|
+
*/
|
|
10463
10489
|
get isPastTheEnd() { return this.curPos > this.length; }
|
|
10490
|
+
/** Returns true if the current read position has advanced precisely to the end of the stream, indicating all of the data has been consumed.
|
|
10491
|
+
* @see [[isPastTheEnd]].
|
|
10492
|
+
*/
|
|
10493
|
+
get isAtTheEnd() { return this.curPos === this.length; }
|
|
10464
10494
|
/** The current read position as an index into the stream of bytes. */
|
|
10465
10495
|
get curPos() { return this._curPos; }
|
|
10466
10496
|
set curPos(pos) { this._curPos = pos; Object(_Assert__WEBPACK_IMPORTED_MODULE_0__["assert"])(!this.isPastTheEnd); }
|
|
@@ -10518,9 +10548,9 @@ class ByteStream {
|
|
|
10518
10548
|
|
|
10519
10549
|
/***/ }),
|
|
10520
10550
|
|
|
10521
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
10551
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Compare.js":
|
|
10522
10552
|
/*!********************************************************************************************************************************************!*\
|
|
10523
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
10553
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Compare.js ***!
|
|
10524
10554
|
\********************************************************************************************************************************************/
|
|
10525
10555
|
/*! exports provided: compareWithTolerance, compareNumbers, compareBooleans, compareStrings, comparePossiblyUndefined, compareStringsOrUndefined, compareNumbersOrUndefined, compareBooleansOrUndefined, areEqualPossiblyUndefined */
|
|
10526
10556
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -10591,9 +10621,9 @@ function areEqualPossiblyUndefined(t, u, areEqual) {
|
|
|
10591
10621
|
|
|
10592
10622
|
/***/ }),
|
|
10593
10623
|
|
|
10594
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
10624
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/CompressedId64Set.js":
|
|
10595
10625
|
/*!******************************************************************************************************************************************************!*\
|
|
10596
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
10626
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/CompressedId64Set.js ***!
|
|
10597
10627
|
\******************************************************************************************************************************************************/
|
|
10598
10628
|
/*! exports provided: CompressedId64Set, OrderedId64Array, MutableCompressedId64Set */
|
|
10599
10629
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -10603,10 +10633,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10603
10633
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompressedId64Set", function() { return CompressedId64Set; });
|
|
10604
10634
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OrderedId64Array", function() { return OrderedId64Array; });
|
|
10605
10635
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MutableCompressedId64Set", function() { return MutableCompressedId64Set; });
|
|
10606
|
-
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
10607
|
-
/* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Id */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
10608
|
-
/* harmony import */ var _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OrderedId64Iterable */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
10609
|
-
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
10636
|
+
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Assert.js");
|
|
10637
|
+
/* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Id */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Id.js");
|
|
10638
|
+
/* harmony import */ var _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OrderedId64Iterable */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/OrderedId64Iterable.js");
|
|
10639
|
+
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
|
|
10610
10640
|
/*---------------------------------------------------------------------------------------------
|
|
10611
10641
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
10612
10642
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -11034,9 +11064,9 @@ class MutableCompressedId64Set {
|
|
|
11034
11064
|
|
|
11035
11065
|
/***/ }),
|
|
11036
11066
|
|
|
11037
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
11067
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Dictionary.js":
|
|
11038
11068
|
/*!***********************************************************************************************************************************************!*\
|
|
11039
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
11069
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Dictionary.js ***!
|
|
11040
11070
|
\***********************************************************************************************************************************************/
|
|
11041
11071
|
/*! exports provided: Dictionary */
|
|
11042
11072
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -11044,7 +11074,7 @@ class MutableCompressedId64Set {
|
|
|
11044
11074
|
"use strict";
|
|
11045
11075
|
__webpack_require__.r(__webpack_exports__);
|
|
11046
11076
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Dictionary", function() { return Dictionary; });
|
|
11047
|
-
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
11077
|
+
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
|
|
11048
11078
|
/*---------------------------------------------------------------------------------------------
|
|
11049
11079
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
11050
11080
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -11248,9 +11278,9 @@ class Dictionary {
|
|
|
11248
11278
|
|
|
11249
11279
|
/***/ }),
|
|
11250
11280
|
|
|
11251
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
11281
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Disposable.js":
|
|
11252
11282
|
/*!***********************************************************************************************************************************************!*\
|
|
11253
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
11283
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Disposable.js ***!
|
|
11254
11284
|
\***********************************************************************************************************************************************/
|
|
11255
11285
|
/*! exports provided: isIDisposable, dispose, disposeArray, using, DisposableList */
|
|
11256
11286
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -11378,9 +11408,9 @@ class DisposableList {
|
|
|
11378
11408
|
|
|
11379
11409
|
/***/ }),
|
|
11380
11410
|
|
|
11381
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
11411
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Id.js":
|
|
11382
11412
|
/*!***************************************************************************************************************************************!*\
|
|
11383
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
11413
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Id.js ***!
|
|
11384
11414
|
\***************************************************************************************************************************************/
|
|
11385
11415
|
/*! exports provided: Id64, TransientIdSequence, Guid */
|
|
11386
11416
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -12005,9 +12035,9 @@ var Guid;
|
|
|
12005
12035
|
|
|
12006
12036
|
/***/ }),
|
|
12007
12037
|
|
|
12008
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12038
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/IndexMap.js":
|
|
12009
12039
|
/*!*********************************************************************************************************************************************!*\
|
|
12010
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12040
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/IndexMap.js ***!
|
|
12011
12041
|
\*********************************************************************************************************************************************/
|
|
12012
12042
|
/*! exports provided: IndexedValue, IndexMap */
|
|
12013
12043
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -12016,7 +12046,7 @@ var Guid;
|
|
|
12016
12046
|
__webpack_require__.r(__webpack_exports__);
|
|
12017
12047
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IndexedValue", function() { return IndexedValue; });
|
|
12018
12048
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IndexMap", function() { return IndexMap; });
|
|
12019
|
-
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12049
|
+
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
|
|
12020
12050
|
/*---------------------------------------------------------------------------------------------
|
|
12021
12051
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
12022
12052
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -12107,9 +12137,9 @@ class IndexMap {
|
|
|
12107
12137
|
|
|
12108
12138
|
/***/ }),
|
|
12109
12139
|
|
|
12110
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12140
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/JsonSchema.js":
|
|
12111
12141
|
/*!***********************************************************************************************************************************************!*\
|
|
12112
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12142
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/JsonSchema.js ***!
|
|
12113
12143
|
\***********************************************************************************************************************************************/
|
|
12114
12144
|
/*! no exports provided */
|
|
12115
12145
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -12128,9 +12158,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12128
12158
|
|
|
12129
12159
|
/***/ }),
|
|
12130
12160
|
|
|
12131
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12161
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/JsonUtils.js":
|
|
12132
12162
|
/*!**********************************************************************************************************************************************!*\
|
|
12133
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12163
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/JsonUtils.js ***!
|
|
12134
12164
|
\**********************************************************************************************************************************************/
|
|
12135
12165
|
/*! exports provided: JsonUtils */
|
|
12136
12166
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -12272,9 +12302,9 @@ var JsonUtils;
|
|
|
12272
12302
|
|
|
12273
12303
|
/***/ }),
|
|
12274
12304
|
|
|
12275
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12305
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/LRUMap.js":
|
|
12276
12306
|
/*!*******************************************************************************************************************************************!*\
|
|
12277
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12307
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/LRUMap.js ***!
|
|
12278
12308
|
\*******************************************************************************************************************************************/
|
|
12279
12309
|
/*! exports provided: Entry, LRUCache, LRUMap, LRUDictionary */
|
|
12280
12310
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -12285,7 +12315,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12285
12315
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LRUCache", function() { return LRUCache; });
|
|
12286
12316
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LRUMap", function() { return LRUMap; });
|
|
12287
12317
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LRUDictionary", function() { return LRUDictionary; });
|
|
12288
|
-
/* harmony import */ var _Dictionary__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Dictionary */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12318
|
+
/* harmony import */ var _Dictionary__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Dictionary */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Dictionary.js");
|
|
12289
12319
|
/*---------------------------------------------------------------------------------------------
|
|
12290
12320
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
12291
12321
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -12616,9 +12646,9 @@ class LRUDictionary extends LRUCache {
|
|
|
12616
12646
|
|
|
12617
12647
|
/***/ }),
|
|
12618
12648
|
|
|
12619
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12649
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Logger.js":
|
|
12620
12650
|
/*!*******************************************************************************************************************************************!*\
|
|
12621
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12651
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Logger.js ***!
|
|
12622
12652
|
\*******************************************************************************************************************************************/
|
|
12623
12653
|
/*! exports provided: LogLevel, Logger, PerfLogger */
|
|
12624
12654
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -12628,8 +12658,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12628
12658
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LogLevel", function() { return LogLevel; });
|
|
12629
12659
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Logger", function() { return Logger; });
|
|
12630
12660
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PerfLogger", function() { return PerfLogger; });
|
|
12631
|
-
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12632
|
-
/* harmony import */ var _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BentleyLoggerCategory */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12661
|
+
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js");
|
|
12662
|
+
/* harmony import */ var _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BentleyLoggerCategory */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/BentleyLoggerCategory.js");
|
|
12633
12663
|
/*---------------------------------------------------------------------------------------------
|
|
12634
12664
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
12635
12665
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -12883,9 +12913,9 @@ PerfLogger._severity = LogLevel.Info;
|
|
|
12883
12913
|
|
|
12884
12914
|
/***/ }),
|
|
12885
12915
|
|
|
12886
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12916
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/ObservableSet.js":
|
|
12887
12917
|
/*!**************************************************************************************************************************************************!*\
|
|
12888
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12918
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/ObservableSet.js ***!
|
|
12889
12919
|
\**************************************************************************************************************************************************/
|
|
12890
12920
|
/*! exports provided: ObservableSet */
|
|
12891
12921
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -12893,7 +12923,7 @@ PerfLogger._severity = LogLevel.Info;
|
|
|
12893
12923
|
"use strict";
|
|
12894
12924
|
__webpack_require__.r(__webpack_exports__);
|
|
12895
12925
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ObservableSet", function() { return ObservableSet; });
|
|
12896
|
-
/* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeEvent */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12926
|
+
/* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeEvent */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/BeEvent.js");
|
|
12897
12927
|
/*---------------------------------------------------------------------------------------------
|
|
12898
12928
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
12899
12929
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -12945,9 +12975,9 @@ class ObservableSet extends Set {
|
|
|
12945
12975
|
|
|
12946
12976
|
/***/ }),
|
|
12947
12977
|
|
|
12948
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12978
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/OneAtATimeAction.js":
|
|
12949
12979
|
/*!*****************************************************************************************************************************************************!*\
|
|
12950
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12980
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/OneAtATimeAction.js ***!
|
|
12951
12981
|
\*****************************************************************************************************************************************************/
|
|
12952
12982
|
/*! exports provided: AbandonedError, OneAtATimeAction */
|
|
12953
12983
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -12956,7 +12986,7 @@ class ObservableSet extends Set {
|
|
|
12956
12986
|
__webpack_require__.r(__webpack_exports__);
|
|
12957
12987
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AbandonedError", function() { return AbandonedError; });
|
|
12958
12988
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OneAtATimeAction", function() { return OneAtATimeAction; });
|
|
12959
|
-
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12989
|
+
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js");
|
|
12960
12990
|
/*---------------------------------------------------------------------------------------------
|
|
12961
12991
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
12962
12992
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -13047,9 +13077,9 @@ class OneAtATimeAction {
|
|
|
13047
13077
|
|
|
13048
13078
|
/***/ }),
|
|
13049
13079
|
|
|
13050
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13080
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/OrderedId64Iterable.js":
|
|
13051
13081
|
/*!********************************************************************************************************************************************************!*\
|
|
13052
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13082
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/OrderedId64Iterable.js ***!
|
|
13053
13083
|
\********************************************************************************************************************************************************/
|
|
13054
13084
|
/*! exports provided: OrderedId64Iterable */
|
|
13055
13085
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -13057,7 +13087,7 @@ class OneAtATimeAction {
|
|
|
13057
13087
|
"use strict";
|
|
13058
13088
|
__webpack_require__.r(__webpack_exports__);
|
|
13059
13089
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OrderedId64Iterable", function() { return OrderedId64Iterable; });
|
|
13060
|
-
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13090
|
+
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Assert.js");
|
|
13061
13091
|
/*---------------------------------------------------------------------------------------------
|
|
13062
13092
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
13063
13093
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -13294,9 +13324,9 @@ var OrderedId64Iterable;
|
|
|
13294
13324
|
|
|
13295
13325
|
/***/ }),
|
|
13296
13326
|
|
|
13297
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13327
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/OrderedSet.js":
|
|
13298
13328
|
/*!***********************************************************************************************************************************************!*\
|
|
13299
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13329
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/OrderedSet.js ***!
|
|
13300
13330
|
\***********************************************************************************************************************************************/
|
|
13301
13331
|
/*! exports provided: ReadonlyOrderedSet, OrderedSet */
|
|
13302
13332
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -13305,7 +13335,7 @@ var OrderedId64Iterable;
|
|
|
13305
13335
|
__webpack_require__.r(__webpack_exports__);
|
|
13306
13336
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReadonlyOrderedSet", function() { return ReadonlyOrderedSet; });
|
|
13307
13337
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OrderedSet", function() { return OrderedSet; });
|
|
13308
|
-
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13338
|
+
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
|
|
13309
13339
|
/*---------------------------------------------------------------------------------------------
|
|
13310
13340
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
13311
13341
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -13369,9 +13399,9 @@ class OrderedSet extends ReadonlyOrderedSet {
|
|
|
13369
13399
|
|
|
13370
13400
|
/***/ }),
|
|
13371
13401
|
|
|
13372
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13402
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/PriorityQueue.js":
|
|
13373
13403
|
/*!**************************************************************************************************************************************************!*\
|
|
13374
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13404
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/PriorityQueue.js ***!
|
|
13375
13405
|
\**************************************************************************************************************************************************/
|
|
13376
13406
|
/*! exports provided: PriorityQueue */
|
|
13377
13407
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -13379,7 +13409,7 @@ class OrderedSet extends ReadonlyOrderedSet {
|
|
|
13379
13409
|
"use strict";
|
|
13380
13410
|
__webpack_require__.r(__webpack_exports__);
|
|
13381
13411
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PriorityQueue", function() { return PriorityQueue; });
|
|
13382
|
-
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13412
|
+
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
|
|
13383
13413
|
/*---------------------------------------------------------------------------------------------
|
|
13384
13414
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
13385
13415
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -13520,9 +13550,9 @@ class PriorityQueue {
|
|
|
13520
13550
|
|
|
13521
13551
|
/***/ }),
|
|
13522
13552
|
|
|
13523
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13553
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/ProcessDetector.js":
|
|
13524
13554
|
/*!****************************************************************************************************************************************************!*\
|
|
13525
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13555
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/ProcessDetector.js ***!
|
|
13526
13556
|
\****************************************************************************************************************************************************/
|
|
13527
13557
|
/*! exports provided: ProcessDetector */
|
|
13528
13558
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -13601,9 +13631,9 @@ class ProcessDetector {
|
|
|
13601
13631
|
|
|
13602
13632
|
/***/ }),
|
|
13603
13633
|
|
|
13604
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13634
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js":
|
|
13605
13635
|
/*!************************************************************************************************************************************************!*\
|
|
13606
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13636
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js ***!
|
|
13607
13637
|
\************************************************************************************************************************************************/
|
|
13608
13638
|
/*! exports provided: shallowClone, lowerBound, DuplicatePolicy, ReadonlySortedArray, SortedArray */
|
|
13609
13639
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -13913,9 +13943,9 @@ class SortedArray extends ReadonlySortedArray {
|
|
|
13913
13943
|
|
|
13914
13944
|
/***/ }),
|
|
13915
13945
|
|
|
13916
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13946
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/StringUtils.js":
|
|
13917
13947
|
/*!************************************************************************************************************************************************!*\
|
|
13918
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13948
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/StringUtils.js ***!
|
|
13919
13949
|
\************************************************************************************************************************************************/
|
|
13920
13950
|
/*! exports provided: utf8ToStringPolyfill, utf8ToString, base64StringToUint8Array */
|
|
13921
13951
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -14069,9 +14099,9 @@ function base64StringToUint8Array(base64) {
|
|
|
14069
14099
|
|
|
14070
14100
|
/***/ }),
|
|
14071
14101
|
|
|
14072
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14102
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Time.js":
|
|
14073
14103
|
/*!*****************************************************************************************************************************************!*\
|
|
14074
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14104
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Time.js ***!
|
|
14075
14105
|
\*****************************************************************************************************************************************/
|
|
14076
14106
|
/*! exports provided: BeDuration, BeTimePoint, StopWatch */
|
|
14077
14107
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -14225,9 +14255,9 @@ class StopWatch {
|
|
|
14225
14255
|
|
|
14226
14256
|
/***/ }),
|
|
14227
14257
|
|
|
14228
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14258
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/UnexpectedErrors.js":
|
|
14229
14259
|
/*!*****************************************************************************************************************************************************!*\
|
|
14230
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14260
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/UnexpectedErrors.js ***!
|
|
14231
14261
|
\*****************************************************************************************************************************************************/
|
|
14232
14262
|
/*! exports provided: UnexpectedErrors */
|
|
14233
14263
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -14235,7 +14265,7 @@ class StopWatch {
|
|
|
14235
14265
|
"use strict";
|
|
14236
14266
|
__webpack_require__.r(__webpack_exports__);
|
|
14237
14267
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UnexpectedErrors", function() { return UnexpectedErrors; });
|
|
14238
|
-
/* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Logger */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14268
|
+
/* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Logger */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Logger.js");
|
|
14239
14269
|
/*---------------------------------------------------------------------------------------------
|
|
14240
14270
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
14241
14271
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -14301,9 +14331,9 @@ UnexpectedErrors._handler = _a.errorLog; // default to error logging
|
|
|
14301
14331
|
|
|
14302
14332
|
/***/ }),
|
|
14303
14333
|
|
|
14304
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14334
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/UtilityTypes.js":
|
|
14305
14335
|
/*!*************************************************************************************************************************************************!*\
|
|
14306
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14336
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/UtilityTypes.js ***!
|
|
14307
14337
|
\*************************************************************************************************************************************************/
|
|
14308
14338
|
/*! exports provided: isInstanceOf, asInstanceOf */
|
|
14309
14339
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -14337,30 +14367,30 @@ function asInstanceOf(obj, constructor) {
|
|
|
14337
14367
|
|
|
14338
14368
|
/***/ }),
|
|
14339
14369
|
|
|
14340
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14370
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js":
|
|
14341
14371
|
/*!*************************************************************************************************************************************************!*\
|
|
14342
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14372
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js ***!
|
|
14343
14373
|
\*************************************************************************************************************************************************/
|
|
14344
14374
|
/*! exports provided: assert, AsyncMutex, BeEvent, BeUiEvent, BeEventList, BentleyStatus, IModelStatus, BriefcaseStatus, RpcInterfaceStatus, ChangeSetStatus, RepositoryStatus, HttpStatus, IModelHubStatus, AuthStatus, GeoServiceStatus, BentleyError, BentleyLoggerCategory, OpenMode, DbOpcode, DbResult, ByteStream, compareWithTolerance, compareNumbers, compareBooleans, compareStrings, comparePossiblyUndefined, compareStringsOrUndefined, compareNumbersOrUndefined, compareBooleansOrUndefined, areEqualPossiblyUndefined, CompressedId64Set, OrderedId64Array, MutableCompressedId64Set, Dictionary, isIDisposable, dispose, disposeArray, using, DisposableList, Id64, TransientIdSequence, Guid, IndexedValue, IndexMap, JsonUtils, LogLevel, Logger, PerfLogger, Entry, LRUCache, LRUMap, LRUDictionary, ObservableSet, AbandonedError, OneAtATimeAction, OrderedId64Iterable, ReadonlyOrderedSet, OrderedSet, partitionArray, PriorityQueue, ProcessDetector, shallowClone, lowerBound, DuplicatePolicy, ReadonlySortedArray, SortedArray, utf8ToStringPolyfill, utf8ToString, base64StringToUint8Array, BeDuration, BeTimePoint, StopWatch, UnexpectedErrors, isInstanceOf, asInstanceOf */
|
|
14345
14375
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
14346
14376
|
|
|
14347
14377
|
"use strict";
|
|
14348
14378
|
__webpack_require__.r(__webpack_exports__);
|
|
14349
|
-
/* harmony import */ var _AccessToken__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AccessToken */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14350
|
-
/* empty/unused harmony star reexport *//* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14379
|
+
/* harmony import */ var _AccessToken__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AccessToken */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/AccessToken.js");
|
|
14380
|
+
/* empty/unused harmony star reexport *//* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Assert.js");
|
|
14351
14381
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "assert", function() { return _Assert__WEBPACK_IMPORTED_MODULE_1__["assert"]; });
|
|
14352
14382
|
|
|
14353
|
-
/* harmony import */ var _AsyncMutex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AsyncMutex */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14383
|
+
/* harmony import */ var _AsyncMutex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AsyncMutex */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/AsyncMutex.js");
|
|
14354
14384
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "AsyncMutex", function() { return _AsyncMutex__WEBPACK_IMPORTED_MODULE_2__["AsyncMutex"]; });
|
|
14355
14385
|
|
|
14356
|
-
/* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./BeEvent */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14386
|
+
/* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./BeEvent */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/BeEvent.js");
|
|
14357
14387
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BeEvent", function() { return _BeEvent__WEBPACK_IMPORTED_MODULE_3__["BeEvent"]; });
|
|
14358
14388
|
|
|
14359
14389
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BeUiEvent", function() { return _BeEvent__WEBPACK_IMPORTED_MODULE_3__["BeUiEvent"]; });
|
|
14360
14390
|
|
|
14361
14391
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BeEventList", function() { return _BeEvent__WEBPACK_IMPORTED_MODULE_3__["BeEventList"]; });
|
|
14362
14392
|
|
|
14363
|
-
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14393
|
+
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js");
|
|
14364
14394
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BentleyStatus", function() { return _BentleyError__WEBPACK_IMPORTED_MODULE_4__["BentleyStatus"]; });
|
|
14365
14395
|
|
|
14366
14396
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "IModelStatus", function() { return _BentleyError__WEBPACK_IMPORTED_MODULE_4__["IModelStatus"]; });
|
|
@@ -14383,20 +14413,20 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14383
14413
|
|
|
14384
14414
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BentleyError", function() { return _BentleyError__WEBPACK_IMPORTED_MODULE_4__["BentleyError"]; });
|
|
14385
14415
|
|
|
14386
|
-
/* harmony import */ var _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./BentleyLoggerCategory */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14416
|
+
/* harmony import */ var _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./BentleyLoggerCategory */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/BentleyLoggerCategory.js");
|
|
14387
14417
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BentleyLoggerCategory", function() { return _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_5__["BentleyLoggerCategory"]; });
|
|
14388
14418
|
|
|
14389
|
-
/* harmony import */ var _BeSQLite__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./BeSQLite */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14419
|
+
/* harmony import */ var _BeSQLite__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./BeSQLite */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/BeSQLite.js");
|
|
14390
14420
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "OpenMode", function() { return _BeSQLite__WEBPACK_IMPORTED_MODULE_6__["OpenMode"]; });
|
|
14391
14421
|
|
|
14392
14422
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DbOpcode", function() { return _BeSQLite__WEBPACK_IMPORTED_MODULE_6__["DbOpcode"]; });
|
|
14393
14423
|
|
|
14394
14424
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DbResult", function() { return _BeSQLite__WEBPACK_IMPORTED_MODULE_6__["DbResult"]; });
|
|
14395
14425
|
|
|
14396
|
-
/* harmony import */ var _ByteStream__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ByteStream */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14426
|
+
/* harmony import */ var _ByteStream__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ByteStream */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/ByteStream.js");
|
|
14397
14427
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ByteStream", function() { return _ByteStream__WEBPACK_IMPORTED_MODULE_7__["ByteStream"]; });
|
|
14398
14428
|
|
|
14399
|
-
/* harmony import */ var _Compare__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Compare */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14429
|
+
/* harmony import */ var _Compare__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Compare */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Compare.js");
|
|
14400
14430
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "compareWithTolerance", function() { return _Compare__WEBPACK_IMPORTED_MODULE_8__["compareWithTolerance"]; });
|
|
14401
14431
|
|
|
14402
14432
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "compareNumbers", function() { return _Compare__WEBPACK_IMPORTED_MODULE_8__["compareNumbers"]; });
|
|
@@ -14415,17 +14445,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14415
14445
|
|
|
14416
14446
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "areEqualPossiblyUndefined", function() { return _Compare__WEBPACK_IMPORTED_MODULE_8__["areEqualPossiblyUndefined"]; });
|
|
14417
14447
|
|
|
14418
|
-
/* harmony import */ var _CompressedId64Set__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./CompressedId64Set */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14448
|
+
/* harmony import */ var _CompressedId64Set__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./CompressedId64Set */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/CompressedId64Set.js");
|
|
14419
14449
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CompressedId64Set", function() { return _CompressedId64Set__WEBPACK_IMPORTED_MODULE_9__["CompressedId64Set"]; });
|
|
14420
14450
|
|
|
14421
14451
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "OrderedId64Array", function() { return _CompressedId64Set__WEBPACK_IMPORTED_MODULE_9__["OrderedId64Array"]; });
|
|
14422
14452
|
|
|
14423
14453
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MutableCompressedId64Set", function() { return _CompressedId64Set__WEBPACK_IMPORTED_MODULE_9__["MutableCompressedId64Set"]; });
|
|
14424
14454
|
|
|
14425
|
-
/* harmony import */ var _Dictionary__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./Dictionary */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14455
|
+
/* harmony import */ var _Dictionary__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./Dictionary */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Dictionary.js");
|
|
14426
14456
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Dictionary", function() { return _Dictionary__WEBPACK_IMPORTED_MODULE_10__["Dictionary"]; });
|
|
14427
14457
|
|
|
14428
|
-
/* harmony import */ var _Disposable__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./Disposable */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14458
|
+
/* harmony import */ var _Disposable__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./Disposable */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Disposable.js");
|
|
14429
14459
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isIDisposable", function() { return _Disposable__WEBPACK_IMPORTED_MODULE_11__["isIDisposable"]; });
|
|
14430
14460
|
|
|
14431
14461
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "dispose", function() { return _Disposable__WEBPACK_IMPORTED_MODULE_11__["dispose"]; });
|
|
@@ -14436,30 +14466,30 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14436
14466
|
|
|
14437
14467
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DisposableList", function() { return _Disposable__WEBPACK_IMPORTED_MODULE_11__["DisposableList"]; });
|
|
14438
14468
|
|
|
14439
|
-
/* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Id */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14469
|
+
/* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Id */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Id.js");
|
|
14440
14470
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Id64", function() { return _Id__WEBPACK_IMPORTED_MODULE_12__["Id64"]; });
|
|
14441
14471
|
|
|
14442
14472
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TransientIdSequence", function() { return _Id__WEBPACK_IMPORTED_MODULE_12__["TransientIdSequence"]; });
|
|
14443
14473
|
|
|
14444
14474
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Guid", function() { return _Id__WEBPACK_IMPORTED_MODULE_12__["Guid"]; });
|
|
14445
14475
|
|
|
14446
|
-
/* harmony import */ var _IndexMap__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./IndexMap */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14476
|
+
/* harmony import */ var _IndexMap__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./IndexMap */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/IndexMap.js");
|
|
14447
14477
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "IndexedValue", function() { return _IndexMap__WEBPACK_IMPORTED_MODULE_13__["IndexedValue"]; });
|
|
14448
14478
|
|
|
14449
14479
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "IndexMap", function() { return _IndexMap__WEBPACK_IMPORTED_MODULE_13__["IndexMap"]; });
|
|
14450
14480
|
|
|
14451
|
-
/* harmony import */ var _JsonSchema__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./JsonSchema */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14452
|
-
/* empty/unused harmony star reexport *//* harmony import */ var _JsonUtils__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./JsonUtils */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14481
|
+
/* harmony import */ var _JsonSchema__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./JsonSchema */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/JsonSchema.js");
|
|
14482
|
+
/* empty/unused harmony star reexport *//* harmony import */ var _JsonUtils__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./JsonUtils */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/JsonUtils.js");
|
|
14453
14483
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonUtils", function() { return _JsonUtils__WEBPACK_IMPORTED_MODULE_15__["JsonUtils"]; });
|
|
14454
14484
|
|
|
14455
|
-
/* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./Logger */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14485
|
+
/* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./Logger */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Logger.js");
|
|
14456
14486
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LogLevel", function() { return _Logger__WEBPACK_IMPORTED_MODULE_16__["LogLevel"]; });
|
|
14457
14487
|
|
|
14458
14488
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Logger", function() { return _Logger__WEBPACK_IMPORTED_MODULE_16__["Logger"]; });
|
|
14459
14489
|
|
|
14460
14490
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PerfLogger", function() { return _Logger__WEBPACK_IMPORTED_MODULE_16__["PerfLogger"]; });
|
|
14461
14491
|
|
|
14462
|
-
/* harmony import */ var _LRUMap__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./LRUMap */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14492
|
+
/* harmony import */ var _LRUMap__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./LRUMap */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/LRUMap.js");
|
|
14463
14493
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Entry", function() { return _LRUMap__WEBPACK_IMPORTED_MODULE_17__["Entry"]; });
|
|
14464
14494
|
|
|
14465
14495
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LRUCache", function() { return _LRUMap__WEBPACK_IMPORTED_MODULE_17__["LRUCache"]; });
|
|
@@ -14468,32 +14498,32 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14468
14498
|
|
|
14469
14499
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LRUDictionary", function() { return _LRUMap__WEBPACK_IMPORTED_MODULE_17__["LRUDictionary"]; });
|
|
14470
14500
|
|
|
14471
|
-
/* harmony import */ var _ObservableSet__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./ObservableSet */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14501
|
+
/* harmony import */ var _ObservableSet__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./ObservableSet */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/ObservableSet.js");
|
|
14472
14502
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ObservableSet", function() { return _ObservableSet__WEBPACK_IMPORTED_MODULE_18__["ObservableSet"]; });
|
|
14473
14503
|
|
|
14474
|
-
/* harmony import */ var _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./OneAtATimeAction */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14504
|
+
/* harmony import */ var _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./OneAtATimeAction */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/OneAtATimeAction.js");
|
|
14475
14505
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "AbandonedError", function() { return _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_19__["AbandonedError"]; });
|
|
14476
14506
|
|
|
14477
14507
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "OneAtATimeAction", function() { return _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_19__["OneAtATimeAction"]; });
|
|
14478
14508
|
|
|
14479
|
-
/* harmony import */ var _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./OrderedId64Iterable */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14509
|
+
/* harmony import */ var _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./OrderedId64Iterable */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/OrderedId64Iterable.js");
|
|
14480
14510
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "OrderedId64Iterable", function() { return _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_20__["OrderedId64Iterable"]; });
|
|
14481
14511
|
|
|
14482
|
-
/* harmony import */ var _OrderedSet__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./OrderedSet */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14512
|
+
/* harmony import */ var _OrderedSet__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./OrderedSet */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/OrderedSet.js");
|
|
14483
14513
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ReadonlyOrderedSet", function() { return _OrderedSet__WEBPACK_IMPORTED_MODULE_21__["ReadonlyOrderedSet"]; });
|
|
14484
14514
|
|
|
14485
14515
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "OrderedSet", function() { return _OrderedSet__WEBPACK_IMPORTED_MODULE_21__["OrderedSet"]; });
|
|
14486
14516
|
|
|
14487
|
-
/* harmony import */ var _partitionArray__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./partitionArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14517
|
+
/* harmony import */ var _partitionArray__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./partitionArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/partitionArray.js");
|
|
14488
14518
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "partitionArray", function() { return _partitionArray__WEBPACK_IMPORTED_MODULE_22__["partitionArray"]; });
|
|
14489
14519
|
|
|
14490
|
-
/* harmony import */ var _PriorityQueue__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./PriorityQueue */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14520
|
+
/* harmony import */ var _PriorityQueue__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./PriorityQueue */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/PriorityQueue.js");
|
|
14491
14521
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PriorityQueue", function() { return _PriorityQueue__WEBPACK_IMPORTED_MODULE_23__["PriorityQueue"]; });
|
|
14492
14522
|
|
|
14493
|
-
/* harmony import */ var _ProcessDetector__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./ProcessDetector */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14523
|
+
/* harmony import */ var _ProcessDetector__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./ProcessDetector */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/ProcessDetector.js");
|
|
14494
14524
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProcessDetector", function() { return _ProcessDetector__WEBPACK_IMPORTED_MODULE_24__["ProcessDetector"]; });
|
|
14495
14525
|
|
|
14496
|
-
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14526
|
+
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
|
|
14497
14527
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "shallowClone", function() { return _SortedArray__WEBPACK_IMPORTED_MODULE_25__["shallowClone"]; });
|
|
14498
14528
|
|
|
14499
14529
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "lowerBound", function() { return _SortedArray__WEBPACK_IMPORTED_MODULE_25__["lowerBound"]; });
|
|
@@ -14504,24 +14534,24 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14504
14534
|
|
|
14505
14535
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SortedArray", function() { return _SortedArray__WEBPACK_IMPORTED_MODULE_25__["SortedArray"]; });
|
|
14506
14536
|
|
|
14507
|
-
/* harmony import */ var _StringUtils__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./StringUtils */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14537
|
+
/* harmony import */ var _StringUtils__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./StringUtils */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/StringUtils.js");
|
|
14508
14538
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "utf8ToStringPolyfill", function() { return _StringUtils__WEBPACK_IMPORTED_MODULE_26__["utf8ToStringPolyfill"]; });
|
|
14509
14539
|
|
|
14510
14540
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "utf8ToString", function() { return _StringUtils__WEBPACK_IMPORTED_MODULE_26__["utf8ToString"]; });
|
|
14511
14541
|
|
|
14512
14542
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "base64StringToUint8Array", function() { return _StringUtils__WEBPACK_IMPORTED_MODULE_26__["base64StringToUint8Array"]; });
|
|
14513
14543
|
|
|
14514
|
-
/* harmony import */ var _Time__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./Time */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14544
|
+
/* harmony import */ var _Time__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./Time */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/Time.js");
|
|
14515
14545
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BeDuration", function() { return _Time__WEBPACK_IMPORTED_MODULE_27__["BeDuration"]; });
|
|
14516
14546
|
|
|
14517
14547
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BeTimePoint", function() { return _Time__WEBPACK_IMPORTED_MODULE_27__["BeTimePoint"]; });
|
|
14518
14548
|
|
|
14519
14549
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "StopWatch", function() { return _Time__WEBPACK_IMPORTED_MODULE_27__["StopWatch"]; });
|
|
14520
14550
|
|
|
14521
|
-
/* harmony import */ var _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./UnexpectedErrors */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14551
|
+
/* harmony import */ var _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./UnexpectedErrors */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/UnexpectedErrors.js");
|
|
14522
14552
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UnexpectedErrors", function() { return _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_28__["UnexpectedErrors"]; });
|
|
14523
14553
|
|
|
14524
|
-
/* harmony import */ var _UtilityTypes__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./UtilityTypes */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14554
|
+
/* harmony import */ var _UtilityTypes__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./UtilityTypes */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/UtilityTypes.js");
|
|
14525
14555
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isInstanceOf", function() { return _UtilityTypes__WEBPACK_IMPORTED_MODULE_29__["isInstanceOf"]; });
|
|
14526
14556
|
|
|
14527
14557
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "asInstanceOf", function() { return _UtilityTypes__WEBPACK_IMPORTED_MODULE_29__["asInstanceOf"]; });
|
|
@@ -14603,9 +14633,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14603
14633
|
|
|
14604
14634
|
/***/ }),
|
|
14605
14635
|
|
|
14606
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14636
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/partitionArray.js":
|
|
14607
14637
|
/*!***************************************************************************************************************************************************!*\
|
|
14608
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14638
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/partitionArray.js ***!
|
|
14609
14639
|
\***************************************************************************************************************************************************/
|
|
14610
14640
|
/*! exports provided: partitionArray */
|
|
14611
14641
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -14671,7 +14701,7 @@ function partitionArray(array, criterion) {
|
|
|
14671
14701
|
*--------------------------------------------------------------------------------------------*/
|
|
14672
14702
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14673
14703
|
exports.TestFrontendAuthorizationClient = void 0;
|
|
14674
|
-
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14704
|
+
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.170/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js");
|
|
14675
14705
|
/**
|
|
14676
14706
|
* Basic FrontendAuthorizationClient to use with an already created access token.
|
|
14677
14707
|
* @internal
|
|
@@ -14811,7 +14841,7 @@ exports.getAccessTokenFromBackend = exports.getTokenCallbackName = void 0;
|
|
|
14811
14841
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
14812
14842
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
14813
14843
|
*--------------------------------------------------------------------------------------------*/
|
|
14814
|
-
const CallbackUtils_1 = __webpack_require__(/*! @itwin/certa/lib/utils/CallbackUtils */ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.0.0-dev.
|
|
14844
|
+
const CallbackUtils_1 = __webpack_require__(/*! @itwin/certa/lib/utils/CallbackUtils */ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.0.0-dev.170/node_modules/@itwin/certa/lib/utils/CallbackUtils.js");
|
|
14815
14845
|
// Shared by both the frontend and backend side of the tests
|
|
14816
14846
|
exports.getTokenCallbackName = "getToken";
|
|
14817
14847
|
async function getAccessTokenFromBackend(user, oidcConfig) {
|
|
@@ -68488,6 +68518,16 @@ class ByteStream {
|
|
|
68488
68518
|
/** Construct a new ByteStream with the read position set to the beginning.
|
|
68489
68519
|
* @param buffer The underlying buffer from which data is to be extracted.
|
|
68490
68520
|
* @param subView If defined, specifies the subset of the underlying buffer's data to use.
|
|
68521
|
+
* This constructor is subject to two common mistakes:
|
|
68522
|
+
*
|
|
68523
|
+
* 1. Given `bytes: Uint8Array`, `new ByteStream(bytes)` will compile but at run-time will produce an error asserting that
|
|
68524
|
+
* the DataView constructor requires an ArrayBuffer. The correct usage is `new ByteStream(bytes.buffer)`.
|
|
68525
|
+
* 2. Given `bytes: Uint8Array`, `new ByteStream(bytes.buffer)` creates a stream for the entire range of bytes represented by the underlying
|
|
68526
|
+
* ArrayBuffer. If `bytes` represents only a **sub-range** of the underlying buffer's data, the results will be unexpected unless the optional `subView`
|
|
68527
|
+
* argument is supplied, with correct offset and length.
|
|
68528
|
+
*
|
|
68529
|
+
* For both of the above reasons, prefer to use [[fromUint8Array]].
|
|
68530
|
+
* @deprecated Use [[fromUint8Array]] or [[fromArrayBuffer]].
|
|
68491
68531
|
*/
|
|
68492
68532
|
constructor(buffer, subView) {
|
|
68493
68533
|
this._curPos = 0;
|
|
@@ -68500,10 +68540,30 @@ class ByteStream {
|
|
|
68500
68540
|
this._byteOffset = 0;
|
|
68501
68541
|
}
|
|
68502
68542
|
}
|
|
68543
|
+
/** Construct a new ByteStream for the range of bytes represented by `bytes`, which may be a subset of the range of bytes
|
|
68544
|
+
* represented by the underlying ArrayBuffer. The read position will be set to the beginning of the range of bytes.
|
|
68545
|
+
*/
|
|
68546
|
+
static fromUint8Array(bytes) {
|
|
68547
|
+
const { byteOffset, byteLength } = bytes;
|
|
68548
|
+
return new ByteStream(bytes.buffer, { byteOffset, byteLength }); // eslint-disable-line deprecation/deprecation
|
|
68549
|
+
}
|
|
68550
|
+
/** Construct a new ByteStream with the read position set to the beginning.
|
|
68551
|
+
* @param buffer The underlying buffer from which data is to be extracted.
|
|
68552
|
+
* @param subView If defined, specifies the subset of the underlying buffer's data to use.
|
|
68553
|
+
*/
|
|
68554
|
+
static fromArrayBuffer(buffer, subView) {
|
|
68555
|
+
return new ByteStream(buffer, subView); // eslint-disable-line deprecation/deprecation
|
|
68556
|
+
}
|
|
68503
68557
|
/** The number of bytes in this stream */
|
|
68504
68558
|
get length() { return this._view.byteLength; }
|
|
68505
|
-
/** Returns true if the current read position has been advanced past the end of the stream
|
|
68559
|
+
/** Returns true if the current read position has been advanced past the end of the stream. This generally indicates that an attempt was made to read more data than is available.
|
|
68560
|
+
* @see [[isAtTheEnd]]
|
|
68561
|
+
*/
|
|
68506
68562
|
get isPastTheEnd() { return this.curPos > this.length; }
|
|
68563
|
+
/** Returns true if the current read position has advanced precisely to the end of the stream, indicating all of the data has been consumed.
|
|
68564
|
+
* @see [[isPastTheEnd]].
|
|
68565
|
+
*/
|
|
68566
|
+
get isAtTheEnd() { return this.curPos === this.length; }
|
|
68507
68567
|
/** The current read position as an index into the stream of bytes. */
|
|
68508
68568
|
get curPos() { return this._curPos; }
|
|
68509
68569
|
set curPos(pos) { this._curPos = pos; Object(_Assert__WEBPACK_IMPORTED_MODULE_0__["assert"])(!this.isPastTheEnd); }
|
|
@@ -80379,7 +80439,7 @@ class IModel {
|
|
|
80379
80439
|
globalOrigin: this.globalOrigin.toJSON(),
|
|
80380
80440
|
ecefLocation: this.ecefLocation,
|
|
80381
80441
|
geographicCoordinateSystem: this.geographicCoordinateSystem,
|
|
80382
|
-
...this.
|
|
80442
|
+
...this._getRpcProps(),
|
|
80383
80443
|
};
|
|
80384
80444
|
}
|
|
80385
80445
|
/** @internal */
|
|
@@ -80394,10 +80454,19 @@ class IModel {
|
|
|
80394
80454
|
get iModelId() { return this._iModelId; }
|
|
80395
80455
|
/** The [[OpenMode]] used for this IModel. */
|
|
80396
80456
|
get openMode() { return this._openMode; }
|
|
80397
|
-
/** Return a token for RPC operations.
|
|
80457
|
+
/** Return a token for RPC operations.
|
|
80458
|
+
* @throws IModelError if the iModel is not open.
|
|
80459
|
+
*/
|
|
80398
80460
|
getRpcProps() {
|
|
80399
80461
|
if (!this.isOpen)
|
|
80400
80462
|
throw new _IModelError__WEBPACK_IMPORTED_MODULE_4__["IModelError"](_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["IModelStatus"].BadRequest, "IModel is not open for rpc");
|
|
80463
|
+
return this._getRpcProps();
|
|
80464
|
+
}
|
|
80465
|
+
/** Returns the iModel's RPC properties.
|
|
80466
|
+
* @note It is an error to attempt to use these properties as a token for RPC operations if the iModel is not open.
|
|
80467
|
+
* @internal
|
|
80468
|
+
*/
|
|
80469
|
+
_getRpcProps() {
|
|
80401
80470
|
return {
|
|
80402
80471
|
key: this._fileKey,
|
|
80403
80472
|
iTwinId: this.iTwinId,
|
|
@@ -87435,7 +87504,7 @@ WhiteOnWhiteReversalSettings._ignore = new WhiteOnWhiteReversalSettings(false);
|
|
|
87435
87504
|
/*!**********************************************************!*\
|
|
87436
87505
|
!*** D:/vsts_a/460/s/core/common/lib/esm/core-common.js ***!
|
|
87437
87506
|
\**********************************************************/
|
|
87438
|
-
/*! exports provided: AmbientOcclusion, AnalysisStyleDisplacement, AnalysisStyleThematic, AnalysisStyle, BackgroundMapType, BackgroundMapProvider, GlobeMode, BackgroundMapSettings, Base64EncodedString, BriefcaseIdValue, SyncMode, DomainOptions, ProfileOptions, SchemaState, Camera, TypeOfChange, ChangesetType, CutStyle, ClipStyle, CloudStorageProvider, CloudStorageContainerUrl, CloudStorageCache, CloudStorageTileCache, Code, BisCodeSpec, CodeScopeSpec, CodeSpec, ColorByName, ColorDef, CommonLoggerCategory, RealityDataProvider, RealityDataFormat, RealityDataSourceKey, ContextRealityModelProps, ContextRealityModel, ContextRealityModels, MonochromeMode, DisplayStyleSettings, DisplayStyle3dSettings, ECSqlValueType, ChangeOpCode, ChangedValueState, ECSqlSystemProperty, ECJsNames, RelatedElement, TypeDefinition, isPlacement2dProps, isPlacement3dProps, SectionType, ExternalSourceAttachmentRole, Rank, FeatureOverrideType, PrimitiveTypeCode, PropertyMetaData, EntityMetaData, Environment, FeatureGates, NonUniformColor, ColorIndex, FeatureIndexType, FeatureIndex, FeatureAppearance, FeatureOverrides, FeatureAppearanceProvider, Feature, BatchType, FeatureTable, PackedFeatureTable, FontType, FontMap, Npc, NpcCorners, NpcCenter, Frustum, GeoCoordStatus, mapToGeoServiceStatus, Helmert2DWithZOffset, AdditionalTransform, AreaPattern, BoundingSphere, Cartographic, CartographicRange, HorizontalCRSExtent, HorizontalCRS, VerticalCRS, GeographicCRS, ElementGeometryOpcode, BRepGeometryOperation, ElementGeometry, FrustumPlanes, XyzRotation, GeocentricTransform, PositionalVectorTransform, GridFileDefinition, GridFileTransform, GeodeticTransform, GeodeticDatum, GeodeticEllipsoid, BRepEntity, GeometryStreamFlags, GeometryStreamBuilder, GeometryStreamIterator, ImageGraphicCorners, ImageGraphic, LineStyle, Placement3d, Placement2d, AffineTransform, Projection, Carto2DDegrees, TextString, FillDisplay, BackgroundFill, GeometryClass, GeometryParams, GeometrySummaryVerbosity, Gradient, FillFlags, GraphicParams, GroundPlane, HiddenLine, Hilite, HSLColor, HSVConstants, HSVColor, ImageBufferFormat, ImageBuffer, isPowerOfTwo, nextHighestPowerOfTwo, ImageSourceFormat, isValidImageSourceFormat, ImageSource, EcefLocation, IModel, BentleyStatus, BentleyError, IModelStatus, BriefcaseStatus, DbResult, AuthStatus, RepositoryStatus, ChangeSetStatus, RpcInterfaceStatus, IModelError, ServerError, ServerTimeoutError, BackendError, ChannelConstraintError, NoContentError, IModelVersion, iTwinChannel, IpcWebSocketMessageType, IpcWebSocketMessage, IpcWebSocket, IpcWebSocketFrontend, IpcWebSocketBackend, IpcWebSocketTransport, IpcAppChannel, SolarLight, AmbientLight, HemisphereLights, FresnelSettings, LightSettings, LinePixels, EmptyLocalization, BaseLayerSettings, MapImagerySettings, MapSubLayerSettings, MapLayerSettings, BaseMapLayerSettings, MassPropertiesOperation, TextureMapUnits, ModelClipGroup, ModelClipGroups, nativeAppChannel, nativeAppNotify, InternetConnectivityStatus, OverriddenBy, OctEncodedNormal, OctEncodedNormalPair, QueryRowFormat, QueryOptionsBuilder, BlobOptionsBuilder, QueryBinder, DbRequestKind, DbResponseKind, DbResponseStatus, DbValueFormat, DbQueryError, PropertyMetaDataMap, ECSqlReader, PlanarClipMaskMode, PlanarClipMaskPriority, PlanarClipMaskSettings, ElementGeometryChange, ModelGeometryChanges, PlanProjectionSettings, Quantization, QParams2d, QPoint2d, QPoint2dList, QParams3d, QPoint3d, QPoint3dList, DefaultSupportedTypes, PolylineTypeFlags, PolylineFlags, PolylineData, MeshPolyline, MeshPolylineList, MeshEdge, MeshEdges, EdgeArgs, SilhouetteEdgeArgs, PolylineEdgeArgs, RenderMaterial, RenderSchedule, RenderTexture, RgbColor, RpcRoutingMap, RpcConfiguration, RpcDefaultConfiguration, RpcDirectProtocol, RpcDirectRequest, DevToolsStatsOptions, DevToolsRpcInterface, IModelNotFoundResponse, IModelReadRpcInterface, IModelTileRpcInterface, SnapshotIModelRpcInterface, TestRpcManager, WipRpcInterface, RpcInterface, RpcManager, SkyBoxImageType, SkyGradient, SkyBox, SkySphere, SkyCube, calculateSolarAngles, calculateSolarDirection, calculateSolarDirectionFromAngles, calculateSunriseOrSunset, SolarShadowSettings, SpatialClassifierInsideDisplay, SpatialClassifierOutsideDisplay, SpatialClassifierFlags, SpatialClassifier, SpatialClassifiers, SubCategoryAppearance, SubCategoryOverride, TerrainHeightOriginMode, TerrainSettings, TextureMapping, ThematicGradientMode, ThematicGradientColorScheme, ThematicGradientSettings, ThematicDisplaySensor, ThematicDisplaySensorSettings, ThematicDisplayMode, ThematicDisplay, TileContentSource, Tweens, Tween, Easing, Interpolation, TxnAction, GridOrientationType, ViewDetails, ViewDetails3d, RenderMode, ViewFlags, RpcResponseCacheControl, RpcProtocolEvent, RpcRequestStatus, RpcRequestEvent, RpcContentType, RpcEndpoint, WEB_RPC_CONSTANTS, RpcControlResponse, RpcPendingResponse, RpcNotFoundResponse, RpcControlChannel, RpcInvocation, MarshalingBinaryMarker, RpcSerializedValue, RpcMarshaling, RpcOperationPolicy, RpcOperation, RpcPendingQueue, RpcRequestFulfillment, RpcProtocol, REGISTRY, OPERATION, POLICY, INSTANCE, CURRENT_REQUEST, CURRENT_INVOCATION, RpcRegistry, ResponseLike, RpcRequest, initializeRpcRequest, RpcRoutingToken, RpcPushTransport, RpcPushService, RpcPushChannel, RpcPushSubscription, RpcPushConnection, BentleyCloudRpcConfiguration, BentleyCloudRpcManager, BentleyCloudRpcProtocol, RpcOpenAPIDescription, RpcMultipart, WebAppRpcProtocol, WebAppRpcRequest, B3dmHeader, CompositeTileHeader, GltfVersions, GltfV2ChunkTypes,
|
|
87507
|
+
/*! exports provided: AmbientOcclusion, AnalysisStyleDisplacement, AnalysisStyleThematic, AnalysisStyle, BackgroundMapType, BackgroundMapProvider, GlobeMode, BackgroundMapSettings, Base64EncodedString, BriefcaseIdValue, SyncMode, DomainOptions, ProfileOptions, SchemaState, Camera, TypeOfChange, ChangesetType, CutStyle, ClipStyle, CloudStorageProvider, CloudStorageContainerUrl, CloudStorageCache, CloudStorageTileCache, Code, BisCodeSpec, CodeScopeSpec, CodeSpec, ColorByName, ColorDef, CommonLoggerCategory, RealityDataProvider, RealityDataFormat, RealityDataSourceKey, ContextRealityModelProps, ContextRealityModel, ContextRealityModels, MonochromeMode, DisplayStyleSettings, DisplayStyle3dSettings, ECSqlValueType, ChangeOpCode, ChangedValueState, ECSqlSystemProperty, ECJsNames, RelatedElement, TypeDefinition, isPlacement2dProps, isPlacement3dProps, SectionType, ExternalSourceAttachmentRole, Rank, FeatureOverrideType, PrimitiveTypeCode, PropertyMetaData, EntityMetaData, Environment, FeatureGates, NonUniformColor, ColorIndex, FeatureIndexType, FeatureIndex, FeatureAppearance, FeatureOverrides, FeatureAppearanceProvider, Feature, BatchType, FeatureTable, PackedFeatureTable, FontType, FontMap, Npc, NpcCorners, NpcCenter, Frustum, GeoCoordStatus, mapToGeoServiceStatus, Helmert2DWithZOffset, AdditionalTransform, AreaPattern, BoundingSphere, Cartographic, CartographicRange, HorizontalCRSExtent, HorizontalCRS, VerticalCRS, GeographicCRS, ElementGeometryOpcode, BRepGeometryOperation, ElementGeometry, FrustumPlanes, XyzRotation, GeocentricTransform, PositionalVectorTransform, GridFileDefinition, GridFileTransform, GeodeticTransform, GeodeticDatum, GeodeticEllipsoid, BRepEntity, GeometryStreamFlags, GeometryStreamBuilder, GeometryStreamIterator, ImageGraphicCorners, ImageGraphic, LineStyle, Placement3d, Placement2d, AffineTransform, Projection, Carto2DDegrees, TextString, FillDisplay, BackgroundFill, GeometryClass, GeometryParams, GeometrySummaryVerbosity, Gradient, FillFlags, GraphicParams, GroundPlane, HiddenLine, Hilite, HSLColor, HSVConstants, HSVColor, ImageBufferFormat, ImageBuffer, isPowerOfTwo, nextHighestPowerOfTwo, ImageSourceFormat, isValidImageSourceFormat, ImageSource, EcefLocation, IModel, BentleyStatus, BentleyError, IModelStatus, BriefcaseStatus, DbResult, AuthStatus, RepositoryStatus, ChangeSetStatus, RpcInterfaceStatus, IModelError, ServerError, ServerTimeoutError, BackendError, ChannelConstraintError, NoContentError, IModelVersion, iTwinChannel, IpcWebSocketMessageType, IpcWebSocketMessage, IpcWebSocket, IpcWebSocketFrontend, IpcWebSocketBackend, IpcWebSocketTransport, IpcAppChannel, SolarLight, AmbientLight, HemisphereLights, FresnelSettings, LightSettings, LinePixels, EmptyLocalization, BaseLayerSettings, MapImagerySettings, MapSubLayerSettings, MapLayerSettings, BaseMapLayerSettings, MassPropertiesOperation, TextureMapUnits, ModelClipGroup, ModelClipGroups, nativeAppChannel, nativeAppNotify, InternetConnectivityStatus, OverriddenBy, OctEncodedNormal, OctEncodedNormalPair, QueryRowFormat, QueryOptionsBuilder, BlobOptionsBuilder, QueryBinder, DbRequestKind, DbResponseKind, DbResponseStatus, DbValueFormat, DbQueryError, PropertyMetaDataMap, ECSqlReader, PlanarClipMaskMode, PlanarClipMaskPriority, PlanarClipMaskSettings, ElementGeometryChange, ModelGeometryChanges, PlanProjectionSettings, Quantization, QParams2d, QPoint2d, QPoint2dList, QParams3d, QPoint3d, QPoint3dList, DefaultSupportedTypes, PolylineTypeFlags, PolylineFlags, PolylineData, MeshPolyline, MeshPolylineList, MeshEdge, MeshEdges, EdgeArgs, SilhouetteEdgeArgs, PolylineEdgeArgs, RenderMaterial, RenderSchedule, RenderTexture, RgbColor, RpcRoutingMap, RpcConfiguration, RpcDefaultConfiguration, RpcDirectProtocol, RpcDirectRequest, DevToolsStatsOptions, DevToolsRpcInterface, IModelNotFoundResponse, IModelReadRpcInterface, IModelTileRpcInterface, SnapshotIModelRpcInterface, TestRpcManager, WipRpcInterface, RpcInterface, RpcManager, SkyBoxImageType, SkyGradient, SkyBox, SkySphere, SkyCube, calculateSolarAngles, calculateSolarDirection, calculateSolarDirectionFromAngles, calculateSunriseOrSunset, SolarShadowSettings, SpatialClassifierInsideDisplay, SpatialClassifierOutsideDisplay, SpatialClassifierFlags, SpatialClassifier, SpatialClassifiers, SubCategoryAppearance, SubCategoryOverride, TerrainHeightOriginMode, TerrainSettings, TextureMapping, ThematicGradientMode, ThematicGradientColorScheme, ThematicGradientSettings, ThematicDisplaySensor, ThematicDisplaySensorSettings, ThematicDisplayMode, ThematicDisplay, TileContentSource, Tweens, Tween, Easing, Interpolation, TxnAction, GridOrientationType, ViewDetails, ViewDetails3d, RenderMode, ViewFlags, RpcResponseCacheControl, RpcProtocolEvent, RpcRequestStatus, RpcRequestEvent, RpcContentType, RpcEndpoint, WEB_RPC_CONSTANTS, RpcControlResponse, RpcPendingResponse, RpcNotFoundResponse, RpcControlChannel, RpcInvocation, MarshalingBinaryMarker, RpcSerializedValue, RpcMarshaling, RpcOperationPolicy, RpcOperation, RpcPendingQueue, RpcRequestFulfillment, RpcProtocol, REGISTRY, OPERATION, POLICY, INSTANCE, CURRENT_REQUEST, CURRENT_INVOCATION, RpcRegistry, ResponseLike, RpcRequest, initializeRpcRequest, RpcRoutingToken, RpcPushTransport, RpcPushService, RpcPushChannel, RpcPushSubscription, RpcPushConnection, BentleyCloudRpcConfiguration, BentleyCloudRpcManager, BentleyCloudRpcProtocol, RpcOpenAPIDescription, RpcMultipart, WebAppRpcProtocol, WebAppRpcRequest, B3dmHeader, CompositeTileHeader, GltfVersions, GltfV2ChunkTypes, GlbHeader, I3dmHeader, ImdlFlags, CurrentImdlVersion, ImdlHeader, FeatureTableHeader, PntsHeader, TileFormat, isKnownTileFormat, tileFormatFromNumber, TileReadStatus, TileReadError, TileHeader, nextPoint3d64FromByteStream, TileOptions, parseTileTreeIdAndContentId, defaultTileOptions, getMaximumMajorTileFormatVersion, TreeFlags, EdgeType, iModelTileTreeIdToString, compareIModelTileTreeIds, ContentFlags, ContentIdProvider, bisectTileRange3d, bisectTileRange2d, computeChildTileRanges, computeChildTileProps, readTileContentDescription, computeTileChordTolerance, TileMetadataReader, WhiteOnWhiteReversalSettings */
|
|
87439
87508
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
87440
87509
|
|
|
87441
87510
|
"use strict";
|
|
@@ -88218,7 +88287,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
88218
88287
|
|
|
88219
88288
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfV2ChunkTypes", function() { return _tile_GltfTileIO__WEBPACK_IMPORTED_MODULE_139__["GltfV2ChunkTypes"]; });
|
|
88220
88289
|
|
|
88221
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
88290
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GlbHeader", function() { return _tile_GltfTileIO__WEBPACK_IMPORTED_MODULE_139__["GlbHeader"]; });
|
|
88222
88291
|
|
|
88223
88292
|
/* harmony import */ var _tile_I3dmTileIO__WEBPACK_IMPORTED_MODULE_140__ = __webpack_require__(/*! ./tile/I3dmTileIO */ "../../core/common/lib/esm/tile/I3dmTileIO.js");
|
|
88224
88293
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "I3dmHeader", function() { return _tile_I3dmTileIO__WEBPACK_IMPORTED_MODULE_140__["I3dmHeader"]; });
|
|
@@ -101284,15 +101353,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
101284
101353
|
/*!**************************************************************!*\
|
|
101285
101354
|
!*** D:/vsts_a/460/s/core/common/lib/esm/tile/GltfTileIO.js ***!
|
|
101286
101355
|
\**************************************************************/
|
|
101287
|
-
/*! exports provided: GltfVersions, GltfV2ChunkTypes,
|
|
101356
|
+
/*! exports provided: GltfVersions, GltfV2ChunkTypes, GlbHeader */
|
|
101288
101357
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
101289
101358
|
|
|
101290
101359
|
"use strict";
|
|
101291
101360
|
__webpack_require__.r(__webpack_exports__);
|
|
101292
101361
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GltfVersions", function() { return GltfVersions; });
|
|
101293
101362
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GltfV2ChunkTypes", function() { return GltfV2ChunkTypes; });
|
|
101294
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
101295
|
-
/* harmony import */ var
|
|
101363
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GlbHeader", function() { return GlbHeader; });
|
|
101364
|
+
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
101365
|
+
/* harmony import */ var _TileIO__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TileIO */ "../../core/common/lib/esm/tile/TileIO.js");
|
|
101296
101366
|
/*---------------------------------------------------------------------------------------------
|
|
101297
101367
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
101298
101368
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -101301,6 +101371,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
101301
101371
|
* @module Tile
|
|
101302
101372
|
*/
|
|
101303
101373
|
|
|
101374
|
+
|
|
101304
101375
|
/** Known version of the [glTF format](https://www.khronos.org/gltf/).
|
|
101305
101376
|
* @internal
|
|
101306
101377
|
*/
|
|
@@ -101317,48 +101388,85 @@ var GltfV2ChunkTypes;
|
|
|
101317
101388
|
GltfV2ChunkTypes[GltfV2ChunkTypes["JSON"] = 1313821514] = "JSON";
|
|
101318
101389
|
GltfV2ChunkTypes[GltfV2ChunkTypes["Binary"] = 5130562] = "Binary";
|
|
101319
101390
|
})(GltfV2ChunkTypes || (GltfV2ChunkTypes = {}));
|
|
101320
|
-
|
|
101321
|
-
|
|
101322
|
-
|
|
101323
|
-
|
|
101391
|
+
function consumeNextChunk(stream) {
|
|
101392
|
+
if (stream.isAtTheEnd)
|
|
101393
|
+
return undefined;
|
|
101394
|
+
const offset = stream.curPos + 8;
|
|
101395
|
+
const length = stream.nextUint32;
|
|
101396
|
+
const type = stream.nextUint32;
|
|
101397
|
+
stream.advance(length);
|
|
101398
|
+
return stream.isPastTheEnd ? false : { offset, length, type };
|
|
101399
|
+
}
|
|
101400
|
+
/** @internal */
|
|
101401
|
+
class GlbHeader extends _TileIO__WEBPACK_IMPORTED_MODULE_1__["TileHeader"] {
|
|
101324
101402
|
constructor(stream) {
|
|
101325
101403
|
super(stream);
|
|
101326
|
-
this.
|
|
101327
|
-
this.
|
|
101328
|
-
this.
|
|
101404
|
+
this.gltfLength = 0;
|
|
101405
|
+
this.jsonChunk = { offset: 0, length: 0 };
|
|
101406
|
+
this.additionalChunks = [];
|
|
101329
101407
|
this.gltfLength = stream.nextUint32;
|
|
101330
|
-
|
|
101331
|
-
const
|
|
101408
|
+
const jsonLength = stream.nextUint32;
|
|
101409
|
+
const word5 = stream.nextUint32;
|
|
101332
101410
|
// Early versions of the reality data tile publisher incorrectly put version 2 into header - handle these old tiles
|
|
101333
101411
|
// validating the chunk type.
|
|
101334
|
-
if (this.version === GltfVersions.Version2 &&
|
|
101412
|
+
if (this.version === GltfVersions.Version2 && word5 === GltfVersions.Gltf1SceneFormat)
|
|
101335
101413
|
this.version = GltfVersions.Version1;
|
|
101336
|
-
|
|
101337
|
-
|
|
101338
|
-
|
|
101339
|
-
|
|
101340
|
-
|
|
101341
|
-
|
|
101342
|
-
|
|
101343
|
-
|
|
101344
|
-
|
|
101345
|
-
|
|
101346
|
-
|
|
101347
|
-
|
|
101348
|
-
|
|
101349
|
-
|
|
101350
|
-
|
|
101351
|
-
|
|
101414
|
+
this.jsonChunk = { offset: stream.curPos, length: jsonLength };
|
|
101415
|
+
switch (this.version) {
|
|
101416
|
+
case GltfVersions.Version1:
|
|
101417
|
+
if (GltfVersions.Gltf1SceneFormat !== word5) {
|
|
101418
|
+
this.invalidate();
|
|
101419
|
+
return;
|
|
101420
|
+
}
|
|
101421
|
+
const binaryOffset = stream.curPos + jsonLength;
|
|
101422
|
+
this.binaryChunk = { offset: binaryOffset, length: this.gltfLength - binaryOffset };
|
|
101423
|
+
break;
|
|
101424
|
+
case GltfVersions.Version2:
|
|
101425
|
+
if (word5 !== GltfV2ChunkTypes.JSON) {
|
|
101426
|
+
this.invalidate();
|
|
101427
|
+
return;
|
|
101428
|
+
}
|
|
101429
|
+
stream.advance(jsonLength);
|
|
101430
|
+
if (stream.isPastTheEnd) {
|
|
101431
|
+
this.invalidate();
|
|
101432
|
+
return;
|
|
101433
|
+
}
|
|
101434
|
+
let chunk;
|
|
101435
|
+
while (chunk = consumeNextChunk(stream)) {
|
|
101436
|
+
switch (chunk.type) {
|
|
101437
|
+
case GltfV2ChunkTypes.JSON:
|
|
101438
|
+
// Only one JSON chunk permitted and it must be the first.
|
|
101439
|
+
this.invalidate();
|
|
101440
|
+
return;
|
|
101441
|
+
case GltfV2ChunkTypes.Binary:
|
|
101442
|
+
// At most one binary chunk permitted and it must be the second if present.
|
|
101443
|
+
if (this.binaryChunk || this.additionalChunks.length) {
|
|
101444
|
+
this.invalidate();
|
|
101445
|
+
return;
|
|
101446
|
+
}
|
|
101447
|
+
this.binaryChunk = { offset: chunk.offset, length: chunk.length };
|
|
101448
|
+
break;
|
|
101449
|
+
default:
|
|
101450
|
+
// Any other chunk type should be ignored - for use by extensions.
|
|
101451
|
+
this.additionalChunks.push(chunk);
|
|
101452
|
+
break;
|
|
101453
|
+
}
|
|
101454
|
+
}
|
|
101455
|
+
if (false === chunk) {
|
|
101456
|
+
this.invalidate();
|
|
101457
|
+
return;
|
|
101458
|
+
}
|
|
101459
|
+
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(undefined === chunk);
|
|
101460
|
+
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(stream.isAtTheEnd);
|
|
101461
|
+
break;
|
|
101462
|
+
default:
|
|
101352
101463
|
this.invalidate();
|
|
101353
|
-
|
|
101354
|
-
}
|
|
101355
|
-
this.binaryPosition = stream.curPos;
|
|
101356
|
-
}
|
|
101357
|
-
else {
|
|
101358
|
-
this.invalidate();
|
|
101464
|
+
break;
|
|
101359
101465
|
}
|
|
101360
101466
|
}
|
|
101361
|
-
get isValid() {
|
|
101467
|
+
get isValid() {
|
|
101468
|
+
return _TileIO__WEBPACK_IMPORTED_MODULE_1__["TileFormat"].Gltf === this.format;
|
|
101469
|
+
}
|
|
101362
101470
|
}
|
|
101363
101471
|
|
|
101364
101472
|
|
|
@@ -114142,8 +114250,11 @@ async function imageElementFromImageSource(source) {
|
|
|
114142
114250
|
* @public
|
|
114143
114251
|
*/
|
|
114144
114252
|
async function imageElementFromUrl(url) {
|
|
114253
|
+
// We must set crossorigin property so that images loaded from same origin can be used with texImage2d.
|
|
114254
|
+
// We must do that outside of the promise constructor or it won't work, for reasons.
|
|
114255
|
+
const image = new Image();
|
|
114256
|
+
image.crossOrigin = "anonymous";
|
|
114145
114257
|
return new Promise((resolve, reject) => {
|
|
114146
|
-
const image = new Image();
|
|
114147
114258
|
image.onload = () => resolve(image);
|
|
114148
114259
|
// The "error" produced by Image is not an Error. It looks like an Event, but isn't one.
|
|
114149
114260
|
image.onerror = () => reject(new Error("Failed to create image from url"));
|
|
@@ -120675,11 +120786,11 @@ class ViewManager {
|
|
|
120675
120786
|
for (const vp of this._viewports)
|
|
120676
120787
|
vp.refreshForModifiedModels(modelIds);
|
|
120677
120788
|
}
|
|
120678
|
-
/**
|
|
120679
|
-
*
|
|
120680
|
-
*
|
|
120681
|
-
*
|
|
120682
|
-
*
|
|
120789
|
+
/** Sets the number of [MSAA]($docs/learning/display/MSAA.md) samples for all currently- and subsequently-opened [[ScreenViewport]]s.
|
|
120790
|
+
* @param numSamples The number of samples as a power of two. Values of 1 or less indicates anti-aliasing should be disabled. Non-power-of-two values are rounded
|
|
120791
|
+
* down to the nearest power of two. The maximum number of samples supported depends upon the client's graphics hardware capabilities. Higher values produce
|
|
120792
|
+
* a higher-quality image but also may also reduce framerate.
|
|
120793
|
+
* @see [[Viewport.antialiasSamples]] to adjust the number of samples for a specific viewport.
|
|
120683
120794
|
*/
|
|
120684
120795
|
setAntialiasingAllViews(numSamples) {
|
|
120685
120796
|
for (const vp of this)
|
|
@@ -123655,9 +123766,11 @@ class Viewport {
|
|
|
123655
123766
|
set clipStyle(style) {
|
|
123656
123767
|
this.displayStyle.settings.clipStyle = style;
|
|
123657
123768
|
}
|
|
123658
|
-
/**
|
|
123659
|
-
*
|
|
123660
|
-
*
|
|
123769
|
+
/** Sets the number of [MSAA]($docs/learning/display/MSAA.md) samples for this viewport.
|
|
123770
|
+
* The number of samples is a power of two. Values of 1 or less indicates anti-aliasing should be disabled. Non-power-of-two values are rounded
|
|
123771
|
+
* down to the nearest power of two. The maximum number of samples supported depends upon the client's graphics hardware capabilities. Higher values produce
|
|
123772
|
+
* a higher-quality image but also may also reduce framerate.
|
|
123773
|
+
* @see [[ViewManager.setAntialiasingAllViews]] to adjust the number of samples for all viewports.
|
|
123661
123774
|
*/
|
|
123662
123775
|
get antialiasSamples() {
|
|
123663
123776
|
return undefined !== this._target ? this._target.antialiasSamples : 1;
|
|
@@ -126115,7 +126228,7 @@ class UniqueViewportSets {
|
|
|
126115
126228
|
/*!**************************************************************!*\
|
|
126116
126229
|
!*** D:/vsts_a/460/s/core/frontend/lib/esm/core-frontend.js ***!
|
|
126117
126230
|
\**************************************************************/
|
|
126118
|
-
/*! exports provided: AccuDrawFlags, CompassMode, RotationMode, LockedStates, CurrentState, ContextMode, ItemField, KeyinStatus, AccudrawData, Flags, RoundOff, SavedState, ThreeAxes, AccuDraw, ContextRotationId, AccuDrawHintBuilder, TouchCursor, AccuSnap, TentativeOrAccuSnap, ACSType, ACSDisplayOptions, AuxCoordSystemState, AuxCoordSystem2dState, AuxCoordSystem3dState, AuxCoordSystemSpatialState, BingLocationProvider, BriefcaseConnection, BriefcaseNotificationHandler, BriefcaseTxns, CategorySelectorState, ChangeFlag, ChangeFlags, MutableChangeFlags, ContextRealityModelState, CoordSystem, DecorationsCache, DevTools, TerrainDisplayOverrides, DisplayStyleState, DisplayStyle2dState, DisplayStyle3dState, DrawingViewState, LocateAction, LocateFilterStatus, SnapStatus, LocateOptions, LocateResponse, ElementPicker, ElementLocateManager, EmphasizeElements, EntityState, ElementState, EnvironmentDecorations, FlashMode, FlashSettings, FrontendLoggerCategory, Frustum2d, FrustumAnimator, FuzzySearch, FuzzySearchResults, GeoConverter, GeoServices, GlobeAnimator, SnapMode, SnapHeat, HitSource, HitGeomType, HitParentGeomType, HitPriority, HitDetailType, HitDetail, SnapDetail, IntersectDetail, HitList, canvasToResizedCanvasWithBars, imageBufferToCanvas, canvasToImageBuffer, getImageSourceMimeType, getImageSourceFormatForMimeType, imageElementFromImageSource, imageElementFromUrl, tryImageElementFromUrl, extractImageSourceDimensions, imageBufferToPngDataUrl, imageBufferToBase64EncodedPng, openImageDataUrlInNewWindow, getCenteredViewRect, getCompressedJpegFromCanvas, IModelApp, IModelConnection, BlankConnection, SnapshotConnection, IModelRoutingContext, GraphicalEditingScope, IpcApp, NotificationHandler, linePlaneIntersect, MarginPercent, Marker, Cluster, MarkerSet, ModelSelectorState, ModelState, GeometricModelState, GeometricModel2dState, GeometricModel3dState, SheetModelState, SpatialModelState, PhysicalModelState, SpatialLocationModelState, DrawingModelState, SectionDrawingModelState, NativeApp, Storage, NativeAppLogger, NullTarget, NullRenderSystem, NoRenderApp, OutputMessageType, OutputMessagePriority, OutputMessageAlert, ActivityMessageEndReason, MessageBoxType, MessageBoxIconType, MessageBoxValue, NotifyMessageDetails, ActivityMessageDetails, NotificationManager, PerModelCategoryVisibility, PlanarClipMaskState, QuantityType, AlternateUnitLabelsRegistry, getQuantityTypeKey, isCheckboxFormatPropEditorSpec, isTextInputFormatPropEditorSpec, isTextSelectFormatPropEditorSpec, isCustomQuantityTypeDefinition, QuantityFormatter, BaseUnitFormattingSettingsProvider, LocalUnitFormatProvider, formatAnimationBranchId, RenderScheduleState, CheckpointConnection, SelectionSetEventType, HiliteSet, SelectionSet, SheetViewState, SpatialViewState, OrthographicViewState, Sprite, IconSprites, SpriteLocation, StandardViewId, StandardView, SubCategoriesCache, TentativePoint, Tiles, TwoWayViewportSync, TwoWayViewportFrustumSync, RenderContext, DynamicsContext, DecorateContext, SceneContext, ViewGlobalLocationConstants, metersToRange, queryTerrainElevationOffset, areaToEyeHeight, areaToEyeHeightFromGcs, rangeToCartographicArea, eyeToCartographicOnGlobe, eyeToCartographicOnGlobeFromGcs, viewGlobalLocation, ViewingSpace, ViewManager, DepthPointSource, ViewUndoEvent, ELEMENT_MARKED_FOR_REMOVAL, Viewport, ScreenViewport, OffScreenViewport, ViewPose, ViewPose3d, ViewPose2d, ViewRect, ViewState, ViewState3d, ViewState2d, ViewStatus, AngleDescription, FormattedQuantityDescription, LengthDescription, SurveyLengthDescription, EngineeringLengthDescription, Decorations, FeatureSymbology, FrameStatsCollector, AnimationNodeId, GraphicBranch, GraphicType, GraphicBuilder, MockRender, ParticleCollectionBuilder, Pixel, RenderClipVolume, RenderGraphic, RenderGraphicOwner, RenderMemory, createEmptyRenderPlan, createRenderPlanFromViewport, RenderPlanarClassifier, PrimitiveVisibility, RenderTarget, RenderTextureDrape, RenderDiagnostics, RenderRealityMeshGeometry, TerrainTexture, DebugShaderFile, PlanarGridTransparency, RenderSystem, TextureTransparency, Scene, UniformType, VaryingType, queryVisibleFeatures, PerformanceMetrics, Target, OnScreenTarget, OffScreenTarget, IModelFrameLifecycle, AccuDrawShortcuts, AccuDrawSetOriginTool, AccuDrawSetLockSmartTool, AccuDrawSetLockXTool, AccuDrawSetLockYTool, AccuDrawSetLockZTool, AccuDrawSetLockDistanceTool, AccuDrawSetLockAngleTool, AccuDrawChangeModeTool, AccuDrawRotateCycleTool, AccuDrawRotateTopTool, AccuDrawRotateFrontTool, AccuDrawRotateSideTool, AccuDrawRotateViewTool, AccuDrawRotateAxesTool, AccuDrawRotateElementTool, DefineACSByElementTool, DefineACSByPointsTool, createDefaultViewFlagOverrides, MapCartoRectangle, QuadId, DisclosedTileTreeSet, addRangeGraphic, Tile, TileLoadStatus, TileVisibility, TileLoadPriority, TileBoundingBoxes, ViewportIdSet, ViewportIdSets, LRUTileList, RealityTile, TileDrawArgs, RealityTileDrawArgs, GraphicsCollectorDrawArgs, BatchedTileIdMap, TileTreeLoadStatus, TileTree, TraversalDetails, TraversalChildrenDetails, TraversalSelectionContext, RealityTileTree, TileGraphicType, TileTreeReference, TiledGraphicsProvider, TileAdmin, overrideRequestTileTreeProps, TileRequest, TileRequestChannelStatistics, TileRequestChannel, IModelTileRequestChannels, TileRequestChannels, TileUsageMarker, GltfDataType, GltfBufferData, GltfReaderProps, GltfMeshData, GltfReader, readGltfGraphics, I3dmReader, B3dmReader, readElementGraphics, ImdlReader, ArcGISTileMap, ArcGisTokenClientType, ArcGisTokenGenerator, ArcGisTokenManager, MapLayerFormat, MapLayerFormatRegistry, ArcGisErrorCode, ArcGisUtilities, WmsUtilities, WmsCapability, WmsCapabilities, WmtsCapability, WmtsCapabilities, MapLayerImageryProviderStatus, MapLayerImageryProvider, ArcGISMapLayerImageryProvider, AzureMapsLayerImageryProvider, BingMapsImageryLayerProvider, MapBoxLayerImageryProvider, TileUrlImageryProvider, WmsMapLayerImageryProvider, WmtsMapLayerImageryProvider, ImageryMapLayerFormat, internalMapLayerImageryFormats, MapLayerTileTreeReference, MapTileTree, MapTileTreeReference, getGcsConverterAvailable, TerrainMeshProvider, getCesiumAssetUrl, getCesiumOSMBuildingsUrl, getCesiumAccessTokenAndEndpointUrl, getCesiumTerrainProvider, EllipsoidTerrainProvider, PlanarTilePatch, MapTileProjection, MapTile, UpsampledMapTile, RealityTileLoader, MapTileLoader, BingElevationProvider, MapTilingScheme, GeographicTilingScheme, WebMercatorProjection, WebMercatorTilingScheme, TileAvailability, readPointCloudTileContent, createRealityTileTreeReference, RealityTileRegion, RealityModelTileUtils, RealityModelTileTree, iModelTileParamsFromJSON, SelectParent, IModelTile, DynamicIModelTile, iModelTileTreeParamsFromJSON, IModelTileTree, disposeTileTreesForGeometricModels, AnimatedTreeReference, createPrimaryTileTreeReference, createMaskTreeReference, SpatialTileTreeReferences, SpatialClassifierTileTreeReference, createClassifierTileTreeReference, createOrbitGtTileTreeReference, OrbitGtTileTree, ImageryMapTile, ImageryMapTileTree, ImageryMapLayerTreeReference, MapLayerSourceStatus, MapLayerSource, MapLayerSources, MapTiledGraphicsProvider, CesiumIonAssetProvider, ContextShareProvider, ViewClipTool, ViewClipClearTool, ViewClipByPlaneTool, ViewClipByShapeTool, ViewClipByRangeTool, ViewClipByElementTool, ViewClipModifyTool, ViewClipShapeModifyTool, ViewClipPlanesModifyTool, ViewClipControlArrow, ViewClipDecoration, ClipEventType, ViewClipDecorationProvider, EditManipulator, ModifyElementSource, ElementAgenda, ElementSetTool, EventController, IdleTool, MeasureDistanceTool, MeasureLocationTool, MeasureAreaByPointsTool, MeasureElementTool, MeasureLengthTool, MeasureAreaTool, MeasureVolumeTool, PrimitiveTool, SelectionMethod, SelectionMode, SelectionProcessing, SelectionTool, BeButton, CoordinateLockOverrides, InputSource, CoordSource, BeModifierKeys, BeButtonState, BeButtonEvent, BeTouchEvent, BeWheelEvent, Tool, EventHandled, InteractiveTool, InputCollector, ParseAndRunResult, KeyinParseError, ToolRegistry, CoreTools, ToolSettings, StartOrResume, ManipulatorToolEvent, ToolSettingsState, ToolState, SuspendedToolState, CurrentInputState, ToolAdmin, WheelEventProcessor, ToolAssistanceImage, ToolAssistanceInputMethod, ToolAssistance, ViewHandleType, ViewTool, ViewingToolHandle, ViewHandleArray, ViewManip, PanViewTool, RotateViewTool, LookViewTool, ScrollViewTool, ZoomViewTool, LookAndMoveTool, WalkViewTool, FlyViewTool, FitViewTool, ViewGlobeSatelliteTool, ViewGlobeBirdTool, ViewGlobeLocationTool, ViewGlobeIModelTool, StandardViewTool, WindowAreaTool, DefaultViewTouchTool, ViewUndoTool, ViewRedoTool, ViewToggleCameraTool, SetupCameraTool, SetupWalkCameraTool, getFrustumPlaneIntersectionDepthRange, BackgroundMapGeometry, calculateEcefToDbTransformAtLocation, ViewCreator2d, ViewCreator3d, LocalhostIpcApp, RealityDataSource */
|
|
126231
|
+
/*! exports provided: AccuDrawFlags, CompassMode, RotationMode, LockedStates, CurrentState, ContextMode, ItemField, KeyinStatus, AccudrawData, Flags, RoundOff, SavedState, ThreeAxes, AccuDraw, ContextRotationId, AccuDrawHintBuilder, TouchCursor, AccuSnap, TentativeOrAccuSnap, ACSType, ACSDisplayOptions, AuxCoordSystemState, AuxCoordSystem2dState, AuxCoordSystem3dState, AuxCoordSystemSpatialState, BingLocationProvider, BriefcaseConnection, BriefcaseNotificationHandler, BriefcaseTxns, CategorySelectorState, ChangeFlag, ChangeFlags, MutableChangeFlags, ContextRealityModelState, CoordSystem, DecorationsCache, DevTools, TerrainDisplayOverrides, DisplayStyleState, DisplayStyle2dState, DisplayStyle3dState, DrawingViewState, LocateAction, LocateFilterStatus, SnapStatus, LocateOptions, LocateResponse, ElementPicker, ElementLocateManager, EmphasizeElements, EntityState, ElementState, EnvironmentDecorations, FlashMode, FlashSettings, FrontendLoggerCategory, Frustum2d, FrustumAnimator, FuzzySearch, FuzzySearchResults, GeoConverter, GeoServices, GlobeAnimator, SnapMode, SnapHeat, HitSource, HitGeomType, HitParentGeomType, HitPriority, HitDetailType, HitDetail, SnapDetail, IntersectDetail, HitList, canvasToResizedCanvasWithBars, imageBufferToCanvas, canvasToImageBuffer, getImageSourceMimeType, getImageSourceFormatForMimeType, imageElementFromImageSource, imageElementFromUrl, tryImageElementFromUrl, extractImageSourceDimensions, imageBufferToPngDataUrl, imageBufferToBase64EncodedPng, openImageDataUrlInNewWindow, getCenteredViewRect, getCompressedJpegFromCanvas, IModelApp, IModelConnection, BlankConnection, SnapshotConnection, IModelRoutingContext, GraphicalEditingScope, IpcApp, NotificationHandler, linePlaneIntersect, MarginPercent, Marker, Cluster, MarkerSet, ModelSelectorState, ModelState, GeometricModelState, GeometricModel2dState, GeometricModel3dState, SheetModelState, SpatialModelState, PhysicalModelState, SpatialLocationModelState, DrawingModelState, SectionDrawingModelState, NativeApp, Storage, NativeAppLogger, NullTarget, NullRenderSystem, NoRenderApp, OutputMessageType, OutputMessagePriority, OutputMessageAlert, ActivityMessageEndReason, MessageBoxType, MessageBoxIconType, MessageBoxValue, NotifyMessageDetails, ActivityMessageDetails, NotificationManager, PerModelCategoryVisibility, PlanarClipMaskState, QuantityType, AlternateUnitLabelsRegistry, getQuantityTypeKey, isCheckboxFormatPropEditorSpec, isTextInputFormatPropEditorSpec, isTextSelectFormatPropEditorSpec, isCustomQuantityTypeDefinition, QuantityFormatter, BaseUnitFormattingSettingsProvider, LocalUnitFormatProvider, formatAnimationBranchId, RenderScheduleState, CheckpointConnection, SelectionSetEventType, HiliteSet, SelectionSet, SheetViewState, SpatialViewState, OrthographicViewState, Sprite, IconSprites, SpriteLocation, StandardViewId, StandardView, SubCategoriesCache, TentativePoint, Tiles, TwoWayViewportSync, TwoWayViewportFrustumSync, RenderContext, DynamicsContext, DecorateContext, SceneContext, ViewGlobalLocationConstants, metersToRange, queryTerrainElevationOffset, areaToEyeHeight, areaToEyeHeightFromGcs, rangeToCartographicArea, eyeToCartographicOnGlobe, eyeToCartographicOnGlobeFromGcs, viewGlobalLocation, ViewingSpace, ViewManager, DepthPointSource, ViewUndoEvent, ELEMENT_MARKED_FOR_REMOVAL, Viewport, ScreenViewport, OffScreenViewport, ViewPose, ViewPose3d, ViewPose2d, ViewRect, ViewState, ViewState3d, ViewState2d, ViewStatus, AngleDescription, FormattedQuantityDescription, LengthDescription, SurveyLengthDescription, EngineeringLengthDescription, Decorations, FeatureSymbology, FrameStatsCollector, AnimationNodeId, GraphicBranch, GraphicType, GraphicBuilder, MockRender, ParticleCollectionBuilder, Pixel, RenderClipVolume, RenderGraphic, RenderGraphicOwner, RenderMemory, createEmptyRenderPlan, createRenderPlanFromViewport, RenderPlanarClassifier, PrimitiveVisibility, RenderTarget, RenderTextureDrape, RenderDiagnostics, RenderRealityMeshGeometry, TerrainTexture, DebugShaderFile, PlanarGridTransparency, RenderSystem, TextureTransparency, Scene, UniformType, VaryingType, queryVisibleFeatures, PerformanceMetrics, Target, OnScreenTarget, OffScreenTarget, IModelFrameLifecycle, AccuDrawShortcuts, AccuDrawSetOriginTool, AccuDrawSetLockSmartTool, AccuDrawSetLockXTool, AccuDrawSetLockYTool, AccuDrawSetLockZTool, AccuDrawSetLockDistanceTool, AccuDrawSetLockAngleTool, AccuDrawChangeModeTool, AccuDrawRotateCycleTool, AccuDrawRotateTopTool, AccuDrawRotateFrontTool, AccuDrawRotateSideTool, AccuDrawRotateViewTool, AccuDrawRotateAxesTool, AccuDrawRotateElementTool, DefineACSByElementTool, DefineACSByPointsTool, createDefaultViewFlagOverrides, MapCartoRectangle, QuadId, DisclosedTileTreeSet, addRangeGraphic, Tile, TileLoadStatus, TileVisibility, TileLoadPriority, TileBoundingBoxes, ViewportIdSet, ViewportIdSets, LRUTileList, RealityTile, TileDrawArgs, RealityTileDrawArgs, GraphicsCollectorDrawArgs, BatchedTileIdMap, TileTreeLoadStatus, TileTree, TraversalDetails, TraversalChildrenDetails, TraversalSelectionContext, RealityTileTree, TileGraphicType, TileTreeReference, TiledGraphicsProvider, TileAdmin, overrideRequestTileTreeProps, TileRequest, TileRequestChannelStatistics, TileRequestChannel, IModelTileRequestChannels, TileRequestChannels, TileUsageMarker, GltfDataType, GltfBufferData, GltfReaderProps, GltfMeshData, GltfReader, readGltfGraphics, GltfGraphicsReader, I3dmReader, B3dmReader, GltfHeader, readElementGraphics, ImdlReader, ArcGISTileMap, ArcGisTokenClientType, ArcGisTokenGenerator, ArcGisTokenManager, MapLayerFormat, MapLayerFormatRegistry, ArcGisErrorCode, ArcGisUtilities, WmsUtilities, WmsCapability, WmsCapabilities, WmtsCapability, WmtsCapabilities, MapLayerImageryProviderStatus, MapLayerImageryProvider, ArcGISMapLayerImageryProvider, AzureMapsLayerImageryProvider, BingMapsImageryLayerProvider, MapBoxLayerImageryProvider, TileUrlImageryProvider, WmsMapLayerImageryProvider, WmtsMapLayerImageryProvider, ImageryMapLayerFormat, internalMapLayerImageryFormats, MapLayerTileTreeReference, MapTileTree, MapTileTreeReference, getGcsConverterAvailable, TerrainMeshProvider, getCesiumAssetUrl, getCesiumOSMBuildingsUrl, getCesiumAccessTokenAndEndpointUrl, getCesiumTerrainProvider, EllipsoidTerrainProvider, PlanarTilePatch, MapTileProjection, MapTile, UpsampledMapTile, RealityTileLoader, MapTileLoader, BingElevationProvider, MapTilingScheme, GeographicTilingScheme, WebMercatorProjection, WebMercatorTilingScheme, TileAvailability, readPointCloudTileContent, createRealityTileTreeReference, RealityTileRegion, RealityModelTileUtils, RealityModelTileTree, iModelTileParamsFromJSON, SelectParent, IModelTile, DynamicIModelTile, iModelTileTreeParamsFromJSON, IModelTileTree, disposeTileTreesForGeometricModels, AnimatedTreeReference, createPrimaryTileTreeReference, createMaskTreeReference, SpatialTileTreeReferences, SpatialClassifierTileTreeReference, createClassifierTileTreeReference, createOrbitGtTileTreeReference, OrbitGtTileTree, ImageryMapTile, ImageryMapTileTree, ImageryMapLayerTreeReference, MapLayerSourceStatus, MapLayerSource, MapLayerSources, MapTiledGraphicsProvider, CesiumIonAssetProvider, ContextShareProvider, ViewClipTool, ViewClipClearTool, ViewClipByPlaneTool, ViewClipByShapeTool, ViewClipByRangeTool, ViewClipByElementTool, ViewClipModifyTool, ViewClipShapeModifyTool, ViewClipPlanesModifyTool, ViewClipControlArrow, ViewClipDecoration, ClipEventType, ViewClipDecorationProvider, EditManipulator, ModifyElementSource, ElementAgenda, ElementSetTool, EventController, IdleTool, MeasureDistanceTool, MeasureLocationTool, MeasureAreaByPointsTool, MeasureElementTool, MeasureLengthTool, MeasureAreaTool, MeasureVolumeTool, PrimitiveTool, SelectionMethod, SelectionMode, SelectionProcessing, SelectionTool, BeButton, CoordinateLockOverrides, InputSource, CoordSource, BeModifierKeys, BeButtonState, BeButtonEvent, BeTouchEvent, BeWheelEvent, Tool, EventHandled, InteractiveTool, InputCollector, ParseAndRunResult, KeyinParseError, ToolRegistry, CoreTools, ToolSettings, StartOrResume, ManipulatorToolEvent, ToolSettingsState, ToolState, SuspendedToolState, CurrentInputState, ToolAdmin, WheelEventProcessor, ToolAssistanceImage, ToolAssistanceInputMethod, ToolAssistance, ViewHandleType, ViewTool, ViewingToolHandle, ViewHandleArray, ViewManip, PanViewTool, RotateViewTool, LookViewTool, ScrollViewTool, ZoomViewTool, LookAndMoveTool, WalkViewTool, FlyViewTool, FitViewTool, ViewGlobeSatelliteTool, ViewGlobeBirdTool, ViewGlobeLocationTool, ViewGlobeIModelTool, StandardViewTool, WindowAreaTool, DefaultViewTouchTool, ViewUndoTool, ViewRedoTool, ViewToggleCameraTool, SetupCameraTool, SetupWalkCameraTool, getFrustumPlaneIntersectionDepthRange, BackgroundMapGeometry, calculateEcefToDbTransformAtLocation, ViewCreator2d, ViewCreator3d, LocalhostIpcApp, RealityDataSource */
|
|
126119
126232
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
126120
126233
|
|
|
126121
126234
|
"use strict";
|
|
@@ -126796,10 +126909,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
126796
126909
|
|
|
126797
126910
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "readGltfGraphics", function() { return _tile_internal__WEBPACK_IMPORTED_MODULE_99__["readGltfGraphics"]; });
|
|
126798
126911
|
|
|
126912
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfGraphicsReader", function() { return _tile_internal__WEBPACK_IMPORTED_MODULE_99__["GltfGraphicsReader"]; });
|
|
126913
|
+
|
|
126799
126914
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "I3dmReader", function() { return _tile_internal__WEBPACK_IMPORTED_MODULE_99__["I3dmReader"]; });
|
|
126800
126915
|
|
|
126801
126916
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "B3dmReader", function() { return _tile_internal__WEBPACK_IMPORTED_MODULE_99__["B3dmReader"]; });
|
|
126802
126917
|
|
|
126918
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfHeader", function() { return _tile_internal__WEBPACK_IMPORTED_MODULE_99__["GltfHeader"]; });
|
|
126919
|
+
|
|
126803
126920
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "readElementGraphics", function() { return _tile_internal__WEBPACK_IMPORTED_MODULE_99__["readElementGraphics"]; });
|
|
126804
126921
|
|
|
126805
126922
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ImdlReader", function() { return _tile_internal__WEBPACK_IMPORTED_MODULE_99__["ImdlReader"]; });
|
|
@@ -130732,6 +130849,7 @@ class PlanarGridTransparency {
|
|
|
130732
130849
|
/** A RenderSystem provides access to resources used by the internal WebGL-based rendering system.
|
|
130733
130850
|
* An application rarely interacts directly with the RenderSystem; instead it interacts with types like [[Viewport]] which
|
|
130734
130851
|
* coordinate with the RenderSystem on the application's behalf.
|
|
130852
|
+
* @see [Display system overview]($docs/learning/display/index.md)
|
|
130735
130853
|
* @see [[IModelApp.renderSystem]].
|
|
130736
130854
|
* @public
|
|
130737
130855
|
*/
|
|
@@ -161531,7 +161649,7 @@ class B3dmReader extends _internal__WEBPACK_IMPORTED_MODULE_3__["GltfReader"] {
|
|
|
161531
161649
|
}
|
|
161532
161650
|
if (undefined !== returnToCenterTransform)
|
|
161533
161651
|
transformToRoot = transformToRoot ? transformToRoot.multiplyTransformTransform(returnToCenterTransform) : returnToCenterTransform;
|
|
161534
|
-
const props = _internal__WEBPACK_IMPORTED_MODULE_3__["GltfReaderProps"].create(stream, yAxisUp);
|
|
161652
|
+
const props = _internal__WEBPACK_IMPORTED_MODULE_3__["GltfReaderProps"].create(stream.nextBytes(header.length - stream.curPos), yAxisUp);
|
|
161535
161653
|
const batchTableLength = header.featureTableJson ? _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asInt(header.featureTableJson.BATCH_LENGTH, 0) : 0;
|
|
161536
161654
|
return undefined !== props ? new B3dmReader(props, iModel, modelId, is3d, system, range, isLeaf, batchTableLength, transformToRoot, header.batchTableJson, isCanceled, idMap, pseudoRtcBias, deduplicateVertices) : undefined;
|
|
161537
161655
|
}
|
|
@@ -161605,7 +161723,7 @@ class B3dmReader extends _internal__WEBPACK_IMPORTED_MODULE_3__["GltfReader"] {
|
|
|
161605
161723
|
const feature = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["Feature"](this._modelId);
|
|
161606
161724
|
featureTable.insert(feature);
|
|
161607
161725
|
}
|
|
161608
|
-
await this.
|
|
161726
|
+
await this.resolveResources();
|
|
161609
161727
|
if (this._isCanceled)
|
|
161610
161728
|
return { readStatus: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["TileReadStatus"].Canceled, isLeaf: this._isLeaf };
|
|
161611
161729
|
return this.readGltfAndCreateGraphics(this._isLeaf, featureTable, this._range, this._transformToRoot, this._pseudoRtcBias);
|
|
@@ -162398,7 +162516,7 @@ class GraphicsTile extends _internal__WEBPACK_IMPORTED_MODULE_4__["Tile"] {
|
|
|
162398
162516
|
if (undefined === isCanceled)
|
|
162399
162517
|
isCanceled = () => !this.isLoading;
|
|
162400
162518
|
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(data instanceof Uint8Array);
|
|
162401
|
-
const stream =
|
|
162519
|
+
const stream = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["ByteStream"].fromUint8Array(data);
|
|
162402
162520
|
const position = stream.curPos;
|
|
162403
162521
|
const format = stream.nextUint32;
|
|
162404
162522
|
stream.curPos = position;
|
|
@@ -162433,7 +162551,7 @@ class GraphicsTile extends _internal__WEBPACK_IMPORTED_MODULE_4__["Tile"] {
|
|
|
162433
162551
|
/*!****************************************************************!*\
|
|
162434
162552
|
!*** D:/vsts_a/460/s/core/frontend/lib/esm/tile/GltfReader.js ***!
|
|
162435
162553
|
\****************************************************************/
|
|
162436
|
-
/*! exports provided: GltfDataType, GltfBufferData, GltfReaderProps, GltfMeshData, GltfReader, readGltfGraphics */
|
|
162554
|
+
/*! exports provided: GltfDataType, GltfBufferData, GltfReaderProps, GltfMeshData, GltfReader, readGltfGraphics, GltfGraphicsReader */
|
|
162437
162555
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
162438
162556
|
|
|
162439
162557
|
"use strict";
|
|
@@ -162444,6 +162562,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
162444
162562
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GltfMeshData", function() { return GltfMeshData; });
|
|
162445
162563
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GltfReader", function() { return GltfReader; });
|
|
162446
162564
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "readGltfGraphics", function() { return readGltfGraphics; });
|
|
162565
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GltfGraphicsReader", function() { return GltfGraphicsReader; });
|
|
162447
162566
|
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
162448
162567
|
/* harmony import */ var _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @itwin/core-geometry */ "../../core/geometry/lib/esm/core-geometry.js");
|
|
162449
162568
|
/* harmony import */ var _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
|
|
@@ -162535,6 +162654,19 @@ var GltfBufferTarget;
|
|
|
162535
162654
|
GltfBufferTarget[GltfBufferTarget["ArrayBuffer"] = 34962] = "ArrayBuffer";
|
|
162536
162655
|
GltfBufferTarget[GltfBufferTarget["ElementArrayBuffer"] = 24963] = "ElementArrayBuffer";
|
|
162537
162656
|
})(GltfBufferTarget || (GltfBufferTarget = {}));
|
|
162657
|
+
function* dictionaryIterator(dict) {
|
|
162658
|
+
if (Array.isArray(dict)) {
|
|
162659
|
+
for (const elem of dict)
|
|
162660
|
+
yield elem;
|
|
162661
|
+
}
|
|
162662
|
+
else {
|
|
162663
|
+
for (const key of Object.keys(dict)) {
|
|
162664
|
+
const value = dict[key];
|
|
162665
|
+
if (undefined !== value)
|
|
162666
|
+
yield value;
|
|
162667
|
+
}
|
|
162668
|
+
}
|
|
162669
|
+
}
|
|
162538
162670
|
function getNodeMeshIds(node) {
|
|
162539
162671
|
if (undefined !== node.meshes)
|
|
162540
162672
|
return typeof node.meshes === "string" ? [node.meshes] : node.meshes;
|
|
@@ -162625,50 +162757,80 @@ class GltfBufferView {
|
|
|
162625
162757
|
* @internal
|
|
162626
162758
|
*/
|
|
162627
162759
|
class GltfReaderProps {
|
|
162628
|
-
constructor(
|
|
162629
|
-
this.
|
|
162760
|
+
constructor(glTF, version, yAxisUp, binaryData, baseUrl) {
|
|
162761
|
+
this.version = version;
|
|
162630
162762
|
this.glTF = glTF;
|
|
162763
|
+
this.binaryData = binaryData;
|
|
162631
162764
|
this.yAxisUp = yAxisUp;
|
|
162765
|
+
this.baseUrl = baseUrl;
|
|
162632
162766
|
}
|
|
162633
162767
|
/** Attempt to construct a new GltfReaderProps from the binary data beginning at the supplied stream's current read position. */
|
|
162634
|
-
static create(
|
|
162635
|
-
|
|
162636
|
-
|
|
162637
|
-
|
|
162638
|
-
|
|
162639
|
-
|
|
162640
|
-
|
|
162641
|
-
|
|
162642
|
-
|
|
162643
|
-
|
|
162644
|
-
|
|
162645
|
-
|
|
162646
|
-
|
|
162647
|
-
|
|
162648
|
-
|
|
162649
|
-
|
|
162650
|
-
|
|
162651
|
-
|
|
162652
|
-
|
|
162653
|
-
|
|
162654
|
-
|
|
162655
|
-
|
|
162656
|
-
|
|
162657
|
-
|
|
162658
|
-
|
|
162659
|
-
|
|
162660
|
-
|
|
162661
|
-
|
|
162662
|
-
|
|
162663
|
-
|
|
162664
|
-
|
|
162665
|
-
|
|
162666
|
-
|
|
162667
|
-
|
|
162768
|
+
static create(source, yAxisUp = false, baseUrl) {
|
|
162769
|
+
let version;
|
|
162770
|
+
let json;
|
|
162771
|
+
let binaryData;
|
|
162772
|
+
if (source instanceof Uint8Array) {
|
|
162773
|
+
// It may be JSON - check for magic indicating glb.
|
|
162774
|
+
const buffer = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["ByteStream"].fromUint8Array(source);
|
|
162775
|
+
if (_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["TileFormat"].Gltf !== buffer.nextUint32) {
|
|
162776
|
+
try {
|
|
162777
|
+
const utf8Json = Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["utf8ToString"])(source);
|
|
162778
|
+
if (!utf8Json)
|
|
162779
|
+
return undefined;
|
|
162780
|
+
json = JSON.parse(utf8Json);
|
|
162781
|
+
version = 2;
|
|
162782
|
+
}
|
|
162783
|
+
catch (_) {
|
|
162784
|
+
return undefined;
|
|
162785
|
+
}
|
|
162786
|
+
}
|
|
162787
|
+
else {
|
|
162788
|
+
buffer.reset();
|
|
162789
|
+
const header = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["GlbHeader"](buffer);
|
|
162790
|
+
if (!header.isValid)
|
|
162791
|
+
return undefined;
|
|
162792
|
+
version = header.version;
|
|
162793
|
+
if (header.binaryChunk)
|
|
162794
|
+
binaryData = new Uint8Array(source.buffer, source.byteOffset + header.binaryChunk.offset, header.binaryChunk.length);
|
|
162795
|
+
try {
|
|
162796
|
+
const jsonBytes = new Uint8Array(source.buffer, source.byteOffset + header.jsonChunk.offset, header.jsonChunk.length);
|
|
162797
|
+
const jsonStr = Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["utf8ToString"])(jsonBytes);
|
|
162798
|
+
if (undefined === jsonStr)
|
|
162799
|
+
return undefined;
|
|
162800
|
+
json = JSON.parse(jsonStr);
|
|
162801
|
+
}
|
|
162802
|
+
catch (_) {
|
|
162803
|
+
return undefined;
|
|
162804
|
+
}
|
|
162805
|
+
}
|
|
162668
162806
|
}
|
|
162669
|
-
|
|
162670
|
-
|
|
162807
|
+
else {
|
|
162808
|
+
version = 2; // ###TODO verify against source.asset?.version
|
|
162809
|
+
json = source;
|
|
162671
162810
|
}
|
|
162811
|
+
// asset is required in glTF 2, optional in glTF 1
|
|
162812
|
+
const asset = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.asset);
|
|
162813
|
+
if (version === 2 && !asset)
|
|
162814
|
+
return undefined;
|
|
162815
|
+
const glTF = {
|
|
162816
|
+
asset,
|
|
162817
|
+
scene: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asString(json.scene),
|
|
162818
|
+
extensions: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.extensions),
|
|
162819
|
+
extensionsUsed: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asArray(json.extensionsUsed),
|
|
162820
|
+
extensionsRequired: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asArray(json.extensionsRequired),
|
|
162821
|
+
accessors: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.accessors),
|
|
162822
|
+
buffers: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.buffers),
|
|
162823
|
+
bufferViews: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.bufferViews),
|
|
162824
|
+
images: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.images),
|
|
162825
|
+
materials: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.materials),
|
|
162826
|
+
meshes: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.meshes),
|
|
162827
|
+
nodes: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.nodes),
|
|
162828
|
+
samplers: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.samplers),
|
|
162829
|
+
scenes: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.scenes),
|
|
162830
|
+
textures: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.textures),
|
|
162831
|
+
techniques: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.techniques),
|
|
162832
|
+
};
|
|
162833
|
+
return glTF.meshes ? new GltfReaderProps(glTF, version, yAxisUp, binaryData, baseUrl) : undefined;
|
|
162672
162834
|
}
|
|
162673
162835
|
}
|
|
162674
162836
|
/** The GltfMeshData contains the raw GLTF mesh data. If the data is suitable to create a [[RealityMesh]] directly, basically in the quantized format produced by
|
|
@@ -162750,15 +162912,30 @@ class TransformStack {
|
|
|
162750
162912
|
this._stack.pop();
|
|
162751
162913
|
}
|
|
162752
162914
|
}
|
|
162915
|
+
function* traverseNodes(ids, nodes, traversed) {
|
|
162916
|
+
for (const id of ids) {
|
|
162917
|
+
if (traversed.has(id))
|
|
162918
|
+
throw new Error("Cycle detected while traversing glTF nodes");
|
|
162919
|
+
const node = nodes[id];
|
|
162920
|
+
if (!node)
|
|
162921
|
+
continue;
|
|
162922
|
+
traversed.add(id);
|
|
162923
|
+
yield node;
|
|
162924
|
+
if (node.children)
|
|
162925
|
+
for (const child of traverseNodes(node.children, nodes, traversed))
|
|
162926
|
+
yield child;
|
|
162927
|
+
}
|
|
162928
|
+
}
|
|
162753
162929
|
/** Deserializes [glTF](https://www.khronos.org/gltf/).
|
|
162754
162930
|
* @internal
|
|
162755
162931
|
*/
|
|
162756
162932
|
class GltfReader {
|
|
162757
162933
|
constructor(args) {
|
|
162758
162934
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
162759
|
-
this._binaryData = args.props.binaryData;
|
|
162760
162935
|
this._glTF = args.props.glTF;
|
|
162936
|
+
this._version = args.props.version;
|
|
162761
162937
|
this._yAxisUp = args.props.yAxisUp;
|
|
162938
|
+
this._baseUrl = args.props.baseUrl;
|
|
162762
162939
|
const rtcCenter = (_b = (_a = args.props.glTF.extensions) === null || _a === void 0 ? void 0 : _a.CESIUM_RTC) === null || _b === void 0 ? void 0 : _b.center;
|
|
162763
162940
|
if (rtcCenter && 3 === rtcCenter.length)
|
|
162764
162941
|
if (0 !== rtcCenter[0] || 0 !== rtcCenter[1] || 0 !== rtcCenter[2])
|
|
@@ -162770,6 +162947,12 @@ class GltfReader {
|
|
|
162770
162947
|
this._canceled = args.shouldAbort;
|
|
162771
162948
|
this._deduplicateVertices = (_e = args.deduplicateVertices) !== null && _e !== void 0 ? _e : false;
|
|
162772
162949
|
this._vertexTableRequired = (_f = args.vertexTableRequired) !== null && _f !== void 0 ? _f : false;
|
|
162950
|
+
const binaryData = args.props.binaryData;
|
|
162951
|
+
if (binaryData) {
|
|
162952
|
+
const buffer = this._buffers[this._version === 2 ? 0 : "binary_glTF"];
|
|
162953
|
+
if (buffer && undefined === buffer.uri)
|
|
162954
|
+
buffer.resolvedBuffer = binaryData;
|
|
162955
|
+
}
|
|
162773
162956
|
// The original implementation of GltfReader would process and produce graphics for every node in glTF.nodes.
|
|
162774
162957
|
// What it's *supposed* to do is process the nodes in glTF.scenes[glTF.scene].nodes
|
|
162775
162958
|
// Some nodes may not be referenced by the configured scene, or only indirectly via GltfNode.children.
|
|
@@ -162785,9 +162968,26 @@ class GltfReader {
|
|
|
162785
162968
|
get _meshes() { var _a; return (_a = this._glTF.meshes) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
162786
162969
|
get _accessors() { var _a; return (_a = this._glTF.accessors) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
162787
162970
|
get _bufferViews() { var _a; return (_a = this._glTF.bufferViews) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
162788
|
-
get
|
|
162971
|
+
get _materials() { var _a; return (_a = this._glTF.materials) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
162972
|
+
get _samplers() { var _a; return (_a = this._glTF.samplers) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
162973
|
+
get _textures() { var _a; return (_a = this._glTF.textures) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
162974
|
+
get _images() { var _a; return (_a = this._glTF.images) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
162975
|
+
get _buffers() { var _a; return (_a = this._glTF.buffers) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
162789
162976
|
get _isCanceled() { return undefined !== this._canceled && this._canceled(this); }
|
|
162790
162977
|
get _isVolumeClassifier() { return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["BatchType"].VolumeClassifier === this._type; }
|
|
162978
|
+
/** Traverse the nodes specified by their Ids, recursing into their child nodes.
|
|
162979
|
+
* @param nodeIds The Ids of the nodes to traverse.
|
|
162980
|
+
* @throws Error if a node appears more than once during traversal
|
|
162981
|
+
*/
|
|
162982
|
+
traverseNodes(nodeIds) {
|
|
162983
|
+
return traverseNodes(nodeIds, this._nodes, new Set());
|
|
162984
|
+
}
|
|
162985
|
+
/** Traverse the nodes specified by their scene, recursing into their child nodes.
|
|
162986
|
+
* @throws Error if a node appears more than once during traversal
|
|
162987
|
+
*/
|
|
162988
|
+
traverseScene() {
|
|
162989
|
+
return this.traverseNodes(this._sceneNodes);
|
|
162990
|
+
}
|
|
162791
162991
|
readGltfAndCreateGraphics(isLeaf, featureTable, contentRange, transformToRoot, pseudoRtcBias, instances) {
|
|
162792
162992
|
var _a;
|
|
162793
162993
|
if (this._isCanceled)
|
|
@@ -162942,10 +163142,16 @@ class GltfReader {
|
|
|
162942
163142
|
getBufferView(json, accessorName) {
|
|
162943
163143
|
try {
|
|
162944
163144
|
const accessorValue = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asString(json[accessorName]);
|
|
162945
|
-
const accessor =
|
|
162946
|
-
|
|
162947
|
-
|
|
162948
|
-
|
|
163145
|
+
const accessor = accessorValue ? this._accessors[accessorValue] : undefined;
|
|
163146
|
+
if (!accessor)
|
|
163147
|
+
return undefined;
|
|
163148
|
+
const bufferViewAccessorValue = accessor.bufferView;
|
|
163149
|
+
const bufferView = undefined !== bufferViewAccessorValue ? this._bufferViews[bufferViewAccessorValue] : undefined;
|
|
163150
|
+
if (!bufferView || undefined === bufferView.buffer)
|
|
163151
|
+
return undefined;
|
|
163152
|
+
const buffer = this._buffers[bufferView.buffer];
|
|
163153
|
+
const bufferData = buffer === null || buffer === void 0 ? void 0 : buffer.resolvedBuffer;
|
|
163154
|
+
if (!bufferData)
|
|
162949
163155
|
return undefined;
|
|
162950
163156
|
const type = accessor.componentType;
|
|
162951
163157
|
let dataSize = 0;
|
|
@@ -162976,8 +163182,8 @@ class GltfReader {
|
|
|
162976
163182
|
const offset = ((bufferView && bufferView.byteOffset) ? bufferView.byteOffset : 0) + (accessor.byteOffset ? accessor.byteOffset : 0);
|
|
162977
163183
|
const length = byteStride * accessor.count;
|
|
162978
163184
|
// If the data is misaligned (Scalable mesh tile publisher) use slice to copy -- else use subarray.
|
|
162979
|
-
|
|
162980
|
-
const bytes =
|
|
163185
|
+
const aligned = 0 === (bufferData.byteOffset + offset) % dataSize;
|
|
163186
|
+
const bytes = aligned ? bufferData.subarray(offset, offset + length) : bufferData.slice(offset, offset + length);
|
|
162981
163187
|
return new GltfBufferView(bytes, accessor.count, type, accessor, byteStride / dataSize);
|
|
162982
163188
|
}
|
|
162983
163189
|
catch (e) {
|
|
@@ -163036,8 +163242,8 @@ class GltfReader {
|
|
|
163036
163242
|
var _a, _b, _c, _d, _e, _f;
|
|
163037
163243
|
const materialName = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asString(primitive.material);
|
|
163038
163244
|
const hasBakedLighting = undefined === primitive.attributes.NORMAL;
|
|
163039
|
-
const material = 0 < materialName.length ? this.
|
|
163040
|
-
const displayParams = this.createDisplayParams(material, hasBakedLighting);
|
|
163245
|
+
const material = 0 < materialName.length ? this._materials[materialName] : undefined;
|
|
163246
|
+
const displayParams = material ? this.createDisplayParams(material, hasBakedLighting) : undefined;
|
|
163041
163247
|
if (undefined === displayParams)
|
|
163042
163248
|
return undefined;
|
|
163043
163249
|
let primitiveType = -1;
|
|
@@ -163056,7 +163262,6 @@ class GltfReader {
|
|
|
163056
163262
|
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(false);
|
|
163057
163263
|
return undefined;
|
|
163058
163264
|
}
|
|
163059
|
-
const isPlanar = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asBool(primitive.isPlanar);
|
|
163060
163265
|
const isVolumeClassifier = this._isVolumeClassifier;
|
|
163061
163266
|
const meshPrimitive = _render_primitives_mesh_MeshPrimitives__WEBPACK_IMPORTED_MODULE_7__["Mesh"].create({
|
|
163062
163267
|
displayParams,
|
|
@@ -163064,7 +163269,7 @@ class GltfReader {
|
|
|
163064
163269
|
type: primitiveType,
|
|
163065
163270
|
range: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Range3d"].createNull(),
|
|
163066
163271
|
is2d: !this._is3d,
|
|
163067
|
-
isPlanar,
|
|
163272
|
+
isPlanar: false,
|
|
163068
163273
|
hasBakedLighting,
|
|
163069
163274
|
isVolumeClassifier,
|
|
163070
163275
|
});
|
|
@@ -163290,12 +163495,13 @@ class GltfReader {
|
|
|
163290
163495
|
}
|
|
163291
163496
|
readUVParams(mesh, json, accessorName) {
|
|
163292
163497
|
const view = this.getBufferView(json, accessorName);
|
|
163293
|
-
let data;
|
|
163294
163498
|
if (view === undefined)
|
|
163295
163499
|
return false;
|
|
163296
163500
|
switch (view.type) {
|
|
163297
163501
|
case GltfDataType.Float: {
|
|
163298
|
-
data = this.readBufferDataFloat(json, accessorName);
|
|
163502
|
+
const data = this.readBufferDataFloat(json, accessorName);
|
|
163503
|
+
if (!data)
|
|
163504
|
+
return false;
|
|
163299
163505
|
mesh.uvRange = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Range2d"].createNull();
|
|
163300
163506
|
for (let i = 0; i < data.count; i++) {
|
|
163301
163507
|
const index = view.stride * i; // 2 float per param...
|
|
@@ -163370,14 +163576,91 @@ class GltfReader {
|
|
|
163370
163576
|
polylines.push(new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["MeshPolyline"](indices));
|
|
163371
163577
|
return true;
|
|
163372
163578
|
}
|
|
163373
|
-
async
|
|
163579
|
+
async resolveResources() {
|
|
163580
|
+
// ###TODO traverse the scene nodes to find resources referenced by them, instead of resolving everything - some resources may not
|
|
163581
|
+
// be required for the scene.
|
|
163582
|
+
const promises = [];
|
|
163583
|
+
try {
|
|
163584
|
+
for (const buffer of dictionaryIterator(this._buffers))
|
|
163585
|
+
if (!buffer.resolvedBuffer)
|
|
163586
|
+
promises.push(this.resolveBuffer(buffer));
|
|
163587
|
+
await Promise.all(promises);
|
|
163588
|
+
if (this._isCanceled)
|
|
163589
|
+
return;
|
|
163590
|
+
promises.length = 0;
|
|
163591
|
+
for (const image of dictionaryIterator(this._images))
|
|
163592
|
+
if (!image.resolvedImage)
|
|
163593
|
+
promises.push(this.resolveImage(image));
|
|
163594
|
+
await Promise.all(promises);
|
|
163595
|
+
if (this._isCanceled)
|
|
163596
|
+
return;
|
|
163597
|
+
this.resolveTextures();
|
|
163598
|
+
}
|
|
163599
|
+
catch (_) {
|
|
163600
|
+
}
|
|
163601
|
+
}
|
|
163602
|
+
resolveUrl(uri) {
|
|
163603
|
+
try {
|
|
163604
|
+
return new URL(uri, this._baseUrl).toString();
|
|
163605
|
+
}
|
|
163606
|
+
catch (_) {
|
|
163607
|
+
return undefined;
|
|
163608
|
+
}
|
|
163609
|
+
}
|
|
163610
|
+
async resolveBuffer(buffer) {
|
|
163611
|
+
if (buffer.resolvedBuffer || undefined === buffer.uri)
|
|
163612
|
+
return;
|
|
163613
|
+
try {
|
|
163614
|
+
const url = this.resolveUrl(buffer.uri);
|
|
163615
|
+
const response = url ? await fetch(url) : undefined;
|
|
163616
|
+
if (this._isCanceled)
|
|
163617
|
+
return;
|
|
163618
|
+
const data = await (response === null || response === void 0 ? void 0 : response.arrayBuffer());
|
|
163619
|
+
if (this._isCanceled)
|
|
163620
|
+
return;
|
|
163621
|
+
if (data)
|
|
163622
|
+
buffer.resolvedBuffer = new Uint8Array(data);
|
|
163623
|
+
}
|
|
163624
|
+
catch (_) {
|
|
163625
|
+
//
|
|
163626
|
+
}
|
|
163627
|
+
}
|
|
163628
|
+
async resolveImage(image) {
|
|
163629
|
+
var _a, _b, _c;
|
|
163630
|
+
if (image.resolvedImage)
|
|
163631
|
+
return;
|
|
163632
|
+
const bvSrc = undefined !== image.bufferView ? image : (_a = image.extensions) === null || _a === void 0 ? void 0 : _a.KHR_binary_glTF;
|
|
163633
|
+
if (undefined !== (bvSrc === null || bvSrc === void 0 ? void 0 : bvSrc.bufferView)) {
|
|
163634
|
+
const format = undefined !== bvSrc.mimeType ? Object(_ImageUtil__WEBPACK_IMPORTED_MODULE_3__["getImageSourceFormatForMimeType"])(bvSrc.mimeType) : undefined;
|
|
163635
|
+
const bufferView = this._bufferViews[bvSrc.bufferView];
|
|
163636
|
+
if (undefined === format || !bufferView || !bufferView.byteLength || bufferView.byteLength < 0)
|
|
163637
|
+
return;
|
|
163638
|
+
const bufferData = (_b = this._buffers[bufferView.buffer]) === null || _b === void 0 ? void 0 : _b.resolvedBuffer;
|
|
163639
|
+
if (!bufferData)
|
|
163640
|
+
return;
|
|
163641
|
+
const offset = (_c = bufferView.byteOffset) !== null && _c !== void 0 ? _c : 0;
|
|
163642
|
+
const bytes = bufferData.subarray(offset, offset + bufferView.byteLength);
|
|
163643
|
+
try {
|
|
163644
|
+
image.resolvedImage = await Object(_ImageUtil__WEBPACK_IMPORTED_MODULE_3__["imageElementFromImageSource"])(new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["ImageSource"](bytes, format));
|
|
163645
|
+
}
|
|
163646
|
+
catch (_) {
|
|
163647
|
+
//
|
|
163648
|
+
}
|
|
163649
|
+
return;
|
|
163650
|
+
}
|
|
163651
|
+
const url = undefined !== image.uri ? this.resolveUrl(image.uri) : undefined;
|
|
163652
|
+
if (undefined !== url)
|
|
163653
|
+
image.resolvedImage = await Object(_ImageUtil__WEBPACK_IMPORTED_MODULE_3__["tryImageElementFromUrl"])(url);
|
|
163654
|
+
}
|
|
163655
|
+
resolveTextures() {
|
|
163374
163656
|
var _a, _b;
|
|
163375
163657
|
if (undefined === this._glTF.textures)
|
|
163376
163658
|
return;
|
|
163659
|
+
// ###TODO this seems pretty hacky, and won't work for glTF 2.0 even if the KHR_techniques_webgl extension is used...
|
|
163377
163660
|
const transparentTextures = new Set();
|
|
163378
163661
|
if (this._glTF.techniques) {
|
|
163379
|
-
for (const name of Object.keys(this.
|
|
163380
|
-
const material = this.
|
|
163662
|
+
for (const name of Object.keys(this._materials)) {
|
|
163663
|
+
const material = this._materials[name];
|
|
163381
163664
|
if (material && isGltf1Material(material) && undefined !== material.technique && undefined !== ((_a = material.values) === null || _a === void 0 ? void 0 : _a.tex)) {
|
|
163382
163665
|
const technique = this._glTF.techniques[material.technique];
|
|
163383
163666
|
if ((_b = technique === null || technique === void 0 ? void 0 : technique.states) === null || _b === void 0 ? void 0 : _b.enable) {
|
|
@@ -163391,74 +163674,42 @@ class GltfReader {
|
|
|
163391
163674
|
}
|
|
163392
163675
|
}
|
|
163393
163676
|
}
|
|
163394
|
-
const
|
|
163395
|
-
|
|
163396
|
-
|
|
163397
|
-
|
|
163398
|
-
|
|
163399
|
-
|
|
163400
|
-
|
|
163401
|
-
|
|
163402
|
-
|
|
163403
|
-
|
|
163404
|
-
|
|
163405
|
-
if (!bufferView || undefined === bufferView.byteLength || bufferView.byteLength <= 0)
|
|
163406
|
-
return undefined;
|
|
163407
|
-
const mimeType = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asString(binaryImageJson.mimeType);
|
|
163408
|
-
const format = Object(_ImageUtil__WEBPACK_IMPORTED_MODULE_3__["getImageSourceFormatForMimeType"])(mimeType);
|
|
163409
|
-
if (undefined === format)
|
|
163410
|
-
return undefined;
|
|
163411
|
-
let textureType = _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["RenderTexture"].Type.Normal;
|
|
163412
|
-
if (undefined !== samplerJson &&
|
|
163413
|
-
(undefined !== samplerJson.wrapS || undefined !== samplerJson.wrapT))
|
|
163414
|
-
textureType = _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["RenderTexture"].Type.TileSection;
|
|
163415
|
-
const offset = (_a = bufferView.byteOffset) !== null && _a !== void 0 ? _a : 0;
|
|
163416
|
-
/* -----------------------------------
|
|
163417
|
-
const jpegArray = this._binaryData.slice(offset, offset + bufferView.byteLength);
|
|
163418
|
-
const jpegArrayBuffer = jpegArray.buffer;
|
|
163419
|
-
const workerOp = new ImageDecodeWorkerOperation(jpegArrayBuffer, mimeType);
|
|
163420
|
-
try {
|
|
163421
|
-
const imageBitmap = await GltfReader.webWorkerManager.queueOperation(workerOp)
|
|
163422
|
-
return this._isCanceled ? undefined : this._system.createTextureFromImage(imageBitmap, isTransparent && ImageSourceFormat.Png === format, this._iModel, textureParams))
|
|
163423
|
-
} catch {
|
|
163424
|
-
return undefined;
|
|
163425
|
-
}
|
|
163426
|
-
------------------------------------- */
|
|
163427
|
-
const bytes = this._binaryData.subarray(offset, offset + bufferView.byteLength);
|
|
163428
|
-
const imageSource = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["ImageSource"](bytes, format);
|
|
163429
|
-
try {
|
|
163430
|
-
const image = await Object(_ImageUtil__WEBPACK_IMPORTED_MODULE_3__["imageElementFromImageSource"])(imageSource);
|
|
163431
|
-
if (this._isCanceled)
|
|
163432
|
-
return undefined;
|
|
163433
|
-
return this._system.createTexture({
|
|
163434
|
-
type: textureType,
|
|
163435
|
-
image: {
|
|
163436
|
-
source: image,
|
|
163437
|
-
transparency: isTransparent && _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["ImageSourceFormat"].Png === format ? _render_RenderTexture__WEBPACK_IMPORTED_MODULE_9__["TextureTransparency"].Translucent : _render_RenderTexture__WEBPACK_IMPORTED_MODULE_9__["TextureTransparency"].Opaque,
|
|
163438
|
-
},
|
|
163439
|
-
});
|
|
163440
|
-
}
|
|
163441
|
-
catch {
|
|
163442
|
-
return undefined;
|
|
163677
|
+
for (const node of this.traverseScene()) {
|
|
163678
|
+
for (const meshId of getNodeMeshIds(node)) {
|
|
163679
|
+
const mesh = this._meshes[meshId];
|
|
163680
|
+
if (!(mesh === null || mesh === void 0 ? void 0 : mesh.primitives))
|
|
163681
|
+
continue;
|
|
163682
|
+
for (const primitive of mesh.primitives) {
|
|
163683
|
+
const material = undefined !== primitive.material ? this._materials[primitive.material] : undefined;
|
|
163684
|
+
const textureId = material ? this.extractTextureId(material) : undefined;
|
|
163685
|
+
if (undefined !== textureId)
|
|
163686
|
+
this.resolveTexture(textureId, transparentTextures.has(textureId));
|
|
163687
|
+
}
|
|
163443
163688
|
}
|
|
163444
163689
|
}
|
|
163445
|
-
catch (e) {
|
|
163446
|
-
return undefined;
|
|
163447
|
-
}
|
|
163448
163690
|
}
|
|
163449
|
-
|
|
163450
|
-
|
|
163691
|
+
resolveTexture(textureId, isTransparent) {
|
|
163692
|
+
var _a;
|
|
163693
|
+
const texture = this._textures[textureId];
|
|
163694
|
+
if (!texture || texture.resolvedTexture || undefined === texture.source)
|
|
163451
163695
|
return;
|
|
163452
|
-
const
|
|
163453
|
-
if (
|
|
163696
|
+
const image = (_a = this._images[texture.source]) === null || _a === void 0 ? void 0 : _a.resolvedImage;
|
|
163697
|
+
if (!image)
|
|
163454
163698
|
return;
|
|
163455
|
-
const
|
|
163456
|
-
|
|
163699
|
+
const samplerId = texture.sampler;
|
|
163700
|
+
const sampler = undefined !== samplerId ? this._samplers[samplerId] : undefined;
|
|
163701
|
+
const textureType = undefined !== (sampler === null || sampler === void 0 ? void 0 : sampler.wrapS) || undefined !== (sampler === null || sampler === void 0 ? void 0 : sampler.wrapT) ? _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["RenderTexture"].Type.TileSection : _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["RenderTexture"].Type.Normal;
|
|
163702
|
+
texture.resolvedTexture = this._system.createTexture({
|
|
163703
|
+
type: textureType,
|
|
163704
|
+
image: {
|
|
163705
|
+
source: image,
|
|
163706
|
+
transparency: isTransparent ? _render_RenderTexture__WEBPACK_IMPORTED_MODULE_9__["TextureTransparency"].Translucent : _render_RenderTexture__WEBPACK_IMPORTED_MODULE_9__["TextureTransparency"].Opaque,
|
|
163707
|
+
},
|
|
163708
|
+
});
|
|
163457
163709
|
}
|
|
163458
163710
|
findTextureMapping(textureId) {
|
|
163459
|
-
const
|
|
163460
|
-
|
|
163461
|
-
return undefined !== texture ? new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["TextureMapping"](texture, new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["TextureMapping"].Params()) : undefined;
|
|
163711
|
+
const texture = this._textures[textureId];
|
|
163712
|
+
return (texture === null || texture === void 0 ? void 0 : texture.resolvedTexture) ? new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["TextureMapping"](texture.resolvedTexture, new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["TextureMapping"].Params()) : undefined;
|
|
163462
163713
|
}
|
|
163463
163714
|
}
|
|
163464
163715
|
/** Produce a [[RenderGraphic]] from a [glTF](https://www.khronos.org/gltf/) asset suitable for use in [view decorations]($docs/learning/frontend/ViewDecorations).
|
|
@@ -163470,16 +163721,17 @@ class GltfReader {
|
|
|
163470
163721
|
* @public
|
|
163471
163722
|
*/
|
|
163472
163723
|
async function readGltfGraphics(args) {
|
|
163473
|
-
const
|
|
163474
|
-
const
|
|
163475
|
-
const reader = props ? new Reader(props, args) : undefined;
|
|
163724
|
+
const props = GltfReaderProps.create(args.gltf, true, args.baseUrl); // glTF supports exactly one coordinate system with y axis up.
|
|
163725
|
+
const reader = props ? new GltfGraphicsReader(props, args) : undefined;
|
|
163476
163726
|
if (!reader)
|
|
163477
163727
|
return undefined;
|
|
163478
163728
|
const result = await reader.read();
|
|
163479
163729
|
return result.graphic;
|
|
163480
163730
|
}
|
|
163481
|
-
/** Implements [[readGltfGraphics]].
|
|
163482
|
-
|
|
163731
|
+
/** Implements [[readGltfGraphics]]. Exported strictly for tests.
|
|
163732
|
+
* @internal
|
|
163733
|
+
*/
|
|
163734
|
+
class GltfGraphicsReader extends GltfReader {
|
|
163483
163735
|
constructor(props, args) {
|
|
163484
163736
|
var _a, _b, _c;
|
|
163485
163737
|
super({
|
|
@@ -163487,6 +163739,7 @@ class Reader extends GltfReader {
|
|
|
163487
163739
|
iModel: args.iModel,
|
|
163488
163740
|
vertexTableRequired: true,
|
|
163489
163741
|
});
|
|
163742
|
+
this.binaryData = props.binaryData;
|
|
163490
163743
|
const pickableId = (_a = args.pickableOptions) === null || _a === void 0 ? void 0 : _a.id;
|
|
163491
163744
|
if (pickableId) {
|
|
163492
163745
|
this._featureTable = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["FeatureTable"](1, (_c = (_b = args.pickableOptions) === null || _b === void 0 ? void 0 : _b.modelId) !== null && _c !== void 0 ? _c : pickableId, _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["BatchType"].Primary);
|
|
@@ -163494,9 +163747,13 @@ class Reader extends GltfReader {
|
|
|
163494
163747
|
}
|
|
163495
163748
|
}
|
|
163496
163749
|
async read() {
|
|
163497
|
-
await this.
|
|
163750
|
+
await this.resolveResources();
|
|
163498
163751
|
return this.readGltfAndCreateGraphics(true, this._featureTable, undefined);
|
|
163499
163752
|
}
|
|
163753
|
+
get nodes() { return this._nodes; }
|
|
163754
|
+
get scenes() { var _a; return (_a = this._glTF.scenes) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
163755
|
+
get sceneNodes() { return this._sceneNodes; }
|
|
163756
|
+
get textures() { return this._textures; }
|
|
163500
163757
|
}
|
|
163501
163758
|
|
|
163502
163759
|
|
|
@@ -163619,7 +163876,7 @@ class I3dmReader extends _internal__WEBPACK_IMPORTED_MODULE_3__["GltfReader"] {
|
|
|
163619
163876
|
const header = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["I3dmHeader"](stream);
|
|
163620
163877
|
if (!header.isValid)
|
|
163621
163878
|
return undefined;
|
|
163622
|
-
const props = _internal__WEBPACK_IMPORTED_MODULE_3__["GltfReaderProps"].create(stream, yAxisUp);
|
|
163879
|
+
const props = _internal__WEBPACK_IMPORTED_MODULE_3__["GltfReaderProps"].create(stream.nextBytes(header.length - stream.curPos), yAxisUp);
|
|
163623
163880
|
if (undefined === props)
|
|
163624
163881
|
return undefined;
|
|
163625
163882
|
stream.curPos = header.featureTableJsonPosition;
|
|
@@ -163646,7 +163903,7 @@ class I3dmReader extends _internal__WEBPACK_IMPORTED_MODULE_3__["GltfReader"] {
|
|
|
163646
163903
|
const feature = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["Feature"](this._modelId);
|
|
163647
163904
|
this._featureTable.insert(feature);
|
|
163648
163905
|
}
|
|
163649
|
-
await this.
|
|
163906
|
+
await this.resolveResources();
|
|
163650
163907
|
if (this._isCanceled)
|
|
163651
163908
|
return { readStatus: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["TileReadStatus"].Canceled, isLeaf: this._isLeaf };
|
|
163652
163909
|
const instances = this.readInstances();
|
|
@@ -163796,7 +164053,7 @@ class IModelTile extends _internal__WEBPACK_IMPORTED_MODULE_4__["Tile"] {
|
|
|
163796
164053
|
if (undefined === isCanceled)
|
|
163797
164054
|
isCanceled = () => !this.isLoading;
|
|
163798
164055
|
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(data instanceof Uint8Array);
|
|
163799
|
-
const streamBuffer =
|
|
164056
|
+
const streamBuffer = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["ByteStream"].fromUint8Array(data);
|
|
163800
164057
|
const position = streamBuffer.curPos;
|
|
163801
164058
|
const format = streamBuffer.nextUint32;
|
|
163802
164059
|
streamBuffer.curPos = position;
|
|
@@ -164525,11 +164782,12 @@ class IModelTileTree extends _internal__WEBPACK_IMPORTED_MODULE_6__["TileTree"]
|
|
|
164525
164782
|
/*!****************************************************************!*\
|
|
164526
164783
|
!*** D:/vsts_a/460/s/core/frontend/lib/esm/tile/ImdlReader.js ***!
|
|
164527
164784
|
\****************************************************************/
|
|
164528
|
-
/*! exports provided: readElementGraphics, ImdlReader */
|
|
164785
|
+
/*! exports provided: GltfHeader, readElementGraphics, ImdlReader */
|
|
164529
164786
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
164530
164787
|
|
|
164531
164788
|
"use strict";
|
|
164532
164789
|
__webpack_require__.r(__webpack_exports__);
|
|
164790
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GltfHeader", function() { return GltfHeader; });
|
|
164533
164791
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "readElementGraphics", function() { return readElementGraphics; });
|
|
164534
164792
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ImdlReader", function() { return ImdlReader; });
|
|
164535
164793
|
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
@@ -164563,6 +164821,49 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
164563
164821
|
|
|
164564
164822
|
|
|
164565
164823
|
|
|
164824
|
+
/** Header preceding "glTF" data in iMdl tile.
|
|
164825
|
+
* @internal
|
|
164826
|
+
*/
|
|
164827
|
+
class GltfHeader extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["TileHeader"] {
|
|
164828
|
+
constructor(stream) {
|
|
164829
|
+
super(stream);
|
|
164830
|
+
this.scenePosition = 0;
|
|
164831
|
+
this.sceneStrLength = 0;
|
|
164832
|
+
this.binaryPosition = 0;
|
|
164833
|
+
this.gltfLength = stream.nextUint32;
|
|
164834
|
+
this.sceneStrLength = stream.nextUint32;
|
|
164835
|
+
const value5 = stream.nextUint32;
|
|
164836
|
+
// Early versions of the reality data tile publisher incorrectly put version 2 into header - handle these old tiles
|
|
164837
|
+
// validating the chunk type.
|
|
164838
|
+
if (this.version === _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["GltfVersions"].Version2 && value5 === _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["GltfVersions"].Gltf1SceneFormat)
|
|
164839
|
+
this.version = _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["GltfVersions"].Version1;
|
|
164840
|
+
if (this.version === _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["GltfVersions"].Version1) {
|
|
164841
|
+
const gltfSceneFormat = value5;
|
|
164842
|
+
if (_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["GltfVersions"].Gltf1SceneFormat !== gltfSceneFormat) {
|
|
164843
|
+
this.invalidate();
|
|
164844
|
+
return;
|
|
164845
|
+
}
|
|
164846
|
+
this.scenePosition = stream.curPos;
|
|
164847
|
+
this.binaryPosition = stream.curPos + this.sceneStrLength;
|
|
164848
|
+
}
|
|
164849
|
+
else if (this.version === _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["GltfVersions"].Version2) {
|
|
164850
|
+
const sceneChunkType = value5;
|
|
164851
|
+
this.scenePosition = stream.curPos;
|
|
164852
|
+
stream.curPos = stream.curPos + this.sceneStrLength;
|
|
164853
|
+
const binaryLength = stream.nextUint32;
|
|
164854
|
+
const binaryChunkType = stream.nextUint32;
|
|
164855
|
+
if (_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["GltfV2ChunkTypes"].JSON !== sceneChunkType || _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["GltfV2ChunkTypes"].Binary !== binaryChunkType || 0 === binaryLength) {
|
|
164856
|
+
this.invalidate();
|
|
164857
|
+
return;
|
|
164858
|
+
}
|
|
164859
|
+
this.binaryPosition = stream.curPos;
|
|
164860
|
+
}
|
|
164861
|
+
else {
|
|
164862
|
+
this.invalidate();
|
|
164863
|
+
}
|
|
164864
|
+
}
|
|
164865
|
+
get isValid() { return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["TileFormat"].Gltf === this.format; }
|
|
164866
|
+
}
|
|
164566
164867
|
/** Convert the byte array returned by [[TileAdmin.requestElementGraphics]] into a [[RenderGraphic]].
|
|
164567
164868
|
* @param bytes The binary graphics data obtained from `requestElementGraphics`.
|
|
164568
164869
|
* @param iModel The iModel with which the graphics are associated.
|
|
@@ -164572,7 +164873,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
164572
164873
|
* @public
|
|
164573
164874
|
*/
|
|
164574
164875
|
async function readElementGraphics(bytes, iModel, modelId, is3d, options) {
|
|
164575
|
-
const stream =
|
|
164876
|
+
const stream = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["ByteStream"].fromUint8Array(bytes);
|
|
164576
164877
|
const reader = ImdlReader.create({
|
|
164577
164878
|
stream, iModel, modelId, is3d, options,
|
|
164578
164879
|
system: _IModelApp__WEBPACK_IMPORTED_MODULE_3__["IModelApp"].renderSystem,
|
|
@@ -164631,7 +164932,7 @@ class ImdlReader {
|
|
|
164631
164932
|
if (!this.skipFeatureTable(args.stream))
|
|
164632
164933
|
return undefined;
|
|
164633
164934
|
// A glTF header follows the feature table
|
|
164634
|
-
const gltfHeader = new
|
|
164935
|
+
const gltfHeader = new GltfHeader(args.stream);
|
|
164635
164936
|
if (!gltfHeader.isValid)
|
|
164636
164937
|
return undefined;
|
|
164637
164938
|
args.stream.curPos = gltfHeader.scenePosition;
|
|
@@ -167827,7 +168128,7 @@ class RealityTileLoader {
|
|
|
167827
168128
|
async loadTileContent(tile, data, system, isCanceled) {
|
|
167828
168129
|
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(data instanceof Uint8Array);
|
|
167829
168130
|
const blob = data;
|
|
167830
|
-
const streamBuffer =
|
|
168131
|
+
const streamBuffer = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["ByteStream"].fromUint8Array(blob);
|
|
167831
168132
|
return this.loadTileContentFromStream(tile, streamBuffer, system, isCanceled);
|
|
167832
168133
|
}
|
|
167833
168134
|
async loadTileContentFromStream(tile, streamBuffer, system, isCanceled) {
|
|
@@ -171070,7 +171371,7 @@ function createDefaultViewFlagOverrides(options) {
|
|
|
171070
171371
|
/*!**************************************************************!*\
|
|
171071
171372
|
!*** D:/vsts_a/460/s/core/frontend/lib/esm/tile/internal.js ***!
|
|
171072
171373
|
\**************************************************************/
|
|
171073
|
-
/*! exports provided: createDefaultViewFlagOverrides, MapCartoRectangle, QuadId, DisclosedTileTreeSet, addRangeGraphic, Tile, TileLoadStatus, TileVisibility, TileLoadPriority, TileBoundingBoxes, ViewportIdSet, ViewportIdSets, LRUTileList, RealityTile, TileDrawArgs, RealityTileDrawArgs, GraphicsCollectorDrawArgs, BatchedTileIdMap, TileTreeLoadStatus, TileTree, TraversalDetails, TraversalChildrenDetails, TraversalSelectionContext, RealityTileTree, TileGraphicType, TileTreeReference, TiledGraphicsProvider, TileAdmin, overrideRequestTileTreeProps, TileRequest, TileRequestChannelStatistics, TileRequestChannel, IModelTileRequestChannels, TileRequestChannels, TileUsageMarker, GltfDataType, GltfBufferData, GltfReaderProps, GltfMeshData, GltfReader, readGltfGraphics, I3dmReader, B3dmReader, readElementGraphics, ImdlReader, ArcGISTileMap, ArcGisTokenClientType, ArcGisTokenGenerator, ArcGisTokenManager, MapLayerFormat, MapLayerFormatRegistry, ArcGisErrorCode, ArcGisUtilities, WmsUtilities, WmsCapability, WmsCapabilities, WmtsCapability, WmtsCapabilities, MapLayerImageryProviderStatus, MapLayerImageryProvider, ArcGISMapLayerImageryProvider, AzureMapsLayerImageryProvider, BingMapsImageryLayerProvider, MapBoxLayerImageryProvider, TileUrlImageryProvider, WmsMapLayerImageryProvider, WmtsMapLayerImageryProvider, ImageryMapLayerFormat, internalMapLayerImageryFormats, MapLayerTileTreeReference, MapTileTree, MapTileTreeReference, getGcsConverterAvailable, TerrainMeshProvider, getCesiumAssetUrl, getCesiumOSMBuildingsUrl, getCesiumAccessTokenAndEndpointUrl, getCesiumTerrainProvider, EllipsoidTerrainProvider, PlanarTilePatch, MapTileProjection, MapTile, UpsampledMapTile, RealityTileLoader, MapTileLoader, BingElevationProvider, MapTilingScheme, GeographicTilingScheme, WebMercatorProjection, WebMercatorTilingScheme, TileAvailability, readPointCloudTileContent, createRealityTileTreeReference, RealityTileRegion, RealityModelTileUtils, RealityModelTileTree, iModelTileParamsFromJSON, SelectParent, IModelTile, DynamicIModelTile, iModelTileTreeParamsFromJSON, IModelTileTree, disposeTileTreesForGeometricModels, AnimatedTreeReference, createPrimaryTileTreeReference, createMaskTreeReference, SpatialTileTreeReferences, SpatialClassifierTileTreeReference, createClassifierTileTreeReference, createOrbitGtTileTreeReference, OrbitGtTileTree, ImageryMapTile, ImageryMapTileTree, ImageryMapLayerTreeReference, MapLayerSourceStatus, MapLayerSource, MapLayerSources, MapTiledGraphicsProvider, CesiumIonAssetProvider, ContextShareProvider */
|
|
171374
|
+
/*! exports provided: createDefaultViewFlagOverrides, MapCartoRectangle, QuadId, DisclosedTileTreeSet, addRangeGraphic, Tile, TileLoadStatus, TileVisibility, TileLoadPriority, TileBoundingBoxes, ViewportIdSet, ViewportIdSets, LRUTileList, RealityTile, TileDrawArgs, RealityTileDrawArgs, GraphicsCollectorDrawArgs, BatchedTileIdMap, TileTreeLoadStatus, TileTree, TraversalDetails, TraversalChildrenDetails, TraversalSelectionContext, RealityTileTree, TileGraphicType, TileTreeReference, TiledGraphicsProvider, TileAdmin, overrideRequestTileTreeProps, TileRequest, TileRequestChannelStatistics, TileRequestChannel, IModelTileRequestChannels, TileRequestChannels, TileUsageMarker, GltfDataType, GltfBufferData, GltfReaderProps, GltfMeshData, GltfReader, readGltfGraphics, GltfGraphicsReader, I3dmReader, B3dmReader, GltfHeader, readElementGraphics, ImdlReader, ArcGISTileMap, ArcGisTokenClientType, ArcGisTokenGenerator, ArcGisTokenManager, MapLayerFormat, MapLayerFormatRegistry, ArcGisErrorCode, ArcGisUtilities, WmsUtilities, WmsCapability, WmsCapabilities, WmtsCapability, WmtsCapabilities, MapLayerImageryProviderStatus, MapLayerImageryProvider, ArcGISMapLayerImageryProvider, AzureMapsLayerImageryProvider, BingMapsImageryLayerProvider, MapBoxLayerImageryProvider, TileUrlImageryProvider, WmsMapLayerImageryProvider, WmtsMapLayerImageryProvider, ImageryMapLayerFormat, internalMapLayerImageryFormats, MapLayerTileTreeReference, MapTileTree, MapTileTreeReference, getGcsConverterAvailable, TerrainMeshProvider, getCesiumAssetUrl, getCesiumOSMBuildingsUrl, getCesiumAccessTokenAndEndpointUrl, getCesiumTerrainProvider, EllipsoidTerrainProvider, PlanarTilePatch, MapTileProjection, MapTile, UpsampledMapTile, RealityTileLoader, MapTileLoader, BingElevationProvider, MapTilingScheme, GeographicTilingScheme, WebMercatorProjection, WebMercatorTilingScheme, TileAvailability, readPointCloudTileContent, createRealityTileTreeReference, RealityTileRegion, RealityModelTileUtils, RealityModelTileTree, iModelTileParamsFromJSON, SelectParent, IModelTile, DynamicIModelTile, iModelTileTreeParamsFromJSON, IModelTileTree, disposeTileTreesForGeometricModels, AnimatedTreeReference, createPrimaryTileTreeReference, createMaskTreeReference, SpatialTileTreeReferences, SpatialClassifierTileTreeReference, createClassifierTileTreeReference, createOrbitGtTileTreeReference, OrbitGtTileTree, ImageryMapTile, ImageryMapTileTree, ImageryMapLayerTreeReference, MapLayerSourceStatus, MapLayerSource, MapLayerSources, MapTiledGraphicsProvider, CesiumIonAssetProvider, ContextShareProvider */
|
|
171074
171375
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
171075
171376
|
|
|
171076
171377
|
"use strict";
|
|
@@ -171184,6 +171485,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
171184
171485
|
|
|
171185
171486
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "readGltfGraphics", function() { return _GltfReader__WEBPACK_IMPORTED_MODULE_26__["readGltfGraphics"]; });
|
|
171186
171487
|
|
|
171488
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfGraphicsReader", function() { return _GltfReader__WEBPACK_IMPORTED_MODULE_26__["GltfGraphicsReader"]; });
|
|
171489
|
+
|
|
171187
171490
|
/* harmony import */ var _I3dmReader__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./I3dmReader */ "../../core/frontend/lib/esm/tile/I3dmReader.js");
|
|
171188
171491
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "I3dmReader", function() { return _I3dmReader__WEBPACK_IMPORTED_MODULE_27__["I3dmReader"]; });
|
|
171189
171492
|
|
|
@@ -171191,6 +171494,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
171191
171494
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "B3dmReader", function() { return _B3dmReader__WEBPACK_IMPORTED_MODULE_28__["B3dmReader"]; });
|
|
171192
171495
|
|
|
171193
171496
|
/* harmony import */ var _ImdlReader__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./ImdlReader */ "../../core/frontend/lib/esm/tile/ImdlReader.js");
|
|
171497
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfHeader", function() { return _ImdlReader__WEBPACK_IMPORTED_MODULE_29__["GltfHeader"]; });
|
|
171498
|
+
|
|
171194
171499
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "readElementGraphics", function() { return _ImdlReader__WEBPACK_IMPORTED_MODULE_29__["readElementGraphics"]; });
|
|
171195
171500
|
|
|
171196
171501
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ImdlReader", function() { return _ImdlReader__WEBPACK_IMPORTED_MODULE_29__["ImdlReader"]; });
|
|
@@ -172455,7 +172760,7 @@ class CesiumTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_8__["Terr
|
|
|
172455
172760
|
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(data instanceof Uint8Array);
|
|
172456
172761
|
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(tile instanceof _internal__WEBPACK_IMPORTED_MODULE_8__["MapTile"]);
|
|
172457
172762
|
const blob = data;
|
|
172458
|
-
const streamBuffer =
|
|
172763
|
+
const streamBuffer = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["ByteStream"].fromUint8Array(blob);
|
|
172459
172764
|
const center = Object(_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["nextPoint3d64FromByteStream"])(streamBuffer);
|
|
172460
172765
|
const quadId = _internal__WEBPACK_IMPORTED_MODULE_8__["QuadId"].createFromContentId(tile.contentId);
|
|
172461
172766
|
const skirtHeight = this.getLevelMaximumGeometricError(quadId.level + 1) * 10.0; // Add 1 to level to restore height calculation to before the quadId level was from root. (4326 unification)
|
|
@@ -190940,7 +191245,7 @@ SetupWalkCameraTool.iconSpec = "icon-camera-location";
|
|
|
190940
191245
|
/*! exports provided: name, version, description, main, module, typings, imodeljsSharedLibrary, license, scripts, repository, keywords, author, peerDependencies, //devDependencies, devDependencies, //dependencies, dependencies, nyc, eslintConfig, default */
|
|
190941
191246
|
/***/ (function(module) {
|
|
190942
191247
|
|
|
190943
|
-
module.exports = JSON.parse("{\"name\":\"@itwin/core-frontend\",\"version\":\"3.0.0-dev.
|
|
191248
|
+
module.exports = JSON.parse("{\"name\":\"@itwin/core-frontend\",\"version\":\"3.0.0-dev.172\",\"description\":\"iTwin.js frontend components\",\"main\":\"lib/cjs/core-frontend.js\",\"module\":\"lib/esm/core-frontend.js\",\"typings\":\"lib/cjs/core-frontend\",\"imodeljsSharedLibrary\":true,\"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\",\"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\":{\"@bentley/itwin-client\":\"workspace:^3.0.0-dev.172\",\"@itwin/appui-abstract\":\"workspace:^3.0.0-dev.172\",\"@itwin/core-bentley\":\"workspace:^3.0.0-dev.172\",\"@itwin/core-common\":\"workspace:^3.0.0-dev.172\",\"@itwin/core-geometry\":\"workspace:^3.0.0-dev.172\",\"@itwin/core-orbitgt\":\"workspace:^3.0.0-dev.172\",\"@itwin/core-quantity\":\"workspace:^3.0.0-dev.172\",\"@itwin/webgl-compatibility\":\"workspace:^3.0.0-dev.172\"},\"//devDependencies\":[\"NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install\",\"NOTE: All tools used by scripts in this package must be listed as devDependencies\"],\"devDependencies\":{\"@bentley/itwin-client\":\"workspace:*\",\"@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.1.4\",\"@types/chai-as-promised\":\"^7\",\"@types/mocha\":\"^8.2.2\",\"@types/node\":\"14.14.31\",\"@types/semver\":\"^5.5.0\",\"@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\":\"^8.3.2\",\"nyc\":\"^15.1.0\",\"rimraf\":\"^3.0.2\",\"sinon\":\"^9.0.2\",\"source-map-loader\":\"^1.0.0\",\"typescript\":\"~4.4.0\",\"webpack\":\"4.42.0\"},\"//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:*\",\"fuse.js\":\"^3.3.0\",\"semver\":\"^5.5.0\",\"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\"]}]},\"overrides\":[{\"files\":[\"*.test.ts\",\"*.test.tsx\",\"**/test/**/*.ts\",\"**/test/**/*.tsx\"],\"rules\":{\"@itwin/no-internal-barrel-imports\":\"off\"}}]}}");
|
|
190944
191249
|
|
|
190945
191250
|
/***/ }),
|
|
190946
191251
|
|
|
@@ -290252,7 +290557,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
290252
290557
|
*/
|
|
290253
290558
|
class RpcRequestsHandler {
|
|
290254
290559
|
constructor(props) {
|
|
290255
|
-
this.
|
|
290560
|
+
this.maxRequestRepeatCount = 5;
|
|
290256
290561
|
this.clientId = (props && props.clientId) ? props.clientId : _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["Guid"].createValue();
|
|
290257
290562
|
}
|
|
290258
290563
|
dispose() {
|
|
@@ -290268,14 +290573,14 @@ class RpcRequestsHandler {
|
|
|
290268
290573
|
diagnostics = response.diagnostics;
|
|
290269
290574
|
if (response.statusCode === _Error__WEBPACK_IMPORTED_MODULE_2__["PresentationStatus"].Success)
|
|
290270
290575
|
return response.result;
|
|
290271
|
-
if (response.statusCode === _Error__WEBPACK_IMPORTED_MODULE_2__["PresentationStatus"].BackendTimeout && repeatCount < this.
|
|
290576
|
+
if (response.statusCode === _Error__WEBPACK_IMPORTED_MODULE_2__["PresentationStatus"].BackendTimeout && repeatCount < this.maxRequestRepeatCount)
|
|
290272
290577
|
shouldRepeat = true;
|
|
290273
290578
|
else
|
|
290274
290579
|
error = new _Error__WEBPACK_IMPORTED_MODULE_2__["PresentationError"](response.statusCode, response.errorMessage);
|
|
290275
290580
|
}
|
|
290276
290581
|
catch (e) {
|
|
290277
290582
|
error = e;
|
|
290278
|
-
if (repeatCount < this.
|
|
290583
|
+
if (repeatCount < this.maxRequestRepeatCount)
|
|
290279
290584
|
shouldRepeat = true;
|
|
290280
290585
|
}
|
|
290281
290586
|
finally {
|
|
@@ -303212,7 +303517,7 @@ class TestContext {
|
|
|
303212
303517
|
this.clientAccessToken = await (0, SideChannels_1.getClientAccessTokenFromBackend)();
|
|
303213
303518
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
303214
303519
|
await core_frontend_1.NoRenderApp.startup({
|
|
303215
|
-
applicationVersion: "3.0.0-dev.
|
|
303520
|
+
applicationVersion: "3.0.0-dev.172",
|
|
303216
303521
|
applicationId: this.settings.gprid,
|
|
303217
303522
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
303218
303523
|
hubAccess: new imodelhub_client_1.IModelHubFrontend(),
|