@itwin/rpcinterface-full-stack-tests 5.14.0-dev.9 → 5.14.2
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 +1150 -622
- package/lib/dist/bundled-tests.js.map +1 -1
- package/lib/dist/{vendors-common_temp_node_modules_pnpm_loaders_gl_draco_4_4_5__loaders_gl_core_4_4_5_node_modu-5e3596.bundled-tests.js → vendors-common_temp_node_modules_pnpm_loaders_gl_draco_4_5_2__loaders_gl_core_4_5_2_node_modu-bbc95a.bundled-tests.js} +69 -69
- package/lib/dist/{vendors-common_temp_node_modules_pnpm_loaders_gl_draco_4_4_5__loaders_gl_core_4_4_5_node_modu-5e3596.bundled-tests.js.map → vendors-common_temp_node_modules_pnpm_loaders_gl_draco_4_5_2__loaders_gl_core_4_5_2_node_modu-bbc95a.bundled-tests.js.map} +1 -1
- package/lib/frontend/IModelConnection.test.js +13 -10
- package/lib/frontend/IModelConnection.test.js.map +1 -1
- package/package.json +14 -14
- package/lib/dist/core_quantity_lib_esm_assets_Units_json.bundled-tests.js +0 -14
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
|
|
22
22
|
/***/ },
|
|
23
23
|
|
|
24
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
24
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/AccessToken.js"
|
|
25
25
|
/*!*******************************************************************************************************************************!*\
|
|
26
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
26
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/AccessToken.js ***!
|
|
27
27
|
\*******************************************************************************************************************************/
|
|
28
28
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
29
29
|
|
|
@@ -41,9 +41,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
41
41
|
|
|
42
42
|
/***/ },
|
|
43
43
|
|
|
44
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
44
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Assert.js"
|
|
45
45
|
/*!**************************************************************************************************************************!*\
|
|
46
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
46
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Assert.js ***!
|
|
47
47
|
\**************************************************************************************************************************/
|
|
48
48
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
49
49
|
|
|
@@ -97,9 +97,9 @@ function assert(condition, message) {
|
|
|
97
97
|
|
|
98
98
|
/***/ },
|
|
99
99
|
|
|
100
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
100
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/BeEvent.js"
|
|
101
101
|
/*!***************************************************************************************************************************!*\
|
|
102
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
102
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/BeEvent.js ***!
|
|
103
103
|
\***************************************************************************************************************************/
|
|
104
104
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
105
105
|
|
|
@@ -112,7 +112,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
112
112
|
/* harmony export */ BeUnorderedEvent: () => (/* binding */ BeUnorderedEvent),
|
|
113
113
|
/* harmony export */ BeUnorderedUiEvent: () => (/* binding */ BeUnorderedUiEvent)
|
|
114
114
|
/* harmony export */ });
|
|
115
|
-
/* harmony import */ var _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UnexpectedErrors */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
115
|
+
/* harmony import */ var _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UnexpectedErrors */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/UnexpectedErrors.js");
|
|
116
116
|
/*---------------------------------------------------------------------------------------------
|
|
117
117
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
118
118
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -364,9 +364,9 @@ class BeEventList {
|
|
|
364
364
|
|
|
365
365
|
/***/ },
|
|
366
366
|
|
|
367
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
367
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/BeSQLite.js"
|
|
368
368
|
/*!****************************************************************************************************************************!*\
|
|
369
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
369
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/BeSQLite.js ***!
|
|
370
370
|
\****************************************************************************************************************************/
|
|
371
371
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
372
372
|
|
|
@@ -567,9 +567,9 @@ var DbResult;
|
|
|
567
567
|
|
|
568
568
|
/***/ },
|
|
569
569
|
|
|
570
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
570
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js"
|
|
571
571
|
/*!********************************************************************************************************************************!*\
|
|
572
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
572
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js ***!
|
|
573
573
|
\********************************************************************************************************************************/
|
|
574
574
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
575
575
|
|
|
@@ -588,9 +588,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
588
588
|
/* harmony export */ RealityDataStatus: () => (/* binding */ RealityDataStatus),
|
|
589
589
|
/* harmony export */ RpcInterfaceStatus: () => (/* binding */ RpcInterfaceStatus)
|
|
590
590
|
/* harmony export */ });
|
|
591
|
-
/* harmony import */ var _BeSQLite__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeSQLite */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
592
|
-
/* harmony import */ var _internal_RepositoryStatus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/RepositoryStatus */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
593
|
-
/* harmony import */ var _JsonUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./JsonUtils */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
591
|
+
/* harmony import */ var _BeSQLite__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeSQLite */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/BeSQLite.js");
|
|
592
|
+
/* harmony import */ var _internal_RepositoryStatus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/RepositoryStatus */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/internal/RepositoryStatus.js");
|
|
593
|
+
/* harmony import */ var _JsonUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./JsonUtils */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/JsonUtils.js");
|
|
594
594
|
/*---------------------------------------------------------------------------------------------
|
|
595
595
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
596
596
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -1321,9 +1321,9 @@ class BentleyError extends Error {
|
|
|
1321
1321
|
|
|
1322
1322
|
/***/ },
|
|
1323
1323
|
|
|
1324
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
1324
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/BentleyLoggerCategory.js"
|
|
1325
1325
|
/*!*****************************************************************************************************************************************!*\
|
|
1326
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
1326
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/BentleyLoggerCategory.js ***!
|
|
1327
1327
|
\*****************************************************************************************************************************************/
|
|
1328
1328
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1329
1329
|
|
|
@@ -1352,9 +1352,9 @@ var BentleyLoggerCategory;
|
|
|
1352
1352
|
|
|
1353
1353
|
/***/ },
|
|
1354
1354
|
|
|
1355
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
1355
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/ByteStream.js"
|
|
1356
1356
|
/*!******************************************************************************************************************************!*\
|
|
1357
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
1357
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/ByteStream.js ***!
|
|
1358
1358
|
\******************************************************************************************************************************/
|
|
1359
1359
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1360
1360
|
|
|
@@ -1363,8 +1363,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1363
1363
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1364
1364
|
/* harmony export */ ByteStream: () => (/* binding */ ByteStream)
|
|
1365
1365
|
/* harmony export */ });
|
|
1366
|
-
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
1367
|
-
/* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Id */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
1366
|
+
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Assert.js");
|
|
1367
|
+
/* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Id */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Id.js");
|
|
1368
1368
|
/*---------------------------------------------------------------------------------------------
|
|
1369
1369
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
1370
1370
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -1510,9 +1510,9 @@ class ByteStream {
|
|
|
1510
1510
|
|
|
1511
1511
|
/***/ },
|
|
1512
1512
|
|
|
1513
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
1513
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/ClassUtils.js"
|
|
1514
1514
|
/*!******************************************************************************************************************************!*\
|
|
1515
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
1515
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/ClassUtils.js ***!
|
|
1516
1516
|
\******************************************************************************************************************************/
|
|
1517
1517
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1518
1518
|
|
|
@@ -1553,9 +1553,9 @@ function isSubclassOf(subclass, superclass) {
|
|
|
1553
1553
|
|
|
1554
1554
|
/***/ },
|
|
1555
1555
|
|
|
1556
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
1556
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Compare.js"
|
|
1557
1557
|
/*!***************************************************************************************************************************!*\
|
|
1558
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
1558
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Compare.js ***!
|
|
1559
1559
|
\***************************************************************************************************************************/
|
|
1560
1560
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1561
1561
|
|
|
@@ -1704,9 +1704,9 @@ function compareArrays(lhs, rhs, compare) {
|
|
|
1704
1704
|
|
|
1705
1705
|
/***/ },
|
|
1706
1706
|
|
|
1707
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
1707
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/CompressedId64Set.js"
|
|
1708
1708
|
/*!*************************************************************************************************************************************!*\
|
|
1709
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
1709
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/CompressedId64Set.js ***!
|
|
1710
1710
|
\*************************************************************************************************************************************/
|
|
1711
1711
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1712
1712
|
|
|
@@ -1717,10 +1717,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1717
1717
|
/* harmony export */ MutableCompressedId64Set: () => (/* binding */ MutableCompressedId64Set),
|
|
1718
1718
|
/* harmony export */ OrderedId64Array: () => (/* binding */ OrderedId64Array)
|
|
1719
1719
|
/* harmony export */ });
|
|
1720
|
-
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
1721
|
-
/* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Id */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
1722
|
-
/* harmony import */ var _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OrderedId64Iterable */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
1723
|
-
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
1720
|
+
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Assert.js");
|
|
1721
|
+
/* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Id */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Id.js");
|
|
1722
|
+
/* harmony import */ var _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OrderedId64Iterable */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/OrderedId64Iterable.js");
|
|
1723
|
+
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
|
|
1724
1724
|
/*---------------------------------------------------------------------------------------------
|
|
1725
1725
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
1726
1726
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -2164,9 +2164,9 @@ class MutableCompressedId64Set {
|
|
|
2164
2164
|
|
|
2165
2165
|
/***/ },
|
|
2166
2166
|
|
|
2167
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
2167
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Dictionary.js"
|
|
2168
2168
|
/*!******************************************************************************************************************************!*\
|
|
2169
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
2169
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Dictionary.js ***!
|
|
2170
2170
|
\******************************************************************************************************************************/
|
|
2171
2171
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2172
2172
|
|
|
@@ -2175,7 +2175,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2175
2175
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2176
2176
|
/* harmony export */ Dictionary: () => (/* binding */ Dictionary)
|
|
2177
2177
|
/* harmony export */ });
|
|
2178
|
-
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
2178
|
+
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
|
|
2179
2179
|
/*---------------------------------------------------------------------------------------------
|
|
2180
2180
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2181
2181
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -2384,9 +2384,9 @@ class Dictionary {
|
|
|
2384
2384
|
|
|
2385
2385
|
/***/ },
|
|
2386
2386
|
|
|
2387
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
2387
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Disposable.js"
|
|
2388
2388
|
/*!******************************************************************************************************************************!*\
|
|
2389
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
2389
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Disposable.js ***!
|
|
2390
2390
|
\******************************************************************************************************************************/
|
|
2391
2391
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2392
2392
|
|
|
@@ -2514,9 +2514,9 @@ class DisposableList {
|
|
|
2514
2514
|
|
|
2515
2515
|
/***/ },
|
|
2516
2516
|
|
|
2517
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
2517
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Expect.js"
|
|
2518
2518
|
/*!**************************************************************************************************************************!*\
|
|
2519
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
2519
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Expect.js ***!
|
|
2520
2520
|
\**************************************************************************************************************************/
|
|
2521
2521
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2522
2522
|
|
|
@@ -2566,9 +2566,9 @@ function expectNotNull(value, message) {
|
|
|
2566
2566
|
|
|
2567
2567
|
/***/ },
|
|
2568
2568
|
|
|
2569
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
2569
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Id.js"
|
|
2570
2570
|
/*!**********************************************************************************************************************!*\
|
|
2571
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
2571
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Id.js ***!
|
|
2572
2572
|
\**********************************************************************************************************************/
|
|
2573
2573
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2574
2574
|
|
|
@@ -3300,9 +3300,9 @@ var Guid;
|
|
|
3300
3300
|
|
|
3301
3301
|
/***/ },
|
|
3302
3302
|
|
|
3303
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
3303
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/IndexMap.js"
|
|
3304
3304
|
/*!****************************************************************************************************************************!*\
|
|
3305
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
3305
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/IndexMap.js ***!
|
|
3306
3306
|
\****************************************************************************************************************************/
|
|
3307
3307
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3308
3308
|
|
|
@@ -3312,7 +3312,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3312
3312
|
/* harmony export */ IndexMap: () => (/* binding */ IndexMap),
|
|
3313
3313
|
/* harmony export */ IndexedValue: () => (/* binding */ IndexedValue)
|
|
3314
3314
|
/* harmony export */ });
|
|
3315
|
-
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
3315
|
+
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
|
|
3316
3316
|
/*---------------------------------------------------------------------------------------------
|
|
3317
3317
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3318
3318
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -3408,9 +3408,9 @@ class IndexMap {
|
|
|
3408
3408
|
|
|
3409
3409
|
/***/ },
|
|
3410
3410
|
|
|
3411
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
3411
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/JsonSchema.js"
|
|
3412
3412
|
/*!******************************************************************************************************************************!*\
|
|
3413
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
3413
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/JsonSchema.js ***!
|
|
3414
3414
|
\******************************************************************************************************************************/
|
|
3415
3415
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3416
3416
|
|
|
@@ -3428,9 +3428,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3428
3428
|
|
|
3429
3429
|
/***/ },
|
|
3430
3430
|
|
|
3431
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
3431
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/JsonUtils.js"
|
|
3432
3432
|
/*!*****************************************************************************************************************************!*\
|
|
3433
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
3433
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/JsonUtils.js ***!
|
|
3434
3434
|
\*****************************************************************************************************************************/
|
|
3435
3435
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3436
3436
|
|
|
@@ -3596,9 +3596,9 @@ var JsonUtils;
|
|
|
3596
3596
|
|
|
3597
3597
|
/***/ },
|
|
3598
3598
|
|
|
3599
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
3599
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/LRUMap.js"
|
|
3600
3600
|
/*!**************************************************************************************************************************!*\
|
|
3601
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
3601
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/LRUMap.js ***!
|
|
3602
3602
|
\**************************************************************************************************************************/
|
|
3603
3603
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3604
3604
|
|
|
@@ -3610,7 +3610,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3610
3610
|
/* harmony export */ LRUDictionary: () => (/* binding */ LRUDictionary),
|
|
3611
3611
|
/* harmony export */ LRUMap: () => (/* binding */ LRUMap)
|
|
3612
3612
|
/* harmony export */ });
|
|
3613
|
-
/* harmony import */ var _Dictionary__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Dictionary */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
3613
|
+
/* harmony import */ var _Dictionary__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Dictionary */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Dictionary.js");
|
|
3614
3614
|
/*---------------------------------------------------------------------------------------------
|
|
3615
3615
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3616
3616
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -3957,9 +3957,9 @@ class LRUDictionary extends LRUCache {
|
|
|
3957
3957
|
|
|
3958
3958
|
/***/ },
|
|
3959
3959
|
|
|
3960
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
3960
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Logger.js"
|
|
3961
3961
|
/*!**************************************************************************************************************************!*\
|
|
3962
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
3962
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Logger.js ***!
|
|
3963
3963
|
\**************************************************************************************************************************/
|
|
3964
3964
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3965
3965
|
|
|
@@ -3970,9 +3970,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3970
3970
|
/* harmony export */ Logger: () => (/* binding */ Logger),
|
|
3971
3971
|
/* harmony export */ PerfLogger: () => (/* binding */ PerfLogger)
|
|
3972
3972
|
/* harmony export */ });
|
|
3973
|
-
/* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeEvent */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
3974
|
-
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
3975
|
-
/* harmony import */ var _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BentleyLoggerCategory */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
3973
|
+
/* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeEvent */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/BeEvent.js");
|
|
3974
|
+
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js");
|
|
3975
|
+
/* harmony import */ var _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BentleyLoggerCategory */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/BentleyLoggerCategory.js");
|
|
3976
3976
|
/*---------------------------------------------------------------------------------------------
|
|
3977
3977
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3978
3978
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -4303,9 +4303,125 @@ class PerfLogger {
|
|
|
4303
4303
|
|
|
4304
4304
|
/***/ },
|
|
4305
4305
|
|
|
4306
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
4306
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/ObservableMap.js"
|
|
4307
4307
|
/*!*********************************************************************************************************************************!*\
|
|
4308
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
4308
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/ObservableMap.js ***!
|
|
4309
|
+
\*********************************************************************************************************************************/
|
|
4310
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4311
|
+
|
|
4312
|
+
"use strict";
|
|
4313
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4314
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4315
|
+
/* harmony export */ ObservableMap: () => (/* binding */ ObservableMap)
|
|
4316
|
+
/* harmony export */ });
|
|
4317
|
+
/* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeEvent */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/BeEvent.js");
|
|
4318
|
+
/*---------------------------------------------------------------------------------------------
|
|
4319
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4320
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4321
|
+
*--------------------------------------------------------------------------------------------*/
|
|
4322
|
+
/** @packageDocumentation
|
|
4323
|
+
* @module Collections
|
|
4324
|
+
*/
|
|
4325
|
+
|
|
4326
|
+
/** A standard [Map<K,V>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) that emits an event when its contents change.
|
|
4327
|
+
* @public
|
|
4328
|
+
*/
|
|
4329
|
+
class ObservableMap extends Map {
|
|
4330
|
+
/** @internal */
|
|
4331
|
+
get [Symbol.toStringTag]() { return "ObservableMap"; }
|
|
4332
|
+
/** Emitted after any change to the contents of this map. */
|
|
4333
|
+
onChanged = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
4334
|
+
/** Construct a new ObservableMap.
|
|
4335
|
+
* @param elements Optional elements with which to populate the new map.
|
|
4336
|
+
*/
|
|
4337
|
+
constructor(elements) {
|
|
4338
|
+
// IMPORTANT: do not pass `elements` to `super()`. It will invoke `set` which is overridden to invoke `onChanged.raiseEvent`, but
|
|
4339
|
+
// `onChanged` is not initialized until `super()` returns.
|
|
4340
|
+
super();
|
|
4341
|
+
if (elements)
|
|
4342
|
+
this.setAll(elements);
|
|
4343
|
+
}
|
|
4344
|
+
/** Invokes [Map.set](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/set), raising
|
|
4345
|
+
* the [[onChanged]] event unless `key` is already present with the same `value`.
|
|
4346
|
+
*/
|
|
4347
|
+
set(key, value) {
|
|
4348
|
+
const valueChanged = !this.has(key) || !Object.is(this.get(key), value);
|
|
4349
|
+
if (valueChanged)
|
|
4350
|
+
super.set(key, value);
|
|
4351
|
+
if (valueChanged) {
|
|
4352
|
+
this.onChanged.raiseEvent();
|
|
4353
|
+
}
|
|
4354
|
+
return this;
|
|
4355
|
+
}
|
|
4356
|
+
/** Invokes [Map.delete](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/delete), raising
|
|
4357
|
+
* the [[onChanged]] event if the key was removed from the map.
|
|
4358
|
+
*/
|
|
4359
|
+
delete(key) {
|
|
4360
|
+
const ret = super.delete(key);
|
|
4361
|
+
if (ret) {
|
|
4362
|
+
this.onChanged.raiseEvent();
|
|
4363
|
+
}
|
|
4364
|
+
return ret;
|
|
4365
|
+
}
|
|
4366
|
+
/** If this map is not already empty, invokes [Map.clear](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/clear)
|
|
4367
|
+
* and raises the [[onChanged]] event.
|
|
4368
|
+
*/
|
|
4369
|
+
clear() {
|
|
4370
|
+
if (0 !== this.size) {
|
|
4371
|
+
super.clear();
|
|
4372
|
+
this.onChanged.raiseEvent();
|
|
4373
|
+
}
|
|
4374
|
+
}
|
|
4375
|
+
/** Add or update multiple entries in the map, raising [[onChanged]] only once after all items are set, if the contents of
|
|
4376
|
+
* the map changed as a result.
|
|
4377
|
+
* This is more efficient than calling [[set]] in a loop when listeners need not be notified of each individual change.
|
|
4378
|
+
* @param items The entries to add or update.
|
|
4379
|
+
*/
|
|
4380
|
+
setAll(items) {
|
|
4381
|
+
let changed = false;
|
|
4382
|
+
try {
|
|
4383
|
+
for (const [key, value] of items) {
|
|
4384
|
+
if (!this.has(key) || !Object.is(this.get(key), value)) {
|
|
4385
|
+
super.set(key, value);
|
|
4386
|
+
changed = true;
|
|
4387
|
+
}
|
|
4388
|
+
}
|
|
4389
|
+
}
|
|
4390
|
+
finally {
|
|
4391
|
+
if (changed) {
|
|
4392
|
+
this.onChanged.raiseEvent();
|
|
4393
|
+
}
|
|
4394
|
+
}
|
|
4395
|
+
}
|
|
4396
|
+
/** Delete multiple keys from the map, raising [[onChanged]] only once after all keys are deleted.
|
|
4397
|
+
* This is more efficient than calling [[delete]] in a loop when listeners need not be notified of each individual deletion.
|
|
4398
|
+
* @param keys The keys to delete.
|
|
4399
|
+
* @returns The number of keys that were actually deleted (i.e., were present in the map).
|
|
4400
|
+
*/
|
|
4401
|
+
deleteAll(keys) {
|
|
4402
|
+
const prevSize = this.size;
|
|
4403
|
+
let deletedAny = false;
|
|
4404
|
+
try {
|
|
4405
|
+
for (const key of keys) {
|
|
4406
|
+
if (super.delete(key))
|
|
4407
|
+
deletedAny = true;
|
|
4408
|
+
}
|
|
4409
|
+
}
|
|
4410
|
+
finally {
|
|
4411
|
+
if (deletedAny) {
|
|
4412
|
+
this.onChanged.raiseEvent();
|
|
4413
|
+
}
|
|
4414
|
+
}
|
|
4415
|
+
return prevSize - this.size;
|
|
4416
|
+
}
|
|
4417
|
+
}
|
|
4418
|
+
|
|
4419
|
+
|
|
4420
|
+
/***/ },
|
|
4421
|
+
|
|
4422
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/ObservableSet.js"
|
|
4423
|
+
/*!*********************************************************************************************************************************!*\
|
|
4424
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/ObservableSet.js ***!
|
|
4309
4425
|
\*********************************************************************************************************************************/
|
|
4310
4426
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4311
4427
|
|
|
@@ -4314,7 +4430,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4314
4430
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4315
4431
|
/* harmony export */ ObservableSet: () => (/* binding */ ObservableSet)
|
|
4316
4432
|
/* harmony export */ });
|
|
4317
|
-
/* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeEvent */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
4433
|
+
/* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeEvent */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/BeEvent.js");
|
|
4318
4434
|
/*---------------------------------------------------------------------------------------------
|
|
4319
4435
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4320
4436
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -4327,6 +4443,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4327
4443
|
* @public
|
|
4328
4444
|
*/
|
|
4329
4445
|
class ObservableSet extends Set {
|
|
4446
|
+
/** @internal */
|
|
4447
|
+
get [Symbol.toStringTag]() { return "ObservableSet"; }
|
|
4330
4448
|
/** Emitted after `item` is added to this set. */
|
|
4331
4449
|
onAdded = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
4332
4450
|
/** Emitted after `item` is deleted from this set. */
|
|
@@ -4337,27 +4455,39 @@ class ObservableSet extends Set {
|
|
|
4337
4455
|
onBatchAdded = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
4338
4456
|
/** Emitted after multiple items are deleted from this set via [[deleteAll]]. */
|
|
4339
4457
|
onBatchDeleted = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
4458
|
+
/** Emitted after any change to the contents of this set. */
|
|
4459
|
+
onChanged = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
4340
4460
|
/** Construct a new ObservableSet.
|
|
4341
4461
|
* @param elements Optional elements with which to populate the new set.
|
|
4342
4462
|
*/
|
|
4343
4463
|
constructor(elements) {
|
|
4344
|
-
//
|
|
4345
|
-
super(
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4464
|
+
// IMPORTANT: do not pass `elements` to `super()`. It will invoke `add` which is overridden to invoke `onAdded.raiseEvent`, but
|
|
4465
|
+
// `onAdded` is not initialized until `super()` returns.
|
|
4466
|
+
super();
|
|
4467
|
+
if (elements)
|
|
4468
|
+
this.addAll(elements);
|
|
4469
|
+
}
|
|
4470
|
+
/** Invokes [Set.add](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/add), raising
|
|
4471
|
+
* the [[onAdded]] event if the item was not already present in the set.
|
|
4472
|
+
*/
|
|
4473
|
+
add(item) {
|
|
4474
|
+
const prevSize = this.size;
|
|
4475
|
+
const ret = super.add(item);
|
|
4476
|
+
if (this.size !== prevSize) {
|
|
4477
|
+
this.onAdded.raiseEvent(item);
|
|
4478
|
+
this.onChanged.raiseEvent();
|
|
4479
|
+
}
|
|
4480
|
+
return ret;
|
|
4353
4481
|
}
|
|
4354
4482
|
/** Invokes [Set.delete](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/delete), raising
|
|
4355
4483
|
* the [[onDeleted]] event if the item was removed from the set.
|
|
4356
4484
|
*/
|
|
4357
4485
|
delete(item) {
|
|
4358
4486
|
const ret = super.delete(item);
|
|
4359
|
-
if (ret)
|
|
4487
|
+
if (ret) {
|
|
4360
4488
|
this.onDeleted.raiseEvent(item);
|
|
4489
|
+
this.onChanged.raiseEvent();
|
|
4490
|
+
}
|
|
4361
4491
|
return ret;
|
|
4362
4492
|
}
|
|
4363
4493
|
/** If this set is not already empty, invokes [Set.clear](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/clear)
|
|
@@ -4367,6 +4497,7 @@ class ObservableSet extends Set {
|
|
|
4367
4497
|
if (0 !== this.size) {
|
|
4368
4498
|
super.clear();
|
|
4369
4499
|
this.onCleared.raiseEvent();
|
|
4500
|
+
this.onChanged.raiseEvent();
|
|
4370
4501
|
}
|
|
4371
4502
|
}
|
|
4372
4503
|
/** Add multiple items to the set, raising [[onBatchAdded]] only once after all items are added.
|
|
@@ -4376,10 +4507,21 @@ class ObservableSet extends Set {
|
|
|
4376
4507
|
*/
|
|
4377
4508
|
addAll(items) {
|
|
4378
4509
|
const prevSize = this.size;
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4510
|
+
let addedAny = false;
|
|
4511
|
+
try {
|
|
4512
|
+
for (const item of items) {
|
|
4513
|
+
const prevSetSize = this.size;
|
|
4514
|
+
super.add(item);
|
|
4515
|
+
if (this.size !== prevSetSize)
|
|
4516
|
+
addedAny = true;
|
|
4517
|
+
}
|
|
4518
|
+
}
|
|
4519
|
+
finally {
|
|
4520
|
+
if (addedAny) {
|
|
4521
|
+
this.onBatchAdded.raiseEvent();
|
|
4522
|
+
this.onChanged.raiseEvent();
|
|
4523
|
+
}
|
|
4524
|
+
}
|
|
4383
4525
|
return this.size - prevSize;
|
|
4384
4526
|
}
|
|
4385
4527
|
/** Delete multiple items from the set, raising [[onBatchDeleted]] only once after all items are deleted.
|
|
@@ -4389,10 +4531,21 @@ class ObservableSet extends Set {
|
|
|
4389
4531
|
*/
|
|
4390
4532
|
deleteAll(items) {
|
|
4391
4533
|
const prevSize = this.size;
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4534
|
+
let deletedAny = false;
|
|
4535
|
+
try {
|
|
4536
|
+
for (const item of items) {
|
|
4537
|
+
const prevSetSize = this.size;
|
|
4538
|
+
super.delete(item);
|
|
4539
|
+
if (this.size !== prevSetSize)
|
|
4540
|
+
deletedAny = true;
|
|
4541
|
+
}
|
|
4542
|
+
}
|
|
4543
|
+
finally {
|
|
4544
|
+
if (deletedAny) {
|
|
4545
|
+
this.onBatchDeleted.raiseEvent();
|
|
4546
|
+
this.onChanged.raiseEvent();
|
|
4547
|
+
}
|
|
4548
|
+
}
|
|
4396
4549
|
return prevSize - this.size;
|
|
4397
4550
|
}
|
|
4398
4551
|
}
|
|
@@ -4400,9 +4553,9 @@ class ObservableSet extends Set {
|
|
|
4400
4553
|
|
|
4401
4554
|
/***/ },
|
|
4402
4555
|
|
|
4403
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
4556
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/OneAtATimeAction.js"
|
|
4404
4557
|
/*!************************************************************************************************************************************!*\
|
|
4405
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
4558
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/OneAtATimeAction.js ***!
|
|
4406
4559
|
\************************************************************************************************************************************/
|
|
4407
4560
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4408
4561
|
|
|
@@ -4412,7 +4565,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4412
4565
|
/* harmony export */ AbandonedError: () => (/* binding */ AbandonedError),
|
|
4413
4566
|
/* harmony export */ OneAtATimeAction: () => (/* binding */ OneAtATimeAction)
|
|
4414
4567
|
/* harmony export */ });
|
|
4415
|
-
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
4568
|
+
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js");
|
|
4416
4569
|
/*---------------------------------------------------------------------------------------------
|
|
4417
4570
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4418
4571
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -4519,9 +4672,9 @@ class OneAtATimeAction {
|
|
|
4519
4672
|
|
|
4520
4673
|
/***/ },
|
|
4521
4674
|
|
|
4522
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
4675
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/OrderedId64Iterable.js"
|
|
4523
4676
|
/*!***************************************************************************************************************************************!*\
|
|
4524
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
4677
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/OrderedId64Iterable.js ***!
|
|
4525
4678
|
\***************************************************************************************************************************************/
|
|
4526
4679
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4527
4680
|
|
|
@@ -4530,7 +4683,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4530
4683
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4531
4684
|
/* harmony export */ OrderedId64Iterable: () => (/* binding */ OrderedId64Iterable)
|
|
4532
4685
|
/* harmony export */ });
|
|
4533
|
-
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
4686
|
+
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Assert.js");
|
|
4534
4687
|
/*---------------------------------------------------------------------------------------------
|
|
4535
4688
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4536
4689
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -4767,9 +4920,9 @@ var OrderedId64Iterable;
|
|
|
4767
4920
|
|
|
4768
4921
|
/***/ },
|
|
4769
4922
|
|
|
4770
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
4923
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/OrderedSet.js"
|
|
4771
4924
|
/*!******************************************************************************************************************************!*\
|
|
4772
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
4925
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/OrderedSet.js ***!
|
|
4773
4926
|
\******************************************************************************************************************************/
|
|
4774
4927
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4775
4928
|
|
|
@@ -4779,7 +4932,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4779
4932
|
/* harmony export */ OrderedSet: () => (/* binding */ OrderedSet),
|
|
4780
4933
|
/* harmony export */ ReadonlyOrderedSet: () => (/* binding */ ReadonlyOrderedSet)
|
|
4781
4934
|
/* harmony export */ });
|
|
4782
|
-
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
4935
|
+
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
|
|
4783
4936
|
/*---------------------------------------------------------------------------------------------
|
|
4784
4937
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4785
4938
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -4844,9 +4997,9 @@ class OrderedSet extends ReadonlyOrderedSet {
|
|
|
4844
4997
|
|
|
4845
4998
|
/***/ },
|
|
4846
4999
|
|
|
4847
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
5000
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/PriorityQueue.js"
|
|
4848
5001
|
/*!*********************************************************************************************************************************!*\
|
|
4849
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
5002
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/PriorityQueue.js ***!
|
|
4850
5003
|
\*********************************************************************************************************************************/
|
|
4851
5004
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4852
5005
|
|
|
@@ -4855,7 +5008,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4855
5008
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4856
5009
|
/* harmony export */ PriorityQueue: () => (/* binding */ PriorityQueue)
|
|
4857
5010
|
/* harmony export */ });
|
|
4858
|
-
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
5011
|
+
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
|
|
4859
5012
|
/*---------------------------------------------------------------------------------------------
|
|
4860
5013
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4861
5014
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -4998,9 +5151,9 @@ class PriorityQueue {
|
|
|
4998
5151
|
|
|
4999
5152
|
/***/ },
|
|
5000
5153
|
|
|
5001
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
5154
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/ProcessDetector.js"
|
|
5002
5155
|
/*!***********************************************************************************************************************************!*\
|
|
5003
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
5156
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/ProcessDetector.js ***!
|
|
5004
5157
|
\***********************************************************************************************************************************/
|
|
5005
5158
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5006
5159
|
|
|
@@ -5082,9 +5235,9 @@ class ProcessDetector {
|
|
|
5082
5235
|
|
|
5083
5236
|
/***/ },
|
|
5084
5237
|
|
|
5085
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
5238
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js"
|
|
5086
5239
|
/*!*******************************************************************************************************************************!*\
|
|
5087
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
5240
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js ***!
|
|
5088
5241
|
\*******************************************************************************************************************************/
|
|
5089
5242
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5090
5243
|
|
|
@@ -5412,9 +5565,9 @@ class SortedArray extends ReadonlySortedArray {
|
|
|
5412
5565
|
|
|
5413
5566
|
/***/ },
|
|
5414
5567
|
|
|
5415
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
5568
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/StatusCategory.js"
|
|
5416
5569
|
/*!**********************************************************************************************************************************!*\
|
|
5417
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
5570
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/StatusCategory.js ***!
|
|
5418
5571
|
\**********************************************************************************************************************************/
|
|
5419
5572
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5420
5573
|
|
|
@@ -5425,8 +5578,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5425
5578
|
/* harmony export */ StatusCategory: () => (/* binding */ StatusCategory),
|
|
5426
5579
|
/* harmony export */ SuccessCategory: () => (/* binding */ SuccessCategory)
|
|
5427
5580
|
/* harmony export */ });
|
|
5428
|
-
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
5429
|
-
/* harmony import */ var _internal_RepositoryStatus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/RepositoryStatus */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
5581
|
+
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js");
|
|
5582
|
+
/* harmony import */ var _internal_RepositoryStatus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/RepositoryStatus */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/internal/RepositoryStatus.js");
|
|
5430
5583
|
/*---------------------------------------------------------------------------------------------
|
|
5431
5584
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
5432
5585
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -5829,9 +5982,9 @@ function lookupHttpStatusCategory(statusCode) {
|
|
|
5829
5982
|
|
|
5830
5983
|
/***/ },
|
|
5831
5984
|
|
|
5832
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
5985
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/StringUtils.js"
|
|
5833
5986
|
/*!*******************************************************************************************************************************!*\
|
|
5834
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
5987
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/StringUtils.js ***!
|
|
5835
5988
|
\*******************************************************************************************************************************/
|
|
5836
5989
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5837
5990
|
|
|
@@ -5872,9 +6025,9 @@ function base64StringToUint8Array(base64) {
|
|
|
5872
6025
|
|
|
5873
6026
|
/***/ },
|
|
5874
6027
|
|
|
5875
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6028
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Time.js"
|
|
5876
6029
|
/*!************************************************************************************************************************!*\
|
|
5877
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6030
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Time.js ***!
|
|
5878
6031
|
\************************************************************************************************************************/
|
|
5879
6032
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5880
6033
|
|
|
@@ -6040,9 +6193,9 @@ class StopWatch {
|
|
|
6040
6193
|
|
|
6041
6194
|
/***/ },
|
|
6042
6195
|
|
|
6043
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6196
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Tracing.js"
|
|
6044
6197
|
/*!***************************************************************************************************************************!*\
|
|
6045
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6198
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Tracing.js ***!
|
|
6046
6199
|
\***************************************************************************************************************************/
|
|
6047
6200
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6048
6201
|
|
|
@@ -6052,7 +6205,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6052
6205
|
/* harmony export */ SpanKind: () => (/* binding */ SpanKind),
|
|
6053
6206
|
/* harmony export */ Tracing: () => (/* binding */ Tracing)
|
|
6054
6207
|
/* harmony export */ });
|
|
6055
|
-
/* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Logger */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6208
|
+
/* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Logger */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Logger.js");
|
|
6056
6209
|
/*---------------------------------------------------------------------------------------------
|
|
6057
6210
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
6058
6211
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -6220,9 +6373,9 @@ class Tracing {
|
|
|
6220
6373
|
|
|
6221
6374
|
/***/ },
|
|
6222
6375
|
|
|
6223
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6376
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/TupleKeyedMap.js"
|
|
6224
6377
|
/*!*********************************************************************************************************************************!*\
|
|
6225
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6378
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/TupleKeyedMap.js ***!
|
|
6226
6379
|
\*********************************************************************************************************************************/
|
|
6227
6380
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6228
6381
|
|
|
@@ -6333,9 +6486,9 @@ class TupleKeyedMap {
|
|
|
6333
6486
|
|
|
6334
6487
|
/***/ },
|
|
6335
6488
|
|
|
6336
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6489
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/TypedArrayBuilder.js"
|
|
6337
6490
|
/*!*************************************************************************************************************************************!*\
|
|
6338
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6491
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/TypedArrayBuilder.js ***!
|
|
6339
6492
|
\*************************************************************************************************************************************/
|
|
6340
6493
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6341
6494
|
|
|
@@ -6348,7 +6501,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6348
6501
|
/* harmony export */ Uint8ArrayBuilder: () => (/* binding */ Uint8ArrayBuilder),
|
|
6349
6502
|
/* harmony export */ UintArrayBuilder: () => (/* binding */ UintArrayBuilder)
|
|
6350
6503
|
/* harmony export */ });
|
|
6351
|
-
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6504
|
+
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Assert.js");
|
|
6352
6505
|
/*---------------------------------------------------------------------------------------------
|
|
6353
6506
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
6354
6507
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -6559,9 +6712,9 @@ class UintArrayBuilder extends TypedArrayBuilder {
|
|
|
6559
6712
|
|
|
6560
6713
|
/***/ },
|
|
6561
6714
|
|
|
6562
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6715
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/UnexpectedErrors.js"
|
|
6563
6716
|
/*!************************************************************************************************************************************!*\
|
|
6564
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6717
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/UnexpectedErrors.js ***!
|
|
6565
6718
|
\************************************************************************************************************************************/
|
|
6566
6719
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6567
6720
|
|
|
@@ -6570,7 +6723,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6570
6723
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6571
6724
|
/* harmony export */ UnexpectedErrors: () => (/* binding */ UnexpectedErrors)
|
|
6572
6725
|
/* harmony export */ });
|
|
6573
|
-
/* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Logger */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6726
|
+
/* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Logger */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Logger.js");
|
|
6574
6727
|
/*---------------------------------------------------------------------------------------------
|
|
6575
6728
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
6576
6729
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -6637,9 +6790,9 @@ class UnexpectedErrors {
|
|
|
6637
6790
|
|
|
6638
6791
|
/***/ },
|
|
6639
6792
|
|
|
6640
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6793
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/UtilityFunctions.js"
|
|
6641
6794
|
/*!************************************************************************************************************************************!*\
|
|
6642
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6795
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/UtilityFunctions.js ***!
|
|
6643
6796
|
\************************************************************************************************************************************/
|
|
6644
6797
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6645
6798
|
|
|
@@ -6700,9 +6853,9 @@ async function wrapTimerCallback(timerPromises, callback) {
|
|
|
6700
6853
|
|
|
6701
6854
|
/***/ },
|
|
6702
6855
|
|
|
6703
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6856
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/UtilityTypes.js"
|
|
6704
6857
|
/*!********************************************************************************************************************************!*\
|
|
6705
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6858
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/UtilityTypes.js ***!
|
|
6706
6859
|
\********************************************************************************************************************************/
|
|
6707
6860
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6708
6861
|
|
|
@@ -6751,9 +6904,9 @@ function omit(t, keys) {
|
|
|
6751
6904
|
|
|
6752
6905
|
/***/ },
|
|
6753
6906
|
|
|
6754
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6907
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/YieldManager.js"
|
|
6755
6908
|
/*!********************************************************************************************************************************!*\
|
|
6756
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6909
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/YieldManager.js ***!
|
|
6757
6910
|
\********************************************************************************************************************************/
|
|
6758
6911
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6759
6912
|
|
|
@@ -6805,20 +6958,20 @@ class YieldManager {
|
|
|
6805
6958
|
|
|
6806
6959
|
/***/ },
|
|
6807
6960
|
|
|
6808
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6961
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js"
|
|
6809
6962
|
/*!********************************************************************************************************************************!*\
|
|
6810
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6963
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js ***!
|
|
6811
6964
|
\********************************************************************************************************************************/
|
|
6812
6965
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6813
6966
|
|
|
6814
6967
|
"use strict";
|
|
6815
6968
|
__webpack_require__.r(__webpack_exports__);
|
|
6816
6969
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6817
|
-
/* harmony export */ AbandonedError: () => (/* reexport safe */
|
|
6818
|
-
/* harmony export */ BeDuration: () => (/* reexport safe */
|
|
6970
|
+
/* harmony export */ AbandonedError: () => (/* reexport safe */ _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_22__.AbandonedError),
|
|
6971
|
+
/* harmony export */ BeDuration: () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_30__.BeDuration),
|
|
6819
6972
|
/* harmony export */ BeEvent: () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeEvent),
|
|
6820
6973
|
/* harmony export */ BeEventList: () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeEventList),
|
|
6821
|
-
/* harmony export */ BeTimePoint: () => (/* reexport safe */
|
|
6974
|
+
/* harmony export */ BeTimePoint: () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_30__.BeTimePoint),
|
|
6822
6975
|
/* harmony export */ BeUiEvent: () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeUiEvent),
|
|
6823
6976
|
/* harmony export */ BeUnorderedEvent: () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeUnorderedEvent),
|
|
6824
6977
|
/* harmony export */ BeUnorderedUiEvent: () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeUnorderedUiEvent),
|
|
@@ -6829,15 +6982,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6829
6982
|
/* harmony export */ ByteStream: () => (/* reexport safe */ _ByteStream__WEBPACK_IMPORTED_MODULE_7__.ByteStream),
|
|
6830
6983
|
/* harmony export */ ChangeSetStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.ChangeSetStatus),
|
|
6831
6984
|
/* harmony export */ CompressedId64Set: () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.CompressedId64Set),
|
|
6832
|
-
/* harmony export */ DbChangeStage: () => (/* reexport safe */
|
|
6833
|
-
/* harmony export */ DbConflictCause: () => (/* reexport safe */
|
|
6834
|
-
/* harmony export */ DbConflictResolution: () => (/* reexport safe */
|
|
6985
|
+
/* harmony export */ DbChangeStage: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_38__.DbChangeStage),
|
|
6986
|
+
/* harmony export */ DbConflictCause: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_38__.DbConflictCause),
|
|
6987
|
+
/* harmony export */ DbConflictResolution: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_38__.DbConflictResolution),
|
|
6835
6988
|
/* harmony export */ DbOpcode: () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbOpcode),
|
|
6836
6989
|
/* harmony export */ DbResult: () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbResult),
|
|
6837
|
-
/* harmony export */ DbValueType: () => (/* reexport safe */
|
|
6990
|
+
/* harmony export */ DbValueType: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_38__.DbValueType),
|
|
6838
6991
|
/* harmony export */ Dictionary: () => (/* reexport safe */ _Dictionary__WEBPACK_IMPORTED_MODULE_11__.Dictionary),
|
|
6839
6992
|
/* harmony export */ DisposableList: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.DisposableList),
|
|
6840
|
-
/* harmony export */ DuplicatePolicy: () => (/* reexport safe */
|
|
6993
|
+
/* harmony export */ DuplicatePolicy: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_28__.DuplicatePolicy),
|
|
6841
6994
|
/* harmony export */ Entry: () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_19__.Entry),
|
|
6842
6995
|
/* harmony export */ ErrorCategory: () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.ErrorCategory),
|
|
6843
6996
|
/* harmony export */ GeoServiceStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.GeoServiceStatus),
|
|
@@ -6856,39 +7009,40 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6856
7009
|
/* harmony export */ LogLevel: () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_18__.LogLevel),
|
|
6857
7010
|
/* harmony export */ Logger: () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_18__.Logger),
|
|
6858
7011
|
/* harmony export */ MutableCompressedId64Set: () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.MutableCompressedId64Set),
|
|
6859
|
-
/* harmony export */
|
|
6860
|
-
/* harmony export */
|
|
7012
|
+
/* harmony export */ ObservableMap: () => (/* reexport safe */ _ObservableMap__WEBPACK_IMPORTED_MODULE_20__.ObservableMap),
|
|
7013
|
+
/* harmony export */ ObservableSet: () => (/* reexport safe */ _ObservableSet__WEBPACK_IMPORTED_MODULE_21__.ObservableSet),
|
|
7014
|
+
/* harmony export */ OneAtATimeAction: () => (/* reexport safe */ _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_22__.OneAtATimeAction),
|
|
6861
7015
|
/* harmony export */ OpenMode: () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.OpenMode),
|
|
6862
7016
|
/* harmony export */ OrderedId64Array: () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.OrderedId64Array),
|
|
6863
|
-
/* harmony export */ OrderedId64Iterable: () => (/* reexport safe */
|
|
6864
|
-
/* harmony export */ OrderedSet: () => (/* reexport safe */
|
|
7017
|
+
/* harmony export */ OrderedId64Iterable: () => (/* reexport safe */ _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_23__.OrderedId64Iterable),
|
|
7018
|
+
/* harmony export */ OrderedSet: () => (/* reexport safe */ _OrderedSet__WEBPACK_IMPORTED_MODULE_24__.OrderedSet),
|
|
6865
7019
|
/* harmony export */ PerfLogger: () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_18__.PerfLogger),
|
|
6866
|
-
/* harmony export */ PriorityQueue: () => (/* reexport safe */
|
|
6867
|
-
/* harmony export */ ProcessDetector: () => (/* reexport safe */
|
|
6868
|
-
/* harmony export */ ReadonlyOrderedSet: () => (/* reexport safe */
|
|
6869
|
-
/* harmony export */ ReadonlySortedArray: () => (/* reexport safe */
|
|
7020
|
+
/* harmony export */ PriorityQueue: () => (/* reexport safe */ _PriorityQueue__WEBPACK_IMPORTED_MODULE_26__.PriorityQueue),
|
|
7021
|
+
/* harmony export */ ProcessDetector: () => (/* reexport safe */ _ProcessDetector__WEBPACK_IMPORTED_MODULE_27__.ProcessDetector),
|
|
7022
|
+
/* harmony export */ ReadonlyOrderedSet: () => (/* reexport safe */ _OrderedSet__WEBPACK_IMPORTED_MODULE_24__.ReadonlyOrderedSet),
|
|
7023
|
+
/* harmony export */ ReadonlySortedArray: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_28__.ReadonlySortedArray),
|
|
6870
7024
|
/* harmony export */ RealityDataStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RealityDataStatus),
|
|
6871
|
-
/* harmony export */ RepositoryStatus: () => (/* reexport safe */
|
|
7025
|
+
/* harmony export */ RepositoryStatus: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_38__.RepositoryStatus),
|
|
6872
7026
|
/* harmony export */ RpcInterfaceStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RpcInterfaceStatus),
|
|
6873
|
-
/* harmony export */ SortedArray: () => (/* reexport safe */
|
|
6874
|
-
/* harmony export */ SpanKind: () => (/* reexport safe */
|
|
7027
|
+
/* harmony export */ SortedArray: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_28__.SortedArray),
|
|
7028
|
+
/* harmony export */ SpanKind: () => (/* reexport safe */ _Tracing__WEBPACK_IMPORTED_MODULE_31__.SpanKind),
|
|
6875
7029
|
/* harmony export */ StatusCategory: () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.StatusCategory),
|
|
6876
|
-
/* harmony export */ StopWatch: () => (/* reexport safe */
|
|
7030
|
+
/* harmony export */ StopWatch: () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_30__.StopWatch),
|
|
6877
7031
|
/* harmony export */ SuccessCategory: () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.SuccessCategory),
|
|
6878
|
-
/* harmony export */ Tracing: () => (/* reexport safe */
|
|
7032
|
+
/* harmony export */ Tracing: () => (/* reexport safe */ _Tracing__WEBPACK_IMPORTED_MODULE_31__.Tracing),
|
|
6879
7033
|
/* harmony export */ TransientIdSequence: () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_14__.TransientIdSequence),
|
|
6880
|
-
/* harmony export */ TupleKeyedMap: () => (/* reexport safe */
|
|
6881
|
-
/* harmony export */ TypedArrayBuilder: () => (/* reexport safe */
|
|
6882
|
-
/* harmony export */ Uint16ArrayBuilder: () => (/* reexport safe */
|
|
6883
|
-
/* harmony export */ Uint32ArrayBuilder: () => (/* reexport safe */
|
|
6884
|
-
/* harmony export */ Uint8ArrayBuilder: () => (/* reexport safe */
|
|
6885
|
-
/* harmony export */ UintArrayBuilder: () => (/* reexport safe */
|
|
6886
|
-
/* harmony export */ UnexpectedErrors: () => (/* reexport safe */
|
|
6887
|
-
/* harmony export */ YieldManager: () => (/* reexport safe */
|
|
7034
|
+
/* harmony export */ TupleKeyedMap: () => (/* reexport safe */ _TupleKeyedMap__WEBPACK_IMPORTED_MODULE_32__.TupleKeyedMap),
|
|
7035
|
+
/* harmony export */ TypedArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_33__.TypedArrayBuilder),
|
|
7036
|
+
/* harmony export */ Uint16ArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_33__.Uint16ArrayBuilder),
|
|
7037
|
+
/* harmony export */ Uint32ArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_33__.Uint32ArrayBuilder),
|
|
7038
|
+
/* harmony export */ Uint8ArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_33__.Uint8ArrayBuilder),
|
|
7039
|
+
/* harmony export */ UintArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_33__.UintArrayBuilder),
|
|
7040
|
+
/* harmony export */ UnexpectedErrors: () => (/* reexport safe */ _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_34__.UnexpectedErrors),
|
|
7041
|
+
/* harmony export */ YieldManager: () => (/* reexport safe */ _YieldManager__WEBPACK_IMPORTED_MODULE_37__.YieldManager),
|
|
6888
7042
|
/* harmony export */ areEqualPossiblyUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.areEqualPossiblyUndefined),
|
|
6889
|
-
/* harmony export */ asInstanceOf: () => (/* reexport safe */
|
|
7043
|
+
/* harmony export */ asInstanceOf: () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_36__.asInstanceOf),
|
|
6890
7044
|
/* harmony export */ assert: () => (/* reexport safe */ _Assert__WEBPACK_IMPORTED_MODULE_1__.assert),
|
|
6891
|
-
/* harmony export */ base64StringToUint8Array: () => (/* reexport safe */
|
|
7045
|
+
/* harmony export */ base64StringToUint8Array: () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_29__.base64StringToUint8Array),
|
|
6892
7046
|
/* harmony export */ compareArrays: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareArrays),
|
|
6893
7047
|
/* harmony export */ compareBooleans: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleans),
|
|
6894
7048
|
/* harmony export */ compareBooleansOrUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleansOrUndefined),
|
|
@@ -6906,55 +7060,56 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6906
7060
|
/* harmony export */ expectNotNull: () => (/* reexport safe */ _Expect__WEBPACK_IMPORTED_MODULE_13__.expectNotNull),
|
|
6907
7061
|
/* harmony export */ isDisposable: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.isDisposable),
|
|
6908
7062
|
/* harmony export */ isIDisposable: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.isIDisposable),
|
|
6909
|
-
/* harmony export */ isInstanceOf: () => (/* reexport safe */
|
|
7063
|
+
/* harmony export */ isInstanceOf: () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_36__.isInstanceOf),
|
|
6910
7064
|
/* harmony export */ isProperSubclassOf: () => (/* reexport safe */ _ClassUtils__WEBPACK_IMPORTED_MODULE_8__.isProperSubclassOf),
|
|
6911
7065
|
/* harmony export */ isSubclassOf: () => (/* reexport safe */ _ClassUtils__WEBPACK_IMPORTED_MODULE_8__.isSubclassOf),
|
|
6912
|
-
/* harmony export */ lowerBound: () => (/* reexport safe */
|
|
6913
|
-
/* harmony export */ omit: () => (/* reexport safe */
|
|
6914
|
-
/* harmony export */ partitionArray: () => (/* reexport safe */
|
|
6915
|
-
/* harmony export */ shallowClone: () => (/* reexport safe */
|
|
7066
|
+
/* harmony export */ lowerBound: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_28__.lowerBound),
|
|
7067
|
+
/* harmony export */ omit: () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_36__.omit),
|
|
7068
|
+
/* harmony export */ partitionArray: () => (/* reexport safe */ _partitionArray__WEBPACK_IMPORTED_MODULE_25__.partitionArray),
|
|
7069
|
+
/* harmony export */ shallowClone: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_28__.shallowClone),
|
|
6916
7070
|
/* harmony export */ using: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.using),
|
|
6917
|
-
/* harmony export */ utf8ToString: () => (/* reexport safe */
|
|
6918
|
-
/* harmony export */ wrapTimerCallback: () => (/* reexport safe */
|
|
7071
|
+
/* harmony export */ utf8ToString: () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_29__.utf8ToString),
|
|
7072
|
+
/* harmony export */ wrapTimerCallback: () => (/* reexport safe */ _UtilityFunctions__WEBPACK_IMPORTED_MODULE_35__.wrapTimerCallback)
|
|
6919
7073
|
/* harmony export */ });
|
|
6920
|
-
/* harmony import */ var _AccessToken__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AccessToken */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6921
|
-
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6922
|
-
/* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BeEvent */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6923
|
-
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6924
|
-
/* harmony import */ var _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./BentleyLoggerCategory */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6925
|
-
/* harmony import */ var _StatusCategory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./StatusCategory */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6926
|
-
/* harmony import */ var _BeSQLite__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./BeSQLite */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6927
|
-
/* harmony import */ var _ByteStream__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ByteStream */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6928
|
-
/* harmony import */ var _ClassUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./ClassUtils */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6929
|
-
/* harmony import */ var _Compare__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Compare */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6930
|
-
/* harmony import */ var _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./CompressedId64Set */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6931
|
-
/* harmony import */ var _Dictionary__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./Dictionary */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6932
|
-
/* harmony import */ var _Disposable__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Disposable */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6933
|
-
/* harmony import */ var _Expect__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./Expect */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6934
|
-
/* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./Id */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6935
|
-
/* harmony import */ var _IndexMap__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./IndexMap */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6936
|
-
/* harmony import */ var _JsonSchema__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./JsonSchema */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6937
|
-
/* harmony import */ var _JsonUtils__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./JsonUtils */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6938
|
-
/* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./Logger */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6939
|
-
/* harmony import */ var _LRUMap__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./LRUMap */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
6940
|
-
/* harmony import */ var
|
|
6941
|
-
/* harmony import */ var
|
|
6942
|
-
/* harmony import */ var
|
|
6943
|
-
/* harmony import */ var
|
|
6944
|
-
/* harmony import */ var
|
|
6945
|
-
/* harmony import */ var
|
|
6946
|
-
/* harmony import */ var
|
|
6947
|
-
/* harmony import */ var
|
|
6948
|
-
/* harmony import */ var
|
|
6949
|
-
/* harmony import */ var
|
|
6950
|
-
/* harmony import */ var
|
|
6951
|
-
/* harmony import */ var
|
|
6952
|
-
/* harmony import */ var
|
|
6953
|
-
/* harmony import */ var
|
|
6954
|
-
/* harmony import */ var
|
|
6955
|
-
/* harmony import */ var
|
|
6956
|
-
/* harmony import */ var
|
|
6957
|
-
/* harmony import */ var
|
|
7074
|
+
/* harmony import */ var _AccessToken__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AccessToken */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/AccessToken.js");
|
|
7075
|
+
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Assert */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Assert.js");
|
|
7076
|
+
/* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BeEvent */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/BeEvent.js");
|
|
7077
|
+
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./BentleyError */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/BentleyError.js");
|
|
7078
|
+
/* harmony import */ var _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./BentleyLoggerCategory */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/BentleyLoggerCategory.js");
|
|
7079
|
+
/* harmony import */ var _StatusCategory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./StatusCategory */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/StatusCategory.js");
|
|
7080
|
+
/* harmony import */ var _BeSQLite__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./BeSQLite */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/BeSQLite.js");
|
|
7081
|
+
/* harmony import */ var _ByteStream__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ByteStream */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/ByteStream.js");
|
|
7082
|
+
/* harmony import */ var _ClassUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./ClassUtils */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/ClassUtils.js");
|
|
7083
|
+
/* harmony import */ var _Compare__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Compare */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Compare.js");
|
|
7084
|
+
/* harmony import */ var _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./CompressedId64Set */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/CompressedId64Set.js");
|
|
7085
|
+
/* harmony import */ var _Dictionary__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./Dictionary */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Dictionary.js");
|
|
7086
|
+
/* harmony import */ var _Disposable__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Disposable */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Disposable.js");
|
|
7087
|
+
/* harmony import */ var _Expect__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./Expect */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Expect.js");
|
|
7088
|
+
/* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./Id */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Id.js");
|
|
7089
|
+
/* harmony import */ var _IndexMap__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./IndexMap */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/IndexMap.js");
|
|
7090
|
+
/* harmony import */ var _JsonSchema__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./JsonSchema */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/JsonSchema.js");
|
|
7091
|
+
/* harmony import */ var _JsonUtils__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./JsonUtils */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/JsonUtils.js");
|
|
7092
|
+
/* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./Logger */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Logger.js");
|
|
7093
|
+
/* harmony import */ var _LRUMap__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./LRUMap */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/LRUMap.js");
|
|
7094
|
+
/* harmony import */ var _ObservableMap__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./ObservableMap */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/ObservableMap.js");
|
|
7095
|
+
/* harmony import */ var _ObservableSet__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./ObservableSet */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/ObservableSet.js");
|
|
7096
|
+
/* harmony import */ var _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./OneAtATimeAction */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/OneAtATimeAction.js");
|
|
7097
|
+
/* harmony import */ var _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./OrderedId64Iterable */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/OrderedId64Iterable.js");
|
|
7098
|
+
/* harmony import */ var _OrderedSet__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./OrderedSet */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/OrderedSet.js");
|
|
7099
|
+
/* harmony import */ var _partitionArray__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./partitionArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/partitionArray.js");
|
|
7100
|
+
/* harmony import */ var _PriorityQueue__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./PriorityQueue */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/PriorityQueue.js");
|
|
7101
|
+
/* harmony import */ var _ProcessDetector__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./ProcessDetector */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/ProcessDetector.js");
|
|
7102
|
+
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./SortedArray */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/SortedArray.js");
|
|
7103
|
+
/* harmony import */ var _StringUtils__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./StringUtils */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/StringUtils.js");
|
|
7104
|
+
/* harmony import */ var _Time__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./Time */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Time.js");
|
|
7105
|
+
/* harmony import */ var _Tracing__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./Tracing */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/Tracing.js");
|
|
7106
|
+
/* harmony import */ var _TupleKeyedMap__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./TupleKeyedMap */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/TupleKeyedMap.js");
|
|
7107
|
+
/* harmony import */ var _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./TypedArrayBuilder */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/TypedArrayBuilder.js");
|
|
7108
|
+
/* harmony import */ var _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./UnexpectedErrors */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/UnexpectedErrors.js");
|
|
7109
|
+
/* harmony import */ var _UtilityFunctions__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./UtilityFunctions */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/UtilityFunctions.js");
|
|
7110
|
+
/* harmony import */ var _UtilityTypes__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./UtilityTypes */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/UtilityTypes.js");
|
|
7111
|
+
/* harmony import */ var _YieldManager__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./YieldManager */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/YieldManager.js");
|
|
7112
|
+
/* harmony import */ var _internal_cross_package__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./internal/cross-package */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/internal/cross-package.js");
|
|
6958
7113
|
/*---------------------------------------------------------------------------------------------
|
|
6959
7114
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
6960
7115
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -6994,6 +7149,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6994
7149
|
|
|
6995
7150
|
|
|
6996
7151
|
|
|
7152
|
+
|
|
6997
7153
|
|
|
6998
7154
|
|
|
6999
7155
|
// Temporarily (until 5.0) export top-level internal APIs to avoid breaking callers.
|
|
@@ -7041,9 +7197,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7041
7197
|
|
|
7042
7198
|
/***/ },
|
|
7043
7199
|
|
|
7044
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
7200
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/internal/BeSQLiteInternal.js"
|
|
7045
7201
|
/*!*********************************************************************************************************************************************!*\
|
|
7046
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
7202
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/internal/BeSQLiteInternal.js ***!
|
|
7047
7203
|
\*********************************************************************************************************************************************/
|
|
7048
7204
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7049
7205
|
|
|
@@ -7102,9 +7258,9 @@ var DbConflictResolution;
|
|
|
7102
7258
|
|
|
7103
7259
|
/***/ },
|
|
7104
7260
|
|
|
7105
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
7261
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/internal/RepositoryStatus.js"
|
|
7106
7262
|
/*!*********************************************************************************************************************************************!*\
|
|
7107
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
7263
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/internal/RepositoryStatus.js ***!
|
|
7108
7264
|
\*********************************************************************************************************************************************/
|
|
7109
7265
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7110
7266
|
|
|
@@ -7161,9 +7317,9 @@ var RepositoryStatus;
|
|
|
7161
7317
|
|
|
7162
7318
|
/***/ },
|
|
7163
7319
|
|
|
7164
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
7320
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/internal/cross-package.js"
|
|
7165
7321
|
/*!******************************************************************************************************************************************!*\
|
|
7166
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
7322
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/internal/cross-package.js ***!
|
|
7167
7323
|
\******************************************************************************************************************************************/
|
|
7168
7324
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7169
7325
|
|
|
@@ -7176,8 +7332,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7176
7332
|
/* harmony export */ DbValueType: () => (/* reexport safe */ _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_1__.DbValueType),
|
|
7177
7333
|
/* harmony export */ RepositoryStatus: () => (/* reexport safe */ _RepositoryStatus__WEBPACK_IMPORTED_MODULE_0__.RepositoryStatus)
|
|
7178
7334
|
/* harmony export */ });
|
|
7179
|
-
/* harmony import */ var _RepositoryStatus__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RepositoryStatus */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
7180
|
-
/* harmony import */ var _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BeSQLiteInternal */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
7335
|
+
/* harmony import */ var _RepositoryStatus__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RepositoryStatus */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/internal/RepositoryStatus.js");
|
|
7336
|
+
/* harmony import */ var _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BeSQLiteInternal */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/internal/BeSQLiteInternal.js");
|
|
7181
7337
|
/*---------------------------------------------------------------------------------------------
|
|
7182
7338
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
7183
7339
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -7188,9 +7344,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7188
7344
|
|
|
7189
7345
|
/***/ },
|
|
7190
7346
|
|
|
7191
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
7347
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/partitionArray.js"
|
|
7192
7348
|
/*!**********************************************************************************************************************************!*\
|
|
7193
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
7349
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/partitionArray.js ***!
|
|
7194
7350
|
\**********************************************************************************************************************************/
|
|
7195
7351
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7196
7352
|
|
|
@@ -46352,7 +46508,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
46352
46508
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
46353
46509
|
/* harmony export */ Base64EncodedString: () => (/* binding */ Base64EncodedString)
|
|
46354
46510
|
/* harmony export */ });
|
|
46355
|
-
/* harmony import */ var js_base64__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! js-base64 */ "../../common/temp/node_modules/.pnpm/js-base64@3.9.
|
|
46511
|
+
/* harmony import */ var js_base64__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! js-base64 */ "../../common/temp/node_modules/.pnpm/js-base64@3.9.4/node_modules/js-base64/base64.mjs");
|
|
46356
46512
|
/*---------------------------------------------------------------------------------------------
|
|
46357
46513
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
46358
46514
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -48148,7 +48304,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
48148
48304
|
/* harmony export */ });
|
|
48149
48305
|
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
48150
48306
|
/* harmony import */ var _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @itwin/core-geometry */ "../../core/geometry/lib/esm/core-geometry.js");
|
|
48151
|
-
/* harmony import */ var js_base64__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! js-base64 */ "../../common/temp/node_modules/.pnpm/js-base64@3.9.
|
|
48307
|
+
/* harmony import */ var js_base64__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! js-base64 */ "../../common/temp/node_modules/.pnpm/js-base64@3.9.4/node_modules/js-base64/base64.mjs");
|
|
48152
48308
|
/*---------------------------------------------------------------------------------------------
|
|
48153
48309
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
48154
48310
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -48405,7 +48561,7 @@ var QueryParamType;
|
|
|
48405
48561
|
* @see
|
|
48406
48562
|
* - [ECSQL Parameters]($docs/learning/ECSQL.md#ecsql-parameters)
|
|
48407
48563
|
* - [ECSQL Parameter Types]($docs/learning/ECSQLParameterTypes)
|
|
48408
|
-
* - [ECSQL Code Examples]($docs/learning/
|
|
48564
|
+
* - [ECSQL Code Examples]($docs/learning/ECSQLCodeExamples#parameter-bindings)
|
|
48409
48565
|
*
|
|
48410
48566
|
* @public
|
|
48411
48567
|
*/
|
|
@@ -50765,7 +50921,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
50765
50921
|
* There are three primary ways to interact with and read the results:
|
|
50766
50922
|
* - Stream them using ECSqlReader as an asynchronous iterator.
|
|
50767
50923
|
* - Iterator over them manually using [[ECSqlReader.step]].
|
|
50768
|
-
* - Capture all of the results at once in an array using [[
|
|
50924
|
+
* - Capture all of the results at once in an array using [[ECSqlReader.toArray]].
|
|
50769
50925
|
*
|
|
50770
50926
|
* @see
|
|
50771
50927
|
* - [ECSQL Overview]($docs/learning/backend/ExecutingECSQL)
|
|
@@ -50807,7 +50963,7 @@ class ECSqlReader extends _ECSqlReaderBase__WEBPACK_IMPORTED_MODULE_1__.ECSqlRea
|
|
|
50807
50963
|
this.reset(options);
|
|
50808
50964
|
}
|
|
50809
50965
|
/**
|
|
50810
|
-
* @deprecated in 5.6 - will not be removed until after 2027-04-02.
|
|
50966
|
+
* @deprecated in 5.6 - will not be removed until after 2027-04-02. Should not be used. Will be made private in a future release.
|
|
50811
50967
|
*/
|
|
50812
50968
|
setParams(param) {
|
|
50813
50969
|
if (this._lockArgs) {
|
|
@@ -50816,7 +50972,7 @@ class ECSqlReader extends _ECSqlReaderBase__WEBPACK_IMPORTED_MODULE_1__.ECSqlRea
|
|
|
50816
50972
|
this._param = param.serialize();
|
|
50817
50973
|
}
|
|
50818
50974
|
/**
|
|
50819
|
-
* @deprecated in 5.6 - will not be removed until after 2027-04-02.
|
|
50975
|
+
* @deprecated in 5.6 - will not be removed until after 2027-04-02. Should not be used. Will be made private in a future release.
|
|
50820
50976
|
*/
|
|
50821
50977
|
reset(options) {
|
|
50822
50978
|
if (options) {
|
|
@@ -50840,7 +50996,7 @@ class ECSqlReader extends _ECSqlReaderBase__WEBPACK_IMPORTED_MODULE_1__.ECSqlRea
|
|
|
50840
50996
|
}
|
|
50841
50997
|
/**
|
|
50842
50998
|
* Clear all bindings.
|
|
50843
|
-
* @deprecated in 5.6 - will not be removed until after 2027-04-02.
|
|
50999
|
+
* @deprecated in 5.6 - will not be removed until after 2027-04-02. Should not be used. Will be made private in a future release.
|
|
50844
51000
|
*/
|
|
50845
51001
|
resetBindings() {
|
|
50846
51002
|
this._param = new _ConcurrentQuery__WEBPACK_IMPORTED_MODULE_0__.QueryBinder().serialize();
|
|
@@ -59354,7 +59510,7 @@ var RenderSchedule;
|
|
|
59354
59510
|
for (let i = 0; i < last; i++) {
|
|
59355
59511
|
const time0 = this._entries[i].time;
|
|
59356
59512
|
const time1 = this._entries[i + 1].time;
|
|
59357
|
-
if (time0 <= time && time1
|
|
59513
|
+
if (time0 <= time && time1 > time) {
|
|
59358
59514
|
let fraction;
|
|
59359
59515
|
if (Interpolation.Linear === this._entries[i].interpolation)
|
|
59360
59516
|
fraction = (time - time0) / (time1 - time0);
|
|
@@ -64641,6 +64797,11 @@ class TabRun extends TextBlockComponent {
|
|
|
64641
64797
|
return other instanceof TabRun && super.equals(other);
|
|
64642
64798
|
}
|
|
64643
64799
|
}
|
|
64800
|
+
function accessorsEqual(a, b) {
|
|
64801
|
+
const lhs = a ?? [];
|
|
64802
|
+
const rhs = b ?? [];
|
|
64803
|
+
return lhs.length === rhs.length && lhs.every((value, index) => value === rhs[index]);
|
|
64804
|
+
}
|
|
64644
64805
|
/** A [[Run]] that displays the formatted value of a property of some [Element]($backend).
|
|
64645
64806
|
* When a [[TextBlock]] containing a [[FieldRun]] is written into the iModel as an [ITextAnnotation]($backend) element,
|
|
64646
64807
|
* a dependency is established between the two elements via the [ElementDrivesTextAnnotation]($backend) relationship such that
|
|
@@ -64730,12 +64891,10 @@ class FieldRun extends TextBlockComponent {
|
|
|
64730
64891
|
if (this.propertyPath.propertyName !== other.propertyPath.propertyName) {
|
|
64731
64892
|
return false;
|
|
64732
64893
|
}
|
|
64733
|
-
|
|
64734
|
-
const otherAccessors = other.propertyPath.accessors ?? [];
|
|
64735
|
-
if (thisAccessors.length !== otherAccessors.length) {
|
|
64894
|
+
if (!accessorsEqual(this.propertyPath.accessors, other.propertyPath.accessors)) {
|
|
64736
64895
|
return false;
|
|
64737
64896
|
}
|
|
64738
|
-
if (!
|
|
64897
|
+
if (!accessorsEqual(this.propertyPath.jsonAccessors, other.propertyPath.jsonAccessors)) {
|
|
64739
64898
|
return false;
|
|
64740
64899
|
}
|
|
64741
64900
|
if (this.formatOptions && other.formatOptions) {
|
|
@@ -75881,9 +76040,8 @@ const formatters = {
|
|
|
75881
76040
|
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
75882
76041
|
"string": (v, o) => formatString(v.toString(), o),
|
|
75883
76042
|
"datetime": (v, o) => formatString(formatDateTime(v, o?.dateTime), o),
|
|
75884
|
-
|
|
75885
|
-
"
|
|
75886
|
-
"coordinate": (v, o) => formatString(formatPointBasic(v), o),
|
|
76043
|
+
"quantity": (v, o, fm) => formatString(formatMagnitudeValue(v, fm), o),
|
|
76044
|
+
"coordinate": (v, o, fm) => formatString(formatPoint(v, fm), o),
|
|
75887
76045
|
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
75888
76046
|
"boolean": (v, o) => formatString(v.toString(), o),
|
|
75889
76047
|
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
@@ -75924,27 +76082,58 @@ function formatDateTime(v, o) {
|
|
|
75924
76082
|
}
|
|
75925
76083
|
return undefined;
|
|
75926
76084
|
}
|
|
75927
|
-
|
|
75928
|
-
|
|
75929
|
-
|
|
75930
|
-
|
|
75931
|
-
|
|
75932
|
-
|
|
75933
|
-
parts.push(z);
|
|
75934
|
-
}
|
|
75935
|
-
return `(${parts.join(", ")})`;
|
|
76085
|
+
/** A `"quantity"` magnitude rendered through `formatMagnitude`, or its raw string
|
|
76086
|
+
* representation when no callback was supplied or the value is not a number.
|
|
76087
|
+
*/
|
|
76088
|
+
function formatMagnitudeValue(v, formatMagnitude) {
|
|
76089
|
+
if (formatMagnitude && typeof v === "number") {
|
|
76090
|
+
return formatMagnitude(v);
|
|
75936
76091
|
}
|
|
75937
|
-
|
|
76092
|
+
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
76093
|
+
return v.toString();
|
|
75938
76094
|
}
|
|
75939
|
-
/**
|
|
75940
|
-
|
|
76095
|
+
/** A coordinate rendered as `(x, y[, z])`, each component passed through `formatMagnitude` when
|
|
76096
|
+
* one is supplied. Without a callback the components render bare, with no unit labels — Core
|
|
76097
|
+
* carries no built-in coordinate format.
|
|
76098
|
+
*/
|
|
76099
|
+
function formatPoint(v, formatMagnitude) {
|
|
76100
|
+
const magnitudes = getCoordinateMagnitudes(v);
|
|
76101
|
+
if (!magnitudes) {
|
|
76102
|
+
return undefined;
|
|
76103
|
+
}
|
|
76104
|
+
return `(${magnitudes.map((m) => formatMagnitude ? formatMagnitude(m) : `${m}`).join(", ")})`;
|
|
76105
|
+
}
|
|
76106
|
+
/** Formats `value` through the per-type entry in [[formatters]], wrapping the result with
|
|
76107
|
+
* prefix/suffix/case.
|
|
76108
|
+
*
|
|
76109
|
+
* `formatMagnitude` is consulted only by the `"quantity"` and `"coordinate"` branches. Omitting
|
|
76110
|
+
* it falls those values back to `value.toString()`.
|
|
76111
|
+
* @internal
|
|
76112
|
+
*/
|
|
76113
|
+
function formatFieldValue({ value, options, formatMagnitude }) {
|
|
75941
76114
|
const formatter = formatters[value.type];
|
|
75942
|
-
return formatter ? formatter(value.value, options) : undefined;
|
|
76115
|
+
return formatter ? formatter(value.value, options, formatMagnitude) : undefined;
|
|
75943
76116
|
}
|
|
75944
|
-
/**
|
|
76117
|
+
/** Type guard for [[FieldPropertyType]] strings that have a built-in per-type formatter.
|
|
76118
|
+
* @internal
|
|
76119
|
+
*/
|
|
75945
76120
|
function isKnownFieldPropertyType(type) {
|
|
75946
76121
|
return type in formatters;
|
|
75947
76122
|
}
|
|
76123
|
+
/** The `x`, `y` and (when present) `z` components of a coordinate value, or `undefined` if `v` is
|
|
76124
|
+
* not one.
|
|
76125
|
+
*/
|
|
76126
|
+
function getCoordinateMagnitudes(v) {
|
|
76127
|
+
if (typeof v !== "object" || !("x" in v) || !("y" in v)) {
|
|
76128
|
+
return undefined;
|
|
76129
|
+
}
|
|
76130
|
+
const parts = [v.x, v.y];
|
|
76131
|
+
const z = "z" in v ? v.z : undefined;
|
|
76132
|
+
if (undefined !== z) {
|
|
76133
|
+
parts.push(z);
|
|
76134
|
+
}
|
|
76135
|
+
return parts;
|
|
76136
|
+
}
|
|
75948
76137
|
|
|
75949
76138
|
|
|
75950
76139
|
/***/ },
|
|
@@ -77435,7 +77624,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
77435
77624
|
/* harmony export */ RpcNotFoundResponse: () => (/* binding */ RpcNotFoundResponse),
|
|
77436
77625
|
/* harmony export */ RpcPendingResponse: () => (/* binding */ RpcPendingResponse)
|
|
77437
77626
|
/* harmony export */ });
|
|
77438
|
-
/* harmony import */ var js_base64__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! js-base64 */ "../../common/temp/node_modules/.pnpm/js-base64@3.9.
|
|
77627
|
+
/* harmony import */ var js_base64__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! js-base64 */ "../../common/temp/node_modules/.pnpm/js-base64@3.9.4/node_modules/js-base64/base64.mjs");
|
|
77439
77628
|
/* harmony import */ var _RpcInterface__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../RpcInterface */ "../../core/common/lib/esm/RpcInterface.js");
|
|
77440
77629
|
/* harmony import */ var _RpcManager__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../RpcManager */ "../../core/common/lib/esm/RpcManager.js");
|
|
77441
77630
|
/* harmony import */ var _RpcConfiguration__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./RpcConfiguration */ "../../core/common/lib/esm/rpc/core/RpcConfiguration.js");
|
|
@@ -85985,9 +86174,17 @@ class ECName {
|
|
|
85985
86174
|
}
|
|
85986
86175
|
return new ECName(output);
|
|
85987
86176
|
}
|
|
86177
|
+
/** Decode EC name escape sequences without requiring a valid EC identifier.
|
|
86178
|
+
* @internal
|
|
86179
|
+
*/
|
|
86180
|
+
static decode(name) {
|
|
86181
|
+
if (!name.includes("__x"))
|
|
86182
|
+
return name;
|
|
86183
|
+
return name.replace(ecNameReplacerRegex, (_match, hex) => String.fromCharCode(Number.parseInt(hex, 16)));
|
|
86184
|
+
}
|
|
85988
86185
|
/** Decode this ECName, replacing encoded special characters with the characters they encode. */
|
|
85989
86186
|
decode() {
|
|
85990
|
-
return this.name
|
|
86187
|
+
return ECName.decode(this.name);
|
|
85991
86188
|
}
|
|
85992
86189
|
}
|
|
85993
86190
|
|
|
@@ -86676,48 +86873,79 @@ class FormatSetFormatsProvider {
|
|
|
86676
86873
|
this._fallbackProvider = undefined;
|
|
86677
86874
|
}
|
|
86678
86875
|
/**
|
|
86679
|
-
* Retrieves a format definition
|
|
86680
|
-
* If the format is a string reference to another format, it resolves the reference and returns the FormatDefinition.
|
|
86876
|
+
* Retrieves a format definition from the format set, resolving string references and consulting the fallback provider when needed.
|
|
86681
86877
|
*/
|
|
86682
|
-
async getFormat(input, system) {
|
|
86683
|
-
|
|
86684
|
-
|
|
86685
|
-
|
|
86878
|
+
async getFormat(input, system, context) {
|
|
86879
|
+
const lookupContext = extendProviderContext(context, this);
|
|
86880
|
+
if (!lookupContext)
|
|
86881
|
+
return undefined;
|
|
86882
|
+
const name = normalizeFormatName(input);
|
|
86686
86883
|
const format = this._formatSet.formats[name];
|
|
86687
86884
|
if (format !== undefined) {
|
|
86688
|
-
|
|
86689
|
-
|
|
86690
|
-
return this.resolveReference(format, undefined, system);
|
|
86691
|
-
}
|
|
86885
|
+
if (typeof format === "string")
|
|
86886
|
+
return this.resolveReference(format, new Set(), system, lookupContext);
|
|
86692
86887
|
return format;
|
|
86693
86888
|
}
|
|
86694
|
-
|
|
86695
|
-
|
|
86696
|
-
|
|
86889
|
+
return this.getFormatFromFallback(name, system, lookupContext);
|
|
86890
|
+
}
|
|
86891
|
+
async getFormatFromFallback(name, system, context) {
|
|
86892
|
+
const fallbackProvider = this._fallbackProvider;
|
|
86893
|
+
if (!fallbackProvider)
|
|
86894
|
+
return undefined;
|
|
86895
|
+
return fallbackProvider.getFormat(name, system, context);
|
|
86896
|
+
}
|
|
86897
|
+
/**
|
|
86898
|
+
* Retrieves a format definition from the format set without awaiting a provider. String references are resolved
|
|
86899
|
+
* locally; a fallback is used only when it implements `SyncFormatsProvider`.
|
|
86900
|
+
*/
|
|
86901
|
+
getFormatSync(input, system, context) {
|
|
86902
|
+
const lookupContext = extendProviderContext(context, this);
|
|
86903
|
+
if (!lookupContext)
|
|
86904
|
+
return undefined;
|
|
86905
|
+
const name = normalizeFormatName(input);
|
|
86906
|
+
const format = this._formatSet.formats[name];
|
|
86907
|
+
if (format !== undefined) {
|
|
86908
|
+
if (typeof format === "string")
|
|
86909
|
+
return this.resolveReferenceSync(format, new Set(), system, lookupContext);
|
|
86910
|
+
return format;
|
|
86911
|
+
}
|
|
86912
|
+
return this.getFormatSyncFromFallback(name, system, lookupContext);
|
|
86913
|
+
}
|
|
86914
|
+
getFormatSyncFromFallback(name, system, context) {
|
|
86915
|
+
const fallbackProvider = this._fallbackProvider;
|
|
86916
|
+
return typeof fallbackProvider?.getFormatSync === "function" ? fallbackProvider.getFormatSync(name, system, context) : undefined;
|
|
86697
86917
|
}
|
|
86698
86918
|
/**
|
|
86699
86919
|
* Resolves a string reference to its FormatDefinition, following chains of references.
|
|
86700
86920
|
* @param reference The string reference to resolve
|
|
86701
86921
|
* @param visited Set of visited references to detect circular references
|
|
86702
86922
|
* @param system Optional unit system override
|
|
86923
|
+
* @param context Lookup context to forward to the fallback provider
|
|
86703
86924
|
*/
|
|
86704
|
-
async resolveReference(reference, visited
|
|
86925
|
+
async resolveReference(reference, visited, system, context) {
|
|
86705
86926
|
// Prevent infinite loops from circular references
|
|
86706
86927
|
if (visited.has(reference)) {
|
|
86707
86928
|
return undefined;
|
|
86708
86929
|
}
|
|
86709
86930
|
visited.add(reference);
|
|
86710
86931
|
const format = this._formatSet.formats[reference];
|
|
86711
|
-
if (format === undefined)
|
|
86712
|
-
|
|
86713
|
-
|
|
86714
|
-
|
|
86932
|
+
if (format === undefined)
|
|
86933
|
+
return this.getFormatFromFallback(reference, system, context);
|
|
86934
|
+
if (typeof format === "string")
|
|
86935
|
+
return this.resolveReference(format, visited, system, context);
|
|
86936
|
+
return format;
|
|
86937
|
+
}
|
|
86938
|
+
resolveReferenceSync(reference, visited, system, context) {
|
|
86939
|
+
// Prevent infinite loops from circular references
|
|
86940
|
+
if (visited.has(reference)) {
|
|
86715
86941
|
return undefined;
|
|
86716
86942
|
}
|
|
86717
|
-
|
|
86718
|
-
|
|
86719
|
-
|
|
86720
|
-
|
|
86943
|
+
visited.add(reference);
|
|
86944
|
+
const format = this._formatSet.formats[reference];
|
|
86945
|
+
if (format === undefined)
|
|
86946
|
+
return this.getFormatSyncFromFallback(reference, system, context);
|
|
86947
|
+
if (typeof format === "string")
|
|
86948
|
+
return this.resolveReferenceSync(format, visited, system, context);
|
|
86721
86949
|
return format;
|
|
86722
86950
|
}
|
|
86723
86951
|
/**
|
|
@@ -86753,6 +86981,18 @@ class FormatSetFormatsProvider {
|
|
|
86753
86981
|
return referencingFormats;
|
|
86754
86982
|
}
|
|
86755
86983
|
}
|
|
86984
|
+
function extendProviderContext(context, provider) {
|
|
86985
|
+
const providerChain = new Set(context?.providerChain);
|
|
86986
|
+
if (providerChain.has(provider))
|
|
86987
|
+
return undefined;
|
|
86988
|
+
providerChain.add(provider);
|
|
86989
|
+
return { providerChain };
|
|
86990
|
+
}
|
|
86991
|
+
function normalizeFormatName(input) {
|
|
86992
|
+
// Convert node-addon names from `schemaName:schemaItemName` to the dot-separated key used by FormatSet.
|
|
86993
|
+
const [schemaName, itemName] = _Metadata_SchemaItem__WEBPACK_IMPORTED_MODULE_1__.SchemaItem.parseFullName(input);
|
|
86994
|
+
return schemaName === "" ? itemName : `${schemaName}.${itemName}`;
|
|
86995
|
+
}
|
|
86756
86996
|
|
|
86757
86997
|
|
|
86758
86998
|
/***/ },
|
|
@@ -86770,11 +87010,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
86770
87010
|
/* harmony export */ });
|
|
86771
87011
|
/* harmony import */ var _Context__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Context */ "../../core/ecschema-metadata/lib/esm/Context.js");
|
|
86772
87012
|
/* harmony import */ var _SchemaKey__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../SchemaKey */ "../../core/ecschema-metadata/lib/esm/SchemaKey.js");
|
|
86773
|
-
/* harmony import */ var
|
|
86774
|
-
/* harmony import */ var
|
|
86775
|
-
/* harmony import */ var
|
|
86776
|
-
/* harmony import */ var
|
|
87013
|
+
/* harmony import */ var _ECObjects__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../ECObjects */ "../../core/ecschema-metadata/lib/esm/ECObjects.js");
|
|
87014
|
+
/* harmony import */ var _Exception__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Exception */ "../../core/ecschema-metadata/lib/esm/Exception.js");
|
|
87015
|
+
/* harmony import */ var _Metadata_SchemaItem__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Metadata/SchemaItem */ "../../core/ecschema-metadata/lib/esm/Metadata/SchemaItem.js");
|
|
87016
|
+
/* harmony import */ var _Metadata_Format__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../Metadata/Format */ "../../core/ecschema-metadata/lib/esm/Metadata/Format.js");
|
|
86777
87017
|
/* harmony import */ var _Metadata_OverrideFormat__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Metadata/OverrideFormat */ "../../core/ecschema-metadata/lib/esm/Metadata/OverrideFormat.js");
|
|
87018
|
+
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
87019
|
+
/* harmony import */ var _Metadata_KindOfQuantity__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../Metadata/KindOfQuantity */ "../../core/ecschema-metadata/lib/esm/Metadata/KindOfQuantity.js");
|
|
87020
|
+
/* harmony import */ var _Metadata_Unit__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../Metadata/Unit */ "../../core/ecschema-metadata/lib/esm/Metadata/Unit.js");
|
|
87021
|
+
/* harmony import */ var _Metadata_InvertedUnit__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../Metadata/InvertedUnit */ "../../core/ecschema-metadata/lib/esm/Metadata/InvertedUnit.js");
|
|
87022
|
+
/* harmony import */ var _Metadata_UnitSystem__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../Metadata/UnitSystem */ "../../core/ecschema-metadata/lib/esm/Metadata/UnitSystem.js");
|
|
86778
87023
|
/*---------------------------------------------------------------------------------------------
|
|
86779
87024
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
86780
87025
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -86789,6 +87034,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
86789
87034
|
|
|
86790
87035
|
|
|
86791
87036
|
|
|
87037
|
+
|
|
87038
|
+
|
|
87039
|
+
|
|
87040
|
+
|
|
87041
|
+
|
|
86792
87042
|
const loggerCategory = "SchemaFormatsProvider";
|
|
86793
87043
|
/**
|
|
86794
87044
|
* Provides default formats and kind of quantities from a given SchemaContext or SchemaLocater.
|
|
@@ -86798,7 +87048,7 @@ class SchemaFormatsProvider {
|
|
|
86798
87048
|
_context;
|
|
86799
87049
|
_unitSystem;
|
|
86800
87050
|
_formatsRetrieved = new Set();
|
|
86801
|
-
onFormatsChanged = new
|
|
87051
|
+
onFormatsChanged = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_7__.BeEvent();
|
|
86802
87052
|
/**
|
|
86803
87053
|
*
|
|
86804
87054
|
* @param contextOrLocater The SchemaContext or a different ISchemaLocater implementation used to retrieve the schema. The SchemaContext
|
|
@@ -86845,71 +87095,58 @@ class SchemaFormatsProvider {
|
|
|
86845
87095
|
async getKindOfQuantityFormatFromSchema(itemKey, systemOverride) {
|
|
86846
87096
|
let kindOfQuantity;
|
|
86847
87097
|
try {
|
|
86848
|
-
kindOfQuantity = await this._context.getSchemaItem(itemKey,
|
|
87098
|
+
kindOfQuantity = await this._context.getSchemaItem(itemKey, _Metadata_KindOfQuantity__WEBPACK_IMPORTED_MODULE_8__.KindOfQuantity);
|
|
86849
87099
|
}
|
|
86850
87100
|
catch {
|
|
86851
|
-
|
|
87101
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_7__.Logger.logError(loggerCategory, `Failed to find KindOfQuantity ${itemKey.fullName}`);
|
|
86852
87102
|
return undefined;
|
|
86853
87103
|
}
|
|
86854
|
-
if (!kindOfQuantity)
|
|
87104
|
+
if (!kindOfQuantity)
|
|
86855
87105
|
return undefined;
|
|
86856
|
-
|
|
86857
|
-
|
|
86858
|
-
|
|
86859
|
-
|
|
86860
|
-
|
|
86861
|
-
|
|
86862
|
-
|
|
86863
|
-
|
|
86864
|
-
|
|
86865
|
-
|
|
86866
|
-
|
|
86867
|
-
|
|
86868
|
-
|
|
86869
|
-
|
|
86870
|
-
|
|
86871
|
-
|
|
86872
|
-
const props = (0,_Metadata_OverrideFormat__WEBPACK_IMPORTED_MODULE_6__.getFormatProps)(format);
|
|
86873
|
-
return this.convertToFormatDefinition(props, kindOfQuantity);
|
|
86874
|
-
}
|
|
86875
|
-
}
|
|
86876
|
-
}
|
|
86877
|
-
// If no matching presentation format was found, fall back to persistence unit format
|
|
86878
|
-
// only if it matches the requested unit system.
|
|
86879
|
-
const persistenceUnit = await kindOfQuantity.persistenceUnit;
|
|
86880
|
-
const persistenceUnitSystem = await persistenceUnit?.unitSystem;
|
|
86881
|
-
if (persistenceUnit && persistenceUnitSystem && unitSystemMatchers.some((matcher) => matcher(persistenceUnitSystem))) {
|
|
86882
|
-
this._formatsRetrieved.add(itemKey.fullName);
|
|
86883
|
-
const props = getPersistenceUnitFormatProps(persistenceUnit);
|
|
86884
|
-
return this.convertToFormatDefinition(props, kindOfQuantity);
|
|
87106
|
+
const props = await this.getKindOfQuantityFormatProps(kindOfQuantity, systemOverride);
|
|
87107
|
+
if (!props)
|
|
87108
|
+
return undefined;
|
|
87109
|
+
this._formatsRetrieved.add(itemKey.fullName);
|
|
87110
|
+
return this.convertToFormatDefinition(props, kindOfQuantity);
|
|
87111
|
+
}
|
|
87112
|
+
async getKindOfQuantityFormatProps(kindOfQuantity, systemOverride) {
|
|
87113
|
+
// Cache each unit once per lookup because matchers may revisit it. Lazy formats already resolve only once.
|
|
87114
|
+
const unitCache = new Map();
|
|
87115
|
+
const getUnit = (unit) => {
|
|
87116
|
+
if (!unit)
|
|
87117
|
+
return undefined;
|
|
87118
|
+
let resolved = unitCache.get(unit);
|
|
87119
|
+
if (!resolved) {
|
|
87120
|
+
resolved = resolveUnitAsync(unit);
|
|
87121
|
+
unitCache.set(unit, resolved);
|
|
86885
87122
|
}
|
|
86886
|
-
|
|
86887
|
-
|
|
86888
|
-
|
|
86889
|
-
|
|
86890
|
-
|
|
86891
|
-
|
|
86892
|
-
|
|
86893
|
-
|
|
87123
|
+
return resolved;
|
|
87124
|
+
};
|
|
87125
|
+
for (const candidate of getFormatSelectionCandidates(kindOfQuantity, systemOverride ?? this._unitSystem)) {
|
|
87126
|
+
const format = candidate.type === "persistence" ? undefined : await candidate.format;
|
|
87127
|
+
const unit = candidate.type === "default" ? undefined : await getUnit(candidate.type === "persistence" ? candidate.unit : format?.units?.[0]?.[0]);
|
|
87128
|
+
const props = getFormatPropsForCandidate(candidate, format, unit);
|
|
87129
|
+
if (props)
|
|
87130
|
+
return props;
|
|
86894
87131
|
}
|
|
86895
87132
|
return undefined;
|
|
86896
87133
|
}
|
|
86897
87134
|
/**
|
|
86898
|
-
* Retrieves a
|
|
86899
|
-
*
|
|
86900
|
-
*
|
|
87135
|
+
* Retrieves a format definition from the schema context.
|
|
87136
|
+
*
|
|
87137
|
+
* For a KindOfQuantity with a unit system, matching presentation formats are checked first, followed by the persistence unit and then the default presentation format. Without a unit system, the default presentation format is used.
|
|
86901
87138
|
* @param name The full name of the Format or KindOfQuantity.
|
|
86902
|
-
* @
|
|
87139
|
+
* @param system Optional unit system used to select a KindOfQuantity format.
|
|
86903
87140
|
*/
|
|
86904
87141
|
async getFormat(name, system) {
|
|
86905
|
-
const [schemaName, schemaItemName] =
|
|
87142
|
+
const [schemaName, schemaItemName] = _Metadata_SchemaItem__WEBPACK_IMPORTED_MODULE_4__.SchemaItem.parseFullName(name);
|
|
86906
87143
|
const schemaKey = new _SchemaKey__WEBPACK_IMPORTED_MODULE_1__.SchemaKey(schemaName);
|
|
86907
87144
|
let schema;
|
|
86908
87145
|
try {
|
|
86909
87146
|
schema = await this._context.getSchema(schemaKey);
|
|
86910
87147
|
}
|
|
86911
87148
|
catch {
|
|
86912
|
-
|
|
87149
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_7__.Logger.logError(loggerCategory, `Failed to find schema ${schemaName}`);
|
|
86913
87150
|
return undefined;
|
|
86914
87151
|
}
|
|
86915
87152
|
if (!schema) {
|
|
@@ -86919,10 +87156,10 @@ class SchemaFormatsProvider {
|
|
|
86919
87156
|
if (schema.name === "Formats") {
|
|
86920
87157
|
let format;
|
|
86921
87158
|
try {
|
|
86922
|
-
format = await this._context.getSchemaItem(itemKey,
|
|
87159
|
+
format = await this._context.getSchemaItem(itemKey, _Metadata_Format__WEBPACK_IMPORTED_MODULE_5__.Format);
|
|
86923
87160
|
}
|
|
86924
87161
|
catch {
|
|
86925
|
-
|
|
87162
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_7__.Logger.logError(loggerCategory, `Failed to find Format ${itemKey.fullName}`);
|
|
86926
87163
|
return undefined;
|
|
86927
87164
|
}
|
|
86928
87165
|
if (!format) {
|
|
@@ -86932,11 +87169,138 @@ class SchemaFormatsProvider {
|
|
|
86932
87169
|
}
|
|
86933
87170
|
return this.getKindOfQuantityFormatFromSchema(itemKey, system);
|
|
86934
87171
|
}
|
|
87172
|
+
/**
|
|
87173
|
+
* Retrieves a format definition using only schema metadata already loaded in the context.
|
|
87174
|
+
* It follows the same selection order as `getFormat` but never asks a locater to load a schema. Returns `undefined` when required metadata is not cached.
|
|
87175
|
+
* Unlike `getFormat`, which logs lookup errors and returns `undefined`, this method treats only a schema that is still loading as a cache miss and rethrows other errors.
|
|
87176
|
+
*/
|
|
87177
|
+
getFormatSync(name, system) {
|
|
87178
|
+
const [schemaName, schemaItemName] = _Metadata_SchemaItem__WEBPACK_IMPORTED_MODULE_4__.SchemaItem.parseFullName(name);
|
|
87179
|
+
const schemaKey = new _SchemaKey__WEBPACK_IMPORTED_MODULE_1__.SchemaKey(schemaName);
|
|
87180
|
+
const schema = getCachedSchemaSync(this._context, schemaKey, _ECObjects__WEBPACK_IMPORTED_MODULE_2__.SchemaMatchType.Latest);
|
|
87181
|
+
if (!schema)
|
|
87182
|
+
return undefined;
|
|
87183
|
+
const itemKey = new _SchemaKey__WEBPACK_IMPORTED_MODULE_1__.SchemaItemKey(schemaItemName, schema.schemaKey);
|
|
87184
|
+
if (schema.name === "Formats") {
|
|
87185
|
+
const format = schema.getItemSync(itemKey.name, _Metadata_Format__WEBPACK_IMPORTED_MODULE_5__.Format);
|
|
87186
|
+
return format?.toJSON(true);
|
|
87187
|
+
}
|
|
87188
|
+
return this.getKindOfQuantityFormatFromSchemaSync(itemKey, system);
|
|
87189
|
+
}
|
|
87190
|
+
getKindOfQuantityFormatFromSchemaSync(itemKey, systemOverride) {
|
|
87191
|
+
const schema = getCachedSchemaSync(this._context, itemKey.schemaKey, _ECObjects__WEBPACK_IMPORTED_MODULE_2__.SchemaMatchType.Latest);
|
|
87192
|
+
const kindOfQuantity = schema?.getItemSync(itemKey.name, _Metadata_KindOfQuantity__WEBPACK_IMPORTED_MODULE_8__.KindOfQuantity);
|
|
87193
|
+
if (!kindOfQuantity)
|
|
87194
|
+
return undefined;
|
|
87195
|
+
const props = this.getKindOfQuantityFormatPropsSync(kindOfQuantity, systemOverride);
|
|
87196
|
+
if (!props)
|
|
87197
|
+
return undefined;
|
|
87198
|
+
this._formatsRetrieved.add(itemKey.fullName);
|
|
87199
|
+
return this.convertToFormatDefinition(props, kindOfQuantity);
|
|
87200
|
+
}
|
|
87201
|
+
getKindOfQuantityFormatPropsSync(kindOfQuantity, systemOverride) {
|
|
87202
|
+
const formatCache = new Map();
|
|
87203
|
+
const unitCache = new Map();
|
|
87204
|
+
const getFormat = (format) => {
|
|
87205
|
+
if (!formatCache.has(format))
|
|
87206
|
+
formatCache.set(format, resolveFormatSync(this._context, format));
|
|
87207
|
+
return formatCache.get(format);
|
|
87208
|
+
};
|
|
87209
|
+
const getUnit = (unit) => {
|
|
87210
|
+
if (!unit)
|
|
87211
|
+
return undefined;
|
|
87212
|
+
if (!unitCache.has(unit))
|
|
87213
|
+
unitCache.set(unit, resolveUnitSync(this._context, unit));
|
|
87214
|
+
return unitCache.get(unit);
|
|
87215
|
+
};
|
|
87216
|
+
// A reference that cannot be resolved means metadata is not cached. Stop there: async lookup would resolve it and never reach a later candidate.
|
|
87217
|
+
for (const candidate of getFormatSelectionCandidates(kindOfQuantity, systemOverride ?? this._unitSystem)) {
|
|
87218
|
+
const format = candidate.type === "persistence" ? undefined : getFormat(candidate.format);
|
|
87219
|
+
if (candidate.type !== "persistence" && !format)
|
|
87220
|
+
return undefined;
|
|
87221
|
+
const unitReference = candidate.type === "presentation" ? format?.units?.[0]?.[0] : candidate.type === "persistence" ? candidate.unit : undefined;
|
|
87222
|
+
const unit = getUnit(unitReference);
|
|
87223
|
+
if (unitReference && !unit)
|
|
87224
|
+
return undefined;
|
|
87225
|
+
const props = getFormatPropsForCandidate(candidate, format, unit);
|
|
87226
|
+
if (props)
|
|
87227
|
+
return props;
|
|
87228
|
+
}
|
|
87229
|
+
return undefined;
|
|
87230
|
+
}
|
|
87231
|
+
}
|
|
87232
|
+
/**
|
|
87233
|
+
* Produces candidates in lookup order: presentation formats by unit-system priority, then the persistence unit,
|
|
87234
|
+
* then the default presentation format. The generator defers each candidate until the lookup reaches it.
|
|
87235
|
+
*/
|
|
87236
|
+
function* getFormatSelectionCandidates(kindOfQuantity, effectiveSystem) {
|
|
87237
|
+
if (effectiveSystem) {
|
|
87238
|
+
const matchers = getUnitSystemGroupMatchers(effectiveSystem);
|
|
87239
|
+
for (const matcher of matchers) {
|
|
87240
|
+
for (const format of kindOfQuantity.presentationFormats)
|
|
87241
|
+
yield { type: "presentation", format, matcher };
|
|
87242
|
+
}
|
|
87243
|
+
yield { type: "persistence", unit: kindOfQuantity.persistenceUnit, matchers };
|
|
87244
|
+
}
|
|
87245
|
+
const defaultFormat = kindOfQuantity.defaultPresentationFormat;
|
|
87246
|
+
if (defaultFormat)
|
|
87247
|
+
yield { type: "default", format: defaultFormat };
|
|
87248
|
+
}
|
|
87249
|
+
function getFormatPropsForCandidate(candidate, format, unit) {
|
|
87250
|
+
const unitSystemName = unit?.unitSystemName;
|
|
87251
|
+
switch (candidate.type) {
|
|
87252
|
+
case "presentation":
|
|
87253
|
+
return format && unitSystemName && candidate.matcher(unitSystemName) ? (0,_Metadata_OverrideFormat__WEBPACK_IMPORTED_MODULE_6__.getFormatProps)(format) : undefined;
|
|
87254
|
+
case "persistence":
|
|
87255
|
+
return unit && unitSystemName && candidate.matchers.some((matcher) => matcher(unitSystemName)) ? getPersistenceUnitFormatProps(unit.unit) : undefined;
|
|
87256
|
+
case "default":
|
|
87257
|
+
return format ? (0,_Metadata_OverrideFormat__WEBPACK_IMPORTED_MODULE_6__.getFormatProps)(format) : undefined;
|
|
87258
|
+
}
|
|
87259
|
+
}
|
|
87260
|
+
function resolveFormatSync(context, format) {
|
|
87261
|
+
if (_Metadata_OverrideFormat__WEBPACK_IMPORTED_MODULE_6__.OverrideFormat.isOverrideFormat(format))
|
|
87262
|
+
return format;
|
|
87263
|
+
const schema = getCachedSchemaSync(context, format.schemaKey, _ECObjects__WEBPACK_IMPORTED_MODULE_2__.SchemaMatchType.Exact);
|
|
87264
|
+
return schema?.getItemSync(format.name, _Metadata_Format__WEBPACK_IMPORTED_MODULE_5__.Format);
|
|
87265
|
+
}
|
|
87266
|
+
async function resolveUnitAsync(unit) {
|
|
87267
|
+
const resolvedUnit = await unit;
|
|
87268
|
+
const unitSystem = await resolvedUnit.unitSystem;
|
|
87269
|
+
return { unit: resolvedUnit, unitSystemName: unitSystem?.name };
|
|
87270
|
+
}
|
|
87271
|
+
function resolveUnitSync(context, unit) {
|
|
87272
|
+
const resolvedUnit = getLoadedUnitSync(context, unit);
|
|
87273
|
+
if (!resolvedUnit)
|
|
87274
|
+
return undefined;
|
|
87275
|
+
const unitSystem = resolvedUnit.unitSystem;
|
|
87276
|
+
if (!unitSystem)
|
|
87277
|
+
return { unit: resolvedUnit };
|
|
87278
|
+
const unitSystemName = getCachedSchemaSync(context, unitSystem.schemaKey, _ECObjects__WEBPACK_IMPORTED_MODULE_2__.SchemaMatchType.Exact)?.getItemSync(unitSystem.name, _Metadata_UnitSystem__WEBPACK_IMPORTED_MODULE_11__.UnitSystem)?.name;
|
|
87279
|
+
return unitSystemName ? { unit: resolvedUnit, unitSystemName } : undefined;
|
|
87280
|
+
}
|
|
87281
|
+
/**
|
|
87282
|
+
* Name-only lookups use `SchemaMatchType.Latest`. References use `SchemaMatchType.Exact` because they carry the version
|
|
87283
|
+
* the loaded item resolved; matching by name alone could return an item from a different cached version.
|
|
87284
|
+
*/
|
|
87285
|
+
function getCachedSchemaSync(context, schemaKey, matchType) {
|
|
87286
|
+
try {
|
|
87287
|
+
return context.getCachedSchemaSync(schemaKey, matchType);
|
|
87288
|
+
}
|
|
87289
|
+
catch (error) {
|
|
87290
|
+
if (error instanceof _Exception__WEBPACK_IMPORTED_MODULE_3__.ECSchemaError && error.errorNumber === _Exception__WEBPACK_IMPORTED_MODULE_3__.ECSchemaStatus.UnableToLoadSchema)
|
|
87291
|
+
return undefined;
|
|
87292
|
+
throw error;
|
|
87293
|
+
}
|
|
87294
|
+
}
|
|
87295
|
+
function getLoadedUnitSync(context, unit) {
|
|
87296
|
+
const schema = getCachedSchemaSync(context, unit.schemaKey, _ECObjects__WEBPACK_IMPORTED_MODULE_2__.SchemaMatchType.Exact);
|
|
87297
|
+
const item = schema?.getItemSync(unit.name);
|
|
87298
|
+
return _Metadata_Unit__WEBPACK_IMPORTED_MODULE_9__.Unit.isUnit(item) || _Metadata_InvertedUnit__WEBPACK_IMPORTED_MODULE_10__.InvertedUnit.isInvertedUnit(item) ? item : undefined;
|
|
86935
87299
|
}
|
|
86936
87300
|
function getUnitSystemGroupMatchers(groupKey) {
|
|
86937
87301
|
function createMatcher(name) {
|
|
86938
87302
|
const names = Array.isArray(name) ? name : [name];
|
|
86939
|
-
return (
|
|
87303
|
+
return (unitSystemName) => names.some((n) => n === unitSystemName.toUpperCase());
|
|
86940
87304
|
}
|
|
86941
87305
|
switch (groupKey) {
|
|
86942
87306
|
case "imperial":
|
|
@@ -95868,15 +96232,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
95868
96232
|
* @module Schema
|
|
95869
96233
|
*/
|
|
95870
96234
|
/** The reference graph of every schema in one iModel - names, versions and reference edges, without
|
|
95871
|
-
*
|
|
95872
|
-
*
|
|
96235
|
+
* schema items. A {@link SchemaViewDataProvider} builds it from ECDbMeta rows via
|
|
96236
|
+
* {@link SchemaManifest.fromRows}. It includes schemas excluded from SchemaView's binary data.
|
|
95873
96237
|
*
|
|
95874
|
-
*
|
|
95875
|
-
* The
|
|
95876
|
-
*
|
|
95877
|
-
* @
|
|
95878
|
-
* and filters the result of {@link SchemaManifest.getSchemaClosure} itself.
|
|
95879
|
-
* @internal
|
|
96238
|
+
* {@link SchemaViewManager} uses this graph to determine which schemas a filtered request needs.
|
|
96239
|
+
* The manifest does not track which schemas are already loaded; the manager filters the result of
|
|
96240
|
+
* {@link SchemaManifest.getSchemaClosure} itself.
|
|
96241
|
+
* @beta
|
|
95880
96242
|
*/
|
|
95881
96243
|
class SchemaManifest {
|
|
95882
96244
|
_entries;
|
|
@@ -95892,7 +96254,7 @@ class SchemaManifest {
|
|
|
95892
96254
|
/** Build a manifest from raw ECDbMeta query rows, so a `SchemaViewDataProvider` only has to run
|
|
95893
96255
|
* the two queries and hand the rows over. Reference rows whose endpoints are unknown or
|
|
95894
96256
|
* self-referential are skipped; that cannot happen for a well-formed iModel.
|
|
95895
|
-
* @
|
|
96257
|
+
* @beta
|
|
95896
96258
|
*/
|
|
95897
96259
|
static fromRows(schemaRows, referenceRows) {
|
|
95898
96260
|
const entries = [];
|
|
@@ -95931,8 +96293,7 @@ class SchemaManifest {
|
|
|
95931
96293
|
return this._byLowerName.get(name.toLowerCase());
|
|
95932
96294
|
}
|
|
95933
96295
|
/** The transitive reference closure of the requested schemas, as a flat, duplicate-free list of
|
|
95934
|
-
* names: the full set
|
|
95935
|
-
* {@link SchemaManifest.sortInDependencyOrder} on the result when a load order is needed.
|
|
96296
|
+
* names: the full set to request in a standalone fragment. The order is unspecified.
|
|
95936
96297
|
* @note Requested names the iModel does not contain are ignored; check
|
|
95937
96298
|
* {@link SchemaManifest.findByName} first to detect them.
|
|
95938
96299
|
*/
|
|
@@ -96003,6 +96364,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
96003
96364
|
/* harmony export */ });
|
|
96004
96365
|
/* harmony import */ var _SchemaViewInterfaces__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SchemaViewInterfaces */ "../../core/ecschema-metadata/lib/esm/SchemaView/SchemaViewInterfaces.js");
|
|
96005
96366
|
/* harmony import */ var _SchemaViewBinaryReader__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SchemaViewBinaryReader */ "../../core/ecschema-metadata/lib/esm/SchemaView/SchemaViewBinaryReader.js");
|
|
96367
|
+
/* harmony import */ var _ECName__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../ECName */ "../../core/ecschema-metadata/lib/esm/ECName.js");
|
|
96006
96368
|
/*---------------------------------------------------------------------------------------------
|
|
96007
96369
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
96008
96370
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -96012,6 +96374,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
96012
96374
|
*/
|
|
96013
96375
|
|
|
96014
96376
|
|
|
96377
|
+
|
|
96015
96378
|
// Module-local symbol used as the storage key on SchemaView instances. Mirrors the pattern in
|
|
96016
96379
|
// core-backend/src/internal/Symbols.ts (e.g. `_nativeDb` on IModelDb): the data is reachable
|
|
96017
96380
|
// only by code in this module, since the symbol is not exported and not registered globally.
|
|
@@ -96024,8 +96387,9 @@ const _storage = Symbol("SchemaView.storage");
|
|
|
96024
96387
|
* stateless wrappers that hold a reference to this view plus an index. They allocate nothing
|
|
96025
96388
|
* and cache nothing.
|
|
96026
96389
|
*
|
|
96027
|
-
*
|
|
96028
|
-
*
|
|
96390
|
+
* Use {@link SchemaViewManager} to load schemas incrementally into one view, or parse a standalone
|
|
96391
|
+
* binary blob via {@link (SchemaView:class).fromBinary}. Consumers cannot modify the metadata; a manager
|
|
96392
|
+
* can extend its view with additional schemas while previously obtained view objects remain valid.
|
|
96029
96393
|
* @beta
|
|
96030
96394
|
*/
|
|
96031
96395
|
class SchemaView {
|
|
@@ -96110,7 +96474,8 @@ class SchemaView {
|
|
|
96110
96474
|
return idx !== undefined ? new SchemaView.PropertyCategory(this, idx) : undefined;
|
|
96111
96475
|
}
|
|
96112
96476
|
/** Parse a binary blob into a SchemaView. Synchronous.
|
|
96113
|
-
* @param blob - The binary blob from `PRAGMA schema_view
|
|
96477
|
+
* @param blob - The binary blob from `PRAGMA schema_view`, or a standalone `PRAGMA schema_view_fragment`
|
|
96478
|
+
* containing the requested schemas and their references.
|
|
96114
96479
|
* @param schemaToken - Optional cache-invalidation token (schema name+version hash; see `PRAGMA checksum(schema_token)`).
|
|
96115
96480
|
* @beta
|
|
96116
96481
|
*/
|
|
@@ -96315,9 +96680,10 @@ class SchemaView {
|
|
|
96315
96680
|
get ecInstanceId() { return this._data.ecInstanceId; }
|
|
96316
96681
|
get name() { return this._ctx[_storage].strings[this._data.nameStringIdx]; }
|
|
96317
96682
|
get alias() { return this._ctx[_storage].strings[this._data.aliasStringIdx]; }
|
|
96683
|
+
/** Display label, or the decoded name when the label is absent or empty. */
|
|
96318
96684
|
get label() {
|
|
96319
96685
|
const sid = this._data.labelStringIdx;
|
|
96320
|
-
return sid !== 0 ? this._ctx[_storage].strings[sid] : this.name;
|
|
96686
|
+
return sid !== 0 ? this._ctx[_storage].strings[sid] : _ECName__WEBPACK_IMPORTED_MODULE_2__.ECName.decode(this.name);
|
|
96321
96687
|
}
|
|
96322
96688
|
get description() {
|
|
96323
96689
|
const sid = this._data.descriptionStringIdx;
|
|
@@ -96411,9 +96777,10 @@ class SchemaView {
|
|
|
96411
96777
|
*/
|
|
96412
96778
|
get ecInstanceId() { return this._data.ecInstanceId; }
|
|
96413
96779
|
get name() { return this._ctx[_storage].strings[this._data.nameStringIdx]; }
|
|
96780
|
+
/** Display label, or the decoded name when the label is absent or empty. */
|
|
96414
96781
|
get label() {
|
|
96415
96782
|
const sid = this._data.labelStringIdx;
|
|
96416
|
-
return sid !== 0 ? this._ctx[_storage].strings[sid] : this.name;
|
|
96783
|
+
return sid !== 0 ? this._ctx[_storage].strings[sid] : _ECName__WEBPACK_IMPORTED_MODULE_2__.ECName.decode(this.name);
|
|
96417
96784
|
}
|
|
96418
96785
|
get description() {
|
|
96419
96786
|
const sid = this._data.descriptionStringIdx;
|
|
@@ -96522,7 +96889,8 @@ class SchemaView {
|
|
|
96522
96889
|
return true;
|
|
96523
96890
|
return this._ctx.getTransitiveBases(this.idx).has(targetIdx);
|
|
96524
96891
|
}
|
|
96525
|
-
/** Direct derived classes
|
|
96892
|
+
/** Direct derived classes among the currently loaded schemas. A partial view may omit derived
|
|
96893
|
+
* classes from other schemas. Expensive on first call (builds reverse map across all loaded classes). */
|
|
96526
96894
|
get derivedClasses() {
|
|
96527
96895
|
const map = this._ctx.buildDerivedClassMap();
|
|
96528
96896
|
const indices = map.get(this.idx);
|
|
@@ -96617,11 +96985,11 @@ class SchemaView {
|
|
|
96617
96985
|
*/
|
|
96618
96986
|
get ecInstanceId() { return this._ref.ecInstanceId; }
|
|
96619
96987
|
get name() { return this._ctx[_storage].strings[this._def.nameStringIdx]; }
|
|
96620
|
-
/** Display label
|
|
96988
|
+
/** Display label, or the decoded property name when the label is absent or empty.
|
|
96621
96989
|
* Labels are stored per-reference (not per-definition) because EC allows class overrides. */
|
|
96622
96990
|
get label() {
|
|
96623
96991
|
const labelStringIdx = this._ref.labelStringIdx;
|
|
96624
|
-
return labelStringIdx !== 0 ? this._ctx[_storage].strings[labelStringIdx] : this.name;
|
|
96992
|
+
return labelStringIdx !== 0 ? this._ctx[_storage].strings[labelStringIdx] : _ECName__WEBPACK_IMPORTED_MODULE_2__.ECName.decode(this.name);
|
|
96625
96993
|
}
|
|
96626
96994
|
get description() {
|
|
96627
96995
|
const sid = this._def.descriptionStringIdx;
|
|
@@ -96800,9 +97168,10 @@ class SchemaView {
|
|
|
96800
97168
|
*/
|
|
96801
97169
|
get ecInstanceId() { return this._data.ecInstanceId; }
|
|
96802
97170
|
get name() { return this._ctx[_storage].strings[this._data.nameStringIdx]; }
|
|
97171
|
+
/** Display label, or the decoded name when the label is absent or empty. */
|
|
96803
97172
|
get label() {
|
|
96804
97173
|
const sid = this._data.labelStringIdx;
|
|
96805
|
-
return sid !== 0 ? this._ctx[_storage].strings[sid] : this.name;
|
|
97174
|
+
return sid !== 0 ? this._ctx[_storage].strings[sid] : _ECName__WEBPACK_IMPORTED_MODULE_2__.ECName.decode(this.name);
|
|
96806
97175
|
}
|
|
96807
97176
|
get description() {
|
|
96808
97177
|
const sid = this._data.descriptionStringIdx;
|
|
@@ -96857,9 +97226,10 @@ class SchemaView {
|
|
|
96857
97226
|
}
|
|
96858
97227
|
get _data() { return this._ctx[_storage].enumerators[this.idx]; }
|
|
96859
97228
|
get name() { return this._ctx[_storage].strings[this._data.nameStringIdx]; }
|
|
97229
|
+
/** Display label, or the decoded name when the label is absent or empty. */
|
|
96860
97230
|
get label() {
|
|
96861
97231
|
const sid = this._data.labelStringIdx;
|
|
96862
|
-
return sid !== 0 ? this._ctx[_storage].strings[sid] : this.name;
|
|
97232
|
+
return sid !== 0 ? this._ctx[_storage].strings[sid] : _ECName__WEBPACK_IMPORTED_MODULE_2__.ECName.decode(this.name);
|
|
96863
97233
|
}
|
|
96864
97234
|
get description() {
|
|
96865
97235
|
const sid = this._data.descriptionStringIdx;
|
|
@@ -96906,9 +97276,10 @@ class SchemaView {
|
|
|
96906
97276
|
*/
|
|
96907
97277
|
get ecInstanceId() { return this._data.ecInstanceId; }
|
|
96908
97278
|
get name() { return this._ctx[_storage].strings[this._data.nameStringIdx]; }
|
|
97279
|
+
/** Display label, or the decoded name when the label is absent or empty. */
|
|
96909
97280
|
get label() {
|
|
96910
97281
|
const sid = this._data.labelStringIdx;
|
|
96911
|
-
return sid !== 0 ? this._ctx[_storage].strings[sid] : this.name;
|
|
97282
|
+
return sid !== 0 ? this._ctx[_storage].strings[sid] : _ECName__WEBPACK_IMPORTED_MODULE_2__.ECName.decode(this.name);
|
|
96912
97283
|
}
|
|
96913
97284
|
get description() {
|
|
96914
97285
|
const sid = this._data.descriptionStringIdx;
|
|
@@ -96983,9 +97354,10 @@ class SchemaView {
|
|
|
96983
97354
|
*/
|
|
96984
97355
|
get ecInstanceId() { return this._data.ecInstanceId; }
|
|
96985
97356
|
get name() { return this._ctx[_storage].strings[this._data.nameStringIdx]; }
|
|
97357
|
+
/** Display label, or the decoded name when the label is absent or empty. */
|
|
96986
97358
|
get label() {
|
|
96987
97359
|
const sid = this._data.labelStringIdx;
|
|
96988
|
-
return sid !== 0 ? this._ctx[_storage].strings[sid] : this.name;
|
|
97360
|
+
return sid !== 0 ? this._ctx[_storage].strings[sid] : _ECName__WEBPACK_IMPORTED_MODULE_2__.ECName.decode(this.name);
|
|
96989
97361
|
}
|
|
96990
97362
|
get description() {
|
|
96991
97363
|
const sid = this._data.descriptionStringIdx;
|
|
@@ -98051,10 +98423,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
98051
98423
|
*/
|
|
98052
98424
|
|
|
98053
98425
|
/** Owns the lifetime of one iModel's {@link (SchemaView:class)}: lazy loading, incremental (filtered)
|
|
98054
|
-
*
|
|
98055
|
-
*
|
|
98056
|
-
*
|
|
98057
|
-
* @
|
|
98426
|
+
* loading, serialization of concurrent requests, and invalidation. All data access goes through the
|
|
98427
|
+
* supplied {@link SchemaViewDataProvider}.
|
|
98428
|
+
*
|
|
98429
|
+
* Keep one manager per iModel connection. Calls to {@link SchemaViewManager.getSchemaView} reuse
|
|
98430
|
+
* one accumulating view until it is invalidated. The manager does not monitor schema changes;
|
|
98431
|
+
* call {@link SchemaViewManager.reset} after a known change, or await
|
|
98432
|
+
* {@link SchemaViewManager.invalidateIfChanged} after an operation that may have changed schemas.
|
|
98433
|
+
* @beta
|
|
98058
98434
|
*/
|
|
98059
98435
|
class SchemaViewManager {
|
|
98060
98436
|
_dataProvider;
|
|
@@ -98070,9 +98446,9 @@ class SchemaViewManager {
|
|
|
98070
98446
|
constructor(dataProvider) {
|
|
98071
98447
|
this._dataProvider = dataProvider;
|
|
98072
98448
|
}
|
|
98073
|
-
/** Get the schema view, loading
|
|
98074
|
-
*
|
|
98075
|
-
*
|
|
98449
|
+
/** Get the schema view, loading the requested schemas and their references that are not present
|
|
98450
|
+
* yet. Omitting the schema filter loads every schema. Calls accumulate into the same view until
|
|
98451
|
+
* it is invalidated. See {@link GetSchemaViewArgs} for filtering semantics.
|
|
98076
98452
|
*/
|
|
98077
98453
|
async getSchemaView(args) {
|
|
98078
98454
|
const previous = this._viewPromise;
|
|
@@ -98120,10 +98496,6 @@ class SchemaViewManager {
|
|
|
98120
98496
|
}
|
|
98121
98497
|
if (existing === undefined)
|
|
98122
98498
|
return undefined;
|
|
98123
|
-
// A view without a token (e.g. built directly from a SchemaViewBuilder) cannot be verified by
|
|
98124
|
-
// token; views loaded through this manager always carry one.
|
|
98125
|
-
if (existing.schemaToken === "")
|
|
98126
|
-
return existing;
|
|
98127
98499
|
try {
|
|
98128
98500
|
if (await this._dataProvider.fetchSchemaToken() === existing.schemaToken)
|
|
98129
98501
|
return existing;
|
|
@@ -110301,6 +110673,7 @@ class CoordinateConverter {
|
|
|
110301
110673
|
_maxPointsPerRequest;
|
|
110302
110674
|
_isIModelClosed;
|
|
110303
110675
|
_requestPoints;
|
|
110676
|
+
_direction;
|
|
110304
110677
|
// If true, [[dispatch]] will schedule another dispatch after it receives a response.
|
|
110305
110678
|
// This is needed when all the points requested after the most recent dispatch were included in the currently-in-flight request -
|
|
110306
110679
|
// _pending will be empty but new callers will be awaiting the results of the in-flight request.
|
|
@@ -110325,6 +110698,7 @@ class CoordinateConverter {
|
|
|
110325
110698
|
this._maxPointsPerRequest = Math.max(1, opts.maxPointsPerRequest ?? 300);
|
|
110326
110699
|
this._isIModelClosed = opts.isIModelClosed;
|
|
110327
110700
|
this._requestPoints = opts.requestPoints;
|
|
110701
|
+
this._direction = opts.direction;
|
|
110328
110702
|
this._cache = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Dictionary(compareXYAndZ, cloneXYAndZ);
|
|
110329
110703
|
this._pending = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.SortedArray(compareXYAndZ, false, cloneXYAndZ);
|
|
110330
110704
|
this._inflight = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.SortedArray(compareXYAndZ, false, cloneXYAndZ);
|
|
@@ -110359,7 +110733,10 @@ class CoordinateConverter {
|
|
|
110359
110733
|
this._cache.set(requests[j], results[j]);
|
|
110360
110734
|
}
|
|
110361
110735
|
}).catch((err) => {
|
|
110362
|
-
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(`${_common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_2__.FrontendLoggerCategory.Package}.geoservices`, err)
|
|
110736
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(`${_common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_2__.FrontendLoggerCategory.Package}.geoservices`, err, () => ({
|
|
110737
|
+
direction: this._direction,
|
|
110738
|
+
pointCount: requests.length,
|
|
110739
|
+
}));
|
|
110363
110740
|
});
|
|
110364
110741
|
promises.push(promise);
|
|
110365
110742
|
}
|
|
@@ -110455,10 +110832,12 @@ class GeoConverter {
|
|
|
110455
110832
|
constructor(opts) {
|
|
110456
110833
|
const isIModelClosed = opts.isIModelClosed;
|
|
110457
110834
|
this._geoToIModel = new CoordinateConverter({
|
|
110835
|
+
direction: "geoToIModel",
|
|
110458
110836
|
isIModelClosed,
|
|
110459
110837
|
requestPoints: async (geoCoords) => opts.toIModelCoords({ source: opts.datum, geoCoords }),
|
|
110460
110838
|
});
|
|
110461
110839
|
this._iModelToGeo = new CoordinateConverter({
|
|
110840
|
+
direction: "iModelToGeo",
|
|
110462
110841
|
isIModelClosed,
|
|
110463
110842
|
requestPoints: async (iModelCoords) => opts.fromIModelCoords({ target: opts.datum, iModelCoords }),
|
|
110464
110843
|
});
|
|
@@ -112258,6 +112637,7 @@ class IModelApp {
|
|
|
112258
112637
|
});
|
|
112259
112638
|
}
|
|
112260
112639
|
/** Format the tooltip strings returned by [[IModelConnection.getToolTipMessage]].
|
|
112640
|
+
* @note Each string is interpreted as HTML. Any untrusted content must be HTML-escaped or sanitized before calling this method.
|
|
112261
112641
|
* @alpha
|
|
112262
112642
|
*/
|
|
112263
112643
|
static formatElementToolTip(msg) {
|
|
@@ -112945,7 +113325,10 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
112945
113325
|
const result = await reader.next();
|
|
112946
113326
|
if (result.done)
|
|
112947
113327
|
throw new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelError(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.BadRequest, "PRAGMA checksum(schema_token) returned no rows");
|
|
112948
|
-
|
|
113328
|
+
const token = result.value.sha3_256;
|
|
113329
|
+
if (typeof token !== "string")
|
|
113330
|
+
throw new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelError(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.BadRequest, "PRAGMA checksum(schema_token) returned an invalid sha3_256 column");
|
|
113331
|
+
return token;
|
|
112949
113332
|
},
|
|
112950
113333
|
};
|
|
112951
113334
|
}
|
|
@@ -112964,7 +113347,9 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
112964
113347
|
const token = result.value.schemaToken;
|
|
112965
113348
|
if (data === undefined || data === null)
|
|
112966
113349
|
throw new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelError(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.BadRequest, `${pragma} returned null data column`);
|
|
112967
|
-
|
|
113350
|
+
if (typeof token !== "string")
|
|
113351
|
+
throw new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelError(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.BadRequest, `${pragma} returned an invalid schemaToken column`);
|
|
113352
|
+
return { data, schemaToken: token };
|
|
112968
113353
|
}
|
|
112969
113354
|
}
|
|
112970
113355
|
/** A connection that exists without an iModel. Useful for connecting to Reality Data services.
|
|
@@ -136202,6 +136587,45 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
136202
136587
|
*/
|
|
136203
136588
|
|
|
136204
136589
|
|
|
136590
|
+
/** The Extensions loading system has the following goals:
|
|
136591
|
+
* 1. Only fetch what is needed when it is required
|
|
136592
|
+
* 1. Load a manifest file
|
|
136593
|
+
* 2. Load the the main module when necessary (usually at an activation event)
|
|
136594
|
+
* 2. Download the extension's files
|
|
136595
|
+
*
|
|
136596
|
+
* 3 ways to load an Extension into the system:
|
|
136597
|
+
*
|
|
136598
|
+
* 1. Load both the Extension Manifest and import the main module of the extension from a local file/package.
|
|
136599
|
+
* 2. A minimum set of properties to get the manifest and javascript from a remote server.
|
|
136600
|
+
* 3. A minimum set of properties to get the manifest and javascript from Bentley's Extension Service.
|
|
136601
|
+
*
|
|
136602
|
+
* An Extension must be added to ExtensionAdmin before it can be executed during activation events.
|
|
136603
|
+
*/
|
|
136604
|
+
/**
|
|
136605
|
+
* Normalizes hostnames for comparison.
|
|
136606
|
+
* @returns The normalized hostname of a URL or bare hostname.
|
|
136607
|
+
* @throws Error if the input cannot be parsed, or does not contain a hostname.
|
|
136608
|
+
*/
|
|
136609
|
+
function normalizeHostname(input) {
|
|
136610
|
+
const invalid = () => new Error(`"${input}" is not a valid URL or hostname (i.e. http://localhost:3000, yourdomain.com, etc.).`);
|
|
136611
|
+
// inputs without a scheme (e.g., https://) will throw an error in the URL constructor
|
|
136612
|
+
const inputWithScheme = /^[a-z][a-z0-9+\-.]*:\/\//i.test(input) ? input : `https://${input}`;
|
|
136613
|
+
let hostname;
|
|
136614
|
+
try {
|
|
136615
|
+
hostname = new URL(inputWithScheme).hostname.toLowerCase();
|
|
136616
|
+
}
|
|
136617
|
+
catch {
|
|
136618
|
+
throw invalid();
|
|
136619
|
+
}
|
|
136620
|
+
// strip only a leading "www." label - removing "www" anywhere would make unrelated
|
|
136621
|
+
// hosts like "wwwexample.com" compare equal to "example.com"
|
|
136622
|
+
const normalized = hostname.startsWith("www.") ? hostname.substring("www.".length) : hostname;
|
|
136623
|
+
// schemes with an optional or opaque host (e.g. file:///, data:) parse successfully but carry no
|
|
136624
|
+
// hostname, and an input of just "www." normalizes to nothing. Neither can identify a host.
|
|
136625
|
+
if (normalized.length === 0)
|
|
136626
|
+
throw invalid();
|
|
136627
|
+
return normalized;
|
|
136628
|
+
}
|
|
136205
136629
|
/** The Extension Admin controls the list of currently loaded Extensions.
|
|
136206
136630
|
*
|
|
136207
136631
|
* @alpha
|
|
@@ -136226,10 +136650,10 @@ class ExtensionAdmin {
|
|
|
136226
136650
|
* @alpha
|
|
136227
136651
|
*/
|
|
136228
136652
|
async addExtension(provider) {
|
|
136229
|
-
if (provider.hostname) {
|
|
136230
|
-
const
|
|
136231
|
-
if (this._hosts.
|
|
136232
|
-
throw new Error(`Error loading extension: ${
|
|
136653
|
+
if (provider.hostname !== undefined && this._hosts.length > 0) {
|
|
136654
|
+
const hostname = normalizeHostname(provider.hostname);
|
|
136655
|
+
if (this._hosts.indexOf(hostname) < 0) {
|
|
136656
|
+
throw new Error(`Error loading extension: ${provider.hostname} was not registered.`);
|
|
136233
136657
|
}
|
|
136234
136658
|
}
|
|
136235
136659
|
try {
|
|
@@ -136260,28 +136684,11 @@ class ExtensionAdmin {
|
|
|
136260
136684
|
* @param hostUrl (string) Accepts both URLs and hostnames (e.g., http://localhost:3000, yourdomain.com, https://www.yourdomain.com, etc.).
|
|
136261
136685
|
*/
|
|
136262
136686
|
registerHost(hostUrl) {
|
|
136263
|
-
const hostname =
|
|
136687
|
+
const hostname = normalizeHostname(hostUrl);
|
|
136264
136688
|
if (this._hosts.indexOf(hostname) < 0) {
|
|
136265
136689
|
this._hosts.push(hostname);
|
|
136266
136690
|
}
|
|
136267
136691
|
}
|
|
136268
|
-
/** Returns the hostname of an input string. Throws an error if input is not a valid hostname (or URL). */
|
|
136269
|
-
getHostName(inputUrl) {
|
|
136270
|
-
// inputs without a protocol (e.g., http://) will throw an error in URL constructor
|
|
136271
|
-
const inputWithProtocol = /(http|https):\/\//.test(inputUrl) ?
|
|
136272
|
-
inputUrl :
|
|
136273
|
-
`https://${inputUrl}`;
|
|
136274
|
-
try {
|
|
136275
|
-
const hostname = new URL(inputWithProtocol).hostname.replace("www.", "");
|
|
136276
|
-
return hostname;
|
|
136277
|
-
}
|
|
136278
|
-
catch (e) {
|
|
136279
|
-
if (e instanceof TypeError) {
|
|
136280
|
-
throw new Error("Argument hostUrl should be a valid URL or hostname (i.e. http://localhost:3000, yourdomain.com, etc.).");
|
|
136281
|
-
}
|
|
136282
|
-
throw e;
|
|
136283
|
-
}
|
|
136284
|
-
}
|
|
136285
136692
|
/** Loops over all enabled Extensions and triggers each one if the provided event is defined. */
|
|
136286
136693
|
async activateExtensionEvents(event) {
|
|
136287
136694
|
for (const extension of this._extensions.values()) {
|
|
@@ -136366,6 +136773,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
136366
136773
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
136367
136774
|
/* eslint-disable @itwin/no-internal-barrel-imports */
|
|
136368
136775
|
/* eslint-disable sort-imports */
|
|
136776
|
+
/* eslint-disable @typescript-eslint/no-deprecated -- the extension runtime must keep exposing deprecated public APIs until they are removed */
|
|
136369
136777
|
|
|
136370
136778
|
const globalSymbol = Symbol.for("itwin.core.frontend.globals");
|
|
136371
136779
|
if (globalThis[globalSymbol]) {
|
|
@@ -136759,11 +137167,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
136759
137167
|
*/
|
|
136760
137168
|
class RemoteExtensionProvider {
|
|
136761
137169
|
_props;
|
|
136762
|
-
/** The
|
|
137170
|
+
/** The hostname of the server where the extension is hosted. */
|
|
136763
137171
|
hostname;
|
|
136764
137172
|
constructor(_props) {
|
|
136765
137173
|
this._props = _props;
|
|
136766
|
-
this.hostname = new URL(this._props.jsUrl).hostname
|
|
137174
|
+
this.hostname = new URL(this._props.jsUrl).hostname;
|
|
136767
137175
|
}
|
|
136768
137176
|
/**
|
|
136769
137177
|
* Attempts to execute an extension.
|
|
@@ -151652,8 +152060,8 @@ class FrameBuffers {
|
|
|
151652
152060
|
idsAndZComposite;
|
|
151653
152061
|
idsAndAltZComposite;
|
|
151654
152062
|
edlDrawCol;
|
|
151655
|
-
init(textures, depth, depthMS) {
|
|
151656
|
-
if (!this.initPotentialMSFbos(textures, depth, depthMS))
|
|
152063
|
+
init(textures, depth, depthMS, boundColor) {
|
|
152064
|
+
if (!this.initPotentialMSFbos(textures, depth, depthMS, boundColor))
|
|
151657
152065
|
return false;
|
|
151658
152066
|
this.depthAndOrder = _FrameBuffer__WEBPACK_IMPORTED_MODULE_9__.FrameBuffer.create([(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(textures.depthAndOrder)], depth);
|
|
151659
152067
|
this.hilite = _FrameBuffer__WEBPACK_IMPORTED_MODULE_9__.FrameBuffer.create([(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(textures.hilite)], depth);
|
|
@@ -151661,7 +152069,7 @@ class FrameBuffers {
|
|
|
151661
152069
|
if (!this.depthAndOrder || !this.hilite || !this.hiliteUsingStencil)
|
|
151662
152070
|
return false;
|
|
151663
152071
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined === this.opaqueAll);
|
|
151664
|
-
if (!this.initPotentialMSMRTFbos(textures, depth, depthMS))
|
|
152072
|
+
if (!this.initPotentialMSMRTFbos(textures, depth, depthMS, boundColor))
|
|
151665
152073
|
return false;
|
|
151666
152074
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== textures.accumulation && undefined !== textures.revealage);
|
|
151667
152075
|
const colors = [textures.accumulation, textures.revealage];
|
|
@@ -151678,9 +152086,8 @@ class FrameBuffers {
|
|
|
151678
152086
|
&& undefined !== this.clearTranslucent
|
|
151679
152087
|
&& undefined !== this.pingPong;
|
|
151680
152088
|
}
|
|
151681
|
-
initPotentialMSFbos(textures, depth, depthMS) {
|
|
151682
|
-
|
|
151683
|
-
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== boundColor && undefined !== textures.color);
|
|
152089
|
+
initPotentialMSFbos(textures, depth, depthMS, boundColor) {
|
|
152090
|
+
;(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== textures.color);
|
|
151684
152091
|
if (undefined === depthMS) {
|
|
151685
152092
|
this.opaqueColor = _FrameBuffer__WEBPACK_IMPORTED_MODULE_9__.FrameBuffer.create([boundColor], depth);
|
|
151686
152093
|
this.opaqueAndCompositeColor = _FrameBuffer__WEBPACK_IMPORTED_MODULE_9__.FrameBuffer.create([textures.color], depth);
|
|
@@ -151693,10 +152100,8 @@ class FrameBuffers {
|
|
|
151693
152100
|
return undefined !== this.opaqueColor
|
|
151694
152101
|
&& undefined !== this.opaqueAndCompositeColor;
|
|
151695
152102
|
}
|
|
151696
|
-
initPotentialMSMRTFbos(textures, depth, depthMs) {
|
|
151697
|
-
|
|
151698
|
-
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== boundColor &&
|
|
151699
|
-
undefined !== textures.color &&
|
|
152103
|
+
initPotentialMSMRTFbos(textures, depth, depthMs, boundColor) {
|
|
152104
|
+
;(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== textures.color &&
|
|
151700
152105
|
undefined !== textures.featureId &&
|
|
151701
152106
|
undefined !== textures.depthAndOrder &&
|
|
151702
152107
|
undefined !== textures.accumulation &&
|
|
@@ -151810,23 +152215,23 @@ class FrameBuffers {
|
|
|
151810
152215
|
this.idsAndAltZComposite = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.idsAndAltZComposite);
|
|
151811
152216
|
}
|
|
151812
152217
|
}
|
|
151813
|
-
enableMultiSampling(textures, depth, depthMS) {
|
|
152218
|
+
enableMultiSampling(textures, depth, depthMS, boundColor) {
|
|
151814
152219
|
this.opaqueColor = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueColor);
|
|
151815
152220
|
this.opaqueAndCompositeColor = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAndCompositeColor);
|
|
151816
|
-
let rVal = this.initPotentialMSFbos(textures, depth, depthMS);
|
|
152221
|
+
let rVal = this.initPotentialMSFbos(textures, depth, depthMS, boundColor);
|
|
151817
152222
|
this.opaqueAll = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAll);
|
|
151818
152223
|
this.opaqueAndCompositeAll = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAndCompositeAll);
|
|
151819
|
-
rVal = this.initPotentialMSMRTFbos(textures, depth, depthMS);
|
|
152224
|
+
rVal = this.initPotentialMSMRTFbos(textures, depth, depthMS, boundColor);
|
|
151820
152225
|
return rVal;
|
|
151821
152226
|
}
|
|
151822
|
-
disableMultiSampling(textures, depth) {
|
|
152227
|
+
disableMultiSampling(textures, depth, boundColor) {
|
|
151823
152228
|
this.opaqueAll = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAll);
|
|
151824
152229
|
this.opaqueAndCompositeAll = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAndCompositeAll);
|
|
151825
|
-
if (!this.initPotentialMSMRTFbos(textures, depth, undefined))
|
|
152230
|
+
if (!this.initPotentialMSMRTFbos(textures, depth, undefined, boundColor))
|
|
151826
152231
|
return false;
|
|
151827
152232
|
this.opaqueColor = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueColor);
|
|
151828
152233
|
this.opaqueAndCompositeColor = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAndCompositeColor);
|
|
151829
|
-
return this.initPotentialMSFbos(textures, depth, undefined);
|
|
152234
|
+
return this.initPotentialMSFbos(textures, depth, undefined, boundColor);
|
|
151830
152235
|
}
|
|
151831
152236
|
get isDisposed() {
|
|
151832
152237
|
return undefined === this.opaqueColor && undefined === this.opaqueAndCompositeColor && undefined === this.depthAndOrder
|
|
@@ -152869,7 +153274,7 @@ class Compositor extends SceneCompositor {
|
|
|
152869
153274
|
this._depthMS = undefined;
|
|
152870
153275
|
if (this._depth !== undefined) {
|
|
152871
153276
|
return this._textures.init(this._width, this._height, this._antialiasSamples)
|
|
152872
|
-
&& this._fbos.init(this._textures, this._depth, this._depthMS)
|
|
153277
|
+
&& this._fbos.init(this._textures, this._depth, this._depthMS, (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(this.target.outputColorTexture))
|
|
152873
153278
|
&& this._geom.init(this._textures)
|
|
152874
153279
|
&& this.eyeDomeLighting.init(this._width, this._height, this._depth);
|
|
152875
153280
|
}
|
|
@@ -152884,11 +153289,11 @@ class Compositor extends SceneCompositor {
|
|
|
152884
153289
|
if (!this._textures.enableMultiSampling(this._width, this._height, this._antialiasSamples))
|
|
152885
153290
|
return false;
|
|
152886
153291
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== this._depth && undefined !== this._depthMS);
|
|
152887
|
-
return this._fbos.enableMultiSampling(this._textures, this._depth, this._depthMS);
|
|
153292
|
+
return this._fbos.enableMultiSampling(this._textures, this._depth, this._depthMS, (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(this.target.outputColorTexture));
|
|
152888
153293
|
}
|
|
152889
153294
|
disableMultiSampling() {
|
|
152890
153295
|
;(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== this._depth);
|
|
152891
|
-
if (!this._fbos.disableMultiSampling(this._textures, this._depth))
|
|
153296
|
+
if (!this._fbos.disableMultiSampling(this._textures, this._depth, (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(this.target.outputColorTexture)))
|
|
152892
153297
|
return false;
|
|
152893
153298
|
// Want to disable multisampling without deleting & reallocating other stuff.
|
|
152894
153299
|
this._depthMS = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this._depthMS);
|
|
@@ -157420,6 +157825,7 @@ class Target extends _render_RenderTarget__WEBPACK_IMPORTED_MODULE_7__.RenderTar
|
|
|
157420
157825
|
this._antialiasSamples = (undefined !== _System__WEBPACK_IMPORTED_MODULE_24__.System.instance.options.antialiasSamples ? _System__WEBPACK_IMPORTED_MODULE_24__.System.instance.options.antialiasSamples : 1);
|
|
157421
157826
|
}
|
|
157422
157827
|
get compositor() { return this._compositor; }
|
|
157828
|
+
get outputColorTexture() { return this._fbo?.getColor(0); }
|
|
157423
157829
|
get isReadPixelsInProgress() { return this._isReadPixelsInProgress; }
|
|
157424
157830
|
get readPixelsSelector() { return this._readPixelsSelector; }
|
|
157425
157831
|
get drawNonLocatable() { return this._drawNonLocatable; }
|
|
@@ -173744,7 +174150,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
173744
174150
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
173745
174151
|
/* harmony export */ OrbitGtTileTree: () => (/* binding */ OrbitGtTileTree),
|
|
173746
174152
|
/* harmony export */ OrbitGtTreeReference: () => (/* binding */ OrbitGtTreeReference),
|
|
173747
|
-
/* harmony export */
|
|
174153
|
+
/* harmony export */ computeVerticalDatumShift: () => (/* binding */ computeVerticalDatumShift),
|
|
173748
174154
|
/* harmony export */ createOrbitGtTileTreeReference: () => (/* binding */ createOrbitGtTileTreeReference)
|
|
173749
174155
|
/* harmony export */ });
|
|
173750
174156
|
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
@@ -174051,20 +174457,44 @@ class OrbitGtTileTree extends _tile_internal__WEBPACK_IMPORTED_MODULE_10__.TileT
|
|
|
174051
174457
|
}
|
|
174052
174458
|
}
|
|
174053
174459
|
/** Computes the vertical shift, in meters along geodetic up, to correctly place a point cloud whose CRS does not
|
|
174054
|
-
*
|
|
174460
|
+
* say whether its heights are ellipsoidal or orthometric. We assume they use the same vertical datum as the iModel.
|
|
174055
174461
|
*
|
|
174056
|
-
* The
|
|
174057
|
-
*
|
|
174058
|
-
*
|
|
174462
|
+
* The caller already placed the point cloud assuming its heights are ellipsoidal
|
|
174463
|
+
* (`heightAsEllipsoidalDbZ`). This function checks whether that assumption needs correcting:
|
|
174464
|
+
*
|
|
174465
|
+
* - If the iModel uses a geoid-based vertical datum (GEOID, NAVD88, or NGVD29), the cloud's
|
|
174466
|
+
* heights are assumed to be geoid-based too, so we compute how far off the ellipsoidal
|
|
174467
|
+
* placement is from the correct (geoid-based) one, and return that difference as a shift.
|
|
174468
|
+
* - If the iModel is ellipsoidal (or the datum is unknown), no correction is needed -
|
|
174469
|
+
* the original ellipsoidal placement was already right, so this returns zero.
|
|
174470
|
+
* - If the shift can't be computed (e.g. conversion fails), also returns zero.
|
|
174059
174471
|
* Exported strictly for tests.
|
|
174060
174472
|
* @internal
|
|
174061
174473
|
*/
|
|
174062
|
-
async function
|
|
174063
|
-
|
|
174064
|
-
|
|
174474
|
+
async function computeVerticalDatumShift(geoOrigin, heightAsEllipsoidalDbZ, iModel) {
|
|
174475
|
+
if (iModel.noGcsDefined)
|
|
174476
|
+
return 0;
|
|
174477
|
+
// The backend always resolves the vertical datum id. Convert against the iModel's own datum.
|
|
174478
|
+
let source;
|
|
174479
|
+
const verticalDatum = iModel.geographicCoordinateSystem?.verticalCRS?.id;
|
|
174480
|
+
switch (verticalDatum) {
|
|
174481
|
+
// Pair GEOID with a WGS84 horizontal CRS (EPSG:4326).
|
|
174482
|
+
case "GEOID":
|
|
174483
|
+
source = { horizontalCRS: { epsg: 4326 }, verticalCRS: { id: "GEOID" } };
|
|
174484
|
+
break;
|
|
174485
|
+
// Native rejects NAVD88 and NGVD29 with WGS84; pair them with NAD83 (EPSG:4269).
|
|
174486
|
+
case "NAVD88":
|
|
174487
|
+
case "NGVD29":
|
|
174488
|
+
source = { horizontalCRS: { epsg: 4269 }, verticalCRS: { id: verticalDatum } };
|
|
174489
|
+
break;
|
|
174490
|
+
default:
|
|
174491
|
+
return 0;
|
|
174492
|
+
}
|
|
174493
|
+
const converter = iModel.geoServices.getConverter(source);
|
|
174494
|
+
if (undefined === converter)
|
|
174065
174495
|
return 0;
|
|
174066
174496
|
try {
|
|
174067
|
-
const response = await
|
|
174497
|
+
const response = await converter.getIModelCoordinatesFromGeoCoordinates([geoOrigin]);
|
|
174068
174498
|
if (response.iModelCoords[0].s !== _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.GeoCoordStatus.Success) {
|
|
174069
174499
|
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logWarning(_common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_5__.FrontendLoggerCategory.RealityData, `Failed to compute orthometric height correction for point cloud (status ${response.iModelCoords[0].s}); heights will be treated as ellipsoidal`);
|
|
174070
174500
|
return 0;
|
|
@@ -174174,11 +174604,11 @@ async function computeOrthometricVerticalShift(geoOrigin, heightAsEllipsoidalDbZ
|
|
|
174174
174604
|
const response = await geoConverter.getIModelCoordinatesFromGeoCoordinates([geoOrigin]);
|
|
174175
174605
|
if (response.iModelCoords[0].s === _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.GeoCoordStatus.Success) {
|
|
174176
174606
|
const dbOriginFromGcs = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Point3d.fromJSON(response.iModelCoords[0].p);
|
|
174177
|
-
// A projected CRS
|
|
174178
|
-
//
|
|
174179
|
-
//
|
|
174607
|
+
// A projected CRS doesn't say whether heights are ellipsoidal or orthometric, so assume they match the iModel.
|
|
174608
|
+
// pointCloudToEcef above treated them as ellipsoidal; shift by the difference if the iModel is geoid-based.
|
|
174609
|
+
// Compound CRSs can't currently be loaded, so they don't get here. If that changes, their heights are orthometric and need separate handling.
|
|
174180
174610
|
if (_itwin_core_orbitgt__WEBPACK_IMPORTED_MODULE_3__.CRSManager.ENGINE.isProjectedCRS(pointCloudCRS)) {
|
|
174181
|
-
const verticalShift = await
|
|
174611
|
+
const verticalShift = await computeVerticalDatumShift(geoOrigin, dbOriginFromGcs.z, iModel);
|
|
174182
174612
|
if (0 !== verticalShift) {
|
|
174183
174613
|
const upVector = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Vector3d.createStartEnd(cartographicOrigin.toEcef(), _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.Cartographic.fromRadians({ longitude: cartographicOrigin.longitude, latitude: cartographicOrigin.latitude, height: cartographicOrigin.height + 1 }).toEcef()).normalize();
|
|
174184
174614
|
if (undefined !== upVector) {
|
|
@@ -174342,7 +174772,7 @@ function readPnts(stream, dataOffset, pnts) {
|
|
|
174342
174772
|
}
|
|
174343
174773
|
async function decodeDracoPointCloud(buf) {
|
|
174344
174774
|
try {
|
|
174345
|
-
const dracoLoader = (await __webpack_require__.e(/*! import() */ "vendors-
|
|
174775
|
+
const dracoLoader = (await __webpack_require__.e(/*! import() */ "vendors-common_temp_node_modules_pnpm_loaders_gl_draco_4_5_2__loaders_gl_core_4_5_2_node_modu-bbc95a").then(() => (__webpack_require__(/*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@4.5.2_@loaders.gl+core@4.5.2/node_modules/@loaders.gl/draco/dist/index.js")))).DracoLoader;
|
|
174346
174776
|
const mesh = await dracoLoader.parse(buf, {});
|
|
174347
174777
|
if (mesh.topology !== "point-list")
|
|
174348
174778
|
return undefined;
|
|
@@ -181206,8 +181636,13 @@ class FormatsProviderManager {
|
|
|
181206
181636
|
this.onFormatsChanged.raiseEvent(args);
|
|
181207
181637
|
});
|
|
181208
181638
|
}
|
|
181209
|
-
async getFormat(name, system) {
|
|
181210
|
-
return this._formatsProvider.getFormat(name, system);
|
|
181639
|
+
async getFormat(name, system, context) {
|
|
181640
|
+
return this._formatsProvider.getFormat(name, system, context);
|
|
181641
|
+
}
|
|
181642
|
+
/** Returns `undefined` when the current provider cannot look up formats synchronously. */
|
|
181643
|
+
getFormatSync(name, system, context) {
|
|
181644
|
+
const provider = this._formatsProvider;
|
|
181645
|
+
return typeof provider.getFormatSync === "function" ? provider.getFormatSync(name, system, context) : undefined;
|
|
181211
181646
|
}
|
|
181212
181647
|
get formatsProvider() { return this; }
|
|
181213
181648
|
set formatsProvider(formatsProvider) {
|
|
@@ -186353,7 +186788,7 @@ class GltfReader {
|
|
|
186353
186788
|
}
|
|
186354
186789
|
readMeshPrimitive(primitive, featureTable, pseudoRtcBias) {
|
|
186355
186790
|
const meshMode = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.JsonUtils.asInt(primitive.mode, _common_gltf_GltfSchema__WEBPACK_IMPORTED_MODULE_12__.GltfMeshMode.Triangles);
|
|
186356
|
-
if (meshMode === _common_gltf_GltfSchema__WEBPACK_IMPORTED_MODULE_12__.GltfMeshMode.Points &&
|
|
186791
|
+
if (meshMode === _common_gltf_GltfSchema__WEBPACK_IMPORTED_MODULE_12__.GltfMeshMode.Points && primitive.indices === undefined) {
|
|
186357
186792
|
const pointCloud = this.readPointCloud2(primitive, undefined !== featureTable);
|
|
186358
186793
|
if (pointCloud)
|
|
186359
186794
|
return pointCloud;
|
|
@@ -186832,6 +187267,8 @@ class GltfReader {
|
|
|
186832
187267
|
vertexCount = bufferData.count ?? 0;
|
|
186833
187268
|
featureIdBuffers.set(featureIdDesc.attribute, { buffer, stride: bufferView.stride });
|
|
186834
187269
|
}
|
|
187270
|
+
if (featureIdBuffers.size === 0)
|
|
187271
|
+
return undefined;
|
|
186835
187272
|
const itwinFeatureIndices = [];
|
|
186836
187273
|
const vertexPropsMap = new Map();
|
|
186837
187274
|
for (let vertexId = 0; vertexId < vertexCount; vertexId++) {
|
|
@@ -187123,7 +187560,7 @@ class GltfReader {
|
|
|
187123
187560
|
if (_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.ProcessDetector.isIEBrowser) {
|
|
187124
187561
|
throw new Error("Unsupported browser for Draco decoding");
|
|
187125
187562
|
}
|
|
187126
|
-
const dracoLoader = (await __webpack_require__.e(/*! import() */ "vendors-
|
|
187563
|
+
const dracoLoader = (await __webpack_require__.e(/*! import() */ "vendors-common_temp_node_modules_pnpm_loaders_gl_draco_4_5_2__loaders_gl_core_4_5_2_node_modu-bbc95a").then(() => (__webpack_require__(/*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@4.5.2_@loaders.gl+core@4.5.2/node_modules/@loaders.gl/draco/dist/index.js")))).DracoLoader;
|
|
187127
187564
|
await Promise.all(dracoMeshes.map(async (x) => this.decodeDracoMesh(x, dracoLoader)));
|
|
187128
187565
|
}
|
|
187129
187566
|
catch (err) {
|
|
@@ -192429,7 +192866,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
192429
192866
|
/* harmony export */ collectMaskRefs: () => (/* reexport safe */ _internal_tile_PrimaryTileTree__WEBPACK_IMPORTED_MODULE_82__.collectMaskRefs),
|
|
192430
192867
|
/* harmony export */ compareMapLayer: () => (/* reexport safe */ _internal_render_webgl_MapLayerParams__WEBPACK_IMPORTED_MODULE_94__.compareMapLayer),
|
|
192431
192868
|
/* harmony export */ computeCesiumTokenTimeoutInterval: () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_68__.computeCesiumTokenTimeoutInterval),
|
|
192432
|
-
/* harmony export */
|
|
192869
|
+
/* harmony export */ computeVerticalDatumShift: () => (/* reexport safe */ _internal_tile_OrbitGtTileTree__WEBPACK_IMPORTED_MODULE_84__.computeVerticalDatumShift),
|
|
192433
192870
|
/* harmony export */ createClassifierTileTreeReference: () => (/* reexport safe */ _internal_tile_ClassifierTileTree__WEBPACK_IMPORTED_MODULE_83__.createClassifierTileTreeReference),
|
|
192434
192871
|
/* harmony export */ createDefaultViewFlagOverrides: () => (/* reexport safe */ _internal_tile_ViewFlagOverrides__WEBPACK_IMPORTED_MODULE_0__.createDefaultViewFlagOverrides),
|
|
192435
192872
|
/* harmony export */ createGraphicFromDescription: () => (/* reexport safe */ _internal_tile_ImdlGraphicsCreator__WEBPACK_IMPORTED_MODULE_37__.createGraphicFromDescription),
|
|
@@ -333788,16 +334225,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
333788
334225
|
/* harmony import */ var _Unit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Unit */ "../../core/quantity/lib/esm/Unit.js");
|
|
333789
334226
|
/* harmony import */ var _internal_BasicUnitConversionData__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/BasicUnitConversionData */ "../../core/quantity/lib/esm/internal/BasicUnitConversionData.js");
|
|
333790
334227
|
/* harmony import */ var _internal_BasicUnitsResolvedStateCache__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./internal/BasicUnitsResolvedStateCache */ "../../core/quantity/lib/esm/internal/BasicUnitsResolvedStateCache.js");
|
|
334228
|
+
/* harmony import */ var _assets_Units_json__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./assets/Units.json */ "../../core/quantity/lib/esm/assets/Units.json");
|
|
333791
334229
|
|
|
333792
334230
|
|
|
333793
334231
|
|
|
334232
|
+
|
|
334233
|
+
const bundledSchema = _assets_Units_json__WEBPACK_IMPORTED_MODULE_3__;
|
|
333794
334234
|
async function resolveState() {
|
|
333795
|
-
return (0,_internal_BasicUnitsResolvedStateCache__WEBPACK_IMPORTED_MODULE_2__.resolveBasicUnitsData)(async () =>
|
|
333796
|
-
|
|
333797
|
-
|
|
333798
|
-
|
|
333799
|
-
return schema;
|
|
333800
|
-
});
|
|
334235
|
+
return (0,_internal_BasicUnitsResolvedStateCache__WEBPACK_IMPORTED_MODULE_2__.resolveBasicUnitsData)(async () => bundledSchema);
|
|
334236
|
+
}
|
|
334237
|
+
function resolveStateSync() {
|
|
334238
|
+
return (0,_internal_BasicUnitsResolvedStateCache__WEBPACK_IMPORTED_MODULE_2__.resolveBasicUnitsDataSync)(bundledSchema);
|
|
333801
334239
|
}
|
|
333802
334240
|
/** @internal — test use only. Resets the shared module-level lazy cache. */
|
|
333803
334241
|
function _testResetUnitsCache() {
|
|
@@ -333806,12 +334244,11 @@ function _testResetUnitsCache() {
|
|
|
333806
334244
|
/**
|
|
333807
334245
|
* A `UnitsProvider` backed by the full BIS `Units.ecschema.json` bundled as a JSON asset.
|
|
333808
334246
|
*
|
|
333809
|
-
* The bundled
|
|
333810
|
-
*
|
|
333811
|
-
* share the same immutable lookup indexes.
|
|
334247
|
+
* The bundled data is available locally. The provider builds its immutable lookup indexes on the
|
|
334248
|
+
* first call and caches them at module scope, so multiple instances share the same indexes.
|
|
333812
334249
|
*
|
|
333813
|
-
* If
|
|
333814
|
-
*
|
|
334250
|
+
* If resolving the bundled data fails, the next provider call retries instead of retaining a failed
|
|
334251
|
+
* module-level state.
|
|
333815
334252
|
*
|
|
333816
334253
|
* This is the zero-dependency default for backends, tools, and any frontend that doesn't need
|
|
333817
334254
|
* iModel overrides. Equivalent to calling `createUnitsProvider()` with no arguments.
|
|
@@ -333820,6 +334257,16 @@ function _testResetUnitsCache() {
|
|
|
333820
334257
|
* @beta
|
|
333821
334258
|
*/
|
|
333822
334259
|
class BasicUnitsProvider {
|
|
334260
|
+
/** Find a built-in unit by fully qualified name using local data. */
|
|
334261
|
+
findUnitByNameSync(unitName) {
|
|
334262
|
+
const state = resolveStateSync();
|
|
334263
|
+
const entry = state.nameMap.get(unitName);
|
|
334264
|
+
return entry ? entry.props : new _Unit__WEBPACK_IMPORTED_MODULE_0__.BadUnit();
|
|
334265
|
+
}
|
|
334266
|
+
/** Compute a conversion between built-in units using the same bundled data as [[getConversion]]. */
|
|
334267
|
+
getConversionSync(fromUnit, toUnit) {
|
|
334268
|
+
return (0,_internal_BasicUnitConversionData__WEBPACK_IMPORTED_MODULE_1__.getBasicUnitConversion)(resolveStateSync(), fromUnit, toUnit);
|
|
334269
|
+
}
|
|
333823
334270
|
// ── UnitsProvider implementation ─────────────────────────────────────
|
|
333824
334271
|
/** Find a unit by its display label, optionally filtering by schema name, phenomenon, and unit system.
|
|
333825
334272
|
* @param unitLabel - The display label to search for (case-insensitive).
|
|
@@ -334251,7 +334698,7 @@ class BaseFormat {
|
|
|
334251
334698
|
_stationBaseFactor; // optional positive integer base factor for station formatting; default is 1
|
|
334252
334699
|
_ratioType; // required if type is ratio; options: oneToN, NToOne, ValueBased, useGreatestCommonDivisor
|
|
334253
334700
|
_ratioFormatType; // defaults to Decimal if not specified
|
|
334254
|
-
_ratioSeparator; // default is ":"; separator
|
|
334701
|
+
_ratioSeparator; // default is ":"; separator string used in ratio formatting
|
|
334255
334702
|
_azimuthBase; // value always clockwise from north
|
|
334256
334703
|
_azimuthBaseUnit; // unit for azimuthBase value
|
|
334257
334704
|
_azimuthCounterClockwise; // if set to true, azimuth values are returned counter-clockwise from base
|
|
@@ -334353,11 +334800,12 @@ class BaseFormat {
|
|
|
334353
334800
|
if (undefined === formatProps.ratioType)
|
|
334354
334801
|
throw new _Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityError(_Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityStatus.InvalidJson, `The Format ${this.name} is 'Ratio' type therefore the attribute 'ratioType' is required.`);
|
|
334355
334802
|
this._ratioType = (0,_FormatEnums__WEBPACK_IMPORTED_MODULE_2__.parseRatioType)(formatProps.ratioType, this.name);
|
|
334356
|
-
if (undefined !== formatProps.ratioSeparator) { // optional; default is
|
|
334803
|
+
if (undefined !== formatProps.ratioSeparator) { // optional; default is ":"
|
|
334357
334804
|
if (typeof (formatProps.ratioSeparator) !== "string")
|
|
334358
334805
|
throw new _Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityError(_Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityStatus.InvalidJson, `The Format ${this.name} has an invalid 'ratioSeparator' attribute. It should be of type 'string'.`);
|
|
334359
|
-
|
|
334360
|
-
|
|
334806
|
+
const nonSpaceCharacters = [...formatProps.ratioSeparator].filter((character) => character !== " ");
|
|
334807
|
+
if (nonSpaceCharacters.length !== 1 || nonSpaceCharacters[0].trim().length === 0)
|
|
334808
|
+
throw new _Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityError(_Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityStatus.InvalidJson, `The Format ${this.name} has an invalid 'ratioSeparator' attribute. It should contain exactly one non-space character, optionally surrounded by spaces.`);
|
|
334361
334809
|
this._ratioSeparator = formatProps.ratioSeparator;
|
|
334362
334810
|
}
|
|
334363
334811
|
else {
|
|
@@ -334591,6 +335039,12 @@ class Format extends BaseFormat {
|
|
|
334591
335039
|
await actualFormat.fromJSON(unitsProvider, formatProps);
|
|
334592
335040
|
return actualFormat;
|
|
334593
335041
|
}
|
|
335042
|
+
/** Create a `Format` from `FormatProps` using a synchronous unit provider. */
|
|
335043
|
+
static createFromJSONSync(name, unitsProvider, formatProps) {
|
|
335044
|
+
const actualFormat = new Format(name);
|
|
335045
|
+
actualFormat.fromFullyResolvedJSON(resolveFormatPropsSync(name, unitsProvider, formatProps));
|
|
335046
|
+
return actualFormat;
|
|
335047
|
+
}
|
|
334594
335048
|
static createFromFullyResolvedJSON(name, formatProps) {
|
|
334595
335049
|
const actualFormat = new Format(name);
|
|
334596
335050
|
actualFormat.fromFullyResolvedJSON(formatProps);
|
|
@@ -334657,52 +335111,50 @@ class Format extends BaseFormat {
|
|
|
334657
335111
|
return baseFormatProps;
|
|
334658
335112
|
}
|
|
334659
335113
|
}
|
|
334660
|
-
|
|
335114
|
+
function validateCompositeUnitInput(name, label) {
|
|
334661
335115
|
if (typeof name !== "string" || (undefined !== label && typeof label !== "string")) {
|
|
334662
335116
|
throw new _Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityError(_Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityStatus.InvalidJson, `This Composite has a unit with an invalid 'name' or 'label' attribute.`);
|
|
334663
335117
|
}
|
|
334664
|
-
|
|
335118
|
+
}
|
|
335119
|
+
function validateResolvedUnit(unit, errorMessage) {
|
|
334665
335120
|
if (!unit || !unit.isValid) {
|
|
334666
|
-
throw new _Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityError(_Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityStatus.InvalidJson,
|
|
335121
|
+
throw new _Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityError(_Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityStatus.InvalidJson, errorMessage);
|
|
334667
335122
|
}
|
|
334668
335123
|
return unit;
|
|
334669
335124
|
}
|
|
334670
|
-
|
|
335125
|
+
function getAzimuthBearingUnitName(formatName, jsonObj, key) {
|
|
334671
335126
|
const unitName = jsonObj[key];
|
|
334672
|
-
if (undefined !== unitName) {
|
|
334673
|
-
|
|
334674
|
-
throw new _Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityError(_Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityStatus.InvalidJson, `The Format ${formatName} has an invalid '${key}' attribute. It should be of type 'string'.`);
|
|
334675
|
-
}
|
|
334676
|
-
const unit = await provider.findUnitByName(unitName);
|
|
334677
|
-
if (!unit || !unit.isValid) {
|
|
334678
|
-
throw new _Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityError(_Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityStatus.InvalidJson, `Invalid unit name '${unitName}' for ${key} in Format '${formatName}'.`);
|
|
334679
|
-
}
|
|
334680
|
-
return unit;
|
|
335127
|
+
if (undefined !== unitName && typeof unitName !== "string") {
|
|
335128
|
+
throw new _Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityError(_Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityStatus.InvalidJson, `The Format ${formatName} has an invalid '${key}' attribute. It should be of type 'string'.`);
|
|
334681
335129
|
}
|
|
334682
|
-
return
|
|
335130
|
+
return unitName;
|
|
334683
335131
|
}
|
|
334684
|
-
async function
|
|
334685
|
-
|
|
334686
|
-
|
|
334687
|
-
|
|
334688
|
-
|
|
334689
|
-
|
|
334690
|
-
|
|
334691
|
-
|
|
334692
|
-
|
|
334693
|
-
|
|
334694
|
-
|
|
334695
|
-
|
|
334696
|
-
|
|
334697
|
-
|
|
334698
|
-
|
|
335132
|
+
async function resolveCompositeUnit(provider, name, label) {
|
|
335133
|
+
validateCompositeUnitInput(name, label);
|
|
335134
|
+
return validateResolvedUnit(await provider.findUnitByName(name), `Invalid unit name '${name}'.`);
|
|
335135
|
+
}
|
|
335136
|
+
function resolveCompositeUnitSync(provider, name, label) {
|
|
335137
|
+
validateCompositeUnitInput(name, label);
|
|
335138
|
+
return validateResolvedUnit(provider.findUnitByNameSync(name), `Invalid unit name '${name}'.`);
|
|
335139
|
+
}
|
|
335140
|
+
async function resolveAzimuthBearingUnit(formatName, jsonObj, key, provider) {
|
|
335141
|
+
const unitName = getAzimuthBearingUnitName(formatName, jsonObj, key);
|
|
335142
|
+
return undefined === unitName ? undefined : validateResolvedUnit(await provider.findUnitByName(unitName), `Invalid unit name '${unitName}' for ${key} in Format '${formatName}'.`);
|
|
335143
|
+
}
|
|
335144
|
+
function resolveAzimuthBearingUnitSync(formatName, jsonObj, key, provider) {
|
|
335145
|
+
const unitName = getAzimuthBearingUnitName(formatName, jsonObj, key);
|
|
335146
|
+
return undefined === unitName ? undefined : validateResolvedUnit(provider.findUnitByNameSync(unitName), `Invalid unit name '${unitName}' for ${key} in Format '${formatName}'.`);
|
|
335147
|
+
}
|
|
335148
|
+
function validateResolvedFormatProps(formatName, jsonObj, units, azimuthBaseUnit, revolutionUnit) {
|
|
335149
|
+
const formatType = (0,_FormatEnums__WEBPACK_IMPORTED_MODULE_2__.parseFormatType)(jsonObj.type, formatName);
|
|
335150
|
+
if (formatType === _FormatEnums__WEBPACK_IMPORTED_MODULE_2__.FormatType.Ratio && units?.length === 2) {
|
|
335151
|
+
const phenomenon1 = units[0].unit.phenomenon;
|
|
335152
|
+
const phenomenon2 = units[1].unit.phenomenon;
|
|
335153
|
+
if (phenomenon1 !== phenomenon2) {
|
|
335154
|
+
throw new _Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityError(_Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityStatus.InvalidJson, `The Format ${formatName} has 2-unit composite with different phenomena. Both units must have the same phenomenon. Found '${phenomenon1}' and '${phenomenon2}'.`);
|
|
334699
335155
|
}
|
|
334700
335156
|
}
|
|
334701
|
-
|
|
334702
|
-
const type = (0,_FormatEnums__WEBPACK_IMPORTED_MODULE_2__.parseFormatType)(jsonObj.type, formatName);
|
|
334703
|
-
if (type === _FormatEnums__WEBPACK_IMPORTED_MODULE_2__.FormatType.Azimuth || type === _FormatEnums__WEBPACK_IMPORTED_MODULE_2__.FormatType.Bearing) {
|
|
334704
|
-
azimuthBaseUnit = await resolveAzimuthBearingUnit(formatName, jsonObj, "azimuthBaseUnit", unitsProvider);
|
|
334705
|
-
revolutionUnit = await resolveAzimuthBearingUnit(formatName, jsonObj, "revolutionUnit", unitsProvider);
|
|
335157
|
+
if (formatType === _FormatEnums__WEBPACK_IMPORTED_MODULE_2__.FormatType.Azimuth || formatType === _FormatEnums__WEBPACK_IMPORTED_MODULE_2__.FormatType.Bearing) {
|
|
334706
335158
|
if (!revolutionUnit) {
|
|
334707
335159
|
throw new _Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityError(_Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityStatus.InvalidJson, `The Format ${formatName} is 'Azimuth' or 'Bearing' type therefore the attribute 'revolutionUnit' is required.`);
|
|
334708
335160
|
}
|
|
@@ -334710,6 +335162,8 @@ async function resolveFormatProps(formatName, unitsProvider, jsonObj) {
|
|
|
334710
335162
|
throw new _Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityError(_Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityStatus.InvalidJson, `The Format ${formatName} has an 'azimuthBase' attribute therefore the attribute 'azimuthBaseUnit' is required.`);
|
|
334711
335163
|
}
|
|
334712
335164
|
}
|
|
335165
|
+
}
|
|
335166
|
+
function createResolvedFormatProps(jsonObj, units, azimuthBaseUnit, revolutionUnit) {
|
|
334713
335167
|
return {
|
|
334714
335168
|
...jsonObj,
|
|
334715
335169
|
azimuthBaseUnit,
|
|
@@ -334720,6 +335174,38 @@ async function resolveFormatProps(formatName, unitsProvider, jsonObj) {
|
|
|
334720
335174
|
} : undefined,
|
|
334721
335175
|
};
|
|
334722
335176
|
}
|
|
335177
|
+
async function resolveFormatProps(formatName, unitsProvider, jsonObj) {
|
|
335178
|
+
const units = undefined === jsonObj.composite?.units ? undefined : await Promise.all(jsonObj.composite.units.map(async (entry) => ({
|
|
335179
|
+
// Label is intentionally not validated, matching master: existing JSON may carry a non-string label (e.g. null).
|
|
335180
|
+
unit: await resolveCompositeUnit(unitsProvider, entry.name),
|
|
335181
|
+
label: entry.label,
|
|
335182
|
+
})));
|
|
335183
|
+
let azimuthBaseUnit;
|
|
335184
|
+
let revolutionUnit;
|
|
335185
|
+
const formatType = (0,_FormatEnums__WEBPACK_IMPORTED_MODULE_2__.parseFormatType)(jsonObj.type, formatName);
|
|
335186
|
+
if (formatType === _FormatEnums__WEBPACK_IMPORTED_MODULE_2__.FormatType.Azimuth || formatType === _FormatEnums__WEBPACK_IMPORTED_MODULE_2__.FormatType.Bearing) {
|
|
335187
|
+
azimuthBaseUnit = await resolveAzimuthBearingUnit(formatName, jsonObj, "azimuthBaseUnit", unitsProvider);
|
|
335188
|
+
revolutionUnit = await resolveAzimuthBearingUnit(formatName, jsonObj, "revolutionUnit", unitsProvider);
|
|
335189
|
+
}
|
|
335190
|
+
validateResolvedFormatProps(formatName, jsonObj, units, azimuthBaseUnit, revolutionUnit);
|
|
335191
|
+
return createResolvedFormatProps(jsonObj, units, azimuthBaseUnit, revolutionUnit);
|
|
335192
|
+
}
|
|
335193
|
+
function resolveFormatPropsSync(formatName, unitsProvider, jsonObj) {
|
|
335194
|
+
const units = undefined === jsonObj.composite?.units ? undefined : jsonObj.composite.units.map((entry) => ({
|
|
335195
|
+
// Keep in sync with resolveFormatProps: label is intentionally not validated.
|
|
335196
|
+
unit: resolveCompositeUnitSync(unitsProvider, entry.name),
|
|
335197
|
+
label: entry.label,
|
|
335198
|
+
}));
|
|
335199
|
+
let azimuthBaseUnit;
|
|
335200
|
+
let revolutionUnit;
|
|
335201
|
+
const formatType = (0,_FormatEnums__WEBPACK_IMPORTED_MODULE_2__.parseFormatType)(jsonObj.type, formatName);
|
|
335202
|
+
if (formatType === _FormatEnums__WEBPACK_IMPORTED_MODULE_2__.FormatType.Azimuth || formatType === _FormatEnums__WEBPACK_IMPORTED_MODULE_2__.FormatType.Bearing) {
|
|
335203
|
+
azimuthBaseUnit = resolveAzimuthBearingUnitSync(formatName, jsonObj, "azimuthBaseUnit", unitsProvider);
|
|
335204
|
+
revolutionUnit = resolveAzimuthBearingUnitSync(formatName, jsonObj, "revolutionUnit", unitsProvider);
|
|
335205
|
+
}
|
|
335206
|
+
validateResolvedFormatProps(formatName, jsonObj, units, azimuthBaseUnit, revolutionUnit);
|
|
335207
|
+
return createResolvedFormatProps(jsonObj, units, azimuthBaseUnit, revolutionUnit);
|
|
335208
|
+
}
|
|
334723
335209
|
|
|
334724
335210
|
|
|
334725
335211
|
/***/ },
|
|
@@ -335864,15 +336350,12 @@ class FormatterSpec {
|
|
|
335864
336350
|
get azimuthBaseConversion() { return this._azimuthBaseConversion; }
|
|
335865
336351
|
get revolutionConversion() { return this._revolutionConversion; }
|
|
335866
336352
|
/** Build conversion specs for ratio format with 2 composite units (numerator/denominator). */
|
|
335867
|
-
static
|
|
336353
|
+
static *buildRatioUnitConversions(units, persistenceUnit) {
|
|
335868
336354
|
const conversions = [];
|
|
335869
336355
|
const [numeratorUnit, numeratorLabel] = units[0];
|
|
335870
336356
|
const [denominatorUnit, denominatorLabel] = units[1];
|
|
335871
336357
|
// Compute ratio scale: how many numerator units per denominator unit (e.g., IN:FT = 12)
|
|
335872
|
-
const denominatorToNumerator =
|
|
335873
|
-
if (denominatorToNumerator.error) {
|
|
335874
|
-
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logWarning(_QuantityLoggerCategory__WEBPACK_IMPORTED_MODULE_1__.QuantityLoggerCategory.Formatting, `Unit conversion from "${denominatorUnit.name}" to "${numeratorUnit.name}" could not be resolved.`);
|
|
335875
|
-
}
|
|
336358
|
+
const denominatorToNumerator = yield* requestConversion(denominatorUnit, numeratorUnit);
|
|
335876
336359
|
const displayRatioScale = denominatorToNumerator.factor;
|
|
335877
336360
|
// Avoid double-scaling: if persistence unit already encodes the display ratio, use factor 1.
|
|
335878
336361
|
// Check by name heuristic (e.g., IN_PER_FT with ratioUnits [IN, FT] → no scaling needed)
|
|
@@ -335888,7 +336371,7 @@ class FormatterSpec {
|
|
|
335888
336371
|
name: `${numeratorUnit.name}_per_${denominatorUnit.name}`,
|
|
335889
336372
|
label: "",
|
|
335890
336373
|
system: numeratorUnit.system,
|
|
335891
|
-
conversion:
|
|
336374
|
+
conversion: createRatioConversionProps(ratioScaleFactor, denominatorToNumerator),
|
|
335892
336375
|
};
|
|
335893
336376
|
conversions.push(ratioConversionSpec);
|
|
335894
336377
|
// Numerator unit for label lookup
|
|
@@ -335911,6 +336394,9 @@ class FormatterSpec {
|
|
|
335911
336394
|
}
|
|
335912
336395
|
/** Get an array of UnitConversionSpecs, one for each unit that is to be shown in the formatted quantity string. */
|
|
335913
336396
|
static async getUnitConversions(format, unitsProvider, inputUnit) {
|
|
336397
|
+
return runAsync(FormatterSpec.buildUnitConversions(format, inputUnit), unitsProvider);
|
|
336398
|
+
}
|
|
336399
|
+
static *buildUnitConversions(format, inputUnit) {
|
|
335914
336400
|
const conversions = [];
|
|
335915
336401
|
let persistenceUnit = inputUnit;
|
|
335916
336402
|
if (!persistenceUnit) {
|
|
@@ -335924,17 +336410,14 @@ class FormatterSpec {
|
|
|
335924
336410
|
}
|
|
335925
336411
|
// Handle 2-unit composite for ratio formats (scale factors)
|
|
335926
336412
|
if (format.type === _FormatEnums__WEBPACK_IMPORTED_MODULE_2__.FormatType.Ratio && format.units && format.units.length === 2) {
|
|
335927
|
-
return FormatterSpec.
|
|
336413
|
+
return yield* FormatterSpec.buildRatioUnitConversions(format.units, persistenceUnit);
|
|
335928
336414
|
}
|
|
335929
336415
|
if (format.units) {
|
|
335930
336416
|
let convertFromUnit = inputUnit;
|
|
335931
336417
|
for (const unit of format.units) {
|
|
335932
336418
|
let unitConversion;
|
|
335933
336419
|
if (convertFromUnit) {
|
|
335934
|
-
unitConversion =
|
|
335935
|
-
if (unitConversion.error) {
|
|
335936
|
-
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logWarning(_QuantityLoggerCategory__WEBPACK_IMPORTED_MODULE_1__.QuantityLoggerCategory.Formatting, `Unit conversion from "${convertFromUnit.name}" to "${unit[0].name}" could not be resolved.`);
|
|
335937
|
-
}
|
|
336420
|
+
unitConversion = yield* requestConversion(convertFromUnit, unit[0]);
|
|
335938
336421
|
}
|
|
335939
336422
|
else {
|
|
335940
336423
|
unitConversion = { factor: 1.0, offset: 0.0 };
|
|
@@ -335965,14 +336448,18 @@ class FormatterSpec {
|
|
|
335965
336448
|
* @see BaseFormat.revolutionUnit
|
|
335966
336449
|
*/
|
|
335967
336450
|
static async create(name, format, unitsProvider, inputUnit) {
|
|
335968
|
-
|
|
336451
|
+
return runAsync(FormatterSpec.buildFormatterSpec(name, format, inputUnit), unitsProvider);
|
|
336452
|
+
}
|
|
336453
|
+
/** Create a `FormatterSpec` using a synchronous unit provider. */
|
|
336454
|
+
static createSync(name, format, unitsProvider, inputUnit) {
|
|
336455
|
+
return runSync(FormatterSpec.buildFormatterSpec(name, format, inputUnit), unitsProvider);
|
|
336456
|
+
}
|
|
336457
|
+
static *buildFormatterSpec(name, format, inputUnit) {
|
|
336458
|
+
const conversions = yield* FormatterSpec.buildUnitConversions(format, inputUnit);
|
|
335969
336459
|
let azimuthBaseConversion;
|
|
335970
336460
|
if (format.azimuthBaseUnit !== undefined) {
|
|
335971
336461
|
if (inputUnit !== undefined) {
|
|
335972
|
-
azimuthBaseConversion =
|
|
335973
|
-
if (azimuthBaseConversion.error) {
|
|
335974
|
-
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logWarning(_QuantityLoggerCategory__WEBPACK_IMPORTED_MODULE_1__.QuantityLoggerCategory.Formatting, `Unit conversion from "${format.azimuthBaseUnit.name}" to "${inputUnit.name}" could not be resolved.`);
|
|
335975
|
-
}
|
|
336462
|
+
azimuthBaseConversion = yield* requestConversion(format.azimuthBaseUnit, inputUnit);
|
|
335976
336463
|
}
|
|
335977
336464
|
else {
|
|
335978
336465
|
azimuthBaseConversion = { factor: 1.0, offset: 0.0 };
|
|
@@ -335981,10 +336468,7 @@ class FormatterSpec {
|
|
|
335981
336468
|
let revolutionConversion;
|
|
335982
336469
|
if (format.revolutionUnit !== undefined) {
|
|
335983
336470
|
if (inputUnit !== undefined) {
|
|
335984
|
-
revolutionConversion =
|
|
335985
|
-
if (revolutionConversion.error) {
|
|
335986
|
-
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logWarning(_QuantityLoggerCategory__WEBPACK_IMPORTED_MODULE_1__.QuantityLoggerCategory.Formatting, `Unit conversion from "${format.revolutionUnit.name}" to "${inputUnit.name}" could not be resolved.`);
|
|
335987
|
-
}
|
|
336471
|
+
revolutionConversion = yield* requestConversion(format.revolutionUnit, inputUnit);
|
|
335988
336472
|
}
|
|
335989
336473
|
else {
|
|
335990
336474
|
revolutionConversion = { factor: 1.0, offset: 0.0 };
|
|
@@ -335997,6 +336481,30 @@ class FormatterSpec {
|
|
|
335997
336481
|
return _Formatter__WEBPACK_IMPORTED_MODULE_3__.Formatter.formatQuantity(magnitude, this);
|
|
335998
336482
|
}
|
|
335999
336483
|
}
|
|
336484
|
+
function* requestConversion(fromUnit, toUnit) {
|
|
336485
|
+
const conversion = yield [fromUnit, toUnit];
|
|
336486
|
+
if (conversion.error) {
|
|
336487
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logWarning(_QuantityLoggerCategory__WEBPACK_IMPORTED_MODULE_1__.QuantityLoggerCategory.Formatting, `Unit conversion from "${fromUnit.name}" to "${toUnit.name}" could not be resolved.`);
|
|
336488
|
+
}
|
|
336489
|
+
return conversion;
|
|
336490
|
+
}
|
|
336491
|
+
async function runAsync(builder, unitsProvider) {
|
|
336492
|
+
let step = builder.next();
|
|
336493
|
+
while (!step.done)
|
|
336494
|
+
step = builder.next(await unitsProvider.getConversion(...step.value));
|
|
336495
|
+
return step.value;
|
|
336496
|
+
}
|
|
336497
|
+
function runSync(builder, unitsProvider) {
|
|
336498
|
+
let step = builder.next();
|
|
336499
|
+
while (!step.done)
|
|
336500
|
+
step = builder.next(unitsProvider.getConversionSync(...step.value));
|
|
336501
|
+
return step.value;
|
|
336502
|
+
}
|
|
336503
|
+
function createRatioConversionProps(ratioScaleFactor, sourceConversion) {
|
|
336504
|
+
return sourceConversion.error
|
|
336505
|
+
? { factor: ratioScaleFactor, offset: 0.0, error: true }
|
|
336506
|
+
: { factor: ratioScaleFactor, offset: 0.0 };
|
|
336507
|
+
}
|
|
336000
336508
|
|
|
336001
336509
|
|
|
336002
336510
|
/***/ },
|
|
@@ -336989,8 +337497,8 @@ class Parser {
|
|
|
336989
337497
|
static parseRatioFormat(inString, spec) {
|
|
336990
337498
|
if (!inString)
|
|
336991
337499
|
return { ok: false, error: ParseError.NoValueOrUnitFoundInString };
|
|
336992
|
-
const separator = spec.format.ratioSeparator
|
|
336993
|
-
const parts = inString.split(separator);
|
|
337500
|
+
const separator = spec.format.ratioSeparator?.split(" ").join("") || ":";
|
|
337501
|
+
const parts = inString.split(separator).map((p) => p.trim());
|
|
336994
337502
|
if (parts.length > 2)
|
|
336995
337503
|
return { ok: false, error: ParseError.UnableToConvertParseTokensToQuantity };
|
|
336996
337504
|
// If the string doesn't contain the expected separator but contains other ratio-like separators,
|
|
@@ -339705,7 +340213,8 @@ const basicUnitConversionData = {
|
|
|
339705
340213
|
__webpack_require__.r(__webpack_exports__);
|
|
339706
340214
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
339707
340215
|
/* harmony export */ _testResetResolvedBasicUnitsDataCache: () => (/* binding */ _testResetResolvedBasicUnitsDataCache),
|
|
339708
|
-
/* harmony export */ resolveBasicUnitsData: () => (/* binding */ resolveBasicUnitsData)
|
|
340216
|
+
/* harmony export */ resolveBasicUnitsData: () => (/* binding */ resolveBasicUnitsData),
|
|
340217
|
+
/* harmony export */ resolveBasicUnitsDataSync: () => (/* binding */ resolveBasicUnitsDataSync)
|
|
339709
340218
|
/* harmony export */ });
|
|
339710
340219
|
/* harmony import */ var _BasicUnitConversionData__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BasicUnitConversionData */ "../../core/quantity/lib/esm/internal/BasicUnitConversionData.js");
|
|
339711
340220
|
|
|
@@ -339732,6 +340241,12 @@ async function resolveBasicUnitsData(loadSchema) {
|
|
|
339732
340241
|
}
|
|
339733
340242
|
return _resolvePromise;
|
|
339734
340243
|
}
|
|
340244
|
+
/** Return shared resolved data for built-in units, building it synchronously on first use.
|
|
340245
|
+
* @internal
|
|
340246
|
+
*/
|
|
340247
|
+
function resolveBasicUnitsDataSync(schema) {
|
|
340248
|
+
return _resolvedData ??= (0,_BasicUnitConversionData__WEBPACK_IMPORTED_MODULE_0__.buildResolvedBasicUnitsData)(schema);
|
|
340249
|
+
}
|
|
339735
340250
|
/** @internal — test use only. Resets the shared module-level lazy cache.
|
|
339736
340251
|
* This stays in source rather than under a test folder because the public test seam
|
|
339737
340252
|
* `BasicUnitsProvider._testResetUnitsCache()` lives in source and delegates here.
|
|
@@ -343390,7 +343905,7 @@ class TestContext {
|
|
|
343390
343905
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
343391
343906
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
343392
343907
|
await core_frontend_1.NoRenderApp.startup({
|
|
343393
|
-
applicationVersion: "5.14.
|
|
343908
|
+
applicationVersion: "5.14.2",
|
|
343394
343909
|
applicationId: this.settings.gprid,
|
|
343395
343910
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.serviceAuthToken),
|
|
343396
343911
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -343416,9 +343931,9 @@ exports.TestContext = TestContext;
|
|
|
343416
343931
|
|
|
343417
343932
|
/***/ },
|
|
343418
343933
|
|
|
343419
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
343934
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/presentation-shared.js"
|
|
343420
343935
|
/*!*****************************************************************************************************************************************************!*\
|
|
343421
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
343936
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/presentation-shared.js ***!
|
|
343422
343937
|
\*****************************************************************************************************************************************************/
|
|
343423
343938
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
343424
343939
|
|
|
@@ -343463,31 +343978,31 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
343463
343978
|
})();
|
|
343464
343979
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
343465
343980
|
exports.TypedPrimitiveValue = exports.PrimitiveValue = exports.InstanceKey = exports.trimWhitespace = exports.releaseMainThread = exports.parseFullClassName = exports.normalizeFullClassName = exports.julianToDateTime = exports.createMainThreadReleaseOnTimePassedHandler = exports.getClass = exports.createCachingECClassHierarchyInspector = exports.NOOP_LOGGER = exports.parseInstanceLabel = exports.createBisInstanceLabelSelectClauseFactory = exports.createClassBasedInstanceLabelSelectClauseFactory = exports.createDefaultInstanceLabelSelectClauseFactory = exports.formatConcatenatedValue = exports.createDefaultValueFormatter = exports.ConcatenatedValuePart = exports.ConcatenatedValue = exports.ECSql = void 0;
|
|
343466
|
-
exports.ECSql = __importStar(__webpack_require__(/*! ./shared/ecsql-snippets/index.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
343467
|
-
var ConcatenatedValue_js_1 = __webpack_require__(/*! ./shared/ConcatenatedValue.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
343981
|
+
exports.ECSql = __importStar(__webpack_require__(/*! ./shared/ecsql-snippets/index.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/ecsql-snippets/index.js"));
|
|
343982
|
+
var ConcatenatedValue_js_1 = __webpack_require__(/*! ./shared/ConcatenatedValue.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/ConcatenatedValue.js");
|
|
343468
343983
|
Object.defineProperty(exports, "ConcatenatedValue", ({ enumerable: true, get: function () { return ConcatenatedValue_js_1.ConcatenatedValue; } }));
|
|
343469
343984
|
Object.defineProperty(exports, "ConcatenatedValuePart", ({ enumerable: true, get: function () { return ConcatenatedValue_js_1.ConcatenatedValuePart; } }));
|
|
343470
|
-
var Formatting_js_1 = __webpack_require__(/*! ./shared/Formatting.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
343985
|
+
var Formatting_js_1 = __webpack_require__(/*! ./shared/Formatting.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/Formatting.js");
|
|
343471
343986
|
Object.defineProperty(exports, "createDefaultValueFormatter", ({ enumerable: true, get: function () { return Formatting_js_1.createDefaultValueFormatter; } }));
|
|
343472
343987
|
Object.defineProperty(exports, "formatConcatenatedValue", ({ enumerable: true, get: function () { return Formatting_js_1.formatConcatenatedValue; } }));
|
|
343473
|
-
var InstanceLabelSelectClauseFactory_js_1 = __webpack_require__(/*! ./shared/InstanceLabelSelectClauseFactory.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
343988
|
+
var InstanceLabelSelectClauseFactory_js_1 = __webpack_require__(/*! ./shared/InstanceLabelSelectClauseFactory.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/InstanceLabelSelectClauseFactory.js");
|
|
343474
343989
|
Object.defineProperty(exports, "createDefaultInstanceLabelSelectClauseFactory", ({ enumerable: true, get: function () { return InstanceLabelSelectClauseFactory_js_1.createDefaultInstanceLabelSelectClauseFactory; } }));
|
|
343475
343990
|
Object.defineProperty(exports, "createClassBasedInstanceLabelSelectClauseFactory", ({ enumerable: true, get: function () { return InstanceLabelSelectClauseFactory_js_1.createClassBasedInstanceLabelSelectClauseFactory; } }));
|
|
343476
343991
|
Object.defineProperty(exports, "createBisInstanceLabelSelectClauseFactory", ({ enumerable: true, get: function () { return InstanceLabelSelectClauseFactory_js_1.createBisInstanceLabelSelectClauseFactory; } }));
|
|
343477
343992
|
Object.defineProperty(exports, "parseInstanceLabel", ({ enumerable: true, get: function () { return InstanceLabelSelectClauseFactory_js_1.parseInstanceLabel; } }));
|
|
343478
|
-
var Logging_js_1 = __webpack_require__(/*! ./shared/Logging.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
343993
|
+
var Logging_js_1 = __webpack_require__(/*! ./shared/Logging.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/Logging.js");
|
|
343479
343994
|
Object.defineProperty(exports, "NOOP_LOGGER", ({ enumerable: true, get: function () { return Logging_js_1.NOOP_LOGGER; } }));
|
|
343480
|
-
var Metadata_js_1 = __webpack_require__(/*! ./shared/Metadata.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
343995
|
+
var Metadata_js_1 = __webpack_require__(/*! ./shared/Metadata.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/Metadata.js");
|
|
343481
343996
|
Object.defineProperty(exports, "createCachingECClassHierarchyInspector", ({ enumerable: true, get: function () { return Metadata_js_1.createCachingECClassHierarchyInspector; } }));
|
|
343482
343997
|
Object.defineProperty(exports, "getClass", ({ enumerable: true, get: function () { return Metadata_js_1.getClass; } }));
|
|
343483
|
-
var Utils_js_1 = __webpack_require__(/*! ./shared/Utils.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
343998
|
+
var Utils_js_1 = __webpack_require__(/*! ./shared/Utils.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/Utils.js");
|
|
343484
343999
|
Object.defineProperty(exports, "createMainThreadReleaseOnTimePassedHandler", ({ enumerable: true, get: function () { return Utils_js_1.createMainThreadReleaseOnTimePassedHandler; } }));
|
|
343485
344000
|
Object.defineProperty(exports, "julianToDateTime", ({ enumerable: true, get: function () { return Utils_js_1.julianToDateTime; } }));
|
|
343486
344001
|
Object.defineProperty(exports, "normalizeFullClassName", ({ enumerable: true, get: function () { return Utils_js_1.normalizeFullClassName; } }));
|
|
343487
344002
|
Object.defineProperty(exports, "parseFullClassName", ({ enumerable: true, get: function () { return Utils_js_1.parseFullClassName; } }));
|
|
343488
344003
|
Object.defineProperty(exports, "releaseMainThread", ({ enumerable: true, get: function () { return Utils_js_1.releaseMainThread; } }));
|
|
343489
344004
|
Object.defineProperty(exports, "trimWhitespace", ({ enumerable: true, get: function () { return Utils_js_1.trimWhitespace; } }));
|
|
343490
|
-
var Values_js_1 = __webpack_require__(/*! ./shared/Values.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344005
|
+
var Values_js_1 = __webpack_require__(/*! ./shared/Values.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/Values.js");
|
|
343491
344006
|
Object.defineProperty(exports, "InstanceKey", ({ enumerable: true, get: function () { return Values_js_1.InstanceKey; } }));
|
|
343492
344007
|
Object.defineProperty(exports, "PrimitiveValue", ({ enumerable: true, get: function () { return Values_js_1.PrimitiveValue; } }));
|
|
343493
344008
|
Object.defineProperty(exports, "TypedPrimitiveValue", ({ enumerable: true, get: function () { return Values_js_1.TypedPrimitiveValue; } }));
|
|
@@ -343495,9 +344010,9 @@ Object.defineProperty(exports, "TypedPrimitiveValue", ({ enumerable: true, get:
|
|
|
343495
344010
|
|
|
343496
344011
|
/***/ },
|
|
343497
344012
|
|
|
343498
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344013
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/ConcatenatedValue.js"
|
|
343499
344014
|
/*!**********************************************************************************************************************************************************!*\
|
|
343500
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344015
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/ConcatenatedValue.js ***!
|
|
343501
344016
|
\**********************************************************************************************************************************************************/
|
|
343502
344017
|
(__unused_webpack_module, exports) {
|
|
343503
344018
|
|
|
@@ -343554,9 +344069,9 @@ var ConcatenatedValue;
|
|
|
343554
344069
|
|
|
343555
344070
|
/***/ },
|
|
343556
344071
|
|
|
343557
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344072
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/Formatting.js"
|
|
343558
344073
|
/*!***************************************************************************************************************************************************!*\
|
|
343559
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344074
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/Formatting.js ***!
|
|
343560
344075
|
\***************************************************************************************************************************************************/
|
|
343561
344076
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
343562
344077
|
|
|
@@ -343569,9 +344084,9 @@ var ConcatenatedValue;
|
|
|
343569
344084
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
343570
344085
|
exports.formatConcatenatedValue = formatConcatenatedValue;
|
|
343571
344086
|
exports.createDefaultValueFormatter = createDefaultValueFormatter;
|
|
343572
|
-
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
343573
|
-
const ConcatenatedValue_js_1 = __webpack_require__(/*! ./ConcatenatedValue.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
343574
|
-
const Utils_js_1 = __webpack_require__(/*! ./Utils.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344087
|
+
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js");
|
|
344088
|
+
const ConcatenatedValue_js_1 = __webpack_require__(/*! ./ConcatenatedValue.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/ConcatenatedValue.js");
|
|
344089
|
+
const Utils_js_1 = __webpack_require__(/*! ./Utils.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/Utils.js");
|
|
343575
344090
|
/**
|
|
343576
344091
|
* Formats a concatenated value into a string, taking into account different types of `ConcatenatedValuePart` that
|
|
343577
344092
|
* the value consists of.
|
|
@@ -343682,9 +344197,9 @@ function applyPointsFormatting(value) {
|
|
|
343682
344197
|
|
|
343683
344198
|
/***/ },
|
|
343684
344199
|
|
|
343685
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344200
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/InstanceLabelSelectClauseFactory.js"
|
|
343686
344201
|
/*!*************************************************************************************************************************************************************************!*\
|
|
343687
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344202
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/InstanceLabelSelectClauseFactory.js ***!
|
|
343688
344203
|
\*************************************************************************************************************************************************************************/
|
|
343689
344204
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
343690
344205
|
|
|
@@ -343700,7 +344215,7 @@ exports.parseInstanceLabel = parseInstanceLabel;
|
|
|
343700
344215
|
exports.createDefaultInstanceLabelSelectClauseFactory = createDefaultInstanceLabelSelectClauseFactory;
|
|
343701
344216
|
exports.createClassBasedInstanceLabelSelectClauseFactory = createClassBasedInstanceLabelSelectClauseFactory;
|
|
343702
344217
|
exports.createBisInstanceLabelSelectClauseFactory = createBisInstanceLabelSelectClauseFactory;
|
|
343703
|
-
const ECSqlValueSelectorSnippets_js_1 = __webpack_require__(/*! ./ecsql-snippets/ECSqlValueSelectorSnippets.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344218
|
+
const ECSqlValueSelectorSnippets_js_1 = __webpack_require__(/*! ./ecsql-snippets/ECSqlValueSelectorSnippets.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/ecsql-snippets/ECSqlValueSelectorSnippets.js");
|
|
343704
344219
|
/** @internal */
|
|
343705
344220
|
exports.ALIAS_PREFIX = "pres_";
|
|
343706
344221
|
/**
|
|
@@ -343867,9 +344382,9 @@ function concatenate(props, selectors, checkSelector) {
|
|
|
343867
344382
|
|
|
343868
344383
|
/***/ },
|
|
343869
344384
|
|
|
343870
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344385
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/Logging.js"
|
|
343871
344386
|
/*!************************************************************************************************************************************************!*\
|
|
343872
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344387
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/Logging.js ***!
|
|
343873
344388
|
\************************************************************************************************************************************************/
|
|
343874
344389
|
(__unused_webpack_module, exports) {
|
|
343875
344390
|
|
|
@@ -343898,9 +344413,9 @@ exports.NOOP_LOGGER = {
|
|
|
343898
344413
|
|
|
343899
344414
|
/***/ },
|
|
343900
344415
|
|
|
343901
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344416
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/Metadata.js"
|
|
343902
344417
|
/*!*************************************************************************************************************************************************!*\
|
|
343903
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344418
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/Metadata.js ***!
|
|
343904
344419
|
\*************************************************************************************************************************************************/
|
|
343905
344420
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
343906
344421
|
|
|
@@ -343913,8 +344428,8 @@ exports.NOOP_LOGGER = {
|
|
|
343913
344428
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
343914
344429
|
exports.createCachingECClassHierarchyInspector = createCachingECClassHierarchyInspector;
|
|
343915
344430
|
exports.getClass = getClass;
|
|
343916
|
-
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
343917
|
-
const Utils_js_1 = __webpack_require__(/*! ./Utils.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344431
|
+
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js");
|
|
344432
|
+
const Utils_js_1 = __webpack_require__(/*! ./Utils.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/Utils.js");
|
|
343918
344433
|
/**
|
|
343919
344434
|
* Creates a new `ECClassHierarchyInspector` that caches results of `derivesFrom` calls.
|
|
343920
344435
|
* @public
|
|
@@ -343964,9 +344479,9 @@ async function getClass(schemaProvider, fullClassName) {
|
|
|
343964
344479
|
|
|
343965
344480
|
/***/ },
|
|
343966
344481
|
|
|
343967
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344482
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/Utils.js"
|
|
343968
344483
|
/*!**********************************************************************************************************************************************!*\
|
|
343969
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344484
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/Utils.js ***!
|
|
343970
344485
|
\**********************************************************************************************************************************************/
|
|
343971
344486
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
343972
344487
|
|
|
@@ -343983,7 +344498,7 @@ exports.trimWhitespace = trimWhitespace;
|
|
|
343983
344498
|
exports.releaseMainThread = releaseMainThread;
|
|
343984
344499
|
exports.createMainThreadReleaseOnTimePassedHandler = createMainThreadReleaseOnTimePassedHandler;
|
|
343985
344500
|
exports.julianToDateTime = julianToDateTime;
|
|
343986
|
-
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
344501
|
+
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js");
|
|
343987
344502
|
/**
|
|
343988
344503
|
* An utility to parse schema and class names from full class name, where
|
|
343989
344504
|
* schema and class names are separated by either `:` or `.`.
|
|
@@ -344083,9 +344598,9 @@ function julianToDateTime(julianDate) {
|
|
|
344083
344598
|
|
|
344084
344599
|
/***/ },
|
|
344085
344600
|
|
|
344086
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344601
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/Values.js"
|
|
344087
344602
|
/*!***********************************************************************************************************************************************!*\
|
|
344088
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344603
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/Values.js ***!
|
|
344089
344604
|
\***********************************************************************************************************************************************/
|
|
344090
344605
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
344091
344606
|
|
|
@@ -344097,7 +344612,7 @@ function julianToDateTime(julianDate) {
|
|
|
344097
344612
|
*--------------------------------------------------------------------------------------------*/
|
|
344098
344613
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
344099
344614
|
exports.TypedPrimitiveValue = exports.PrimitiveValue = exports.InstanceKey = void 0;
|
|
344100
|
-
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
344615
|
+
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js");
|
|
344101
344616
|
/** @public */
|
|
344102
344617
|
var InstanceKey;
|
|
344103
344618
|
(function (InstanceKey) {
|
|
@@ -344216,9 +344731,9 @@ var TypedPrimitiveValue;
|
|
|
344216
344731
|
|
|
344217
344732
|
/***/ },
|
|
344218
344733
|
|
|
344219
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344734
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/ecsql-snippets/ECSqlJoinSnippets.js"
|
|
344220
344735
|
/*!*************************************************************************************************************************************************************************!*\
|
|
344221
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344736
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/ecsql-snippets/ECSqlJoinSnippets.js ***!
|
|
344222
344737
|
\*************************************************************************************************************************************************************************/
|
|
344223
344738
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
344224
344739
|
|
|
@@ -344230,8 +344745,8 @@ var TypedPrimitiveValue;
|
|
|
344230
344745
|
*--------------------------------------------------------------------------------------------*/
|
|
344231
344746
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
344232
344747
|
exports.createRelationshipPathJoinClause = createRelationshipPathJoinClause;
|
|
344233
|
-
const Metadata_js_1 = __webpack_require__(/*! ../Metadata.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344234
|
-
const ECSqlValueSelectorSnippets_js_1 = __webpack_require__(/*! ./ECSqlValueSelectorSnippets.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344748
|
+
const Metadata_js_1 = __webpack_require__(/*! ../Metadata.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/Metadata.js");
|
|
344749
|
+
const ECSqlValueSelectorSnippets_js_1 = __webpack_require__(/*! ./ECSqlValueSelectorSnippets.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/ecsql-snippets/ECSqlValueSelectorSnippets.js");
|
|
344235
344750
|
/**
|
|
344236
344751
|
* Creates an ECSQL JOIN snippet for given relationships' path.
|
|
344237
344752
|
*
|
|
@@ -344364,9 +344879,9 @@ function getClassSelectClause(ecClass, alias) {
|
|
|
344364
344879
|
|
|
344365
344880
|
/***/ },
|
|
344366
344881
|
|
|
344367
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344882
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/ecsql-snippets/ECSqlValueSelectorSnippets.js"
|
|
344368
344883
|
/*!**********************************************************************************************************************************************************************************!*\
|
|
344369
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344884
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/ecsql-snippets/ECSqlValueSelectorSnippets.js ***!
|
|
344370
344885
|
\**********************************************************************************************************************************************************************************/
|
|
344371
344886
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
344372
344887
|
|
|
@@ -344385,9 +344900,9 @@ exports.createInstanceKeySelector = createInstanceKeySelector;
|
|
|
344385
344900
|
exports.createNullableSelector = createNullableSelector;
|
|
344386
344901
|
exports.createConcatenatedValueJsonSelector = createConcatenatedValueJsonSelector;
|
|
344387
344902
|
exports.createConcatenatedValueStringSelector = createConcatenatedValueStringSelector;
|
|
344388
|
-
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
344389
|
-
const Metadata_js_1 = __webpack_require__(/*! ../Metadata.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344390
|
-
const Values_js_1 = __webpack_require__(/*! ../Values.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
344903
|
+
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js");
|
|
344904
|
+
const Metadata_js_1 = __webpack_require__(/*! ../Metadata.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/Metadata.js");
|
|
344905
|
+
const Values_js_1 = __webpack_require__(/*! ../Values.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/Values.js");
|
|
344391
344906
|
/** @public */
|
|
344392
344907
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
344393
344908
|
var TypedValueSelectClauseProps;
|
|
@@ -344636,9 +345151,9 @@ function createPrimitiveValueStringSelector(value) {
|
|
|
344636
345151
|
|
|
344637
345152
|
/***/ },
|
|
344638
345153
|
|
|
344639
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
345154
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/ecsql-snippets/index.js"
|
|
344640
345155
|
/*!*************************************************************************************************************************************************************!*\
|
|
344641
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
345156
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/ecsql-snippets/index.js ***!
|
|
344642
345157
|
\*************************************************************************************************************************************************************/
|
|
344643
345158
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
344644
345159
|
|
|
@@ -344650,7 +345165,7 @@ function createPrimitiveValueStringSelector(value) {
|
|
|
344650
345165
|
*--------------------------------------------------------------------------------------------*/
|
|
344651
345166
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
344652
345167
|
exports.createRelationshipPathJoinClause = exports.createPrimitivePropertyValueSelectorProps = exports.createInstanceKeySelector = exports.createConcatenatedValueStringSelector = exports.createConcatenatedValueJsonSelector = exports.createNullableSelector = exports.createRawPrimitiveValueSelector = exports.createRawPropertyValueSelector = void 0;
|
|
344653
|
-
var ECSqlValueSelectorSnippets_js_1 = __webpack_require__(/*! ./ECSqlValueSelectorSnippets.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
345168
|
+
var ECSqlValueSelectorSnippets_js_1 = __webpack_require__(/*! ./ECSqlValueSelectorSnippets.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/ecsql-snippets/ECSqlValueSelectorSnippets.js");
|
|
344654
345169
|
Object.defineProperty(exports, "createRawPropertyValueSelector", ({ enumerable: true, get: function () { return ECSqlValueSelectorSnippets_js_1.createRawPropertyValueSelector; } }));
|
|
344655
345170
|
Object.defineProperty(exports, "createRawPrimitiveValueSelector", ({ enumerable: true, get: function () { return ECSqlValueSelectorSnippets_js_1.createRawPrimitiveValueSelector; } }));
|
|
344656
345171
|
Object.defineProperty(exports, "createNullableSelector", ({ enumerable: true, get: function () { return ECSqlValueSelectorSnippets_js_1.createNullableSelector; } }));
|
|
@@ -344658,15 +345173,15 @@ Object.defineProperty(exports, "createConcatenatedValueJsonSelector", ({ enumera
|
|
|
344658
345173
|
Object.defineProperty(exports, "createConcatenatedValueStringSelector", ({ enumerable: true, get: function () { return ECSqlValueSelectorSnippets_js_1.createConcatenatedValueStringSelector; } }));
|
|
344659
345174
|
Object.defineProperty(exports, "createInstanceKeySelector", ({ enumerable: true, get: function () { return ECSqlValueSelectorSnippets_js_1.createInstanceKeySelector; } }));
|
|
344660
345175
|
Object.defineProperty(exports, "createPrimitivePropertyValueSelectorProps", ({ enumerable: true, get: function () { return ECSqlValueSelectorSnippets_js_1.createPrimitivePropertyValueSelectorProps; } }));
|
|
344661
|
-
var ECSqlJoinSnippets_js_1 = __webpack_require__(/*! ./ECSqlJoinSnippets.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
345176
|
+
var ECSqlJoinSnippets_js_1 = __webpack_require__(/*! ./ECSqlJoinSnippets.js */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/shared/ecsql-snippets/ECSqlJoinSnippets.js");
|
|
344662
345177
|
Object.defineProperty(exports, "createRelationshipPathJoinClause", ({ enumerable: true, get: function () { return ECSqlJoinSnippets_js_1.createRelationshipPathJoinClause; } }));
|
|
344663
345178
|
|
|
344664
345179
|
|
|
344665
345180
|
/***/ },
|
|
344666
345181
|
|
|
344667
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
345182
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection.js"
|
|
344668
345183
|
/*!**********************************************************************************************************************************************!*\
|
|
344669
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
345184
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection.js ***!
|
|
344670
345185
|
\**********************************************************************************************************************************************/
|
|
344671
345186
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
344672
345187
|
|
|
@@ -344678,32 +345193,32 @@ Object.defineProperty(exports, "createRelationshipPathJoinClause", ({ enumerable
|
|
|
344678
345193
|
*--------------------------------------------------------------------------------------------*/
|
|
344679
345194
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
344680
345195
|
exports.CLEAR_SELECTION_STORAGE_SOURCE = exports.enableUnifiedSelectionSyncWithIModel = exports.computeSelection = exports.createIModelHiliteSetProvider = exports.createCachingHiliteSetProvider = exports.createHiliteSetProvider = exports.createStorage = exports.Selectables = exports.Selectable = exports.TRANSIENT_ELEMENT_CLASSNAME = void 0;
|
|
344681
|
-
var Selectable_js_1 = __webpack_require__(/*! ./unified-selection/Selectable.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
345196
|
+
var Selectable_js_1 = __webpack_require__(/*! ./unified-selection/Selectable.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/Selectable.js");
|
|
344682
345197
|
Object.defineProperty(exports, "TRANSIENT_ELEMENT_CLASSNAME", ({ enumerable: true, get: function () { return Selectable_js_1.TRANSIENT_ELEMENT_CLASSNAME; } }));
|
|
344683
345198
|
Object.defineProperty(exports, "Selectable", ({ enumerable: true, get: function () { return Selectable_js_1.Selectable; } }));
|
|
344684
345199
|
Object.defineProperty(exports, "Selectables", ({ enumerable: true, get: function () { return Selectable_js_1.Selectables; } }));
|
|
344685
|
-
var SelectionStorage_js_1 = __webpack_require__(/*! ./unified-selection/SelectionStorage.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
345200
|
+
var SelectionStorage_js_1 = __webpack_require__(/*! ./unified-selection/SelectionStorage.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/SelectionStorage.js");
|
|
344686
345201
|
Object.defineProperty(exports, "createStorage", ({ enumerable: true, get: function () { return SelectionStorage_js_1.createStorage; } }));
|
|
344687
|
-
var HiliteSetProvider_js_1 = __webpack_require__(/*! ./unified-selection/HiliteSetProvider.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
345202
|
+
var HiliteSetProvider_js_1 = __webpack_require__(/*! ./unified-selection/HiliteSetProvider.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/HiliteSetProvider.js");
|
|
344688
345203
|
Object.defineProperty(exports, "createHiliteSetProvider", ({ enumerable: true, get: function () { return HiliteSetProvider_js_1.createHiliteSetProvider; } }));
|
|
344689
|
-
var CachingHiliteSetProvider_js_1 = __webpack_require__(/*! ./unified-selection/CachingHiliteSetProvider.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
345204
|
+
var CachingHiliteSetProvider_js_1 = __webpack_require__(/*! ./unified-selection/CachingHiliteSetProvider.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/CachingHiliteSetProvider.js");
|
|
344690
345205
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
344691
345206
|
Object.defineProperty(exports, "createCachingHiliteSetProvider", ({ enumerable: true, get: function () { return CachingHiliteSetProvider_js_1.createCachingHiliteSetProvider; } }));
|
|
344692
|
-
var IModelHiliteSetProvider_js_1 = __webpack_require__(/*! ./unified-selection/IModelHiliteSetProvider.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
345207
|
+
var IModelHiliteSetProvider_js_1 = __webpack_require__(/*! ./unified-selection/IModelHiliteSetProvider.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/IModelHiliteSetProvider.js");
|
|
344693
345208
|
Object.defineProperty(exports, "createIModelHiliteSetProvider", ({ enumerable: true, get: function () { return IModelHiliteSetProvider_js_1.createIModelHiliteSetProvider; } }));
|
|
344694
|
-
var SelectionScope_js_1 = __webpack_require__(/*! ./unified-selection/SelectionScope.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
345209
|
+
var SelectionScope_js_1 = __webpack_require__(/*! ./unified-selection/SelectionScope.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/SelectionScope.js");
|
|
344695
345210
|
Object.defineProperty(exports, "computeSelection", ({ enumerable: true, get: function () { return SelectionScope_js_1.computeSelection; } }));
|
|
344696
|
-
var EnableUnifiedSelectionSyncWithIModel_js_1 = __webpack_require__(/*! ./unified-selection/EnableUnifiedSelectionSyncWithIModel.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
345211
|
+
var EnableUnifiedSelectionSyncWithIModel_js_1 = __webpack_require__(/*! ./unified-selection/EnableUnifiedSelectionSyncWithIModel.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/EnableUnifiedSelectionSyncWithIModel.js");
|
|
344697
345212
|
Object.defineProperty(exports, "enableUnifiedSelectionSyncWithIModel", ({ enumerable: true, get: function () { return EnableUnifiedSelectionSyncWithIModel_js_1.enableUnifiedSelectionSyncWithIModel; } }));
|
|
344698
|
-
var SelectionStorage_js_2 = __webpack_require__(/*! ./unified-selection/SelectionStorage.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
345213
|
+
var SelectionStorage_js_2 = __webpack_require__(/*! ./unified-selection/SelectionStorage.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/SelectionStorage.js");
|
|
344699
345214
|
Object.defineProperty(exports, "CLEAR_SELECTION_STORAGE_SOURCE", ({ enumerable: true, get: function () { return SelectionStorage_js_2.CLEAR_SELECTION_STORAGE_SOURCE; } }));
|
|
344700
345215
|
|
|
344701
345216
|
|
|
344702
345217
|
/***/ },
|
|
344703
345218
|
|
|
344704
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
345219
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/CachingHiliteSetProvider.js"
|
|
344705
345220
|
/*!***********************************************************************************************************************************************************************!*\
|
|
344706
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
345221
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/CachingHiliteSetProvider.js ***!
|
|
344707
345222
|
\***********************************************************************************************************************************************************************/
|
|
344708
345223
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
344709
345224
|
|
|
@@ -344716,8 +345231,8 @@ Object.defineProperty(exports, "CLEAR_SELECTION_STORAGE_SOURCE", ({ enumerable:
|
|
|
344716
345231
|
/* eslint-disable @typescript-eslint/no-deprecated */
|
|
344717
345232
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
344718
345233
|
exports.createCachingHiliteSetProvider = createCachingHiliteSetProvider;
|
|
344719
|
-
__webpack_require__(/*! ./DisposePolyfill.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
344720
|
-
const IModelHiliteSetProvider_js_1 = __webpack_require__(/*! ./IModelHiliteSetProvider.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
345234
|
+
__webpack_require__(/*! ./DisposePolyfill.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/DisposePolyfill.js");
|
|
345235
|
+
const IModelHiliteSetProvider_js_1 = __webpack_require__(/*! ./IModelHiliteSetProvider.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/IModelHiliteSetProvider.js");
|
|
344721
345236
|
/**
|
|
344722
345237
|
* Creates a hilite set provider that caches hilite set for current selection for given iModel so any subsequent
|
|
344723
345238
|
* hilite set requests for the same iModel don't cost until selection in given selection storage changes.
|
|
@@ -344738,9 +345253,9 @@ function createCachingHiliteSetProvider(props) {
|
|
|
344738
345253
|
|
|
344739
345254
|
/***/ },
|
|
344740
345255
|
|
|
344741
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
345256
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/DisposePolyfill.js"
|
|
344742
345257
|
/*!**************************************************************************************************************************************************************!*\
|
|
344743
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
345258
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/DisposePolyfill.js ***!
|
|
344744
345259
|
\**************************************************************************************************************************************************************/
|
|
344745
345260
|
() {
|
|
344746
345261
|
|
|
@@ -344759,9 +345274,9 @@ Symbol.asyncDispose ??= Symbol("Symbol.asyncDispose");
|
|
|
344759
345274
|
|
|
344760
345275
|
/***/ },
|
|
344761
345276
|
|
|
344762
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
345277
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/EnableUnifiedSelectionSyncWithIModel.js"
|
|
344763
345278
|
/*!***********************************************************************************************************************************************************************************!*\
|
|
344764
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
345279
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/EnableUnifiedSelectionSyncWithIModel.js ***!
|
|
344765
345280
|
\***********************************************************************************************************************************************************************************/
|
|
344766
345281
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
344767
345282
|
|
|
@@ -344826,15 +345341,15 @@ var __disposeResources = (this && this.__disposeResources) || (function (Suppres
|
|
|
344826
345341
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
344827
345342
|
exports.IModelSelectionHandler = void 0;
|
|
344828
345343
|
exports.enableUnifiedSelectionSyncWithIModel = enableUnifiedSelectionSyncWithIModel;
|
|
344829
|
-
__webpack_require__(/*! ./DisposePolyfill.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
345344
|
+
__webpack_require__(/*! ./DisposePolyfill.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/DisposePolyfill.js");
|
|
344830
345345
|
const rxjs_1 = __webpack_require__(/*! rxjs */ "../../common/temp/node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/cjs/index.js");
|
|
344831
|
-
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
344832
|
-
const HiliteSetProvider_js_1 = __webpack_require__(/*! ./HiliteSetProvider.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
344833
|
-
const IModelHiliteSetProvider_js_1 = __webpack_require__(/*! ./IModelHiliteSetProvider.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
344834
|
-
const Selectable_js_1 = __webpack_require__(/*! ./Selectable.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
344835
|
-
const SelectionScope_js_1 = __webpack_require__(/*! ./SelectionScope.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
344836
|
-
const IModel_js_1 = __webpack_require__(/*! ./types/IModel.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
344837
|
-
const Utils_js_1 = __webpack_require__(/*! ./Utils.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
345346
|
+
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js");
|
|
345347
|
+
const HiliteSetProvider_js_1 = __webpack_require__(/*! ./HiliteSetProvider.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/HiliteSetProvider.js");
|
|
345348
|
+
const IModelHiliteSetProvider_js_1 = __webpack_require__(/*! ./IModelHiliteSetProvider.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/IModelHiliteSetProvider.js");
|
|
345349
|
+
const Selectable_js_1 = __webpack_require__(/*! ./Selectable.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/Selectable.js");
|
|
345350
|
+
const SelectionScope_js_1 = __webpack_require__(/*! ./SelectionScope.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/SelectionScope.js");
|
|
345351
|
+
const IModel_js_1 = __webpack_require__(/*! ./types/IModel.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/types/IModel.js");
|
|
345352
|
+
const Utils_js_1 = __webpack_require__(/*! ./Utils.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/Utils.js");
|
|
344838
345353
|
/**
|
|
344839
345354
|
* Enables synchronization between iModel selection and unified selection.
|
|
344840
345355
|
* @returns function for disposing the synchronization.
|
|
@@ -345161,9 +345676,9 @@ function createIModelHiliteSetProviderFromCachingProvider(cachingHiliteSetProvid
|
|
|
345161
345676
|
|
|
345162
345677
|
/***/ },
|
|
345163
345678
|
|
|
345164
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
345679
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/HiliteSetProvider.js"
|
|
345165
345680
|
/*!****************************************************************************************************************************************************************!*\
|
|
345166
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
345681
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/HiliteSetProvider.js ***!
|
|
345167
345682
|
\****************************************************************************************************************************************************************/
|
|
345168
345683
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
345169
345684
|
|
|
@@ -345177,10 +345692,10 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
345177
345692
|
exports.createHiliteSetProvider = createHiliteSetProvider;
|
|
345178
345693
|
const rxjs_1 = __webpack_require__(/*! rxjs */ "../../common/temp/node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/cjs/index.js");
|
|
345179
345694
|
const rxjs_for_await_1 = __webpack_require__(/*! rxjs-for-await */ "../../common/temp/node_modules/.pnpm/rxjs-for-await@1.0.0_rxjs@7.8.2/node_modules/rxjs-for-await/dist/esm/index.js");
|
|
345180
|
-
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
345181
|
-
const presentation_shared_1 = __webpack_require__(/*! @itwin/presentation-shared */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
345182
|
-
const Selectable_js_1 = __webpack_require__(/*! ./Selectable.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
345183
|
-
const Utils_js_1 = __webpack_require__(/*! ./Utils.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
345695
|
+
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js");
|
|
345696
|
+
const presentation_shared_1 = __webpack_require__(/*! @itwin/presentation-shared */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/presentation-shared.js");
|
|
345697
|
+
const Selectable_js_1 = __webpack_require__(/*! ./Selectable.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/Selectable.js");
|
|
345698
|
+
const Utils_js_1 = __webpack_require__(/*! ./Utils.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/Utils.js");
|
|
345184
345699
|
const HILITE_SET_EMIT_FREQUENCY = 20;
|
|
345185
345700
|
/**
|
|
345186
345701
|
* Creates a hilite set provider that returns a `HiliteSet` for given selectables.
|
|
@@ -345553,9 +346068,9 @@ async function* executeQuery(props) {
|
|
|
345553
346068
|
|
|
345554
346069
|
/***/ },
|
|
345555
346070
|
|
|
345556
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
346071
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/IModelHiliteSetProvider.js"
|
|
345557
346072
|
/*!**********************************************************************************************************************************************************************!*\
|
|
345558
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
346073
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/IModelHiliteSetProvider.js ***!
|
|
345559
346074
|
\**********************************************************************************************************************************************************************/
|
|
345560
346075
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
345561
346076
|
|
|
@@ -345567,11 +346082,11 @@ async function* executeQuery(props) {
|
|
|
345567
346082
|
*--------------------------------------------------------------------------------------------*/
|
|
345568
346083
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
345569
346084
|
exports.createIModelHiliteSetProvider = createIModelHiliteSetProvider;
|
|
345570
|
-
__webpack_require__(/*! ./DisposePolyfill.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
346085
|
+
__webpack_require__(/*! ./DisposePolyfill.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/DisposePolyfill.js");
|
|
345571
346086
|
const rxjs_1 = __webpack_require__(/*! rxjs */ "../../common/temp/node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/cjs/index.js");
|
|
345572
346087
|
const rxjs_for_await_1 = __webpack_require__(/*! rxjs-for-await */ "../../common/temp/node_modules/.pnpm/rxjs-for-await@1.0.0_rxjs@7.8.2/node_modules/rxjs-for-await/dist/esm/index.js");
|
|
345573
|
-
const HiliteSetProvider_js_1 = __webpack_require__(/*! ./HiliteSetProvider.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
345574
|
-
const SelectionStorage_js_1 = __webpack_require__(/*! ./SelectionStorage.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
346088
|
+
const HiliteSetProvider_js_1 = __webpack_require__(/*! ./HiliteSetProvider.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/HiliteSetProvider.js");
|
|
346089
|
+
const SelectionStorage_js_1 = __webpack_require__(/*! ./SelectionStorage.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/SelectionStorage.js");
|
|
345575
346090
|
/**
|
|
345576
346091
|
* Creates a hilite set provider that can efficiently get a hilite set for the "active" selection in an iModel.
|
|
345577
346092
|
*
|
|
@@ -345629,9 +346144,9 @@ class IModelHiliteSetProviderImpl {
|
|
|
345629
346144
|
|
|
345630
346145
|
/***/ },
|
|
345631
346146
|
|
|
345632
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
346147
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/Selectable.js"
|
|
345633
346148
|
/*!*********************************************************************************************************************************************************!*\
|
|
345634
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
346149
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/Selectable.js ***!
|
|
345635
346150
|
\*********************************************************************************************************************************************************/
|
|
345636
346151
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
345637
346152
|
|
|
@@ -345645,8 +346160,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
345645
346160
|
exports.Selectables = exports.TRANSIENT_ELEMENT_CLASSNAME = exports.Selectable = void 0;
|
|
345646
346161
|
const rxjs_1 = __webpack_require__(/*! rxjs */ "../../common/temp/node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/cjs/index.js");
|
|
345647
346162
|
const rxjs_for_await_1 = __webpack_require__(/*! rxjs-for-await */ "../../common/temp/node_modules/.pnpm/rxjs-for-await@1.0.0_rxjs@7.8.2/node_modules/rxjs-for-await/dist/esm/index.js");
|
|
345648
|
-
const presentation_shared_1 = __webpack_require__(/*! @itwin/presentation-shared */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
345649
|
-
const Utils_js_1 = __webpack_require__(/*! ./Utils.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
346163
|
+
const presentation_shared_1 = __webpack_require__(/*! @itwin/presentation-shared */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/presentation-shared.js");
|
|
346164
|
+
const Utils_js_1 = __webpack_require__(/*! ./Utils.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/Utils.js");
|
|
345650
346165
|
/** @public */
|
|
345651
346166
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
345652
346167
|
var Selectable;
|
|
@@ -345877,9 +346392,9 @@ function normalizeClassName(fullClassName) {
|
|
|
345877
346392
|
|
|
345878
346393
|
/***/ },
|
|
345879
346394
|
|
|
345880
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
346395
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/SelectionScope.js"
|
|
345881
346396
|
/*!*************************************************************************************************************************************************************!*\
|
|
345882
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
346397
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/SelectionScope.js ***!
|
|
345883
346398
|
\*************************************************************************************************************************************************************/
|
|
345884
346399
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
345885
346400
|
|
|
@@ -345891,9 +346406,9 @@ function normalizeClassName(fullClassName) {
|
|
|
345891
346406
|
*--------------------------------------------------------------------------------------------*/
|
|
345892
346407
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
345893
346408
|
exports.computeSelection = computeSelection;
|
|
345894
|
-
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
345895
|
-
const Selectable_js_1 = __webpack_require__(/*! ./Selectable.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
345896
|
-
const Utils_js_1 = __webpack_require__(/*! ./Utils.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
346409
|
+
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js");
|
|
346410
|
+
const Selectable_js_1 = __webpack_require__(/*! ./Selectable.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/Selectable.js");
|
|
346411
|
+
const Utils_js_1 = __webpack_require__(/*! ./Utils.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/Utils.js");
|
|
345897
346412
|
/**
|
|
345898
346413
|
* Computes selection from given element IDs.
|
|
345899
346414
|
* @public
|
|
@@ -346139,9 +346654,9 @@ function parseElementIds(ids) {
|
|
|
346139
346654
|
|
|
346140
346655
|
/***/ },
|
|
346141
346656
|
|
|
346142
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
346657
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/SelectionStorage.js"
|
|
346143
346658
|
/*!***************************************************************************************************************************************************************!*\
|
|
346144
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
346659
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/SelectionStorage.js ***!
|
|
346145
346660
|
\***************************************************************************************************************************************************************/
|
|
346146
346661
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
346147
346662
|
|
|
@@ -346154,8 +346669,8 @@ function parseElementIds(ids) {
|
|
|
346154
346669
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
346155
346670
|
exports.CLEAR_SELECTION_STORAGE_SOURCE = void 0;
|
|
346156
346671
|
exports.createStorage = createStorage;
|
|
346157
|
-
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
346158
|
-
const Selectable_js_1 = __webpack_require__(/*! ./Selectable.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
346672
|
+
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js");
|
|
346673
|
+
const Selectable_js_1 = __webpack_require__(/*! ./Selectable.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/Selectable.js");
|
|
346159
346674
|
/**
|
|
346160
346675
|
* Creates a selection storage which stores and allows managing application-level selection.
|
|
346161
346676
|
*
|
|
@@ -346302,9 +346817,9 @@ class MultiLevelSelectablesContainer {
|
|
|
346302
346817
|
|
|
346303
346818
|
/***/ },
|
|
346304
346819
|
|
|
346305
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
346820
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/Utils.js"
|
|
346306
346821
|
/*!****************************************************************************************************************************************************!*\
|
|
346307
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
346822
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/Utils.js ***!
|
|
346308
346823
|
\****************************************************************************************************************************************************/
|
|
346309
346824
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
346310
346825
|
|
|
@@ -346319,10 +346834,10 @@ exports.formIdBindings = formIdBindings;
|
|
|
346319
346834
|
exports.genericExecuteQuery = genericExecuteQuery;
|
|
346320
346835
|
exports.releaseMainThreadOnItemsCount = releaseMainThreadOnItemsCount;
|
|
346321
346836
|
exports.safeDispose = safeDispose;
|
|
346322
|
-
__webpack_require__(/*! ./DisposePolyfill.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
346837
|
+
__webpack_require__(/*! ./DisposePolyfill.js */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/DisposePolyfill.js");
|
|
346323
346838
|
const rxjs_1 = __webpack_require__(/*! rxjs */ "../../common/temp/node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/cjs/index.js");
|
|
346324
|
-
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.
|
|
346325
|
-
const presentation_shared_1 = __webpack_require__(/*! @itwin/presentation-shared */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
346839
|
+
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../common/temp/node_modules/.pnpm/@itwin+core-bentley@5.14.0/node_modules/@itwin/core-bentley/lib/esm/core-bentley.js");
|
|
346840
|
+
const presentation_shared_1 = __webpack_require__(/*! @itwin/presentation-shared */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/presentation-shared.js");
|
|
346326
346841
|
/**
|
|
346327
346842
|
* Forms ECSql bindings from given ID's.
|
|
346328
346843
|
* @internal
|
|
@@ -346394,9 +346909,9 @@ function safeDispose(disposable) {
|
|
|
346394
346909
|
|
|
346395
346910
|
/***/ },
|
|
346396
346911
|
|
|
346397
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
346912
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/types/IModel.js"
|
|
346398
346913
|
/*!***********************************************************************************************************************************************************!*\
|
|
346399
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
346914
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection/types/IModel.js ***!
|
|
346400
346915
|
\***********************************************************************************************************************************************************/
|
|
346401
346916
|
(__unused_webpack_module, exports) {
|
|
346402
346917
|
|
|
@@ -346836,7 +347351,7 @@ var DiagnosticsLogEntry;
|
|
|
346836
347351
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
346837
347352
|
exports.RelationshipPath = exports.RelatedClassInfoWithOptionalRelationship = exports.RelatedClassInfo = exports.PropertyInfo = exports.NavigationPropertyInfo = exports.InstanceKey = void 0;
|
|
346838
347353
|
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
346839
|
-
const presentation_shared_1 = __webpack_require__(/*! @itwin/presentation-shared */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.
|
|
347354
|
+
const presentation_shared_1 = __webpack_require__(/*! @itwin/presentation-shared */ "../../common/temp/node_modules/.pnpm/@itwin+presentation-shared@1.2.22/node_modules/@itwin/presentation-shared/lib/cjs/presentation-shared.js");
|
|
346840
347355
|
/** @public */
|
|
346841
347356
|
var InstanceKey;
|
|
346842
347357
|
(function (InstanceKey) {
|
|
@@ -347365,7 +347880,7 @@ var Key;
|
|
|
347365
347880
|
/**
|
|
347366
347881
|
* Check if the supplied key is a `NodeKey`
|
|
347367
347882
|
*
|
|
347368
|
-
* @deprecated in 5.2 -
|
|
347883
|
+
* @deprecated in 5.2 - might be removed in next major version. Use the new [@itwin/presentation-hierarchies](https://github.com/iTwin/presentation/blob/master/packages/hierarchies/README.md)
|
|
347369
347884
|
* package for creating hierarchies.
|
|
347370
347885
|
*/
|
|
347371
347886
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
@@ -347448,7 +347963,7 @@ class KeySet {
|
|
|
347448
347963
|
*
|
|
347449
347964
|
* **Warning**: getting node keys might be expensive for large KeySets.
|
|
347450
347965
|
*
|
|
347451
|
-
* @deprecated in 5.2 -
|
|
347966
|
+
* @deprecated in 5.2 - might be removed in next major version. Use the new [@itwin/presentation-hierarchies](https://github.com/iTwin/presentation/blob/master/packages/hierarchies/README.md)
|
|
347452
347967
|
* package for creating hierarchies.
|
|
347453
347968
|
*/
|
|
347454
347969
|
get nodeKeys() {
|
|
@@ -347462,7 +347977,7 @@ class KeySet {
|
|
|
347462
347977
|
/**
|
|
347463
347978
|
* Get node keys count
|
|
347464
347979
|
*
|
|
347465
|
-
* @deprecated in 5.2 -
|
|
347980
|
+
* @deprecated in 5.2 - might be removed in next major version. Use the new [@itwin/presentation-hierarchies](https://github.com/iTwin/presentation/blob/master/packages/hierarchies/README.md)
|
|
347466
347981
|
* package for creating hierarchies.
|
|
347467
347982
|
*/
|
|
347468
347983
|
get nodeKeysCount() {
|
|
@@ -351615,7 +352130,7 @@ const EC_js_1 = __webpack_require__(/*! ../EC.js */ "../../presentation/common/l
|
|
|
351615
352130
|
/**
|
|
351616
352131
|
* Standard node types
|
|
351617
352132
|
* @public
|
|
351618
|
-
* @deprecated in 5.2 -
|
|
352133
|
+
* @deprecated in 5.2 - might be removed in next major version. Use the new [@itwin/presentation-hierarchies](https://github.com/iTwin/presentation/blob/master/packages/hierarchies/README.md)
|
|
351619
352134
|
* package for creating hierarchies.
|
|
351620
352135
|
*/
|
|
351621
352136
|
var StandardNodeTypes;
|
|
@@ -351627,7 +352142,7 @@ var StandardNodeTypes;
|
|
|
351627
352142
|
})(StandardNodeTypes || (exports.StandardNodeTypes = StandardNodeTypes = {}));
|
|
351628
352143
|
/**
|
|
351629
352144
|
* @public
|
|
351630
|
-
* @deprecated in 5.2 -
|
|
352145
|
+
* @deprecated in 5.2 - might be removed in next major version. Use the new [@itwin/presentation-hierarchies](https://github.com/iTwin/presentation/blob/master/packages/hierarchies/README.md)
|
|
351631
352146
|
* package for creating hierarchies.
|
|
351632
352147
|
*/
|
|
351633
352148
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
@@ -352313,7 +352828,7 @@ exports.SameLabelInstanceGroupApplicationStage = exports.GroupingSpecificationTy
|
|
|
352313
352828
|
/**
|
|
352314
352829
|
* Available types of [[GroupingSpecification]].
|
|
352315
352830
|
* @public
|
|
352316
|
-
* @deprecated in 5.2 -
|
|
352831
|
+
* @deprecated in 5.2 - might be removed in next major version. Use the new [@itwin/presentation-hierarchies](https://github.com/iTwin/presentation/blob/master/packages/hierarchies/README.md)
|
|
352317
352832
|
* package for creating hierarchies.
|
|
352318
352833
|
*/
|
|
352319
352834
|
var GroupingSpecificationTypes;
|
|
@@ -352325,7 +352840,7 @@ var GroupingSpecificationTypes;
|
|
|
352325
352840
|
/**
|
|
352326
352841
|
* Specifies hierarchy creation stages used to apply [[SameLabelInstanceGroup]] grouping.
|
|
352327
352842
|
* @public
|
|
352328
|
-
* @deprecated in 5.2 -
|
|
352843
|
+
* @deprecated in 5.2 - might be removed in next major version. Use the new [@itwin/presentation-hierarchies](https://github.com/iTwin/presentation/blob/master/packages/hierarchies/README.md)
|
|
352329
352844
|
* package for creating hierarchies.
|
|
352330
352845
|
*/
|
|
352331
352846
|
var SameLabelInstanceGroupApplicationStage;
|
|
@@ -352443,7 +352958,7 @@ exports.ChildNodeSpecificationTypes = void 0;
|
|
|
352443
352958
|
/**
|
|
352444
352959
|
* Used for serializing array of [[ChildNodeSpecification]]
|
|
352445
352960
|
* @public
|
|
352446
|
-
* @deprecated in 5.2 -
|
|
352961
|
+
* @deprecated in 5.2 - might be removed in next major version. Use the new [@itwin/presentation-hierarchies](https://github.com/iTwin/presentation/blob/master/packages/hierarchies/README.md)
|
|
352447
352962
|
* package for creating hierarchies.
|
|
352448
352963
|
*/
|
|
352449
352964
|
var ChildNodeSpecificationTypes;
|
|
@@ -352499,7 +353014,7 @@ exports.QuerySpecificationTypes = void 0;
|
|
|
352499
353014
|
/**
|
|
352500
353015
|
* Used for serializing array of [[QuerySpecification]] to JSON.
|
|
352501
353016
|
* @public
|
|
352502
|
-
* @deprecated in 5.2 -
|
|
353017
|
+
* @deprecated in 5.2 - might be removed in next major version. Use the new [@itwin/presentation-hierarchies](https://github.com/iTwin/presentation/blob/master/packages/hierarchies/README.md)
|
|
352503
353018
|
* package for creating hierarchies.
|
|
352504
353019
|
*/
|
|
352505
353020
|
var QuerySpecificationTypes;
|
|
@@ -353230,7 +353745,7 @@ const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../cor
|
|
|
353230
353745
|
const core_frontend_1 = __webpack_require__(/*! @itwin/core-frontend */ "../../core/frontend/lib/esm/core-frontend.js");
|
|
353231
353746
|
const presentation_common_1 = __webpack_require__(/*! @itwin/presentation-common */ "../../presentation/common/lib/cjs/presentation-common.js");
|
|
353232
353747
|
const internal_1 = __webpack_require__(/*! @itwin/presentation-common/internal */ "../../presentation/common/lib/cjs/presentation-common-internal.js");
|
|
353233
|
-
const unified_selection_1 = __webpack_require__(/*! @itwin/unified-selection */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
353748
|
+
const unified_selection_1 = __webpack_require__(/*! @itwin/unified-selection */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection.js");
|
|
353234
353749
|
const IModelConnectionInitialization_js_1 = __webpack_require__(/*! ./IModelConnectionInitialization.js */ "../../presentation/frontend/lib/cjs/presentation-frontend/IModelConnectionInitialization.js");
|
|
353235
353750
|
const InternalSymbols_js_1 = __webpack_require__(/*! ./InternalSymbols.js */ "../../presentation/frontend/lib/cjs/presentation-frontend/InternalSymbols.js");
|
|
353236
353751
|
const IpcRequestsHandler_js_1 = __webpack_require__(/*! ./IpcRequestsHandler.js */ "../../presentation/frontend/lib/cjs/presentation-frontend/IpcRequestsHandler.js");
|
|
@@ -353258,7 +353773,7 @@ class PresentationManager {
|
|
|
353258
353773
|
/**
|
|
353259
353774
|
* An event raised when hierarchies created using specific ruleset change.
|
|
353260
353775
|
*
|
|
353261
|
-
* @deprecated in 5.2 -
|
|
353776
|
+
* @deprecated in 5.2 - might be removed in next major version. Use the new [@itwin/presentation-hierarchies](https://github.com/iTwin/presentation/blob/master/packages/hierarchies/README.md)
|
|
353262
353777
|
* package for creating hierarchies.
|
|
353263
353778
|
*/
|
|
353264
353779
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
@@ -353428,7 +353943,7 @@ class PresentationManager {
|
|
|
353428
353943
|
/* eslint-disable @typescript-eslint/no-deprecated */
|
|
353429
353944
|
/**
|
|
353430
353945
|
* Returns an iterator that polls nodes asynchronously.
|
|
353431
|
-
* @deprecated in 5.2 -
|
|
353946
|
+
* @deprecated in 5.2 - might be removed in next major version. Use the new [@itwin/presentation-hierarchies](https://github.com/iTwin/presentation/blob/master/packages/hierarchies/README.md)
|
|
353432
353947
|
* package for creating hierarchies.
|
|
353433
353948
|
*/
|
|
353434
353949
|
async getNodesIterator(requestOptions) {
|
|
@@ -353457,7 +353972,7 @@ class PresentationManager {
|
|
|
353457
353972
|
}
|
|
353458
353973
|
/**
|
|
353459
353974
|
* Retrieves nodes count.
|
|
353460
|
-
* @deprecated in 5.2 -
|
|
353975
|
+
* @deprecated in 5.2 - might be removed in next major version. Use the new [@itwin/presentation-hierarchies](https://github.com/iTwin/presentation/blob/master/packages/hierarchies/README.md)
|
|
353461
353976
|
* package for creating hierarchies.
|
|
353462
353977
|
*/
|
|
353463
353978
|
async getNodesCount(requestOptions) {
|
|
@@ -353480,7 +353995,7 @@ class PresentationManager {
|
|
|
353480
353995
|
/**
|
|
353481
353996
|
* Retrieves hierarchy level descriptor.
|
|
353482
353997
|
* @public
|
|
353483
|
-
* @deprecated in 5.2 -
|
|
353998
|
+
* @deprecated in 5.2 - might be removed in next major version. Use the new [@itwin/presentation-hierarchies](https://github.com/iTwin/presentation/blob/master/packages/hierarchies/README.md)
|
|
353484
353999
|
* package for creating hierarchies.
|
|
353485
354000
|
*/
|
|
353486
354001
|
async getNodesDescriptor(requestOptions) {
|
|
@@ -353498,7 +354013,7 @@ class PresentationManager {
|
|
|
353498
354013
|
}
|
|
353499
354014
|
/**
|
|
353500
354015
|
* Retrieves paths from root nodes to children nodes according to specified keys. Intersecting paths will be merged.
|
|
353501
|
-
* @deprecated in 5.2 -
|
|
354016
|
+
* @deprecated in 5.2 - might be removed in next major version. Use the new [@itwin/presentation-hierarchies](https://github.com/iTwin/presentation/blob/master/packages/hierarchies/README.md)
|
|
353502
354017
|
* package for creating hierarchies.
|
|
353503
354018
|
*/
|
|
353504
354019
|
async getNodePaths(requestOptions) {
|
|
@@ -353510,7 +354025,7 @@ class PresentationManager {
|
|
|
353510
354025
|
}
|
|
353511
354026
|
/**
|
|
353512
354027
|
* Retrieves paths from root nodes to nodes containing filter text in their label.
|
|
353513
|
-
* @deprecated in 5.2 -
|
|
354028
|
+
* @deprecated in 5.2 - might be removed in next major version. Use the new [@itwin/presentation-hierarchies](https://github.com/iTwin/presentation/blob/master/packages/hierarchies/README.md)
|
|
353514
354029
|
* package for creating hierarchies.
|
|
353515
354030
|
*/
|
|
353516
354031
|
async getFilteredNodePaths(requestOptions) {
|
|
@@ -355242,7 +355757,7 @@ const presentation_common_1 = __webpack_require__(/*! @itwin/presentation-common
|
|
|
355242
355757
|
const Presentation_js_1 = __webpack_require__(/*! ../Presentation.js */ "../../presentation/frontend/lib/cjs/presentation-frontend/Presentation.js");
|
|
355243
355758
|
// @ts-ignore TS complains about `with` in CJS builds, but not ESM
|
|
355244
355759
|
const HiliteRules_json_1 = __importDefault(__webpack_require__(/*! ./HiliteRules.json */ "../../presentation/frontend/lib/cjs/presentation-frontend/selection/HiliteRules.json"));
|
|
355245
|
-
const unified_selection_1 = __webpack_require__(/*! @itwin/unified-selection */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
355760
|
+
const unified_selection_1 = __webpack_require__(/*! @itwin/unified-selection */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection.js");
|
|
355246
355761
|
const HILITE_RULESET = HiliteRules_json_1.default;
|
|
355247
355762
|
/**
|
|
355248
355763
|
* Presentation-based provider which uses presentation ruleset to determine
|
|
@@ -355713,7 +356228,7 @@ const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../cor
|
|
|
355713
356228
|
const core_frontend_1 = __webpack_require__(/*! @itwin/core-frontend */ "../../core/frontend/lib/esm/core-frontend.js");
|
|
355714
356229
|
const presentation_common_1 = __webpack_require__(/*! @itwin/presentation-common */ "../../presentation/common/lib/cjs/presentation-common.js");
|
|
355715
356230
|
const internal_1 = __webpack_require__(/*! @itwin/presentation-common/internal */ "../../presentation/common/lib/cjs/presentation-common-internal.js");
|
|
355716
|
-
const unified_selection_1 = __webpack_require__(/*! @itwin/unified-selection */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.
|
|
356231
|
+
const unified_selection_1 = __webpack_require__(/*! @itwin/unified-selection */ "../../common/temp/node_modules/.pnpm/@itwin+unified-selection@1.8.6/node_modules/@itwin/unified-selection/lib/cjs/unified-selection.js");
|
|
355717
356232
|
const Presentation_js_1 = __webpack_require__(/*! ../Presentation.js */ "../../presentation/frontend/lib/cjs/presentation-frontend/Presentation.js");
|
|
355718
356233
|
const HiliteSetProvider_js_1 = __webpack_require__(/*! ./HiliteSetProvider.js */ "../../presentation/frontend/lib/cjs/presentation-frontend/selection/HiliteSetProvider.js");
|
|
355719
356234
|
const SelectionChangeEvent_js_1 = __webpack_require__(/*! ./SelectionChangeEvent.js */ "../../presentation/frontend/lib/cjs/presentation-frontend/selection/SelectionChangeEvent.js");
|
|
@@ -357776,9 +358291,9 @@ flatbuffers.ByteBuffer.prototype.createLong = function(low, high) {
|
|
|
357776
358291
|
|
|
357777
358292
|
/***/ },
|
|
357778
358293
|
|
|
357779
|
-
/***/ "../../common/temp/node_modules/.pnpm/js-base64@3.9.
|
|
358294
|
+
/***/ "../../common/temp/node_modules/.pnpm/js-base64@3.9.4/node_modules/js-base64/base64.mjs"
|
|
357780
358295
|
/*!**********************************************************************************************!*\
|
|
357781
|
-
!*** ../../common/temp/node_modules/.pnpm/js-base64@3.9.
|
|
358296
|
+
!*** ../../common/temp/node_modules/.pnpm/js-base64@3.9.4/node_modules/js-base64/base64.mjs ***!
|
|
357782
358297
|
\**********************************************************************************************/
|
|
357783
358298
|
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
357784
358299
|
|
|
@@ -357818,7 +358333,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
357818
358333
|
*
|
|
357819
358334
|
* @author Dan Kogai (https://github.com/dankogai)
|
|
357820
358335
|
*/
|
|
357821
|
-
const version = '3.9.
|
|
358336
|
+
const version = '3.9.4';
|
|
357822
358337
|
/**
|
|
357823
358338
|
* @deprecated use lowercase `version`.
|
|
357824
358339
|
*/
|
|
@@ -370132,7 +370647,18 @@ class WMS {
|
|
|
370132
370647
|
(module) {
|
|
370133
370648
|
|
|
370134
370649
|
"use strict";
|
|
370135
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.14.
|
|
370650
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.14.2","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s build:workers && npm run -s copy:draco","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2022 --outDir lib/esm","clean":"rimraf -g lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:draco":"cpx \\"./node_modules/@loaders.gl/draco/dist/libs/*\\" ./lib/public/scripts","docs":"betools docs --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts && npm run -s extract","extract":"betools extract --fileExt=ts --extractFrom=./src/test/example-code --recursive --out=../../generated-docs/extract","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-deprecation":"eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \\"./src/**/*.ts\\"","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run build:test-worker && vitest --run","cover":"npm run build:test-worker && vitest --run","build:test-worker":"vite build --config ./src/test/worker/vite.config.mts 1>&2","build:workers":"rimraf lib/workers/webpack && vite build --config ./src/workers/ImdlParser/vite.config.mts 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*"},"//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/aec-units-schema":"^1.0.3","@bentley/formats-schema":"^1.0.0","@bentley/units-schema":"^1.0.11","@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/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*","@itwin/object-storage-core":"^3.0.4","@itwin/eslint-plugin":"^6.0.0","@types/node":"~20.17.0","@types/sinon":"^17.0.2","@vitest/browser-playwright":"^4.1.10","@vitest/coverage-v8":"^4.1.10","cpx2":"^8.0.0","eslint":"^9.31.0","playwright":"~1.56.1","rimraf":"^6.0.1","sinon":"^17.0.2","typescript":"~5.6.2","vite":"^6.4.3","vitest":"^4.1.10"},"//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/webgl-compatibility":"workspace:*","@loaders.gl/core":"^4.4.5","@loaders.gl/draco":"^4.4.5","fuse.js":"^3.3.0","wms-capabilities":"0.6.0"}}');
|
|
370651
|
+
|
|
370652
|
+
/***/ },
|
|
370653
|
+
|
|
370654
|
+
/***/ "../../core/quantity/lib/esm/assets/Units.json"
|
|
370655
|
+
/*!*****************************************************!*\
|
|
370656
|
+
!*** ../../core/quantity/lib/esm/assets/Units.json ***!
|
|
370657
|
+
\*****************************************************/
|
|
370658
|
+
(module) {
|
|
370659
|
+
|
|
370660
|
+
"use strict";
|
|
370661
|
+
module.exports = /*#__PURE__*/JSON.parse('{"version":"01.00.00","sourceEcSchemaVersion":"01.00.11","name":"Units","alias":"u","label":"Units","description":"Standard Set of Unit definitions for the system","items":{"SI":{"schemaItemType":"UnitSystem"},"CGS":{"schemaItemType":"UnitSystem"},"METRIC":{"schemaItemType":"UnitSystem"},"IMPERIAL":{"schemaItemType":"UnitSystem"},"MARITIME":{"schemaItemType":"UnitSystem"},"USSURVEY":{"schemaItemType":"UnitSystem"},"INDUSTRIAL":{"schemaItemType":"UnitSystem"},"INTERNATIONAL":{"schemaItemType":"UnitSystem"},"USCUSTOM":{"schemaItemType":"UnitSystem"},"STATISTICS":{"schemaItemType":"UnitSystem"},"FINANCE":{"schemaItemType":"UnitSystem"},"CONSTANT":{"schemaItemType":"UnitSystem"},"APPARENT_POWER":{"schemaItemType":"Phenomenon","label":"Apparent Power","definition":"ELECTRIC_POTENTIAL*CURRENT"},"AREA":{"schemaItemType":"Phenomenon","label":"Area","definition":"LENGTH(2)"},"VOLUME":{"schemaItemType":"Phenomenon","label":"Volume","definition":"LENGTH(3)"},"VELOCITY":{"schemaItemType":"Phenomenon","label":"Velocity","definition":"LENGTH*TIME(-1)"},"ANGULAR_VELOCITY":{"schemaItemType":"Phenomenon","label":"Angular Velocity","definition":"ANGLE*TIME(-1)"},"ACCELERATION":{"schemaItemType":"Phenomenon","label":"Acceleration","definition":"LENGTH*TIME(-2)"},"FORCE":{"schemaItemType":"Phenomenon","label":"Force","definition":"MASS*ACCELERATION"},"PRESSURE":{"schemaItemType":"Phenomenon","label":"Pressure","definition":"FORCE*AREA(-1)"},"FORCE_DENSITY":{"schemaItemType":"Phenomenon","label":"Force Density","definition":"FORCE*VOLUME(-1)"},"PRESSURE_GRADIENT":{"schemaItemType":"Phenomenon","label":"Pressure Gradient","definition":"PRESSURE*LENGTH(-1)"},"TORQUE":{"schemaItemType":"Phenomenon","label":"Torque","definition":"FORCE*LENGTH*ANGLE(-1)"},"LINEAR_TORQUE":{"schemaItemType":"Phenomenon","label":"Linear Torque","definition":"TORQUE*LENGTH(-1)"},"AREA_TORQUE":{"schemaItemType":"Phenomenon","label":"Area Torque","definition":"TORQUE*AREA(-1)"},"AREA_MOMENT_INERTIA":{"schemaItemType":"Phenomenon","label":"Area Moment Inertia","definition":"LENGTH(4)"},"MASS_RATIO":{"schemaItemType":"Phenomenon","label":"Mass Ratio","definition":"MASS*MASS(-1)"},"DENSITY":{"schemaItemType":"Phenomenon","label":"Density","definition":"MASS*VOLUME(-1)"},"SPECIFIC_VOLUME":{"schemaItemType":"Phenomenon","label":"Specific Volume","definition":"VOLUME*MASS(-1)"},"LINEAR_DENSITY":{"schemaItemType":"Phenomenon","label":"Linear Density","definition":"MASS*LENGTH(-1)"},"SURFACE_DENSITY":{"schemaItemType":"Phenomenon","label":"Surface Density","definition":"MASS*AREA(-1)"},"WORK":{"schemaItemType":"Phenomenon","label":"Work","definition":"FORCE*LENGTH"},"POWER":{"schemaItemType":"Phenomenon","label":"Power","definition":"WORK*TIME(-1)"},"VOLUMETRIC_FLOW":{"schemaItemType":"Phenomenon","label":"Volumetric Flow","definition":"VOLUME*TIME(-1)"},"FLOW_DENSITY_PER_AREA":{"schemaItemType":"Phenomenon","label":"Flow Density per Area","description":"Flow demanded by or discharged to a Water/Sewer network per area.","definition":"VOLUMETRIC_FLOW*AREA(-1)"},"MASS_FLOW":{"schemaItemType":"Phenomenon","label":"Mass Flow","definition":"MASS*TIME(-1)"},"MOLAR_FLOW":{"schemaItemType":"Phenomenon","label":"Molar Flow","definition":"MOLE*TIME(-1)"},"DYNAMIC_VISCOSITY":{"schemaItemType":"Phenomenon","label":"Dynamic Viscosity","definition":"PRESSURE*TIME"},"KINEMATIC_VISCOSITY":{"schemaItemType":"Phenomenon","label":"Kinematic Viscosity","definition":"DYNAMIC_VISCOSITY*DENSITY(-1)"},"ELECTRIC_CHARGE":{"schemaItemType":"Phenomenon","label":"Electric Charge","definition":"CURRENT*TIME"},"ELECTRIC_POTENTIAL":{"schemaItemType":"Phenomenon","label":"Electric Potential","definition":"POWER*CURRENT(-1)"},"LUMINOUS_FLUX":{"schemaItemType":"Phenomenon","label":"Luminous Flux","definition":"LUMINOSITY*SOLIDANGLE"},"ILLUMINANCE":{"schemaItemType":"Phenomenon","label":"Illuminance","definition":"LUMINOUS_FLUX*LENGTH(-2)"},"ROTATIONAL_SPRING_CONSTANT":{"schemaItemType":"Phenomenon","label":"Rotational Spring Constant","definition":"TORQUE*ANGLE(-1)"},"LINEAR_ROTATIONAL_SPRING_CONSTANT":{"schemaItemType":"Phenomenon","label":"Linear Rotational Spring Constant","definition":"FORCE*ANGLE(-1)"},"SPRING_CONSTANT":{"schemaItemType":"Phenomenon","label":"Spring Constant","definition":"FORCE*LENGTH(-1)"},"LINEAR_SPRING_CONSTANT":{"schemaItemType":"Phenomenon","label":"Linear Spring Constant","definition":"SPRING_CONSTANT*LENGTH(-1)"},"AREA_SPRING_CONSTANT":{"schemaItemType":"Phenomenon","label":"Area Spring Constant","definition":"SPRING_CONSTANT*AREA(-1)"},"PIPE_DIAMETER_LENGTH":{"schemaItemType":"Phenomenon","label":"Pipe Diameter-Length","description":"The diameter of a pipe multiplied by its length, used as a coefficient for pipe-infiltration calculations.","definition":"LENGTH*LENGTH"},"THERMAL_CONDUCTIVITY":{"schemaItemType":"Phenomenon","label":"Thermal Conductivity","definition":"POWER*LENGTH(-1)*TEMPERATURE_CHANGE(-1)"},"THERMAL_INSULANCE":{"schemaItemType":"Phenomenon","label":"Thermal Resistance","definition":"AREA*TEMPERATURE_CHANGE*POWER(-1)"},"TEMPERATURE_GRADIENT":{"schemaItemType":"Phenomenon","label":"Temperature Gradient","definition":"TEMPERATURE_CHANGE*LENGTH(-1)"},"MOLAR_VOLUME":{"schemaItemType":"Phenomenon","label":"Molar Volume","definition":"VOLUME*MOLE(-1)"},"MOLAR_CONCENTRATION":{"schemaItemType":"Phenomenon","label":"Molar Concentration","definition":"MOLE*VOLUME(-1)"},"SLOPE":{"schemaItemType":"Phenomenon","label":"Slope","definition":"LENGTH*LENGTH(-1)"},"HEAT_TRANSFER":{"schemaItemType":"Phenomenon","label":"Heat Transfer","description":"https://en.wikipedia.org/wiki/Heat_transfer_coefficient","definition":"POWER*AREA(-1)*TEMPERATURE_CHANGE(-1)"},"HEAT_FLUX_DENSITY":{"schemaItemType":"Phenomenon","label":"Heat Flux Density","description":"https://en.wikipedia.org/wiki/Heat_flux see description of heat flux density","definition":"POWER*AREA(-1)"},"TORSIONAL_WARPING_CONSTANT":{"schemaItemType":"Phenomenon","label":"Torsional Warping Constant","definition":"LENGTH(6)"},"POPULATION_DENSITY":{"schemaItemType":"Phenomenon","label":"Population Density","definition":"CAPITA*AREA(-1)"},"FREQUENCY":{"schemaItemType":"Phenomenon","label":"Frequency","definition":"TIME(-1)"},"LINEAR_LOAD":{"schemaItemType":"Phenomenon","label":"Linear Load","definition":"FORCE*LENGTH(-1)"},"ENERGY_DENSITY":{"schemaItemType":"Phenomenon","label":"Energy Density","definition":"WORK*VOLUME(-1)"},"ELECTRICAL_RESISTANCE":{"schemaItemType":"Phenomenon","label":"Electrical Resistance","definition":"ELECTRIC_POTENTIAL*CURRENT(-1)"},"ELECTRICAL_RESISTIVITY":{"schemaItemType":"Phenomenon","label":"Electrical Resistivity","definition":"ELECTRICAL_RESISTANCE*LENGTH"},"SPECIFIC_ENERGY":{"schemaItemType":"Phenomenon","label":"Specific Energy","definition":"WORK*MASS(-1)"},"SPECIFIC_HEAT_CAPACITY":{"schemaItemType":"Phenomenon","label":"Specific_heat Capacity","definition":"WORK*MASS(-1)*TEMPERATURE_CHANGE(-1)"},"SPECIFIC_HEAT_CAPACITY_MOLAR":{"schemaItemType":"Phenomenon","label":"Specific_heat Capacity Molar","definition":"WORK*MOLE(-1)*TEMPERATURE_CHANGE(-1)"},"PERCENTAGE":{"schemaItemType":"Phenomenon","label":"Percentage","definition":"NUMBER"},"PROBABILITY":{"schemaItemType":"Phenomenon","label":"Probability","definition":"NUMBER"},"LINEAR_RATE":{"schemaItemType":"Phenomenon","label":"Linear Rate","definition":"NUMBER*LENGTH(-1)"},"LINEAR_COEFFICIENT_OF_THERMAL_EXPANSION":{"schemaItemType":"Phenomenon","label":"Linear Coefficient Of Thermal Expansion","definition":"LENGTH*LENGTH(-1)*TEMPERATURE_CHANGE(-1)"},"VOLUME_RATIO":{"schemaItemType":"Phenomenon","label":"Volume Ratio","definition":"VOLUME*VOLUME(-1)"},"LENGTH_RATIO":{"schemaItemType":"Phenomenon","definition":"LENGTH*LENGTH(-1)"},"VOLUME_PER_LENGTH":{"schemaItemType":"Phenomenon","label":"Volume per Unit Length","definition":"VOLUME*LENGTH(-1)"},"LENGTH":{"schemaItemType":"Phenomenon","label":"Length","definition":"LENGTH"},"MASS":{"schemaItemType":"Phenomenon","label":"Mass","definition":"MASS"},"TIME":{"schemaItemType":"Phenomenon","label":"Time","definition":"TIME"},"TEMPERATURE":{"schemaItemType":"Phenomenon","label":"Temperature","definition":"TEMPERATURE"},"TEMPERATURE_CHANGE":{"schemaItemType":"Phenomenon","label":"Temperature Change","definition":"TEMPERATURE_CHANGE"},"CURRENT":{"schemaItemType":"Phenomenon","label":"Current","definition":"CURRENT"},"MOLE":{"schemaItemType":"Phenomenon","label":"Mole","definition":"MOLE"},"LUMINOSITY":{"schemaItemType":"Phenomenon","label":"Luminosity","definition":"LUMINOSITY"},"ANGLE":{"schemaItemType":"Phenomenon","label":"Angle","definition":"ANGLE"},"HORIZONTAL_DIRECTION":{"schemaItemType":"Phenomenon","label":"Horizontal Direction","definition":"HORIZONTAL_DIRECTION"},"SOLIDANGLE":{"schemaItemType":"Phenomenon","label":"Solid Angle","definition":"SOLIDANGLE"},"CURRENCY":{"schemaItemType":"Phenomenon","definition":"CURRENCY"},"CAPITA":{"schemaItemType":"Phenomenon","label":"Capita","definition":"CAPITA"},"NUMBER":{"schemaItemType":"Phenomenon","label":"Number","definition":"NUMBER"},"THREAD_PITCH":{"schemaItemType":"Phenomenon","label":"Thread Pitch","definition":"LENGTH*ANGLE(-1)"},"ENTROPY":{"schemaItemType":"Phenomenon","label":"Entropy","definition":"WORK*TEMPERATURE_CHANGE(-1)"},"LUMINOUS_EFFICACY":{"schemaItemType":"Phenomenon","label":"Luminous Efficacy","definition":"LUMINOUS_FLUX*POWER(-1)"},"MOMENT_DISPLAY_SCALE":{"schemaItemType":"Phenomenon","label":"Moment Scale","description":"Display size of the linear moment","definition":"FORCE(-1)"},"FORCE_DISPLAY_SCALE":{"schemaItemType":"Phenomenon","label":"Force Scale","description":"Display size of the force","definition":"LINEAR_LOAD(-1)"},"PI":{"schemaItemType":"Constant","label":"Pi","phenomenon":"Units.LENGTH_RATIO","definition":"ONE","numerator":3.141592653589793},"QUARTER_PI":{"schemaItemType":"Constant","label":"Pi/4","phenomenon":"Units.LENGTH_RATIO","definition":"PI","numerator":1,"denominator":4},"HALF_PI":{"schemaItemType":"Constant","label":"Pi/2","phenomenon":"Units.LENGTH_RATIO","definition":"PI","numerator":1,"denominator":2},"TWO_PI":{"schemaItemType":"Constant","label":"2Pi","phenomenon":"Units.LENGTH_RATIO","definition":"PI","numerator":2},"DEG360":{"schemaItemType":"Constant","label":"360°","phenomenon":"Units.ANGLE","definition":"ARC_DEG","numerator":360},"STD_G":{"schemaItemType":"Constant","label":"ɡ0","phenomenon":"Units.ACCELERATION","definition":"M*S(-2)","numerator":9.80665},"DECI":{"schemaItemType":"Constant","label":"deci","phenomenon":"Units.NUMBER","definition":"ONE","numerator":0.1},"CENTI":{"schemaItemType":"Constant","label":"centi","phenomenon":"Units.NUMBER","definition":"ONE","numerator":0.01},"MILLI":{"schemaItemType":"Constant","label":"milli","phenomenon":"Units.NUMBER","definition":"ONE","numerator":0.001},"MICRO":{"schemaItemType":"Constant","label":"micro","phenomenon":"Units.NUMBER","definition":"ONE","numerator":0.000001},"NANO":{"schemaItemType":"Constant","label":"nano","phenomenon":"Units.NUMBER","definition":"ONE","numerator":1e-9},"PICO":{"schemaItemType":"Constant","label":"pico","phenomenon":"Units.NUMBER","definition":"ONE","numerator":1e-12},"FEMTO":{"schemaItemType":"Constant","label":"femto","phenomenon":"Units.NUMBER","definition":"ONE","numerator":1e-15},"ATTO":{"schemaItemType":"Constant","label":"atto","phenomenon":"Units.NUMBER","definition":"ONE","numerator":1e-18},"ZEPTO":{"schemaItemType":"Constant","label":"zepto","phenomenon":"Units.NUMBER","definition":"ONE","numerator":1e-21},"YOCTO":{"schemaItemType":"Constant","label":"yocto","phenomenon":"Units.NUMBER","definition":"ONE","numerator":1e-24},"DECA":{"schemaItemType":"Constant","phenomenon":"Units.NUMBER","definition":"ONE","numerator":10},"HECTO":{"schemaItemType":"Constant","label":"hecto","phenomenon":"Units.NUMBER","definition":"ONE","numerator":100},"KILO":{"schemaItemType":"Constant","label":"kilo","phenomenon":"Units.NUMBER","definition":"ONE","numerator":1000},"MEGA":{"schemaItemType":"Constant","label":"mega","phenomenon":"Units.NUMBER","definition":"ONE","numerator":1000000},"GIGA":{"schemaItemType":"Constant","label":"giga","phenomenon":"Units.NUMBER","definition":"ONE","numerator":1000000000},"TERA":{"schemaItemType":"Constant","label":"tera","phenomenon":"Units.NUMBER","definition":"ONE","numerator":1000000000000},"PETA":{"schemaItemType":"Constant","label":"peta","phenomenon":"Units.NUMBER","definition":"ONE","numerator":1000000000000000},"EXA":{"schemaItemType":"Constant","label":"exa","phenomenon":"Units.NUMBER","definition":"ONE","numerator":1000000000000000000},"ZETTA":{"schemaItemType":"Constant","label":"zetta","phenomenon":"Units.NUMBER","definition":"ONE","numerator":1e+21},"YOTTA":{"schemaItemType":"Constant","label":"yotta","phenomenon":"Units.NUMBER","definition":"ONE","numerator":1e+24},"MM":{"schemaItemType":"Unit","label":"mm","phenomenon":"Units.LENGTH","unitSystem":"Units.METRIC","definition":"[MILLI]*M"},"CM":{"schemaItemType":"Unit","label":"cm","phenomenon":"Units.LENGTH","unitSystem":"Units.METRIC","definition":"[CENTI]*M"},"DM":{"schemaItemType":"Unit","label":"dm","phenomenon":"Units.LENGTH","unitSystem":"Units.METRIC","definition":"[DECI]*M"},"KM":{"schemaItemType":"Unit","label":"km","phenomenon":"Units.LENGTH","unitSystem":"Units.METRIC","definition":"[KILO]*M"},"UM":{"schemaItemType":"Unit","label":"µm","phenomenon":"Units.LENGTH","unitSystem":"Units.METRIC","definition":"[MICRO]*M"},"MILLIINCH":{"schemaItemType":"Unit","label":"mil","phenomenon":"Units.LENGTH","unitSystem":"Units.USCUSTOM","definition":"[MILLI]*IN"},"MICROINCH":{"schemaItemType":"Unit","label":"µin","phenomenon":"Units.LENGTH","unitSystem":"Units.USCUSTOM","definition":"[MICRO]*IN"},"MILLIFOOT":{"schemaItemType":"Unit","label":"mft","phenomenon":"Units.LENGTH","unitSystem":"Units.USCUSTOM","definition":"[MILLI]*FT"},"IN":{"schemaItemType":"Unit","label":"in","description":"Exact, http://www.nist.gov/pml/wmd/pubs/upload/hb44-15-web-final.pdf, Appendix B. Section 3.1, Page B-10","phenomenon":"Units.LENGTH","unitSystem":"Units.USCUSTOM","definition":"MM","numerator":25.4},"FT":{"schemaItemType":"Unit","label":"ft","description":"Exact, http://www.nist.gov/pml/wmd/pubs/upload/hb44-15-web-final.pdf, Appendix C. Section 2, Page C-4","phenomenon":"Units.LENGTH","unitSystem":"Units.USCUSTOM","definition":"IN","numerator":12},"YRD":{"schemaItemType":"Unit","label":"yd","description":"Exact, http://www.nist.gov/pml/wmd/pubs/upload/hb44-15-web-final.pdf, Appendix C. Section 2, Page C-4","phenomenon":"Units.LENGTH","unitSystem":"Units.USCUSTOM","definition":"FT","numerator":3},"CHAIN":{"schemaItemType":"Unit","label":"chain","description":"Exact, http://www.nist.gov/pml/wmd/pubs/upload/hb44-15-web-final.pdf, Appendix C. Section 4, Page C-8","phenomenon":"Units.LENGTH","unitSystem":"Units.USCUSTOM","definition":"FT","numerator":66},"MILE":{"schemaItemType":"Unit","label":"mi","description":"Exact, http://www.nist.gov/pml/wmd/pubs/upload/hb44-15-web-final.pdf, Appendix C. Section 4, Page C-8","phenomenon":"Units.LENGTH","unitSystem":"Units.USCUSTOM","definition":"YRD","numerator":1760},"US_SURVEY_IN":{"schemaItemType":"Unit","label":"in (US Survey)","description":"100/3937 Derived from the definition of us survey foot in terms of meters. Exact, http://www.nist.gov/pml/wmd/pubs/upload/hb44-15-web-final.pdf, Appendix C. Section 4, Page C-9","phenomenon":"Units.LENGTH","unitSystem":"Units.USSURVEY","definition":"M","numerator":100,"denominator":3937},"US_SURVEY_FT":{"schemaItemType":"Unit","label":"ft (US Survey)","description":"Exact, http://www.nist.gov/pml/wmd/pubs/upload/hb44-15-web-final.pdf, Appendix C. Section 2, Page C-4","phenomenon":"Units.LENGTH","unitSystem":"Units.USSURVEY","definition":"US_SURVEY_IN","numerator":12},"US_SURVEY_YRD":{"schemaItemType":"Unit","label":"yrd (US Survey)","description":"Exact, http://www.nist.gov/pml/wmd/pubs/upload/hb44-15-web-final.pdf, Appendix C. Section 2, Page C-4","phenomenon":"Units.LENGTH","unitSystem":"Units.USSURVEY","definition":"US_SURVEY_FT","numerator":3},"US_SURVEY_CHAIN":{"schemaItemType":"Unit","label":"chain (US Survey)","description":"Exact, http://www.nist.gov/pml/wmd/pubs/upload/hb44-15-web-final.pdf, Appendix C. Section 4, Page C-8","phenomenon":"Units.LENGTH","unitSystem":"Units.USSURVEY","definition":"US_SURVEY_FT","numerator":66},"US_SURVEY_MILE":{"schemaItemType":"Unit","label":"mi (US Survey)","description":"Exact, http://www.nist.gov/pml/wmd/pubs/upload/hb44-15-web-final.pdf, Appendix C. Section 4, Page C-8","phenomenon":"Units.LENGTH","unitSystem":"Units.USSURVEY","definition":"US_SURVEY_YRD","numerator":1760},"NAUT_MILE":{"schemaItemType":"Unit","label":"nmi","description":"International Nautical Mile. Exact, http://www.nist.gov/pml/wmd/pubs/upload/hb44-15-web-final.pdf, Appendix C. Section 2, Page C-4","phenomenon":"Units.LENGTH","unitSystem":"Units.MARITIME","definition":"M","numerator":1852},"G":{"schemaItemType":"Unit","label":"g","phenomenon":"Units.MASS","unitSystem":"Units.METRIC","definition":"[MILLI]*KG"},"MG":{"schemaItemType":"Unit","label":"mg","phenomenon":"Units.MASS","unitSystem":"Units.METRIC","definition":"[MILLI]*G"},"MKG":{"schemaItemType":"Unit","label":"µg","phenomenon":"Units.MASS","unitSystem":"Units.METRIC","definition":"[MICRO]*G"},"NG":{"schemaItemType":"Unit","label":"ng","phenomenon":"Units.MASS","unitSystem":"Units.METRIC","definition":"[NANO]*G"},"MEGAGRAM":{"schemaItemType":"Unit","label":"Mg","phenomenon":"Units.MASS","unitSystem":"Units.METRIC","definition":"[MEGA]*G"},"TONNE":{"schemaItemType":"Unit","label":"tonne","description":"Also known as a metric ton http://phyMETRICcs.nist.gov/cuu/pdf/sp811.pdf, Appendix B.","phenomenon":"Units.MASS","unitSystem":"Units.METRIC","definition":"[KILO]*KG"},"LBM":{"schemaItemType":"Unit","label":"lb","description":"Is Avoirdupois Pound. Exact, http://physics.nist.gov/cuu/pdf/sp811.pdf, Appendix B. Footnote 22","phenomenon":"Units.MASS","unitSystem":"Units.USCUSTOM","definition":"KG","numerator":0.45359237},"SLUG":{"schemaItemType":"Unit","label":"slug","phenomenon":"Units.MASS","unitSystem":"Units.USCUSTOM","definition":"LBF*S(2)*FT(-1)"},"GRM":{"schemaItemType":"Unit","label":"gr","description":"Exact, http://www.nist.gov/pml/wmd/pubs/upload/hb44-15-web-final.pdf, Appendix B. Section 3.2, Page B-10","phenomenon":"Units.MASS","unitSystem":"Units.USCUSTOM","definition":"LBM","denominator":7000},"SHORT_TON_MASS":{"schemaItemType":"Unit","label":"tn (short)","description":"Exact, http://physics.nist.gov/cuu/pdf/sp811.pdf, Appendix B.","phenomenon":"Units.MASS","unitSystem":"Units.USCUSTOM","definition":"LBM","numerator":2000},"LONG_TON_MASS":{"schemaItemType":"Unit","label":"tn (long)","description":"Exact, http://physics.nist.gov/cuu/pdf/sp811.pdf, Appendix B.","phenomenon":"Units.MASS","unitSystem":"Units.USCUSTOM","definition":"LBM","numerator":2240},"KIPM":{"schemaItemType":"Unit","label":"kipm","description":"Exact, http://physics.nist.gov/cuu/pdf/sp811.pdf, Appendix B.","phenomenon":"Units.MASS","unitSystem":"Units.USCUSTOM","definition":"[KILO]*LBM"},"OZM":{"schemaItemType":"Unit","label":"oz","description":"1/16 Exact, https://en.wikipedia.org/wiki/Ounce","phenomenon":"Units.MASS","unitSystem":"Units.USCUSTOM","definition":"LBM","denominator":16},"MIN":{"schemaItemType":"Unit","label":"min","phenomenon":"Units.TIME","unitSystem":"Units.INTERNATIONAL","definition":"S","numerator":60},"HR":{"schemaItemType":"Unit","label":"h","phenomenon":"Units.TIME","unitSystem":"Units.INTERNATIONAL","definition":"MIN","numerator":60},"DAY":{"schemaItemType":"Unit","label":"days","phenomenon":"Units.TIME","unitSystem":"Units.INTERNATIONAL","definition":"HR","numerator":24},"WEEK":{"schemaItemType":"Unit","label":"week","phenomenon":"Units.TIME","unitSystem":"Units.INTERNATIONAL","definition":"DAY","numerator":7},"YR":{"schemaItemType":"Unit","label":"years","description":"http://physics.nist.gov/cuu/pdf/sp811.pdf, Appendix B. Year is 3.1536 E+07 seconds which is equal to 365 * 24 * 60 * 60","phenomenon":"Units.TIME","unitSystem":"Units.INTERNATIONAL","definition":"DAY","numerator":365},"YEAR_SIDEREAL":{"schemaItemType":"Unit","label":"Year (Sidereal)","description":"http://physics.nist.gov/cuu/pdf/sp811.pdf, Appendix B.","phenomenon":"Units.TIME","unitSystem":"Units.INTERNATIONAL","definition":"S","numerator":31558150},"YEAR_TROPICAL":{"schemaItemType":"Unit","label":"Year (Tropical)","description":"http://physics.nist.gov/cuu/pdf/sp811.pdf, Appendix B.","phenomenon":"Units.TIME","unitSystem":"Units.INTERNATIONAL","definition":"S","numerator":31556930},"MS":{"schemaItemType":"Unit","label":"ms","phenomenon":"Units.TIME","unitSystem":"Units.INTERNATIONAL","definition":"[MILLI]*S"},"MKS":{"schemaItemType":"Unit","label":"µs","phenomenon":"Units.TIME","unitSystem":"Units.INTERNATIONAL","definition":"[MICRO]*S"},"CELSIUS":{"schemaItemType":"Unit","label":"°C","phenomenon":"Units.TEMPERATURE","unitSystem":"Units.METRIC","definition":"K","offset":273.15},"FAHRENHEIT":{"schemaItemType":"Unit","label":"°F","description":"Factor is 5/9","phenomenon":"Units.TEMPERATURE","unitSystem":"Units.USCUSTOM","definition":"CELSIUS","numerator":5,"denominator":9,"offset":-32},"RANKINE":{"schemaItemType":"Unit","label":"°R","description":"Factor is 5/9","phenomenon":"Units.TEMPERATURE","unitSystem":"Units.USCUSTOM","definition":"K","numerator":5,"denominator":9},"DELTA_CELSIUS":{"schemaItemType":"Unit","label":"Δ°C","phenomenon":"Units.TEMPERATURE_CHANGE","unitSystem":"Units.METRIC","definition":"DELTA_KELVIN"},"DELTA_FAHRENHEIT":{"schemaItemType":"Unit","label":"Δ°F","description":"Factor is 5/9","phenomenon":"Units.TEMPERATURE_CHANGE","unitSystem":"Units.USCUSTOM","definition":"DELTA_CELSIUS","numerator":5,"denominator":9},"DELTA_RANKINE":{"schemaItemType":"Unit","label":"Δ°R","description":"Factor is 5/9","phenomenon":"Units.TEMPERATURE_CHANGE","unitSystem":"Units.USCUSTOM","definition":"DELTA_KELVIN","numerator":5,"denominator":9},"KELVIN_PER_M":{"schemaItemType":"Unit","label":"ΔK/m","phenomenon":"Units.TEMPERATURE_GRADIENT","unitSystem":"Units.SI","definition":"DELTA_KELVIN*M(-1)"},"STRAIN_PER_KELVIN":{"schemaItemType":"Unit","label":"1/ΔK","phenomenon":"Units.LINEAR_COEFFICIENT_OF_THERMAL_EXPANSION","unitSystem":"Units.SI","definition":"DELTA_KELVIN(-1)"},"STRAIN_PER_CELSIUS":{"schemaItemType":"Unit","label":"1/Δ°C","phenomenon":"Units.LINEAR_COEFFICIENT_OF_THERMAL_EXPANSION","unitSystem":"Units.METRIC","definition":"DELTA_CELSIUS(-1)"},"STRAIN_PER_FAHRENHEIT":{"schemaItemType":"Unit","label":"1/Δ°F","phenomenon":"Units.LINEAR_COEFFICIENT_OF_THERMAL_EXPANSION","unitSystem":"Units.USCUSTOM","definition":"DELTA_FAHRENHEIT(-1)"},"STRAIN_PER_RANKINE":{"schemaItemType":"Unit","label":"1/Δ°R","phenomenon":"Units.LINEAR_COEFFICIENT_OF_THERMAL_EXPANSION","unitSystem":"Units.USCUSTOM","definition":"DELTA_RANKINE(-1)"},"LUMEN":{"schemaItemType":"Unit","label":"lm","phenomenon":"Units.LUMINOUS_FLUX","unitSystem":"Units.SI","definition":"CD*STERAD"},"LUX":{"schemaItemType":"Unit","label":"lx","phenomenon":"Units.ILLUMINANCE","unitSystem":"Units.SI","definition":"LUMEN*M(-2)"},"LUMEN_PER_SQ_FT":{"schemaItemType":"Unit","label":"lm/ft²","phenomenon":"Units.ILLUMINANCE","unitSystem":"Units.USCUSTOM","definition":"LUMEN*FT(-2)"},"KMOL":{"schemaItemType":"Unit","label":"kmol","phenomenon":"Units.MOLE","unitSystem":"Units.METRIC","definition":"[KILO]*MOL"},"LB_MOL":{"schemaItemType":"Unit","label":"lb-mol","description":"ASTM SI 10 standard SI1-.phhc8328.pdf page 29, 35 and http://en.wikipedia.org/wiki/Mole_%28unit%29","phenomenon":"Units.MOLE","unitSystem":"Units.USCUSTOM","definition":"MOL","numerator":453.59237},"HUNDRED_PERSON":{"schemaItemType":"Unit","phenomenon":"Units.CAPITA","unitSystem":"Units.STATISTICS","definition":"[HECTO]*PERSON"},"THOUSAND_PERSON":{"schemaItemType":"Unit","phenomenon":"Units.CAPITA","unitSystem":"Units.STATISTICS","definition":"[KILO]*PERSON"},"N_M_PER_RAD":{"schemaItemType":"Unit","label":"N·m/rad","phenomenon":"Units.ROTATIONAL_SPRING_CONSTANT","unitSystem":"Units.SI","definition":"N_M*RAD(-1)"},"KN_M_PER_RAD":{"schemaItemType":"Unit","label":"kN·m/rad","phenomenon":"Units.ROTATIONAL_SPRING_CONSTANT","unitSystem":"Units.METRIC","definition":"KN_M*RAD(-1)"},"N_M_PER_DEG":{"schemaItemType":"Unit","label":"N·m/deg","phenomenon":"Units.ROTATIONAL_SPRING_CONSTANT","unitSystem":"Units.METRIC","definition":"N_M*ARC_DEG(-1)"},"KN_M_PER_DEG":{"schemaItemType":"Unit","label":"kN·m/deg","phenomenon":"Units.ROTATIONAL_SPRING_CONSTANT","unitSystem":"Units.METRIC","definition":"KN_M*ARC_DEG(-1)"},"KPF_FT_PER_RAD":{"schemaItemType":"Unit","label":"kpf·ft/rad","phenomenon":"Units.ROTATIONAL_SPRING_CONSTANT","unitSystem":"Units.USCUSTOM","definition":"KPF_FT*RAD(-1)"},"KPF_FT_PER_DEG":{"schemaItemType":"Unit","label":"kpf·ft/deg","phenomenon":"Units.ROTATIONAL_SPRING_CONSTANT","unitSystem":"Units.USCUSTOM","definition":"KPF_FT*ARC_DEG(-1)"},"N_PER_RAD":{"schemaItemType":"Unit","label":"N/rad","phenomenon":"Units.LINEAR_ROTATIONAL_SPRING_CONSTANT","unitSystem":"Units.SI","definition":"N*RAD(-1)"},"KN_PER_RAD":{"schemaItemType":"Unit","label":"kN/rad","phenomenon":"Units.LINEAR_ROTATIONAL_SPRING_CONSTANT","unitSystem":"Units.METRIC","definition":"KN*RAD(-1)"},"KPF_PER_RAD":{"schemaItemType":"Unit","label":"kpf/rad","phenomenon":"Units.LINEAR_ROTATIONAL_SPRING_CONSTANT","unitSystem":"Units.USCUSTOM","definition":"KPF*RAD(-1)"},"SPRING_CONSTANT_N_PER_M":{"schemaItemType":"Unit","label":"N/m","phenomenon":"Units.SPRING_CONSTANT","unitSystem":"Units.SI","definition":"N*M(-1)"},"SPRING_CONSTANT_KN_PER_M":{"schemaItemType":"Unit","label":"kN/m","phenomenon":"Units.SPRING_CONSTANT","unitSystem":"Units.METRIC","definition":"KN*M(-1)"},"SPRING_CONSTANT_KPF_PER_FT":{"schemaItemType":"Unit","label":"kpf/ft","phenomenon":"Units.SPRING_CONSTANT","unitSystem":"Units.USCUSTOM","definition":"KPF*FT(-1)"},"LINEAR_SPRING_CONSTANT_N_PER_SQ_M":{"schemaItemType":"Unit","label":"N/m²","phenomenon":"Units.LINEAR_SPRING_CONSTANT","unitSystem":"Units.SI","definition":"SPRING_CONSTANT_N_PER_M*M(-1)"},"LINEAR_SPRING_CONSTANT_KN_PER_SQ_M":{"schemaItemType":"Unit","label":"kN/m²","phenomenon":"Units.LINEAR_SPRING_CONSTANT","unitSystem":"Units.METRIC","definition":"SPRING_CONSTANT_KN_PER_M*M(-1)"},"LINEAR_SPRING_CONSTANT_KPF_PER_SQ_FT":{"schemaItemType":"Unit","label":"kpf/ft²","phenomenon":"Units.LINEAR_SPRING_CONSTANT","unitSystem":"Units.USCUSTOM","definition":"SPRING_CONSTANT_KPF_PER_FT*FT(-1)"},"AREA_SPRING_CONSTANT_N_PER_CUB_M":{"schemaItemType":"Unit","label":"N/m³","phenomenon":"Units.AREA_SPRING_CONSTANT","unitSystem":"Units.SI","definition":"SPRING_CONSTANT_N_PER_M*SQ_M(-1)"},"AREA_SPRING_CONSTANT_KN_PER_CUB_M":{"schemaItemType":"Unit","label":"kN/m³","phenomenon":"Units.AREA_SPRING_CONSTANT","unitSystem":"Units.METRIC","definition":"SPRING_CONSTANT_KN_PER_M*SQ_M(-1)"},"AREA_SPRING_CONSTANT_KPF_PER_CUB_FT":{"schemaItemType":"Unit","label":"kpf/ft³","phenomenon":"Units.AREA_SPRING_CONSTANT","unitSystem":"Units.USCUSTOM","definition":"SPRING_CONSTANT_KPF_PER_FT*SQ_FT(-1)"},"M_PER_SEC_SQ":{"schemaItemType":"Unit","label":"m/sec²","phenomenon":"Units.ACCELERATION","unitSystem":"Units.SI","definition":"M*S(-2)"},"CM_PER_SEC_SQ":{"schemaItemType":"Unit","label":"cm/sec²","phenomenon":"Units.ACCELERATION","unitSystem":"Units.METRIC","definition":"CM*S(-2)"},"FT_PER_SEC_SQ":{"schemaItemType":"Unit","label":"ft/sec²","phenomenon":"Units.ACCELERATION","unitSystem":"Units.USCUSTOM","definition":"FT*S(-2)"},"ARC_DEG":{"schemaItemType":"Unit","label":"°","description":"1/180","phenomenon":"Units.ANGLE","unitSystem":"Units.METRIC","definition":"[PI]*RAD","denominator":180},"ARC_MINUTE":{"schemaItemType":"Unit","label":"\'","description":"1/60","phenomenon":"Units.ANGLE","unitSystem":"Units.METRIC","definition":"ARC_DEG","denominator":60},"ARC_SECOND":{"schemaItemType":"Unit","label":"\'\'","description":"1/3600","phenomenon":"Units.ANGLE","unitSystem":"Units.METRIC","definition":"ARC_DEG","denominator":3600},"ARC_QUADRANT":{"schemaItemType":"Unit","label":"quadrants","phenomenon":"Units.ANGLE","unitSystem":"Units.METRIC","definition":"[HALF_PI]*RAD"},"GRAD":{"schemaItemType":"Unit","label":"grad","description":"1/200","phenomenon":"Units.ANGLE","unitSystem":"Units.METRIC","definition":"[PI]*RAD","denominator":200},"REVOLUTION":{"schemaItemType":"Unit","label":"r","phenomenon":"Units.ANGLE","unitSystem":"Units.METRIC","definition":"[TWO_PI]*RAD"},"HORIZONTAL_DIR_ARC_DEG":{"schemaItemType":"Unit","label":"°","description":"1/180","phenomenon":"Units.HORIZONTAL_DIRECTION","unitSystem":"Units.METRIC","definition":"[PI]*HORIZONTAL_DIR_RAD","denominator":180},"HORIZONTAL_DIR_ARC_MINUTE":{"schemaItemType":"Unit","label":"\'","description":"1/60","phenomenon":"Units.HORIZONTAL_DIRECTION","unitSystem":"Units.METRIC","definition":"HORIZONTAL_DIR_ARC_DEG","denominator":60},"HORIZONTAL_DIR_ARC_SECOND":{"schemaItemType":"Unit","label":"\'\'","description":"1/3600","phenomenon":"Units.HORIZONTAL_DIRECTION","unitSystem":"Units.METRIC","definition":"HORIZONTAL_DIR_ARC_DEG","denominator":3600},"HORIZONTAL_DIR_GRAD":{"schemaItemType":"Unit","label":"grad","description":"1/200","phenomenon":"Units.HORIZONTAL_DIRECTION","unitSystem":"Units.METRIC","definition":"[PI]*HORIZONTAL_DIR_RAD","denominator":200},"HORIZONTAL_DIR_MILLIRAD":{"schemaItemType":"Unit","label":"mrad","description":"1/1000","phenomenon":"Units.HORIZONTAL_DIRECTION","unitSystem":"Units.METRIC","definition":"[PI]*HORIZONTAL_DIR_RAD","denominator":1000},"HORIZONTAL_DIR_REVOLUTION":{"schemaItemType":"Unit","label":"r","phenomenon":"Units.HORIZONTAL_DIRECTION","unitSystem":"Units.METRIC","definition":"[TWO_PI]*HORIZONTAL_DIR_RAD"},"SQ_M":{"schemaItemType":"Unit","label":"m²","phenomenon":"Units.AREA","unitSystem":"Units.SI","definition":"M(2)"},"SQ_UM":{"schemaItemType":"Unit","label":"um²","phenomenon":"Units.AREA","unitSystem":"Units.METRIC","definition":"UM(2)"},"SQ_MM":{"schemaItemType":"Unit","label":"mm²","phenomenon":"Units.AREA","unitSystem":"Units.METRIC","definition":"MM(2)"},"SQ_CM":{"schemaItemType":"Unit","label":"cm²","phenomenon":"Units.AREA","unitSystem":"Units.METRIC","definition":"CM(2)"},"SQ_DM":{"schemaItemType":"Unit","label":"dm²","phenomenon":"Units.AREA","unitSystem":"Units.METRIC","definition":"DM(2)"},"SQ_KM":{"schemaItemType":"Unit","label":"km²","phenomenon":"Units.AREA","unitSystem":"Units.METRIC","definition":"KM(2)"},"ARE":{"schemaItemType":"Unit","label":"are","phenomenon":"Units.AREA","unitSystem":"Units.METRIC","definition":"[HECTO]*M(2)"},"HECTARE":{"schemaItemType":"Unit","label":"ha","phenomenon":"Units.AREA","unitSystem":"Units.METRIC","definition":"[HECTO]*ARE"},"SQ_IN":{"schemaItemType":"Unit","label":"in²","phenomenon":"Units.AREA","unitSystem":"Units.USCUSTOM","definition":"IN(2)"},"SQ_FT":{"schemaItemType":"Unit","label":"ft²","phenomenon":"Units.AREA","unitSystem":"Units.USCUSTOM","definition":"FT(2)"},"THOUSAND_SQ_FT":{"schemaItemType":"Unit","label":"thousand ft²","phenomenon":"Units.AREA","unitSystem":"Units.USCUSTOM","definition":"[KILO]*FT(2)"},"SQ_YRD":{"schemaItemType":"Unit","label":"yd²","phenomenon":"Units.AREA","unitSystem":"Units.USCUSTOM","definition":"YRD(2)"},"SQ_MILE":{"schemaItemType":"Unit","label":"mi²","phenomenon":"Units.AREA","unitSystem":"Units.USCUSTOM","definition":"MILE(2)"},"SQ_CHAIN":{"schemaItemType":"Unit","label":"chain²","phenomenon":"Units.AREA","unitSystem":"Units.USCUSTOM","definition":"CHAIN(2)"},"ACRE":{"schemaItemType":"Unit","label":"acres","description":"Exact, http://www.nist.gov/pml/wmd/pubs/upload/hb44-15-web-final.pdf, Appendix C. Section 4, Page C-9","phenomenon":"Units.AREA","unitSystem":"Units.USCUSTOM","definition":"CHAIN(2)","numerator":10},"SQ_US_SURVEY_IN":{"schemaItemType":"Unit","label":"in² (US Survey)","phenomenon":"Units.AREA","unitSystem":"Units.USSURVEY","definition":"US_SURVEY_IN(2)"},"SQ_US_SURVEY_FT":{"schemaItemType":"Unit","label":"ft² (US Survey)","phenomenon":"Units.AREA","unitSystem":"Units.USSURVEY","definition":"US_SURVEY_FT(2)"},"SQ_US_SURVEY_YRD":{"schemaItemType":"Unit","label":"yrd² (US Survey)","phenomenon":"Units.AREA","unitSystem":"Units.USSURVEY","definition":"US_SURVEY_YRD(2)"},"SQ_US_SURVEY_MILE":{"schemaItemType":"Unit","label":"mile² (US Survey)","phenomenon":"Units.AREA","unitSystem":"Units.USSURVEY","definition":"US_SURVEY_MILE(2)"},"SQ_US_SURVEY_CHAIN":{"schemaItemType":"Unit","label":"chain² (US Survey)","phenomenon":"Units.AREA","unitSystem":"Units.USSURVEY","definition":"US_SURVEY_CHAIN(2)"},"US_SURVEY_ACRE":{"schemaItemType":"Unit","label":"acre (US Survey)","description":"Exact, http://www.nist.gov/pml/wmd/pubs/upload/hb44-15-web-final.pdf, Appendix C. Section 4, Page C-9","phenomenon":"Units.AREA","unitSystem":"Units.USSURVEY","definition":"US_SURVEY_CHAIN(2)","numerator":10},"IN_MILE":{"schemaItemType":"Unit","label":"in·mi","phenomenon":"Units.PIPE_DIAMETER_LENGTH","unitSystem":"Units.INDUSTRIAL","definition":"IN*MILE"},"FT_MILE":{"schemaItemType":"Unit","label":"ft·mi","phenomenon":"Units.PIPE_DIAMETER_LENGTH","unitSystem":"Units.INDUSTRIAL","definition":"FT*MILE"},"FT_FT":{"schemaItemType":"Unit","label":"ft·ft","phenomenon":"Units.PIPE_DIAMETER_LENGTH","unitSystem":"Units.INDUSTRIAL","definition":"FT*FT"},"IN_FT":{"schemaItemType":"Unit","label":"in·ft","phenomenon":"Units.PIPE_DIAMETER_LENGTH","unitSystem":"Units.INDUSTRIAL","definition":"IN*FT"},"IN_M":{"schemaItemType":"Unit","label":"in·m","phenomenon":"Units.PIPE_DIAMETER_LENGTH","unitSystem":"Units.INDUSTRIAL","definition":"IN*M"},"MM_KM":{"schemaItemType":"Unit","label":"mm·km","phenomenon":"Units.PIPE_DIAMETER_LENGTH","unitSystem":"Units.INDUSTRIAL","definition":"MM*KM"},"MM_M":{"schemaItemType":"Unit","label":"mm·m","phenomenon":"Units.PIPE_DIAMETER_LENGTH","unitSystem":"Units.INDUSTRIAL","definition":"MM*M"},"MM_MILE":{"schemaItemType":"Unit","label":"mm·mi","phenomenon":"Units.PIPE_DIAMETER_LENGTH","unitSystem":"Units.INDUSTRIAL","definition":"MM*MILE"},"M_KM":{"schemaItemType":"Unit","label":"m·km","phenomenon":"Units.PIPE_DIAMETER_LENGTH","unitSystem":"Units.INDUSTRIAL","definition":"M*KM"},"M_M":{"schemaItemType":"Unit","label":"m·m","phenomenon":"Units.PIPE_DIAMETER_LENGTH","unitSystem":"Units.SI","definition":"M*M"},"KG_PER_CUB_M":{"schemaItemType":"Unit","label":"kg/m³","phenomenon":"Units.DENSITY","unitSystem":"Units.SI","definition":"KG*M(-3)"},"KG_PER_CUB_CM":{"schemaItemType":"Unit","label":"kg/cm³","phenomenon":"Units.DENSITY","unitSystem":"Units.METRIC","definition":"KG*CM(-3)"},"KG_PER_LITRE":{"schemaItemType":"Unit","label":"kg/dm³","phenomenon":"Units.DENSITY","unitSystem":"Units.METRIC","definition":"KG*DM(-3)"},"G_PER_CUB_CM":{"schemaItemType":"Unit","label":"g/cm³","phenomenon":"Units.DENSITY","unitSystem":"Units.METRIC","definition":"G*CM(-3)"},"MKG_PER_LITRE":{"schemaItemType":"Unit","label":"µg/L","phenomenon":"Units.DENSITY","unitSystem":"Units.METRIC","definition":"MKG*DM(-3)"},"MG_PER_LITRE":{"schemaItemType":"Unit","label":"mg/L","phenomenon":"Units.DENSITY","unitSystem":"Units.METRIC","definition":"MG*DM(-3)"},"LBM_PER_CUB_FT":{"schemaItemType":"Unit","label":"lb/ft³","phenomenon":"Units.DENSITY","unitSystem":"Units.USCUSTOM","definition":"LBM*FT(-3)"},"LBM_PER_GALLON":{"schemaItemType":"Unit","label":"lb/gal","phenomenon":"Units.DENSITY","unitSystem":"Units.USCUSTOM","definition":"LBM*GALLON(-1)"},"LBM_PER_GALLON_IMPERIAL":{"schemaItemType":"Unit","label":"lb/gal (imp)","phenomenon":"Units.DENSITY","unitSystem":"Units.IMPERIAL","definition":"LBM*GALLON_IMPERIAL(-1)"},"LBM_PER_CUB_IN":{"schemaItemType":"Unit","label":"lb/in³","phenomenon":"Units.DENSITY","unitSystem":"Units.USCUSTOM","definition":"LBM*IN(-3)"},"LBM_PER_MILLION_GALLON":{"schemaItemType":"Unit","label":"lb/million gal","phenomenon":"Units.DENSITY","unitSystem":"Units.USCUSTOM","definition":"LBM*[MEGA](-1)*GALLON(-1)"},"SLUG_PER_CUB_FT":{"schemaItemType":"Unit","label":"slug/ft³","phenomenon":"Units.DENSITY","unitSystem":"Units.USCUSTOM","definition":"SLUG*FT(-3)"},"KIP_PER_CUB_FT":{"schemaItemType":"Unit","label":"kip/ft³","phenomenon":"Units.DENSITY","unitSystem":"Units.USCUSTOM","definition":"KIPM*FT(-3)"},"SHORT_TON_PER_CUB_FT":{"schemaItemType":"Unit","label":"tn (short)/ft³","phenomenon":"Units.DENSITY","unitSystem":"Units.USCUSTOM","definition":"SHORT_TON_MASS*FT(-3)"},"N_PER_CUB_M":{"schemaItemType":"Unit","label":"N/m³","phenomenon":"Units.FORCE_DENSITY","unitSystem":"Units.SI","definition":"N*M(-3)"},"KN_PER_CUB_M":{"schemaItemType":"Unit","label":"kN/m³","phenomenon":"Units.FORCE_DENSITY","unitSystem":"Units.METRIC","definition":"[KILO]*N*M(-3)"},"KPF_PER_CUB_FT":{"schemaItemType":"Unit","label":"kpf/ft³","phenomenon":"Units.FORCE_DENSITY","unitSystem":"Units.USCUSTOM","definition":"KPF*FT(-3)"},"N_PER_CUB_FT":{"schemaItemType":"Unit","label":"N/ft³","phenomenon":"Units.FORCE_DENSITY","unitSystem":"Units.USCUSTOM","definition":"N*FT(-3)"},"KN_PER_CUB_FT":{"schemaItemType":"Unit","label":"kN/ft³","phenomenon":"Units.FORCE_DENSITY","unitSystem":"Units.USCUSTOM","definition":"[KILO]*N*FT(-3)"},"PERSON_PER_SQ_M":{"schemaItemType":"Unit","label":"p/m²","phenomenon":"Units.POPULATION_DENSITY","unitSystem":"Units.SI","definition":"PERSON*M(-2)"},"PERSON_PER_HECTARE":{"schemaItemType":"Unit","label":"p/ha","phenomenon":"Units.POPULATION_DENSITY","unitSystem":"Units.METRIC","definition":"PERSON*HECTARE(-1)"},"PERSON_PER_SQ_KM":{"schemaItemType":"Unit","label":"p/km²","phenomenon":"Units.POPULATION_DENSITY","unitSystem":"Units.METRIC","definition":"PERSON*KM(-2)"},"PERSON_PER_ACRE":{"schemaItemType":"Unit","label":"p/acre","phenomenon":"Units.POPULATION_DENSITY","unitSystem":"Units.USCUSTOM","definition":"PERSON*ACRE(-1)"},"PERSON_PER_SQ_FT":{"schemaItemType":"Unit","label":"p/ft²","phenomenon":"Units.POPULATION_DENSITY","unitSystem":"Units.USCUSTOM","definition":"PERSON*FT(-2)"},"PERSON_PER_SQ_MILE":{"schemaItemType":"Unit","label":"p/mi²","phenomenon":"Units.POPULATION_DENSITY","unitSystem":"Units.USCUSTOM","definition":"PERSON*MILE(-2)"},"KILOAMPERE":{"schemaItemType":"Unit","label":"KA","phenomenon":"Units.CURRENT","unitSystem":"Units.METRIC","definition":"[KILO]*A"},"MILLIAMPERE":{"schemaItemType":"Unit","label":"mA","phenomenon":"Units.CURRENT","unitSystem":"Units.METRIC","definition":"[MILLI]*A"},"MICROAMPERE":{"schemaItemType":"Unit","label":"µA","phenomenon":"Units.CURRENT","unitSystem":"Units.METRIC","definition":"[MICRO]*A"},"COULOMB":{"schemaItemType":"Unit","label":"C","phenomenon":"Units.ELECTRIC_CHARGE","unitSystem":"Units.SI","definition":"A*S"},"VOLT":{"schemaItemType":"Unit","label":"V","phenomenon":"Units.ELECTRIC_POTENTIAL","unitSystem":"Units.SI","definition":"N*M*COULOMB(-1)"},"KILOVOLT":{"schemaItemType":"Unit","label":"KV","phenomenon":"Units.ELECTRIC_POTENTIAL","unitSystem":"Units.METRIC","definition":"[KILO]*VOLT"},"MEGAVOLT":{"schemaItemType":"Unit","label":"MV","phenomenon":"Units.ELECTRIC_POTENTIAL","unitSystem":"Units.METRIC","definition":"[MEGA]*VOLT"},"J":{"schemaItemType":"Unit","phenomenon":"Units.WORK","unitSystem":"Units.SI","definition":"N*M"},"KJ":{"schemaItemType":"Unit","label":"kJ","phenomenon":"Units.WORK","unitSystem":"Units.METRIC","definition":"[KILO]*J"},"MEGAJ":{"schemaItemType":"Unit","label":"MJ","phenomenon":"Units.WORK","unitSystem":"Units.METRIC","definition":"[MEGA]*J"},"GJ":{"schemaItemType":"Unit","phenomenon":"Units.WORK","unitSystem":"Units.METRIC","definition":"[GIGA]*J"},"FT_PDL":{"schemaItemType":"Unit","label":"ft*pdl","phenomenon":"Units.WORK","unitSystem":"Units.USCUSTOM","definition":"PDL*FT"},"BTU":{"schemaItemType":"Unit","label":"Btu","description":"Is IT BTU. http://physics.nist.gov/cuu/pdf/sp811.pdf, Appendix B. See foot note #9: ","phenomenon":"Units.WORK","unitSystem":"Units.INTERNATIONAL","definition":"J","numerator":1055.05585262},"KILOBTU":{"schemaItemType":"Unit","label":"kBtu","phenomenon":"Units.WORK","unitSystem":"Units.USCUSTOM","definition":"[KILO]*BTU"},"WATT_SECOND":{"schemaItemType":"Unit","label":"Ws","phenomenon":"Units.WORK","unitSystem":"Units.INTERNATIONAL","definition":"W*S"},"KWH":{"schemaItemType":"Unit","label":"kW·h","phenomenon":"Units.WORK","unitSystem":"Units.INTERNATIONAL","definition":"KW*HR"},"MEGAWH":{"schemaItemType":"Unit","label":"MWh","phenomenon":"Units.WORK","unitSystem":"Units.INTERNATIONAL","definition":"MEGAW*HR"},"GWH":{"schemaItemType":"Unit","label":"GWh","phenomenon":"Units.WORK","unitSystem":"Units.INTERNATIONAL","definition":"GW*HR"},"J_PER_CUB_M":{"schemaItemType":"Unit","label":"J/m³","phenomenon":"Units.ENERGY_DENSITY","unitSystem":"Units.SI","definition":"J*M(-3)"},"KJ_PER_CUB_M":{"schemaItemType":"Unit","label":"kJ/m³","phenomenon":"Units.ENERGY_DENSITY","unitSystem":"Units.METRIC","definition":"KJ*M(-3)"},"KWH_PER_CUB_M":{"schemaItemType":"Unit","label":"kW·h/m³","phenomenon":"Units.ENERGY_DENSITY","unitSystem":"Units.METRIC","definition":"KWH*M(-3)"},"KWH_PER_CUB_FT":{"schemaItemType":"Unit","label":"kWh/ft³","phenomenon":"Units.ENERGY_DENSITY","unitSystem":"Units.USCUSTOM","definition":"KWH*FT(-3)"},"KWH_PER_MILLION_GALLON":{"schemaItemType":"Unit","label":"kW·h/million gal","phenomenon":"Units.ENERGY_DENSITY","unitSystem":"Units.USCUSTOM","definition":"KWH*[MEGA](-1)*GALLON(-1)"},"J_PER_KG":{"schemaItemType":"Unit","label":"J/kg","phenomenon":"Units.SPECIFIC_ENERGY","unitSystem":"Units.SI","definition":"J*KG(-1)"},"KJ_PER_KG":{"schemaItemType":"Unit","label":"kJ/kg","phenomenon":"Units.SPECIFIC_ENERGY","unitSystem":"Units.METRIC","definition":"KJ*KG(-1)"},"MEGAJ_PER_KG":{"schemaItemType":"Unit","label":"MJ/kg","phenomenon":"Units.SPECIFIC_ENERGY","unitSystem":"Units.METRIC","definition":"MEGAJ*KG(-1)"},"BTU_PER_LBM":{"schemaItemType":"Unit","label":"Btu/lb","phenomenon":"Units.SPECIFIC_ENERGY","unitSystem":"Units.USCUSTOM","definition":"BTU*LBM(-1)"},"J_PER_KG_K":{"schemaItemType":"Unit","label":"J/(kg·ΔK)","phenomenon":"Units.SPECIFIC_HEAT_CAPACITY","unitSystem":"Units.SI","definition":"J*KG(-1)*DELTA_KELVIN(-1)"},"BTU_PER_LBM_RANKINE":{"schemaItemType":"Unit","label":"Btu/(lbm·Δ°R)","phenomenon":"Units.SPECIFIC_HEAT_CAPACITY","unitSystem":"Units.USCUSTOM","definition":"BTU*LBM(-1)*DELTA_RANKINE(-1)"},"J_PER_G_CELSIUS":{"schemaItemType":"Unit","label":"J/(g·Δ°C)","phenomenon":"Units.SPECIFIC_HEAT_CAPACITY","unitSystem":"Units.METRIC","definition":"J*G(-1)*DELTA_CELSIUS(-1)"},"J_PER_MOL_K":{"schemaItemType":"Unit","label":"J/(mol*K)","phenomenon":"Units.SPECIFIC_HEAT_CAPACITY_MOLAR","unitSystem":"Units.SI","definition":"J*MOL(-1)*DELTA_KELVIN(-1)"},"J_PER_KMOL_K":{"schemaItemType":"Unit","label":"J/(kmol·ΔK)","phenomenon":"Units.SPECIFIC_HEAT_CAPACITY_MOLAR","unitSystem":"Units.METRIC","definition":"J*KMOL(-1)*DELTA_KELVIN(-1)"},"KJ_PER_KMOL_K":{"schemaItemType":"Unit","label":"kJ/(kmol·ΔK)","phenomenon":"Units.SPECIFIC_HEAT_CAPACITY_MOLAR","unitSystem":"Units.METRIC","definition":"KJ*KMOL(-1)*DELTA_KELVIN(-1)"},"BTU_PER_LB_MOL_RANKINE":{"schemaItemType":"Unit","label":"Btu/(lb-mol·Δ°R)","phenomenon":"Units.SPECIFIC_HEAT_CAPACITY_MOLAR","unitSystem":"Units.USCUSTOM","definition":"BTU*LB_MOL(-1)*DELTA_RANKINE(-1)"},"CUB_M_PER_SEC":{"schemaItemType":"Unit","label":"m³/s","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.SI","definition":"M(3)*S(-1)"},"CUB_M_PER_MIN":{"schemaItemType":"Unit","label":"m³/min","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.METRIC","definition":"M(3)*MIN(-1)"},"CUB_M_PER_HR":{"schemaItemType":"Unit","label":"m³/h","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.METRIC","definition":"M(3)*HR(-1)"},"CUB_M_PER_DAY":{"schemaItemType":"Unit","label":"m³/day","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.METRIC","definition":"M(3)*DAY(-1)"},"LITRE_PER_SEC":{"schemaItemType":"Unit","label":"L/s","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.METRIC","definition":"LITRE*S(-1)"},"LITRE_PER_MIN":{"schemaItemType":"Unit","label":"L/min","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.METRIC","definition":"LITRE*MIN(-1)"},"LITRE_PER_HR":{"schemaItemType":"Unit","label":"L/h","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.METRIC","definition":"LITRE*HR(-1)"},"LITRE_PER_DAY":{"schemaItemType":"Unit","label":"L/day","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.METRIC","definition":"LITRE*DAY(-1)"},"CUB_IN_PER_SEC":{"schemaItemType":"Unit","label":"in³/sec","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.USCUSTOM","definition":"CUB_IN*S(-1)"},"CUB_IN_PER_MIN":{"schemaItemType":"Unit","label":"in³/min","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.USCUSTOM","definition":"CUB_IN*MIN(-1)"},"CUB_FT_PER_SEC":{"schemaItemType":"Unit","label":"ft³/s","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.USCUSTOM","definition":"CUB_FT*S(-1)"},"CUB_FT_PER_MIN":{"schemaItemType":"Unit","label":"ft³/min","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.USCUSTOM","definition":"CUB_FT*MIN(-1)"},"CUB_FT_PER_DAY":{"schemaItemType":"Unit","label":"ft³/day","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.USCUSTOM","definition":"CUB_FT*DAY(-1)"},"ACRE_FT_PER_DAY":{"schemaItemType":"Unit","label":"acre·ft/day","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.USCUSTOM","definition":"ACRE_FT*DAY(-1)"},"ACRE_FT_PER_HR":{"schemaItemType":"Unit","label":"acre·ft/h","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.USCUSTOM","definition":"ACRE_FT*HR(-1)"},"ACRE_FT_PER_MIN":{"schemaItemType":"Unit","label":"acre·ft/min","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.USCUSTOM","definition":"ACRE_FT*MIN(-1)"},"ACRE_IN_PER_DAY":{"schemaItemType":"Unit","label":"acre_in/day","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.USCUSTOM","definition":"ACRE_IN*DAY(-1)"},"ACRE_IN_PER_HR":{"schemaItemType":"Unit","label":"acre·in/h","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.USCUSTOM","definition":"ACRE_IN*HR(-1)"},"ACRE_IN_PER_MIN":{"schemaItemType":"Unit","label":"acre·in/min","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.USCUSTOM","definition":"ACRE_IN*MIN(-1)"},"GALLON_IMPERIAL_PER_SEC":{"schemaItemType":"Unit","label":"gal (imp)/s","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.IMPERIAL","definition":"GALLON_IMPERIAL*S(-1)"},"GALLON_IMPERIAL_PER_MIN":{"schemaItemType":"Unit","label":"gal (imp)/min","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.IMPERIAL","definition":"GALLON_IMPERIAL*MIN(-1)"},"GALLON_IMPERIAL_PER_HR":{"schemaItemType":"Unit","label":"gal (imp)/h","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.IMPERIAL","definition":"GALLON_IMPERIAL*HR(-1)"},"GALLON_IMPERIAL_PER_DAY":{"schemaItemType":"Unit","label":"gal (imp)/day","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.IMPERIAL","definition":"GALLON_IMPERIAL*DAY(-1)"},"GALLON_PER_SEC":{"schemaItemType":"Unit","label":"gal/s","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.USCUSTOM","definition":"GALLON*S(-1)"},"GALLON_PER_MIN":{"schemaItemType":"Unit","label":"gal/min","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.USCUSTOM","definition":"GALLON*MIN(-1)"},"GALLON_PER_HR":{"schemaItemType":"Unit","label":"gal/h","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.USCUSTOM","definition":"GALLON*HR(-1)"},"GALLON_PER_DAY":{"schemaItemType":"Unit","label":"gal/day","phenomenon":"Units.VOLUMETRIC_FLOW","unitSystem":"Units.USCUSTOM","definition":"GALLON*DAY(-1)"},"HZ":{"schemaItemType":"Unit","label":"Hz","phenomenon":"Units.FREQUENCY","unitSystem":"Units.SI","definition":"S(-1)"},"KHZ":{"schemaItemType":"Unit","label":"KHz","phenomenon":"Units.FREQUENCY","unitSystem":"Units.METRIC","definition":"[KILO]*S(-1)"},"MHZ":{"schemaItemType":"Unit","label":"MHz","phenomenon":"Units.FREQUENCY","unitSystem":"Units.METRIC","definition":"[MEGA]*S(-1)"},"CUB_M_PER_SQ_M_SEC":{"schemaItemType":"Unit","label":"m³/(m²*sec)","phenomenon":"Units.FLOW_DENSITY_PER_AREA","unitSystem":"Units.SI","definition":"M*S(-1)"},"CUB_M_PER_SQ_M_DAY":{"schemaItemType":"Unit","label":"m³/(m²·day)","phenomenon":"Units.FLOW_DENSITY_PER_AREA","unitSystem":"Units.METRIC","definition":"M*DAY(-1)"},"CUB_M_PER_HECTARE_DAY":{"schemaItemType":"Unit","label":"m³/(ha·day)","phenomenon":"Units.FLOW_DENSITY_PER_AREA","unitSystem":"Units.METRIC","definition":"CUB_M*HECTARE(-1)*DAY(-1)"},"CUB_M_PER_SQ_KM_DAY":{"schemaItemType":"Unit","label":"m³/(km²·day)","phenomenon":"Units.FLOW_DENSITY_PER_AREA","unitSystem":"Units.METRIC","definition":"CUB_M*KM(-2)*DAY(-1)"},"LITRE_PER_SQ_M_SEC":{"schemaItemType":"Unit","label":"L/(m²·s)","phenomenon":"Units.FLOW_DENSITY_PER_AREA","unitSystem":"Units.METRIC","definition":"LITRE*M(-2)*S(-1)"},"CUB_FT_PER_SQ_FT_MIN":{"schemaItemType":"Unit","label":"ft³/(ft²·min)","phenomenon":"Units.FLOW_DENSITY_PER_AREA","unitSystem":"Units.USCUSTOM","definition":"FT*MIN(-1)"},"CUB_FT_PER_SQ_FT_SEC":{"schemaItemType":"Unit","label":"ft³/(ft²·s)","phenomenon":"Units.FLOW_DENSITY_PER_AREA","unitSystem":"Units.USCUSTOM","definition":"FT*S(-1)"},"CUB_FT_PER_SQ_MILE_SEC":{"schemaItemType":"Unit","label":"ft³/(mi²·s)","phenomenon":"Units.FLOW_DENSITY_PER_AREA","unitSystem":"Units.USCUSTOM","definition":"FT(3)*MILE(-2)*S(-1)"},"CUB_FT_PER_ACRE_SEC":{"schemaItemType":"Unit","label":"ft³/(acres·s)","phenomenon":"Units.FLOW_DENSITY_PER_AREA","unitSystem":"Units.USCUSTOM","definition":"FT(3)*ACRE(-1)*S(-1)"},"GALLON_PER_ACRE_DAY":{"schemaItemType":"Unit","label":"gal/(acre·day)","phenomenon":"Units.FLOW_DENSITY_PER_AREA","unitSystem":"Units.USCUSTOM","definition":"GALLON*DAY(-1)*ACRE(-1)"},"GALLON_PER_ACRE_MIN":{"schemaItemType":"Unit","label":"gal/(acre·min)","phenomenon":"Units.FLOW_DENSITY_PER_AREA","unitSystem":"Units.USCUSTOM","definition":"GALLON*MIN(-1)*ACRE(-1)"},"GALLON_PER_SQ_FT_MIN":{"schemaItemType":"Unit","label":"gal/(ft²·min)","phenomenon":"Units.FLOW_DENSITY_PER_AREA","unitSystem":"Units.USCUSTOM","definition":"GALLON*MIN(-1)*FT(-2)"},"GALLON_PER_SQ_FT_DAY":{"schemaItemType":"Unit","label":"gal/(ft²·day)","phenomenon":"Units.FLOW_DENSITY_PER_AREA","unitSystem":"Units.USCUSTOM","definition":"GALLON*DAY(-1)*FT(-2)"},"GALLON_PER_SQ_MILE_MIN":{"schemaItemType":"Unit","label":"gal/(mi²·min)","phenomenon":"Units.FLOW_DENSITY_PER_AREA","unitSystem":"Units.USCUSTOM","definition":"GALLON*MIN(-1)*MILE(-2)"},"GALLON_PER_SQ_MILE_DAY":{"schemaItemType":"Unit","label":"gal/(mi²·day)","phenomenon":"Units.FLOW_DENSITY_PER_AREA","unitSystem":"Units.USCUSTOM","definition":"GALLON*DAY(-1)*MILE(-2)"},"KG_PER_KG":{"schemaItemType":"Unit","label":"kg/kg","phenomenon":"Units.MASS_RATIO","unitSystem":"Units.SI","definition":"KG*KG(-1)"},"GRM_PER_LBM":{"schemaItemType":"Unit","label":"gr/lb","phenomenon":"Units.MASS_RATIO","unitSystem":"Units.USCUSTOM","definition":"GRM*LBM(-1)"},"KG_PER_SEC":{"schemaItemType":"Unit","label":"kg/s","phenomenon":"Units.MASS_FLOW","unitSystem":"Units.SI","definition":"KG*S(-1)"},"KG_PER_MIN":{"schemaItemType":"Unit","label":"kg/min","phenomenon":"Units.MASS_FLOW","unitSystem":"Units.METRIC","definition":"KG*MIN(-1)"},"KG_PER_HR":{"schemaItemType":"Unit","label":"kg/h","phenomenon":"Units.MASS_FLOW","unitSystem":"Units.METRIC","definition":"KG*HR(-1)"},"KG_PER_DAY":{"schemaItemType":"Unit","label":"kg/day","phenomenon":"Units.MASS_FLOW","unitSystem":"Units.METRIC","definition":"KG*DAY(-1)"},"G_PER_SEC":{"schemaItemType":"Unit","label":"g/s","phenomenon":"Units.MASS_FLOW","unitSystem":"Units.METRIC","definition":"G*S(-1)"},"G_PER_MIN":{"schemaItemType":"Unit","label":"g/min","phenomenon":"Units.MASS_FLOW","unitSystem":"Units.METRIC","definition":"G*MIN(-1)"},"G_PER_HR":{"schemaItemType":"Unit","label":"g/h","phenomenon":"Units.MASS_FLOW","unitSystem":"Units.METRIC","definition":"G*HR(-1)"},"MG_PER_SEC":{"schemaItemType":"Unit","label":"mg/s","phenomenon":"Units.MASS_FLOW","unitSystem":"Units.METRIC","definition":"MG*S(-1)"},"MG_PER_MIN":{"schemaItemType":"Unit","label":"mg/min","phenomenon":"Units.MASS_FLOW","unitSystem":"Units.METRIC","definition":"MG*MIN(-1)"},"MG_PER_HR":{"schemaItemType":"Unit","label":"mg/h","phenomenon":"Units.MASS_FLOW","unitSystem":"Units.METRIC","definition":"MG*HR(-1)"},"MG_PER_DAY":{"schemaItemType":"Unit","label":"mg/day","phenomenon":"Units.MASS_FLOW","unitSystem":"Units.METRIC","definition":"MG*DAY(-1)"},"MKG_PER_SEC":{"schemaItemType":"Unit","label":"µg/s","phenomenon":"Units.MASS_FLOW","unitSystem":"Units.METRIC","definition":"MKG*S(-1)"},"MKG_PER_MIN":{"schemaItemType":"Unit","label":"µg/min","phenomenon":"Units.MASS_FLOW","unitSystem":"Units.METRIC","definition":"MKG*MIN(-1)"},"MKG_PER_HR":{"schemaItemType":"Unit","label":"µg/h","phenomenon":"Units.MASS_FLOW","unitSystem":"Units.METRIC","definition":"MKG*HR(-1)"},"MKG_PER_DAY":{"schemaItemType":"Unit","label":"µg/day","phenomenon":"Units.MASS_FLOW","unitSystem":"Units.METRIC","definition":"MKG*DAY(-1)"},"TONNE_PER_HR":{"schemaItemType":"Unit","label":"tph","phenomenon":"Units.MASS_FLOW","unitSystem":"Units.METRIC","definition":"TONNE*HR(-1)"},"LBM_PER_SEC":{"schemaItemType":"Unit","label":"lb/s","phenomenon":"Units.MASS_FLOW","unitSystem":"Units.USCUSTOM","definition":"LBM*S(-1)"},"LBM_PER_MIN":{"schemaItemType":"Unit","label":"lb/min","phenomenon":"Units.MASS_FLOW","unitSystem":"Units.USCUSTOM","definition":"LBM*MIN(-1)"},"LBM_PER_HR":{"schemaItemType":"Unit","label":"lb/h","phenomenon":"Units.MASS_FLOW","unitSystem":"Units.USCUSTOM","definition":"LBM*HR(-1)"},"LBM_PER_DAY":{"schemaItemType":"Unit","label":"lb/day","phenomenon":"Units.MASS_FLOW","unitSystem":"Units.USCUSTOM","definition":"LBM*DAY(-1)"},"SHORT_TON_PER_HR":{"schemaItemType":"Unit","label":"tph","phenomenon":"Units.MASS_FLOW","unitSystem":"Units.USCUSTOM","definition":"SHORT_TON_MASS*HR(-1)"},"MOL_PER_SEC":{"schemaItemType":"Unit","label":"mol/s","phenomenon":"Units.MOLAR_FLOW","unitSystem":"Units.SI","definition":"MOL*S(-1)"},"KMOL_PER_SEC":{"schemaItemType":"Unit","label":"kmol/s","phenomenon":"Units.MOLAR_FLOW","unitSystem":"Units.METRIC","definition":"[KILO]*MOL*S(-1)"},"N":{"schemaItemType":"Unit","phenomenon":"Units.FORCE","unitSystem":"Units.SI","definition":"KG*M*S(-2)"},"DECAN":{"schemaItemType":"Unit","label":"daN","phenomenon":"Units.FORCE","unitSystem":"Units.SI","definition":"[DECA]*N"},"KN":{"schemaItemType":"Unit","label":"kN","phenomenon":"Units.FORCE","unitSystem":"Units.METRIC","definition":"[KILO]*N"},"MN":{"schemaItemType":"Unit","label":"mN","phenomenon":"Units.FORCE","unitSystem":"Units.METRIC","definition":"[MILLI]*N"},"MEGAN":{"schemaItemType":"Unit","label":"MN","phenomenon":"Units.FORCE","unitSystem":"Units.METRIC","definition":"[MEGA]*N"},"KGF":{"schemaItemType":"Unit","label":"kgf","phenomenon":"Units.FORCE","unitSystem":"Units.METRIC","definition":"[STD_G]*KG"},"DYNE":{"schemaItemType":"Unit","label":"dyn","phenomenon":"Units.FORCE","unitSystem":"Units.METRIC","definition":"G*CM*S(-2)"},"PDL":{"schemaItemType":"Unit","label":"pdl","phenomenon":"Units.FORCE","unitSystem":"Units.USCUSTOM","definition":"LBM*FT*S(-2)"},"SHORT_TON_FORCE":{"schemaItemType":"Unit","label":"tnf (short)","phenomenon":"Units.FORCE","unitSystem":"Units.USCUSTOM","definition":"[STD_G]*SHORT_TON_MASS"},"LONG_TON_FORCE":{"schemaItemType":"Unit","label":"tnf (long)","phenomenon":"Units.FORCE","unitSystem":"Units.USCUSTOM","definition":"[STD_G]*LONG_TON_MASS"},"LBF":{"schemaItemType":"Unit","label":"lbf","phenomenon":"Units.FORCE","unitSystem":"Units.USCUSTOM","definition":"[STD_G]*LBM"},"OZF":{"schemaItemType":"Unit","label":"ozf","phenomenon":"Units.FORCE","unitSystem":"Units.USCUSTOM","definition":"[STD_G]*OZM"},"KPF":{"schemaItemType":"Unit","label":"kpf","phenomenon":"Units.FORCE","unitSystem":"Units.USCUSTOM","definition":"[KILO]*LBF"},"W_PER_SQ_M":{"schemaItemType":"Unit","label":"W/m²","phenomenon":"Units.HEAT_FLUX_DENSITY","unitSystem":"Units.SI","definition":"W*M(-2)"},"W_PER_SQ_M_K":{"schemaItemType":"Unit","label":"W/(m²·ΔK)","phenomenon":"Units.HEAT_TRANSFER","unitSystem":"Units.SI","definition":"W*M(-2)*DELTA_KELVIN(-1)"},"W_PER_SQ_M_CELSIUS":{"schemaItemType":"Unit","label":"W/(m²·Δ°C)","phenomenon":"Units.HEAT_TRANSFER","unitSystem":"Units.METRIC","definition":"W*M(-2)*DELTA_CELSIUS(-1)"},"BTU_PER_SQ_FT_HR_FAHRENHEIT":{"schemaItemType":"Unit","label":"Btu/(ft²·h·Δ°F)","phenomenon":"Units.HEAT_TRANSFER","unitSystem":"Units.USCUSTOM","definition":"BTU*FT(-2)*HR(-1)*DELTA_FAHRENHEIT(-1)"},"KG_PER_M":{"schemaItemType":"Unit","label":"kg/m","phenomenon":"Units.LINEAR_DENSITY","unitSystem":"Units.SI","definition":"KG*M(-1)"},"KG_PER_MM":{"schemaItemType":"Unit","label":"kg/mm","phenomenon":"Units.LINEAR_DENSITY","unitSystem":"Units.METRIC","definition":"KG*MM(-1)"},"LBM_PER_FT":{"schemaItemType":"Unit","label":"lb/ft","phenomenon":"Units.LINEAR_DENSITY","unitSystem":"Units.USCUSTOM","definition":"LBM*FT(-1)"},"N_PER_M":{"schemaItemType":"Unit","label":"N/m","phenomenon":"Units.LINEAR_LOAD","unitSystem":"Units.SI","definition":"N*M(-1)"},"KN_PER_M":{"schemaItemType":"Unit","label":"kN/m","phenomenon":"Units.LINEAR_LOAD","unitSystem":"Units.METRIC","definition":"KN*M(-1)"},"MEGAN_PER_M":{"schemaItemType":"Unit","label":"MN/m","phenomenon":"Units.LINEAR_LOAD","unitSystem":"Units.METRIC","definition":"MEGAN*M(-1)"},"N_PER_MM":{"schemaItemType":"Unit","label":"N/mm","phenomenon":"Units.LINEAR_LOAD","unitSystem":"Units.METRIC","definition":"N*MM(-1)"},"LBF_PER_IN":{"schemaItemType":"Unit","label":"lbf/in","phenomenon":"Units.LINEAR_LOAD","unitSystem":"Units.USCUSTOM","definition":"LBF*IN(-1)"},"LBF_PER_FT":{"schemaItemType":"Unit","label":"lbf/ft","phenomenon":"Units.LINEAR_LOAD","unitSystem":"Units.USCUSTOM","definition":"LBF*FT(-1)"},"KGF_PER_M":{"schemaItemType":"Unit","label":"kgf/m","phenomenon":"Units.LINEAR_LOAD","unitSystem":"Units.METRIC","definition":"KGF*M(-1)"},"KPF_PER_FT":{"schemaItemType":"Unit","label":"kpf/ft","phenomenon":"Units.LINEAR_LOAD","unitSystem":"Units.USCUSTOM","definition":"KPF*FT(-1)"},"PER_M":{"schemaItemType":"Unit","label":"1/m","phenomenon":"Units.LINEAR_RATE","unitSystem":"Units.SI","definition":"M(-1)"},"PER_MM":{"schemaItemType":"Unit","label":"1/mm","phenomenon":"Units.LINEAR_RATE","unitSystem":"Units.METRIC","definition":"MM(-1)"},"PER_KM":{"schemaItemType":"Unit","label":"1/km","phenomenon":"Units.LINEAR_RATE","unitSystem":"Units.METRIC","definition":"KM(-1)"},"PER_FT":{"schemaItemType":"Unit","label":"1/ft","phenomenon":"Units.LINEAR_RATE","unitSystem":"Units.USCUSTOM","definition":"FT(-1)"},"PER_MILE":{"schemaItemType":"Unit","label":"1/mile","phenomenon":"Units.LINEAR_RATE","unitSystem":"Units.USCUSTOM","definition":"MILE(-1)"},"PER_THOUSAND_FT":{"schemaItemType":"Unit","label":"1/1000 ft","phenomenon":"Units.LINEAR_RATE","unitSystem":"Units.USCUSTOM","definition":"FT(-1)","numerator":0.001},"N_M":{"schemaItemType":"Unit","label":"N·m","phenomenon":"Units.TORQUE","unitSystem":"Units.SI","definition":"N*M*RAD(-1)"},"KN_M":{"schemaItemType":"Unit","label":"kN·m","phenomenon":"Units.TORQUE","unitSystem":"Units.METRIC","definition":"KN*M*RAD(-1)"},"MEGAN_M":{"schemaItemType":"Unit","label":"MN·m","phenomenon":"Units.TORQUE","unitSystem":"Units.METRIC","definition":"MEGAN*M*RAD(-1)"},"N_CM":{"schemaItemType":"Unit","label":"N·cm","phenomenon":"Units.TORQUE","unitSystem":"Units.METRIC","definition":"N*CM*RAD(-1)"},"LBF_FT":{"schemaItemType":"Unit","label":"lbf·ft","phenomenon":"Units.TORQUE","unitSystem":"Units.USCUSTOM","definition":"LBF*FT*RAD(-1)"},"LBF_IN":{"schemaItemType":"Unit","label":"lbf·in","phenomenon":"Units.TORQUE","unitSystem":"Units.USCUSTOM","definition":"LBF*IN*RAD(-1)"},"KGF_M":{"schemaItemType":"Unit","label":"kgf·m","phenomenon":"Units.TORQUE","unitSystem":"Units.METRIC","definition":"KGF*M*RAD(-1)"},"KPF_FT":{"schemaItemType":"Unit","label":"kpf·ft","phenomenon":"Units.TORQUE","unitSystem":"Units.USCUSTOM","definition":"KPF*FT*RAD(-1)"},"N_M_PER_M":{"schemaItemType":"Unit","label":"N·m/m","phenomenon":"Units.LINEAR_TORQUE","unitSystem":"Units.SI","definition":"N_M*M(-1)"},"KN_M_PER_M":{"schemaItemType":"Unit","label":"kN·m/m","phenomenon":"Units.LINEAR_TORQUE","unitSystem":"Units.METRIC","definition":"KN_M*M(-1)"},"MEGAN_M_PER_M":{"schemaItemType":"Unit","label":"MN·m/m","phenomenon":"Units.LINEAR_TORQUE","unitSystem":"Units.METRIC","definition":"MEGAN_M*M(-1)"},"N_CM_PER_CM":{"schemaItemType":"Unit","label":"N·cm/cm","phenomenon":"Units.LINEAR_TORQUE","unitSystem":"Units.METRIC","definition":"N_CM*CM(-1)"},"LBF_IN_PER_IN":{"schemaItemType":"Unit","label":"lbf·in/in","phenomenon":"Units.LINEAR_TORQUE","unitSystem":"Units.USCUSTOM","definition":"LBF_IN*IN(-1)"},"LBF_FT_PER_FT":{"schemaItemType":"Unit","label":"lbf·ft/ft","phenomenon":"Units.LINEAR_TORQUE","unitSystem":"Units.USCUSTOM","definition":"LBF_FT*FT(-1)"},"KPF_FT_PER_FT":{"schemaItemType":"Unit","label":"kpf·ft/ft","phenomenon":"Units.LINEAR_TORQUE","unitSystem":"Units.USCUSTOM","definition":"KPF_FT*FT(-1)"},"N_M_PER_SQ_M":{"schemaItemType":"Unit","label":"N·m/m²","phenomenon":"Units.AREA_TORQUE","unitSystem":"Units.SI","definition":"N_M*M(-2)"},"KN_M_PER_SQ_M":{"schemaItemType":"Unit","label":"kN·m/m²","phenomenon":"Units.AREA_TORQUE","unitSystem":"Units.METRIC","definition":"KN_M*M(-2)"},"MEGAN_M_PER_SQ_M":{"schemaItemType":"Unit","label":"MN·m/m²","phenomenon":"Units.AREA_TORQUE","unitSystem":"Units.METRIC","definition":"MEGAN_M*M(-2)"},"N_CM_PER_SQ_CM":{"schemaItemType":"Unit","label":"N·cm/cm²","phenomenon":"Units.AREA_TORQUE","unitSystem":"Units.METRIC","definition":"N_CM*CM(-2)"},"LBF_IN_PER_SQ_IN":{"schemaItemType":"Unit","label":"lbf·in/in²","phenomenon":"Units.AREA_TORQUE","unitSystem":"Units.USCUSTOM","definition":"LBF_IN*IN(-2)"},"LBF_FT_PER_SQ_FT":{"schemaItemType":"Unit","label":"lbf·ft/ft²","phenomenon":"Units.AREA_TORQUE","unitSystem":"Units.USCUSTOM","definition":"LBF_FT*FT(-2)"},"KPF_FT_PER_SQ_FT":{"schemaItemType":"Unit","label":"kpf·ft/ft²","phenomenon":"Units.AREA_TORQUE","unitSystem":"Units.USCUSTOM","definition":"KPF_FT*FT(-2)"},"CUB_M_PER_MOL":{"schemaItemType":"Unit","label":"m³/mol","phenomenon":"Units.MOLAR_VOLUME","unitSystem":"Units.SI","definition":"CUB_M*MOL(-1)"},"CUB_M_PER_KMOL":{"schemaItemType":"Unit","label":"m³/kmol","phenomenon":"Units.MOLAR_VOLUME","unitSystem":"Units.METRIC","definition":"CUB_M*[KILO](-1)*MOL(-1)"},"CUB_FT_PER_LB_MOL":{"schemaItemType":"Unit","label":"ft³/lb-mol","phenomenon":"Units.MOLAR_VOLUME","unitSystem":"Units.USCUSTOM","definition":"CUB_FT*LB_MOL(-1)"},"MOL_PER_CUB_M":{"schemaItemType":"Unit","label":"mol/m³","phenomenon":"Units.MOLAR_CONCENTRATION","unitSystem":"Units.SI","definition":"MOL*CUB_M(-1)"},"KMOL_PER_CUB_M":{"schemaItemType":"Unit","label":"kmol/m³","phenomenon":"Units.MOLAR_CONCENTRATION","unitSystem":"Units.METRIC","definition":"[KILO]*MOL*CUB_M(-1)"},"MOL_PER_CUB_DM":{"schemaItemType":"Unit","label":"mol/dm³","phenomenon":"Units.MOLAR_CONCENTRATION","unitSystem":"Units.METRIC","definition":"MOL*CUB_DM(-1)"},"MICROMOL_PER_CUB_DM":{"schemaItemType":"Unit","label":"µmol/dm³","phenomenon":"Units.MOLAR_CONCENTRATION","unitSystem":"Units.METRIC","definition":"[MICRO]*MOL*CUB_DM(-1)"},"NMOL_PER_CUB_DM":{"schemaItemType":"Unit","label":"nmol/dm³","phenomenon":"Units.MOLAR_CONCENTRATION","unitSystem":"Units.METRIC","definition":"[NANO]*MOL*CUB_DM(-1)"},"PICOMOL_PER_CUB_DM":{"schemaItemType":"Unit","label":"picomol/dm³","phenomenon":"Units.MOLAR_CONCENTRATION","unitSystem":"Units.METRIC","definition":"[PICO]*MOL*CUB_DM(-1)"},"MOL_PER_CUB_FT":{"schemaItemType":"Unit","label":"mol/ft³","phenomenon":"Units.MOLAR_CONCENTRATION","unitSystem":"Units.USCUSTOM","definition":"MOL*CUB_FT(-1)"},"MM_TO_THE_FOURTH":{"schemaItemType":"Unit","label":"mm⁴","phenomenon":"Units.AREA_MOMENT_INERTIA","unitSystem":"Units.METRIC","definition":"MM(4)"},"M_TO_THE_FOURTH":{"schemaItemType":"Unit","label":"m⁴","phenomenon":"Units.AREA_MOMENT_INERTIA","unitSystem":"Units.SI","definition":"M(4)"},"CM_TO_THE_FOURTH":{"schemaItemType":"Unit","label":"cm⁴","phenomenon":"Units.AREA_MOMENT_INERTIA","unitSystem":"Units.METRIC","definition":"CM(4)"},"IN_TO_THE_FOURTH":{"schemaItemType":"Unit","label":"in⁴","phenomenon":"Units.AREA_MOMENT_INERTIA","unitSystem":"Units.USCUSTOM","definition":"IN(4)"},"FT_TO_THE_FOURTH":{"schemaItemType":"Unit","label":"ft⁴","phenomenon":"Units.AREA_MOMENT_INERTIA","unitSystem":"Units.USCUSTOM","definition":"FT(4)"},"W":{"schemaItemType":"Unit","phenomenon":"Units.POWER","unitSystem":"Units.SI","definition":"N*M*S(-1)"},"KW":{"schemaItemType":"Unit","label":"kW","phenomenon":"Units.POWER","unitSystem":"Units.METRIC","definition":"[KILO]*W"},"MEGAW":{"schemaItemType":"Unit","label":"MW","phenomenon":"Units.POWER","unitSystem":"Units.METRIC","definition":"[MEGA]*W"},"GW":{"schemaItemType":"Unit","phenomenon":"Units.POWER","unitSystem":"Units.METRIC","definition":"[GIGA]*W"},"BTU_PER_HR":{"schemaItemType":"Unit","label":"Btu/h","phenomenon":"Units.POWER","unitSystem":"Units.USCUSTOM","definition":"BTU*HR(-1)"},"KILOBTU_PER_HR":{"schemaItemType":"Unit","label":"kBtu/h","phenomenon":"Units.POWER","unitSystem":"Units.USCUSTOM","definition":"[KILO]*BTU*HR(-1)"},"HP":{"schemaItemType":"Unit","label":"hp","description":"Exact, See http://physics.nist.gov/cuu/pdf/sp811.pdf Appendix B.","phenomenon":"Units.POWER","unitSystem":"Units.USCUSTOM","definition":"LBF*FT*S(-1)","numerator":550},"PA":{"schemaItemType":"Unit","label":"N/m²","phenomenon":"Units.PRESSURE","unitSystem":"Units.SI","definition":"N*M(-2)"},"PA_GAUGE":{"schemaItemType":"Unit","label":"Pa (gauge)","description":"Offset is one standard atmosphere in PA. Offset is exact, See http://physics.nist.gov/cuu/pdf/sp811.pdf Appendix B. ","phenomenon":"Units.PRESSURE","unitSystem":"Units.INDUSTRIAL","definition":"PA","numerator":1,"offset":101325},"HECTOPASCAL":{"schemaItemType":"Unit","label":"hPa","phenomenon":"Units.PRESSURE","unitSystem":"Units.METRIC","definition":"[HECTO]*PA"},"KILOPASCAL":{"schemaItemType":"Unit","label":"kPa","phenomenon":"Units.PRESSURE","unitSystem":"Units.METRIC","definition":"[KILO]*PA"},"MICROPASCAL":{"schemaItemType":"Unit","label":"µPa","phenomenon":"Units.PRESSURE","unitSystem":"Units.METRIC","definition":"[MICRO]*PA"},"KILOPASCAL_GAUGE":{"schemaItemType":"Unit","label":"kPa (Gauge)","description":"Offset is one standard atmosphere (101325 PA) converted to kilopascal. Offset is exact, See http://physics.nist.gov/cuu/pdf/sp811.pdf Appendix B. ","phenomenon":"Units.PRESSURE","unitSystem":"Units.INDUSTRIAL","definition":"[KILO]*PA","numerator":1,"offset":101.325},"MEGAPASCAL":{"schemaItemType":"Unit","label":"MPa","phenomenon":"Units.PRESSURE","unitSystem":"Units.METRIC","definition":"[MEGA]*PA"},"MEGAPASCAL_GAUGE":{"schemaItemType":"Unit","label":"MPa (Gauge)","description":"Offset is one standard atmosphere (101325 PA) converted to megapascal. Offset is exact, See http://physics.nist.gov/cuu/pdf/sp811.pdf Appendix B. ","phenomenon":"Units.PRESSURE","unitSystem":"Units.INDUSTRIAL","definition":"[MEGA]*PA","numerator":1,"offset":0.101325},"AT":{"schemaItemType":"Unit","label":"kgf/cm²","description":"Exact, See http://physics.nist.gov/cuu/pdf/sp811.pdf Appendix B.","phenomenon":"Units.PRESSURE","unitSystem":"Units.INTERNATIONAL","definition":"KGF*CM(-2)"},"AT_GAUGE":{"schemaItemType":"Unit","label":"kgf/cm² (Gauge)","description":"Offset is one standard atmosphere (101325 PA) converted to atmosphere-technical (AT). Offset is exact, See http://physics.nist.gov/cuu/pdf/sp811.pdf Appendix B. ","phenomenon":"Units.PRESSURE","unitSystem":"Units.INDUSTRIAL","definition":"AT","offset":1.033227452799886},"KGF_PER_SQ_M":{"schemaItemType":"Unit","label":"kgf/m²","phenomenon":"Units.PRESSURE","unitSystem":"Units.INTERNATIONAL","definition":"KGF*M(-2)"},"ATM":{"schemaItemType":"Unit","label":"atm","description":"Standard atmosphere, see AT for atmosphere-technical. Exact, See http://physics.nist.gov/cuu/pdf/sp811.pdf Appendix B. ","phenomenon":"Units.PRESSURE","unitSystem":"Units.METRIC","definition":"PA","numerator":101325},"BAR":{"schemaItemType":"Unit","label":"bar","description":"Exact, See http://physics.nist.gov/cuu/pdf/sp811.pdf Appendix B. ","phenomenon":"Units.PRESSURE","unitSystem":"Units.METRIC","definition":"PA","numerator":100000},"BAR_GAUGE":{"schemaItemType":"Unit","label":"bar (Gauge)","description":"Offset is one standard atmosphere converted to BAR. Offset is exact, See http://physics.nist.gov/cuu/pdf/sp811.pdf Appendix B. ","phenomenon":"Units.PRESSURE","unitSystem":"Units.INDUSTRIAL","definition":"PA","numerator":100000,"offset":1.01325},"MBAR":{"schemaItemType":"Unit","label":"mBar","phenomenon":"Units.PRESSURE","unitSystem":"Units.METRIC","definition":"[MILLI]*BAR"},"BARYE":{"schemaItemType":"Unit","label":"ba","phenomenon":"Units.PRESSURE","unitSystem":"Units.METRIC","definition":"DYNE*CM(-2)"},"PSI":{"schemaItemType":"Unit","label":"lbf/in²","phenomenon":"Units.PRESSURE","unitSystem":"Units.USCUSTOM","definition":"LBF*IN(-2)"},"PSF":{"schemaItemType":"Unit","label":"lbf/ft²","phenomenon":"Units.PRESSURE","unitSystem":"Units.USCUSTOM","definition":"LBF*FT(-2)"},"PSIG":{"schemaItemType":"Unit","label":"lbf/in² (Gauge)","description":"Offset is one standard atmosphere (101325 PA) converted to PSI","phenomenon":"Units.PRESSURE","unitSystem":"Units.USCUSTOM","definition":"LBF*IN(-2)","numerator":1,"offset":14.695948775513449},"KSI":{"schemaItemType":"Unit","label":"ksi","phenomenon":"Units.PRESSURE","unitSystem":"Units.USCUSTOM","definition":"KPF*IN(-2)"},"KSF":{"schemaItemType":"Unit","label":"ksf","phenomenon":"Units.PRESSURE","unitSystem":"Units.USCUSTOM","definition":"KPF*FT(-2)"},"LBF_PER_SQ_FT":{"schemaItemType":"Unit","label":"lbf/ft²","phenomenon":"Units.PRESSURE","unitSystem":"Units.USCUSTOM","definition":"LBF*FT(-2)"},"TORR":{"schemaItemType":"Unit","label":"torr","description":"See http://physics.nist.gov/cuu/pdf/sp811.pdf Appendix B. for approx conversion and Table 11 for a reference to the exact conversion","phenomenon":"Units.PRESSURE","unitSystem":"Units.USCUSTOM","definition":"PA","numerator":101325,"denominator":760},"M_H2O":{"schemaItemType":"Unit","label":"mH2O (Conv)","description":"Meter of H2O Conventional","phenomenon":"Units.PRESSURE","unitSystem":"Units.METRIC","definition":"[KILO]*MM_H2O"},"MM_H2O":{"schemaItemType":"Unit","label":"mmH2O (Conv)","description":"Millimeter of H2O Conventional, See http://physics.nist.gov/cuu/pdf/sp811.pdf Appendix B.","phenomenon":"Units.PRESSURE","unitSystem":"Units.METRIC","definition":"PA","numerator":9.80665},"MM_HG_AT_32F":{"schemaItemType":"Unit","label":"mmHg@32°F","description":"See http://physics.nist.gov/cuu/pdf/sp811.pdf Appendix B. Used centimeter of mercury (0 C) to pascal","phenomenon":"Units.PRESSURE","unitSystem":"Units.METRIC","definition":"PA","numerator":133.322},"FT_H2O":{"schemaItemType":"Unit","label":"ft H2O (Conv)","description":"foot of H2O Conventional, See http://physics.nist.gov/cuu/pdf/sp811.pdf Appendix B.","phenomenon":"Units.PRESSURE","unitSystem":"Units.USCUSTOM","definition":"PA","numerator":2989.067},"IN_H2O_AT_32F":{"schemaItemType":"Unit","label":"inH2O@32°F","description":"Inch of H2O at 32 Fahrenheit, Water is assumed to be in a liquid state. Equal to water at 0C. No verified source","phenomenon":"Units.PRESSURE","unitSystem":"Units.USCUSTOM","definition":"PA","numerator":249.1083},"IN_H2O_AT_39_2F":{"schemaItemType":"Unit","label":"inH2O@39.2°F","description":"See http://physics.nist.gov/cuu/pdf/sp811.pdf Appendix B.","phenomenon":"Units.PRESSURE","unitSystem":"Units.USCUSTOM","definition":"PA","numerator":249.082},"IN_H2O_AT_60F":{"schemaItemType":"Unit","label":"inH2O@60°F","description":"See http://physics.nist.gov/cuu/pdf/sp811.pdf Appendix B.","phenomenon":"Units.PRESSURE","unitSystem":"Units.USCUSTOM","definition":"PA","numerator":248.84},"IN_HG":{"schemaItemType":"Unit","label":"inHg (Conv)","description":"Inch of HG conventional, See http://physics.nist.gov/cuu/pdf/sp811.pdf Appendix B.","phenomenon":"Units.PRESSURE","unitSystem":"Units.USCUSTOM","definition":"PA","numerator":3386.389},"IN_HG_AT_32F":{"schemaItemType":"Unit","label":"inHg@32°F","description":"See http://physics.nist.gov/cuu/pdf/sp811.pdf Appendix B.","phenomenon":"Units.PRESSURE","unitSystem":"Units.USCUSTOM","definition":"PA","numerator":3386.38},"IN_HG_AT_60F":{"schemaItemType":"Unit","label":"inHg@60°F","description":"See http://physics.nist.gov/cuu/pdf/sp811.pdf Appendix B.","phenomenon":"Units.PRESSURE","unitSystem":"Units.USCUSTOM","definition":"PA","numerator":3376.85},"PA_PER_M":{"schemaItemType":"Unit","label":"Pa/m","phenomenon":"Units.PRESSURE_GRADIENT","unitSystem":"Units.SI","definition":"PA*M(-1)"},"BAR_PER_KM":{"schemaItemType":"Unit","label":"bar/km","phenomenon":"Units.PRESSURE_GRADIENT","unitSystem":"Units.METRIC","definition":"BAR*KM(-1)"},"PERCENT":{"schemaItemType":"Unit","label":"%","description":"Unit used to show a ratio as a percentage in the UI.","phenomenon":"Units.PERCENTAGE","unitSystem":"Units.INTERNATIONAL","definition":"ONE"},"DECIMAL_PERCENT":{"schemaItemType":"Unit","label":"decimal percent","description":"Unit suitable for storing a decimal number that represents an unspecified ratio.","phenomenon":"Units.PERCENTAGE","unitSystem":"Units.INTERNATIONAL","definition":"PERCENT","numerator":100},"PROBABILITY_FRACTION":{"schemaItemType":"Unit","label":"","phenomenon":"Units.PROBABILITY","unitSystem":"Units.SI","definition":"ONE"},"PROBABILITY_PERCENT":{"schemaItemType":"Unit","label":"%","phenomenon":"Units.PROBABILITY","unitSystem":"Units.INTERNATIONAL","definition":"PROBABILITY_FRACTION","denominator":100},"M_PER_M":{"schemaItemType":"Unit","label":"m/m","phenomenon":"Units.SLOPE","unitSystem":"Units.SI","definition":"M*M(-1)"},"CM_PER_M":{"schemaItemType":"Unit","label":"cm/m","phenomenon":"Units.SLOPE","unitSystem":"Units.METRIC","definition":"CM*M(-1)"},"MM_PER_M":{"schemaItemType":"Unit","label":"mm/m","phenomenon":"Units.SLOPE","unitSystem":"Units.METRIC","definition":"MM*M(-1)"},"M_PER_KM":{"schemaItemType":"Unit","label":"m/km","phenomenon":"Units.SLOPE","unitSystem":"Units.METRIC","definition":"M*KM(-1)"},"FT_PER_THOUSAND_FOOT":{"schemaItemType":"Unit","label":"ft/1000ft","phenomenon":"Units.SLOPE","unitSystem":"Units.USCUSTOM","definition":"FT*[KILO](-1)*FT(-1)"},"FT_PER_FT":{"schemaItemType":"Unit","label":"ft/ft","phenomenon":"Units.SLOPE","unitSystem":"Units.USCUSTOM","definition":"FT*FT(-1)"},"IN_PER_FT":{"schemaItemType":"Unit","label":"in/ft","phenomenon":"Units.SLOPE","unitSystem":"Units.USCUSTOM","definition":"IN*FT(-1)"},"FT_PER_IN":{"schemaItemType":"Unit","label":"ft/in","phenomenon":"Units.SLOPE","unitSystem":"Units.USCUSTOM","definition":"FT*IN(-1)"},"FT_PER_MILE":{"schemaItemType":"Unit","label":"ft/mi","phenomenon":"Units.SLOPE","unitSystem":"Units.USCUSTOM","definition":"FT*MILE(-1)"},"VERTICAL_PER_HORIZONTAL":{"schemaItemType":"Unit","label":"slope","phenomenon":"Units.SLOPE","unitSystem":"Units.INTERNATIONAL","definition":"M_PER_M"},"PERCENT_SLOPE":{"schemaItemType":"Unit","label":"%","phenomenon":"Units.SLOPE","unitSystem":"Units.INTERNATIONAL","definition":"DECIMAL_PERCENT(-1)*M_PER_M"},"HORIZONTAL_PER_VERTICAL":{"schemaItemType":"InvertedUnit","invertsUnit":"Units.VERTICAL_PER_HORIZONTAL","unitSystem":"Units.INTERNATIONAL"},"FT_HORIZONTAL_PER_FT_VERTICAL":{"schemaItemType":"InvertedUnit","invertsUnit":"Units.FT_PER_FT","unitSystem":"Units.USCUSTOM"},"M_HORIZONTAL_PER_M_VERTICAL":{"schemaItemType":"InvertedUnit","invertsUnit":"Units.M_PER_M","unitSystem":"Units.SI"},"KG_PER_SQ_M":{"schemaItemType":"Unit","label":"kg/m²","phenomenon":"Units.SURFACE_DENSITY","unitSystem":"Units.SI","definition":"KG*M(-2)"},"G_PER_SQ_M":{"schemaItemType":"Unit","label":"g/m²","phenomenon":"Units.SURFACE_DENSITY","unitSystem":"Units.METRIC","definition":"G*M(-2)"},"KG_PER_HECTARE":{"schemaItemType":"Unit","label":"kg/ha","phenomenon":"Units.SURFACE_DENSITY","unitSystem":"Units.METRIC","definition":"KG*HECTARE(-1)"},"LBM_PER_ACRE":{"schemaItemType":"Unit","label":"lb/acre","phenomenon":"Units.SURFACE_DENSITY","unitSystem":"Units.USCUSTOM","definition":"LBM*ACRE(-1)"},"W_PER_M_K":{"schemaItemType":"Unit","label":"W/(m·K)","phenomenon":"Units.THERMAL_CONDUCTIVITY","unitSystem":"Units.SI","definition":"W*M(-1)*DELTA_KELVIN(-1)"},"W_PER_M_C":{"schemaItemType":"Unit","label":"W/(m·Δ°C)","phenomenon":"Units.THERMAL_CONDUCTIVITY","unitSystem":"Units.METRIC","definition":"W*M(-1)*DELTA_CELSIUS(-1)"},"BTU_IN_PER_SQ_FT_HR_FAHRENHEIT":{"schemaItemType":"Unit","label":"Btu·in/(ft²·h·Δ°F)","phenomenon":"Units.THERMAL_CONDUCTIVITY","unitSystem":"Units.USCUSTOM","definition":"BTU*IN*FT(-2)*HR(-1)*DELTA_FAHRENHEIT(-1)"},"SQ_M_KELVIN_PER_WATT":{"schemaItemType":"Unit","label":"m²·ΔK/W","phenomenon":"Units.THERMAL_INSULANCE","unitSystem":"Units.SI","definition":"M(2)*DELTA_KELVIN*W(-1)"},"SQ_M_CELSIUS_PER_WATT":{"schemaItemType":"Unit","label":"m²·Δ°C/W","phenomenon":"Units.THERMAL_INSULANCE","unitSystem":"Units.METRIC","definition":"M(2)*DELTA_CELSIUS*W(-1)"},"SQ_FT_HR_FAHRENHEIT_PER_BTU":{"schemaItemType":"Unit","label":"ft²·h·Δ°F/Btu","phenomenon":"Units.THERMAL_INSULANCE","unitSystem":"Units.USCUSTOM","definition":"FT(2)*HR*DELTA_FAHRENHEIT*BTU(-1)"},"M_PER_SEC":{"schemaItemType":"Unit","label":"m/s","phenomenon":"Units.VELOCITY","unitSystem":"Units.SI","definition":"M*S(-1)"},"M_PER_MIN":{"schemaItemType":"Unit","label":"m/min","phenomenon":"Units.VELOCITY","unitSystem":"Units.METRIC","definition":"M*MIN(-1)"},"M_PER_HR":{"schemaItemType":"Unit","label":"m/h","phenomenon":"Units.VELOCITY","unitSystem":"Units.METRIC","definition":"M*HR(-1)"},"M_PER_DAy":{"schemaItemType":"Unit","label":"m/day","phenomenon":"Units.VELOCITY","unitSystem":"Units.METRIC","definition":"M*DAY(-1)"},"MM_PER_SEC":{"schemaItemType":"Unit","label":"mm/sec","phenomenon":"Units.VELOCITY","unitSystem":"Units.METRIC","definition":"MM*S(-1)"},"MM_PER_MIN":{"schemaItemType":"Unit","label":"mm/min","phenomenon":"Units.VELOCITY","unitSystem":"Units.METRIC","definition":"MM*MIN(-1)"},"MM_PER_HR":{"schemaItemType":"Unit","label":"mm/h","phenomenon":"Units.VELOCITY","unitSystem":"Units.METRIC","definition":"MM*HR(-1)"},"MM_PER_DAY":{"schemaItemType":"Unit","label":"mm/day","phenomenon":"Units.VELOCITY","unitSystem":"Units.METRIC","definition":"MM*DAY(-1)"},"CM_PER_SEC":{"schemaItemType":"Unit","label":"cm/s","phenomenon":"Units.VELOCITY","unitSystem":"Units.METRIC","definition":"CM*S(-1)"},"CM_PER_MIN":{"schemaItemType":"Unit","label":"cm/min","phenomenon":"Units.VELOCITY","unitSystem":"Units.METRIC","definition":"CM*MIN(-1)"},"CM_PER_HR":{"schemaItemType":"Unit","label":"cm/h","phenomenon":"Units.VELOCITY","unitSystem":"Units.METRIC","definition":"CM*HR(-1)"},"CM_PER_DAY":{"schemaItemType":"Unit","label":"cm/day","phenomenon":"Units.VELOCITY","unitSystem":"Units.METRIC","definition":"CM*DAY(-1)"},"KM_PER_SEC":{"schemaItemType":"Unit","label":"km/sec","phenomenon":"Units.VELOCITY","unitSystem":"Units.METRIC","definition":"KM*S(-1)"},"KM_PER_HR":{"schemaItemType":"Unit","label":"km/h","phenomenon":"Units.VELOCITY","unitSystem":"Units.METRIC","definition":"KM*HR(-1)"},"IN_PER_SEC":{"schemaItemType":"Unit","label":"in/s","phenomenon":"Units.VELOCITY","unitSystem":"Units.USCUSTOM","definition":"IN*S(-1)"},"IN_PER_MIN":{"schemaItemType":"Unit","label":"in/min","phenomenon":"Units.VELOCITY","unitSystem":"Units.USCUSTOM","definition":"IN*MIN(-1)"},"IN_PER_HR":{"schemaItemType":"Unit","label":"in/h","phenomenon":"Units.VELOCITY","unitSystem":"Units.USCUSTOM","definition":"IN*HR(-1)"},"IN_PER_DAY":{"schemaItemType":"Unit","label":"in/day","phenomenon":"Units.VELOCITY","unitSystem":"Units.USCUSTOM","definition":"IN*DAY(-1)"},"FT_PER_SEC":{"schemaItemType":"Unit","label":"ft/s","phenomenon":"Units.VELOCITY","unitSystem":"Units.USCUSTOM","definition":"FT*S(-1)"},"FT_PER_MIN":{"schemaItemType":"Unit","label":"ft/min","phenomenon":"Units.VELOCITY","unitSystem":"Units.USCUSTOM","definition":"FT*MIN(-1)"},"FT_PER_HR":{"schemaItemType":"Unit","label":"ft/h","phenomenon":"Units.VELOCITY","unitSystem":"Units.USCUSTOM","definition":"FT*HR(-1)"},"FT_PER_DAY":{"schemaItemType":"Unit","label":"ft/day","phenomenon":"Units.VELOCITY","unitSystem":"Units.USCUSTOM","definition":"FT*DAY(-1)"},"YRD_PER_SEC":{"schemaItemType":"Unit","label":"yrd/sec","phenomenon":"Units.VELOCITY","unitSystem":"Units.USCUSTOM","definition":"YRD*S(-1)"},"MPH":{"schemaItemType":"Unit","label":"mi/h","phenomenon":"Units.VELOCITY","unitSystem":"Units.USCUSTOM","definition":"MILE*HR(-1)"},"KNOT_INTERNATIONAL":{"schemaItemType":"Unit","label":"knot (Int.)","phenomenon":"Units.VELOCITY","unitSystem":"Units.MARITIME","definition":"NAUT_MILE*HR(-1)"},"RAD_PER_SEC":{"schemaItemType":"Unit","label":"rad/sec","phenomenon":"Units.ANGULAR_VELOCITY","unitSystem":"Units.SI","definition":"RAD*S(-1)"},"RAD_PER_MIN":{"schemaItemType":"Unit","label":"rad/min","phenomenon":"Units.ANGULAR_VELOCITY","unitSystem":"Units.METRIC","definition":"RAD*MIN(-1)"},"RAD_PER_HR":{"schemaItemType":"Unit","label":"rad/hr","phenomenon":"Units.ANGULAR_VELOCITY","unitSystem":"Units.METRIC","definition":"RAD*HR(-1)"},"RPS":{"schemaItemType":"Unit","label":"cycle/sec","phenomenon":"Units.ANGULAR_VELOCITY","unitSystem":"Units.METRIC","definition":"[TWO_PI]*RAD*S(-1)"},"RPM":{"schemaItemType":"Unit","label":"cycle/min","phenomenon":"Units.ANGULAR_VELOCITY","unitSystem":"Units.METRIC","definition":"[TWO_PI]*RAD*MIN(-1)"},"RPH":{"schemaItemType":"Unit","label":"cycle/hr","phenomenon":"Units.ANGULAR_VELOCITY","unitSystem":"Units.METRIC","definition":"[TWO_PI]*RAD*HR(-1)"},"DEG_PER_SEC":{"schemaItemType":"Unit","label":"deg/sec","phenomenon":"Units.ANGULAR_VELOCITY","unitSystem":"Units.METRIC","definition":"ARC_DEG*S(-1)"},"DEG_PER_MIN":{"schemaItemType":"Unit","label":"deg/min","phenomenon":"Units.ANGULAR_VELOCITY","unitSystem":"Units.METRIC","definition":"ARC_DEG*MIN(-1)"},"DEG_PER_HR":{"schemaItemType":"Unit","label":"deg/hr","phenomenon":"Units.ANGULAR_VELOCITY","unitSystem":"Units.METRIC","definition":"ARC_DEG*HR(-1)"},"PA_S":{"schemaItemType":"Unit","label":"Pa·s","phenomenon":"Units.DYNAMIC_VISCOSITY","unitSystem":"Units.SI","definition":"PA*S"},"POISE":{"schemaItemType":"Unit","label":"poise","description":"Exact, See http://physics.nist.gov/cuu/pdf/sp811.pdf Appendix B.","phenomenon":"Units.DYNAMIC_VISCOSITY","unitSystem":"Units.METRIC","definition":"[DECI]*PA_S"},"CENTIPOISE":{"schemaItemType":"Unit","label":"cP","phenomenon":"Units.DYNAMIC_VISCOSITY","unitSystem":"Units.METRIC","definition":"[CENTI]*POISE"},"LBM_PER_FT_S":{"schemaItemType":"Unit","label":"lbm/(ft*s)","phenomenon":"Units.DYNAMIC_VISCOSITY","unitSystem":"Units.USCUSTOM","definition":"LBM*FT(-1)*S(-1)"},"SQ_M_PER_SEC":{"schemaItemType":"Unit","label":"m²/s","phenomenon":"Units.KINEMATIC_VISCOSITY","unitSystem":"Units.SI","definition":"M(2)*S(-1)"},"SQ_FT_PER_SEC":{"schemaItemType":"Unit","label":"ft²/s","phenomenon":"Units.KINEMATIC_VISCOSITY","unitSystem":"Units.USCUSTOM","definition":"FT(2)*S(-1)"},"STOKE":{"schemaItemType":"Unit","label":"St","phenomenon":"Units.KINEMATIC_VISCOSITY","unitSystem":"Units.METRIC","definition":"CM(2)*S(-1)"},"CENTISTOKE":{"schemaItemType":"Unit","label":"cSt","phenomenon":"Units.KINEMATIC_VISCOSITY","unitSystem":"Units.METRIC","definition":"MM(2)*S(-1)"},"CUB_M":{"schemaItemType":"Unit","label":"m³","phenomenon":"Units.VOLUME","unitSystem":"Units.SI","definition":"M(3)"},"CUB_UM":{"schemaItemType":"Unit","label":"um³","phenomenon":"Units.VOLUME","unitSystem":"Units.METRIC","definition":"UM(3)"},"CUB_MM":{"schemaItemType":"Unit","label":"mm³","phenomenon":"Units.VOLUME","unitSystem":"Units.METRIC","definition":"MM(3)"},"CUB_CM":{"schemaItemType":"Unit","label":"cm³","phenomenon":"Units.VOLUME","unitSystem":"Units.METRIC","definition":"CM(3)"},"CUB_DM":{"schemaItemType":"Unit","label":"dm³","phenomenon":"Units.VOLUME","unitSystem":"Units.METRIC","definition":"DM(3)"},"CUB_KM":{"schemaItemType":"Unit","label":"km³","phenomenon":"Units.VOLUME","unitSystem":"Units.METRIC","definition":"KM(3)"},"LITRE":{"schemaItemType":"Unit","label":"L","phenomenon":"Units.VOLUME","unitSystem":"Units.METRIC","definition":"CUB_DM"},"THOUSAND_LITRE":{"schemaItemType":"Unit","label":"thousand L","phenomenon":"Units.VOLUME","unitSystem":"Units.METRIC","definition":"[KILO]*LITRE"},"MILLION_LITRE":{"schemaItemType":"Unit","label":"million L","phenomenon":"Units.VOLUME","unitSystem":"Units.METRIC","definition":"[MEGA]*LITRE"},"MILLILITRE":{"schemaItemType":"Unit","label":"mL","phenomenon":"Units.VOLUME","unitSystem":"Units.METRIC","definition":"[MILLI]*LITRE"},"MICROLITRE":{"schemaItemType":"Unit","label":"µliter","phenomenon":"Units.VOLUME","unitSystem":"Units.METRIC","definition":"[MICRO]*LITRE"},"CUB_IN":{"schemaItemType":"Unit","label":"in³","phenomenon":"Units.VOLUME","unitSystem":"Units.USCUSTOM","definition":"IN(3)"},"CUB_FT":{"schemaItemType":"Unit","label":"ft³","phenomenon":"Units.VOLUME","unitSystem":"Units.USCUSTOM","definition":"FT(3)"},"CUB_YRD":{"schemaItemType":"Unit","label":"yd³","phenomenon":"Units.VOLUME","unitSystem":"Units.USCUSTOM","definition":"YRD(3)"},"CUB_MILE":{"schemaItemType":"Unit","label":"mile³","phenomenon":"Units.VOLUME","unitSystem":"Units.USCUSTOM","definition":"MILE(3)"},"ACRE_IN":{"schemaItemType":"Unit","label":"acre·in","phenomenon":"Units.VOLUME","unitSystem":"Units.USCUSTOM","definition":"ACRE*IN"},"ACRE_FT":{"schemaItemType":"Unit","label":"acre·ft","phenomenon":"Units.VOLUME","unitSystem":"Units.USCUSTOM","definition":"ACRE*FT"},"GALLON":{"schemaItemType":"Unit","label":"gal","description":"Exact, http://www.nist.gov/pml/wmd/pubs/upload/hb44-15-web-final.pdf, Appendix C. Section 4, Page C-11","phenomenon":"Units.VOLUME","unitSystem":"Units.USCUSTOM","definition":"IN(3)","numerator":231},"THOUSAND_GALLON":{"schemaItemType":"Unit","label":"thousand gal","phenomenon":"Units.VOLUME","unitSystem":"Units.USCUSTOM","definition":"[KILO]*GALLON"},"MILLION_GALLON":{"schemaItemType":"Unit","label":"million gal","phenomenon":"Units.VOLUME","unitSystem":"Units.USCUSTOM","definition":"[MEGA]*GALLON"},"CUB_US_SURVEY_IN":{"schemaItemType":"Unit","label":"in³ (US Survey)","phenomenon":"Units.VOLUME","unitSystem":"Units.USSURVEY","definition":"US_SURVEY_IN(3)"},"CUB_US_SURVEY_FT":{"schemaItemType":"Unit","label":"ft³ (US Survey)","phenomenon":"Units.VOLUME","unitSystem":"Units.USSURVEY","definition":"US_SURVEY_FT(3)"},"CUB_US_SURVEY_YRD":{"schemaItemType":"Unit","label":"yrd³ (US Survey)","phenomenon":"Units.VOLUME","unitSystem":"Units.USSURVEY","definition":"US_SURVEY_YRD(3)"},"CUB_US_SURVEY_MILE":{"schemaItemType":"Unit","label":"mile³ (US Survey)","phenomenon":"Units.VOLUME","unitSystem":"Units.USSURVEY","definition":"US_SURVEY_MILE(3)"},"GALLON_IMPERIAL":{"schemaItemType":"Unit","label":"gal (imp)","description":"Exact, See http://physics.nist.gov/cuu/pdf/sp811.pdf Appendix B.","phenomenon":"Units.VOLUME","unitSystem":"Units.IMPERIAL","definition":"LITRE","numerator":4.54609},"CUB_M_PER_CUB_M":{"schemaItemType":"Unit","label":"m³/m³","phenomenon":"Units.VOLUME_RATIO","unitSystem":"Units.SI","definition":"M(3)*M(-3)"},"LITRE_PER_LITRE":{"schemaItemType":"Unit","label":"liter/liter","phenomenon":"Units.VOLUME_RATIO","unitSystem":"Units.METRIC","definition":"LITRE*LITRE(-1)"},"CUB_M_PER_KG":{"schemaItemType":"Unit","label":"m³/kg","phenomenon":"Units.SPECIFIC_VOLUME","unitSystem":"Units.SI","definition":"M(3)*KG(-1)"},"CUB_FT_PER_LBM":{"schemaItemType":"Unit","label":"ft³/lm","phenomenon":"Units.SPECIFIC_VOLUME","unitSystem":"Units.USCUSTOM","definition":"FT(3)*LBM(-1)"},"CUB_M_PER_M":{"schemaItemType":"Unit","label":"m³/m","phenomenon":"Units.VOLUME_PER_LENGTH","unitSystem":"Units.SI","definition":"M(3)*M(-1)"},"CUB_FT_PER_FT":{"schemaItemType":"Unit","label":"ft³/ft","phenomenon":"Units.VOLUME_PER_LENGTH","unitSystem":"Units.USCUSTOM","definition":"FT(3)*FT(-1)"},"M_TO_THE_SIXTH":{"schemaItemType":"Unit","label":"m⁶","phenomenon":"Units.TORSIONAL_WARPING_CONSTANT","unitSystem":"Units.SI","definition":"M(6)"},"MM_TO_THE_SIXTH":{"schemaItemType":"Unit","label":"mm⁶","phenomenon":"Units.TORSIONAL_WARPING_CONSTANT","unitSystem":"Units.METRIC","definition":"MM(6)"},"CM_TO_THE_SIXTH":{"schemaItemType":"Unit","label":"cm⁶","phenomenon":"Units.TORSIONAL_WARPING_CONSTANT","unitSystem":"Units.METRIC","definition":"CM(6)"},"IN_TO_THE_SIXTH":{"schemaItemType":"Unit","label":"in⁶","phenomenon":"Units.TORSIONAL_WARPING_CONSTANT","unitSystem":"Units.USCUSTOM","definition":"IN(6)"},"FT_TO_THE_SIXTH":{"schemaItemType":"Unit","label":"ft⁶","phenomenon":"Units.TORSIONAL_WARPING_CONSTANT","unitSystem":"Units.USCUSTOM","definition":"FT(6)"},"VA":{"schemaItemType":"Unit","phenomenon":"Units.APPARENT_POWER","unitSystem":"Units.SI","definition":"VOLT*A"},"KVA":{"schemaItemType":"Unit","phenomenon":"Units.APPARENT_POWER","unitSystem":"Units.METRIC","definition":"[KILO]*VA"},"MVA":{"schemaItemType":"Unit","phenomenon":"Units.APPARENT_POWER","unitSystem":"Units.METRIC","definition":"[MEGA]*VA"},"M":{"schemaItemType":"Unit","label":"m","phenomenon":"Units.LENGTH","unitSystem":"Units.SI","definition":"M"},"KG":{"schemaItemType":"Unit","label":"kg","phenomenon":"Units.MASS","unitSystem":"Units.SI","definition":"KG"},"S":{"schemaItemType":"Unit","label":"s","phenomenon":"Units.TIME","unitSystem":"Units.SI","definition":"S"},"K":{"schemaItemType":"Unit","phenomenon":"Units.TEMPERATURE","unitSystem":"Units.SI","definition":"K"},"DELTA_KELVIN":{"schemaItemType":"Unit","label":"ΔK","phenomenon":"Units.TEMPERATURE_CHANGE","unitSystem":"Units.SI","definition":"DELTA_KELVIN"},"A":{"schemaItemType":"Unit","phenomenon":"Units.CURRENT","unitSystem":"Units.SI","definition":"A"},"MOL":{"schemaItemType":"Unit","label":"mol","description":"Where mol is the SI gram mol or gmol.","phenomenon":"Units.MOLE","unitSystem":"Units.SI","definition":"MOL"},"CD":{"schemaItemType":"Unit","label":"cd","phenomenon":"Units.LUMINOSITY","unitSystem":"Units.SI","definition":"CD"},"RAD":{"schemaItemType":"Unit","label":"rad","phenomenon":"Units.ANGLE","unitSystem":"Units.SI","definition":"RAD"},"HORIZONTAL_DIR_RAD":{"schemaItemType":"Unit","label":"rad","phenomenon":"Units.HORIZONTAL_DIRECTION","unitSystem":"Units.SI","definition":"HORIZONTAL_DIR_RAD"},"STERAD":{"schemaItemType":"Unit","label":"sterad","phenomenon":"Units.SOLIDANGLE","unitSystem":"Units.SI","definition":"STERAD"},"US_DOLLAR":{"schemaItemType":"Unit","label":"$","phenomenon":"Units.CURRENCY","unitSystem":"Units.FINANCE","definition":"US_DOLLAR"},"MONETARY_UNIT":{"schemaItemType":"Unit","label":"¤","description":"For money of an unspecified denomination","phenomenon":"Units.CURRENCY","unitSystem":"Units.FINANCE","definition":"MONETARY_UNIT"},"PERSON":{"schemaItemType":"Unit","label":"person","phenomenon":"Units.CAPITA","unitSystem":"Units.SI","definition":"PERSON"},"ONE":{"schemaItemType":"Unit","label":"one","phenomenon":"Units.NUMBER","unitSystem":"Units.INTERNATIONAL","definition":"ONE"},"COEFFICIENT":{"schemaItemType":"Unit","label":"coefficient","description":"For unitless coefficients","phenomenon":"Units.NUMBER","unitSystem":"Units.INTERNATIONAL","definition":"ONE"},"OHM":{"schemaItemType":"Unit","label":"Ω","phenomenon":"Units.ELECTRICAL_RESISTANCE","unitSystem":"Units.SI","definition":"VOLT*A(-1)"},"KOHM":{"schemaItemType":"Unit","label":"kΩ","phenomenon":"Units.ELECTRICAL_RESISTANCE","unitSystem":"Units.METRIC","definition":"[KILO]*OHM"},"OHM_M":{"schemaItemType":"Unit","label":"Ω·m","phenomenon":"Units.ELECTRICAL_RESISTIVITY","unitSystem":"Units.SI","definition":"OHM*M"},"M_PER_REVOLUTION":{"schemaItemType":"Unit","label":"m/r","phenomenon":"Units.THREAD_PITCH","unitSystem":"Units.INTERNATIONAL","definition":"M*REVOLUTION(-1)"},"M_PER_RAD":{"schemaItemType":"Unit","label":"m/rad","phenomenon":"Units.THREAD_PITCH","unitSystem":"Units.SI","definition":"M*RAD(-1)"},"IN_PER_DEGREE":{"schemaItemType":"Unit","label":"in/degree","phenomenon":"Units.THREAD_PITCH","unitSystem":"Units.USCUSTOM","definition":"IN*ARC_DEG(-1)"},"J_PER_K":{"schemaItemType":"Unit","label":"J/K","phenomenon":"Units.ENTROPY","unitSystem":"Units.SI","definition":"J*DELTA_KELVIN(-1)"},"KJ_PER_K":{"schemaItemType":"Unit","label":"KJ/K","phenomenon":"Units.ENTROPY","unitSystem":"Units.METRIC","definition":"[KILO]*J*DELTA_KELVIN(-1)"},"BTU_PER_FAHRENHEIT":{"schemaItemType":"Unit","label":"Btu/°F","description":"Exact, See http://physics.nist.gov/cuu/pdf/sp811.pdf Appendix B.8, page 46.","phenomenon":"Units.ENTROPY","unitSystem":"Units.USCUSTOM","definition":"BTU*DELTA_FAHRENHEIT(-1)"},"LUMEN_PER_W":{"schemaItemType":"Unit","label":"lm/W","phenomenon":"Units.LUMINOUS_EFFICACY","unitSystem":"Units.SI","definition":"LUMEN*W(-1)"},"INVERSE_N":{"schemaItemType":"Unit","label":"1/N","phenomenon":"Units.MOMENT_DISPLAY_SCALE","unitSystem":"Units.SI","definition":"N(-1)"},"INVERSE_KN":{"schemaItemType":"Unit","label":"1/kN","phenomenon":"Units.MOMENT_DISPLAY_SCALE","unitSystem":"Units.METRIC","definition":"KN(-1)"},"INVERSE_KPF":{"schemaItemType":"Unit","label":"1/kpf","phenomenon":"Units.MOMENT_DISPLAY_SCALE","unitSystem":"Units.USCUSTOM","definition":"KPF(-1)"},"M_PER_N":{"schemaItemType":"Unit","label":"m/N","phenomenon":"Units.FORCE_DISPLAY_SCALE","unitSystem":"Units.SI","definition":"N_PER_M(-1)"},"M_PER_KN":{"schemaItemType":"Unit","label":"m/kN","phenomenon":"Units.FORCE_DISPLAY_SCALE","unitSystem":"Units.METRIC","definition":"KN_PER_M(-1)"}}}');
|
|
370136
370662
|
|
|
370137
370663
|
/***/ },
|
|
370138
370664
|
|
|
@@ -370238,10 +370764,9 @@ module.exports = /*#__PURE__*/JSON.parse('{"$schema":"../../../node_modules/@itw
|
|
|
370238
370764
|
/******/ // This file contains only the entry chunk.
|
|
370239
370765
|
/******/ // The chunk loading function for additional chunks
|
|
370240
370766
|
/******/ __webpack_require__.e = (chunkId) => {
|
|
370241
|
-
/******/
|
|
370242
|
-
/******/
|
|
370243
|
-
/******/
|
|
370244
|
-
/******/ }, []));
|
|
370767
|
+
/******/ const promises = [];
|
|
370768
|
+
/******/ __webpack_require__.f.j(chunkId, promises);
|
|
370769
|
+
/******/ return Promise.all(promises);
|
|
370245
370770
|
/******/ };
|
|
370246
370771
|
/******/
|
|
370247
370772
|
/******/ /* webpack/runtime/get javascript chunk filename */
|
|
@@ -371068,16 +371593,19 @@ describe("Snapping", () => {
|
|
|
371068
371593
|
closePoint: { x: 1, y: 2, z: 3 },
|
|
371069
371594
|
worldToView: worldToView.toJSON(),
|
|
371070
371595
|
};
|
|
371071
|
-
|
|
371072
|
-
|
|
371073
|
-
|
|
371074
|
-
|
|
371075
|
-
|
|
371076
|
-
|
|
371077
|
-
|
|
371078
|
-
|
|
371079
|
-
|
|
371080
|
-
|
|
371596
|
+
// Settle both requests together. The snap can reject while cancelSnap is still pending; awaiting them
|
|
371597
|
+
// one at a time would leave that rejection unhandled and terminate the test runner.
|
|
371598
|
+
const [snap, cancel] = await Promise.allSettled([
|
|
371599
|
+
core_common_1.IModelReadRpcInterface.getClient().requestSnap(iModel.getRpcProps(), id, snapProps),
|
|
371600
|
+
core_common_1.IModelReadRpcInterface.getClient().cancelSnap(iModel.getRpcProps(), id),
|
|
371601
|
+
]);
|
|
371602
|
+
// This is what we expect if the snap is completed before the cancellation is processed.
|
|
371603
|
+
if (snap.status === "fulfilled")
|
|
371604
|
+
expect(snap.value.status).not.to.be.undefined;
|
|
371605
|
+
// This is what we expect if the cancellation occurs in time to really cancel the snap.
|
|
371606
|
+
for (const result of [snap, cancel]) {
|
|
371607
|
+
if (result.status === "rejected")
|
|
371608
|
+
expect(result.reason.message).to.equal("Unknown server response code.");
|
|
371081
371609
|
}
|
|
371082
371610
|
});
|
|
371083
371611
|
});
|