@itwin/ecschema-rpcinterface-tests 3.0.0-dev.154 → 3.0.0-dev.159
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 +719 -532
- 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.157/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.157/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.157/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.157/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.157/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.157/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.157/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.157/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.157/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.157/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.157/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.157/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.157/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.157/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.157/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.157/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.157/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.157/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.157/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.157/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.157/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.157/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.157/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.157/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.157/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.
|
|
@@ -10518,9 +10518,9 @@ class ByteStream {
|
|
|
10518
10518
|
|
|
10519
10519
|
/***/ }),
|
|
10520
10520
|
|
|
10521
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
10521
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/Compare.js":
|
|
10522
10522
|
/*!********************************************************************************************************************************************!*\
|
|
10523
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
10523
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/Compare.js ***!
|
|
10524
10524
|
\********************************************************************************************************************************************/
|
|
10525
10525
|
/*! exports provided: compareWithTolerance, compareNumbers, compareBooleans, compareStrings, comparePossiblyUndefined, compareStringsOrUndefined, compareNumbersOrUndefined, compareBooleansOrUndefined, areEqualPossiblyUndefined */
|
|
10526
10526
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -10591,9 +10591,9 @@ function areEqualPossiblyUndefined(t, u, areEqual) {
|
|
|
10591
10591
|
|
|
10592
10592
|
/***/ }),
|
|
10593
10593
|
|
|
10594
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
10594
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/CompressedId64Set.js":
|
|
10595
10595
|
/*!******************************************************************************************************************************************************!*\
|
|
10596
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
10596
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/CompressedId64Set.js ***!
|
|
10597
10597
|
\******************************************************************************************************************************************************/
|
|
10598
10598
|
/*! exports provided: CompressedId64Set, OrderedId64Array, MutableCompressedId64Set */
|
|
10599
10599
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -10603,10 +10603,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10603
10603
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompressedId64Set", function() { return CompressedId64Set; });
|
|
10604
10604
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OrderedId64Array", function() { return OrderedId64Array; });
|
|
10605
10605
|
/* 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.
|
|
10606
|
+
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/Assert.js");
|
|
10607
|
+
/* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Id */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/Id.js");
|
|
10608
|
+
/* harmony import */ var _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OrderedId64Iterable */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/OrderedId64Iterable.js");
|
|
10609
|
+
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
|
|
10610
10610
|
/*---------------------------------------------------------------------------------------------
|
|
10611
10611
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
10612
10612
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -11034,9 +11034,9 @@ class MutableCompressedId64Set {
|
|
|
11034
11034
|
|
|
11035
11035
|
/***/ }),
|
|
11036
11036
|
|
|
11037
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
11037
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/Dictionary.js":
|
|
11038
11038
|
/*!***********************************************************************************************************************************************!*\
|
|
11039
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
11039
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/Dictionary.js ***!
|
|
11040
11040
|
\***********************************************************************************************************************************************/
|
|
11041
11041
|
/*! exports provided: Dictionary */
|
|
11042
11042
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -11044,7 +11044,7 @@ class MutableCompressedId64Set {
|
|
|
11044
11044
|
"use strict";
|
|
11045
11045
|
__webpack_require__.r(__webpack_exports__);
|
|
11046
11046
|
/* 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.
|
|
11047
|
+
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
|
|
11048
11048
|
/*---------------------------------------------------------------------------------------------
|
|
11049
11049
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
11050
11050
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -11248,9 +11248,9 @@ class Dictionary {
|
|
|
11248
11248
|
|
|
11249
11249
|
/***/ }),
|
|
11250
11250
|
|
|
11251
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
11251
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/Disposable.js":
|
|
11252
11252
|
/*!***********************************************************************************************************************************************!*\
|
|
11253
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
11253
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/Disposable.js ***!
|
|
11254
11254
|
\***********************************************************************************************************************************************/
|
|
11255
11255
|
/*! exports provided: isIDisposable, dispose, disposeArray, using, DisposableList */
|
|
11256
11256
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -11378,9 +11378,9 @@ class DisposableList {
|
|
|
11378
11378
|
|
|
11379
11379
|
/***/ }),
|
|
11380
11380
|
|
|
11381
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
11381
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/Id.js":
|
|
11382
11382
|
/*!***************************************************************************************************************************************!*\
|
|
11383
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
11383
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/Id.js ***!
|
|
11384
11384
|
\***************************************************************************************************************************************/
|
|
11385
11385
|
/*! exports provided: Id64, TransientIdSequence, Guid */
|
|
11386
11386
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -12005,9 +12005,9 @@ var Guid;
|
|
|
12005
12005
|
|
|
12006
12006
|
/***/ }),
|
|
12007
12007
|
|
|
12008
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12008
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/IndexMap.js":
|
|
12009
12009
|
/*!*********************************************************************************************************************************************!*\
|
|
12010
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12010
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/IndexMap.js ***!
|
|
12011
12011
|
\*********************************************************************************************************************************************/
|
|
12012
12012
|
/*! exports provided: IndexedValue, IndexMap */
|
|
12013
12013
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -12016,7 +12016,7 @@ var Guid;
|
|
|
12016
12016
|
__webpack_require__.r(__webpack_exports__);
|
|
12017
12017
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IndexedValue", function() { return IndexedValue; });
|
|
12018
12018
|
/* 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.
|
|
12019
|
+
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
|
|
12020
12020
|
/*---------------------------------------------------------------------------------------------
|
|
12021
12021
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
12022
12022
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -12107,9 +12107,9 @@ class IndexMap {
|
|
|
12107
12107
|
|
|
12108
12108
|
/***/ }),
|
|
12109
12109
|
|
|
12110
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12110
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/JsonSchema.js":
|
|
12111
12111
|
/*!***********************************************************************************************************************************************!*\
|
|
12112
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12112
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/JsonSchema.js ***!
|
|
12113
12113
|
\***********************************************************************************************************************************************/
|
|
12114
12114
|
/*! no exports provided */
|
|
12115
12115
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -12128,9 +12128,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12128
12128
|
|
|
12129
12129
|
/***/ }),
|
|
12130
12130
|
|
|
12131
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12131
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/JsonUtils.js":
|
|
12132
12132
|
/*!**********************************************************************************************************************************************!*\
|
|
12133
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12133
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/JsonUtils.js ***!
|
|
12134
12134
|
\**********************************************************************************************************************************************/
|
|
12135
12135
|
/*! exports provided: JsonUtils */
|
|
12136
12136
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -12272,9 +12272,9 @@ var JsonUtils;
|
|
|
12272
12272
|
|
|
12273
12273
|
/***/ }),
|
|
12274
12274
|
|
|
12275
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12275
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/LRUMap.js":
|
|
12276
12276
|
/*!*******************************************************************************************************************************************!*\
|
|
12277
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12277
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/LRUMap.js ***!
|
|
12278
12278
|
\*******************************************************************************************************************************************/
|
|
12279
12279
|
/*! exports provided: Entry, LRUCache, LRUMap, LRUDictionary */
|
|
12280
12280
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -12285,7 +12285,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12285
12285
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LRUCache", function() { return LRUCache; });
|
|
12286
12286
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LRUMap", function() { return LRUMap; });
|
|
12287
12287
|
/* 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.
|
|
12288
|
+
/* harmony import */ var _Dictionary__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Dictionary */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/Dictionary.js");
|
|
12289
12289
|
/*---------------------------------------------------------------------------------------------
|
|
12290
12290
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
12291
12291
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -12616,9 +12616,9 @@ class LRUDictionary extends LRUCache {
|
|
|
12616
12616
|
|
|
12617
12617
|
/***/ }),
|
|
12618
12618
|
|
|
12619
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12619
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/Logger.js":
|
|
12620
12620
|
/*!*******************************************************************************************************************************************!*\
|
|
12621
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12621
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/Logger.js ***!
|
|
12622
12622
|
\*******************************************************************************************************************************************/
|
|
12623
12623
|
/*! exports provided: LogLevel, Logger, PerfLogger */
|
|
12624
12624
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -12628,8 +12628,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12628
12628
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LogLevel", function() { return LogLevel; });
|
|
12629
12629
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Logger", function() { return Logger; });
|
|
12630
12630
|
/* 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.
|
|
12631
|
+
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js");
|
|
12632
|
+
/* harmony import */ var _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BentleyLoggerCategory */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/BentleyLoggerCategory.js");
|
|
12633
12633
|
/*---------------------------------------------------------------------------------------------
|
|
12634
12634
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
12635
12635
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -12883,9 +12883,9 @@ PerfLogger._severity = LogLevel.Info;
|
|
|
12883
12883
|
|
|
12884
12884
|
/***/ }),
|
|
12885
12885
|
|
|
12886
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12886
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/ObservableSet.js":
|
|
12887
12887
|
/*!**************************************************************************************************************************************************!*\
|
|
12888
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12888
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/ObservableSet.js ***!
|
|
12889
12889
|
\**************************************************************************************************************************************************/
|
|
12890
12890
|
/*! exports provided: ObservableSet */
|
|
12891
12891
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -12893,7 +12893,7 @@ PerfLogger._severity = LogLevel.Info;
|
|
|
12893
12893
|
"use strict";
|
|
12894
12894
|
__webpack_require__.r(__webpack_exports__);
|
|
12895
12895
|
/* 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.
|
|
12896
|
+
/* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeEvent */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/BeEvent.js");
|
|
12897
12897
|
/*---------------------------------------------------------------------------------------------
|
|
12898
12898
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
12899
12899
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -12945,9 +12945,9 @@ class ObservableSet extends Set {
|
|
|
12945
12945
|
|
|
12946
12946
|
/***/ }),
|
|
12947
12947
|
|
|
12948
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12948
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/OneAtATimeAction.js":
|
|
12949
12949
|
/*!*****************************************************************************************************************************************************!*\
|
|
12950
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
12950
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/OneAtATimeAction.js ***!
|
|
12951
12951
|
\*****************************************************************************************************************************************************/
|
|
12952
12952
|
/*! exports provided: AbandonedError, OneAtATimeAction */
|
|
12953
12953
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -12956,7 +12956,7 @@ class ObservableSet extends Set {
|
|
|
12956
12956
|
__webpack_require__.r(__webpack_exports__);
|
|
12957
12957
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AbandonedError", function() { return AbandonedError; });
|
|
12958
12958
|
/* 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.
|
|
12959
|
+
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js");
|
|
12960
12960
|
/*---------------------------------------------------------------------------------------------
|
|
12961
12961
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
12962
12962
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -13047,9 +13047,9 @@ class OneAtATimeAction {
|
|
|
13047
13047
|
|
|
13048
13048
|
/***/ }),
|
|
13049
13049
|
|
|
13050
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13050
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/OrderedId64Iterable.js":
|
|
13051
13051
|
/*!********************************************************************************************************************************************************!*\
|
|
13052
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13052
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/OrderedId64Iterable.js ***!
|
|
13053
13053
|
\********************************************************************************************************************************************************/
|
|
13054
13054
|
/*! exports provided: OrderedId64Iterable */
|
|
13055
13055
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -13057,7 +13057,7 @@ class OneAtATimeAction {
|
|
|
13057
13057
|
"use strict";
|
|
13058
13058
|
__webpack_require__.r(__webpack_exports__);
|
|
13059
13059
|
/* 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.
|
|
13060
|
+
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/Assert.js");
|
|
13061
13061
|
/*---------------------------------------------------------------------------------------------
|
|
13062
13062
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
13063
13063
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -13294,9 +13294,9 @@ var OrderedId64Iterable;
|
|
|
13294
13294
|
|
|
13295
13295
|
/***/ }),
|
|
13296
13296
|
|
|
13297
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13297
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/OrderedSet.js":
|
|
13298
13298
|
/*!***********************************************************************************************************************************************!*\
|
|
13299
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13299
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/OrderedSet.js ***!
|
|
13300
13300
|
\***********************************************************************************************************************************************/
|
|
13301
13301
|
/*! exports provided: ReadonlyOrderedSet, OrderedSet */
|
|
13302
13302
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -13305,7 +13305,7 @@ var OrderedId64Iterable;
|
|
|
13305
13305
|
__webpack_require__.r(__webpack_exports__);
|
|
13306
13306
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReadonlyOrderedSet", function() { return ReadonlyOrderedSet; });
|
|
13307
13307
|
/* 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.
|
|
13308
|
+
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
|
|
13309
13309
|
/*---------------------------------------------------------------------------------------------
|
|
13310
13310
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
13311
13311
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -13369,9 +13369,9 @@ class OrderedSet extends ReadonlyOrderedSet {
|
|
|
13369
13369
|
|
|
13370
13370
|
/***/ }),
|
|
13371
13371
|
|
|
13372
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13372
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/PriorityQueue.js":
|
|
13373
13373
|
/*!**************************************************************************************************************************************************!*\
|
|
13374
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13374
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/PriorityQueue.js ***!
|
|
13375
13375
|
\**************************************************************************************************************************************************/
|
|
13376
13376
|
/*! exports provided: PriorityQueue */
|
|
13377
13377
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -13379,7 +13379,7 @@ class OrderedSet extends ReadonlyOrderedSet {
|
|
|
13379
13379
|
"use strict";
|
|
13380
13380
|
__webpack_require__.r(__webpack_exports__);
|
|
13381
13381
|
/* 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.
|
|
13382
|
+
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
|
|
13383
13383
|
/*---------------------------------------------------------------------------------------------
|
|
13384
13384
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
13385
13385
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -13520,9 +13520,9 @@ class PriorityQueue {
|
|
|
13520
13520
|
|
|
13521
13521
|
/***/ }),
|
|
13522
13522
|
|
|
13523
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13523
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/ProcessDetector.js":
|
|
13524
13524
|
/*!****************************************************************************************************************************************************!*\
|
|
13525
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13525
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/ProcessDetector.js ***!
|
|
13526
13526
|
\****************************************************************************************************************************************************/
|
|
13527
13527
|
/*! exports provided: ProcessDetector */
|
|
13528
13528
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -13601,9 +13601,9 @@ class ProcessDetector {
|
|
|
13601
13601
|
|
|
13602
13602
|
/***/ }),
|
|
13603
13603
|
|
|
13604
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13604
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js":
|
|
13605
13605
|
/*!************************************************************************************************************************************************!*\
|
|
13606
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13606
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js ***!
|
|
13607
13607
|
\************************************************************************************************************************************************/
|
|
13608
13608
|
/*! exports provided: shallowClone, lowerBound, DuplicatePolicy, ReadonlySortedArray, SortedArray */
|
|
13609
13609
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -13913,9 +13913,9 @@ class SortedArray extends ReadonlySortedArray {
|
|
|
13913
13913
|
|
|
13914
13914
|
/***/ }),
|
|
13915
13915
|
|
|
13916
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13916
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/StringUtils.js":
|
|
13917
13917
|
/*!************************************************************************************************************************************************!*\
|
|
13918
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
13918
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/StringUtils.js ***!
|
|
13919
13919
|
\************************************************************************************************************************************************/
|
|
13920
13920
|
/*! exports provided: utf8ToStringPolyfill, utf8ToString, base64StringToUint8Array */
|
|
13921
13921
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -14069,9 +14069,9 @@ function base64StringToUint8Array(base64) {
|
|
|
14069
14069
|
|
|
14070
14070
|
/***/ }),
|
|
14071
14071
|
|
|
14072
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14072
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/Time.js":
|
|
14073
14073
|
/*!*****************************************************************************************************************************************!*\
|
|
14074
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14074
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/Time.js ***!
|
|
14075
14075
|
\*****************************************************************************************************************************************/
|
|
14076
14076
|
/*! exports provided: BeDuration, BeTimePoint, StopWatch */
|
|
14077
14077
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -14225,9 +14225,9 @@ class StopWatch {
|
|
|
14225
14225
|
|
|
14226
14226
|
/***/ }),
|
|
14227
14227
|
|
|
14228
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14228
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/UnexpectedErrors.js":
|
|
14229
14229
|
/*!*****************************************************************************************************************************************************!*\
|
|
14230
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14230
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/UnexpectedErrors.js ***!
|
|
14231
14231
|
\*****************************************************************************************************************************************************/
|
|
14232
14232
|
/*! exports provided: UnexpectedErrors */
|
|
14233
14233
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -14235,7 +14235,7 @@ class StopWatch {
|
|
|
14235
14235
|
"use strict";
|
|
14236
14236
|
__webpack_require__.r(__webpack_exports__);
|
|
14237
14237
|
/* 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.
|
|
14238
|
+
/* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Logger */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/Logger.js");
|
|
14239
14239
|
/*---------------------------------------------------------------------------------------------
|
|
14240
14240
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
14241
14241
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -14301,9 +14301,9 @@ UnexpectedErrors._handler = _a.errorLog; // default to error logging
|
|
|
14301
14301
|
|
|
14302
14302
|
/***/ }),
|
|
14303
14303
|
|
|
14304
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14304
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/UtilityTypes.js":
|
|
14305
14305
|
/*!*************************************************************************************************************************************************!*\
|
|
14306
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14306
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/UtilityTypes.js ***!
|
|
14307
14307
|
\*************************************************************************************************************************************************/
|
|
14308
14308
|
/*! exports provided: isInstanceOf, asInstanceOf */
|
|
14309
14309
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -14337,30 +14337,30 @@ function asInstanceOf(obj, constructor) {
|
|
|
14337
14337
|
|
|
14338
14338
|
/***/ }),
|
|
14339
14339
|
|
|
14340
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14340
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js":
|
|
14341
14341
|
/*!*************************************************************************************************************************************************!*\
|
|
14342
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14342
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js ***!
|
|
14343
14343
|
\*************************************************************************************************************************************************/
|
|
14344
14344
|
/*! 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
14345
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
14346
14346
|
|
|
14347
14347
|
"use strict";
|
|
14348
14348
|
__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.
|
|
14349
|
+
/* harmony import */ var _AccessToken__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AccessToken */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/AccessToken.js");
|
|
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.157/node_modules/@itwin/core-bentley/lib/esm/Assert.js");
|
|
14351
14351
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "assert", function() { return _Assert__WEBPACK_IMPORTED_MODULE_1__["assert"]; });
|
|
14352
14352
|
|
|
14353
|
-
/* harmony import */ var _AsyncMutex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AsyncMutex */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14353
|
+
/* harmony import */ var _AsyncMutex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AsyncMutex */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/AsyncMutex.js");
|
|
14354
14354
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "AsyncMutex", function() { return _AsyncMutex__WEBPACK_IMPORTED_MODULE_2__["AsyncMutex"]; });
|
|
14355
14355
|
|
|
14356
|
-
/* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./BeEvent */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14356
|
+
/* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./BeEvent */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/BeEvent.js");
|
|
14357
14357
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BeEvent", function() { return _BeEvent__WEBPACK_IMPORTED_MODULE_3__["BeEvent"]; });
|
|
14358
14358
|
|
|
14359
14359
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BeUiEvent", function() { return _BeEvent__WEBPACK_IMPORTED_MODULE_3__["BeUiEvent"]; });
|
|
14360
14360
|
|
|
14361
14361
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BeEventList", function() { return _BeEvent__WEBPACK_IMPORTED_MODULE_3__["BeEventList"]; });
|
|
14362
14362
|
|
|
14363
|
-
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14363
|
+
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js");
|
|
14364
14364
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BentleyStatus", function() { return _BentleyError__WEBPACK_IMPORTED_MODULE_4__["BentleyStatus"]; });
|
|
14365
14365
|
|
|
14366
14366
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "IModelStatus", function() { return _BentleyError__WEBPACK_IMPORTED_MODULE_4__["IModelStatus"]; });
|
|
@@ -14383,20 +14383,20 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14383
14383
|
|
|
14384
14384
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BentleyError", function() { return _BentleyError__WEBPACK_IMPORTED_MODULE_4__["BentleyError"]; });
|
|
14385
14385
|
|
|
14386
|
-
/* harmony import */ var _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./BentleyLoggerCategory */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14386
|
+
/* harmony import */ var _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./BentleyLoggerCategory */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/BentleyLoggerCategory.js");
|
|
14387
14387
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BentleyLoggerCategory", function() { return _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_5__["BentleyLoggerCategory"]; });
|
|
14388
14388
|
|
|
14389
|
-
/* harmony import */ var _BeSQLite__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./BeSQLite */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14389
|
+
/* harmony import */ var _BeSQLite__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./BeSQLite */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/BeSQLite.js");
|
|
14390
14390
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "OpenMode", function() { return _BeSQLite__WEBPACK_IMPORTED_MODULE_6__["OpenMode"]; });
|
|
14391
14391
|
|
|
14392
14392
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DbOpcode", function() { return _BeSQLite__WEBPACK_IMPORTED_MODULE_6__["DbOpcode"]; });
|
|
14393
14393
|
|
|
14394
14394
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DbResult", function() { return _BeSQLite__WEBPACK_IMPORTED_MODULE_6__["DbResult"]; });
|
|
14395
14395
|
|
|
14396
|
-
/* harmony import */ var _ByteStream__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ByteStream */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14396
|
+
/* harmony import */ var _ByteStream__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ByteStream */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/ByteStream.js");
|
|
14397
14397
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ByteStream", function() { return _ByteStream__WEBPACK_IMPORTED_MODULE_7__["ByteStream"]; });
|
|
14398
14398
|
|
|
14399
|
-
/* harmony import */ var _Compare__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Compare */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14399
|
+
/* harmony import */ var _Compare__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Compare */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/Compare.js");
|
|
14400
14400
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "compareWithTolerance", function() { return _Compare__WEBPACK_IMPORTED_MODULE_8__["compareWithTolerance"]; });
|
|
14401
14401
|
|
|
14402
14402
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "compareNumbers", function() { return _Compare__WEBPACK_IMPORTED_MODULE_8__["compareNumbers"]; });
|
|
@@ -14415,17 +14415,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14415
14415
|
|
|
14416
14416
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "areEqualPossiblyUndefined", function() { return _Compare__WEBPACK_IMPORTED_MODULE_8__["areEqualPossiblyUndefined"]; });
|
|
14417
14417
|
|
|
14418
|
-
/* harmony import */ var _CompressedId64Set__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./CompressedId64Set */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14418
|
+
/* harmony import */ var _CompressedId64Set__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./CompressedId64Set */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/CompressedId64Set.js");
|
|
14419
14419
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CompressedId64Set", function() { return _CompressedId64Set__WEBPACK_IMPORTED_MODULE_9__["CompressedId64Set"]; });
|
|
14420
14420
|
|
|
14421
14421
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "OrderedId64Array", function() { return _CompressedId64Set__WEBPACK_IMPORTED_MODULE_9__["OrderedId64Array"]; });
|
|
14422
14422
|
|
|
14423
14423
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MutableCompressedId64Set", function() { return _CompressedId64Set__WEBPACK_IMPORTED_MODULE_9__["MutableCompressedId64Set"]; });
|
|
14424
14424
|
|
|
14425
|
-
/* harmony import */ var _Dictionary__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./Dictionary */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14425
|
+
/* harmony import */ var _Dictionary__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./Dictionary */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/Dictionary.js");
|
|
14426
14426
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Dictionary", function() { return _Dictionary__WEBPACK_IMPORTED_MODULE_10__["Dictionary"]; });
|
|
14427
14427
|
|
|
14428
|
-
/* harmony import */ var _Disposable__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./Disposable */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14428
|
+
/* harmony import */ var _Disposable__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./Disposable */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/Disposable.js");
|
|
14429
14429
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isIDisposable", function() { return _Disposable__WEBPACK_IMPORTED_MODULE_11__["isIDisposable"]; });
|
|
14430
14430
|
|
|
14431
14431
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "dispose", function() { return _Disposable__WEBPACK_IMPORTED_MODULE_11__["dispose"]; });
|
|
@@ -14436,30 +14436,30 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14436
14436
|
|
|
14437
14437
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DisposableList", function() { return _Disposable__WEBPACK_IMPORTED_MODULE_11__["DisposableList"]; });
|
|
14438
14438
|
|
|
14439
|
-
/* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Id */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14439
|
+
/* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Id */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/Id.js");
|
|
14440
14440
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Id64", function() { return _Id__WEBPACK_IMPORTED_MODULE_12__["Id64"]; });
|
|
14441
14441
|
|
|
14442
14442
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TransientIdSequence", function() { return _Id__WEBPACK_IMPORTED_MODULE_12__["TransientIdSequence"]; });
|
|
14443
14443
|
|
|
14444
14444
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Guid", function() { return _Id__WEBPACK_IMPORTED_MODULE_12__["Guid"]; });
|
|
14445
14445
|
|
|
14446
|
-
/* harmony import */ var _IndexMap__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./IndexMap */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14446
|
+
/* harmony import */ var _IndexMap__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./IndexMap */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/IndexMap.js");
|
|
14447
14447
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "IndexedValue", function() { return _IndexMap__WEBPACK_IMPORTED_MODULE_13__["IndexedValue"]; });
|
|
14448
14448
|
|
|
14449
14449
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "IndexMap", function() { return _IndexMap__WEBPACK_IMPORTED_MODULE_13__["IndexMap"]; });
|
|
14450
14450
|
|
|
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.
|
|
14451
|
+
/* harmony import */ var _JsonSchema__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./JsonSchema */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/JsonSchema.js");
|
|
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.157/node_modules/@itwin/core-bentley/lib/esm/JsonUtils.js");
|
|
14453
14453
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonUtils", function() { return _JsonUtils__WEBPACK_IMPORTED_MODULE_15__["JsonUtils"]; });
|
|
14454
14454
|
|
|
14455
|
-
/* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./Logger */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14455
|
+
/* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./Logger */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/Logger.js");
|
|
14456
14456
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LogLevel", function() { return _Logger__WEBPACK_IMPORTED_MODULE_16__["LogLevel"]; });
|
|
14457
14457
|
|
|
14458
14458
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Logger", function() { return _Logger__WEBPACK_IMPORTED_MODULE_16__["Logger"]; });
|
|
14459
14459
|
|
|
14460
14460
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PerfLogger", function() { return _Logger__WEBPACK_IMPORTED_MODULE_16__["PerfLogger"]; });
|
|
14461
14461
|
|
|
14462
|
-
/* harmony import */ var _LRUMap__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./LRUMap */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14462
|
+
/* harmony import */ var _LRUMap__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./LRUMap */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/LRUMap.js");
|
|
14463
14463
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Entry", function() { return _LRUMap__WEBPACK_IMPORTED_MODULE_17__["Entry"]; });
|
|
14464
14464
|
|
|
14465
14465
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LRUCache", function() { return _LRUMap__WEBPACK_IMPORTED_MODULE_17__["LRUCache"]; });
|
|
@@ -14468,32 +14468,32 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14468
14468
|
|
|
14469
14469
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LRUDictionary", function() { return _LRUMap__WEBPACK_IMPORTED_MODULE_17__["LRUDictionary"]; });
|
|
14470
14470
|
|
|
14471
|
-
/* harmony import */ var _ObservableSet__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./ObservableSet */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14471
|
+
/* harmony import */ var _ObservableSet__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./ObservableSet */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/ObservableSet.js");
|
|
14472
14472
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ObservableSet", function() { return _ObservableSet__WEBPACK_IMPORTED_MODULE_18__["ObservableSet"]; });
|
|
14473
14473
|
|
|
14474
|
-
/* harmony import */ var _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./OneAtATimeAction */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14474
|
+
/* harmony import */ var _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./OneAtATimeAction */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/OneAtATimeAction.js");
|
|
14475
14475
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "AbandonedError", function() { return _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_19__["AbandonedError"]; });
|
|
14476
14476
|
|
|
14477
14477
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "OneAtATimeAction", function() { return _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_19__["OneAtATimeAction"]; });
|
|
14478
14478
|
|
|
14479
|
-
/* harmony import */ var _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./OrderedId64Iterable */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14479
|
+
/* harmony import */ var _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./OrderedId64Iterable */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/OrderedId64Iterable.js");
|
|
14480
14480
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "OrderedId64Iterable", function() { return _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_20__["OrderedId64Iterable"]; });
|
|
14481
14481
|
|
|
14482
|
-
/* harmony import */ var _OrderedSet__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./OrderedSet */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14482
|
+
/* harmony import */ var _OrderedSet__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./OrderedSet */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/OrderedSet.js");
|
|
14483
14483
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ReadonlyOrderedSet", function() { return _OrderedSet__WEBPACK_IMPORTED_MODULE_21__["ReadonlyOrderedSet"]; });
|
|
14484
14484
|
|
|
14485
14485
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "OrderedSet", function() { return _OrderedSet__WEBPACK_IMPORTED_MODULE_21__["OrderedSet"]; });
|
|
14486
14486
|
|
|
14487
|
-
/* harmony import */ var _partitionArray__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./partitionArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14487
|
+
/* harmony import */ var _partitionArray__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./partitionArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/partitionArray.js");
|
|
14488
14488
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "partitionArray", function() { return _partitionArray__WEBPACK_IMPORTED_MODULE_22__["partitionArray"]; });
|
|
14489
14489
|
|
|
14490
|
-
/* harmony import */ var _PriorityQueue__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./PriorityQueue */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14490
|
+
/* harmony import */ var _PriorityQueue__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./PriorityQueue */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/PriorityQueue.js");
|
|
14491
14491
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PriorityQueue", function() { return _PriorityQueue__WEBPACK_IMPORTED_MODULE_23__["PriorityQueue"]; });
|
|
14492
14492
|
|
|
14493
|
-
/* harmony import */ var _ProcessDetector__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./ProcessDetector */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14493
|
+
/* harmony import */ var _ProcessDetector__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./ProcessDetector */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/ProcessDetector.js");
|
|
14494
14494
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProcessDetector", function() { return _ProcessDetector__WEBPACK_IMPORTED_MODULE_24__["ProcessDetector"]; });
|
|
14495
14495
|
|
|
14496
|
-
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14496
|
+
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
|
|
14497
14497
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "shallowClone", function() { return _SortedArray__WEBPACK_IMPORTED_MODULE_25__["shallowClone"]; });
|
|
14498
14498
|
|
|
14499
14499
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "lowerBound", function() { return _SortedArray__WEBPACK_IMPORTED_MODULE_25__["lowerBound"]; });
|
|
@@ -14504,24 +14504,24 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14504
14504
|
|
|
14505
14505
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SortedArray", function() { return _SortedArray__WEBPACK_IMPORTED_MODULE_25__["SortedArray"]; });
|
|
14506
14506
|
|
|
14507
|
-
/* harmony import */ var _StringUtils__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./StringUtils */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14507
|
+
/* harmony import */ var _StringUtils__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./StringUtils */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/StringUtils.js");
|
|
14508
14508
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "utf8ToStringPolyfill", function() { return _StringUtils__WEBPACK_IMPORTED_MODULE_26__["utf8ToStringPolyfill"]; });
|
|
14509
14509
|
|
|
14510
14510
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "utf8ToString", function() { return _StringUtils__WEBPACK_IMPORTED_MODULE_26__["utf8ToString"]; });
|
|
14511
14511
|
|
|
14512
14512
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "base64StringToUint8Array", function() { return _StringUtils__WEBPACK_IMPORTED_MODULE_26__["base64StringToUint8Array"]; });
|
|
14513
14513
|
|
|
14514
|
-
/* harmony import */ var _Time__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./Time */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14514
|
+
/* harmony import */ var _Time__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./Time */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/Time.js");
|
|
14515
14515
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BeDuration", function() { return _Time__WEBPACK_IMPORTED_MODULE_27__["BeDuration"]; });
|
|
14516
14516
|
|
|
14517
14517
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BeTimePoint", function() { return _Time__WEBPACK_IMPORTED_MODULE_27__["BeTimePoint"]; });
|
|
14518
14518
|
|
|
14519
14519
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "StopWatch", function() { return _Time__WEBPACK_IMPORTED_MODULE_27__["StopWatch"]; });
|
|
14520
14520
|
|
|
14521
|
-
/* harmony import */ var _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./UnexpectedErrors */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14521
|
+
/* harmony import */ var _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./UnexpectedErrors */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/UnexpectedErrors.js");
|
|
14522
14522
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UnexpectedErrors", function() { return _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_28__["UnexpectedErrors"]; });
|
|
14523
14523
|
|
|
14524
|
-
/* harmony import */ var _UtilityTypes__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./UtilityTypes */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14524
|
+
/* harmony import */ var _UtilityTypes__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./UtilityTypes */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/UtilityTypes.js");
|
|
14525
14525
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isInstanceOf", function() { return _UtilityTypes__WEBPACK_IMPORTED_MODULE_29__["isInstanceOf"]; });
|
|
14526
14526
|
|
|
14527
14527
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "asInstanceOf", function() { return _UtilityTypes__WEBPACK_IMPORTED_MODULE_29__["asInstanceOf"]; });
|
|
@@ -14603,9 +14603,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14603
14603
|
|
|
14604
14604
|
/***/ }),
|
|
14605
14605
|
|
|
14606
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14606
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/partitionArray.js":
|
|
14607
14607
|
/*!***************************************************************************************************************************************************!*\
|
|
14608
|
-
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.
|
|
14608
|
+
!*** D:/vsts_a/460/s/common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/partitionArray.js ***!
|
|
14609
14609
|
\***************************************************************************************************************************************************/
|
|
14610
14610
|
/*! exports provided: partitionArray */
|
|
14611
14611
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -14671,7 +14671,7 @@ function partitionArray(array, criterion) {
|
|
|
14671
14671
|
*--------------------------------------------------------------------------------------------*/
|
|
14672
14672
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14673
14673
|
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.
|
|
14674
|
+
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@3.0.0-dev.157/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js");
|
|
14675
14675
|
/**
|
|
14676
14676
|
* Basic FrontendAuthorizationClient to use with an already created access token.
|
|
14677
14677
|
* @internal
|
|
@@ -14811,7 +14811,7 @@ exports.getAccessTokenFromBackend = exports.getTokenCallbackName = void 0;
|
|
|
14811
14811
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
14812
14812
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
14813
14813
|
*--------------------------------------------------------------------------------------------*/
|
|
14814
|
-
const CallbackUtils_1 = __webpack_require__(/*! @itwin/certa/lib/utils/CallbackUtils */ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.0.0-dev.
|
|
14814
|
+
const CallbackUtils_1 = __webpack_require__(/*! @itwin/certa/lib/utils/CallbackUtils */ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.0.0-dev.157/node_modules/@itwin/certa/lib/utils/CallbackUtils.js");
|
|
14815
14815
|
// Shared by both the frontend and backend side of the tests
|
|
14816
14816
|
exports.getTokenCallbackName = "getToken";
|
|
14817
14817
|
async function getAccessTokenFromBackend(user, oidcConfig) {
|
|
@@ -87435,7 +87435,7 @@ WhiteOnWhiteReversalSettings._ignore = new WhiteOnWhiteReversalSettings(false);
|
|
|
87435
87435
|
/*!**********************************************************!*\
|
|
87436
87436
|
!*** D:/vsts_a/460/s/core/common/lib/esm/core-common.js ***!
|
|
87437
87437
|
\**********************************************************/
|
|
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,
|
|
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, GltfHeader, 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
87439
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
87440
87440
|
|
|
87441
87441
|
"use strict";
|
|
@@ -88218,16 +88218,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
88218
88218
|
|
|
88219
88219
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfV2ChunkTypes", function() { return _tile_GltfTileIO__WEBPACK_IMPORTED_MODULE_139__["GltfV2ChunkTypes"]; });
|
|
88220
88220
|
|
|
88221
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfMeshMode", function() { return _tile_GltfTileIO__WEBPACK_IMPORTED_MODULE_139__["GltfMeshMode"]; });
|
|
88222
|
-
|
|
88223
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfDataType", function() { return _tile_GltfTileIO__WEBPACK_IMPORTED_MODULE_139__["GltfDataType"]; });
|
|
88224
|
-
|
|
88225
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfConstants", function() { return _tile_GltfTileIO__WEBPACK_IMPORTED_MODULE_139__["GltfConstants"]; });
|
|
88226
|
-
|
|
88227
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfBufferData", function() { return _tile_GltfTileIO__WEBPACK_IMPORTED_MODULE_139__["GltfBufferData"]; });
|
|
88228
|
-
|
|
88229
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfBufferView", function() { return _tile_GltfTileIO__WEBPACK_IMPORTED_MODULE_139__["GltfBufferView"]; });
|
|
88230
|
-
|
|
88231
88221
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfHeader", function() { return _tile_GltfTileIO__WEBPACK_IMPORTED_MODULE_139__["GltfHeader"]; });
|
|
88232
88222
|
|
|
88233
88223
|
/* harmony import */ var _tile_I3dmTileIO__WEBPACK_IMPORTED_MODULE_140__ = __webpack_require__(/*! ./tile/I3dmTileIO */ "../../core/common/lib/esm/tile/I3dmTileIO.js");
|
|
@@ -101294,18 +101284,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
101294
101284
|
/*!**************************************************************!*\
|
|
101295
101285
|
!*** D:/vsts_a/460/s/core/common/lib/esm/tile/GltfTileIO.js ***!
|
|
101296
101286
|
\**************************************************************/
|
|
101297
|
-
/*! exports provided: GltfVersions, GltfV2ChunkTypes,
|
|
101287
|
+
/*! exports provided: GltfVersions, GltfV2ChunkTypes, GltfHeader */
|
|
101298
101288
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
101299
101289
|
|
|
101300
101290
|
"use strict";
|
|
101301
101291
|
__webpack_require__.r(__webpack_exports__);
|
|
101302
101292
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GltfVersions", function() { return GltfVersions; });
|
|
101303
101293
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GltfV2ChunkTypes", function() { return GltfV2ChunkTypes; });
|
|
101304
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GltfMeshMode", function() { return GltfMeshMode; });
|
|
101305
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GltfDataType", function() { return GltfDataType; });
|
|
101306
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GltfConstants", function() { return GltfConstants; });
|
|
101307
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GltfBufferData", function() { return GltfBufferData; });
|
|
101308
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GltfBufferView", function() { return GltfBufferView; });
|
|
101309
101294
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GltfHeader", function() { return GltfHeader; });
|
|
101310
101295
|
/* harmony import */ var _TileIO__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TileIO */ "../../core/common/lib/esm/tile/TileIO.js");
|
|
101311
101296
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -101332,123 +101317,6 @@ var GltfV2ChunkTypes;
|
|
|
101332
101317
|
GltfV2ChunkTypes[GltfV2ChunkTypes["JSON"] = 1313821514] = "JSON";
|
|
101333
101318
|
GltfV2ChunkTypes[GltfV2ChunkTypes["Binary"] = 5130562] = "Binary";
|
|
101334
101319
|
})(GltfV2ChunkTypes || (GltfV2ChunkTypes = {}));
|
|
101335
|
-
/** @internal */
|
|
101336
|
-
var GltfMeshMode;
|
|
101337
|
-
(function (GltfMeshMode) {
|
|
101338
|
-
GltfMeshMode[GltfMeshMode["Points"] = 0] = "Points";
|
|
101339
|
-
GltfMeshMode[GltfMeshMode["Lines"] = 1] = "Lines";
|
|
101340
|
-
GltfMeshMode[GltfMeshMode["LineStrip"] = 3] = "LineStrip";
|
|
101341
|
-
GltfMeshMode[GltfMeshMode["Triangles"] = 4] = "Triangles";
|
|
101342
|
-
})(GltfMeshMode || (GltfMeshMode = {}));
|
|
101343
|
-
/** @internal */
|
|
101344
|
-
var GltfDataType;
|
|
101345
|
-
(function (GltfDataType) {
|
|
101346
|
-
GltfDataType[GltfDataType["SignedByte"] = 5120] = "SignedByte";
|
|
101347
|
-
GltfDataType[GltfDataType["UnsignedByte"] = 5121] = "UnsignedByte";
|
|
101348
|
-
GltfDataType[GltfDataType["SignedShort"] = 5122] = "SignedShort";
|
|
101349
|
-
GltfDataType[GltfDataType["UnsignedShort"] = 5123] = "UnsignedShort";
|
|
101350
|
-
GltfDataType[GltfDataType["UInt32"] = 5125] = "UInt32";
|
|
101351
|
-
GltfDataType[GltfDataType["Float"] = 5126] = "Float";
|
|
101352
|
-
GltfDataType[GltfDataType["Rgb"] = 6407] = "Rgb";
|
|
101353
|
-
GltfDataType[GltfDataType["Rgba"] = 6408] = "Rgba";
|
|
101354
|
-
GltfDataType[GltfDataType["IntVec2"] = 35667] = "IntVec2";
|
|
101355
|
-
GltfDataType[GltfDataType["IntVec3"] = 35668] = "IntVec3";
|
|
101356
|
-
GltfDataType[GltfDataType["FloatVec2"] = 35664] = "FloatVec2";
|
|
101357
|
-
GltfDataType[GltfDataType["FloatVec3"] = 35665] = "FloatVec3";
|
|
101358
|
-
GltfDataType[GltfDataType["FloatVec4"] = 35666] = "FloatVec4";
|
|
101359
|
-
GltfDataType[GltfDataType["FloatMat3"] = 35675] = "FloatMat3";
|
|
101360
|
-
GltfDataType[GltfDataType["FloatMat4"] = 35676] = "FloatMat4";
|
|
101361
|
-
GltfDataType[GltfDataType["Sampler2d"] = 35678] = "Sampler2d";
|
|
101362
|
-
})(GltfDataType || (GltfDataType = {}));
|
|
101363
|
-
/** @internal */
|
|
101364
|
-
var GltfConstants;
|
|
101365
|
-
(function (GltfConstants) {
|
|
101366
|
-
GltfConstants[GltfConstants["CullFace"] = 2884] = "CullFace";
|
|
101367
|
-
GltfConstants[GltfConstants["DepthTest"] = 2929] = "DepthTest";
|
|
101368
|
-
GltfConstants[GltfConstants["Nearest"] = 9728] = "Nearest";
|
|
101369
|
-
GltfConstants[GltfConstants["Linear"] = 9729] = "Linear";
|
|
101370
|
-
GltfConstants[GltfConstants["LinearMipmapLinear"] = 9987] = "LinearMipmapLinear";
|
|
101371
|
-
GltfConstants[GltfConstants["ClampToEdge"] = 33071] = "ClampToEdge";
|
|
101372
|
-
GltfConstants[GltfConstants["ArrayBuffer"] = 34962] = "ArrayBuffer";
|
|
101373
|
-
GltfConstants[GltfConstants["ElementArrayBuffer"] = 34963] = "ElementArrayBuffer";
|
|
101374
|
-
GltfConstants[GltfConstants["FragmentShader"] = 35632] = "FragmentShader";
|
|
101375
|
-
GltfConstants[GltfConstants["VertexShader"] = 35633] = "VertexShader";
|
|
101376
|
-
})(GltfConstants || (GltfConstants = {}));
|
|
101377
|
-
/**
|
|
101378
|
-
* A chunk of binary data exposed as a typed array.
|
|
101379
|
-
* The count member indicates how many elements exist. This may be less than this.buffer.length due to padding added to the
|
|
101380
|
-
* binary stream to ensure correct alignment.
|
|
101381
|
-
* @internal
|
|
101382
|
-
*/
|
|
101383
|
-
class GltfBufferData {
|
|
101384
|
-
constructor(buffer, count) {
|
|
101385
|
-
this.buffer = buffer;
|
|
101386
|
-
this.count = count;
|
|
101387
|
-
}
|
|
101388
|
-
/**
|
|
101389
|
-
* Create a GltfBufferData of the desired type. The actual type may differ from the desired type - for example, small 32-bit integers
|
|
101390
|
-
* may be represented as 8-bit or 16-bit integers instead.
|
|
101391
|
-
* If the actual data type is not convertible to the desired type, this function returns undefined.
|
|
101392
|
-
*/
|
|
101393
|
-
static create(bytes, actualType, expectedType, count) {
|
|
101394
|
-
if (expectedType !== actualType) {
|
|
101395
|
-
// Some data is stored in smaller data types to save space if no values exceed the maximum of the smaller type.
|
|
101396
|
-
switch (expectedType) {
|
|
101397
|
-
case GltfDataType.Float:
|
|
101398
|
-
case GltfDataType.UnsignedByte:
|
|
101399
|
-
return undefined;
|
|
101400
|
-
case GltfDataType.UnsignedShort:
|
|
101401
|
-
if (GltfDataType.UnsignedByte !== actualType)
|
|
101402
|
-
return undefined;
|
|
101403
|
-
break;
|
|
101404
|
-
case GltfDataType.UInt32:
|
|
101405
|
-
if (GltfDataType.UnsignedByte !== actualType && GltfDataType.UnsignedShort !== actualType)
|
|
101406
|
-
return undefined;
|
|
101407
|
-
break;
|
|
101408
|
-
}
|
|
101409
|
-
}
|
|
101410
|
-
const data = this.createDataBuffer(bytes, actualType);
|
|
101411
|
-
return undefined !== data ? new GltfBufferData(data, count) : undefined;
|
|
101412
|
-
}
|
|
101413
|
-
static createDataBuffer(bytes, actualType) {
|
|
101414
|
-
// NB: Endianness of typed array data is determined by the 'platform byte order'. Actual data is always little-endian.
|
|
101415
|
-
// We are assuming little-endian platform. If we find a big-endian platform, we'll need to use a DataView instead.
|
|
101416
|
-
switch (actualType) {
|
|
101417
|
-
case GltfDataType.UnsignedByte:
|
|
101418
|
-
return bytes;
|
|
101419
|
-
case GltfDataType.UnsignedShort:
|
|
101420
|
-
return new Uint16Array(bytes.buffer, bytes.byteOffset, bytes.byteLength / 2);
|
|
101421
|
-
case GltfDataType.UInt32:
|
|
101422
|
-
return new Uint32Array(bytes.buffer, bytes.byteOffset, bytes.byteLength / 4);
|
|
101423
|
-
case GltfDataType.Float:
|
|
101424
|
-
return new Float32Array(bytes.buffer, bytes.byteOffset, bytes.byteLength / 4);
|
|
101425
|
-
default:
|
|
101426
|
-
return undefined;
|
|
101427
|
-
}
|
|
101428
|
-
}
|
|
101429
|
-
}
|
|
101430
|
-
/**
|
|
101431
|
-
* A view of a chunk of glTF binary data containing an array of elements of a specific data type.
|
|
101432
|
-
* The count member indicates how many elements exist; this may be smaller than this.data.length.
|
|
101433
|
-
* The count member may also indicate the number of elements of a type containing more than one value of the
|
|
101434
|
-
* underlying type. For example, a buffer of 4 32-bit floating point 'vec2' elements will have a count of 4,
|
|
101435
|
-
* but its data member will contain 8 32-bit floating point values (2 per vec2).
|
|
101436
|
-
* The accessor member may contain additional JSON data specific to a particular buffer.
|
|
101437
|
-
* @internal
|
|
101438
|
-
*/
|
|
101439
|
-
class GltfBufferView {
|
|
101440
|
-
constructor(data, count, type, accessor, stride) {
|
|
101441
|
-
this.data = data;
|
|
101442
|
-
this.count = count;
|
|
101443
|
-
this.type = type;
|
|
101444
|
-
this.accessor = accessor;
|
|
101445
|
-
this.stride = stride;
|
|
101446
|
-
}
|
|
101447
|
-
get byteLength() { return this.data.length; }
|
|
101448
|
-
toBufferData(desiredType) {
|
|
101449
|
-
return GltfBufferData.create(this.data, this.type, desiredType, this.count);
|
|
101450
|
-
}
|
|
101451
|
-
}
|
|
101452
101320
|
/** Header preceding glTF data.
|
|
101453
101321
|
* @internal
|
|
101454
101322
|
*/
|
|
@@ -135359,7 +135227,7 @@ class UniqueViewportSets {
|
|
|
135359
135227
|
/*!**************************************************************!*\
|
|
135360
135228
|
!*** D:/vsts_a/460/s/core/frontend/lib/esm/core-frontend.js ***!
|
|
135361
135229
|
\**************************************************************/
|
|
135362
|
-
/*! 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, GltfReaderProps, GltfMeshData, GltfReader, 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 */
|
|
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 */
|
|
135363
135231
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
135364
135232
|
|
|
135365
135233
|
"use strict";
|
|
@@ -136028,12 +135896,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
136028
135896
|
|
|
136029
135897
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TileUsageMarker", function() { return _tile_internal__WEBPACK_IMPORTED_MODULE_99__["TileUsageMarker"]; });
|
|
136030
135898
|
|
|
135899
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfDataType", function() { return _tile_internal__WEBPACK_IMPORTED_MODULE_99__["GltfDataType"]; });
|
|
135900
|
+
|
|
135901
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfBufferData", function() { return _tile_internal__WEBPACK_IMPORTED_MODULE_99__["GltfBufferData"]; });
|
|
135902
|
+
|
|
136031
135903
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfReaderProps", function() { return _tile_internal__WEBPACK_IMPORTED_MODULE_99__["GltfReaderProps"]; });
|
|
136032
135904
|
|
|
136033
135905
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfMeshData", function() { return _tile_internal__WEBPACK_IMPORTED_MODULE_99__["GltfMeshData"]; });
|
|
136034
135906
|
|
|
136035
135907
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfReader", function() { return _tile_internal__WEBPACK_IMPORTED_MODULE_99__["GltfReader"]; });
|
|
136036
135908
|
|
|
135909
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "readGltfGraphics", function() { return _tile_internal__WEBPACK_IMPORTED_MODULE_99__["readGltfGraphics"]; });
|
|
135910
|
+
|
|
136037
135911
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "I3dmReader", function() { return _tile_internal__WEBPACK_IMPORTED_MODULE_99__["I3dmReader"]; });
|
|
136038
135912
|
|
|
136039
135913
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "B3dmReader", function() { return _tile_internal__WEBPACK_IMPORTED_MODULE_99__["B3dmReader"]; });
|
|
@@ -170734,7 +170608,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
170734
170608
|
*/
|
|
170735
170609
|
class B3dmReader extends _internal__WEBPACK_IMPORTED_MODULE_3__["GltfReader"] {
|
|
170736
170610
|
constructor(props, iModel, modelId, is3d, system, _range, _isLeaf, _batchTableLength, _transformToRoot, _batchTableJson, isCanceled, _idMap, _pseudoRtcBias, deduplicateVertices = false) {
|
|
170737
|
-
super(props, iModel,
|
|
170611
|
+
super(props, iModel, is3d, system, _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["BatchType"].Primary, isCanceled, deduplicateVertices);
|
|
170738
170612
|
this._range = _range;
|
|
170739
170613
|
this._isLeaf = _isLeaf;
|
|
170740
170614
|
this._batchTableLength = _batchTableLength;
|
|
@@ -170743,6 +170617,7 @@ class B3dmReader extends _internal__WEBPACK_IMPORTED_MODULE_3__["GltfReader"] {
|
|
|
170743
170617
|
this._idMap = _idMap;
|
|
170744
170618
|
this._pseudoRtcBias = _pseudoRtcBias;
|
|
170745
170619
|
this._batchIdRemap = new Map();
|
|
170620
|
+
this._modelId = modelId;
|
|
170746
170621
|
}
|
|
170747
170622
|
static create(stream, iModel, modelId, is3d, range, system, yAxisUp, isLeaf, tileCenter, transformToRoot, isCanceled, idMap, deduplicateVertices = false) {
|
|
170748
170623
|
const header = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["B3dmHeader"](stream);
|
|
@@ -170849,7 +170724,7 @@ class B3dmReader extends _internal__WEBPACK_IMPORTED_MODULE_3__["GltfReader"] {
|
|
|
170849
170724
|
if (this._batchTableLength > 0 && undefined !== this._batchTableJson && undefined !== json.attributes) {
|
|
170850
170725
|
const view = this.getBufferView(json.attributes, "_BATCHID");
|
|
170851
170726
|
let batchIds;
|
|
170852
|
-
if (undefined !== view && (undefined !== (batchIds = view.toBufferData(
|
|
170727
|
+
if (undefined !== view && (undefined !== (batchIds = view.toBufferData(_internal__WEBPACK_IMPORTED_MODULE_3__["GltfDataType"].UInt32)) || undefined !== (batchIds = view.toBufferData(_internal__WEBPACK_IMPORTED_MODULE_3__["GltfDataType"].Float)))) {
|
|
170853
170728
|
const indices = [];
|
|
170854
170729
|
const { colors, colorMap } = mesh;
|
|
170855
170730
|
let colorRemap;
|
|
@@ -171667,23 +171542,27 @@ class GraphicsTile extends _internal__WEBPACK_IMPORTED_MODULE_4__["Tile"] {
|
|
|
171667
171542
|
/*!****************************************************************!*\
|
|
171668
171543
|
!*** D:/vsts_a/460/s/core/frontend/lib/esm/tile/GltfReader.js ***!
|
|
171669
171544
|
\****************************************************************/
|
|
171670
|
-
/*! exports provided: GltfReaderProps, GltfMeshData, GltfReader */
|
|
171545
|
+
/*! exports provided: GltfDataType, GltfBufferData, GltfReaderProps, GltfMeshData, GltfReader, readGltfGraphics */
|
|
171671
171546
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
171672
171547
|
|
|
171673
171548
|
"use strict";
|
|
171674
171549
|
__webpack_require__.r(__webpack_exports__);
|
|
171550
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GltfDataType", function() { return GltfDataType; });
|
|
171551
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GltfBufferData", function() { return GltfBufferData; });
|
|
171675
171552
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GltfReaderProps", function() { return GltfReaderProps; });
|
|
171676
171553
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GltfMeshData", function() { return GltfMeshData; });
|
|
171677
171554
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GltfReader", function() { return GltfReader; });
|
|
171555
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "readGltfGraphics", function() { return readGltfGraphics; });
|
|
171678
171556
|
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
171679
171557
|
/* harmony import */ var _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @itwin/core-geometry */ "../../core/geometry/lib/esm/core-geometry.js");
|
|
171680
171558
|
/* harmony import */ var _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
|
|
171681
171559
|
/* harmony import */ var _ImageUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../ImageUtil */ "../../core/frontend/lib/esm/ImageUtil.js");
|
|
171682
|
-
/* harmony import */ var
|
|
171683
|
-
/* harmony import */ var
|
|
171684
|
-
/* harmony import */ var
|
|
171685
|
-
/* harmony import */ var
|
|
171686
|
-
/* harmony import */ var
|
|
171560
|
+
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
171561
|
+
/* harmony import */ var _render_GraphicBranch__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../render/GraphicBranch */ "../../core/frontend/lib/esm/render/GraphicBranch.js");
|
|
171562
|
+
/* harmony import */ var _render_primitives_DisplayParams__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../render/primitives/DisplayParams */ "../../core/frontend/lib/esm/render/primitives/DisplayParams.js");
|
|
171563
|
+
/* harmony import */ var _render_primitives_mesh_MeshPrimitives__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../render/primitives/mesh/MeshPrimitives */ "../../core/frontend/lib/esm/render/primitives/mesh/MeshPrimitives.js");
|
|
171564
|
+
/* harmony import */ var _render_primitives_mesh_RealityMeshPrimitive__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../render/primitives/mesh/RealityMeshPrimitive */ "../../core/frontend/lib/esm/render/primitives/mesh/RealityMeshPrimitive.js");
|
|
171565
|
+
/* harmony import */ var _render_RenderTexture__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../render/RenderTexture */ "../../core/frontend/lib/esm/render/RenderTexture.js");
|
|
171687
171566
|
/*---------------------------------------------------------------------------------------------
|
|
171688
171567
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
171689
171568
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -171700,24 +171579,167 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
171700
171579
|
|
|
171701
171580
|
|
|
171702
171581
|
|
|
171582
|
+
|
|
171703
171583
|
// eslint-disable-next-line prefer-const
|
|
171704
171584
|
let forceLUT = false;
|
|
171585
|
+
/* eslint-disable no-restricted-syntax */
|
|
171586
|
+
/** Enumerates the types of [[GltfMeshPrimitive]] topologies. */
|
|
171587
|
+
var GltfMeshMode;
|
|
171588
|
+
(function (GltfMeshMode) {
|
|
171589
|
+
GltfMeshMode[GltfMeshMode["Points"] = 0] = "Points";
|
|
171590
|
+
GltfMeshMode[GltfMeshMode["Lines"] = 1] = "Lines";
|
|
171591
|
+
GltfMeshMode[GltfMeshMode["LineStrip"] = 3] = "LineStrip";
|
|
171592
|
+
GltfMeshMode[GltfMeshMode["Triangles"] = 4] = "Triangles";
|
|
171593
|
+
/** Not currently supported. */
|
|
171594
|
+
GltfMeshMode[GltfMeshMode["TriangleStrip"] = 5] = "TriangleStrip";
|
|
171595
|
+
/** Not currently supported. */
|
|
171596
|
+
GltfMeshMode[GltfMeshMode["TriangleFan"] = 6] = "TriangleFan";
|
|
171597
|
+
})(GltfMeshMode || (GltfMeshMode = {}));
|
|
171598
|
+
/** Enumerates the basic data types supported by accessors, material values, technique uniforms, etc.
|
|
171599
|
+
* @internal
|
|
171600
|
+
*/
|
|
171601
|
+
var GltfDataType;
|
|
171602
|
+
(function (GltfDataType) {
|
|
171603
|
+
GltfDataType[GltfDataType["SignedByte"] = 5120] = "SignedByte";
|
|
171604
|
+
GltfDataType[GltfDataType["UnsignedByte"] = 5121] = "UnsignedByte";
|
|
171605
|
+
GltfDataType[GltfDataType["SignedShort"] = 5122] = "SignedShort";
|
|
171606
|
+
GltfDataType[GltfDataType["UnsignedShort"] = 5123] = "UnsignedShort";
|
|
171607
|
+
GltfDataType[GltfDataType["UInt32"] = 5125] = "UInt32";
|
|
171608
|
+
GltfDataType[GltfDataType["Float"] = 5126] = "Float";
|
|
171609
|
+
GltfDataType[GltfDataType["Rgb"] = 6407] = "Rgb";
|
|
171610
|
+
GltfDataType[GltfDataType["Rgba"] = 6408] = "Rgba";
|
|
171611
|
+
GltfDataType[GltfDataType["IntVec2"] = 35667] = "IntVec2";
|
|
171612
|
+
GltfDataType[GltfDataType["IntVec3"] = 35668] = "IntVec3";
|
|
171613
|
+
GltfDataType[GltfDataType["FloatVec2"] = 35664] = "FloatVec2";
|
|
171614
|
+
GltfDataType[GltfDataType["FloatVec3"] = 35665] = "FloatVec3";
|
|
171615
|
+
GltfDataType[GltfDataType["FloatVec4"] = 35666] = "FloatVec4";
|
|
171616
|
+
GltfDataType[GltfDataType["FloatMat3"] = 35675] = "FloatMat3";
|
|
171617
|
+
GltfDataType[GltfDataType["FloatMat4"] = 35676] = "FloatMat4";
|
|
171618
|
+
GltfDataType[GltfDataType["Sampler2d"] = 35678] = "Sampler2d";
|
|
171619
|
+
})(GltfDataType || (GltfDataType = {}));
|
|
171620
|
+
/** @internal */
|
|
171621
|
+
var GltfMagFilter;
|
|
171622
|
+
(function (GltfMagFilter) {
|
|
171623
|
+
GltfMagFilter[GltfMagFilter["Nearest"] = 9728] = "Nearest";
|
|
171624
|
+
GltfMagFilter[GltfMagFilter["Linear"] = 9729] = "Linear";
|
|
171625
|
+
})(GltfMagFilter || (GltfMagFilter = {}));
|
|
171626
|
+
/** @internal */
|
|
171627
|
+
var GltfMinFilter;
|
|
171628
|
+
(function (GltfMinFilter) {
|
|
171629
|
+
GltfMinFilter[GltfMinFilter["Nearest"] = 9728] = "Nearest";
|
|
171630
|
+
GltfMinFilter[GltfMinFilter["Linear"] = 9729] = "Linear";
|
|
171631
|
+
GltfMinFilter[GltfMinFilter["NearestMipMapNearest"] = 9984] = "NearestMipMapNearest";
|
|
171632
|
+
GltfMinFilter[GltfMinFilter["LinearMipMapNearest"] = 9985] = "LinearMipMapNearest";
|
|
171633
|
+
GltfMinFilter[GltfMinFilter["NearestMipMapLinear"] = 9986] = "NearestMipMapLinear";
|
|
171634
|
+
GltfMinFilter[GltfMinFilter["LinearMipMapLinear"] = 9987] = "LinearMipMapLinear";
|
|
171635
|
+
})(GltfMinFilter || (GltfMinFilter = {}));
|
|
171636
|
+
/** Describes how texture coordinates outside of the range [0..1] are handled. */
|
|
171637
|
+
var GltfWrapMode;
|
|
171638
|
+
(function (GltfWrapMode) {
|
|
171639
|
+
GltfWrapMode[GltfWrapMode["ClampToEdge"] = 33071] = "ClampToEdge";
|
|
171640
|
+
GltfWrapMode[GltfWrapMode["MirroredRepeat"] = 33648] = "MirroredRepeat";
|
|
171641
|
+
GltfWrapMode[GltfWrapMode["Repeat"] = 10497] = "Repeat";
|
|
171642
|
+
})(GltfWrapMode || (GltfWrapMode = {}));
|
|
171643
|
+
/** Describes the intended target of a [[GltfBufferViewProps]]. */
|
|
171644
|
+
var GltfBufferTarget;
|
|
171645
|
+
(function (GltfBufferTarget) {
|
|
171646
|
+
GltfBufferTarget[GltfBufferTarget["ArrayBuffer"] = 34962] = "ArrayBuffer";
|
|
171647
|
+
GltfBufferTarget[GltfBufferTarget["ElementArrayBuffer"] = 24963] = "ElementArrayBuffer";
|
|
171648
|
+
})(GltfBufferTarget || (GltfBufferTarget = {}));
|
|
171649
|
+
function getNodeMeshIds(node) {
|
|
171650
|
+
if (undefined !== node.meshes)
|
|
171651
|
+
return typeof node.meshes === "string" ? [node.meshes] : node.meshes;
|
|
171652
|
+
else if (undefined !== node.mesh)
|
|
171653
|
+
return [node.mesh];
|
|
171654
|
+
return [];
|
|
171655
|
+
}
|
|
171656
|
+
function isGltf1Material(material) {
|
|
171657
|
+
const mat1 = material;
|
|
171658
|
+
return undefined !== mat1.technique || undefined !== mat1.values;
|
|
171659
|
+
}
|
|
171660
|
+
/**
|
|
171661
|
+
* A chunk of binary data exposed as a typed array.
|
|
171662
|
+
* The count member indicates how many elements exist. This may be less than this.buffer.length due to padding added to the
|
|
171663
|
+
* binary stream to ensure correct alignment.
|
|
171664
|
+
* @internal
|
|
171665
|
+
*/
|
|
171666
|
+
class GltfBufferData {
|
|
171667
|
+
constructor(buffer, count) {
|
|
171668
|
+
this.buffer = buffer;
|
|
171669
|
+
this.count = count;
|
|
171670
|
+
}
|
|
171671
|
+
/**
|
|
171672
|
+
* Create a GltfBufferData of the desired type. The actual type may differ from the desired type - for example, small 32-bit integers
|
|
171673
|
+
* may be represented as 8-bit or 16-bit integers instead.
|
|
171674
|
+
* If the actual data type is not convertible to the desired type, this function returns undefined.
|
|
171675
|
+
*/
|
|
171676
|
+
static create(bytes, actualType, expectedType, count) {
|
|
171677
|
+
if (expectedType !== actualType) {
|
|
171678
|
+
// Some data is stored in smaller data types to save space if no values exceed the maximum of the smaller type.
|
|
171679
|
+
switch (expectedType) {
|
|
171680
|
+
case GltfDataType.Float:
|
|
171681
|
+
case GltfDataType.UnsignedByte:
|
|
171682
|
+
return undefined;
|
|
171683
|
+
case GltfDataType.UnsignedShort:
|
|
171684
|
+
if (GltfDataType.UnsignedByte !== actualType)
|
|
171685
|
+
return undefined;
|
|
171686
|
+
break;
|
|
171687
|
+
case GltfDataType.UInt32:
|
|
171688
|
+
if (GltfDataType.UnsignedByte !== actualType && GltfDataType.UnsignedShort !== actualType)
|
|
171689
|
+
return undefined;
|
|
171690
|
+
break;
|
|
171691
|
+
}
|
|
171692
|
+
}
|
|
171693
|
+
const data = this.createDataBuffer(bytes, actualType);
|
|
171694
|
+
return undefined !== data ? new GltfBufferData(data, count) : undefined;
|
|
171695
|
+
}
|
|
171696
|
+
static createDataBuffer(bytes, actualType) {
|
|
171697
|
+
// NB: Endianness of typed array data is determined by the 'platform byte order'. Actual data is always little-endian.
|
|
171698
|
+
// We are assuming little-endian platform. If we find a big-endian platform, we'll need to use a DataView instead.
|
|
171699
|
+
switch (actualType) {
|
|
171700
|
+
case GltfDataType.UnsignedByte:
|
|
171701
|
+
return bytes;
|
|
171702
|
+
case GltfDataType.UnsignedShort:
|
|
171703
|
+
return new Uint16Array(bytes.buffer, bytes.byteOffset, bytes.byteLength / 2);
|
|
171704
|
+
case GltfDataType.UInt32:
|
|
171705
|
+
return new Uint32Array(bytes.buffer, bytes.byteOffset, bytes.byteLength / 4);
|
|
171706
|
+
case GltfDataType.Float:
|
|
171707
|
+
return new Float32Array(bytes.buffer, bytes.byteOffset, bytes.byteLength / 4);
|
|
171708
|
+
default:
|
|
171709
|
+
return undefined;
|
|
171710
|
+
}
|
|
171711
|
+
}
|
|
171712
|
+
}
|
|
171713
|
+
/**
|
|
171714
|
+
* A view of a chunk of glTF binary data containing an array of elements of a specific data type.
|
|
171715
|
+
* The count member indicates how many elements exist; this may be smaller than this.data.length.
|
|
171716
|
+
* The count member may also indicate the number of elements of a type containing more than one value of the
|
|
171717
|
+
* underlying type. For example, a buffer of 4 32-bit floating point 'vec2' elements will have a count of 4,
|
|
171718
|
+
* but its data member will contain 8 32-bit floating point values (2 per vec2).
|
|
171719
|
+
* The accessor member may contain additional JSON data specific to a particular buffer.
|
|
171720
|
+
* @internal
|
|
171721
|
+
*/
|
|
171722
|
+
class GltfBufferView {
|
|
171723
|
+
constructor(data, count, type, accessor, stride) {
|
|
171724
|
+
this.data = data;
|
|
171725
|
+
this.count = count;
|
|
171726
|
+
this.type = type;
|
|
171727
|
+
this.accessor = accessor;
|
|
171728
|
+
this.stride = stride;
|
|
171729
|
+
}
|
|
171730
|
+
get byteLength() { return this.data.length; }
|
|
171731
|
+
toBufferData(desiredType) {
|
|
171732
|
+
return GltfBufferData.create(this.data, this.type, desiredType, this.count);
|
|
171733
|
+
}
|
|
171734
|
+
}
|
|
171705
171735
|
/** Data required for creating a [[GltfReader]] capable of deserializing [glTF](https://www.khronos.org/gltf/).
|
|
171706
171736
|
* @internal
|
|
171707
171737
|
*/
|
|
171708
171738
|
class GltfReaderProps {
|
|
171709
|
-
constructor(buffer, binaryData,
|
|
171739
|
+
constructor(buffer, binaryData, glTF, yAxisUp) {
|
|
171710
171740
|
this.buffer = buffer;
|
|
171711
171741
|
this.binaryData = binaryData;
|
|
171712
|
-
this.
|
|
171713
|
-
this.bufferViews = bufferViews;
|
|
171714
|
-
this.scene = scene;
|
|
171715
|
-
this.nodes = nodes;
|
|
171716
|
-
this.meshes = meshes;
|
|
171717
|
-
this.materials = materials;
|
|
171718
|
-
this.extensions = extensions;
|
|
171719
|
-
this.samplers = samplers;
|
|
171720
|
-
this.techniques = techniques;
|
|
171742
|
+
this.glTF = glTF;
|
|
171721
171743
|
this.yAxisUp = yAxisUp;
|
|
171722
171744
|
}
|
|
171723
171745
|
/** Attempt to construct a new GltfReaderProps from the binary data beginning at the supplied stream's current read position. */
|
|
@@ -171727,23 +171749,34 @@ class GltfReaderProps {
|
|
|
171727
171749
|
return undefined;
|
|
171728
171750
|
const binaryData = new Uint8Array(buffer.arrayBuffer, header.binaryPosition);
|
|
171729
171751
|
buffer.curPos = header.scenePosition;
|
|
171730
|
-
const
|
|
171731
|
-
const
|
|
171732
|
-
if (undefined ===
|
|
171752
|
+
const jsonStrData = buffer.nextBytes(header.sceneStrLength);
|
|
171753
|
+
const jsonStr = Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["utf8ToString"])(jsonStrData);
|
|
171754
|
+
if (undefined === jsonStr)
|
|
171733
171755
|
return undefined;
|
|
171734
171756
|
try {
|
|
171735
|
-
const
|
|
171736
|
-
const
|
|
171737
|
-
|
|
171738
|
-
|
|
171739
|
-
const
|
|
171740
|
-
|
|
171741
|
-
|
|
171742
|
-
|
|
171743
|
-
|
|
171744
|
-
|
|
171745
|
-
|
|
171746
|
-
|
|
171757
|
+
const json = JSON.parse(jsonStr);
|
|
171758
|
+
const asset = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.asset);
|
|
171759
|
+
if (header.version === 2 && !asset)
|
|
171760
|
+
return undefined; // asset is required in glTF 2.0
|
|
171761
|
+
const glTF = {
|
|
171762
|
+
asset,
|
|
171763
|
+
scene: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asString(json.scene),
|
|
171764
|
+
extensions: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.extensions),
|
|
171765
|
+
extensionsUsed: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asArray(json.extensionsUsed),
|
|
171766
|
+
extensionsRequired: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asArray(json.extensionsRequired),
|
|
171767
|
+
accessors: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.accessors),
|
|
171768
|
+
buffers: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.buffers),
|
|
171769
|
+
bufferViews: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.bufferViews),
|
|
171770
|
+
images: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.images),
|
|
171771
|
+
materials: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.materials),
|
|
171772
|
+
meshes: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.meshes),
|
|
171773
|
+
nodes: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.nodes),
|
|
171774
|
+
samplers: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.samplers),
|
|
171775
|
+
scenes: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.scenes),
|
|
171776
|
+
textures: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.textures),
|
|
171777
|
+
techniques: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(json.techniques),
|
|
171778
|
+
};
|
|
171779
|
+
return glTF.meshes ? new GltfReaderProps(buffer, binaryData, glTF, yAxisUp) : undefined;
|
|
171747
171780
|
}
|
|
171748
171781
|
catch (e) {
|
|
171749
171782
|
return undefined;
|
|
@@ -171771,57 +171804,123 @@ class GltfMeshData {
|
|
|
171771
171804
|
}
|
|
171772
171805
|
}
|
|
171773
171806
|
-------------------------------------- */
|
|
171807
|
+
const emptyDict = {};
|
|
171808
|
+
function colorFromJson(values) {
|
|
171809
|
+
return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["ColorDef"].from(values[0] * 255, values[1] * 255, values[2] * 255, (1.0 - values[3]) * 255);
|
|
171810
|
+
}
|
|
171811
|
+
function colorFromMaterial(material) {
|
|
171812
|
+
var _a, _b, _c, _d, _e;
|
|
171813
|
+
if (material) {
|
|
171814
|
+
if (isGltf1Material(material)) {
|
|
171815
|
+
if (((_a = material.values) === null || _a === void 0 ? void 0 : _a.color) && Array.isArray(material.values.color))
|
|
171816
|
+
return colorFromJson(material.values.color);
|
|
171817
|
+
}
|
|
171818
|
+
else if ((_d = (_c = (_b = material.extensions) === null || _b === void 0 ? void 0 : _b.KHR_techniques_webgl) === null || _c === void 0 ? void 0 : _c.values) === null || _d === void 0 ? void 0 : _d.u_color) {
|
|
171819
|
+
return colorFromJson(material.extensions.KHR_techniques_webgl.values.u_color);
|
|
171820
|
+
}
|
|
171821
|
+
else if ((_e = material.pbrMetallicRoughness) === null || _e === void 0 ? void 0 : _e.baseColorFactor) {
|
|
171822
|
+
return colorFromJson(material.pbrMetallicRoughness.baseColorFactor);
|
|
171823
|
+
}
|
|
171824
|
+
}
|
|
171825
|
+
return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["ColorDef"].white;
|
|
171826
|
+
}
|
|
171827
|
+
class TransformStack {
|
|
171828
|
+
constructor() {
|
|
171829
|
+
this._stack = [];
|
|
171830
|
+
}
|
|
171831
|
+
get transform() {
|
|
171832
|
+
return this._stack.length > 0 ? this._stack[this._stack.length - 1] : undefined;
|
|
171833
|
+
}
|
|
171834
|
+
get isEmpty() {
|
|
171835
|
+
return 0 === this._stack.length;
|
|
171836
|
+
}
|
|
171837
|
+
push(node) {
|
|
171838
|
+
let nodeTransform;
|
|
171839
|
+
if (node.matrix) {
|
|
171840
|
+
const origin = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Point3d"].create(node.matrix[12], node.matrix[13], node.matrix[14]);
|
|
171841
|
+
const matrix = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Matrix3d"].createRowValues(node.matrix[0], node.matrix[4], node.matrix[8], node.matrix[1], node.matrix[5], node.matrix[9], node.matrix[2], node.matrix[6], node.matrix[10]);
|
|
171842
|
+
nodeTransform = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Transform"].createOriginAndMatrix(origin, matrix);
|
|
171843
|
+
}
|
|
171844
|
+
else if (node.rotation || node.scale || node.translation) {
|
|
171845
|
+
// SPEC: To compose the local transformation matrix, TRS properties MUST be converted to matrices and postmultiplied in the T * R * S order;
|
|
171846
|
+
// first the scale is applied to the vertices, then the rotation, and then the translation.
|
|
171847
|
+
const scale = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Transform"].createRefs(undefined, node.scale ? _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Matrix3d"].createScale(node.scale[0], node.scale[1], node.scale[2]) : _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Matrix3d"].identity);
|
|
171848
|
+
const rot = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Transform"].createRefs(undefined, node.rotation ? _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Matrix3d"].createFromQuaternion(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Point4d"].create(node.rotation[0], node.rotation[1], node.rotation[2], node.rotation[3])) : _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Matrix3d"].identity);
|
|
171849
|
+
rot.matrix.transposeInPlace(); // See comment on Matrix3d.createFromQuaternion
|
|
171850
|
+
const trans = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Transform"].createTranslation(node.translation ? new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Point3d"](node.translation[0], node.translation[1], node.translation[2]) : _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Point3d"].createZero());
|
|
171851
|
+
nodeTransform = scale.multiplyTransformTransform(rot);
|
|
171852
|
+
trans.multiplyTransformTransform(nodeTransform, nodeTransform);
|
|
171853
|
+
}
|
|
171854
|
+
const top = this.transform;
|
|
171855
|
+
if (!top)
|
|
171856
|
+
this._stack.push(nodeTransform);
|
|
171857
|
+
else
|
|
171858
|
+
this._stack.push(nodeTransform ? top.multiplyTransformTransform(nodeTransform) : top);
|
|
171859
|
+
}
|
|
171860
|
+
pop() {
|
|
171861
|
+
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(this._stack.length > 0);
|
|
171862
|
+
this._stack.pop();
|
|
171863
|
+
}
|
|
171864
|
+
}
|
|
171774
171865
|
/** Deserializes [glTF](https://www.khronos.org/gltf/).
|
|
171775
171866
|
* @internal
|
|
171776
171867
|
*/
|
|
171777
171868
|
class GltfReader {
|
|
171778
|
-
constructor(props, iModel,
|
|
171869
|
+
constructor(props, iModel, is3d, system, type = _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["BatchType"].Primary, isCanceled, deduplicateVertices = false) {
|
|
171870
|
+
var _a, _b, _c;
|
|
171779
171871
|
this._buffer = props.buffer;
|
|
171780
|
-
this._scene = props.scene;
|
|
171781
171872
|
this._binaryData = props.binaryData;
|
|
171782
|
-
this.
|
|
171783
|
-
this._bufferViews = props.bufferViews;
|
|
171784
|
-
this._meshes = props.meshes;
|
|
171785
|
-
this._nodes = props.nodes;
|
|
171786
|
-
this._materialValues = props.materials;
|
|
171787
|
-
this._samplers = props.samplers;
|
|
171788
|
-
this._techniques = props.techniques;
|
|
171789
|
-
this._extensions = props.extensions;
|
|
171873
|
+
this._glTF = props.glTF;
|
|
171790
171874
|
this._yAxisUp = props.yAxisUp;
|
|
171791
|
-
|
|
171792
|
-
|
|
171793
|
-
|
|
171794
|
-
|
|
171795
|
-
this._namedTextures = props.scene.namedTextures;
|
|
171875
|
+
const rtcCenter = (_b = (_a = props.glTF.extensions) === null || _a === void 0 ? void 0 : _a.CESIUM_RTC) === null || _b === void 0 ? void 0 : _b.center;
|
|
171876
|
+
if (rtcCenter && 3 === rtcCenter.length)
|
|
171877
|
+
if (0 !== rtcCenter[0] || 0 !== rtcCenter[1] || 0 !== rtcCenter[2])
|
|
171878
|
+
this._returnToCenter = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Point3d"].fromJSON(rtcCenter);
|
|
171796
171879
|
this._iModel = iModel;
|
|
171797
|
-
this._modelId = modelId;
|
|
171798
171880
|
this._is3d = is3d;
|
|
171799
171881
|
this._system = system;
|
|
171800
171882
|
this._type = type;
|
|
171801
171883
|
this._canceled = isCanceled;
|
|
171802
171884
|
this._deduplicateVertices = deduplicateVertices;
|
|
171803
|
-
|
|
171885
|
+
// The original implementation of GltfReader would process and produce graphics for every node in glTF.nodes.
|
|
171886
|
+
// What it's *supposed* to do is process the nodes in glTF.scenes[glTF.scene].nodes
|
|
171887
|
+
// Some nodes may not be referenced by the configured scene, or only indirectly via GltfNode.children.
|
|
171888
|
+
// Perhaps some faulty tiles existed that didn't define their scenes properly?
|
|
171889
|
+
let sceneNodes;
|
|
171890
|
+
if (this._glTF.scenes && undefined !== this._glTF.scene)
|
|
171891
|
+
sceneNodes = (_c = this._glTF.scenes[this._glTF.scene]) === null || _c === void 0 ? void 0 : _c.nodes;
|
|
171892
|
+
if (!sceneNodes)
|
|
171893
|
+
sceneNodes = Object.keys(this._nodes);
|
|
171894
|
+
this._sceneNodes = sceneNodes;
|
|
171895
|
+
}
|
|
171896
|
+
get _nodes() { var _a; return (_a = this._glTF.nodes) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
171897
|
+
get _meshes() { var _a; return (_a = this._glTF.meshes) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
171898
|
+
get _accessors() { var _a; return (_a = this._glTF.accessors) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
171899
|
+
get _bufferViews() { var _a; return (_a = this._glTF.bufferViews) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
171900
|
+
get _materialValues() { var _a; return (_a = this._glTF.materials) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
171804
171901
|
get _isCanceled() { return undefined !== this._canceled && this._canceled(this); }
|
|
171805
171902
|
get _isVolumeClassifier() { return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["BatchType"].VolumeClassifier === this._type; }
|
|
171806
171903
|
readGltfAndCreateGraphics(isLeaf, featureTable, contentRange, transformToRoot, pseudoRtcBias, instances) {
|
|
171807
171904
|
var _a;
|
|
171808
171905
|
if (this._isCanceled)
|
|
171809
171906
|
return { readStatus: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["TileReadStatus"].Canceled, isLeaf };
|
|
171810
|
-
|
|
171907
|
+
// If contentRange was not supplied, we will compute it as we read the meshes.
|
|
171908
|
+
if (!contentRange)
|
|
171909
|
+
this._computedContentRange = contentRange = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Range3d"].createNull();
|
|
171910
|
+
else
|
|
171911
|
+
this._computedContentRange = undefined;
|
|
171912
|
+
// ###TODO this looks like a hack? Why does it assume the first node's transform is special, or that the transform will be specified as a matrix instead of translation+rot+scale?
|
|
171913
|
+
if (this._returnToCenter || ((_a = this._nodes[0]) === null || _a === void 0 ? void 0 : _a.matrix) || (pseudoRtcBias && pseudoRtcBias.magnitude() < 1.0E5))
|
|
171811
171914
|
pseudoRtcBias = undefined;
|
|
171812
|
-
const
|
|
171813
|
-
for (const key of Object.keys(this._nodes)) {
|
|
171814
|
-
const node = this._nodes[key];
|
|
171815
|
-
if (node.children)
|
|
171816
|
-
for (const child of node.children)
|
|
171817
|
-
childNodes.add(child.toString());
|
|
171818
|
-
}
|
|
171915
|
+
const transformStack = new TransformStack();
|
|
171819
171916
|
const renderGraphicList = [];
|
|
171820
171917
|
let readStatus = _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["TileReadStatus"].InvalidTileData;
|
|
171821
|
-
for (const nodeKey of
|
|
171822
|
-
|
|
171823
|
-
|
|
171824
|
-
|
|
171918
|
+
for (const nodeKey of this._sceneNodes) {
|
|
171919
|
+
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(transformStack.isEmpty);
|
|
171920
|
+
const node = this._nodes[nodeKey];
|
|
171921
|
+
if (node && _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["TileReadStatus"].Success !== (readStatus = this.readNodeAndCreateGraphics(renderGraphicList, node, featureTable, transformStack, instances, pseudoRtcBias)))
|
|
171922
|
+
return { readStatus, isLeaf };
|
|
171923
|
+
}
|
|
171825
171924
|
if (0 === renderGraphicList.length)
|
|
171826
171925
|
return { readStatus: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["TileReadStatus"].InvalidTileData, isLeaf };
|
|
171827
171926
|
let renderGraphic;
|
|
@@ -171831,22 +171930,23 @@ class GltfReader {
|
|
|
171831
171930
|
renderGraphic = this._system.createGraphicList(renderGraphicList);
|
|
171832
171931
|
let transform;
|
|
171833
171932
|
let range = contentRange;
|
|
171834
|
-
if (
|
|
171835
|
-
if (
|
|
171836
|
-
transform = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Transform"].
|
|
171837
|
-
else if (
|
|
171933
|
+
if (this._returnToCenter || pseudoRtcBias || this._yAxisUp || transformToRoot) {
|
|
171934
|
+
if (this._returnToCenter)
|
|
171935
|
+
transform = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Transform"].createTranslation(this._returnToCenter.clone());
|
|
171936
|
+
else if (pseudoRtcBias)
|
|
171838
171937
|
transform = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Transform"].createTranslationXYZ(pseudoRtcBias.x, pseudoRtcBias.y, pseudoRtcBias.z);
|
|
171839
171938
|
else
|
|
171840
171939
|
transform = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Transform"].createIdentity();
|
|
171841
171940
|
if (this._yAxisUp)
|
|
171842
171941
|
transform = transform.multiplyTransformMatrix3d(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Matrix3d"].createRotationAroundVector(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Vector3d"].create(1.0, 0.0, 0.0), _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Angle"].createRadians(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Angle"].piOver2Radians)));
|
|
171843
|
-
if (
|
|
171942
|
+
if (transformToRoot)
|
|
171844
171943
|
transform = transformToRoot.multiplyTransformTransform(transform);
|
|
171845
171944
|
range = transform.inverse().multiplyRange(contentRange);
|
|
171846
171945
|
}
|
|
171847
|
-
|
|
171946
|
+
if (featureTable)
|
|
171947
|
+
renderGraphic = this._system.createBatch(renderGraphic, _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["PackedFeatureTable"].pack(featureTable), range);
|
|
171848
171948
|
if (transform) {
|
|
171849
|
-
const branch = new
|
|
171949
|
+
const branch = new _render_GraphicBranch__WEBPACK_IMPORTED_MODULE_5__["GraphicBranch"](true);
|
|
171850
171950
|
branch.add(renderGraphic);
|
|
171851
171951
|
renderGraphic = this._system.createBranch(branch, transform);
|
|
171852
171952
|
}
|
|
@@ -171858,11 +171958,9 @@ class GltfReader {
|
|
|
171858
171958
|
};
|
|
171859
171959
|
}
|
|
171860
171960
|
graphicFromMeshData(gltfMesh, meshGraphicArgs, instances) {
|
|
171861
|
-
if (!gltfMesh.points || !gltfMesh.pointRange)
|
|
171862
|
-
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(false);
|
|
171961
|
+
if (!gltfMesh.points || !gltfMesh.pointRange)
|
|
171863
171962
|
return;
|
|
171864
|
-
|
|
171865
|
-
const realityMeshPrimitive = (forceLUT || instances) ? undefined : _render_primitives_mesh_RealityMeshPrimitive__WEBPACK_IMPORTED_MODULE_7__["RealityMeshPrimitive"].createFromGltfMesh(gltfMesh);
|
|
171963
|
+
const realityMeshPrimitive = (forceLUT || instances) ? undefined : _render_primitives_mesh_RealityMeshPrimitive__WEBPACK_IMPORTED_MODULE_8__["RealityMeshPrimitive"].createFromGltfMesh(gltfMesh);
|
|
171866
171964
|
if (realityMeshPrimitive) {
|
|
171867
171965
|
const realityMesh = this._system.createRealityMesh(realityMeshPrimitive);
|
|
171868
171966
|
if (realityMesh)
|
|
@@ -171883,16 +171981,12 @@ class GltfReader {
|
|
|
171883
171981
|
mesh.normals.push(new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["OctEncodedNormal"](normal));
|
|
171884
171982
|
return mesh.getGraphics(meshGraphicArgs, this._system, instances);
|
|
171885
171983
|
}
|
|
171886
|
-
readNodeAndCreateGraphics(renderGraphicList, node, featureTable,
|
|
171984
|
+
readNodeAndCreateGraphics(renderGraphicList, node, featureTable, transformStack, instances, pseudoRtcBias) {
|
|
171887
171985
|
if (undefined === node)
|
|
171888
171986
|
return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["TileReadStatus"].InvalidTileData;
|
|
171889
|
-
|
|
171890
|
-
|
|
171891
|
-
|
|
171892
|
-
const jTrans = node.matrix;
|
|
171893
|
-
const nodeTransform = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Transform"].createOriginAndMatrix(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Point3d"].create(jTrans[12], jTrans[13], jTrans[14]), _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Matrix3d"].createRowValues(jTrans[0], jTrans[4], jTrans[8], jTrans[1], jTrans[5], jTrans[9], jTrans[2], jTrans[6], jTrans[10]));
|
|
171894
|
-
thisTransform = thisTransform ? thisTransform.multiplyTransformTransform(nodeTransform) : nodeTransform;
|
|
171895
|
-
}
|
|
171987
|
+
// IMPORTANT: Do not return without popping this node from the stack.
|
|
171988
|
+
transformStack.push(node);
|
|
171989
|
+
const thisTransform = transformStack.transform;
|
|
171896
171990
|
/**
|
|
171897
171991
|
* This is a workaround for tiles generated by
|
|
171898
171992
|
* context capture which have a large offset from the tileset origin that exceeds the
|
|
@@ -171901,19 +171995,24 @@ class GltfReader {
|
|
|
171901
171995
|
* as the vertices are supplied in a quantized format, applying the RTC bias to
|
|
171902
171996
|
* quantization origin will make these tiles work correctly.
|
|
171903
171997
|
*/
|
|
171904
|
-
|
|
171998
|
+
let thisBias;
|
|
171999
|
+
if (undefined !== pseudoRtcBias)
|
|
171905
172000
|
thisBias = (undefined === thisTransform) ? pseudoRtcBias : thisTransform.matrix.multiplyInverse(pseudoRtcBias);
|
|
171906
|
-
|
|
171907
|
-
const meshKey = node.meshes ? node.meshes : node.mesh;
|
|
171908
|
-
if (undefined !== meshKey) {
|
|
172001
|
+
for (const meshKey of getNodeMeshIds(node)) {
|
|
171909
172002
|
const nodeMesh = this._meshes[meshKey];
|
|
171910
|
-
if (nodeMesh) {
|
|
171911
|
-
const meshGraphicArgs = new
|
|
172003
|
+
if (nodeMesh === null || nodeMesh === void 0 ? void 0 : nodeMesh.primitives) {
|
|
172004
|
+
const meshGraphicArgs = new _render_primitives_mesh_MeshPrimitives__WEBPACK_IMPORTED_MODULE_7__["MeshGraphicArgs"]();
|
|
171912
172005
|
const meshes = [];
|
|
171913
172006
|
for (const primitive of nodeMesh.primitives) {
|
|
171914
172007
|
const geometry = this.readMeshPrimitive(primitive, featureTable, thisBias);
|
|
171915
|
-
if (
|
|
172008
|
+
if (geometry) {
|
|
171916
172009
|
meshes.push(geometry);
|
|
172010
|
+
if (this._computedContentRange && geometry.pointRange) {
|
|
172011
|
+
const invTransform = thisTransform === null || thisTransform === void 0 ? void 0 : thisTransform.inverse();
|
|
172012
|
+
const meshRange = invTransform ? invTransform.multiplyRange(geometry.pointRange) : geometry.pointRange;
|
|
172013
|
+
this._computedContentRange.extendRange(meshRange);
|
|
172014
|
+
}
|
|
172015
|
+
}
|
|
171917
172016
|
}
|
|
171918
172017
|
let renderGraphic;
|
|
171919
172018
|
if (0 !== meshes.length) {
|
|
@@ -171932,7 +172031,7 @@ class GltfReader {
|
|
|
171932
172031
|
}
|
|
171933
172032
|
if (renderGraphic) {
|
|
171934
172033
|
if (thisTransform && !thisTransform.isIdentity) {
|
|
171935
|
-
const branch = new
|
|
172034
|
+
const branch = new _render_GraphicBranch__WEBPACK_IMPORTED_MODULE_5__["GraphicBranch"](true);
|
|
171936
172035
|
branch.add(renderGraphic);
|
|
171937
172036
|
renderGraphic = this._system.createBranch(branch, thisTransform);
|
|
171938
172037
|
}
|
|
@@ -171942,11 +172041,16 @@ class GltfReader {
|
|
|
171942
172041
|
}
|
|
171943
172042
|
}
|
|
171944
172043
|
if (node.children) {
|
|
171945
|
-
for (const
|
|
171946
|
-
|
|
172044
|
+
for (const childId of node.children) {
|
|
172045
|
+
const child = this._nodes[childId];
|
|
172046
|
+
if (child)
|
|
172047
|
+
this.readNodeAndCreateGraphics(renderGraphicList, child, featureTable, transformStack, instances);
|
|
172048
|
+
}
|
|
171947
172049
|
}
|
|
172050
|
+
transformStack.pop();
|
|
171948
172051
|
return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["TileReadStatus"].Success;
|
|
171949
172052
|
}
|
|
172053
|
+
// ###TODO what is the actual type of `json`?
|
|
171950
172054
|
getBufferView(json, accessorName) {
|
|
171951
172055
|
try {
|
|
171952
172056
|
const accessorValue = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asString(json[accessorName]);
|
|
@@ -171958,14 +172062,14 @@ class GltfReader {
|
|
|
171958
172062
|
const type = accessor.componentType;
|
|
171959
172063
|
let dataSize = 0;
|
|
171960
172064
|
switch (type) {
|
|
171961
|
-
case
|
|
172065
|
+
case GltfDataType.UnsignedByte:
|
|
171962
172066
|
dataSize = 1;
|
|
171963
172067
|
break;
|
|
171964
|
-
case
|
|
172068
|
+
case GltfDataType.UnsignedShort:
|
|
171965
172069
|
dataSize = 2;
|
|
171966
172070
|
break;
|
|
171967
|
-
case
|
|
171968
|
-
case
|
|
172071
|
+
case GltfDataType.UInt32:
|
|
172072
|
+
case GltfDataType.Float:
|
|
171969
172073
|
dataSize = 4;
|
|
171970
172074
|
break;
|
|
171971
172075
|
default:
|
|
@@ -171986,36 +172090,24 @@ class GltfReader {
|
|
|
171986
172090
|
// If the data is misaligned (Scalable mesh tile publisher) use slice to copy -- else use subarray.
|
|
171987
172091
|
// assert(0 === offset % dataSize);
|
|
171988
172092
|
const bytes = (0 === (this._binaryData.byteOffset + offset) % dataSize) ? this._binaryData.subarray(offset, offset + length) : this._binaryData.slice(offset, offset + length);
|
|
171989
|
-
return new
|
|
172093
|
+
return new GltfBufferView(bytes, accessor.count, type, accessor, byteStride / dataSize);
|
|
171990
172094
|
}
|
|
171991
172095
|
catch (e) {
|
|
171992
172096
|
return undefined;
|
|
171993
172097
|
}
|
|
171994
172098
|
}
|
|
171995
|
-
readBufferData32(json, accessorName) { return this.readBufferData(json, accessorName,
|
|
171996
|
-
readBufferData16(json, accessorName) { return this.readBufferData(json, accessorName,
|
|
171997
|
-
readBufferData8(json, accessorName) { return this.readBufferData(json, accessorName,
|
|
171998
|
-
readBufferDataFloat(json, accessorName) { return this.readBufferData(json, accessorName,
|
|
172099
|
+
readBufferData32(json, accessorName) { return this.readBufferData(json, accessorName, GltfDataType.UInt32); }
|
|
172100
|
+
readBufferData16(json, accessorName) { return this.readBufferData(json, accessorName, GltfDataType.UnsignedShort); }
|
|
172101
|
+
readBufferData8(json, accessorName) { return this.readBufferData(json, accessorName, GltfDataType.UnsignedByte); }
|
|
172102
|
+
readBufferDataFloat(json, accessorName) { return this.readBufferData(json, accessorName, GltfDataType.Float); }
|
|
171999
172103
|
readBufferData(json, accessorName, type) {
|
|
172000
172104
|
const view = this.getBufferView(json, accessorName);
|
|
172001
172105
|
return undefined !== view ? view.toBufferData(type) : undefined;
|
|
172002
172106
|
}
|
|
172003
172107
|
readFeatureIndices(_json) { return undefined; }
|
|
172004
|
-
|
|
172005
|
-
colorFromMaterial(materialJson) {
|
|
172006
|
-
if (materialJson) {
|
|
172007
|
-
if (materialJson.values && Array.isArray(materialJson.values.color))
|
|
172008
|
-
return this.colorFromJson(materialJson.values.color);
|
|
172009
|
-
else if (materialJson.pbrMetallicRoughness && Array.isArray(materialJson.pbrMetallicRoughness.baseColorFactor))
|
|
172010
|
-
return this.colorFromJson(materialJson.pbrMetallicRoughness.baseColorFactor);
|
|
172011
|
-
else if (materialJson.extensions && materialJson.extensions.KHR_techniques_webgl && materialJson.extensions.KHR_techniques_webgl.values && materialJson.extensions.KHR_techniques_webgl.values.u_color)
|
|
172012
|
-
return this.colorFromJson(materialJson.extensions.KHR_techniques_webgl.values.u_color);
|
|
172013
|
-
}
|
|
172014
|
-
return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["ColorDef"].white;
|
|
172015
|
-
}
|
|
172016
|
-
extractTextureId(materialJson) {
|
|
172108
|
+
extractTextureId(material) {
|
|
172017
172109
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
172018
|
-
if (typeof
|
|
172110
|
+
if (typeof material !== "object")
|
|
172019
172111
|
return undefined;
|
|
172020
172112
|
const extractId = (value) => {
|
|
172021
172113
|
switch (typeof value) {
|
|
@@ -172028,61 +172120,49 @@ class GltfReader {
|
|
|
172028
172120
|
}
|
|
172029
172121
|
};
|
|
172030
172122
|
// Bimium's shader value...almost certainly obsolete at this point.
|
|
172031
|
-
|
|
172032
|
-
|
|
172033
|
-
return id;
|
|
172123
|
+
if (isGltf1Material(material))
|
|
172124
|
+
return (_a = material.diffuse) !== null && _a !== void 0 ? _a : extractId((_b = material.values) === null || _b === void 0 ? void 0 : _b.tex);
|
|
172034
172125
|
// KHR_techniques_webgl extension
|
|
172035
|
-
const techniques = (
|
|
172036
|
-
const ext = Array.isArray(techniques) ? (
|
|
172037
|
-
if (undefined !== ext && typeof ext.values === "object") {
|
|
172126
|
+
const techniques = (_d = (_c = this._glTF.extensions) === null || _c === void 0 ? void 0 : _c.KHR_techniques_webgl) === null || _d === void 0 ? void 0 : _d.techniques;
|
|
172127
|
+
const ext = Array.isArray(techniques) ? (_e = material.extensions) === null || _e === void 0 ? void 0 : _e.KHR_techniques_webgl : undefined;
|
|
172128
|
+
if (techniques && undefined !== ext && typeof (ext.values) === "object") {
|
|
172038
172129
|
const uniforms = typeof ext.technique === "number" ? techniques[ext.technique].uniforms : undefined;
|
|
172039
172130
|
if (typeof uniforms === "object") {
|
|
172040
172131
|
for (const uniformName of Object.keys(uniforms)) {
|
|
172041
172132
|
const uniform = uniforms[uniformName];
|
|
172042
|
-
if (typeof uniform === "object" && uniform.type ===
|
|
172043
|
-
return extractId((
|
|
172133
|
+
if (typeof uniform === "object" && uniform.type === GltfDataType.Sampler2d)
|
|
172134
|
+
return extractId((_f = ext.values[uniformName]) === null || _f === void 0 ? void 0 : _f.index);
|
|
172044
172135
|
}
|
|
172045
172136
|
}
|
|
172046
172137
|
}
|
|
172047
|
-
id = extractId((
|
|
172048
|
-
|
|
172049
|
-
return id !== null && id !== void 0 ? id : extractId((_j = (_h = materialJson.pbrMetallicRoughness) === null || _h === void 0 ? void 0 : _h.baseColorTexture) === null || _j === void 0 ? void 0 : _j.index);
|
|
172138
|
+
const id = extractId((_g = material.emissiveTexture) === null || _g === void 0 ? void 0 : _g.index);
|
|
172139
|
+
return id !== null && id !== void 0 ? id : extractId((_j = (_h = material.pbrMetallicRoughness) === null || _h === void 0 ? void 0 : _h.baseColorTexture) === null || _j === void 0 ? void 0 : _j.index);
|
|
172050
172140
|
}
|
|
172051
172141
|
createDisplayParams(materialJson, hasBakedLighting) {
|
|
172052
172142
|
const textureId = this.extractTextureId(materialJson);
|
|
172053
172143
|
const textureMapping = undefined !== textureId ? this.findTextureMapping(textureId) : undefined;
|
|
172054
|
-
const color =
|
|
172055
|
-
return new
|
|
172056
|
-
}
|
|
172057
|
-
extractReturnToCenter(extensions) {
|
|
172058
|
-
if (extensions === undefined) {
|
|
172059
|
-
return undefined;
|
|
172060
|
-
}
|
|
172061
|
-
const cesiumRtc = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(extensions.CESIUM_RTC);
|
|
172062
|
-
if (cesiumRtc === undefined)
|
|
172063
|
-
return undefined;
|
|
172064
|
-
const rtc = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asArray(cesiumRtc.center);
|
|
172065
|
-
return (rtc[0] === 0.0 && rtc[1] === 0.0 && rtc[2] === 0.0) ? undefined : rtc;
|
|
172144
|
+
const color = colorFromMaterial(materialJson);
|
|
172145
|
+
return new _render_primitives_DisplayParams__WEBPACK_IMPORTED_MODULE_6__["DisplayParams"](_render_primitives_DisplayParams__WEBPACK_IMPORTED_MODULE_6__["DisplayParams"].Type.Mesh, color, color, 1, _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["LinePixels"].Solid, _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["FillFlags"].Always, undefined, undefined, hasBakedLighting, textureMapping);
|
|
172066
172146
|
}
|
|
172067
172147
|
readMeshPrimitive(primitive, featureTable, pseudoRtcBias) {
|
|
172068
|
-
var _a, _b;
|
|
172148
|
+
var _a, _b, _c, _d, _e, _f;
|
|
172069
172149
|
const materialName = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asString(primitive.material);
|
|
172070
172150
|
const hasBakedLighting = undefined === primitive.attributes.NORMAL;
|
|
172071
|
-
const
|
|
172072
|
-
const displayParams = this.createDisplayParams(
|
|
172151
|
+
const material = 0 < materialName.length ? this._materialValues[materialName] : undefined;
|
|
172152
|
+
const displayParams = this.createDisplayParams(material, hasBakedLighting);
|
|
172073
172153
|
if (undefined === displayParams)
|
|
172074
172154
|
return undefined;
|
|
172075
172155
|
let primitiveType = -1;
|
|
172076
|
-
const meshMode = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asInt(primitive.mode,
|
|
172156
|
+
const meshMode = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asInt(primitive.mode, GltfMeshMode.Triangles);
|
|
172077
172157
|
switch (meshMode) {
|
|
172078
|
-
case
|
|
172079
|
-
primitiveType =
|
|
172158
|
+
case GltfMeshMode.Lines:
|
|
172159
|
+
primitiveType = _render_primitives_mesh_MeshPrimitives__WEBPACK_IMPORTED_MODULE_7__["Mesh"].PrimitiveType.Polyline;
|
|
172080
172160
|
break;
|
|
172081
|
-
case
|
|
172082
|
-
primitiveType =
|
|
172161
|
+
case GltfMeshMode.Points:
|
|
172162
|
+
primitiveType = _render_primitives_mesh_MeshPrimitives__WEBPACK_IMPORTED_MODULE_7__["Mesh"].PrimitiveType.Point;
|
|
172083
172163
|
break;
|
|
172084
|
-
case
|
|
172085
|
-
primitiveType =
|
|
172164
|
+
case GltfMeshMode.Triangles:
|
|
172165
|
+
primitiveType = _render_primitives_mesh_MeshPrimitives__WEBPACK_IMPORTED_MODULE_7__["Mesh"].PrimitiveType.Mesh;
|
|
172086
172166
|
break;
|
|
172087
172167
|
default:
|
|
172088
172168
|
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(false);
|
|
@@ -172090,9 +172170,9 @@ class GltfReader {
|
|
|
172090
172170
|
}
|
|
172091
172171
|
const isPlanar = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asBool(primitive.isPlanar);
|
|
172092
172172
|
const isVolumeClassifier = this._isVolumeClassifier;
|
|
172093
|
-
const meshPrimitive =
|
|
172173
|
+
const meshPrimitive = _render_primitives_mesh_MeshPrimitives__WEBPACK_IMPORTED_MODULE_7__["Mesh"].create({
|
|
172094
172174
|
displayParams,
|
|
172095
|
-
features: undefined !== featureTable ? new
|
|
172175
|
+
features: undefined !== featureTable ? new _render_primitives_mesh_MeshPrimitives__WEBPACK_IMPORTED_MODULE_7__["Mesh"].Features(featureTable) : undefined,
|
|
172096
172176
|
type: primitiveType,
|
|
172097
172177
|
range: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Range3d"].createNull(),
|
|
172098
172178
|
is2d: !this._is3d,
|
|
@@ -172106,12 +172186,12 @@ class GltfReader {
|
|
|
172106
172186
|
// uv parameters to pick the colors out of the color map texture.
|
|
172107
172187
|
meshPrimitive.colorMap.insert(displayParams.fillColor.tbgr); // White...
|
|
172108
172188
|
const colorIndices = this.readBufferData16(primitive.attributes, "_COLORINDEX");
|
|
172109
|
-
if (undefined !== colorIndices) {
|
|
172189
|
+
if (undefined !== colorIndices && material) {
|
|
172110
172190
|
let texStep;
|
|
172111
|
-
if (
|
|
172112
|
-
texStep =
|
|
172113
|
-
else
|
|
172114
|
-
texStep =
|
|
172191
|
+
if (isGltf1Material(material))
|
|
172192
|
+
texStep = (_a = material.values) === null || _a === void 0 ? void 0 : _a.texStep;
|
|
172193
|
+
else
|
|
172194
|
+
texStep = (_d = (_c = (_b = material.extensions) === null || _b === void 0 ? void 0 : _b.KHR_techniques_webgl) === null || _c === void 0 ? void 0 : _c.values) === null || _d === void 0 ? void 0 : _d.u_texStep;
|
|
172115
172195
|
if (texStep) {
|
|
172116
172196
|
const uvParams = [];
|
|
172117
172197
|
for (let i = 0; i < colorIndices.count; i++)
|
|
@@ -172121,7 +172201,7 @@ class GltfReader {
|
|
|
172121
172201
|
mesh.uvQParams = paramList.params;
|
|
172122
172202
|
}
|
|
172123
172203
|
}
|
|
172124
|
-
if ((
|
|
172204
|
+
if ((_e = primitive.extensions) === null || _e === void 0 ? void 0 : _e.KHR_draco_mesh_compression) {
|
|
172125
172205
|
return undefined; // Defer Draco decompression until web workers implementation.
|
|
172126
172206
|
/*
|
|
172127
172207
|
const dracoExtension = primitive.extensions.KHR_draco_mesh_compression;
|
|
@@ -172135,7 +172215,7 @@ class GltfReader {
|
|
|
172135
172215
|
if (!this.readVertices(mesh, primitive, pseudoRtcBias))
|
|
172136
172216
|
return undefined;
|
|
172137
172217
|
switch (primitiveType) {
|
|
172138
|
-
case
|
|
172218
|
+
case _render_primitives_mesh_MeshPrimitives__WEBPACK_IMPORTED_MODULE_7__["Mesh"].PrimitiveType.Mesh: {
|
|
172139
172219
|
if (!this.readMeshIndices(mesh, primitive))
|
|
172140
172220
|
return undefined;
|
|
172141
172221
|
if (!displayParams.ignoreLighting && !this.readNormals(mesh, primitive.attributes, "NORMAL"))
|
|
@@ -172146,9 +172226,9 @@ class GltfReader {
|
|
|
172146
172226
|
return undefined;
|
|
172147
172227
|
break;
|
|
172148
172228
|
}
|
|
172149
|
-
case
|
|
172150
|
-
case
|
|
172151
|
-
if (undefined !== mesh.primitive.polylines && !this.readPolylines(mesh.primitive.polylines, primitive, "indices",
|
|
172229
|
+
case _render_primitives_mesh_MeshPrimitives__WEBPACK_IMPORTED_MODULE_7__["Mesh"].PrimitiveType.Polyline:
|
|
172230
|
+
case _render_primitives_mesh_MeshPrimitives__WEBPACK_IMPORTED_MODULE_7__["Mesh"].PrimitiveType.Point: {
|
|
172231
|
+
if (undefined !== mesh.primitive.polylines && !this.readPolylines(mesh.primitive.polylines, primitive, "indices", _render_primitives_mesh_MeshPrimitives__WEBPACK_IMPORTED_MODULE_7__["Mesh"].PrimitiveType.Point === primitiveType))
|
|
172152
172232
|
return undefined;
|
|
172153
172233
|
break;
|
|
172154
172234
|
}
|
|
@@ -172159,7 +172239,7 @@ class GltfReader {
|
|
|
172159
172239
|
}
|
|
172160
172240
|
if (displayParams.textureMapping && !mesh.uvs)
|
|
172161
172241
|
return undefined;
|
|
172162
|
-
if ((
|
|
172242
|
+
if ((_f = primitive.extensions) === null || _f === void 0 ? void 0 : _f.CESIUM_primitive_outline) {
|
|
172163
172243
|
const data = this.readBufferData32(primitive.extensions.CESIUM_primitive_outline, "indices");
|
|
172164
172244
|
if (data !== undefined) {
|
|
172165
172245
|
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(0 === data.count % 2);
|
|
@@ -172211,8 +172291,8 @@ class GltfReader {
|
|
|
172211
172291
|
const view = this.getBufferView(primitive.attributes, "POSITION");
|
|
172212
172292
|
if (undefined === view)
|
|
172213
172293
|
return false;
|
|
172214
|
-
if (
|
|
172215
|
-
const buffer = view.toBufferData(
|
|
172294
|
+
if (GltfDataType.Float === view.type) {
|
|
172295
|
+
const buffer = view.toBufferData(GltfDataType.Float);
|
|
172216
172296
|
if (undefined === buffer)
|
|
172217
172297
|
return false;
|
|
172218
172298
|
const strideSkip = view.stride - 3;
|
|
@@ -172231,7 +172311,7 @@ class GltfReader {
|
|
|
172231
172311
|
mesh.points = positions.toTypedArray();
|
|
172232
172312
|
}
|
|
172233
172313
|
else {
|
|
172234
|
-
if (
|
|
172314
|
+
if (GltfDataType.UnsignedShort !== view.type)
|
|
172235
172315
|
return false;
|
|
172236
172316
|
const extensions = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(view.accessor.extensions);
|
|
172237
172317
|
const quantized = undefined !== extensions ? _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(extensions.WEB3D_quantized_attributes) : undefined;
|
|
@@ -172241,7 +172321,7 @@ class GltfReader {
|
|
|
172241
172321
|
const rangeMax = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asArray(quantized.decodedMax);
|
|
172242
172322
|
if (undefined === rangeMin || undefined === rangeMax)
|
|
172243
172323
|
return false;
|
|
172244
|
-
const buffer = view.toBufferData(
|
|
172324
|
+
const buffer = view.toBufferData(GltfDataType.UnsignedShort);
|
|
172245
172325
|
if (undefined === buffer || !(buffer.buffer instanceof Uint16Array))
|
|
172246
172326
|
return false;
|
|
172247
172327
|
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(buffer.buffer instanceof Uint16Array);
|
|
@@ -172289,8 +172369,8 @@ class GltfReader {
|
|
|
172289
172369
|
if (undefined === view)
|
|
172290
172370
|
return false;
|
|
172291
172371
|
switch (view.type) {
|
|
172292
|
-
case
|
|
172293
|
-
const data = view.toBufferData(
|
|
172372
|
+
case GltfDataType.Float: {
|
|
172373
|
+
const data = view.toBufferData(GltfDataType.Float);
|
|
172294
172374
|
if (undefined === data)
|
|
172295
172375
|
return false;
|
|
172296
172376
|
mesh.normals = new Uint16Array(data.count);
|
|
@@ -172302,8 +172382,8 @@ class GltfReader {
|
|
|
172302
172382
|
}
|
|
172303
172383
|
return true;
|
|
172304
172384
|
}
|
|
172305
|
-
case
|
|
172306
|
-
const data = view.toBufferData(
|
|
172385
|
+
case GltfDataType.UnsignedByte: {
|
|
172386
|
+
const data = view.toBufferData(GltfDataType.UnsignedByte);
|
|
172307
172387
|
if (undefined === data)
|
|
172308
172388
|
return false;
|
|
172309
172389
|
// ###TODO: we shouldn't have to allocate OctEncodedNormal objects...just use uint16s / numbers...
|
|
@@ -172326,7 +172406,7 @@ class GltfReader {
|
|
|
172326
172406
|
if (view === undefined)
|
|
172327
172407
|
return false;
|
|
172328
172408
|
switch (view.type) {
|
|
172329
|
-
case
|
|
172409
|
+
case GltfDataType.Float: {
|
|
172330
172410
|
data = this.readBufferDataFloat(json, accessorName);
|
|
172331
172411
|
mesh.uvRange = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Range2d"].createNull();
|
|
172332
172412
|
for (let i = 0; i < data.count; i++) {
|
|
@@ -172342,7 +172422,7 @@ class GltfReader {
|
|
|
172342
172422
|
}
|
|
172343
172423
|
return true;
|
|
172344
172424
|
}
|
|
172345
|
-
case
|
|
172425
|
+
case GltfDataType.UnsignedShort: {
|
|
172346
172426
|
const extensions = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(view.accessor.extensions);
|
|
172347
172427
|
const quantized = undefined !== extensions ? _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(extensions.WEB3D_quantized_attributes) : undefined;
|
|
172348
172428
|
if (undefined === quantized)
|
|
@@ -172351,7 +172431,7 @@ class GltfReader {
|
|
|
172351
172431
|
const rangeMax = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asArray(quantized.decodedMax);
|
|
172352
172432
|
if (undefined === rangeMin || undefined === rangeMax)
|
|
172353
172433
|
return false;
|
|
172354
|
-
const qData = view.toBufferData(
|
|
172434
|
+
const qData = view.toBufferData(GltfDataType.UnsignedShort);
|
|
172355
172435
|
if (undefined === qData || !(qData.buffer instanceof Uint16Array))
|
|
172356
172436
|
return false;
|
|
172357
172437
|
mesh.uvRange = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Range2d"].createXYXY(rangeMin[0], rangeMin[1], rangeMax[0], rangeMax[1]);
|
|
@@ -172403,25 +172483,28 @@ class GltfReader {
|
|
|
172403
172483
|
return true;
|
|
172404
172484
|
}
|
|
172405
172485
|
async loadTextures() {
|
|
172406
|
-
|
|
172486
|
+
var _a, _b;
|
|
172487
|
+
if (undefined === this._glTF.textures)
|
|
172407
172488
|
return;
|
|
172408
172489
|
const transparentTextures = new Set();
|
|
172409
|
-
|
|
172410
|
-
const
|
|
172411
|
-
|
|
172412
|
-
|
|
172413
|
-
|
|
172414
|
-
|
|
172415
|
-
|
|
172416
|
-
|
|
172417
|
-
|
|
172418
|
-
|
|
172419
|
-
|
|
172420
|
-
|
|
172490
|
+
if (this._glTF.techniques) {
|
|
172491
|
+
for (const name of Object.keys(this._materialValues)) {
|
|
172492
|
+
const material = this._materialValues[name];
|
|
172493
|
+
if (material && isGltf1Material(material) && undefined !== material.technique && undefined !== ((_a = material.values) === null || _a === void 0 ? void 0 : _a.tex)) {
|
|
172494
|
+
const technique = this._glTF.techniques[material.technique];
|
|
172495
|
+
if ((_b = technique === null || technique === void 0 ? void 0 : technique.states) === null || _b === void 0 ? void 0 : _b.enable) {
|
|
172496
|
+
for (const enable of technique.states.enable) {
|
|
172497
|
+
if (3042 === enable) { // 3042 = BLEND
|
|
172498
|
+
transparentTextures.add(material.values.tex.toString());
|
|
172499
|
+
break;
|
|
172500
|
+
}
|
|
172501
|
+
}
|
|
172502
|
+
}
|
|
172503
|
+
}
|
|
172421
172504
|
}
|
|
172422
172505
|
}
|
|
172423
172506
|
const promises = new Array();
|
|
172424
|
-
for (const name of Object.keys(this.
|
|
172507
|
+
for (const name of Object.keys(this._glTF.textures))
|
|
172425
172508
|
promises.push(this.loadTexture(name, transparentTextures.has(name)));
|
|
172426
172509
|
if (promises.length > 0)
|
|
172427
172510
|
await Promise.all(promises);
|
|
@@ -172430,6 +172513,8 @@ class GltfReader {
|
|
|
172430
172513
|
try {
|
|
172431
172514
|
const binaryImageJson = (imageJson.extensions && imageJson.extensions.KHR_binary_glTF) ? _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(imageJson.extensions.KHR_binary_glTF) : imageJson;
|
|
172432
172515
|
const bufferView = this._bufferViews[binaryImageJson.bufferView];
|
|
172516
|
+
if (!(bufferView === null || bufferView === void 0 ? void 0 : bufferView.byteOffset) || !(bufferView === null || bufferView === void 0 ? void 0 : bufferView.byteLength))
|
|
172517
|
+
return undefined;
|
|
172433
172518
|
const mimeType = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asString(binaryImageJson.mimeType);
|
|
172434
172519
|
const format = Object(_ImageUtil__WEBPACK_IMPORTED_MODULE_3__["getImageSourceFormatForMimeType"])(mimeType);
|
|
172435
172520
|
if (undefined === format)
|
|
@@ -172460,7 +172545,7 @@ class GltfReader {
|
|
|
172460
172545
|
type: textureType,
|
|
172461
172546
|
image: {
|
|
172462
172547
|
source: image,
|
|
172463
|
-
transparency: isTransparent && _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["ImageSourceFormat"].Png === format ?
|
|
172548
|
+
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,
|
|
172464
172549
|
},
|
|
172465
172550
|
});
|
|
172466
172551
|
}
|
|
@@ -172473,18 +172558,53 @@ class GltfReader {
|
|
|
172473
172558
|
}
|
|
172474
172559
|
}
|
|
172475
172560
|
async loadTexture(textureId, isTransparent) {
|
|
172476
|
-
|
|
172561
|
+
if (!this._glTF.textures || !this._glTF.images)
|
|
172562
|
+
return;
|
|
172563
|
+
const textureJson = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(this._glTF.textures[textureId]);
|
|
172477
172564
|
if (undefined === textureJson)
|
|
172478
172565
|
return;
|
|
172479
|
-
const texture = await this.loadTextureImage(this.
|
|
172566
|
+
const texture = await this.loadTextureImage(this._glTF.images[textureJson.source], this._glTF.samplers ? this._glTF.samplers[textureJson.sampler] : undefined, isTransparent);
|
|
172480
172567
|
textureJson.renderTexture = texture;
|
|
172481
172568
|
}
|
|
172482
172569
|
findTextureMapping(textureId) {
|
|
172483
|
-
const textureJson = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(this.
|
|
172570
|
+
const textureJson = this._glTF.textures ? _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(this._glTF.textures[textureId]) : undefined;
|
|
172484
172571
|
const texture = undefined !== textureJson ? textureJson.renderTexture : undefined;
|
|
172485
172572
|
return undefined !== texture ? new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["TextureMapping"](texture, new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["TextureMapping"].Params()) : undefined;
|
|
172486
172573
|
}
|
|
172487
172574
|
}
|
|
172575
|
+
/** Produce a [[RenderGraphic]] from a [glTF](https://www.khronos.org/gltf/) asset suitable for use in [view decorations]($docs/learning/frontend/ViewDecorations).
|
|
172576
|
+
* @returns a graphic produced from the glTF asset's default scene, or `undefined` if a graphic could not be produced from the asset.
|
|
172577
|
+
* @note Support for the full [glTF 2.0 specification](https://www.khronos.org/registry/glTF/specs/2.0/glTF-2.0.html) is currently a work in progress.
|
|
172578
|
+
* If a particular glTF asset fails to load and/or display properly, please
|
|
172579
|
+
* [submit an issue](https://github.com/iTwin/itwinjs-core/issues).
|
|
172580
|
+
* @see [Example decorator]($docs/learning/frontend/ViewDecorations#gltf-decorations) for an example of a decorator that reads and displays a glTF asset.
|
|
172581
|
+
* @public
|
|
172582
|
+
*/
|
|
172583
|
+
async function readGltfGraphics(args) {
|
|
172584
|
+
const stream = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["ByteStream"](args.gltf.buffer);
|
|
172585
|
+
const props = GltfReaderProps.create(stream, true); // glTF supports exactly one coordinate system with y axis up.
|
|
172586
|
+
const reader = props ? new Reader(props, args) : undefined;
|
|
172587
|
+
if (!reader)
|
|
172588
|
+
return undefined;
|
|
172589
|
+
const result = await reader.read();
|
|
172590
|
+
return result.graphic;
|
|
172591
|
+
}
|
|
172592
|
+
/** Implements [[readGltfGraphics]]. */
|
|
172593
|
+
class Reader extends GltfReader {
|
|
172594
|
+
constructor(props, args) {
|
|
172595
|
+
var _a, _b, _c;
|
|
172596
|
+
super(props, args.iModel, false, _IModelApp__WEBPACK_IMPORTED_MODULE_4__["IModelApp"].renderSystem);
|
|
172597
|
+
const pickableId = (_a = args.pickableOptions) === null || _a === void 0 ? void 0 : _a.id;
|
|
172598
|
+
if (pickableId) {
|
|
172599
|
+
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);
|
|
172600
|
+
this._featureTable.insert(new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["Feature"](pickableId));
|
|
172601
|
+
}
|
|
172602
|
+
}
|
|
172603
|
+
async read() {
|
|
172604
|
+
await this.loadTextures();
|
|
172605
|
+
return this.readGltfAndCreateGraphics(true, this._featureTable, undefined);
|
|
172606
|
+
}
|
|
172607
|
+
}
|
|
172488
172608
|
|
|
172489
172609
|
|
|
172490
172610
|
/***/ }),
|
|
@@ -172589,7 +172709,7 @@ function setTransform(transforms, index, rotation, origin) {
|
|
|
172589
172709
|
*/
|
|
172590
172710
|
class I3dmReader extends _internal__WEBPACK_IMPORTED_MODULE_3__["GltfReader"] {
|
|
172591
172711
|
constructor(_featureBinary, _featureJson, _batchTableJson, props, iModel, modelId, is3d, system, _range, _isLeaf, isCanceled, _idMap, deduplicateVertices = false) {
|
|
172592
|
-
super(props, iModel,
|
|
172712
|
+
super(props, iModel, is3d, system, _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["BatchType"].Primary, isCanceled, deduplicateVertices);
|
|
172593
172713
|
this._featureBinary = _featureBinary;
|
|
172594
172714
|
this._featureJson = _featureJson;
|
|
172595
172715
|
this._batchTableJson = _batchTableJson;
|
|
@@ -172597,6 +172717,7 @@ class I3dmReader extends _internal__WEBPACK_IMPORTED_MODULE_3__["GltfReader"] {
|
|
|
172597
172717
|
this._isLeaf = _isLeaf;
|
|
172598
172718
|
this._idMap = _idMap;
|
|
172599
172719
|
this._instanceCount = 0;
|
|
172720
|
+
this._modelId = modelId;
|
|
172600
172721
|
}
|
|
172601
172722
|
static create(stream, iModel, modelId, is3d, range, system, yAxisUp, isLeaf, isCanceled, idMap, deduplicateVertices = false) {
|
|
172602
172723
|
const header = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["I3dmHeader"](stream);
|
|
@@ -173527,7 +173648,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
173527
173648
|
/* harmony import */ var _render_primitives_VertexTable__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../render/primitives/VertexTable */ "../../core/frontend/lib/esm/render/primitives/VertexTable.js");
|
|
173528
173649
|
/* harmony import */ var _render_primitives_PointStringParams__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../render/primitives/PointStringParams */ "../../core/frontend/lib/esm/render/primitives/PointStringParams.js");
|
|
173529
173650
|
/* harmony import */ var _render_primitives_PolylineParams__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../render/primitives/PolylineParams */ "../../core/frontend/lib/esm/render/primitives/PolylineParams.js");
|
|
173530
|
-
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
173531
173651
|
/*---------------------------------------------------------------------------------------------
|
|
173532
173652
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
173533
173653
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -173547,7 +173667,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
173547
173667
|
|
|
173548
173668
|
|
|
173549
173669
|
|
|
173550
|
-
|
|
173551
173670
|
/** Convert the byte array returned by [[TileAdmin.requestElementGraphics]] into a [[RenderGraphic]].
|
|
173552
173671
|
* @param bytes The binary graphics data obtained from `requestElementGraphics`.
|
|
173553
173672
|
* @param iModel The iModel with which the graphics are associated.
|
|
@@ -173580,28 +173699,69 @@ function extractNodeId(nodeName) {
|
|
|
173580
173699
|
/** Deserializes tile content in iMdl format. These tiles contain element geometry encoded into a format optimized for the imodeljs webgl renderer.
|
|
173581
173700
|
* @internal
|
|
173582
173701
|
*/
|
|
173583
|
-
class ImdlReader
|
|
173584
|
-
constructor(
|
|
173585
|
-
var _a, _b, _c, _d;
|
|
173586
|
-
super(props, args.iModel, args.modelId, args.is3d, args.system, args.type, args.isCanceled);
|
|
173702
|
+
class ImdlReader {
|
|
173703
|
+
constructor(imdl, binaryPosition, args) {
|
|
173704
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
173587
173705
|
this._patternGeometry = new Map();
|
|
173706
|
+
this._buffer = args.stream;
|
|
173707
|
+
this._binaryData = new Uint8Array(this._buffer.arrayBuffer, binaryPosition);
|
|
173708
|
+
this._animationNodes = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(imdl.animationNodes);
|
|
173709
|
+
this._bufferViews = imdl.bufferViews;
|
|
173710
|
+
this._meshes = imdl.meshes;
|
|
173711
|
+
this._nodes = imdl.nodes;
|
|
173712
|
+
this._materialValues = (_a = imdl.materials) !== null && _a !== void 0 ? _a : {};
|
|
173713
|
+
this._renderMaterials = (_b = imdl.renderMaterials) !== null && _b !== void 0 ? _b : {};
|
|
173714
|
+
this._namedTextures = (_c = imdl.namedTextures) !== null && _c !== void 0 ? _c : {};
|
|
173715
|
+
this._patternSymbols = (_d = imdl.patternSymbols) !== null && _d !== void 0 ? _d : {};
|
|
173716
|
+
this._iModel = args.iModel;
|
|
173717
|
+
this._modelId = args.modelId;
|
|
173718
|
+
this._is3d = args.is3d;
|
|
173719
|
+
this._system = args.system;
|
|
173720
|
+
this._type = (_e = args.type) !== null && _e !== void 0 ? _e : _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["BatchType"].Primary;
|
|
173721
|
+
this._canceled = args.isCanceled;
|
|
173588
173722
|
this._sizeMultiplier = args.sizeMultiplier;
|
|
173589
|
-
this._loadEdges = (
|
|
173590
|
-
this._options = (
|
|
173591
|
-
this._containsTransformNodes = (
|
|
173592
|
-
this._patternSymbols = (_d = props.scene.patternSymbols) !== null && _d !== void 0 ? _d : {};
|
|
173723
|
+
this._loadEdges = (_f = args.loadEdges) !== null && _f !== void 0 ? _f : true;
|
|
173724
|
+
this._options = (_g = args.options) !== null && _g !== void 0 ? _g : {};
|
|
173725
|
+
this._containsTransformNodes = (_h = args.containsTransformNodes) !== null && _h !== void 0 ? _h : false;
|
|
173593
173726
|
}
|
|
173727
|
+
get _isCanceled() { return undefined !== this._canceled && this._canceled(this); }
|
|
173728
|
+
get _isVolumeClassifier() { return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["BatchType"].VolumeClassifier === this._type; }
|
|
173594
173729
|
/** Attempt to initialize an ImdlReader to deserialize iModel tile data beginning at the stream's current position. */
|
|
173595
173730
|
static create(args) {
|
|
173596
|
-
const
|
|
173597
|
-
if (!
|
|
173731
|
+
const imdlHeader = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["ImdlHeader"](args.stream);
|
|
173732
|
+
if (!imdlHeader.isValid || !imdlHeader.isReadableVersion)
|
|
173598
173733
|
return undefined;
|
|
173599
173734
|
// The feature table follows the iMdl header
|
|
173600
173735
|
if (!this.skipFeatureTable(args.stream))
|
|
173601
173736
|
return undefined;
|
|
173602
173737
|
// A glTF header follows the feature table
|
|
173603
|
-
const
|
|
173604
|
-
|
|
173738
|
+
const gltfHeader = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["GltfHeader"](args.stream);
|
|
173739
|
+
if (!gltfHeader.isValid)
|
|
173740
|
+
return undefined;
|
|
173741
|
+
args.stream.curPos = gltfHeader.scenePosition;
|
|
173742
|
+
const sceneStrData = args.stream.nextBytes(gltfHeader.sceneStrLength);
|
|
173743
|
+
const sceneStr = Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["utf8ToString"])(sceneStrData);
|
|
173744
|
+
if (!sceneStr)
|
|
173745
|
+
return undefined;
|
|
173746
|
+
try {
|
|
173747
|
+
const sceneValue = JSON.parse(sceneStr);
|
|
173748
|
+
const imdl = {
|
|
173749
|
+
scene: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asString(sceneValue.scene),
|
|
173750
|
+
scenes: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asArray(sceneValue.scenes),
|
|
173751
|
+
animationNodes: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(sceneValue.animationNodes),
|
|
173752
|
+
bufferViews: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(sceneValue.bufferViews),
|
|
173753
|
+
meshes: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(sceneValue.meshes),
|
|
173754
|
+
nodes: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(sceneValue.nodes),
|
|
173755
|
+
materials: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(sceneValue.materials),
|
|
173756
|
+
renderMaterials: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(sceneValue.renderMaterials),
|
|
173757
|
+
namedTextures: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(sceneValue.namedTextures),
|
|
173758
|
+
patternSymbols: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asObject(sceneValue.patternSymbols),
|
|
173759
|
+
};
|
|
173760
|
+
return undefined !== imdl.meshes ? new ImdlReader(imdl, gltfHeader.binaryPosition, args) : undefined;
|
|
173761
|
+
}
|
|
173762
|
+
catch (_) {
|
|
173763
|
+
return undefined;
|
|
173764
|
+
}
|
|
173605
173765
|
}
|
|
173606
173766
|
/** Attempt to deserialize the tile data */
|
|
173607
173767
|
async read() {
|
|
@@ -173625,8 +173785,6 @@ class ImdlReader extends _internal__WEBPACK_IMPORTED_MODULE_12__["GltfReader"] {
|
|
|
173625
173785
|
return this.finishRead(content.isLeaf, featureTable, content.contentRange, content.emptySubRangeMask, content.sizeMultiplier);
|
|
173626
173786
|
}
|
|
173627
173787
|
/** @internal */
|
|
173628
|
-
extractReturnToCenter(_extensions) { return undefined; }
|
|
173629
|
-
/** @internal */
|
|
173630
173788
|
createDisplayParams(json) {
|
|
173631
173789
|
const type = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asInt(json.type, _render_primitives_DisplayParams__WEBPACK_IMPORTED_MODULE_6__["DisplayParams"].Type.Mesh);
|
|
173632
173790
|
const lineColor = _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["ColorDef"].create(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asInt(json.lineColor));
|
|
@@ -173664,33 +173822,34 @@ class ImdlReader extends _internal__WEBPACK_IMPORTED_MODULE_12__["GltfReader"] {
|
|
|
173664
173822
|
}
|
|
173665
173823
|
/** @internal */
|
|
173666
173824
|
materialFromJson(key) {
|
|
173667
|
-
|
|
173825
|
+
const material = this._system.findMaterial(key, this._iModel);
|
|
173826
|
+
if (material)
|
|
173827
|
+
return material;
|
|
173828
|
+
if (!this._renderMaterials)
|
|
173668
173829
|
return undefined;
|
|
173669
|
-
|
|
173670
|
-
if (!
|
|
173671
|
-
|
|
173672
|
-
|
|
173673
|
-
|
|
173674
|
-
|
|
173675
|
-
|
|
173676
|
-
|
|
173677
|
-
|
|
173678
|
-
|
|
173679
|
-
|
|
173680
|
-
|
|
173681
|
-
|
|
173682
|
-
|
|
173683
|
-
|
|
173684
|
-
|
|
173685
|
-
|
|
173686
|
-
|
|
173687
|
-
|
|
173688
|
-
|
|
173689
|
-
|
|
173690
|
-
|
|
173691
|
-
|
|
173692
|
-
}
|
|
173693
|
-
return material;
|
|
173830
|
+
const materialJson = this._renderMaterials[key];
|
|
173831
|
+
if (!materialJson)
|
|
173832
|
+
return undefined;
|
|
173833
|
+
const materialParams = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["RenderMaterial"].Params(key);
|
|
173834
|
+
materialParams.diffuseColor = this.colorDefFromMaterialJson(materialJson.diffuseColor);
|
|
173835
|
+
if (materialJson.diffuse !== undefined)
|
|
173836
|
+
materialParams.diffuse = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asDouble(materialJson.diffuse);
|
|
173837
|
+
materialParams.specularColor = this.colorDefFromMaterialJson(materialJson.specularColor);
|
|
173838
|
+
if (materialJson.specular !== undefined)
|
|
173839
|
+
materialParams.specular = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asDouble(materialJson.specular);
|
|
173840
|
+
materialParams.reflectColor = this.colorDefFromMaterialJson(materialJson.reflectColor);
|
|
173841
|
+
if (materialJson.reflect !== undefined)
|
|
173842
|
+
materialParams.reflect = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asDouble(materialJson.reflect);
|
|
173843
|
+
if (materialJson.specularExponent !== undefined)
|
|
173844
|
+
materialParams.specularExponent = materialJson.specularExponent;
|
|
173845
|
+
if (undefined !== materialJson.transparency)
|
|
173846
|
+
materialParams.alpha = 1.0 - materialJson.transparency;
|
|
173847
|
+
materialParams.refract = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asDouble(materialJson.refract);
|
|
173848
|
+
materialParams.shadows = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asBool(materialJson.shadows);
|
|
173849
|
+
materialParams.ambient = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asDouble(materialJson.ambient);
|
|
173850
|
+
if (undefined !== materialJson.textureMapping)
|
|
173851
|
+
materialParams.textureMapping = this.textureMappingFromJson(materialJson.textureMapping.texture);
|
|
173852
|
+
return this._system.createMaterial(materialParams, this._iModel);
|
|
173694
173853
|
}
|
|
173695
173854
|
textureMappingFromJson(json) {
|
|
173696
173855
|
if (undefined === json)
|
|
@@ -173783,7 +173942,7 @@ class ImdlReader extends _internal__WEBPACK_IMPORTED_MODULE_12__["GltfReader"] {
|
|
|
173783
173942
|
if (this._buffer.isPastTheEnd)
|
|
173784
173943
|
return undefined;
|
|
173785
173944
|
let animNodesArray;
|
|
173786
|
-
const animationNodes =
|
|
173945
|
+
const animationNodes = this._animationNodes;
|
|
173787
173946
|
if (undefined !== animationNodes) {
|
|
173788
173947
|
const bytesPerId = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asInt(animationNodes.bytesPerId);
|
|
173789
173948
|
const bufferViewId = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["JsonUtils"].asString(animationNodes.bufferView);
|
|
@@ -174161,7 +174320,8 @@ class ImdlReader extends _internal__WEBPACK_IMPORTED_MODULE_12__["GltfReader"] {
|
|
|
174161
174320
|
graphics.push(this._system.createBranch(branch, _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Transform"].createIdentity()));
|
|
174162
174321
|
};
|
|
174163
174322
|
for (const nodeKey of Object.keys(this._nodes)) {
|
|
174164
|
-
const
|
|
174323
|
+
const nodeValue = this._nodes[nodeKey];
|
|
174324
|
+
const meshValue = undefined !== nodeValue ? this._meshes[nodeValue] : undefined;
|
|
174165
174325
|
const primitives = meshValue === null || meshValue === void 0 ? void 0 : meshValue.primitives;
|
|
174166
174326
|
if (!primitives || !meshValue)
|
|
174167
174327
|
continue;
|
|
@@ -180014,7 +180174,7 @@ function createDefaultViewFlagOverrides(options) {
|
|
|
180014
180174
|
/*!**************************************************************!*\
|
|
180015
180175
|
!*** D:/vsts_a/460/s/core/frontend/lib/esm/tile/internal.js ***!
|
|
180016
180176
|
\**************************************************************/
|
|
180017
|
-
/*! 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, GltfReaderProps, GltfMeshData, GltfReader, 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 */
|
|
180177
|
+
/*! 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 */
|
|
180018
180178
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
180019
180179
|
|
|
180020
180180
|
"use strict";
|
|
@@ -180116,12 +180276,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
180116
180276
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TileUsageMarker", function() { return _TileUsageMarker__WEBPACK_IMPORTED_MODULE_25__["TileUsageMarker"]; });
|
|
180117
180277
|
|
|
180118
180278
|
/* harmony import */ var _GltfReader__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./GltfReader */ "../../core/frontend/lib/esm/tile/GltfReader.js");
|
|
180279
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfDataType", function() { return _GltfReader__WEBPACK_IMPORTED_MODULE_26__["GltfDataType"]; });
|
|
180280
|
+
|
|
180281
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfBufferData", function() { return _GltfReader__WEBPACK_IMPORTED_MODULE_26__["GltfBufferData"]; });
|
|
180282
|
+
|
|
180119
180283
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfReaderProps", function() { return _GltfReader__WEBPACK_IMPORTED_MODULE_26__["GltfReaderProps"]; });
|
|
180120
180284
|
|
|
180121
180285
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfMeshData", function() { return _GltfReader__WEBPACK_IMPORTED_MODULE_26__["GltfMeshData"]; });
|
|
180122
180286
|
|
|
180123
180287
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GltfReader", function() { return _GltfReader__WEBPACK_IMPORTED_MODULE_26__["GltfReader"]; });
|
|
180124
180288
|
|
|
180289
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "readGltfGraphics", function() { return _GltfReader__WEBPACK_IMPORTED_MODULE_26__["readGltfGraphics"]; });
|
|
180290
|
+
|
|
180125
180291
|
/* harmony import */ var _I3dmReader__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./I3dmReader */ "../../core/frontend/lib/esm/tile/I3dmReader.js");
|
|
180126
180292
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "I3dmReader", function() { return _I3dmReader__WEBPACK_IMPORTED_MODULE_27__["I3dmReader"]; });
|
|
180127
180293
|
|
|
@@ -181195,11 +181361,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
181195
181361
|
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
181196
181362
|
/* harmony import */ var _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @itwin/core-geometry */ "../../core/geometry/lib/esm/core-geometry.js");
|
|
181197
181363
|
/* harmony import */ var _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
|
|
181198
|
-
/* harmony import */ var
|
|
181199
|
-
/* harmony import */ var
|
|
181200
|
-
/* harmony import */ var
|
|
181201
|
-
/* harmony import */ var
|
|
181202
|
-
/* harmony import */ var
|
|
181364
|
+
/* harmony import */ var _itwin_appui_abstract__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/appui-abstract */ "../../ui/appui-abstract/lib/esm/appui-abstract.js");
|
|
181365
|
+
/* harmony import */ var _bentley_itwin_client__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @bentley/itwin-client */ "../../clients/itwin/lib/esm/itwin-client.js");
|
|
181366
|
+
/* harmony import */ var _ApproximateTerrainHeights__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../ApproximateTerrainHeights */ "../../core/frontend/lib/esm/ApproximateTerrainHeights.js");
|
|
181367
|
+
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
181368
|
+
/* harmony import */ var _render_primitives_mesh_TerrainMeshPrimitive__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../render/primitives/mesh/TerrainMeshPrimitive */ "../../core/frontend/lib/esm/render/primitives/mesh/TerrainMeshPrimitive.js");
|
|
181369
|
+
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
181203
181370
|
/*---------------------------------------------------------------------------------------------
|
|
181204
181371
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
181205
181372
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -181215,6 +181382,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
181215
181382
|
|
|
181216
181383
|
|
|
181217
181384
|
|
|
181385
|
+
|
|
181218
181386
|
/** @internal */
|
|
181219
181387
|
var QuantizedMeshExtensionIds;
|
|
181220
181388
|
(function (QuantizedMeshExtensionIds) {
|
|
@@ -181230,7 +181398,7 @@ function getCesiumAssetUrl(osmAssetId, requestKey) {
|
|
|
181230
181398
|
}
|
|
181231
181399
|
/** @internal */
|
|
181232
181400
|
function getCesiumOSMBuildingsUrl() {
|
|
181233
|
-
const key =
|
|
181401
|
+
const key = _IModelApp__WEBPACK_IMPORTED_MODULE_6__["IModelApp"].tileAdmin.cesiumIonKey;
|
|
181234
181402
|
if (undefined === key)
|
|
181235
181403
|
return undefined;
|
|
181236
181404
|
const osmBuildingAssetId = 96188;
|
|
@@ -181239,7 +181407,7 @@ function getCesiumOSMBuildingsUrl() {
|
|
|
181239
181407
|
/** @internal */
|
|
181240
181408
|
async function getCesiumAccessTokenAndEndpointUrl(assetId = 1, requestKey) {
|
|
181241
181409
|
if (undefined === requestKey) {
|
|
181242
|
-
requestKey =
|
|
181410
|
+
requestKey = _IModelApp__WEBPACK_IMPORTED_MODULE_6__["IModelApp"].tileAdmin.cesiumIonKey;
|
|
181243
181411
|
if (undefined === requestKey)
|
|
181244
181412
|
return {};
|
|
181245
181413
|
}
|
|
@@ -181247,7 +181415,7 @@ async function getCesiumAccessTokenAndEndpointUrl(assetId = 1, requestKey) {
|
|
|
181247
181415
|
const apiUrl = requestTemplate.replace("{CesiumRequestToken}", requestKey);
|
|
181248
181416
|
const apiRequestOptions = { method: "GET", responseType: "json" };
|
|
181249
181417
|
try {
|
|
181250
|
-
const apiResponse = await Object(
|
|
181418
|
+
const apiResponse = await Object(_bentley_itwin_client__WEBPACK_IMPORTED_MODULE_4__["request"])(apiUrl, apiRequestOptions);
|
|
181251
181419
|
if (undefined === apiResponse || undefined === apiResponse.body || undefined === apiResponse.body.url) {
|
|
181252
181420
|
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(false);
|
|
181253
181421
|
return {};
|
|
@@ -181259,35 +181427,45 @@ async function getCesiumAccessTokenAndEndpointUrl(assetId = 1, requestKey) {
|
|
|
181259
181427
|
return {};
|
|
181260
181428
|
}
|
|
181261
181429
|
}
|
|
181430
|
+
let notifiedTerrainError = false;
|
|
181431
|
+
// Notify - once per session - of failure to obtain Cesium terrain provider.
|
|
181432
|
+
function notifyTerrainError(detailedDescription) {
|
|
181433
|
+
if (notifiedTerrainError)
|
|
181434
|
+
return;
|
|
181435
|
+
notifiedTerrainError = true;
|
|
181436
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__["IModelApp"].notifications.displayMessage(_itwin_appui_abstract__WEBPACK_IMPORTED_MODULE_3__["MessageSeverity"].Information, _IModelApp__WEBPACK_IMPORTED_MODULE_6__["IModelApp"].localization.getLocalizedString(`BackgroundMap.CannotObtainTerrain`), detailedDescription);
|
|
181437
|
+
}
|
|
181262
181438
|
/** @internal */
|
|
181263
181439
|
async function getCesiumTerrainProvider(iModel, modelId, wantSkirts, wantNormals, exaggeration) {
|
|
181264
|
-
let layers;
|
|
181265
181440
|
const accessTokenAndEndpointUrl = await getCesiumAccessTokenAndEndpointUrl();
|
|
181266
|
-
if (!accessTokenAndEndpointUrl.token || !accessTokenAndEndpointUrl.url)
|
|
181441
|
+
if (!accessTokenAndEndpointUrl.token || !accessTokenAndEndpointUrl.url) {
|
|
181442
|
+
notifyTerrainError(_IModelApp__WEBPACK_IMPORTED_MODULE_6__["IModelApp"].localization.getLocalizedString(`BackgroundMap.MissingCesiumToken`));
|
|
181267
181443
|
return undefined;
|
|
181444
|
+
}
|
|
181445
|
+
let layers;
|
|
181268
181446
|
try {
|
|
181269
181447
|
const layerRequestOptions = { method: "GET", responseType: "json", headers: { authorization: `Bearer ${accessTokenAndEndpointUrl.token}` } };
|
|
181270
181448
|
const layerUrl = `${accessTokenAndEndpointUrl.url}layer.json`;
|
|
181271
|
-
const layerResponse = await Object(
|
|
181449
|
+
const layerResponse = await Object(_bentley_itwin_client__WEBPACK_IMPORTED_MODULE_4__["request"])(layerUrl, layerRequestOptions);
|
|
181272
181450
|
if (undefined === layerResponse) {
|
|
181273
|
-
|
|
181451
|
+
notifyTerrainError();
|
|
181274
181452
|
return undefined;
|
|
181275
181453
|
}
|
|
181276
181454
|
layers = layerResponse.body;
|
|
181277
181455
|
}
|
|
181278
181456
|
catch (error) {
|
|
181279
|
-
|
|
181457
|
+
notifyTerrainError();
|
|
181280
181458
|
return undefined;
|
|
181281
181459
|
}
|
|
181282
181460
|
if (undefined === layers.tiles || undefined === layers.version) {
|
|
181283
|
-
|
|
181461
|
+
notifyTerrainError();
|
|
181284
181462
|
return undefined;
|
|
181285
181463
|
}
|
|
181286
|
-
const tilingScheme = new
|
|
181464
|
+
const tilingScheme = new _internal__WEBPACK_IMPORTED_MODULE_8__["GeographicTilingScheme"]();
|
|
181287
181465
|
let tileAvailability;
|
|
181288
181466
|
if (undefined !== layers.available) {
|
|
181289
181467
|
const availableTiles = layers.available;
|
|
181290
|
-
tileAvailability = new
|
|
181468
|
+
tileAvailability = new _internal__WEBPACK_IMPORTED_MODULE_8__["TileAvailability"](tilingScheme, availableTiles.length);
|
|
181291
181469
|
for (let level = 0; level < layers.available.length; level++) {
|
|
181292
181470
|
const rangesAtLevel = availableTiles[level];
|
|
181293
181471
|
for (const range of rangesAtLevel) {
|
|
@@ -181331,7 +181509,7 @@ function getIndexArray(vertexCount, streamBuffer, indexCount) {
|
|
|
181331
181509
|
return indexArray;
|
|
181332
181510
|
}
|
|
181333
181511
|
/** @internal */
|
|
181334
|
-
class CesiumTerrainProvider extends
|
|
181512
|
+
class CesiumTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_8__["TerrainMeshProvider"] {
|
|
181335
181513
|
constructor(iModel, modelId, _accessToken, _tileUrlTemplate, _maxDepth, _wantSkirts, _tilingScheme, _tileAvailability, _metaDataAvailableLevel, _exaggeration) {
|
|
181336
181514
|
super(iModel, modelId);
|
|
181337
181515
|
this._accessToken = _accessToken;
|
|
@@ -181359,7 +181537,7 @@ class CesiumTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_7__["Terr
|
|
|
181359
181537
|
return undefined !== this._metaDataAvailableLevel && mapTile.quadId.level === this._metaDataAvailableLevel && !mapTile.everLoaded;
|
|
181360
181538
|
}
|
|
181361
181539
|
getLogo() {
|
|
181362
|
-
return
|
|
181540
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__["IModelApp"].makeLogoCard({ iconSrc: `${_IModelApp__WEBPACK_IMPORTED_MODULE_6__["IModelApp"].publicPath}images/cesium-ion.svg`, heading: "Cesium Ion", notice: _IModelApp__WEBPACK_IMPORTED_MODULE_6__["IModelApp"].localization.getLocalizedString("iModelJs:BackgroundMap.CesiumWorldTerrainAttribution") });
|
|
181363
181541
|
}
|
|
181364
181542
|
get maxDepth() { return this._maxDepth; }
|
|
181365
181543
|
get tilingScheme() { return this._tilingScheme; }
|
|
@@ -181379,11 +181557,11 @@ class CesiumTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_7__["Terr
|
|
|
181379
181557
|
this._tokenTimeOut = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["BeTimePoint"].now().plus(CesiumTerrainProvider._tokenTimeoutInterval);
|
|
181380
181558
|
}
|
|
181381
181559
|
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(data instanceof Uint8Array);
|
|
181382
|
-
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(tile instanceof
|
|
181560
|
+
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(tile instanceof _internal__WEBPACK_IMPORTED_MODULE_8__["MapTile"]);
|
|
181383
181561
|
const blob = data;
|
|
181384
181562
|
const streamBuffer = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["ByteStream"](blob.buffer);
|
|
181385
181563
|
const center = Object(_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__["nextPoint3d64FromByteStream"])(streamBuffer);
|
|
181386
|
-
const quadId =
|
|
181564
|
+
const quadId = _internal__WEBPACK_IMPORTED_MODULE_8__["QuadId"].createFromContentId(tile.contentId);
|
|
181387
181565
|
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)
|
|
181388
181566
|
const minHeight = this._exaggeration * streamBuffer.nextFloat32;
|
|
181389
181567
|
const maxHeight = this._exaggeration * streamBuffer.nextFloat32;
|
|
@@ -181473,7 +181651,7 @@ class CesiumTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_7__["Terr
|
|
|
181473
181651
|
break;
|
|
181474
181652
|
}
|
|
181475
181653
|
}
|
|
181476
|
-
const mesh =
|
|
181654
|
+
const mesh = _render_primitives_mesh_TerrainMeshPrimitive__WEBPACK_IMPORTED_MODULE_7__["TerrainMeshPrimitive"].create({ pointQParams, pointCount, indexCount, wantSkirts: this._wantSkirts, westCount, eastCount, southCount, northCount, wantNormals: undefined !== encodedNormalsBuffer });
|
|
181477
181655
|
for (let i = 0; i < indexCount;)
|
|
181478
181656
|
this.addTriangle(mesh, indices[i++], indices[i++], indices[i++]);
|
|
181479
181657
|
const worldToEcef = tile.iModel.getEcefTransform().matrix;
|
|
@@ -181535,7 +181713,7 @@ class CesiumTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_7__["Terr
|
|
|
181535
181713
|
return this._tileUrlTemplate.replace("{z}", zoomLevel.toString()).replace("{x}", column.toString()).replace("{y}", row.toString());
|
|
181536
181714
|
}
|
|
181537
181715
|
getChildHeightRange(quadId, rectangle, parent) {
|
|
181538
|
-
return (quadId.level <
|
|
181716
|
+
return (quadId.level < _ApproximateTerrainHeights__WEBPACK_IMPORTED_MODULE_5__["ApproximateTerrainHeights"].maxLevel) ? _ApproximateTerrainHeights__WEBPACK_IMPORTED_MODULE_5__["ApproximateTerrainHeights"].instance.getMinimumMaximumHeights(rectangle) : (parent).heightRange;
|
|
181539
181717
|
}
|
|
181540
181718
|
/**
|
|
181541
181719
|
* Determines an appropriate geometric error estimate when the geometry comes from a heightmap.
|
|
@@ -181552,7 +181730,7 @@ class CesiumTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_7__["Terr
|
|
|
181552
181730
|
return this.getEstimatedLevelZeroGeometricErrorForAHeightmap() / (1 << level);
|
|
181553
181731
|
}
|
|
181554
181732
|
getHeightRange(parentRange, quadId) {
|
|
181555
|
-
const heightRange = quadId.level <= 6 ?
|
|
181733
|
+
const heightRange = quadId.level <= 6 ? _ApproximateTerrainHeights__WEBPACK_IMPORTED_MODULE_5__["ApproximateTerrainHeights"].instance.getTileHeightRange(quadId) : undefined;
|
|
181556
181734
|
return undefined === heightRange ? parentRange : heightRange;
|
|
181557
181735
|
}
|
|
181558
181736
|
}
|
|
@@ -184725,7 +184903,7 @@ const scratchCorner = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Point3d
|
|
|
184725
184903
|
const scratchZNormal = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Vector3d"].create(0, 0, 1);
|
|
184726
184904
|
/** @internal */
|
|
184727
184905
|
class MapTileTree extends _internal__WEBPACK_IMPORTED_MODULE_7__["RealityTileTree"] {
|
|
184728
|
-
constructor(params, ecefToDb, bimElevationBias, geodeticOffset, sourceTilingScheme, id) {
|
|
184906
|
+
constructor(params, ecefToDb, bimElevationBias, geodeticOffset, sourceTilingScheme, id, applyTerrain) {
|
|
184729
184907
|
super(params);
|
|
184730
184908
|
this.ecefToDb = ecefToDb;
|
|
184731
184909
|
this.bimElevationBias = bimElevationBias;
|
|
@@ -184734,11 +184912,11 @@ class MapTileTree extends _internal__WEBPACK_IMPORTED_MODULE_7__["RealityTileTre
|
|
|
184734
184912
|
this.imageryTrees = [];
|
|
184735
184913
|
this._layerSettings = new Map();
|
|
184736
184914
|
this._mercatorTilingScheme = new _internal__WEBPACK_IMPORTED_MODULE_7__["WebMercatorTilingScheme"]();
|
|
184737
|
-
this._mercatorFractionToDb = this._mercatorTilingScheme.computeMercatorFractionToDb(ecefToDb, bimElevationBias, params.iModel,
|
|
184915
|
+
this._mercatorFractionToDb = this._mercatorTilingScheme.computeMercatorFractionToDb(ecefToDb, bimElevationBias, params.iModel, applyTerrain);
|
|
184738
184916
|
const quadId = new _internal__WEBPACK_IMPORTED_MODULE_7__["QuadId"](sourceTilingScheme.rootLevel, 0, 0);
|
|
184739
184917
|
this.globeOrigin = this.ecefToDb.getOrigin().clone();
|
|
184740
184918
|
this.earthEllipsoid = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Ellipsoid"].createCenterMatrixRadii(this.globeOrigin, this.ecefToDb.matrix, _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Constant"].earthRadiusWGS84.equator, _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Constant"].earthRadiusWGS84.equator, _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Constant"].earthRadiusWGS84.polar);
|
|
184741
|
-
const globalHeightRange =
|
|
184919
|
+
const globalHeightRange = applyTerrain ? _ApproximateTerrainHeights__WEBPACK_IMPORTED_MODULE_3__["ApproximateTerrainHeights"].instance.globalHeightRange : _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Range1d"].createXX(0, 0);
|
|
184742
184920
|
const globalRectangle = _internal__WEBPACK_IMPORTED_MODULE_7__["MapCartoRectangle"].create();
|
|
184743
184921
|
this.globeMode = id.globeMode;
|
|
184744
184922
|
this.isOverlay = id.isOverlay;
|
|
@@ -184747,7 +184925,7 @@ class MapTileTree extends _internal__WEBPACK_IMPORTED_MODULE_7__["RealityTileTre
|
|
|
184747
184925
|
this.baseColor = id.baseColor;
|
|
184748
184926
|
this.baseTransparent = id.baseTransparent;
|
|
184749
184927
|
this.mapTransparent = id.mapTransparent;
|
|
184750
|
-
if (
|
|
184928
|
+
if (applyTerrain) {
|
|
184751
184929
|
this.minEarthEllipsoid = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Ellipsoid"].createCenterMatrixRadii(this.globeOrigin, this.ecefToDb.matrix, _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Constant"].earthRadiusWGS84.equator + globalHeightRange.low, _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Constant"].earthRadiusWGS84.equator + globalHeightRange.low, _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Constant"].earthRadiusWGS84.polar + globalHeightRange.low);
|
|
184752
184930
|
this.maxEarthEllipsoid = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Ellipsoid"].createCenterMatrixRadii(this.globeOrigin, this.ecefToDb.matrix, _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Constant"].earthRadiusWGS84.equator + globalHeightRange.high, _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Constant"].earthRadiusWGS84.equator + globalHeightRange.high, _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Constant"].earthRadiusWGS84.polar + globalHeightRange.high);
|
|
184753
184931
|
}
|
|
@@ -185072,7 +185250,8 @@ class MapTreeSupplier {
|
|
|
185072
185250
|
}
|
|
185073
185251
|
}
|
|
185074
185252
|
async createTileTree(id, iModel) {
|
|
185075
|
-
let bimElevationBias, terrainProvider, geodeticOffset = 0;
|
|
185253
|
+
let bimElevationBias = 0, terrainProvider, geodeticOffset = 0;
|
|
185254
|
+
let applyTerrain = id.applyTerrain;
|
|
185076
185255
|
const modelId = iModel.transientIds.next;
|
|
185077
185256
|
const gcsConverterAvailable = await getGcsConverterAvailable(iModel);
|
|
185078
185257
|
if (id.applyTerrain) {
|
|
@@ -185082,23 +185261,21 @@ class MapTreeSupplier {
|
|
|
185082
185261
|
bimElevationBias = -await this.computeHeightBias(id.terrainHeightOrigin, id.terrainHeightOriginMode, id.terrainExaggeration, iModel, elevationProvider);
|
|
185083
185262
|
geodeticOffset = await elevationProvider.getGeodeticToSeaLevelOffset(iModel.projectExtents.center, iModel);
|
|
185084
185263
|
terrainProvider = await Object(_internal__WEBPACK_IMPORTED_MODULE_7__["getCesiumTerrainProvider"])(iModel, modelId, id.wantSkirts, id.wantNormals, id.terrainExaggeration);
|
|
185264
|
+
if (!terrainProvider) {
|
|
185265
|
+
applyTerrain = false;
|
|
185266
|
+
geodeticOffset = 0;
|
|
185267
|
+
}
|
|
185085
185268
|
}
|
|
185086
|
-
|
|
185269
|
+
if (!terrainProvider) {
|
|
185087
185270
|
terrainProvider = new _internal__WEBPACK_IMPORTED_MODULE_7__["EllipsoidTerrainProvider"](iModel, modelId, id.wantSkirts);
|
|
185088
185271
|
bimElevationBias = id.mapGroundBias;
|
|
185089
185272
|
}
|
|
185090
|
-
if (undefined === terrainProvider)
|
|
185091
|
-
return undefined;
|
|
185092
185273
|
const loader = new _internal__WEBPACK_IMPORTED_MODULE_7__["MapTileLoader"](iModel, modelId, bimElevationBias, terrainProvider);
|
|
185093
185274
|
const ecefToDb = iModel.getMapEcefToDb(bimElevationBias);
|
|
185094
|
-
if (undefined === loader) {
|
|
185095
|
-
Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(false, "Invalid Terrain Provider");
|
|
185096
|
-
return undefined;
|
|
185097
|
-
}
|
|
185098
185275
|
if (id.maskModelIds)
|
|
185099
185276
|
await iModel.models.load(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["CompressedId64Set"].decompressSet(id.maskModelIds));
|
|
185100
185277
|
const treeProps = new MapTileTreeProps(modelId, loader, iModel, gcsConverterAvailable);
|
|
185101
|
-
return new MapTileTree(treeProps, ecefToDb, bimElevationBias, geodeticOffset, terrainProvider.tilingScheme, id);
|
|
185278
|
+
return new MapTileTree(treeProps, ecefToDb, bimElevationBias, geodeticOffset, terrainProvider.tilingScheme, id, applyTerrain);
|
|
185102
185279
|
}
|
|
185103
185280
|
}
|
|
185104
185281
|
const mapTreeSupplier = new MapTreeSupplier();
|
|
@@ -194842,10 +195019,7 @@ class ToolAdmin {
|
|
|
194842
195019
|
overlayHit.onMouseMove(ev);
|
|
194843
195020
|
return; // we're inside a pickable decoration, don't send event to tool
|
|
194844
195021
|
}
|
|
194845
|
-
const
|
|
194846
|
-
snapPromise.then((snapOk) => {
|
|
194847
|
-
if (!snapOk || snapPromise !== this._snapMotionPromise)
|
|
194848
|
-
return;
|
|
195022
|
+
const processMotion = async () => {
|
|
194849
195023
|
// Update event to account for AccuSnap adjustments...
|
|
194850
195024
|
current.fromButton(vp, pt2d, inputSource, true);
|
|
194851
195025
|
current.toEvent(ev, true);
|
|
@@ -194860,13 +195034,26 @@ class ToolAdmin {
|
|
|
194860
195034
|
ev.isDragging = true;
|
|
194861
195035
|
if (undefined !== tool && isValidLocation)
|
|
194862
195036
|
tool.receivedDownEvent = true;
|
|
194863
|
-
|
|
195037
|
+
await this.onStartDrag(ev, isValidLocation ? tool : undefined);
|
|
195038
|
+
return;
|
|
194864
195039
|
}
|
|
194865
195040
|
this.updateDynamics(ev);
|
|
194866
|
-
|
|
194867
|
-
|
|
195041
|
+
};
|
|
195042
|
+
const snapPromise = this._snapMotionPromise = this.onMotionSnap(ev);
|
|
195043
|
+
/** When forceStartDrag is true, make sure we don't return a fulfilled promise until we've processed the motion so callers can await it.
|
|
195044
|
+
* The .then below happens AFTER this method returns its (fulfilled) promise so we can't use that.
|
|
195045
|
+
*/
|
|
195046
|
+
if (forceStartDrag) {
|
|
195047
|
+
await snapPromise;
|
|
195048
|
+
return processMotion();
|
|
195049
|
+
}
|
|
194868
195050
|
if (this.isLocateCircleOn)
|
|
194869
195051
|
vp.invalidateDecorations();
|
|
195052
|
+
snapPromise.then((snapOk) => {
|
|
195053
|
+
if (!snapOk || snapPromise !== this._snapMotionPromise)
|
|
195054
|
+
return;
|
|
195055
|
+
return processMotion();
|
|
195056
|
+
}).catch((_) => { });
|
|
194870
195057
|
}
|
|
194871
195058
|
async onMouseMove(event) {
|
|
194872
195059
|
const vp = event.vp;
|
|
@@ -199793,7 +199980,7 @@ SetupWalkCameraTool.iconSpec = "icon-camera-location";
|
|
|
199793
199980
|
/*! exports provided: name, version, description, main, module, typings, imodeljsSharedLibrary, license, scripts, repository, keywords, author, peerDependencies, //devDependencies, devDependencies, //dependencies, dependencies, nyc, eslintConfig, default */
|
|
199794
199981
|
/***/ (function(module) {
|
|
199795
199982
|
|
|
199796
|
-
module.exports = JSON.parse("{\"name\":\"@itwin/core-frontend\",\"version\":\"3.0.0-dev.
|
|
199983
|
+
module.exports = JSON.parse("{\"name\":\"@itwin/core-frontend\",\"version\":\"3.0.0-dev.159\",\"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.159\",\"@itwin/appui-abstract\":\"workspace:^3.0.0-dev.159\",\"@itwin/core-bentley\":\"workspace:^3.0.0-dev.159\",\"@itwin/core-common\":\"workspace:^3.0.0-dev.159\",\"@itwin/core-geometry\":\"workspace:^3.0.0-dev.159\",\"@itwin/core-orbitgt\":\"workspace:^3.0.0-dev.159\",\"@itwin/core-quantity\":\"workspace:^3.0.0-dev.159\",\"@itwin/webgl-compatibility\":\"workspace:^3.0.0-dev.159\"},\"//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\"}}]}}");
|
|
199797
199984
|
|
|
199798
199985
|
/***/ }),
|
|
199799
199986
|
|