@itwin/ecschema-rpcinterface-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 +611 -306
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +17 -17
|
@@ -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
|
|
|
@@ -123254,8 +123362,11 @@ async function imageElementFromImageSource(source) {
|
|
|
123254
123362
|
* @public
|
|
123255
123363
|
*/
|
|
123256
123364
|
async function imageElementFromUrl(url) {
|
|
123365
|
+
// We must set crossorigin property so that images loaded from same origin can be used with texImage2d.
|
|
123366
|
+
// We must do that outside of the promise constructor or it won't work, for reasons.
|
|
123367
|
+
const image = new Image();
|
|
123368
|
+
image.crossOrigin = "anonymous";
|
|
123257
123369
|
return new Promise((resolve, reject) => {
|
|
123258
|
-
const image = new Image();
|
|
123259
123370
|
image.onload = () => resolve(image);
|
|
123260
123371
|
// The "error" produced by Image is not an Error. It looks like an Event, but isn't one.
|
|
123261
123372
|
image.onerror = () => reject(new Error("Failed to create image from url"));
|
|
@@ -129787,11 +129898,11 @@ class ViewManager {
|
|
|
129787
129898
|
for (const vp of this._viewports)
|
|
129788
129899
|
vp.refreshForModifiedModels(modelIds);
|
|
129789
129900
|
}
|
|
129790
|
-
/**
|
|
129791
|
-
*
|
|
129792
|
-
*
|
|
129793
|
-
*
|
|
129794
|
-
*
|
|
129901
|
+
/** Sets the number of [MSAA]($docs/learning/display/MSAA.md) samples for all currently- and subsequently-opened [[ScreenViewport]]s.
|
|
129902
|
+
* @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
|
|
129903
|
+
* down to the nearest power of two. The maximum number of samples supported depends upon the client's graphics hardware capabilities. Higher values produce
|
|
129904
|
+
* a higher-quality image but also may also reduce framerate.
|
|
129905
|
+
* @see [[Viewport.antialiasSamples]] to adjust the number of samples for a specific viewport.
|
|
129795
129906
|
*/
|
|
129796
129907
|
setAntialiasingAllViews(numSamples) {
|
|
129797
129908
|
for (const vp of this)
|
|
@@ -132767,9 +132878,11 @@ class Viewport {
|
|
|
132767
132878
|
set clipStyle(style) {
|
|
132768
132879
|
this.displayStyle.settings.clipStyle = style;
|
|
132769
132880
|
}
|
|
132770
|
-
/**
|
|
132771
|
-
*
|
|
132772
|
-
*
|
|
132881
|
+
/** Sets the number of [MSAA]($docs/learning/display/MSAA.md) samples for this viewport.
|
|
132882
|
+
* 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
|
|
132883
|
+
* down to the nearest power of two. The maximum number of samples supported depends upon the client's graphics hardware capabilities. Higher values produce
|
|
132884
|
+
* a higher-quality image but also may also reduce framerate.
|
|
132885
|
+
* @see [[ViewManager.setAntialiasingAllViews]] to adjust the number of samples for all viewports.
|
|
132773
132886
|
*/
|
|
132774
132887
|
get antialiasSamples() {
|
|
132775
132888
|
return undefined !== this._target ? this._target.antialiasSamples : 1;
|
|
@@ -135227,7 +135340,7 @@ class UniqueViewportSets {
|
|
|
135227
135340
|
/*!**************************************************************!*\
|
|
135228
135341
|
!*** D:/vsts_a/460/s/core/frontend/lib/esm/core-frontend.js ***!
|
|
135229
135342
|
\**************************************************************/
|
|
135230
|
-
/*! 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 */
|
|
135343
|
+
/*! 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 */
|
|
135231
135344
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
135232
135345
|
|
|
135233
135346
|
"use strict";
|
|
@@ -135908,10 +136021,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
135908
136021
|
|
|
135909
136022
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "readGltfGraphics", function() { return _tile_internal__WEBPACK_IMPORTED_MODULE_99__["readGltfGraphics"]; });
|
|
135910
136023
|
|
|
136024
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfGraphicsReader", function() { return _tile_internal__WEBPACK_IMPORTED_MODULE_99__["GltfGraphicsReader"]; });
|
|
136025
|
+
|
|
135911
136026
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "I3dmReader", function() { return _tile_internal__WEBPACK_IMPORTED_MODULE_99__["I3dmReader"]; });
|
|
135912
136027
|
|
|
135913
136028
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "B3dmReader", function() { return _tile_internal__WEBPACK_IMPORTED_MODULE_99__["B3dmReader"]; });
|
|
135914
136029
|
|
|
136030
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfHeader", function() { return _tile_internal__WEBPACK_IMPORTED_MODULE_99__["GltfHeader"]; });
|
|
136031
|
+
|
|
135915
136032
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "readElementGraphics", function() { return _tile_internal__WEBPACK_IMPORTED_MODULE_99__["readElementGraphics"]; });
|
|
135916
136033
|
|
|
135917
136034
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ImdlReader", function() { return _tile_internal__WEBPACK_IMPORTED_MODULE_99__["ImdlReader"]; });
|
|
@@ -139844,6 +139961,7 @@ class PlanarGridTransparency {
|
|
|
139844
139961
|
/** A RenderSystem provides access to resources used by the internal WebGL-based rendering system.
|
|
139845
139962
|
* An application rarely interacts directly with the RenderSystem; instead it interacts with types like [[Viewport]] which
|
|
139846
139963
|
* coordinate with the RenderSystem on the application's behalf.
|
|
139964
|
+
* @see [Display system overview]($docs/learning/display/index.md)
|
|
139847
139965
|
* @see [[IModelApp.renderSystem]].
|
|
139848
139966
|
* @public
|
|
139849
139967
|
*/
|
|
@@ -170643,7 +170761,7 @@ class B3dmReader extends _internal__WEBPACK_IMPORTED_MODULE_3__["GltfReader"] {
|
|
|
170643
170761
|
}
|
|
170644
170762
|
if (undefined !== returnToCenterTransform)
|
|
170645
170763
|
transformToRoot = transformToRoot ? transformToRoot.multiplyTransformTransform(returnToCenterTransform) : returnToCenterTransform;
|
|
170646
|
-
const props = _internal__WEBPACK_IMPORTED_MODULE_3__["GltfReaderProps"].create(stream, yAxisUp);
|
|
170764
|
+
const props = _internal__WEBPACK_IMPORTED_MODULE_3__["GltfReaderProps"].create(stream.nextBytes(header.length - stream.curPos), yAxisUp);
|
|
170647
170765
|
const batchTableLength = header.featureTableJson ? _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asInt(header.featureTableJson.BATCH_LENGTH, 0) : 0;
|
|
170648
170766
|
return undefined !== props ? new B3dmReader(props, iModel, modelId, is3d, system, range, isLeaf, batchTableLength, transformToRoot, header.batchTableJson, isCanceled, idMap, pseudoRtcBias, deduplicateVertices) : undefined;
|
|
170649
170767
|
}
|
|
@@ -170717,7 +170835,7 @@ class B3dmReader extends _internal__WEBPACK_IMPORTED_MODULE_3__["GltfReader"] {
|
|
|
170717
170835
|
const feature = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["Feature"](this._modelId);
|
|
170718
170836
|
featureTable.insert(feature);
|
|
170719
170837
|
}
|
|
170720
|
-
await this.
|
|
170838
|
+
await this.resolveResources();
|
|
170721
170839
|
if (this._isCanceled)
|
|
170722
170840
|
return { readStatus: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["TileReadStatus"].Canceled, isLeaf: this._isLeaf };
|
|
170723
170841
|
return this.readGltfAndCreateGraphics(this._isLeaf, featureTable, this._range, this._transformToRoot, this._pseudoRtcBias);
|
|
@@ -171510,7 +171628,7 @@ class GraphicsTile extends _internal__WEBPACK_IMPORTED_MODULE_4__["Tile"] {
|
|
|
171510
171628
|
if (undefined === isCanceled)
|
|
171511
171629
|
isCanceled = () => !this.isLoading;
|
|
171512
171630
|
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(data instanceof Uint8Array);
|
|
171513
|
-
const stream =
|
|
171631
|
+
const stream = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["ByteStream"].fromUint8Array(data);
|
|
171514
171632
|
const position = stream.curPos;
|
|
171515
171633
|
const format = stream.nextUint32;
|
|
171516
171634
|
stream.curPos = position;
|
|
@@ -171545,7 +171663,7 @@ class GraphicsTile extends _internal__WEBPACK_IMPORTED_MODULE_4__["Tile"] {
|
|
|
171545
171663
|
/*!****************************************************************!*\
|
|
171546
171664
|
!*** D:/vsts_a/460/s/core/frontend/lib/esm/tile/GltfReader.js ***!
|
|
171547
171665
|
\****************************************************************/
|
|
171548
|
-
/*! exports provided: GltfDataType, GltfBufferData, GltfReaderProps, GltfMeshData, GltfReader, readGltfGraphics */
|
|
171666
|
+
/*! exports provided: GltfDataType, GltfBufferData, GltfReaderProps, GltfMeshData, GltfReader, readGltfGraphics, GltfGraphicsReader */
|
|
171549
171667
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
171550
171668
|
|
|
171551
171669
|
"use strict";
|
|
@@ -171556,6 +171674,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
171556
171674
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GltfMeshData", function() { return GltfMeshData; });
|
|
171557
171675
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GltfReader", function() { return GltfReader; });
|
|
171558
171676
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "readGltfGraphics", function() { return readGltfGraphics; });
|
|
171677
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GltfGraphicsReader", function() { return GltfGraphicsReader; });
|
|
171559
171678
|
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
171560
171679
|
/* harmony import */ var _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @itwin/core-geometry */ "../../core/geometry/lib/esm/core-geometry.js");
|
|
171561
171680
|
/* harmony import */ var _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
|
|
@@ -171647,6 +171766,19 @@ var GltfBufferTarget;
|
|
|
171647
171766
|
GltfBufferTarget[GltfBufferTarget["ArrayBuffer"] = 34962] = "ArrayBuffer";
|
|
171648
171767
|
GltfBufferTarget[GltfBufferTarget["ElementArrayBuffer"] = 24963] = "ElementArrayBuffer";
|
|
171649
171768
|
})(GltfBufferTarget || (GltfBufferTarget = {}));
|
|
171769
|
+
function* dictionaryIterator(dict) {
|
|
171770
|
+
if (Array.isArray(dict)) {
|
|
171771
|
+
for (const elem of dict)
|
|
171772
|
+
yield elem;
|
|
171773
|
+
}
|
|
171774
|
+
else {
|
|
171775
|
+
for (const key of Object.keys(dict)) {
|
|
171776
|
+
const value = dict[key];
|
|
171777
|
+
if (undefined !== value)
|
|
171778
|
+
yield value;
|
|
171779
|
+
}
|
|
171780
|
+
}
|
|
171781
|
+
}
|
|
171650
171782
|
function getNodeMeshIds(node) {
|
|
171651
171783
|
if (undefined !== node.meshes)
|
|
171652
171784
|
return typeof node.meshes === "string" ? [node.meshes] : node.meshes;
|
|
@@ -171737,50 +171869,80 @@ class GltfBufferView {
|
|
|
171737
171869
|
* @internal
|
|
171738
171870
|
*/
|
|
171739
171871
|
class GltfReaderProps {
|
|
171740
|
-
constructor(
|
|
171741
|
-
this.
|
|
171872
|
+
constructor(glTF, version, yAxisUp, binaryData, baseUrl) {
|
|
171873
|
+
this.version = version;
|
|
171742
171874
|
this.glTF = glTF;
|
|
171875
|
+
this.binaryData = binaryData;
|
|
171743
171876
|
this.yAxisUp = yAxisUp;
|
|
171877
|
+
this.baseUrl = baseUrl;
|
|
171744
171878
|
}
|
|
171745
171879
|
/** Attempt to construct a new GltfReaderProps from the binary data beginning at the supplied stream's current read position. */
|
|
171746
|
-
static create(
|
|
171747
|
-
|
|
171748
|
-
|
|
171749
|
-
|
|
171750
|
-
|
|
171751
|
-
|
|
171752
|
-
|
|
171753
|
-
|
|
171754
|
-
|
|
171755
|
-
|
|
171756
|
-
|
|
171757
|
-
|
|
171758
|
-
|
|
171759
|
-
|
|
171760
|
-
|
|
171761
|
-
|
|
171762
|
-
|
|
171763
|
-
|
|
171764
|
-
|
|
171765
|
-
|
|
171766
|
-
|
|
171767
|
-
|
|
171768
|
-
|
|
171769
|
-
|
|
171770
|
-
|
|
171771
|
-
|
|
171772
|
-
|
|
171773
|
-
|
|
171774
|
-
|
|
171775
|
-
|
|
171776
|
-
|
|
171777
|
-
|
|
171778
|
-
|
|
171779
|
-
|
|
171880
|
+
static create(source, yAxisUp = false, baseUrl) {
|
|
171881
|
+
let version;
|
|
171882
|
+
let json;
|
|
171883
|
+
let binaryData;
|
|
171884
|
+
if (source instanceof Uint8Array) {
|
|
171885
|
+
// It may be JSON - check for magic indicating glb.
|
|
171886
|
+
const buffer = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["ByteStream"].fromUint8Array(source);
|
|
171887
|
+
if (_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["TileFormat"].Gltf !== buffer.nextUint32) {
|
|
171888
|
+
try {
|
|
171889
|
+
const utf8Json = Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["utf8ToString"])(source);
|
|
171890
|
+
if (!utf8Json)
|
|
171891
|
+
return undefined;
|
|
171892
|
+
json = JSON.parse(utf8Json);
|
|
171893
|
+
version = 2;
|
|
171894
|
+
}
|
|
171895
|
+
catch (_) {
|
|
171896
|
+
return undefined;
|
|
171897
|
+
}
|
|
171898
|
+
}
|
|
171899
|
+
else {
|
|
171900
|
+
buffer.reset();
|
|
171901
|
+
const header = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["GlbHeader"](buffer);
|
|
171902
|
+
if (!header.isValid)
|
|
171903
|
+
return undefined;
|
|
171904
|
+
version = header.version;
|
|
171905
|
+
if (header.binaryChunk)
|
|
171906
|
+
binaryData = new Uint8Array(source.buffer, source.byteOffset + header.binaryChunk.offset, header.binaryChunk.length);
|
|
171907
|
+
try {
|
|
171908
|
+
const jsonBytes = new Uint8Array(source.buffer, source.byteOffset + header.jsonChunk.offset, header.jsonChunk.length);
|
|
171909
|
+
const jsonStr = Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["utf8ToString"])(jsonBytes);
|
|
171910
|
+
if (undefined === jsonStr)
|
|
171911
|
+
return undefined;
|
|
171912
|
+
json = JSON.parse(jsonStr);
|
|
171913
|
+
}
|
|
171914
|
+
catch (_) {
|
|
171915
|
+
return undefined;
|
|
171916
|
+
}
|
|
171917
|
+
}
|
|
171780
171918
|
}
|
|
171781
|
-
|
|
171782
|
-
|
|
171919
|
+
else {
|
|
171920
|
+
version = 2; // ###TODO verify against source.asset?.version
|
|
171921
|
+
json = source;
|
|
171783
171922
|
}
|
|
171923
|
+
// asset is required in glTF 2, optional in glTF 1
|
|
171924
|
+
const asset = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.asset);
|
|
171925
|
+
if (version === 2 && !asset)
|
|
171926
|
+
return undefined;
|
|
171927
|
+
const glTF = {
|
|
171928
|
+
asset,
|
|
171929
|
+
scene: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asString(json.scene),
|
|
171930
|
+
extensions: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.extensions),
|
|
171931
|
+
extensionsUsed: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asArray(json.extensionsUsed),
|
|
171932
|
+
extensionsRequired: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asArray(json.extensionsRequired),
|
|
171933
|
+
accessors: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.accessors),
|
|
171934
|
+
buffers: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.buffers),
|
|
171935
|
+
bufferViews: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.bufferViews),
|
|
171936
|
+
images: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.images),
|
|
171937
|
+
materials: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.materials),
|
|
171938
|
+
meshes: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.meshes),
|
|
171939
|
+
nodes: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.nodes),
|
|
171940
|
+
samplers: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.samplers),
|
|
171941
|
+
scenes: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.scenes),
|
|
171942
|
+
textures: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.textures),
|
|
171943
|
+
techniques: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.techniques),
|
|
171944
|
+
};
|
|
171945
|
+
return glTF.meshes ? new GltfReaderProps(glTF, version, yAxisUp, binaryData, baseUrl) : undefined;
|
|
171784
171946
|
}
|
|
171785
171947
|
}
|
|
171786
171948
|
/** 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
|
|
@@ -171862,15 +172024,30 @@ class TransformStack {
|
|
|
171862
172024
|
this._stack.pop();
|
|
171863
172025
|
}
|
|
171864
172026
|
}
|
|
172027
|
+
function* traverseNodes(ids, nodes, traversed) {
|
|
172028
|
+
for (const id of ids) {
|
|
172029
|
+
if (traversed.has(id))
|
|
172030
|
+
throw new Error("Cycle detected while traversing glTF nodes");
|
|
172031
|
+
const node = nodes[id];
|
|
172032
|
+
if (!node)
|
|
172033
|
+
continue;
|
|
172034
|
+
traversed.add(id);
|
|
172035
|
+
yield node;
|
|
172036
|
+
if (node.children)
|
|
172037
|
+
for (const child of traverseNodes(node.children, nodes, traversed))
|
|
172038
|
+
yield child;
|
|
172039
|
+
}
|
|
172040
|
+
}
|
|
171865
172041
|
/** Deserializes [glTF](https://www.khronos.org/gltf/).
|
|
171866
172042
|
* @internal
|
|
171867
172043
|
*/
|
|
171868
172044
|
class GltfReader {
|
|
171869
172045
|
constructor(args) {
|
|
171870
172046
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
171871
|
-
this._binaryData = args.props.binaryData;
|
|
171872
172047
|
this._glTF = args.props.glTF;
|
|
172048
|
+
this._version = args.props.version;
|
|
171873
172049
|
this._yAxisUp = args.props.yAxisUp;
|
|
172050
|
+
this._baseUrl = args.props.baseUrl;
|
|
171874
172051
|
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;
|
|
171875
172052
|
if (rtcCenter && 3 === rtcCenter.length)
|
|
171876
172053
|
if (0 !== rtcCenter[0] || 0 !== rtcCenter[1] || 0 !== rtcCenter[2])
|
|
@@ -171882,6 +172059,12 @@ class GltfReader {
|
|
|
171882
172059
|
this._canceled = args.shouldAbort;
|
|
171883
172060
|
this._deduplicateVertices = (_e = args.deduplicateVertices) !== null && _e !== void 0 ? _e : false;
|
|
171884
172061
|
this._vertexTableRequired = (_f = args.vertexTableRequired) !== null && _f !== void 0 ? _f : false;
|
|
172062
|
+
const binaryData = args.props.binaryData;
|
|
172063
|
+
if (binaryData) {
|
|
172064
|
+
const buffer = this._buffers[this._version === 2 ? 0 : "binary_glTF"];
|
|
172065
|
+
if (buffer && undefined === buffer.uri)
|
|
172066
|
+
buffer.resolvedBuffer = binaryData;
|
|
172067
|
+
}
|
|
171885
172068
|
// The original implementation of GltfReader would process and produce graphics for every node in glTF.nodes.
|
|
171886
172069
|
// What it's *supposed* to do is process the nodes in glTF.scenes[glTF.scene].nodes
|
|
171887
172070
|
// Some nodes may not be referenced by the configured scene, or only indirectly via GltfNode.children.
|
|
@@ -171897,9 +172080,26 @@ class GltfReader {
|
|
|
171897
172080
|
get _meshes() { var _a; return (_a = this._glTF.meshes) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
171898
172081
|
get _accessors() { var _a; return (_a = this._glTF.accessors) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
171899
172082
|
get _bufferViews() { var _a; return (_a = this._glTF.bufferViews) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
171900
|
-
get
|
|
172083
|
+
get _materials() { var _a; return (_a = this._glTF.materials) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
172084
|
+
get _samplers() { var _a; return (_a = this._glTF.samplers) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
172085
|
+
get _textures() { var _a; return (_a = this._glTF.textures) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
172086
|
+
get _images() { var _a; return (_a = this._glTF.images) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
172087
|
+
get _buffers() { var _a; return (_a = this._glTF.buffers) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
171901
172088
|
get _isCanceled() { return undefined !== this._canceled && this._canceled(this); }
|
|
171902
172089
|
get _isVolumeClassifier() { return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["BatchType"].VolumeClassifier === this._type; }
|
|
172090
|
+
/** Traverse the nodes specified by their Ids, recursing into their child nodes.
|
|
172091
|
+
* @param nodeIds The Ids of the nodes to traverse.
|
|
172092
|
+
* @throws Error if a node appears more than once during traversal
|
|
172093
|
+
*/
|
|
172094
|
+
traverseNodes(nodeIds) {
|
|
172095
|
+
return traverseNodes(nodeIds, this._nodes, new Set());
|
|
172096
|
+
}
|
|
172097
|
+
/** Traverse the nodes specified by their scene, recursing into their child nodes.
|
|
172098
|
+
* @throws Error if a node appears more than once during traversal
|
|
172099
|
+
*/
|
|
172100
|
+
traverseScene() {
|
|
172101
|
+
return this.traverseNodes(this._sceneNodes);
|
|
172102
|
+
}
|
|
171903
172103
|
readGltfAndCreateGraphics(isLeaf, featureTable, contentRange, transformToRoot, pseudoRtcBias, instances) {
|
|
171904
172104
|
var _a;
|
|
171905
172105
|
if (this._isCanceled)
|
|
@@ -172054,10 +172254,16 @@ class GltfReader {
|
|
|
172054
172254
|
getBufferView(json, accessorName) {
|
|
172055
172255
|
try {
|
|
172056
172256
|
const accessorValue = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asString(json[accessorName]);
|
|
172057
|
-
const accessor =
|
|
172058
|
-
|
|
172059
|
-
|
|
172060
|
-
|
|
172257
|
+
const accessor = accessorValue ? this._accessors[accessorValue] : undefined;
|
|
172258
|
+
if (!accessor)
|
|
172259
|
+
return undefined;
|
|
172260
|
+
const bufferViewAccessorValue = accessor.bufferView;
|
|
172261
|
+
const bufferView = undefined !== bufferViewAccessorValue ? this._bufferViews[bufferViewAccessorValue] : undefined;
|
|
172262
|
+
if (!bufferView || undefined === bufferView.buffer)
|
|
172263
|
+
return undefined;
|
|
172264
|
+
const buffer = this._buffers[bufferView.buffer];
|
|
172265
|
+
const bufferData = buffer === null || buffer === void 0 ? void 0 : buffer.resolvedBuffer;
|
|
172266
|
+
if (!bufferData)
|
|
172061
172267
|
return undefined;
|
|
172062
172268
|
const type = accessor.componentType;
|
|
172063
172269
|
let dataSize = 0;
|
|
@@ -172088,8 +172294,8 @@ class GltfReader {
|
|
|
172088
172294
|
const offset = ((bufferView && bufferView.byteOffset) ? bufferView.byteOffset : 0) + (accessor.byteOffset ? accessor.byteOffset : 0);
|
|
172089
172295
|
const length = byteStride * accessor.count;
|
|
172090
172296
|
// If the data is misaligned (Scalable mesh tile publisher) use slice to copy -- else use subarray.
|
|
172091
|
-
|
|
172092
|
-
const bytes =
|
|
172297
|
+
const aligned = 0 === (bufferData.byteOffset + offset) % dataSize;
|
|
172298
|
+
const bytes = aligned ? bufferData.subarray(offset, offset + length) : bufferData.slice(offset, offset + length);
|
|
172093
172299
|
return new GltfBufferView(bytes, accessor.count, type, accessor, byteStride / dataSize);
|
|
172094
172300
|
}
|
|
172095
172301
|
catch (e) {
|
|
@@ -172148,8 +172354,8 @@ class GltfReader {
|
|
|
172148
172354
|
var _a, _b, _c, _d, _e, _f;
|
|
172149
172355
|
const materialName = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asString(primitive.material);
|
|
172150
172356
|
const hasBakedLighting = undefined === primitive.attributes.NORMAL;
|
|
172151
|
-
const material = 0 < materialName.length ? this.
|
|
172152
|
-
const displayParams = this.createDisplayParams(material, hasBakedLighting);
|
|
172357
|
+
const material = 0 < materialName.length ? this._materials[materialName] : undefined;
|
|
172358
|
+
const displayParams = material ? this.createDisplayParams(material, hasBakedLighting) : undefined;
|
|
172153
172359
|
if (undefined === displayParams)
|
|
172154
172360
|
return undefined;
|
|
172155
172361
|
let primitiveType = -1;
|
|
@@ -172168,7 +172374,6 @@ class GltfReader {
|
|
|
172168
172374
|
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(false);
|
|
172169
172375
|
return undefined;
|
|
172170
172376
|
}
|
|
172171
|
-
const isPlanar = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asBool(primitive.isPlanar);
|
|
172172
172377
|
const isVolumeClassifier = this._isVolumeClassifier;
|
|
172173
172378
|
const meshPrimitive = _render_primitives_mesh_MeshPrimitives__WEBPACK_IMPORTED_MODULE_7__["Mesh"].create({
|
|
172174
172379
|
displayParams,
|
|
@@ -172176,7 +172381,7 @@ class GltfReader {
|
|
|
172176
172381
|
type: primitiveType,
|
|
172177
172382
|
range: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Range3d"].createNull(),
|
|
172178
172383
|
is2d: !this._is3d,
|
|
172179
|
-
isPlanar,
|
|
172384
|
+
isPlanar: false,
|
|
172180
172385
|
hasBakedLighting,
|
|
172181
172386
|
isVolumeClassifier,
|
|
172182
172387
|
});
|
|
@@ -172402,12 +172607,13 @@ class GltfReader {
|
|
|
172402
172607
|
}
|
|
172403
172608
|
readUVParams(mesh, json, accessorName) {
|
|
172404
172609
|
const view = this.getBufferView(json, accessorName);
|
|
172405
|
-
let data;
|
|
172406
172610
|
if (view === undefined)
|
|
172407
172611
|
return false;
|
|
172408
172612
|
switch (view.type) {
|
|
172409
172613
|
case GltfDataType.Float: {
|
|
172410
|
-
data = this.readBufferDataFloat(json, accessorName);
|
|
172614
|
+
const data = this.readBufferDataFloat(json, accessorName);
|
|
172615
|
+
if (!data)
|
|
172616
|
+
return false;
|
|
172411
172617
|
mesh.uvRange = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Range2d"].createNull();
|
|
172412
172618
|
for (let i = 0; i < data.count; i++) {
|
|
172413
172619
|
const index = view.stride * i; // 2 float per param...
|
|
@@ -172482,14 +172688,91 @@ class GltfReader {
|
|
|
172482
172688
|
polylines.push(new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["MeshPolyline"](indices));
|
|
172483
172689
|
return true;
|
|
172484
172690
|
}
|
|
172485
|
-
async
|
|
172691
|
+
async resolveResources() {
|
|
172692
|
+
// ###TODO traverse the scene nodes to find resources referenced by them, instead of resolving everything - some resources may not
|
|
172693
|
+
// be required for the scene.
|
|
172694
|
+
const promises = [];
|
|
172695
|
+
try {
|
|
172696
|
+
for (const buffer of dictionaryIterator(this._buffers))
|
|
172697
|
+
if (!buffer.resolvedBuffer)
|
|
172698
|
+
promises.push(this.resolveBuffer(buffer));
|
|
172699
|
+
await Promise.all(promises);
|
|
172700
|
+
if (this._isCanceled)
|
|
172701
|
+
return;
|
|
172702
|
+
promises.length = 0;
|
|
172703
|
+
for (const image of dictionaryIterator(this._images))
|
|
172704
|
+
if (!image.resolvedImage)
|
|
172705
|
+
promises.push(this.resolveImage(image));
|
|
172706
|
+
await Promise.all(promises);
|
|
172707
|
+
if (this._isCanceled)
|
|
172708
|
+
return;
|
|
172709
|
+
this.resolveTextures();
|
|
172710
|
+
}
|
|
172711
|
+
catch (_) {
|
|
172712
|
+
}
|
|
172713
|
+
}
|
|
172714
|
+
resolveUrl(uri) {
|
|
172715
|
+
try {
|
|
172716
|
+
return new URL(uri, this._baseUrl).toString();
|
|
172717
|
+
}
|
|
172718
|
+
catch (_) {
|
|
172719
|
+
return undefined;
|
|
172720
|
+
}
|
|
172721
|
+
}
|
|
172722
|
+
async resolveBuffer(buffer) {
|
|
172723
|
+
if (buffer.resolvedBuffer || undefined === buffer.uri)
|
|
172724
|
+
return;
|
|
172725
|
+
try {
|
|
172726
|
+
const url = this.resolveUrl(buffer.uri);
|
|
172727
|
+
const response = url ? await fetch(url) : undefined;
|
|
172728
|
+
if (this._isCanceled)
|
|
172729
|
+
return;
|
|
172730
|
+
const data = await (response === null || response === void 0 ? void 0 : response.arrayBuffer());
|
|
172731
|
+
if (this._isCanceled)
|
|
172732
|
+
return;
|
|
172733
|
+
if (data)
|
|
172734
|
+
buffer.resolvedBuffer = new Uint8Array(data);
|
|
172735
|
+
}
|
|
172736
|
+
catch (_) {
|
|
172737
|
+
//
|
|
172738
|
+
}
|
|
172739
|
+
}
|
|
172740
|
+
async resolveImage(image) {
|
|
172741
|
+
var _a, _b, _c;
|
|
172742
|
+
if (image.resolvedImage)
|
|
172743
|
+
return;
|
|
172744
|
+
const bvSrc = undefined !== image.bufferView ? image : (_a = image.extensions) === null || _a === void 0 ? void 0 : _a.KHR_binary_glTF;
|
|
172745
|
+
if (undefined !== (bvSrc === null || bvSrc === void 0 ? void 0 : bvSrc.bufferView)) {
|
|
172746
|
+
const format = undefined !== bvSrc.mimeType ? Object(_ImageUtil__WEBPACK_IMPORTED_MODULE_3__["getImageSourceFormatForMimeType"])(bvSrc.mimeType) : undefined;
|
|
172747
|
+
const bufferView = this._bufferViews[bvSrc.bufferView];
|
|
172748
|
+
if (undefined === format || !bufferView || !bufferView.byteLength || bufferView.byteLength < 0)
|
|
172749
|
+
return;
|
|
172750
|
+
const bufferData = (_b = this._buffers[bufferView.buffer]) === null || _b === void 0 ? void 0 : _b.resolvedBuffer;
|
|
172751
|
+
if (!bufferData)
|
|
172752
|
+
return;
|
|
172753
|
+
const offset = (_c = bufferView.byteOffset) !== null && _c !== void 0 ? _c : 0;
|
|
172754
|
+
const bytes = bufferData.subarray(offset, offset + bufferView.byteLength);
|
|
172755
|
+
try {
|
|
172756
|
+
image.resolvedImage = await Object(_ImageUtil__WEBPACK_IMPORTED_MODULE_3__["imageElementFromImageSource"])(new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["ImageSource"](bytes, format));
|
|
172757
|
+
}
|
|
172758
|
+
catch (_) {
|
|
172759
|
+
//
|
|
172760
|
+
}
|
|
172761
|
+
return;
|
|
172762
|
+
}
|
|
172763
|
+
const url = undefined !== image.uri ? this.resolveUrl(image.uri) : undefined;
|
|
172764
|
+
if (undefined !== url)
|
|
172765
|
+
image.resolvedImage = await Object(_ImageUtil__WEBPACK_IMPORTED_MODULE_3__["tryImageElementFromUrl"])(url);
|
|
172766
|
+
}
|
|
172767
|
+
resolveTextures() {
|
|
172486
172768
|
var _a, _b;
|
|
172487
172769
|
if (undefined === this._glTF.textures)
|
|
172488
172770
|
return;
|
|
172771
|
+
// ###TODO this seems pretty hacky, and won't work for glTF 2.0 even if the KHR_techniques_webgl extension is used...
|
|
172489
172772
|
const transparentTextures = new Set();
|
|
172490
172773
|
if (this._glTF.techniques) {
|
|
172491
|
-
for (const name of Object.keys(this.
|
|
172492
|
-
const material = this.
|
|
172774
|
+
for (const name of Object.keys(this._materials)) {
|
|
172775
|
+
const material = this._materials[name];
|
|
172493
172776
|
if (material && isGltf1Material(material) && undefined !== material.technique && undefined !== ((_a = material.values) === null || _a === void 0 ? void 0 : _a.tex)) {
|
|
172494
172777
|
const technique = this._glTF.techniques[material.technique];
|
|
172495
172778
|
if ((_b = technique === null || technique === void 0 ? void 0 : technique.states) === null || _b === void 0 ? void 0 : _b.enable) {
|
|
@@ -172503,74 +172786,42 @@ class GltfReader {
|
|
|
172503
172786
|
}
|
|
172504
172787
|
}
|
|
172505
172788
|
}
|
|
172506
|
-
const
|
|
172507
|
-
|
|
172508
|
-
|
|
172509
|
-
|
|
172510
|
-
|
|
172511
|
-
|
|
172512
|
-
|
|
172513
|
-
|
|
172514
|
-
|
|
172515
|
-
|
|
172516
|
-
|
|
172517
|
-
if (!bufferView || undefined === bufferView.byteLength || bufferView.byteLength <= 0)
|
|
172518
|
-
return undefined;
|
|
172519
|
-
const mimeType = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asString(binaryImageJson.mimeType);
|
|
172520
|
-
const format = Object(_ImageUtil__WEBPACK_IMPORTED_MODULE_3__["getImageSourceFormatForMimeType"])(mimeType);
|
|
172521
|
-
if (undefined === format)
|
|
172522
|
-
return undefined;
|
|
172523
|
-
let textureType = _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["RenderTexture"].Type.Normal;
|
|
172524
|
-
if (undefined !== samplerJson &&
|
|
172525
|
-
(undefined !== samplerJson.wrapS || undefined !== samplerJson.wrapT))
|
|
172526
|
-
textureType = _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["RenderTexture"].Type.TileSection;
|
|
172527
|
-
const offset = (_a = bufferView.byteOffset) !== null && _a !== void 0 ? _a : 0;
|
|
172528
|
-
/* -----------------------------------
|
|
172529
|
-
const jpegArray = this._binaryData.slice(offset, offset + bufferView.byteLength);
|
|
172530
|
-
const jpegArrayBuffer = jpegArray.buffer;
|
|
172531
|
-
const workerOp = new ImageDecodeWorkerOperation(jpegArrayBuffer, mimeType);
|
|
172532
|
-
try {
|
|
172533
|
-
const imageBitmap = await GltfReader.webWorkerManager.queueOperation(workerOp)
|
|
172534
|
-
return this._isCanceled ? undefined : this._system.createTextureFromImage(imageBitmap, isTransparent && ImageSourceFormat.Png === format, this._iModel, textureParams))
|
|
172535
|
-
} catch {
|
|
172536
|
-
return undefined;
|
|
172537
|
-
}
|
|
172538
|
-
------------------------------------- */
|
|
172539
|
-
const bytes = this._binaryData.subarray(offset, offset + bufferView.byteLength);
|
|
172540
|
-
const imageSource = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["ImageSource"](bytes, format);
|
|
172541
|
-
try {
|
|
172542
|
-
const image = await Object(_ImageUtil__WEBPACK_IMPORTED_MODULE_3__["imageElementFromImageSource"])(imageSource);
|
|
172543
|
-
if (this._isCanceled)
|
|
172544
|
-
return undefined;
|
|
172545
|
-
return this._system.createTexture({
|
|
172546
|
-
type: textureType,
|
|
172547
|
-
image: {
|
|
172548
|
-
source: image,
|
|
172549
|
-
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,
|
|
172550
|
-
},
|
|
172551
|
-
});
|
|
172552
|
-
}
|
|
172553
|
-
catch {
|
|
172554
|
-
return undefined;
|
|
172789
|
+
for (const node of this.traverseScene()) {
|
|
172790
|
+
for (const meshId of getNodeMeshIds(node)) {
|
|
172791
|
+
const mesh = this._meshes[meshId];
|
|
172792
|
+
if (!(mesh === null || mesh === void 0 ? void 0 : mesh.primitives))
|
|
172793
|
+
continue;
|
|
172794
|
+
for (const primitive of mesh.primitives) {
|
|
172795
|
+
const material = undefined !== primitive.material ? this._materials[primitive.material] : undefined;
|
|
172796
|
+
const textureId = material ? this.extractTextureId(material) : undefined;
|
|
172797
|
+
if (undefined !== textureId)
|
|
172798
|
+
this.resolveTexture(textureId, transparentTextures.has(textureId));
|
|
172799
|
+
}
|
|
172555
172800
|
}
|
|
172556
172801
|
}
|
|
172557
|
-
catch (e) {
|
|
172558
|
-
return undefined;
|
|
172559
|
-
}
|
|
172560
172802
|
}
|
|
172561
|
-
|
|
172562
|
-
|
|
172803
|
+
resolveTexture(textureId, isTransparent) {
|
|
172804
|
+
var _a;
|
|
172805
|
+
const texture = this._textures[textureId];
|
|
172806
|
+
if (!texture || texture.resolvedTexture || undefined === texture.source)
|
|
172563
172807
|
return;
|
|
172564
|
-
const
|
|
172565
|
-
if (
|
|
172808
|
+
const image = (_a = this._images[texture.source]) === null || _a === void 0 ? void 0 : _a.resolvedImage;
|
|
172809
|
+
if (!image)
|
|
172566
172810
|
return;
|
|
172567
|
-
const
|
|
172568
|
-
|
|
172811
|
+
const samplerId = texture.sampler;
|
|
172812
|
+
const sampler = undefined !== samplerId ? this._samplers[samplerId] : undefined;
|
|
172813
|
+
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;
|
|
172814
|
+
texture.resolvedTexture = this._system.createTexture({
|
|
172815
|
+
type: textureType,
|
|
172816
|
+
image: {
|
|
172817
|
+
source: image,
|
|
172818
|
+
transparency: isTransparent ? _render_RenderTexture__WEBPACK_IMPORTED_MODULE_9__["TextureTransparency"].Translucent : _render_RenderTexture__WEBPACK_IMPORTED_MODULE_9__["TextureTransparency"].Opaque,
|
|
172819
|
+
},
|
|
172820
|
+
});
|
|
172569
172821
|
}
|
|
172570
172822
|
findTextureMapping(textureId) {
|
|
172571
|
-
const
|
|
172572
|
-
|
|
172573
|
-
return undefined !== texture ? new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["TextureMapping"](texture, new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["TextureMapping"].Params()) : undefined;
|
|
172823
|
+
const texture = this._textures[textureId];
|
|
172824
|
+
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;
|
|
172574
172825
|
}
|
|
172575
172826
|
}
|
|
172576
172827
|
/** Produce a [[RenderGraphic]] from a [glTF](https://www.khronos.org/gltf/) asset suitable for use in [view decorations]($docs/learning/frontend/ViewDecorations).
|
|
@@ -172582,16 +172833,17 @@ class GltfReader {
|
|
|
172582
172833
|
* @public
|
|
172583
172834
|
*/
|
|
172584
172835
|
async function readGltfGraphics(args) {
|
|
172585
|
-
const
|
|
172586
|
-
const
|
|
172587
|
-
const reader = props ? new Reader(props, args) : undefined;
|
|
172836
|
+
const props = GltfReaderProps.create(args.gltf, true, args.baseUrl); // glTF supports exactly one coordinate system with y axis up.
|
|
172837
|
+
const reader = props ? new GltfGraphicsReader(props, args) : undefined;
|
|
172588
172838
|
if (!reader)
|
|
172589
172839
|
return undefined;
|
|
172590
172840
|
const result = await reader.read();
|
|
172591
172841
|
return result.graphic;
|
|
172592
172842
|
}
|
|
172593
|
-
/** Implements [[readGltfGraphics]].
|
|
172594
|
-
|
|
172843
|
+
/** Implements [[readGltfGraphics]]. Exported strictly for tests.
|
|
172844
|
+
* @internal
|
|
172845
|
+
*/
|
|
172846
|
+
class GltfGraphicsReader extends GltfReader {
|
|
172595
172847
|
constructor(props, args) {
|
|
172596
172848
|
var _a, _b, _c;
|
|
172597
172849
|
super({
|
|
@@ -172599,6 +172851,7 @@ class Reader extends GltfReader {
|
|
|
172599
172851
|
iModel: args.iModel,
|
|
172600
172852
|
vertexTableRequired: true,
|
|
172601
172853
|
});
|
|
172854
|
+
this.binaryData = props.binaryData;
|
|
172602
172855
|
const pickableId = (_a = args.pickableOptions) === null || _a === void 0 ? void 0 : _a.id;
|
|
172603
172856
|
if (pickableId) {
|
|
172604
172857
|
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);
|
|
@@ -172606,9 +172859,13 @@ class Reader extends GltfReader {
|
|
|
172606
172859
|
}
|
|
172607
172860
|
}
|
|
172608
172861
|
async read() {
|
|
172609
|
-
await this.
|
|
172862
|
+
await this.resolveResources();
|
|
172610
172863
|
return this.readGltfAndCreateGraphics(true, this._featureTable, undefined);
|
|
172611
172864
|
}
|
|
172865
|
+
get nodes() { return this._nodes; }
|
|
172866
|
+
get scenes() { var _a; return (_a = this._glTF.scenes) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
172867
|
+
get sceneNodes() { return this._sceneNodes; }
|
|
172868
|
+
get textures() { return this._textures; }
|
|
172612
172869
|
}
|
|
172613
172870
|
|
|
172614
172871
|
|
|
@@ -172731,7 +172988,7 @@ class I3dmReader extends _internal__WEBPACK_IMPORTED_MODULE_3__["GltfReader"] {
|
|
|
172731
172988
|
const header = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["I3dmHeader"](stream);
|
|
172732
172989
|
if (!header.isValid)
|
|
172733
172990
|
return undefined;
|
|
172734
|
-
const props = _internal__WEBPACK_IMPORTED_MODULE_3__["GltfReaderProps"].create(stream, yAxisUp);
|
|
172991
|
+
const props = _internal__WEBPACK_IMPORTED_MODULE_3__["GltfReaderProps"].create(stream.nextBytes(header.length - stream.curPos), yAxisUp);
|
|
172735
172992
|
if (undefined === props)
|
|
172736
172993
|
return undefined;
|
|
172737
172994
|
stream.curPos = header.featureTableJsonPosition;
|
|
@@ -172758,7 +173015,7 @@ class I3dmReader extends _internal__WEBPACK_IMPORTED_MODULE_3__["GltfReader"] {
|
|
|
172758
173015
|
const feature = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["Feature"](this._modelId);
|
|
172759
173016
|
this._featureTable.insert(feature);
|
|
172760
173017
|
}
|
|
172761
|
-
await this.
|
|
173018
|
+
await this.resolveResources();
|
|
172762
173019
|
if (this._isCanceled)
|
|
172763
173020
|
return { readStatus: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["TileReadStatus"].Canceled, isLeaf: this._isLeaf };
|
|
172764
173021
|
const instances = this.readInstances();
|
|
@@ -172908,7 +173165,7 @@ class IModelTile extends _internal__WEBPACK_IMPORTED_MODULE_4__["Tile"] {
|
|
|
172908
173165
|
if (undefined === isCanceled)
|
|
172909
173166
|
isCanceled = () => !this.isLoading;
|
|
172910
173167
|
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(data instanceof Uint8Array);
|
|
172911
|
-
const streamBuffer =
|
|
173168
|
+
const streamBuffer = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["ByteStream"].fromUint8Array(data);
|
|
172912
173169
|
const position = streamBuffer.curPos;
|
|
172913
173170
|
const format = streamBuffer.nextUint32;
|
|
172914
173171
|
streamBuffer.curPos = position;
|
|
@@ -173637,11 +173894,12 @@ class IModelTileTree extends _internal__WEBPACK_IMPORTED_MODULE_6__["TileTree"]
|
|
|
173637
173894
|
/*!****************************************************************!*\
|
|
173638
173895
|
!*** D:/vsts_a/460/s/core/frontend/lib/esm/tile/ImdlReader.js ***!
|
|
173639
173896
|
\****************************************************************/
|
|
173640
|
-
/*! exports provided: readElementGraphics, ImdlReader */
|
|
173897
|
+
/*! exports provided: GltfHeader, readElementGraphics, ImdlReader */
|
|
173641
173898
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
173642
173899
|
|
|
173643
173900
|
"use strict";
|
|
173644
173901
|
__webpack_require__.r(__webpack_exports__);
|
|
173902
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GltfHeader", function() { return GltfHeader; });
|
|
173645
173903
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "readElementGraphics", function() { return readElementGraphics; });
|
|
173646
173904
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ImdlReader", function() { return ImdlReader; });
|
|
173647
173905
|
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
@@ -173675,6 +173933,49 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
173675
173933
|
|
|
173676
173934
|
|
|
173677
173935
|
|
|
173936
|
+
/** Header preceding "glTF" data in iMdl tile.
|
|
173937
|
+
* @internal
|
|
173938
|
+
*/
|
|
173939
|
+
class GltfHeader extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["TileHeader"] {
|
|
173940
|
+
constructor(stream) {
|
|
173941
|
+
super(stream);
|
|
173942
|
+
this.scenePosition = 0;
|
|
173943
|
+
this.sceneStrLength = 0;
|
|
173944
|
+
this.binaryPosition = 0;
|
|
173945
|
+
this.gltfLength = stream.nextUint32;
|
|
173946
|
+
this.sceneStrLength = stream.nextUint32;
|
|
173947
|
+
const value5 = stream.nextUint32;
|
|
173948
|
+
// Early versions of the reality data tile publisher incorrectly put version 2 into header - handle these old tiles
|
|
173949
|
+
// validating the chunk type.
|
|
173950
|
+
if (this.version === _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["GltfVersions"].Version2 && value5 === _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["GltfVersions"].Gltf1SceneFormat)
|
|
173951
|
+
this.version = _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["GltfVersions"].Version1;
|
|
173952
|
+
if (this.version === _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["GltfVersions"].Version1) {
|
|
173953
|
+
const gltfSceneFormat = value5;
|
|
173954
|
+
if (_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["GltfVersions"].Gltf1SceneFormat !== gltfSceneFormat) {
|
|
173955
|
+
this.invalidate();
|
|
173956
|
+
return;
|
|
173957
|
+
}
|
|
173958
|
+
this.scenePosition = stream.curPos;
|
|
173959
|
+
this.binaryPosition = stream.curPos + this.sceneStrLength;
|
|
173960
|
+
}
|
|
173961
|
+
else if (this.version === _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["GltfVersions"].Version2) {
|
|
173962
|
+
const sceneChunkType = value5;
|
|
173963
|
+
this.scenePosition = stream.curPos;
|
|
173964
|
+
stream.curPos = stream.curPos + this.sceneStrLength;
|
|
173965
|
+
const binaryLength = stream.nextUint32;
|
|
173966
|
+
const binaryChunkType = stream.nextUint32;
|
|
173967
|
+
if (_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["GltfV2ChunkTypes"].JSON !== sceneChunkType || _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["GltfV2ChunkTypes"].Binary !== binaryChunkType || 0 === binaryLength) {
|
|
173968
|
+
this.invalidate();
|
|
173969
|
+
return;
|
|
173970
|
+
}
|
|
173971
|
+
this.binaryPosition = stream.curPos;
|
|
173972
|
+
}
|
|
173973
|
+
else {
|
|
173974
|
+
this.invalidate();
|
|
173975
|
+
}
|
|
173976
|
+
}
|
|
173977
|
+
get isValid() { return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["TileFormat"].Gltf === this.format; }
|
|
173978
|
+
}
|
|
173678
173979
|
/** Convert the byte array returned by [[TileAdmin.requestElementGraphics]] into a [[RenderGraphic]].
|
|
173679
173980
|
* @param bytes The binary graphics data obtained from `requestElementGraphics`.
|
|
173680
173981
|
* @param iModel The iModel with which the graphics are associated.
|
|
@@ -173684,7 +173985,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
173684
173985
|
* @public
|
|
173685
173986
|
*/
|
|
173686
173987
|
async function readElementGraphics(bytes, iModel, modelId, is3d, options) {
|
|
173687
|
-
const stream =
|
|
173988
|
+
const stream = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["ByteStream"].fromUint8Array(bytes);
|
|
173688
173989
|
const reader = ImdlReader.create({
|
|
173689
173990
|
stream, iModel, modelId, is3d, options,
|
|
173690
173991
|
system: _IModelApp__WEBPACK_IMPORTED_MODULE_3__["IModelApp"].renderSystem,
|
|
@@ -173743,7 +174044,7 @@ class ImdlReader {
|
|
|
173743
174044
|
if (!this.skipFeatureTable(args.stream))
|
|
173744
174045
|
return undefined;
|
|
173745
174046
|
// A glTF header follows the feature table
|
|
173746
|
-
const gltfHeader = new
|
|
174047
|
+
const gltfHeader = new GltfHeader(args.stream);
|
|
173747
174048
|
if (!gltfHeader.isValid)
|
|
173748
174049
|
return undefined;
|
|
173749
174050
|
args.stream.curPos = gltfHeader.scenePosition;
|
|
@@ -176939,7 +177240,7 @@ class RealityTileLoader {
|
|
|
176939
177240
|
async loadTileContent(tile, data, system, isCanceled) {
|
|
176940
177241
|
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(data instanceof Uint8Array);
|
|
176941
177242
|
const blob = data;
|
|
176942
|
-
const streamBuffer =
|
|
177243
|
+
const streamBuffer = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["ByteStream"].fromUint8Array(blob);
|
|
176943
177244
|
return this.loadTileContentFromStream(tile, streamBuffer, system, isCanceled);
|
|
176944
177245
|
}
|
|
176945
177246
|
async loadTileContentFromStream(tile, streamBuffer, system, isCanceled) {
|
|
@@ -180182,7 +180483,7 @@ function createDefaultViewFlagOverrides(options) {
|
|
|
180182
180483
|
/*!**************************************************************!*\
|
|
180183
180484
|
!*** D:/vsts_a/460/s/core/frontend/lib/esm/tile/internal.js ***!
|
|
180184
180485
|
\**************************************************************/
|
|
180185
|
-
/*! 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 */
|
|
180486
|
+
/*! 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 */
|
|
180186
180487
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
180187
180488
|
|
|
180188
180489
|
"use strict";
|
|
@@ -180296,6 +180597,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
180296
180597
|
|
|
180297
180598
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "readGltfGraphics", function() { return _GltfReader__WEBPACK_IMPORTED_MODULE_26__["readGltfGraphics"]; });
|
|
180298
180599
|
|
|
180600
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfGraphicsReader", function() { return _GltfReader__WEBPACK_IMPORTED_MODULE_26__["GltfGraphicsReader"]; });
|
|
180601
|
+
|
|
180299
180602
|
/* harmony import */ var _I3dmReader__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./I3dmReader */ "../../core/frontend/lib/esm/tile/I3dmReader.js");
|
|
180300
180603
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "I3dmReader", function() { return _I3dmReader__WEBPACK_IMPORTED_MODULE_27__["I3dmReader"]; });
|
|
180301
180604
|
|
|
@@ -180303,6 +180606,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
180303
180606
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "B3dmReader", function() { return _B3dmReader__WEBPACK_IMPORTED_MODULE_28__["B3dmReader"]; });
|
|
180304
180607
|
|
|
180305
180608
|
/* harmony import */ var _ImdlReader__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./ImdlReader */ "../../core/frontend/lib/esm/tile/ImdlReader.js");
|
|
180609
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfHeader", function() { return _ImdlReader__WEBPACK_IMPORTED_MODULE_29__["GltfHeader"]; });
|
|
180610
|
+
|
|
180306
180611
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "readElementGraphics", function() { return _ImdlReader__WEBPACK_IMPORTED_MODULE_29__["readElementGraphics"]; });
|
|
180307
180612
|
|
|
180308
180613
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ImdlReader", function() { return _ImdlReader__WEBPACK_IMPORTED_MODULE_29__["ImdlReader"]; });
|
|
@@ -181567,7 +181872,7 @@ class CesiumTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_8__["Terr
|
|
|
181567
181872
|
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(data instanceof Uint8Array);
|
|
181568
181873
|
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(tile instanceof _internal__WEBPACK_IMPORTED_MODULE_8__["MapTile"]);
|
|
181569
181874
|
const blob = data;
|
|
181570
|
-
const streamBuffer =
|
|
181875
|
+
const streamBuffer = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["ByteStream"].fromUint8Array(blob);
|
|
181571
181876
|
const center = Object(_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["nextPoint3d64FromByteStream"])(streamBuffer);
|
|
181572
181877
|
const quadId = _internal__WEBPACK_IMPORTED_MODULE_8__["QuadId"].createFromContentId(tile.contentId);
|
|
181573
181878
|
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)
|
|
@@ -200052,7 +200357,7 @@ SetupWalkCameraTool.iconSpec = "icon-camera-location";
|
|
|
200052
200357
|
/*! exports provided: name, version, description, main, module, typings, imodeljsSharedLibrary, license, scripts, repository, keywords, author, peerDependencies, //devDependencies, devDependencies, //dependencies, dependencies, nyc, eslintConfig, default */
|
|
200053
200358
|
/***/ (function(module) {
|
|
200054
200359
|
|
|
200055
|
-
module.exports = JSON.parse("{\"name\":\"@itwin/core-frontend\",\"version\":\"3.0.0-dev.
|
|
200360
|
+
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\"}}]}}");
|
|
200056
200361
|
|
|
200057
200362
|
/***/ }),
|
|
200058
200363
|
|