@itwin/ecschema-rpcinterface-tests 4.0.0-dev.10 → 4.0.0-dev.15
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/_07c5.bundled-tests.js.map +1 -1
- package/lib/dist/bundled-tests.js +533 -442
- package/lib/dist/bundled-tests.js.map +1 -1
- package/lib/dist/core_frontend_lib_esm_ApproximateTerrainHeightsProps_js.bundled-tests.js.map +1 -1
- package/lib/dist/object-storage.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_itwin_object-storage-azure_1_4_0_node_modules_itwin_obj-3576c6.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_13_node_modules_loaders_gl_draco_d-e0d984.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_reflect-metadata_0_1_13_node_modules_reflect-metadata_R-610cb3.bundled-tests.js.map +1 -1
- package/package.json +16 -16
|
@@ -21,53 +21,53 @@
|
|
|
21
21
|
|
|
22
22
|
/***/ }),
|
|
23
23
|
|
|
24
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.
|
|
24
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.6.0/node_modules/@itwin/certa/lib/utils/CallbackUtils.js":
|
|
25
25
|
/*!********************************************************************************************************************!*\
|
|
26
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+certa@3.
|
|
26
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+certa@3.6.0/node_modules/@itwin/certa/lib/utils/CallbackUtils.js ***!
|
|
27
27
|
\********************************************************************************************************************/
|
|
28
28
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
29
29
|
|
|
30
30
|
"use strict";
|
|
31
|
-
|
|
32
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
33
|
-
exports.executeBackendCallback = exports.registerBackendCallback = exports.executeRegisteredCallback = exports.getCallbacksRegisteredOnBackend = void 0;
|
|
34
|
-
const isFrontend = (typeof (window) !== "undefined");
|
|
35
|
-
/** @internal */
|
|
36
|
-
function getCallbacksRegisteredOnBackend() {
|
|
37
|
-
if (isFrontend)
|
|
38
|
-
throw new Error("This should only be called on the backend!");
|
|
39
|
-
__webpack_require__.g._CertaRegisteredCallbacks = __webpack_require__.g._CertaRegisteredCallbacks || {};
|
|
40
|
-
return __webpack_require__.g._CertaRegisteredCallbacks;
|
|
41
|
-
}
|
|
42
|
-
exports.getCallbacksRegisteredOnBackend = getCallbacksRegisteredOnBackend;
|
|
43
|
-
/** @internal */
|
|
44
|
-
function executeRegisteredCallback(name, args) {
|
|
45
|
-
const registeredCallbacks = getCallbacksRegisteredOnBackend();
|
|
46
|
-
if (!(name in registeredCallbacks))
|
|
47
|
-
throw new Error(`Unknown certa backend callback "${name}"`);
|
|
48
|
-
return registeredCallbacks[name](...args);
|
|
49
|
-
}
|
|
50
|
-
exports.executeRegisteredCallback = executeRegisteredCallback;
|
|
51
|
-
function registerBackendCallback(name, cb) {
|
|
52
|
-
if (isFrontend)
|
|
53
|
-
throw new Error("This should only be called on the backend!");
|
|
54
|
-
__webpack_require__.g._CertaRegisteredCallbacks = __webpack_require__.g._CertaRegisteredCallbacks || {};
|
|
55
|
-
__webpack_require__.g._CertaRegisteredCallbacks[name] = cb;
|
|
56
|
-
}
|
|
57
|
-
exports.registerBackendCallback = registerBackendCallback;
|
|
58
|
-
async function executeBackendCallback(name, ...args) {
|
|
59
|
-
if (!isFrontend)
|
|
60
|
-
return executeRegisteredCallback(name, args);
|
|
61
|
-
return window._CertaSendToBackend(name, args);
|
|
62
|
-
}
|
|
63
|
-
exports.executeBackendCallback = executeBackendCallback;
|
|
31
|
+
|
|
32
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
33
|
+
exports.executeBackendCallback = exports.registerBackendCallback = exports.executeRegisteredCallback = exports.getCallbacksRegisteredOnBackend = void 0;
|
|
34
|
+
const isFrontend = (typeof (window) !== "undefined");
|
|
35
|
+
/** @internal */
|
|
36
|
+
function getCallbacksRegisteredOnBackend() {
|
|
37
|
+
if (isFrontend)
|
|
38
|
+
throw new Error("This should only be called on the backend!");
|
|
39
|
+
__webpack_require__.g._CertaRegisteredCallbacks = __webpack_require__.g._CertaRegisteredCallbacks || {};
|
|
40
|
+
return __webpack_require__.g._CertaRegisteredCallbacks;
|
|
41
|
+
}
|
|
42
|
+
exports.getCallbacksRegisteredOnBackend = getCallbacksRegisteredOnBackend;
|
|
43
|
+
/** @internal */
|
|
44
|
+
function executeRegisteredCallback(name, args) {
|
|
45
|
+
const registeredCallbacks = getCallbacksRegisteredOnBackend();
|
|
46
|
+
if (!(name in registeredCallbacks))
|
|
47
|
+
throw new Error(`Unknown certa backend callback "${name}"`);
|
|
48
|
+
return registeredCallbacks[name](...args);
|
|
49
|
+
}
|
|
50
|
+
exports.executeRegisteredCallback = executeRegisteredCallback;
|
|
51
|
+
function registerBackendCallback(name, cb) {
|
|
52
|
+
if (isFrontend)
|
|
53
|
+
throw new Error("This should only be called on the backend!");
|
|
54
|
+
__webpack_require__.g._CertaRegisteredCallbacks = __webpack_require__.g._CertaRegisteredCallbacks || {};
|
|
55
|
+
__webpack_require__.g._CertaRegisteredCallbacks[name] = cb;
|
|
56
|
+
}
|
|
57
|
+
exports.registerBackendCallback = registerBackendCallback;
|
|
58
|
+
async function executeBackendCallback(name, ...args) {
|
|
59
|
+
if (!isFrontend)
|
|
60
|
+
return executeRegisteredCallback(name, args);
|
|
61
|
+
return window._CertaSendToBackend(name, args);
|
|
62
|
+
}
|
|
63
|
+
exports.executeBackendCallback = executeBackendCallback;
|
|
64
64
|
|
|
65
65
|
|
|
66
66
|
/***/ }),
|
|
67
67
|
|
|
68
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@2.
|
|
68
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@2.3.0/node_modules/@itwin/imodels-access-frontend/lib/esm/FrontendIModelsAccess.js":
|
|
69
69
|
/*!**************************************************************************************************************************************************************!*\
|
|
70
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@2.
|
|
70
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@2.3.0/node_modules/@itwin/imodels-access-frontend/lib/esm/FrontendIModelsAccess.js ***!
|
|
71
71
|
\**************************************************************************************************************************************************************/
|
|
72
72
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
73
73
|
|
|
@@ -79,8 +79,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
79
79
|
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
80
80
|
/* harmony import */ var _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
|
|
81
81
|
/* harmony import */ var _itwin_core_frontend__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @itwin/core-frontend */ "../../core/frontend/lib/esm/core-frontend.js");
|
|
82
|
-
/* harmony import */ var _itwin_imodels_client_management__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/imodels-client-management */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
83
|
-
/* harmony import */ var _interface_adapters_AccessTokenAdapter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./interface-adapters/AccessTokenAdapter */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@2.
|
|
82
|
+
/* harmony import */ var _itwin_imodels_client_management__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/imodels-client-management */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/index.js");
|
|
83
|
+
/* harmony import */ var _interface_adapters_AccessTokenAdapter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./interface-adapters/AccessTokenAdapter */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@2.3.0/node_modules/@itwin/imodels-access-frontend/lib/esm/interface-adapters/AccessTokenAdapter.js");
|
|
84
84
|
/*---------------------------------------------------------------------------------------------
|
|
85
85
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
86
86
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -186,9 +186,9 @@ class FrontendIModelsAccess {
|
|
|
186
186
|
|
|
187
187
|
/***/ }),
|
|
188
188
|
|
|
189
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@2.
|
|
189
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@2.3.0/node_modules/@itwin/imodels-access-frontend/lib/esm/index.js":
|
|
190
190
|
/*!**********************************************************************************************************************************************!*\
|
|
191
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@2.
|
|
191
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@2.3.0/node_modules/@itwin/imodels-access-frontend/lib/esm/index.js ***!
|
|
192
192
|
\**********************************************************************************************************************************************/
|
|
193
193
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
194
194
|
|
|
@@ -198,8 +198,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
198
198
|
/* harmony export */ "AccessTokenAdapter": () => (/* reexport safe */ _interface_adapters_AccessTokenAdapter__WEBPACK_IMPORTED_MODULE_0__.AccessTokenAdapter),
|
|
199
199
|
/* harmony export */ "FrontendIModelsAccess": () => (/* reexport safe */ _FrontendIModelsAccess__WEBPACK_IMPORTED_MODULE_1__.FrontendIModelsAccess)
|
|
200
200
|
/* harmony export */ });
|
|
201
|
-
/* harmony import */ var _interface_adapters_AccessTokenAdapter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interface-adapters/AccessTokenAdapter */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@2.
|
|
202
|
-
/* harmony import */ var _FrontendIModelsAccess__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./FrontendIModelsAccess */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@2.
|
|
201
|
+
/* harmony import */ var _interface_adapters_AccessTokenAdapter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interface-adapters/AccessTokenAdapter */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@2.3.0/node_modules/@itwin/imodels-access-frontend/lib/esm/interface-adapters/AccessTokenAdapter.js");
|
|
202
|
+
/* harmony import */ var _FrontendIModelsAccess__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./FrontendIModelsAccess */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@2.3.0/node_modules/@itwin/imodels-access-frontend/lib/esm/FrontendIModelsAccess.js");
|
|
203
203
|
/*---------------------------------------------------------------------------------------------
|
|
204
204
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
205
205
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -210,9 +210,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
210
210
|
|
|
211
211
|
/***/ }),
|
|
212
212
|
|
|
213
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@2.
|
|
213
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@2.3.0/node_modules/@itwin/imodels-access-frontend/lib/esm/interface-adapters/AccessTokenAdapter.js":
|
|
214
214
|
/*!******************************************************************************************************************************************************************************!*\
|
|
215
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@2.
|
|
215
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@2.3.0/node_modules/@itwin/imodels-access-frontend/lib/esm/interface-adapters/AccessTokenAdapter.js ***!
|
|
216
216
|
\******************************************************************************************************************************************************************************/
|
|
217
217
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
218
218
|
|
|
@@ -248,9 +248,9 @@ class AccessTokenAdapter {
|
|
|
248
248
|
|
|
249
249
|
/***/ }),
|
|
250
250
|
|
|
251
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
251
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/Constants.js":
|
|
252
252
|
/*!******************************************************************************************************************************************************!*\
|
|
253
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
253
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/Constants.js ***!
|
|
254
254
|
\******************************************************************************************************************************************************/
|
|
255
255
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
256
256
|
|
|
@@ -283,9 +283,9 @@ Constants.time = {
|
|
|
283
283
|
|
|
284
284
|
/***/ }),
|
|
285
285
|
|
|
286
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
286
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/IModelsClient.js":
|
|
287
287
|
/*!**********************************************************************************************************************************************************!*\
|
|
288
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
288
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/IModelsClient.js ***!
|
|
289
289
|
\**********************************************************************************************************************************************************/
|
|
290
290
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
291
291
|
|
|
@@ -294,11 +294,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
294
294
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
295
295
|
/* harmony export */ "IModelsClient": () => (/* binding */ IModelsClient)
|
|
296
296
|
/* harmony export */ });
|
|
297
|
-
/* harmony import */ var _base_internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base/internal */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
298
|
-
/* harmony import */ var _Constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Constants */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
299
|
-
/* harmony import */ var _operations__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./operations */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
300
|
-
/* harmony import */ var _operations_checkpoint_CheckpointOperations__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./operations/checkpoint/CheckpointOperations */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
301
|
-
/* harmony import */ var _operations_IModelsApiUrlFormatter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./operations/IModelsApiUrlFormatter */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
297
|
+
/* harmony import */ var _base_internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base/internal */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/index.js");
|
|
298
|
+
/* harmony import */ var _Constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Constants */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/Constants.js");
|
|
299
|
+
/* harmony import */ var _operations__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./operations */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/index.js");
|
|
300
|
+
/* harmony import */ var _operations_checkpoint_CheckpointOperations__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./operations/checkpoint/CheckpointOperations */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/checkpoint/CheckpointOperations.js");
|
|
301
|
+
/* harmony import */ var _operations_IModelsApiUrlFormatter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./operations/IModelsApiUrlFormatter */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/IModelsApiUrlFormatter.js");
|
|
302
302
|
/*---------------------------------------------------------------------------------------------
|
|
303
303
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
304
304
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -327,7 +327,7 @@ class IModelsClient {
|
|
|
327
327
|
}
|
|
328
328
|
/** iModel operations. See {@link iModelOperations}. */
|
|
329
329
|
get iModels() {
|
|
330
|
-
return new _operations__WEBPACK_IMPORTED_MODULE_2__.IModelOperations(this._operationsOptions);
|
|
330
|
+
return new _operations__WEBPACK_IMPORTED_MODULE_2__.IModelOperations(this._operationsOptions, this);
|
|
331
331
|
}
|
|
332
332
|
/** Briefcase operations. See {@link BriefcaseOperations}. */
|
|
333
333
|
get briefcases() {
|
|
@@ -376,9 +376,9 @@ class IModelsClient {
|
|
|
376
376
|
|
|
377
377
|
/***/ }),
|
|
378
378
|
|
|
379
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
379
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/ApiResponseInterfaces.js":
|
|
380
380
|
/*!********************************************************************************************************************************************************************************!*\
|
|
381
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
381
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/ApiResponseInterfaces.js ***!
|
|
382
382
|
\********************************************************************************************************************************************************************************/
|
|
383
383
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
384
384
|
|
|
@@ -389,9 +389,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
389
389
|
|
|
390
390
|
/***/ }),
|
|
391
391
|
|
|
392
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
392
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/AxiosRestClient.js":
|
|
393
393
|
/*!**************************************************************************************************************************************************************************!*\
|
|
394
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
394
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/AxiosRestClient.js ***!
|
|
395
395
|
\**************************************************************************************************************************************************************************/
|
|
396
396
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
397
397
|
|
|
@@ -402,7 +402,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
402
402
|
/* harmony export */ });
|
|
403
403
|
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@0.21.4/node_modules/axios/index.js");
|
|
404
404
|
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_0__);
|
|
405
|
-
/* harmony import */ var _types_RestClient__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../types/RestClient */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
405
|
+
/* harmony import */ var _types_RestClient__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../types/RestClient */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/RestClient.js");
|
|
406
406
|
/*---------------------------------------------------------------------------------------------
|
|
407
407
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
408
408
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -452,14 +452,14 @@ class AxiosRestClient {
|
|
|
452
452
|
return this.executeRequest(async () => axios__WEBPACK_IMPORTED_MODULE_0___default()["delete"](params.url, requestConfig));
|
|
453
453
|
}
|
|
454
454
|
async executeRequest(requestFunc) {
|
|
455
|
-
var _a;
|
|
455
|
+
var _a, _b;
|
|
456
456
|
try {
|
|
457
457
|
const response = await requestFunc();
|
|
458
458
|
return response.data;
|
|
459
459
|
}
|
|
460
460
|
catch (error) {
|
|
461
461
|
if (axios__WEBPACK_IMPORTED_MODULE_0___default().isAxiosError(error)) {
|
|
462
|
-
const parsedError = this._parseErrorFunc({
|
|
462
|
+
const parsedError = this._parseErrorFunc({ statusCode: (_a = error.response) === null || _a === void 0 ? void 0 : _a.status, body: (_b = error.response) === null || _b === void 0 ? void 0 : _b.data });
|
|
463
463
|
throw parsedError;
|
|
464
464
|
}
|
|
465
465
|
throw new Error("AxiosRestClient: unknown error occurred.");
|
|
@@ -470,9 +470,9 @@ class AxiosRestClient {
|
|
|
470
470
|
|
|
471
471
|
/***/ }),
|
|
472
472
|
|
|
473
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
473
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/IModelsErrorParser.js":
|
|
474
474
|
/*!*****************************************************************************************************************************************************************************!*\
|
|
475
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
475
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/IModelsErrorParser.js ***!
|
|
476
476
|
\*****************************************************************************************************************************************************************************/
|
|
477
477
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
478
478
|
|
|
@@ -483,7 +483,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
483
483
|
/* harmony export */ "IModelsErrorImpl": () => (/* binding */ IModelsErrorImpl),
|
|
484
484
|
/* harmony export */ "IModelsErrorParser": () => (/* binding */ IModelsErrorParser)
|
|
485
485
|
/* harmony export */ });
|
|
486
|
-
/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../types */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
486
|
+
/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../types */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/index.js");
|
|
487
487
|
/*---------------------------------------------------------------------------------------------
|
|
488
488
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
489
489
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -508,6 +508,11 @@ class IModelsErrorParser {
|
|
|
508
508
|
if (!response.body)
|
|
509
509
|
return new IModelsErrorImpl(IModelsErrorParser._unknownErrorProperties);
|
|
510
510
|
const errorFromApi = response.body;
|
|
511
|
+
if (response.statusCode === 401)
|
|
512
|
+
return new IModelsErrorImpl({
|
|
513
|
+
code: _types__WEBPACK_IMPORTED_MODULE_0__.IModelsErrorCode.Unauthorized,
|
|
514
|
+
message: IModelsErrorParser.resolveUnauthorizedMessage(response.body)
|
|
515
|
+
});
|
|
511
516
|
const errorCode = IModelsErrorParser.parseCode((_a = errorFromApi === null || errorFromApi === void 0 ? void 0 : errorFromApi.error) === null || _a === void 0 ? void 0 : _a.code);
|
|
512
517
|
const errorDetails = IModelsErrorParser.parseDetails((_b = errorFromApi.error) === null || _b === void 0 ? void 0 : _b.details);
|
|
513
518
|
const errorMessage = IModelsErrorParser.parseAndFormatMessage((_c = errorFromApi === null || errorFromApi === void 0 ? void 0 : errorFromApi.error) === null || _c === void 0 ? void 0 : _c.message, errorDetails);
|
|
@@ -549,16 +554,21 @@ class IModelsErrorParser {
|
|
|
549
554
|
}
|
|
550
555
|
return result;
|
|
551
556
|
}
|
|
557
|
+
static resolveUnauthorizedMessage(responseBody) {
|
|
558
|
+
var _a, _b, _c, _d, _e;
|
|
559
|
+
return (_e = (_c = (_b = (_a = responseBody) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.message) !== null && _c !== void 0 ? _c : (_d = responseBody) === null || _d === void 0 ? void 0 : _d.message) !== null && _e !== void 0 ? _e : IModelsErrorParser._defaultUnauthorizedMessage;
|
|
560
|
+
}
|
|
552
561
|
}
|
|
553
562
|
IModelsErrorParser._defaultErrorMessage = "Unknown error occurred";
|
|
563
|
+
IModelsErrorParser._defaultUnauthorizedMessage = "Authorization failed";
|
|
554
564
|
IModelsErrorParser._unknownErrorProperties = { code: _types__WEBPACK_IMPORTED_MODULE_0__.IModelsErrorCode.Unknown, message: IModelsErrorParser._defaultErrorMessage };
|
|
555
565
|
|
|
556
566
|
|
|
557
567
|
/***/ }),
|
|
558
568
|
|
|
559
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
569
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/OperationsBase.js":
|
|
560
570
|
/*!*************************************************************************************************************************************************************************!*\
|
|
561
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
571
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/OperationsBase.js ***!
|
|
562
572
|
\*************************************************************************************************************************************************************************/
|
|
563
573
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
564
574
|
|
|
@@ -567,8 +577,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
567
577
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
568
578
|
/* harmony export */ "OperationsBase": () => (/* binding */ OperationsBase)
|
|
569
579
|
/* harmony export */ });
|
|
570
|
-
/* harmony import */ var _Constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../Constants */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
571
|
-
/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../types */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
580
|
+
/* harmony import */ var _Constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../Constants */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/Constants.js");
|
|
581
|
+
/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../types */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/index.js");
|
|
572
582
|
/*---------------------------------------------------------------------------------------------
|
|
573
583
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
574
584
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -656,9 +666,9 @@ class OperationsBase {
|
|
|
656
666
|
|
|
657
667
|
/***/ }),
|
|
658
668
|
|
|
659
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
669
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/UtilityFunctions.js":
|
|
660
670
|
/*!***************************************************************************************************************************************************************************!*\
|
|
661
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
671
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/UtilityFunctions.js ***!
|
|
662
672
|
\***************************************************************************************************************************************************************************/
|
|
663
673
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
664
674
|
|
|
@@ -668,7 +678,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
668
678
|
/* harmony export */ "sleep": () => (/* binding */ sleep),
|
|
669
679
|
/* harmony export */ "waitForCondition": () => (/* binding */ waitForCondition)
|
|
670
680
|
/* harmony export */ });
|
|
671
|
-
/* harmony import */ var _Constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../Constants */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
681
|
+
/* harmony import */ var _Constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../Constants */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/Constants.js");
|
|
672
682
|
/*---------------------------------------------------------------------------------------------
|
|
673
683
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
674
684
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -694,9 +704,9 @@ async function waitForCondition(params) {
|
|
|
694
704
|
|
|
695
705
|
/***/ }),
|
|
696
706
|
|
|
697
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
707
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/UtilityTypes.js":
|
|
698
708
|
/*!***********************************************************************************************************************************************************************!*\
|
|
699
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
709
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/UtilityTypes.js ***!
|
|
700
710
|
\***********************************************************************************************************************************************************************/
|
|
701
711
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
702
712
|
|
|
@@ -711,9 +721,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
711
721
|
|
|
712
722
|
/***/ }),
|
|
713
723
|
|
|
714
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
724
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/index.js":
|
|
715
725
|
/*!****************************************************************************************************************************************************************!*\
|
|
716
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
726
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/index.js ***!
|
|
717
727
|
\****************************************************************************************************************************************************************/
|
|
718
728
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
719
729
|
|
|
@@ -730,14 +740,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
730
740
|
/* harmony export */ "sleep": () => (/* reexport safe */ _UtilityFunctions__WEBPACK_IMPORTED_MODULE_7__.sleep),
|
|
731
741
|
/* harmony export */ "waitForCondition": () => (/* reexport safe */ _UtilityFunctions__WEBPACK_IMPORTED_MODULE_7__.waitForCondition)
|
|
732
742
|
/* harmony export */ });
|
|
733
|
-
/* harmony import */ var _iterators_EntityListIteratorImpl__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./iterators/EntityListIteratorImpl */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
734
|
-
/* harmony import */ var _iterators_EntityPageListIterator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterators/EntityPageListIterator */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
735
|
-
/* harmony import */ var _ApiResponseInterfaces__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ApiResponseInterfaces */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
736
|
-
/* harmony import */ var _AxiosRestClient__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./AxiosRestClient */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
737
|
-
/* harmony import */ var _IModelsErrorParser__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./IModelsErrorParser */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
738
|
-
/* harmony import */ var _OperationsBase__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./OperationsBase */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
739
|
-
/* harmony import */ var _UtilityTypes__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./UtilityTypes */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
740
|
-
/* harmony import */ var _UtilityFunctions__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./UtilityFunctions */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
743
|
+
/* harmony import */ var _iterators_EntityListIteratorImpl__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./iterators/EntityListIteratorImpl */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/iterators/EntityListIteratorImpl.js");
|
|
744
|
+
/* harmony import */ var _iterators_EntityPageListIterator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterators/EntityPageListIterator */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/iterators/EntityPageListIterator.js");
|
|
745
|
+
/* harmony import */ var _ApiResponseInterfaces__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ApiResponseInterfaces */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/ApiResponseInterfaces.js");
|
|
746
|
+
/* harmony import */ var _AxiosRestClient__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./AxiosRestClient */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/AxiosRestClient.js");
|
|
747
|
+
/* harmony import */ var _IModelsErrorParser__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./IModelsErrorParser */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/IModelsErrorParser.js");
|
|
748
|
+
/* harmony import */ var _OperationsBase__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./OperationsBase */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/OperationsBase.js");
|
|
749
|
+
/* harmony import */ var _UtilityTypes__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./UtilityTypes */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/UtilityTypes.js");
|
|
750
|
+
/* harmony import */ var _UtilityFunctions__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./UtilityFunctions */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/UtilityFunctions.js");
|
|
741
751
|
/*---------------------------------------------------------------------------------------------
|
|
742
752
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
743
753
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -754,9 +764,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
754
764
|
|
|
755
765
|
/***/ }),
|
|
756
766
|
|
|
757
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
767
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/iterators/EntityListIteratorImpl.js":
|
|
758
768
|
/*!*******************************************************************************************************************************************************************************************!*\
|
|
759
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
769
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/iterators/EntityListIteratorImpl.js ***!
|
|
760
770
|
\*******************************************************************************************************************************************************************************************/
|
|
761
771
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
762
772
|
|
|
@@ -765,8 +775,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
765
775
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
766
776
|
/* harmony export */ "EntityListIteratorImpl": () => (/* binding */ EntityListIteratorImpl)
|
|
767
777
|
/* harmony export */ });
|
|
768
|
-
/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../types */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
769
|
-
/* harmony import */ var _EntityPageListIterator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./EntityPageListIterator */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
778
|
+
/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../types */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/index.js");
|
|
779
|
+
/* harmony import */ var _EntityPageListIterator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./EntityPageListIterator */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/iterators/EntityPageListIterator.js");
|
|
770
780
|
/*---------------------------------------------------------------------------------------------
|
|
771
781
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
772
782
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -792,9 +802,9 @@ class EntityListIteratorImpl {
|
|
|
792
802
|
|
|
793
803
|
/***/ }),
|
|
794
804
|
|
|
795
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
805
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/iterators/EntityPageListIterator.js":
|
|
796
806
|
/*!*******************************************************************************************************************************************************************************************!*\
|
|
797
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
807
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/iterators/EntityPageListIterator.js ***!
|
|
798
808
|
\*******************************************************************************************************************************************************************************************/
|
|
799
809
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
800
810
|
|
|
@@ -826,9 +836,9 @@ class EntityPageListIterator {
|
|
|
826
836
|
|
|
827
837
|
/***/ }),
|
|
828
838
|
|
|
829
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
839
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/CommonInterfaces.js":
|
|
830
840
|
/*!************************************************************************************************************************************************************************!*\
|
|
831
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
841
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/CommonInterfaces.js ***!
|
|
832
842
|
\************************************************************************************************************************************************************************/
|
|
833
843
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
834
844
|
|
|
@@ -865,9 +875,9 @@ var PreferReturn;
|
|
|
865
875
|
|
|
866
876
|
/***/ }),
|
|
867
877
|
|
|
868
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
878
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/IModelsErrorInterfaces.js":
|
|
869
879
|
/*!******************************************************************************************************************************************************************************!*\
|
|
870
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
880
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/IModelsErrorInterfaces.js ***!
|
|
871
881
|
\******************************************************************************************************************************************************************************/
|
|
872
882
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
873
883
|
|
|
@@ -935,9 +945,9 @@ function isIModelsApiError(error) {
|
|
|
935
945
|
|
|
936
946
|
/***/ }),
|
|
937
947
|
|
|
938
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
948
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/RestClient.js":
|
|
939
949
|
/*!******************************************************************************************************************************************************************!*\
|
|
940
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
950
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/RestClient.js ***!
|
|
941
951
|
\******************************************************************************************************************************************************************/
|
|
942
952
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
943
953
|
|
|
@@ -959,9 +969,9 @@ var ContentType;
|
|
|
959
969
|
|
|
960
970
|
/***/ }),
|
|
961
971
|
|
|
962
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
972
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/UtilityTypes.js":
|
|
963
973
|
/*!********************************************************************************************************************************************************************!*\
|
|
964
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
974
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/UtilityTypes.js ***!
|
|
965
975
|
\********************************************************************************************************************************************************************/
|
|
966
976
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
967
977
|
|
|
@@ -976,9 +986,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
976
986
|
|
|
977
987
|
/***/ }),
|
|
978
988
|
|
|
979
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
989
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/apiEntities/BriefcaseInterfaces.js":
|
|
980
990
|
/*!***************************************************************************************************************************************************************************************!*\
|
|
981
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
991
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/apiEntities/BriefcaseInterfaces.js ***!
|
|
982
992
|
\***************************************************************************************************************************************************************************************/
|
|
983
993
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
984
994
|
|
|
@@ -989,9 +999,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
989
999
|
|
|
990
1000
|
/***/ }),
|
|
991
1001
|
|
|
992
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1002
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/apiEntities/ChangesetInterfaces.js":
|
|
993
1003
|
/*!***************************************************************************************************************************************************************************************!*\
|
|
994
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1004
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/apiEntities/ChangesetInterfaces.js ***!
|
|
995
1005
|
\***************************************************************************************************************************************************************************************/
|
|
996
1006
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
997
1007
|
|
|
@@ -1024,9 +1034,9 @@ var ContainingChanges;
|
|
|
1024
1034
|
|
|
1025
1035
|
/***/ }),
|
|
1026
1036
|
|
|
1027
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1037
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/apiEntities/CheckpointInterfaces.js":
|
|
1028
1038
|
/*!****************************************************************************************************************************************************************************************!*\
|
|
1029
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1039
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/apiEntities/CheckpointInterfaces.js ***!
|
|
1030
1040
|
\****************************************************************************************************************************************************************************************/
|
|
1031
1041
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1032
1042
|
|
|
@@ -1051,9 +1061,9 @@ var CheckpointState;
|
|
|
1051
1061
|
|
|
1052
1062
|
/***/ }),
|
|
1053
1063
|
|
|
1054
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1064
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/apiEntities/IModelInterfaces.js":
|
|
1055
1065
|
/*!************************************************************************************************************************************************************************************!*\
|
|
1056
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1066
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/apiEntities/IModelInterfaces.js ***!
|
|
1057
1067
|
\************************************************************************************************************************************************************************************/
|
|
1058
1068
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1059
1069
|
|
|
@@ -1077,9 +1087,9 @@ var IModelState;
|
|
|
1077
1087
|
|
|
1078
1088
|
/***/ }),
|
|
1079
1089
|
|
|
1080
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1090
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/apiEntities/NamedVersionInterfaces.js":
|
|
1081
1091
|
/*!******************************************************************************************************************************************************************************************!*\
|
|
1082
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1092
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/apiEntities/NamedVersionInterfaces.js ***!
|
|
1083
1093
|
\******************************************************************************************************************************************************************************************/
|
|
1084
1094
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1085
1095
|
|
|
@@ -1100,9 +1110,9 @@ var NamedVersionState;
|
|
|
1100
1110
|
|
|
1101
1111
|
/***/ }),
|
|
1102
1112
|
|
|
1103
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1113
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/apiEntities/ThumbnailInterfaces.js":
|
|
1104
1114
|
/*!***************************************************************************************************************************************************************************************!*\
|
|
1105
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1115
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/apiEntities/ThumbnailInterfaces.js ***!
|
|
1106
1116
|
\***************************************************************************************************************************************************************************************/
|
|
1107
1117
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1108
1118
|
|
|
@@ -1123,9 +1133,9 @@ var ThumbnailSize;
|
|
|
1123
1133
|
|
|
1124
1134
|
/***/ }),
|
|
1125
1135
|
|
|
1126
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1136
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/apiEntities/UserInterfaces.js":
|
|
1127
1137
|
/*!**********************************************************************************************************************************************************************************!*\
|
|
1128
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1138
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/apiEntities/UserInterfaces.js ***!
|
|
1129
1139
|
\**********************************************************************************************************************************************************************************/
|
|
1130
1140
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1131
1141
|
|
|
@@ -1136,9 +1146,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1136
1146
|
|
|
1137
1147
|
/***/ }),
|
|
1138
1148
|
|
|
1139
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1149
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/apiEntities/UserPermissionInterfaces.js":
|
|
1140
1150
|
/*!********************************************************************************************************************************************************************************************!*\
|
|
1141
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1151
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/apiEntities/UserPermissionInterfaces.js ***!
|
|
1142
1152
|
\********************************************************************************************************************************************************************************************/
|
|
1143
1153
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1144
1154
|
|
|
@@ -1181,9 +1191,9 @@ var IModelPermission;
|
|
|
1181
1191
|
|
|
1182
1192
|
/***/ }),
|
|
1183
1193
|
|
|
1184
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1194
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/index.js":
|
|
1185
1195
|
/*!*************************************************************************************************************************************************************!*\
|
|
1186
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1196
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/index.js ***!
|
|
1187
1197
|
\*************************************************************************************************************************************************************/
|
|
1188
1198
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1189
1199
|
|
|
@@ -1207,20 +1217,20 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1207
1217
|
/* harmony export */ "take": () => (/* reexport safe */ _iterators_IteratorUtilFunctions__WEBPACK_IMPORTED_MODULE_9__.take),
|
|
1208
1218
|
/* harmony export */ "toArray": () => (/* reexport safe */ _iterators_IteratorUtilFunctions__WEBPACK_IMPORTED_MODULE_9__.toArray)
|
|
1209
1219
|
/* harmony export */ });
|
|
1210
|
-
/* harmony import */ var _apiEntities_IModelInterfaces__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./apiEntities/IModelInterfaces */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1211
|
-
/* harmony import */ var _apiEntities_BriefcaseInterfaces__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./apiEntities/BriefcaseInterfaces */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1212
|
-
/* harmony import */ var _apiEntities_ChangesetInterfaces__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./apiEntities/ChangesetInterfaces */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1213
|
-
/* harmony import */ var _apiEntities_NamedVersionInterfaces__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./apiEntities/NamedVersionInterfaces */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1214
|
-
/* harmony import */ var _apiEntities_CheckpointInterfaces__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./apiEntities/CheckpointInterfaces */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1215
|
-
/* harmony import */ var _apiEntities_ThumbnailInterfaces__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./apiEntities/ThumbnailInterfaces */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1216
|
-
/* harmony import */ var _apiEntities_UserInterfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./apiEntities/UserInterfaces */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1217
|
-
/* harmony import */ var _apiEntities_UserPermissionInterfaces__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./apiEntities/UserPermissionInterfaces */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1218
|
-
/* harmony import */ var _iterators_EntityListIterator__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./iterators/EntityListIterator */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1219
|
-
/* harmony import */ var _iterators_IteratorUtilFunctions__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./iterators/IteratorUtilFunctions */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1220
|
-
/* harmony import */ var _RestClient__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./RestClient */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1221
|
-
/* harmony import */ var _CommonInterfaces__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./CommonInterfaces */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1222
|
-
/* harmony import */ var _UtilityTypes__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./UtilityTypes */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1223
|
-
/* harmony import */ var _IModelsErrorInterfaces__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./IModelsErrorInterfaces */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1220
|
+
/* harmony import */ var _apiEntities_IModelInterfaces__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./apiEntities/IModelInterfaces */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/apiEntities/IModelInterfaces.js");
|
|
1221
|
+
/* harmony import */ var _apiEntities_BriefcaseInterfaces__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./apiEntities/BriefcaseInterfaces */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/apiEntities/BriefcaseInterfaces.js");
|
|
1222
|
+
/* harmony import */ var _apiEntities_ChangesetInterfaces__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./apiEntities/ChangesetInterfaces */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/apiEntities/ChangesetInterfaces.js");
|
|
1223
|
+
/* harmony import */ var _apiEntities_NamedVersionInterfaces__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./apiEntities/NamedVersionInterfaces */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/apiEntities/NamedVersionInterfaces.js");
|
|
1224
|
+
/* harmony import */ var _apiEntities_CheckpointInterfaces__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./apiEntities/CheckpointInterfaces */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/apiEntities/CheckpointInterfaces.js");
|
|
1225
|
+
/* harmony import */ var _apiEntities_ThumbnailInterfaces__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./apiEntities/ThumbnailInterfaces */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/apiEntities/ThumbnailInterfaces.js");
|
|
1226
|
+
/* harmony import */ var _apiEntities_UserInterfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./apiEntities/UserInterfaces */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/apiEntities/UserInterfaces.js");
|
|
1227
|
+
/* harmony import */ var _apiEntities_UserPermissionInterfaces__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./apiEntities/UserPermissionInterfaces */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/apiEntities/UserPermissionInterfaces.js");
|
|
1228
|
+
/* harmony import */ var _iterators_EntityListIterator__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./iterators/EntityListIterator */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/iterators/EntityListIterator.js");
|
|
1229
|
+
/* harmony import */ var _iterators_IteratorUtilFunctions__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./iterators/IteratorUtilFunctions */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/iterators/IteratorUtilFunctions.js");
|
|
1230
|
+
/* harmony import */ var _RestClient__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./RestClient */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/RestClient.js");
|
|
1231
|
+
/* harmony import */ var _CommonInterfaces__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./CommonInterfaces */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/CommonInterfaces.js");
|
|
1232
|
+
/* harmony import */ var _UtilityTypes__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./UtilityTypes */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/UtilityTypes.js");
|
|
1233
|
+
/* harmony import */ var _IModelsErrorInterfaces__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./IModelsErrorInterfaces */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/IModelsErrorInterfaces.js");
|
|
1224
1234
|
/*---------------------------------------------------------------------------------------------
|
|
1225
1235
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
1226
1236
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -1243,9 +1253,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1243
1253
|
|
|
1244
1254
|
/***/ }),
|
|
1245
1255
|
|
|
1246
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1256
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/iterators/EntityListIterator.js":
|
|
1247
1257
|
/*!************************************************************************************************************************************************************************************!*\
|
|
1248
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1258
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/iterators/EntityListIterator.js ***!
|
|
1249
1259
|
\************************************************************************************************************************************************************************************/
|
|
1250
1260
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1251
1261
|
|
|
@@ -1260,9 +1270,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1260
1270
|
|
|
1261
1271
|
/***/ }),
|
|
1262
1272
|
|
|
1263
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1273
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/iterators/IteratorUtilFunctions.js":
|
|
1264
1274
|
/*!***************************************************************************************************************************************************************************************!*\
|
|
1265
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1275
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/iterators/IteratorUtilFunctions.js ***!
|
|
1266
1276
|
\***************************************************************************************************************************************************************************************/
|
|
1267
1277
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1268
1278
|
|
|
@@ -1330,9 +1340,9 @@ async function take(iterator, entityCount) {
|
|
|
1330
1340
|
|
|
1331
1341
|
/***/ }),
|
|
1332
1342
|
|
|
1333
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1343
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/index.js":
|
|
1334
1344
|
/*!**************************************************************************************************************************************************!*\
|
|
1335
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1345
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/index.js ***!
|
|
1336
1346
|
\**************************************************************************************************************************************************/
|
|
1337
1347
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1338
1348
|
|
|
@@ -1361,9 +1371,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1361
1371
|
/* harmony export */ "take": () => (/* reexport safe */ _base_types__WEBPACK_IMPORTED_MODULE_0__.take),
|
|
1362
1372
|
/* harmony export */ "toArray": () => (/* reexport safe */ _base_types__WEBPACK_IMPORTED_MODULE_0__.toArray)
|
|
1363
1373
|
/* harmony export */ });
|
|
1364
|
-
/* harmony import */ var _base_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base/types */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1365
|
-
/* harmony import */ var _operations_OperationParamExports__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./operations/OperationParamExports */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1366
|
-
/* harmony import */ var _IModelsClient__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./IModelsClient */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1374
|
+
/* harmony import */ var _base_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base/types */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/index.js");
|
|
1375
|
+
/* harmony import */ var _operations_OperationParamExports__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./operations/OperationParamExports */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/OperationParamExports.js");
|
|
1376
|
+
/* harmony import */ var _IModelsClient__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./IModelsClient */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/IModelsClient.js");
|
|
1367
1377
|
/*---------------------------------------------------------------------------------------------
|
|
1368
1378
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
1369
1379
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -1375,9 +1385,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1375
1385
|
|
|
1376
1386
|
/***/ }),
|
|
1377
1387
|
|
|
1378
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1388
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/IModelsApiUrlFormatter.js":
|
|
1379
1389
|
/*!******************************************************************************************************************************************************************************!*\
|
|
1380
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1390
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/IModelsApiUrlFormatter.js ***!
|
|
1381
1391
|
\******************************************************************************************************************************************************************************/
|
|
1382
1392
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1383
1393
|
|
|
@@ -1532,9 +1542,9 @@ class IModelsApiUrlFormatter {
|
|
|
1532
1542
|
|
|
1533
1543
|
/***/ }),
|
|
1534
1544
|
|
|
1535
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1545
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/OperationExports.js":
|
|
1536
1546
|
/*!************************************************************************************************************************************************************************!*\
|
|
1537
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1547
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/OperationExports.js ***!
|
|
1538
1548
|
\************************************************************************************************************************************************************************/
|
|
1539
1549
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1540
1550
|
|
|
@@ -1550,14 +1560,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1550
1560
|
/* harmony export */ "UserOperations": () => (/* reexport safe */ _user_UserOperations__WEBPACK_IMPORTED_MODULE_6__.UserOperations),
|
|
1551
1561
|
/* harmony export */ "UserPermissionOperations": () => (/* reexport safe */ _user_permission_UserPermissionOperations__WEBPACK_IMPORTED_MODULE_7__.UserPermissionOperations)
|
|
1552
1562
|
/* harmony export */ });
|
|
1553
|
-
/* harmony import */ var _imodel_IModelOperations__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./imodel/IModelOperations */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1554
|
-
/* harmony import */ var _briefcase_BriefcaseOperations__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./briefcase/BriefcaseOperations */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1555
|
-
/* harmony import */ var _changeset_ChangesetOperations__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./changeset/ChangesetOperations */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1556
|
-
/* harmony import */ var _named_version_NamedVersionOperations__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./named-version/NamedVersionOperations */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1557
|
-
/* harmony import */ var _checkpoint_CheckpointOperations__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./checkpoint/CheckpointOperations */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1558
|
-
/* harmony import */ var _thumbnail_ThumbnailOperations__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./thumbnail/ThumbnailOperations */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1559
|
-
/* harmony import */ var _user_UserOperations__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./user/UserOperations */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1560
|
-
/* harmony import */ var _user_permission_UserPermissionOperations__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./user-permission/UserPermissionOperations */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1563
|
+
/* harmony import */ var _imodel_IModelOperations__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./imodel/IModelOperations */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/imodel/IModelOperations.js");
|
|
1564
|
+
/* harmony import */ var _briefcase_BriefcaseOperations__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./briefcase/BriefcaseOperations */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/briefcase/BriefcaseOperations.js");
|
|
1565
|
+
/* harmony import */ var _changeset_ChangesetOperations__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./changeset/ChangesetOperations */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/changeset/ChangesetOperations.js");
|
|
1566
|
+
/* harmony import */ var _named_version_NamedVersionOperations__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./named-version/NamedVersionOperations */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/named-version/NamedVersionOperations.js");
|
|
1567
|
+
/* harmony import */ var _checkpoint_CheckpointOperations__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./checkpoint/CheckpointOperations */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/checkpoint/CheckpointOperations.js");
|
|
1568
|
+
/* harmony import */ var _thumbnail_ThumbnailOperations__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./thumbnail/ThumbnailOperations */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/thumbnail/ThumbnailOperations.js");
|
|
1569
|
+
/* harmony import */ var _user_UserOperations__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./user/UserOperations */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/user/UserOperations.js");
|
|
1570
|
+
/* harmony import */ var _user_permission_UserPermissionOperations__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./user-permission/UserPermissionOperations */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/user-permission/UserPermissionOperations.js");
|
|
1561
1571
|
/*---------------------------------------------------------------------------------------------
|
|
1562
1572
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
1563
1573
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -1574,9 +1584,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1574
1584
|
|
|
1575
1585
|
/***/ }),
|
|
1576
1586
|
|
|
1577
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1587
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/OperationOptions.js":
|
|
1578
1588
|
/*!************************************************************************************************************************************************************************!*\
|
|
1579
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1589
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/OperationOptions.js ***!
|
|
1580
1590
|
\************************************************************************************************************************************************************************/
|
|
1581
1591
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1582
1592
|
|
|
@@ -1587,9 +1597,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1587
1597
|
|
|
1588
1598
|
/***/ }),
|
|
1589
1599
|
|
|
1590
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1600
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/OperationParamExports.js":
|
|
1591
1601
|
/*!*****************************************************************************************************************************************************************************!*\
|
|
1592
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1602
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/OperationParamExports.js ***!
|
|
1593
1603
|
\*****************************************************************************************************************************************************************************/
|
|
1594
1604
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1595
1605
|
|
|
@@ -1601,14 +1611,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1601
1611
|
/* harmony export */ "NamedVersionOrderByProperty": () => (/* reexport safe */ _named_version_NamedVersionOperationParams__WEBPACK_IMPORTED_MODULE_3__.NamedVersionOrderByProperty),
|
|
1602
1612
|
/* harmony export */ "SPECIAL_VALUES_ME": () => (/* reexport safe */ _briefcase_BriefcaseOperationParams__WEBPACK_IMPORTED_MODULE_1__.SPECIAL_VALUES_ME)
|
|
1603
1613
|
/* harmony export */ });
|
|
1604
|
-
/* harmony import */ var _imodel_IModelOperationParams__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./imodel/IModelOperationParams */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1605
|
-
/* harmony import */ var _briefcase_BriefcaseOperationParams__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./briefcase/BriefcaseOperationParams */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1606
|
-
/* harmony import */ var _changeset_ChangesetOperationParams__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./changeset/ChangesetOperationParams */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1607
|
-
/* harmony import */ var _named_version_NamedVersionOperationParams__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./named-version/NamedVersionOperationParams */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1608
|
-
/* harmony import */ var _checkpoint_CheckpointOperationParams__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./checkpoint/CheckpointOperationParams */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1609
|
-
/* harmony import */ var _thumbnail_ThumbnailOperationParams__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./thumbnail/ThumbnailOperationParams */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1610
|
-
/* harmony import */ var _user_UserOperationParams__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./user/UserOperationParams */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1611
|
-
/* harmony import */ var _user_permission_UserPermissionOperationParams__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./user-permission/UserPermissionOperationParams */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1614
|
+
/* harmony import */ var _imodel_IModelOperationParams__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./imodel/IModelOperationParams */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/imodel/IModelOperationParams.js");
|
|
1615
|
+
/* harmony import */ var _briefcase_BriefcaseOperationParams__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./briefcase/BriefcaseOperationParams */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/briefcase/BriefcaseOperationParams.js");
|
|
1616
|
+
/* harmony import */ var _changeset_ChangesetOperationParams__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./changeset/ChangesetOperationParams */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/changeset/ChangesetOperationParams.js");
|
|
1617
|
+
/* harmony import */ var _named_version_NamedVersionOperationParams__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./named-version/NamedVersionOperationParams */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/named-version/NamedVersionOperationParams.js");
|
|
1618
|
+
/* harmony import */ var _checkpoint_CheckpointOperationParams__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./checkpoint/CheckpointOperationParams */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/checkpoint/CheckpointOperationParams.js");
|
|
1619
|
+
/* harmony import */ var _thumbnail_ThumbnailOperationParams__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./thumbnail/ThumbnailOperationParams */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/thumbnail/ThumbnailOperationParams.js");
|
|
1620
|
+
/* harmony import */ var _user_UserOperationParams__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./user/UserOperationParams */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/user/UserOperationParams.js");
|
|
1621
|
+
/* harmony import */ var _user_permission_UserPermissionOperationParams__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./user-permission/UserPermissionOperationParams */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/user-permission/UserPermissionOperationParams.js");
|
|
1612
1622
|
/*---------------------------------------------------------------------------------------------
|
|
1613
1623
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
1614
1624
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -1625,9 +1635,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1625
1635
|
|
|
1626
1636
|
/***/ }),
|
|
1627
1637
|
|
|
1628
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1638
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/SharedFunctions.js":
|
|
1629
1639
|
/*!***********************************************************************************************************************************************************************!*\
|
|
1630
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1640
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/SharedFunctions.js ***!
|
|
1631
1641
|
\***********************************************************************************************************************************************************************/
|
|
1632
1642
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1633
1643
|
|
|
@@ -1650,9 +1660,9 @@ async function getUser(authorization, userOperations, urlFormatter, userLink) {
|
|
|
1650
1660
|
|
|
1651
1661
|
/***/ }),
|
|
1652
1662
|
|
|
1653
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1663
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/briefcase/BriefcaseOperationParams.js":
|
|
1654
1664
|
/*!******************************************************************************************************************************************************************************************!*\
|
|
1655
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1665
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/briefcase/BriefcaseOperationParams.js ***!
|
|
1656
1666
|
\******************************************************************************************************************************************************************************************/
|
|
1657
1667
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1658
1668
|
|
|
@@ -1667,9 +1677,9 @@ const SPECIAL_VALUES_ME = "me";
|
|
|
1667
1677
|
|
|
1668
1678
|
/***/ }),
|
|
1669
1679
|
|
|
1670
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1680
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/briefcase/BriefcaseOperations.js":
|
|
1671
1681
|
/*!*************************************************************************************************************************************************************************************!*\
|
|
1672
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1682
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/briefcase/BriefcaseOperations.js ***!
|
|
1673
1683
|
\*************************************************************************************************************************************************************************************/
|
|
1674
1684
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1675
1685
|
|
|
@@ -1678,9 +1688,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1678
1688
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1679
1689
|
/* harmony export */ "BriefcaseOperations": () => (/* binding */ BriefcaseOperations)
|
|
1680
1690
|
/* harmony export */ });
|
|
1681
|
-
/* harmony import */ var _base_internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../base/internal */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1682
|
-
/* harmony import */ var _base_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../base/types */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1683
|
-
/* harmony import */ var _SharedFunctions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../SharedFunctions */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1691
|
+
/* harmony import */ var _base_internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../base/internal */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/index.js");
|
|
1692
|
+
/* harmony import */ var _base_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../base/types */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/index.js");
|
|
1693
|
+
/* harmony import */ var _SharedFunctions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../SharedFunctions */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/SharedFunctions.js");
|
|
1684
1694
|
/*---------------------------------------------------------------------------------------------
|
|
1685
1695
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
1686
1696
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -1762,9 +1772,9 @@ class BriefcaseOperations extends _base_internal__WEBPACK_IMPORTED_MODULE_0__.Op
|
|
|
1762
1772
|
|
|
1763
1773
|
/***/ }),
|
|
1764
1774
|
|
|
1765
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1775
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/changeset/ChangesetOperationParams.js":
|
|
1766
1776
|
/*!******************************************************************************************************************************************************************************************!*\
|
|
1767
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1777
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/changeset/ChangesetOperationParams.js ***!
|
|
1768
1778
|
\******************************************************************************************************************************************************************************************/
|
|
1769
1779
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1770
1780
|
|
|
@@ -1785,9 +1795,9 @@ var ChangesetOrderByProperty;
|
|
|
1785
1795
|
|
|
1786
1796
|
/***/ }),
|
|
1787
1797
|
|
|
1788
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1798
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/changeset/ChangesetOperations.js":
|
|
1789
1799
|
/*!*************************************************************************************************************************************************************************************!*\
|
|
1790
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1800
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/changeset/ChangesetOperations.js ***!
|
|
1791
1801
|
\*************************************************************************************************************************************************************************************/
|
|
1792
1802
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1793
1803
|
|
|
@@ -1796,9 +1806,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1796
1806
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1797
1807
|
/* harmony export */ "ChangesetOperations": () => (/* binding */ ChangesetOperations)
|
|
1798
1808
|
/* harmony export */ });
|
|
1799
|
-
/* harmony import */ var _base_internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../base/internal */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1800
|
-
/* harmony import */ var _base_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../base/types */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1801
|
-
/* harmony import */ var _SharedFunctions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../SharedFunctions */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1809
|
+
/* harmony import */ var _base_internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../base/internal */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/index.js");
|
|
1810
|
+
/* harmony import */ var _base_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../base/types */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/index.js");
|
|
1811
|
+
/* harmony import */ var _SharedFunctions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../SharedFunctions */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/SharedFunctions.js");
|
|
1802
1812
|
/*---------------------------------------------------------------------------------------------
|
|
1803
1813
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
1804
1814
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -1921,9 +1931,9 @@ class ChangesetOperations extends _base_internal__WEBPACK_IMPORTED_MODULE_0__.Op
|
|
|
1921
1931
|
|
|
1922
1932
|
/***/ }),
|
|
1923
1933
|
|
|
1924
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1934
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/checkpoint/CheckpointOperationParams.js":
|
|
1925
1935
|
/*!********************************************************************************************************************************************************************************************!*\
|
|
1926
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1936
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/checkpoint/CheckpointOperationParams.js ***!
|
|
1927
1937
|
\********************************************************************************************************************************************************************************************/
|
|
1928
1938
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1929
1939
|
|
|
@@ -1934,9 +1944,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1934
1944
|
|
|
1935
1945
|
/***/ }),
|
|
1936
1946
|
|
|
1937
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1947
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/checkpoint/CheckpointOperations.js":
|
|
1938
1948
|
/*!***************************************************************************************************************************************************************************************!*\
|
|
1939
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1949
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/checkpoint/CheckpointOperations.js ***!
|
|
1940
1950
|
\***************************************************************************************************************************************************************************************/
|
|
1941
1951
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1942
1952
|
|
|
@@ -1945,7 +1955,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1945
1955
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1946
1956
|
/* harmony export */ "CheckpointOperations": () => (/* binding */ CheckpointOperations)
|
|
1947
1957
|
/* harmony export */ });
|
|
1948
|
-
/* harmony import */ var _base_internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../base/internal */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1958
|
+
/* harmony import */ var _base_internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../base/internal */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/index.js");
|
|
1949
1959
|
/*---------------------------------------------------------------------------------------------
|
|
1950
1960
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
1951
1961
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -1974,9 +1984,9 @@ class CheckpointOperations extends _base_internal__WEBPACK_IMPORTED_MODULE_0__.O
|
|
|
1974
1984
|
|
|
1975
1985
|
/***/ }),
|
|
1976
1986
|
|
|
1977
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1987
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/imodel/IModelOperationParams.js":
|
|
1978
1988
|
/*!************************************************************************************************************************************************************************************!*\
|
|
1979
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
1989
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/imodel/IModelOperationParams.js ***!
|
|
1980
1990
|
\************************************************************************************************************************************************************************************/
|
|
1981
1991
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1982
1992
|
|
|
@@ -1997,9 +2007,9 @@ var IModelOrderByProperty;
|
|
|
1997
2007
|
|
|
1998
2008
|
/***/ }),
|
|
1999
2009
|
|
|
2000
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2010
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/imodel/IModelOperations.js":
|
|
2001
2011
|
/*!*******************************************************************************************************************************************************************************!*\
|
|
2002
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2012
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/imodel/IModelOperations.js ***!
|
|
2003
2013
|
\*******************************************************************************************************************************************************************************/
|
|
2004
2014
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2005
2015
|
|
|
@@ -2008,8 +2018,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2008
2018
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2009
2019
|
/* harmony export */ "IModelOperations": () => (/* binding */ IModelOperations)
|
|
2010
2020
|
/* harmony export */ });
|
|
2011
|
-
/* harmony import */ var _base_internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../base/internal */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2012
|
-
/* harmony import */ var _base_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../base/types */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2021
|
+
/* harmony import */ var _base_internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../base/internal */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/index.js");
|
|
2022
|
+
/* harmony import */ var _base_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../base/types */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/index.js");
|
|
2013
2023
|
/*---------------------------------------------------------------------------------------------
|
|
2014
2024
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2015
2025
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -2017,6 +2027,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2017
2027
|
|
|
2018
2028
|
|
|
2019
2029
|
class IModelOperations extends _base_internal__WEBPACK_IMPORTED_MODULE_0__.OperationsBase {
|
|
2030
|
+
constructor(options, _iModelsClient) {
|
|
2031
|
+
super(options);
|
|
2032
|
+
this._iModelsClient = _iModelsClient;
|
|
2033
|
+
}
|
|
2020
2034
|
/**
|
|
2021
2035
|
* Gets iModels for a specific project. This method returns iModels in their minimal representation. The returned iterator
|
|
2022
2036
|
* internally queries entities in pages. Wraps the {@link https://developer.bentley.com/apis/imodels/operations/get-project-imodels/ Get Project iModels}
|
|
@@ -2040,11 +2054,16 @@ class IModelOperations extends _base_internal__WEBPACK_IMPORTED_MODULE_0__.Opera
|
|
|
2040
2054
|
* @returns {EntityListIterator<iModel>} iterator for iModel list. See {@link EntityListIterator}, {@link iModel}.
|
|
2041
2055
|
*/
|
|
2042
2056
|
getRepresentationList(params) {
|
|
2057
|
+
const entityCollectionAccessor = (response) => {
|
|
2058
|
+
const iModels = response.iModels;
|
|
2059
|
+
const mappedIModels = iModels.map((iModel) => this.appendRelatedEntityCallbacks(params.authorization, iModel));
|
|
2060
|
+
return mappedIModels;
|
|
2061
|
+
};
|
|
2043
2062
|
return new _base_internal__WEBPACK_IMPORTED_MODULE_0__.EntityListIteratorImpl(async () => this.getEntityCollectionPage({
|
|
2044
2063
|
authorization: params.authorization,
|
|
2045
2064
|
url: this._options.urlFormatter.getIModelListUrl({ urlParams: params.urlParams }),
|
|
2046
2065
|
preferReturn: _base_types__WEBPACK_IMPORTED_MODULE_1__.PreferReturn.Representation,
|
|
2047
|
-
entityCollectionAccessor
|
|
2066
|
+
entityCollectionAccessor
|
|
2048
2067
|
}));
|
|
2049
2068
|
}
|
|
2050
2069
|
/**
|
|
@@ -2058,7 +2077,8 @@ class IModelOperations extends _base_internal__WEBPACK_IMPORTED_MODULE_0__.Opera
|
|
|
2058
2077
|
authorization: params.authorization,
|
|
2059
2078
|
url: this._options.urlFormatter.getSingleIModelUrl({ iModelId: params.iModelId })
|
|
2060
2079
|
});
|
|
2061
|
-
|
|
2080
|
+
const result = this.appendRelatedEntityCallbacks(params.authorization, response.iModel);
|
|
2081
|
+
return result;
|
|
2062
2082
|
}
|
|
2063
2083
|
/**
|
|
2064
2084
|
* Creates an empty iModel with specified properties. Wraps the
|
|
@@ -2068,7 +2088,9 @@ class IModelOperations extends _base_internal__WEBPACK_IMPORTED_MODULE_0__.Opera
|
|
|
2068
2088
|
*/
|
|
2069
2089
|
async createEmpty(params) {
|
|
2070
2090
|
const createIModelBody = this.getCreateEmptyIModelRequestBody(params.iModelProperties);
|
|
2071
|
-
|
|
2091
|
+
const createdIModel = await this.sendIModelPostRequest(params.authorization, createIModelBody);
|
|
2092
|
+
const result = this.appendRelatedEntityCallbacks(params.authorization, createdIModel);
|
|
2093
|
+
return result;
|
|
2072
2094
|
}
|
|
2073
2095
|
/**
|
|
2074
2096
|
* Creates an iModel from a template. Wraps the
|
|
@@ -2107,7 +2129,8 @@ class IModelOperations extends _base_internal__WEBPACK_IMPORTED_MODULE_0__.Opera
|
|
|
2107
2129
|
url: this._options.urlFormatter.getSingleIModelUrl({ iModelId: params.iModelId }),
|
|
2108
2130
|
body: updateIModelBody
|
|
2109
2131
|
});
|
|
2110
|
-
|
|
2132
|
+
const result = this.appendRelatedEntityCallbacks(params.authorization, updateIModelResponse.iModel);
|
|
2133
|
+
return result;
|
|
2111
2134
|
}
|
|
2112
2135
|
/**
|
|
2113
2136
|
* Deletes an iModel with specified id. Wraps the {@link https://developer.bentley.com/apis/imodels/operations/delete-imodel/ Delete iModel}
|
|
@@ -2121,6 +2144,14 @@ class IModelOperations extends _base_internal__WEBPACK_IMPORTED_MODULE_0__.Opera
|
|
|
2121
2144
|
url: this._options.urlFormatter.getSingleIModelUrl({ iModelId: params.iModelId })
|
|
2122
2145
|
});
|
|
2123
2146
|
}
|
|
2147
|
+
appendRelatedEntityCallbacks(authorization, iModel) {
|
|
2148
|
+
const getCreator = async () => { var _a; return this.getCreator(authorization, (_a = iModel._links.creator) === null || _a === void 0 ? void 0 : _a.href); };
|
|
2149
|
+
const result = {
|
|
2150
|
+
...iModel,
|
|
2151
|
+
getCreator
|
|
2152
|
+
};
|
|
2153
|
+
return result;
|
|
2154
|
+
}
|
|
2124
2155
|
getCreateEmptyIModelRequestBody(iModelProperties) {
|
|
2125
2156
|
return {
|
|
2126
2157
|
projectId: iModelProperties.projectId,
|
|
@@ -2137,6 +2168,16 @@ class IModelOperations extends _base_internal__WEBPACK_IMPORTED_MODULE_0__.Opera
|
|
|
2137
2168
|
});
|
|
2138
2169
|
return createIModelResponse.iModel;
|
|
2139
2170
|
}
|
|
2171
|
+
async getCreator(authorization, creatorLink) {
|
|
2172
|
+
if (!creatorLink)
|
|
2173
|
+
return undefined;
|
|
2174
|
+
const { iModelId, userId } = this._options.urlFormatter.parseUserUrl(creatorLink);
|
|
2175
|
+
return this._iModelsClient.users.getSingle({
|
|
2176
|
+
authorization,
|
|
2177
|
+
iModelId,
|
|
2178
|
+
userId
|
|
2179
|
+
});
|
|
2180
|
+
}
|
|
2140
2181
|
getCreateIModelFromTemplateRequestBody(iModelProperties) {
|
|
2141
2182
|
return {
|
|
2142
2183
|
...this.getCreateEmptyIModelRequestBody(iModelProperties),
|
|
@@ -2175,9 +2216,9 @@ class IModelOperations extends _base_internal__WEBPACK_IMPORTED_MODULE_0__.Opera
|
|
|
2175
2216
|
|
|
2176
2217
|
/***/ }),
|
|
2177
2218
|
|
|
2178
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2219
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/index.js":
|
|
2179
2220
|
/*!*************************************************************************************************************************************************************!*\
|
|
2180
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2221
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/index.js ***!
|
|
2181
2222
|
\*************************************************************************************************************************************************************/
|
|
2182
2223
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2183
2224
|
|
|
@@ -2199,11 +2240,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2199
2240
|
/* harmony export */ "UserPermissionOperations": () => (/* reexport safe */ _OperationExports__WEBPACK_IMPORTED_MODULE_0__.UserPermissionOperations),
|
|
2200
2241
|
/* harmony export */ "getUser": () => (/* reexport safe */ _SharedFunctions__WEBPACK_IMPORTED_MODULE_4__.getUser)
|
|
2201
2242
|
/* harmony export */ });
|
|
2202
|
-
/* harmony import */ var _OperationExports__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OperationExports */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2203
|
-
/* harmony import */ var _OperationParamExports__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperationParamExports */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2204
|
-
/* harmony import */ var _OperationOptions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OperationOptions */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2205
|
-
/* harmony import */ var _IModelsApiUrlFormatter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./IModelsApiUrlFormatter */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2206
|
-
/* harmony import */ var _SharedFunctions__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./SharedFunctions */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2243
|
+
/* harmony import */ var _OperationExports__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OperationExports */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/OperationExports.js");
|
|
2244
|
+
/* harmony import */ var _OperationParamExports__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperationParamExports */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/OperationParamExports.js");
|
|
2245
|
+
/* harmony import */ var _OperationOptions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OperationOptions */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/OperationOptions.js");
|
|
2246
|
+
/* harmony import */ var _IModelsApiUrlFormatter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./IModelsApiUrlFormatter */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/IModelsApiUrlFormatter.js");
|
|
2247
|
+
/* harmony import */ var _SharedFunctions__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./SharedFunctions */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/SharedFunctions.js");
|
|
2207
2248
|
/*---------------------------------------------------------------------------------------------
|
|
2208
2249
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2209
2250
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -2217,9 +2258,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2217
2258
|
|
|
2218
2259
|
/***/ }),
|
|
2219
2260
|
|
|
2220
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2261
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/named-version/NamedVersionOperationParams.js":
|
|
2221
2262
|
/*!*************************************************************************************************************************************************************************************************!*\
|
|
2222
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2263
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/named-version/NamedVersionOperationParams.js ***!
|
|
2223
2264
|
\*************************************************************************************************************************************************************************************************/
|
|
2224
2265
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2225
2266
|
|
|
@@ -2240,9 +2281,9 @@ var NamedVersionOrderByProperty;
|
|
|
2240
2281
|
|
|
2241
2282
|
/***/ }),
|
|
2242
2283
|
|
|
2243
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2284
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/named-version/NamedVersionOperations.js":
|
|
2244
2285
|
/*!********************************************************************************************************************************************************************************************!*\
|
|
2245
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2286
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/named-version/NamedVersionOperations.js ***!
|
|
2246
2287
|
\********************************************************************************************************************************************************************************************/
|
|
2247
2288
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2248
2289
|
|
|
@@ -2251,9 +2292,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2251
2292
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2252
2293
|
/* harmony export */ "NamedVersionOperations": () => (/* binding */ NamedVersionOperations)
|
|
2253
2294
|
/* harmony export */ });
|
|
2254
|
-
/* harmony import */ var _base_internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../base/internal */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2255
|
-
/* harmony import */ var _base_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../base/types */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2256
|
-
/* harmony import */ var _SharedFunctions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../SharedFunctions */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2295
|
+
/* harmony import */ var _base_internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../base/internal */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/index.js");
|
|
2296
|
+
/* harmony import */ var _base_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../base/types */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/index.js");
|
|
2297
|
+
/* harmony import */ var _SharedFunctions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../SharedFunctions */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/SharedFunctions.js");
|
|
2257
2298
|
/*---------------------------------------------------------------------------------------------
|
|
2258
2299
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2259
2300
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -2395,9 +2436,9 @@ class NamedVersionOperations extends _base_internal__WEBPACK_IMPORTED_MODULE_0__
|
|
|
2395
2436
|
|
|
2396
2437
|
/***/ }),
|
|
2397
2438
|
|
|
2398
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2439
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/thumbnail/ThumbnailOperationParams.js":
|
|
2399
2440
|
/*!******************************************************************************************************************************************************************************************!*\
|
|
2400
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2441
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/thumbnail/ThumbnailOperationParams.js ***!
|
|
2401
2442
|
\******************************************************************************************************************************************************************************************/
|
|
2402
2443
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2403
2444
|
|
|
@@ -2408,9 +2449,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2408
2449
|
|
|
2409
2450
|
/***/ }),
|
|
2410
2451
|
|
|
2411
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2452
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/thumbnail/ThumbnailOperations.js":
|
|
2412
2453
|
/*!*************************************************************************************************************************************************************************************!*\
|
|
2413
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2454
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/thumbnail/ThumbnailOperations.js ***!
|
|
2414
2455
|
\*************************************************************************************************************************************************************************************/
|
|
2415
2456
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2416
2457
|
|
|
@@ -2419,8 +2460,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2419
2460
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2420
2461
|
/* harmony export */ "ThumbnailOperations": () => (/* binding */ ThumbnailOperations)
|
|
2421
2462
|
/* harmony export */ });
|
|
2422
|
-
/* harmony import */ var _base_internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../base/internal */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2423
|
-
/* harmony import */ var _base_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../base/types */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2463
|
+
/* harmony import */ var _base_internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../base/internal */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/index.js");
|
|
2464
|
+
/* harmony import */ var _base_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../base/types */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/index.js");
|
|
2424
2465
|
/*---------------------------------------------------------------------------------------------
|
|
2425
2466
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2426
2467
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -2484,9 +2525,9 @@ class ThumbnailOperations extends _base_internal__WEBPACK_IMPORTED_MODULE_0__.Op
|
|
|
2484
2525
|
|
|
2485
2526
|
/***/ }),
|
|
2486
2527
|
|
|
2487
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2528
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/user-permission/UserPermissionOperationParams.js":
|
|
2488
2529
|
/*!*****************************************************************************************************************************************************************************************************!*\
|
|
2489
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2530
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/user-permission/UserPermissionOperationParams.js ***!
|
|
2490
2531
|
\*****************************************************************************************************************************************************************************************************/
|
|
2491
2532
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2492
2533
|
|
|
@@ -2497,9 +2538,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2497
2538
|
|
|
2498
2539
|
/***/ }),
|
|
2499
2540
|
|
|
2500
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2541
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/user-permission/UserPermissionOperations.js":
|
|
2501
2542
|
/*!************************************************************************************************************************************************************************************************!*\
|
|
2502
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2543
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/user-permission/UserPermissionOperations.js ***!
|
|
2503
2544
|
\************************************************************************************************************************************************************************************************/
|
|
2504
2545
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2505
2546
|
|
|
@@ -2508,7 +2549,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2508
2549
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2509
2550
|
/* harmony export */ "UserPermissionOperations": () => (/* binding */ UserPermissionOperations)
|
|
2510
2551
|
/* harmony export */ });
|
|
2511
|
-
/* harmony import */ var _base_internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../base/internal */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2552
|
+
/* harmony import */ var _base_internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../base/internal */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/index.js");
|
|
2512
2553
|
/*---------------------------------------------------------------------------------------------
|
|
2513
2554
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2514
2555
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -2537,9 +2578,9 @@ class UserPermissionOperations extends _base_internal__WEBPACK_IMPORTED_MODULE_0
|
|
|
2537
2578
|
|
|
2538
2579
|
/***/ }),
|
|
2539
2580
|
|
|
2540
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2581
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/user/UserOperationParams.js":
|
|
2541
2582
|
/*!********************************************************************************************************************************************************************************!*\
|
|
2542
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2583
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/user/UserOperationParams.js ***!
|
|
2543
2584
|
\********************************************************************************************************************************************************************************/
|
|
2544
2585
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2545
2586
|
|
|
@@ -2550,9 +2591,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2550
2591
|
|
|
2551
2592
|
/***/ }),
|
|
2552
2593
|
|
|
2553
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2594
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/user/UserOperations.js":
|
|
2554
2595
|
/*!***************************************************************************************************************************************************************************!*\
|
|
2555
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2596
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/operations/user/UserOperations.js ***!
|
|
2556
2597
|
\***************************************************************************************************************************************************************************/
|
|
2557
2598
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2558
2599
|
|
|
@@ -2561,8 +2602,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2561
2602
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2562
2603
|
/* harmony export */ "UserOperations": () => (/* binding */ UserOperations)
|
|
2563
2604
|
/* harmony export */ });
|
|
2564
|
-
/* harmony import */ var _base_internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../base/internal */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2565
|
-
/* harmony import */ var _base_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../base/types */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
2605
|
+
/* harmony import */ var _base_internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../base/internal */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/index.js");
|
|
2606
|
+
/* harmony import */ var _base_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../base/types */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/base/types/index.js");
|
|
2566
2607
|
/*---------------------------------------------------------------------------------------------
|
|
2567
2608
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2568
2609
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -2772,7 +2813,7 @@ exports.getAccessTokenFromBackend = exports.getTokenCallbackName = void 0;
|
|
|
2772
2813
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2773
2814
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
2774
2815
|
*--------------------------------------------------------------------------------------------*/
|
|
2775
|
-
const CallbackUtils_1 = __webpack_require__(/*! @itwin/certa/lib/utils/CallbackUtils */ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.
|
|
2816
|
+
const CallbackUtils_1 = __webpack_require__(/*! @itwin/certa/lib/utils/CallbackUtils */ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.6.0/node_modules/@itwin/certa/lib/utils/CallbackUtils.js");
|
|
2776
2817
|
// Shared by both the frontend and backend side of the tests
|
|
2777
2818
|
exports.getTokenCallbackName = "getToken";
|
|
2778
2819
|
async function getAccessTokenFromBackend(user, oidcConfig) {
|
|
@@ -107774,6 +107815,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
107774
107815
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
107775
107816
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
107776
107817
|
*--------------------------------------------------------------------------------------------*/
|
|
107818
|
+
/** @packageDocumentation
|
|
107819
|
+
* @module IModelApp
|
|
107820
|
+
*/
|
|
107777
107821
|
|
|
107778
107822
|
|
|
107779
107823
|
|
|
@@ -107828,12 +107872,16 @@ class NullRenderSystem extends _render_RenderSystem__WEBPACK_IMPORTED_MODULE_2__
|
|
|
107828
107872
|
constructor() { super(); }
|
|
107829
107873
|
createRenderGraphic() { return undefined; }
|
|
107830
107874
|
}
|
|
107831
|
-
/**
|
|
107832
|
-
*
|
|
107833
|
-
*
|
|
107834
|
-
*
|
|
107875
|
+
/** A utility class intended for applications (primarily test-runners) that run in environments that lack support for WebGL.
|
|
107876
|
+
* It installs a [[RenderSystem]] that produces no graphics.
|
|
107877
|
+
* Use [[NoRenderApp.startup]] instead of [[IModelApp.startup]] to initialize your application frontend.
|
|
107878
|
+
* You may then use the [[IModelApp]] API as normal.
|
|
107879
|
+
* @public
|
|
107835
107880
|
*/
|
|
107836
107881
|
class NoRenderApp {
|
|
107882
|
+
/** Initializes [[IModelApp]] with a [[RenderSystem]] that produces no graphics.
|
|
107883
|
+
* Use this in place of [[IModelApp.startup]], then proceed to use [[IModelApp]]'s API as normal.
|
|
107884
|
+
*/
|
|
107837
107885
|
static async startup(opts) {
|
|
107838
107886
|
var _a;
|
|
107839
107887
|
opts = opts ? opts : {};
|
|
@@ -109393,7 +109441,6 @@ class HiliteSet {
|
|
|
109393
109441
|
/** Construct a HiliteSet
|
|
109394
109442
|
* @param iModel The iModel containing the entities to be hilited.
|
|
109395
109443
|
* @param syncWithSelectionSet If true, the contents of the `elements` set will be synchronized with those in the `iModel`'s [[SelectionSet]].
|
|
109396
|
-
* @internal
|
|
109397
109444
|
*/
|
|
109398
109445
|
constructor(iModel, syncWithSelectionSet = true) {
|
|
109399
109446
|
this.iModel = iModel;
|
|
@@ -219193,6 +219240,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
219193
219240
|
* `degrees` or `radians` because both are available if requested by caller.
|
|
219194
219241
|
* * The various access method are named so that callers can specify whether untyped numbers passed in or
|
|
219195
219242
|
* out are degrees or radians.
|
|
219243
|
+
* * Visualization can be found at https://www.itwinjs.org/sandbox/SaeedTorabi/AngleSweep
|
|
219196
219244
|
* @public
|
|
219197
219245
|
*/
|
|
219198
219246
|
class Angle {
|
|
@@ -219756,6 +219804,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
219756
219804
|
* * (350,370) covers the same unit angles as (-10,10).
|
|
219757
219805
|
* * (370,350) covers the same unit angles as (10,-10).
|
|
219758
219806
|
* * math details related fraction API can be found at docs/learning/geometry/Angle.md
|
|
219807
|
+
* * Visualization can be found at https://www.itwinjs.org/sandbox/SaeedTorabi/AngleSweep
|
|
219759
219808
|
* @public
|
|
219760
219809
|
*/
|
|
219761
219810
|
class AngleSweep {
|
|
@@ -225068,7 +225117,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
225068
225117
|
|
|
225069
225118
|
|
|
225070
225119
|
/* eslint-disable @itwin/prefer-get */
|
|
225071
|
-
// cSpell:words XXYZ YXYZ ZXYZ
|
|
225120
|
+
// cSpell:words XXYZ YXYZ ZXYZ SaeedTorabi
|
|
225072
225121
|
/**
|
|
225073
225122
|
* PackedMatrix3dOps contains static methods for matrix operations where the matrix is a Float64Array.
|
|
225074
225123
|
* * The Float64Array contains the matrix entries in row-major order
|
|
@@ -225478,9 +225527,20 @@ class Matrix3d {
|
|
|
225478
225527
|
return result;
|
|
225479
225528
|
}
|
|
225480
225529
|
/**
|
|
225481
|
-
|
|
225482
|
-
|
|
225483
|
-
|
|
225530
|
+
* Create the inverseCoffs member (filled with zeros)
|
|
225531
|
+
* This is for use by matrix * matrix multiplications which need to be sure the member is there to be
|
|
225532
|
+
* filled with method-specific content.
|
|
225533
|
+
*/
|
|
225534
|
+
createInverseCoffsWithZeros() {
|
|
225535
|
+
if (!this.inverseCoffs) {
|
|
225536
|
+
this.inverseState = InverseMatrixState.unknown;
|
|
225537
|
+
this.inverseCoffs = new Float64Array(9);
|
|
225538
|
+
}
|
|
225539
|
+
}
|
|
225540
|
+
/**
|
|
225541
|
+
* Copy the transpose of the coffs to the inverseCoffs.
|
|
225542
|
+
* * Mark the matrix as inverseStored.
|
|
225543
|
+
*/
|
|
225484
225544
|
setupInverseTranspose() {
|
|
225485
225545
|
const coffs = this.coffs;
|
|
225486
225546
|
this.inverseState = InverseMatrixState.inverseStored;
|
|
@@ -225699,6 +225759,7 @@ class Matrix3d {
|
|
|
225699
225759
|
* Construct a rigid matrix (orthogonal matrix with +1 determinant) using vectorA and its 2 perpendicular.
|
|
225700
225760
|
* * If axisOrder is not passed then `AxisOrder = AxisOrder.ZXY` is used as default.
|
|
225701
225761
|
* * This function internally uses createPerpendicularVectorFavorXYPlane and createRigidFromColumns.
|
|
225762
|
+
* * Visualization can be found at https://www.itwinjs.org/sandbox/SaeedTorabi/2PerpendicularVectorsTo1Vector
|
|
225702
225763
|
*/
|
|
225703
225764
|
static createRigidHeadsUp(vectorA, axisOrder = _Geometry__WEBPACK_IMPORTED_MODULE_0__.AxisOrder.ZXY, result) {
|
|
225704
225765
|
const vectorB = Matrix3d.createPerpendicularVectorFavorXYPlane(vectorA);
|
|
@@ -225748,7 +225809,7 @@ class Matrix3d {
|
|
|
225748
225809
|
/**
|
|
225749
225810
|
* Replace current rows Ui and Uj with (c*Ui + s*Uj) and (c*Uj - s*Ui).
|
|
225750
225811
|
* * There is no checking for i,j being 0,1,2.
|
|
225751
|
-
* @param i first row index.
|
|
225812
|
+
* @param i first row index. **must be 0,1,2** (unchecked)
|
|
225752
225813
|
* @param j second row index. **must be 0,1,2** (unchecked)
|
|
225753
225814
|
* @param c fist coefficient
|
|
225754
225815
|
* @param s second coefficient
|
|
@@ -226448,6 +226509,7 @@ class Matrix3d {
|
|
|
226448
226509
|
* \text{The matrix is } I + (s-1) D D^T
|
|
226449
226510
|
* \\ \text{with }D\text{ being the normalized direction vector and }s\text{ being the scale.}
|
|
226450
226511
|
* ```
|
|
226512
|
+
* * Visualization can be found at itwinjs.org/sandbox/SaeedTorabi/DirectionalScale
|
|
226451
226513
|
*/
|
|
226452
226514
|
static createDirectionalScale(direction, scale, result) {
|
|
226453
226515
|
const unit = direction.normalize();
|
|
@@ -226581,7 +226643,7 @@ class Matrix3d {
|
|
|
226581
226643
|
return result;
|
|
226582
226644
|
}
|
|
226583
226645
|
/**
|
|
226584
|
-
* Multiply transpose
|
|
226646
|
+
* Multiply the transpose matrix times a vector.
|
|
226585
226647
|
* * This produces the same x,y,z as treating the vector as a row on the left of the (un-transposed) matrix.
|
|
226586
226648
|
* ```
|
|
226587
226649
|
* equation
|
|
@@ -226590,7 +226652,7 @@ class Matrix3d {
|
|
|
226590
226652
|
* \text{Treating U as a row to the left of untransposed matrix\: return row}&\rowSubXYZ{V}&=&\rowSubXYZ{U}\matrixXY{A}
|
|
226591
226653
|
* \end{matrix}
|
|
226592
226654
|
* ```
|
|
226593
|
-
* @return the vector result
|
|
226655
|
+
* @return the vector result (optional)
|
|
226594
226656
|
*/
|
|
226595
226657
|
multiplyTransposeVector(vector, result) {
|
|
226596
226658
|
result = result ? result : new _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d();
|
|
@@ -226602,87 +226664,100 @@ class Matrix3d {
|
|
|
226602
226664
|
result.z = this.coffs[2] * x + this.coffs[5] * y + this.coffs[8] * z;
|
|
226603
226665
|
return result;
|
|
226604
226666
|
}
|
|
226605
|
-
/**
|
|
226606
|
-
*
|
|
226667
|
+
/**
|
|
226668
|
+
* Multiply the matrix * [x,y,z], i.e. the vector [x,y,z] is a column vector on the right.
|
|
226669
|
+
* @return the vector result (optional)
|
|
226607
226670
|
*/
|
|
226608
226671
|
multiplyXYZ(x, y, z, result) {
|
|
226609
226672
|
result = result ? result : new _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d();
|
|
226610
|
-
result.x =
|
|
226611
|
-
result.y =
|
|
226612
|
-
result.z =
|
|
226673
|
+
result.x = this.coffs[0] * x + this.coffs[1] * y + this.coffs[2] * z;
|
|
226674
|
+
result.y = this.coffs[3] * x + this.coffs[4] * y + this.coffs[5] * z;
|
|
226675
|
+
result.z = this.coffs[6] * x + this.coffs[7] * y + this.coffs[8] * z;
|
|
226613
226676
|
return result;
|
|
226614
226677
|
}
|
|
226615
|
-
/**
|
|
226616
|
-
*
|
|
226617
|
-
*
|
|
226678
|
+
/**
|
|
226679
|
+
* Multiply the matrix * xyz, place result in (required) return value.
|
|
226680
|
+
* @param xyz right side
|
|
226681
|
+
* @param result the result.
|
|
226618
226682
|
*/
|
|
226619
226683
|
multiplyXYZtoXYZ(xyz, result) {
|
|
226620
226684
|
const x = xyz.x;
|
|
226621
226685
|
const y = xyz.y;
|
|
226622
226686
|
const z = xyz.z;
|
|
226623
|
-
result.x =
|
|
226624
|
-
result.y =
|
|
226625
|
-
result.z =
|
|
226687
|
+
result.x = this.coffs[0] * x + this.coffs[1] * y + this.coffs[2] * z;
|
|
226688
|
+
result.y = this.coffs[3] * x + this.coffs[4] * y + this.coffs[5] * z;
|
|
226689
|
+
result.z = this.coffs[6] * x + this.coffs[7] * y + this.coffs[8] * z;
|
|
226626
226690
|
return result;
|
|
226627
226691
|
}
|
|
226628
|
-
/**
|
|
226629
|
-
*
|
|
226692
|
+
/**
|
|
226693
|
+
* Multiply the matrix * [x,y,0], i.e. the vector [x,y,0] is a column vector on the right.
|
|
226694
|
+
* @return the vector result (optional)
|
|
226630
226695
|
*/
|
|
226631
226696
|
multiplyXY(x, y, result) {
|
|
226632
226697
|
result = result ? result : new _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d();
|
|
226633
|
-
result.x =
|
|
226634
|
-
result.y =
|
|
226635
|
-
result.z =
|
|
226698
|
+
result.x = this.coffs[0] * x + this.coffs[1] * y;
|
|
226699
|
+
result.y = this.coffs[3] * x + this.coffs[4] * y;
|
|
226700
|
+
result.z = this.coffs[6] * x + this.coffs[7] * y;
|
|
226636
226701
|
return result;
|
|
226637
226702
|
}
|
|
226638
|
-
/**
|
|
226703
|
+
/**
|
|
226704
|
+
* Compute origin + the matrix * [x,y,0].
|
|
226705
|
+
* @return the vector result (optional)
|
|
226706
|
+
*/
|
|
226639
226707
|
originPlusMatrixTimesXY(origin, x, y, result) {
|
|
226640
226708
|
return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Point3d.create(origin.x + this.coffs[0] * x + this.coffs[1] * y, origin.y + this.coffs[3] * x + this.coffs[4] * y, origin.z + this.coffs[6] * x + this.coffs[7] * y, result);
|
|
226641
226709
|
}
|
|
226642
|
-
/**
|
|
226710
|
+
/**
|
|
226711
|
+
* Multiply the matrix * (x,y,z) in place, i.e. the vector (x,y,z) is a column vector on the right and
|
|
226712
|
+
* the multiplication updates the vector values.
|
|
226713
|
+
* @param xyzData the vector data
|
|
226714
|
+
*/
|
|
226643
226715
|
multiplyVectorInPlace(xyzData) {
|
|
226644
226716
|
const x = xyzData.x;
|
|
226645
226717
|
const y = xyzData.y;
|
|
226646
226718
|
const z = xyzData.z;
|
|
226647
|
-
|
|
226648
|
-
xyzData.
|
|
226649
|
-
xyzData.
|
|
226650
|
-
xyzData.z = (coffs[6] * x + coffs[7] * y + coffs[8] * z);
|
|
226719
|
+
xyzData.x = this.coffs[0] * x + this.coffs[1] * y + this.coffs[2] * z;
|
|
226720
|
+
xyzData.y = this.coffs[3] * x + this.coffs[4] * y + this.coffs[5] * z;
|
|
226721
|
+
xyzData.z = this.coffs[6] * x + this.coffs[7] * y + this.coffs[8] * z;
|
|
226651
226722
|
}
|
|
226652
|
-
/**
|
|
226653
|
-
*
|
|
226723
|
+
/**
|
|
226724
|
+
* Multiply the transpose matrix times [x,y,z] in place, i.e. the vector [x,y,z] is a column vector on
|
|
226725
|
+
* the right and the multiplication updates the vector values.
|
|
226726
|
+
* * This is equivalent to `multiplyTransposeVector` but always returns the result directly in the input.
|
|
226727
|
+
* @param xyzData the vector data
|
|
226654
226728
|
*/
|
|
226655
226729
|
multiplyTransposeVectorInPlace(vectorU) {
|
|
226656
226730
|
const x = vectorU.x;
|
|
226657
226731
|
const y = vectorU.y;
|
|
226658
226732
|
const z = vectorU.z;
|
|
226659
|
-
|
|
226660
|
-
vectorU.
|
|
226661
|
-
vectorU.
|
|
226662
|
-
vectorU.z = (coffs[2] * x + coffs[5] * y + coffs[8] * z);
|
|
226733
|
+
vectorU.x = this.coffs[0] * x + this.coffs[3] * y + this.coffs[6] * z;
|
|
226734
|
+
vectorU.y = this.coffs[1] * x + this.coffs[4] * y + this.coffs[7] * z;
|
|
226735
|
+
vectorU.z = this.coffs[2] * x + this.coffs[5] * y + this.coffs[8] * z;
|
|
226663
226736
|
}
|
|
226664
|
-
/**
|
|
226665
|
-
*
|
|
226737
|
+
/**
|
|
226738
|
+
* Multiply the transpose matrix times column using individual numeric inputs.
|
|
226739
|
+
* * This produces the same x,y,z as treating the vector as a row on the left of the (un-transposed) matrix.
|
|
226666
226740
|
* ```
|
|
226667
226741
|
* equation
|
|
226668
226742
|
* \begin{matrix}
|
|
226669
|
-
* \text{treating the input as a column } \columnXYZ{x}{y}{z}\text{ compute }&\columnSubXYZ{V} &= &A^T \columnXYZ{x}{y}{z} \\
|
|
226670
|
-
* \text{or row vector } \rowXYZ{x}{y}{z} \text{ compute }&\rowSubXYZ{V} &= &\rowXYZ{x}{y}{z} A \\
|
|
226743
|
+
* \text{treating the input as a column vector } \columnXYZ{x}{y}{z}\text{ compute }&\columnSubXYZ{V} &= &A^T \columnXYZ{x}{y}{z} \\
|
|
226744
|
+
* \text{or as a row vector } \rowXYZ{x}{y}{z} \text{ compute }&\rowSubXYZ{V} &= &\rowXYZ{x}{y}{z} A \\
|
|
226671
226745
|
* \phantom{8888}\text{and return V as a Vector3d} & & &
|
|
226672
226746
|
* \end{matrix}
|
|
226673
226747
|
* ````
|
|
226674
|
-
* @return the vector result
|
|
226748
|
+
* @return the vector result (optional)
|
|
226675
226749
|
*/
|
|
226676
226750
|
multiplyTransposeXYZ(x, y, z, result) {
|
|
226677
226751
|
result = result ? result : new _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d();
|
|
226678
|
-
result.x =
|
|
226679
|
-
result.y =
|
|
226680
|
-
result.z =
|
|
226752
|
+
result.x = this.coffs[0] * x + this.coffs[3] * y + this.coffs[6] * z;
|
|
226753
|
+
result.y = this.coffs[1] * x + this.coffs[4] * y + this.coffs[7] * z;
|
|
226754
|
+
result.z = this.coffs[2] * x + this.coffs[5] * y + this.coffs[8] * z;
|
|
226681
226755
|
return result;
|
|
226682
226756
|
}
|
|
226683
|
-
/**
|
|
226684
|
-
*
|
|
226685
|
-
* *
|
|
226757
|
+
/**
|
|
226758
|
+
* Solve `matrix * result = vector` for an unknown `result`.
|
|
226759
|
+
* * This is equivalent to multiplication `result = inverse matrix * vector`.
|
|
226760
|
+
* * Result is undefined if the matrix is singular (e.g. has parallel columns or a zero magnitude column)
|
|
226686
226761
|
*/
|
|
226687
226762
|
multiplyInverse(vector, result) {
|
|
226688
226763
|
this.computeCachedInverse(true);
|
|
@@ -226690,13 +226765,14 @@ class Matrix3d {
|
|
|
226690
226765
|
const x = vector.x;
|
|
226691
226766
|
const y = vector.y;
|
|
226692
226767
|
const z = vector.z;
|
|
226693
|
-
return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(
|
|
226768
|
+
return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(this.inverseCoffs[0] * x + this.inverseCoffs[1] * y + this.inverseCoffs[2] * z, this.inverseCoffs[3] * x + this.inverseCoffs[4] * y + this.inverseCoffs[5] * z, this.inverseCoffs[6] * x + this.inverseCoffs[7] * y + this.inverseCoffs[8] * z, result);
|
|
226694
226769
|
}
|
|
226695
226770
|
return undefined;
|
|
226696
226771
|
}
|
|
226697
|
-
/**
|
|
226772
|
+
/**
|
|
226773
|
+
* Solve `matrixTranspose * result = vector` for an unknown `result`.
|
|
226698
226774
|
* * This is equivalent to multiplication `result = matrixInverseTranspose * vector`.
|
|
226699
|
-
* * Result is undefined if the matrix is singular (e.g. has parallel or zero
|
|
226775
|
+
* * Result is undefined if the matrix is singular (e.g. has parallel columns or a zero magnitude column)
|
|
226700
226776
|
*/
|
|
226701
226777
|
multiplyInverseTranspose(vector, result) {
|
|
226702
226778
|
this.computeCachedInverse(true);
|
|
@@ -226704,87 +226780,91 @@ class Matrix3d {
|
|
|
226704
226780
|
const x = vector.x;
|
|
226705
226781
|
const y = vector.y;
|
|
226706
226782
|
const z = vector.z;
|
|
226707
|
-
return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(
|
|
226783
|
+
return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(this.inverseCoffs[0] * x + this.inverseCoffs[3] * y + this.inverseCoffs[6] * z, this.inverseCoffs[1] * x + this.inverseCoffs[4] * y + this.inverseCoffs[7] * z, this.inverseCoffs[2] * x + this.inverseCoffs[5] * y + this.inverseCoffs[8] * z, result);
|
|
226708
226784
|
}
|
|
226709
226785
|
return undefined;
|
|
226710
226786
|
}
|
|
226711
226787
|
/**
|
|
226712
|
-
*
|
|
226713
|
-
* *
|
|
226714
|
-
* *
|
|
226788
|
+
* Multiply `matrixInverse * [x,y,z]`.
|
|
226789
|
+
* * This is equivalent to solving `matrix * result = [x,y,z]` for an unknown `result`.
|
|
226790
|
+
* * Result is undefined if the matrix is singular (e.g. has parallel columns or a zero magnitude column)
|
|
226791
|
+
* @return result as a Vector3d or undefined (if the matrix is singular).
|
|
226715
226792
|
*/
|
|
226716
226793
|
multiplyInverseXYZAsVector3d(x, y, z, result) {
|
|
226717
226794
|
this.computeCachedInverse(true);
|
|
226718
226795
|
if (this.inverseCoffs) {
|
|
226719
|
-
return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(
|
|
226796
|
+
return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(this.inverseCoffs[0] * x + this.inverseCoffs[1] * y + this.inverseCoffs[2] * z, this.inverseCoffs[3] * x + this.inverseCoffs[4] * y + this.inverseCoffs[5] * z, this.inverseCoffs[6] * x + this.inverseCoffs[7] * y + this.inverseCoffs[8] * z, result);
|
|
226720
226797
|
}
|
|
226721
226798
|
return undefined;
|
|
226722
226799
|
}
|
|
226723
226800
|
/**
|
|
226724
|
-
*
|
|
226725
|
-
* *
|
|
226726
|
-
* *
|
|
226727
|
-
*
|
|
226801
|
+
* Multiply `matrixInverse * [x,y,z]` and return result as `Point4d` with given weight.
|
|
226802
|
+
* * Equivalent to solving `matrix * result = [x,y,z]` for an unknown `result`.
|
|
226803
|
+
* * Result is undefined if the matrix is singular (e.g. has parallel columns or a zero magnitude column)
|
|
226804
|
+
* @return result as a Point4d with the same weight.
|
|
226728
226805
|
*/
|
|
226729
226806
|
multiplyInverseXYZW(x, y, z, w, result) {
|
|
226730
226807
|
this.computeCachedInverse(true);
|
|
226731
226808
|
if (this.inverseCoffs) {
|
|
226732
|
-
return _geometry4d_Point4d__WEBPACK_IMPORTED_MODULE_4__.Point4d.create(
|
|
226809
|
+
return _geometry4d_Point4d__WEBPACK_IMPORTED_MODULE_4__.Point4d.create(this.inverseCoffs[0] * x + this.inverseCoffs[1] * y + this.inverseCoffs[2] * z, this.inverseCoffs[3] * x + this.inverseCoffs[4] * y + this.inverseCoffs[5] * z, this.inverseCoffs[6] * x + this.inverseCoffs[7] * y + this.inverseCoffs[8] * z, w, result);
|
|
226733
226810
|
}
|
|
226734
226811
|
return undefined;
|
|
226735
226812
|
}
|
|
226736
226813
|
/**
|
|
226737
|
-
*
|
|
226738
|
-
* *
|
|
226739
|
-
*
|
|
226740
|
-
* * return as a Point3d.
|
|
226814
|
+
* Multiply `matrixInverse * [x,y,z]` and return result as `Point3d`.
|
|
226815
|
+
* * Equivalent to solving `matrix * result = [x,y,z]` for an unknown `result`.
|
|
226816
|
+
* @return result as a Point3d or undefined (if the matrix is singular).
|
|
226741
226817
|
*/
|
|
226742
226818
|
multiplyInverseXYZAsPoint3d(x, y, z, result) {
|
|
226743
226819
|
this.computeCachedInverse(true);
|
|
226744
226820
|
if (this.inverseCoffs) {
|
|
226745
|
-
return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Point3d.create(
|
|
226821
|
+
return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Point3d.create(this.inverseCoffs[0] * x + this.inverseCoffs[1] * y + this.inverseCoffs[2] * z, this.inverseCoffs[3] * x + this.inverseCoffs[4] * y + this.inverseCoffs[5] * z, this.inverseCoffs[6] * x + this.inverseCoffs[7] * y + this.inverseCoffs[8] * z, result);
|
|
226746
226822
|
}
|
|
226747
226823
|
return undefined;
|
|
226748
226824
|
}
|
|
226749
226825
|
/**
|
|
226750
|
-
*
|
|
226751
|
-
* * set
|
|
226752
|
-
*
|
|
226826
|
+
* Invoke a given matrix*matrix operation to compute the inverse matrix and set this.inverseCoffs
|
|
226827
|
+
* * If either input coffA or coffB is undefined, set state to `InverseMatrixState.unknown` but
|
|
226828
|
+
* leave the inverseCoffs untouched.
|
|
226829
|
+
* @param f the given matrix*matrix operation that is called by this function to compute the inverse.
|
|
226830
|
+
* `f` must be a matrix*matrix operation. Otherwise, the function does not generate the inverse properly.
|
|
226753
226831
|
*/
|
|
226754
226832
|
finishInverseCoffs(f, coffA, coffB) {
|
|
226755
226833
|
if (coffA && coffB) {
|
|
226756
226834
|
this.createInverseCoffsWithZeros();
|
|
226757
226835
|
this.inverseState = InverseMatrixState.inverseStored;
|
|
226758
|
-
f(coffA, coffB, this.inverseCoffs);
|
|
226836
|
+
f(coffA, coffB, this.inverseCoffs); // call function f (which is provided by user) to compute the inverse.
|
|
226759
226837
|
}
|
|
226760
226838
|
else {
|
|
226761
226839
|
this.inverseState = InverseMatrixState.unknown;
|
|
226762
226840
|
}
|
|
226763
226841
|
}
|
|
226764
|
-
|
|
226765
|
-
|
|
226766
|
-
|
|
226767
|
-
|
|
226768
|
-
|
|
226769
|
-
|
|
226770
|
-
|
|
226771
|
-
|
|
226772
|
-
|
|
226773
|
-
* @return the matrix product A * B
|
|
226842
|
+
// Notes on inverse of matrix products:
|
|
226843
|
+
// 1) M = A * B ===> MInverse = BInverse * AInverse
|
|
226844
|
+
// 2) M = A * BInverse ===> MInverse = B * AInverse
|
|
226845
|
+
// 3) M = AInverse * B ===> MInverse = BInverse * A
|
|
226846
|
+
// 4) M = A * BTranspose ===> MInverse = BInverseTranspose * AInverse
|
|
226847
|
+
// 5) M = ATranspose * B ===> MInverse = BInverse * AInverseTranspose
|
|
226848
|
+
/**
|
|
226849
|
+
* Multiply `this` matrix times `other` matrix
|
|
226850
|
+
* @return the matrix result: this*other
|
|
226774
226851
|
*/
|
|
226775
226852
|
multiplyMatrixMatrix(other, result) {
|
|
226776
226853
|
result = result ? result : new Matrix3d();
|
|
226777
226854
|
PackedMatrix3dOps.multiplyMatrixMatrix(this.coffs, other.coffs, result.coffs);
|
|
226778
|
-
if (this.inverseState === InverseMatrixState.inverseStored
|
|
226855
|
+
if (this.inverseState === InverseMatrixState.inverseStored
|
|
226856
|
+
&& other.inverseState === InverseMatrixState.inverseStored)
|
|
226779
226857
|
result.finishInverseCoffs(PackedMatrix3dOps.multiplyMatrixMatrix, other.inverseCoffs, this.inverseCoffs);
|
|
226780
|
-
else if (this.inverseState === InverseMatrixState.singular
|
|
226858
|
+
else if (this.inverseState === InverseMatrixState.singular
|
|
226859
|
+
|| other.inverseState === InverseMatrixState.singular)
|
|
226781
226860
|
result.inverseState = InverseMatrixState.singular;
|
|
226782
226861
|
else
|
|
226783
226862
|
result.inverseState = InverseMatrixState.unknown;
|
|
226784
226863
|
return result;
|
|
226785
226864
|
}
|
|
226786
|
-
/**
|
|
226787
|
-
*
|
|
226865
|
+
/**
|
|
226866
|
+
* Multiply `this` matrix times `inverse of other` matrix
|
|
226867
|
+
* @return the matrix result: this*otherInverse
|
|
226788
226868
|
*/
|
|
226789
226869
|
multiplyMatrixMatrixInverse(other, result) {
|
|
226790
226870
|
if (!other.computeCachedInverse(true))
|
|
@@ -226798,8 +226878,9 @@ class Matrix3d {
|
|
|
226798
226878
|
PackedMatrix3dOps.copy(Matrix3d._productBuffer, result.coffs);
|
|
226799
226879
|
return result;
|
|
226800
226880
|
}
|
|
226801
|
-
/**
|
|
226802
|
-
*
|
|
226881
|
+
/**
|
|
226882
|
+
* Multiply `inverse of this` matrix times `other` matrix
|
|
226883
|
+
* @return the matrix result: thisInverse*other
|
|
226803
226884
|
*/
|
|
226804
226885
|
multiplyMatrixInverseMatrix(other, result) {
|
|
226805
226886
|
if (!this.computeCachedInverse(true))
|
|
@@ -226813,30 +226894,32 @@ class Matrix3d {
|
|
|
226813
226894
|
PackedMatrix3dOps.copy(Matrix3d._productBuffer, result.coffs);
|
|
226814
226895
|
return result;
|
|
226815
226896
|
}
|
|
226816
|
-
/**
|
|
226897
|
+
/**
|
|
226898
|
+
* Multiply `this` matrix times the transpose of `other` matrix
|
|
226817
226899
|
* ```
|
|
226818
226900
|
* equation
|
|
226819
|
-
* \text{for instance matrix }A\text{ and
|
|
226901
|
+
* \text{for instance matrix }A\text{ and matrix }B\text{ return matrix }C{\text where }\\\matrixXY{C}=\matrixXY{A}\matrixTransposeSubXY{B}
|
|
226820
226902
|
* ```
|
|
226821
|
-
* @return the matrix result
|
|
226903
|
+
* @return the matrix result: this*otherTranspose
|
|
226822
226904
|
*/
|
|
226823
|
-
multiplyMatrixMatrixTranspose(
|
|
226905
|
+
multiplyMatrixMatrixTranspose(other, result) {
|
|
226824
226906
|
result = result ? result : new Matrix3d();
|
|
226825
|
-
PackedMatrix3dOps.multiplyMatrixMatrixTranspose(this.coffs,
|
|
226826
|
-
if (this.inverseState === InverseMatrixState.inverseStored &&
|
|
226827
|
-
result.finishInverseCoffs(PackedMatrix3dOps.multiplyMatrixTransposeMatrix,
|
|
226828
|
-
else if (this.inverseState === InverseMatrixState.singular ||
|
|
226907
|
+
PackedMatrix3dOps.multiplyMatrixMatrixTranspose(this.coffs, other.coffs, result.coffs);
|
|
226908
|
+
if (this.inverseState === InverseMatrixState.inverseStored && other.inverseState === InverseMatrixState.inverseStored)
|
|
226909
|
+
result.finishInverseCoffs(PackedMatrix3dOps.multiplyMatrixTransposeMatrix, other.inverseCoffs, this.inverseCoffs);
|
|
226910
|
+
else if (this.inverseState === InverseMatrixState.singular || other.inverseState === InverseMatrixState.singular)
|
|
226829
226911
|
result.inverseState = InverseMatrixState.singular;
|
|
226830
226912
|
else
|
|
226831
226913
|
result.inverseState = InverseMatrixState.unknown;
|
|
226832
226914
|
return result;
|
|
226833
226915
|
}
|
|
226834
|
-
/**
|
|
226916
|
+
/**
|
|
226917
|
+
* Multiply the transpose of `this` matrix times `other` matrix
|
|
226835
226918
|
* ```
|
|
226836
226919
|
* equation
|
|
226837
226920
|
* \matrixXY{result}=\matrixXY{\text{this}}\matrixTransposeSubXY{\text{other}}
|
|
226838
226921
|
* ```
|
|
226839
|
-
*
|
|
226922
|
+
* @return the matrix result: thisTranspose*other
|
|
226840
226923
|
*/
|
|
226841
226924
|
multiplyMatrixTransposeMatrix(other, result) {
|
|
226842
226925
|
result = result ? result : new Matrix3d();
|
|
@@ -226849,30 +226932,31 @@ class Matrix3d {
|
|
|
226849
226932
|
result.inverseState = InverseMatrixState.unknown;
|
|
226850
226933
|
return result;
|
|
226851
226934
|
}
|
|
226852
|
-
/**
|
|
226935
|
+
/**
|
|
226936
|
+
* Multiply `this` Matrix3d (considered as a Transform with 0 translation) times `other` Transform.
|
|
226853
226937
|
* ```
|
|
226854
226938
|
* equation
|
|
226855
226939
|
* \begin{matrix}
|
|
226856
|
-
*
|
|
226857
|
-
*
|
|
226940
|
+
* \text{This matrix }\bold{A}\text{ promoted to block transform} & \blockTransform{A}{0} \\
|
|
226941
|
+
* \text{other transform with matrix part }\bold{B}\text{ and translation }\bold{b} & \blockTransform{B}{b}\\
|
|
226858
226942
|
* \text{product}& \blockTransform{A}{0}\blockTransform{B}{b}=\blockTransform{AB}{Ab}
|
|
226859
226943
|
* \end{matrix}
|
|
226860
226944
|
* ```
|
|
226861
|
-
* @param other
|
|
226862
|
-
* @param result
|
|
226945
|
+
* @param other Right hand Matrix3d for multiplication.
|
|
226946
|
+
* @param result the Transform result (optional)
|
|
226863
226947
|
*/
|
|
226864
226948
|
multiplyMatrixTransform(other, result) {
|
|
226865
226949
|
if (!result)
|
|
226866
226950
|
return _Transform__WEBPACK_IMPORTED_MODULE_5__.Transform.createRefs(this.multiplyXYZ(other.origin.x, other.origin.y, other.origin.z), this.multiplyMatrixMatrix(other.matrix));
|
|
226867
|
-
// be sure to do the point multiplication first before aliasing changes the matrix
|
|
226951
|
+
// be sure to do the point multiplication first before aliasing changes the matrix
|
|
226868
226952
|
this.multiplyXYZtoXYZ(other.origin, result.origin);
|
|
226869
226953
|
this.multiplyMatrixMatrix(other.matrix, result.matrix);
|
|
226870
226954
|
return result;
|
|
226871
226955
|
}
|
|
226872
226956
|
/**
|
|
226873
226957
|
* Return the transpose of `this` matrix.
|
|
226874
|
-
* If `result` is passed as argument, then the function copies the transpose of `this` into `result
|
|
226875
|
-
* `this` is not changed unless also passed as the result, i.e., this.transpose(this) transposes `this` in place
|
|
226958
|
+
* * If `result` is passed as argument, then the function copies the transpose of `this` into `result`.
|
|
226959
|
+
* * `this` is not changed unless also passed as the result, i.e., `this.transpose(this)` transposes `this` in place.
|
|
226876
226960
|
*/
|
|
226877
226961
|
transpose(result) {
|
|
226878
226962
|
if (!result)
|
|
@@ -226894,18 +226978,22 @@ class Matrix3d {
|
|
|
226894
226978
|
transposeInPlace() {
|
|
226895
226979
|
PackedMatrix3dOps.transposeInPlace(this.coffs);
|
|
226896
226980
|
if (this.inverseCoffs)
|
|
226897
|
-
PackedMatrix3dOps.transposeInPlace(this.inverseCoffs);
|
|
226981
|
+
PackedMatrix3dOps.transposeInPlace(this.inverseCoffs); // inverse of transpose is equal to transpose of inverse
|
|
226898
226982
|
}
|
|
226899
|
-
/**
|
|
226900
|
-
*
|
|
226901
|
-
*
|
|
226902
|
-
* *
|
|
226983
|
+
/**
|
|
226984
|
+
* Return the inverse matrix.
|
|
226985
|
+
* The return is undefined if the matrix is singular (e.g. has parallel columns or a zero magnitude column)
|
|
226986
|
+
* * If `result == this`, then content of inverse of `this` matrix is copied into `this`. Otherwise, inverse
|
|
226987
|
+
* of `this` is stored in `result`.
|
|
226988
|
+
* * **Note:** Each Matrix3d object caches its own inverse (`this.inverseCoffs`) and has methods to multiply
|
|
226989
|
+
* the inverse times matrices and vectors (e.g., `multiplyMatrixInverseMatrix`, `multiplyMatrixMatrixInverse`,
|
|
226990
|
+
* `multiplyInverse`). Hence explicitly constructing this new inverse object is rarely necessary.
|
|
226903
226991
|
*/
|
|
226904
226992
|
inverse(result) {
|
|
226905
226993
|
if (!this.computeCachedInverse(true))
|
|
226906
226994
|
return undefined;
|
|
226907
226995
|
if (result === this) {
|
|
226908
|
-
// swap the contents
|
|
226996
|
+
// swap the contents of this.coffs and this.inverseCoffs
|
|
226909
226997
|
PackedMatrix3dOps.copy(this.coffs, Matrix3d._productBuffer);
|
|
226910
226998
|
PackedMatrix3dOps.copy(this.inverseCoffs, this.coffs);
|
|
226911
226999
|
PackedMatrix3dOps.copy(Matrix3d._productBuffer, this.inverseCoffs);
|
|
@@ -226920,33 +227008,48 @@ class Matrix3d {
|
|
|
226920
227008
|
result.inverseState = this.inverseState;
|
|
226921
227009
|
return result;
|
|
226922
227010
|
}
|
|
226923
|
-
|
|
226924
|
-
|
|
226925
|
-
|
|
226926
|
-
|
|
227011
|
+
/**
|
|
227012
|
+
* Take the dot product of a row (specified by `rowStartA`) of `coffA` and `columnStartB` of `coffB`.
|
|
227013
|
+
* * **Note:** We don't validate row/column numbers. Pass 0/3/6 for row 0/1/2 and pass 0/1/2 for column 0/1/2.
|
|
227014
|
+
*/
|
|
227015
|
+
static rowColumnDot(coffA, rowStartA, coffB, columnStartB) {
|
|
227016
|
+
return coffA[rowStartA] * coffB[columnStartB] +
|
|
227017
|
+
coffA[rowStartA + 1] * coffB[columnStartB + 3] +
|
|
227018
|
+
coffA[rowStartA + 2] * coffB[columnStartB + 6];
|
|
227019
|
+
}
|
|
227020
|
+
/**
|
|
227021
|
+
* Take the cross product of 2 rows (specified by `rowStart0` and `rowStart1`) of `source` and store the result
|
|
227022
|
+
* in `columnStart` of `dest`.
|
|
227023
|
+
* * **Note:** We don't validate row/column numbers. Pass 0/3/6 for row 0/1/2 and pass 0/1/2 for column 0/1/2.
|
|
227024
|
+
*/
|
|
226927
227025
|
static indexedRowCrossProduct(source, rowStart0, rowStart1, dest, columnStart) {
|
|
226928
227026
|
dest[columnStart] = source[rowStart0 + 1] * source[rowStart1 + 2] - source[rowStart0 + 2] * source[rowStart1 + 1];
|
|
226929
227027
|
dest[columnStart + 3] = source[rowStart0 + 2] * source[rowStart1] - source[rowStart0] * source[rowStart1 + 2];
|
|
226930
227028
|
dest[columnStart + 6] = source[rowStart0] * source[rowStart1 + 1] - source[rowStart0 + 1] * source[rowStart1];
|
|
226931
227029
|
}
|
|
226932
|
-
|
|
226933
|
-
|
|
226934
|
-
|
|
227030
|
+
/**
|
|
227031
|
+
* Take the cross product of 2 columns (i.e., `colStart0` and `colStart1`) of `this` matrix and store the
|
|
227032
|
+
* result in `colStart2` of the same matrix.
|
|
227033
|
+
* * **Note:** We don't validate column numbers. Pass 0/1/2 for column 0/1/2.
|
|
227034
|
+
*/
|
|
226935
227035
|
indexedColumnCrossProductInPlace(colStart0, colStart1, colStart2) {
|
|
226936
227036
|
const coffs = this.coffs;
|
|
226937
227037
|
coffs[colStart2] = coffs[colStart0 + 3] * coffs[colStart1 + 6] - coffs[colStart0 + 6] * coffs[colStart1 + 3];
|
|
226938
227038
|
coffs[colStart2 + 3] = coffs[colStart0 + 6] * coffs[colStart1] - coffs[colStart0] * coffs[colStart1 + 6];
|
|
226939
227039
|
coffs[colStart2 + 6] = coffs[colStart0] * coffs[colStart1 + 3] - coffs[colStart0 + 3] * coffs[colStart1];
|
|
226940
227040
|
}
|
|
226941
|
-
/**
|
|
226942
|
-
*
|
|
226943
|
-
*
|
|
227041
|
+
/**
|
|
227042
|
+
* Form cross products among columns in axisOrder.
|
|
227043
|
+
* For axis order ABC:
|
|
227044
|
+
* * form cross product of column A and B, store in C.
|
|
226944
227045
|
* * form cross product of column C and A, store in B.
|
|
227046
|
+
* * [A B C] ===> [A B AxB] ===> [A (AxB)xA AxB]
|
|
227047
|
+
*
|
|
226945
227048
|
* This means that in the final matrix:
|
|
226946
|
-
* * column A is
|
|
226947
|
-
* * column B is linear combination of
|
|
227049
|
+
* * column A is same as original column A.
|
|
227050
|
+
* * column B is linear combination of original A and B (i.e., is in the plane of original A and B).
|
|
226948
227051
|
* * column C is perpendicular to A and B of both the original and final.
|
|
226949
|
-
* * original column C does not participate in the result.
|
|
227052
|
+
* * original column C is overwritten and does not participate in the result.
|
|
226950
227053
|
*/
|
|
226951
227054
|
axisOrderCrossProductsInPlace(axisOrder) {
|
|
226952
227055
|
switch (axisOrder) {
|
|
@@ -226982,41 +227085,44 @@ class Matrix3d {
|
|
|
226982
227085
|
}
|
|
226983
227086
|
}
|
|
226984
227087
|
}
|
|
226985
|
-
/**
|
|
226986
|
-
*
|
|
226987
|
-
* @
|
|
226988
|
-
* @
|
|
227088
|
+
/**
|
|
227089
|
+
* Normalize each column in place.
|
|
227090
|
+
* @param originalRowMagnitudes optional vector to store original column magnitudes.
|
|
227091
|
+
* @returns Return true if all columns have non-zero lengths. Otherwise, return false.
|
|
227092
|
+
* * If false is returned, the magnitudes are stored in the `originalRowMagnitudes` vector but no columns
|
|
227093
|
+
* are altered.
|
|
226989
227094
|
*/
|
|
226990
|
-
normalizeColumnsInPlace(
|
|
227095
|
+
normalizeColumnsInPlace(originalRowMagnitudes) {
|
|
226991
227096
|
const ax = this.columnXMagnitude();
|
|
226992
227097
|
const ay = this.columnYMagnitude();
|
|
226993
227098
|
const az = this.columnZMagnitude();
|
|
226994
|
-
if (
|
|
226995
|
-
|
|
227099
|
+
if (originalRowMagnitudes)
|
|
227100
|
+
originalRowMagnitudes.set(ax, ay, az);
|
|
226996
227101
|
if (_Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.isSmallMetricDistance(ax) || _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.isSmallMetricDistance(ay) || _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.isSmallMetricDistance(az))
|
|
226997
227102
|
return false;
|
|
226998
227103
|
this.scaleColumns(1.0 / ax, 1.0 / ay, 1.0 / az, this);
|
|
226999
227104
|
return true;
|
|
227000
227105
|
}
|
|
227001
|
-
/**
|
|
227002
|
-
|
|
227106
|
+
/**
|
|
227107
|
+
* Normalize each row in place.
|
|
227108
|
+
* @param originalColumnMagnitudes optional vector to store original row magnitudes.
|
|
227109
|
+
* @returns Return true if all rows have non-zero lengths. Otherwise, return false.
|
|
227110
|
+
* * If false is returned, the magnitudes are stored in the `originalColumnMagnitudes` vector but no rows
|
|
227111
|
+
* are altered.
|
|
227112
|
+
*/
|
|
227113
|
+
normalizeRowsInPlace(originalColumnMagnitudes) {
|
|
227003
227114
|
const ax = this.rowXMagnitude();
|
|
227004
227115
|
const ay = this.rowYMagnitude();
|
|
227005
227116
|
const az = this.rowZMagnitude();
|
|
227006
|
-
if (
|
|
227007
|
-
|
|
227117
|
+
if (originalColumnMagnitudes)
|
|
227118
|
+
originalColumnMagnitudes.set(ax, ay, az);
|
|
227008
227119
|
if (_Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.isSmallMetricDistance(ax) || _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.isSmallMetricDistance(ay) || _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.isSmallMetricDistance(az))
|
|
227009
227120
|
return false;
|
|
227010
227121
|
this.scaleRows(1.0 / ax, 1.0 / ay, 1.0 / az, this);
|
|
227011
227122
|
return true;
|
|
227012
227123
|
}
|
|
227013
|
-
// take the cross product of two rows of source.
|
|
227014
|
-
// store as a column of dest.
|
|
227015
|
-
static rowColumnDot(coffA, rowStartA, coffB, columnStartB) {
|
|
227016
|
-
return coffA[rowStartA] * coffB[columnStartB] + coffA[rowStartA + 1] * coffB[columnStartB + 3] + coffA[rowStartA + 2] * coffB[columnStartB + 6];
|
|
227017
|
-
}
|
|
227018
227124
|
/**
|
|
227019
|
-
* Returns true if the matrix is singular
|
|
227125
|
+
* Returns true if the matrix is singular.
|
|
227020
227126
|
*/
|
|
227021
227127
|
isSingular() {
|
|
227022
227128
|
return !this.computeCachedInverse(true);
|
|
@@ -227028,18 +227134,10 @@ class Matrix3d {
|
|
|
227028
227134
|
this.inverseState = InverseMatrixState.singular;
|
|
227029
227135
|
}
|
|
227030
227136
|
/**
|
|
227031
|
-
*
|
|
227032
|
-
*
|
|
227033
|
-
*
|
|
227034
|
-
|
|
227035
|
-
createInverseCoffsWithZeros() {
|
|
227036
|
-
if (!this.inverseCoffs) {
|
|
227037
|
-
this.inverseState = InverseMatrixState.unknown;
|
|
227038
|
-
this.inverseCoffs = new Float64Array(9);
|
|
227039
|
-
}
|
|
227040
|
-
}
|
|
227041
|
-
/** compute the inverse of this Matrix3d. The inverse is stored for later use.
|
|
227042
|
-
* @returns Return true if the inverse computed. (False if the columns collapse to a point, line or plane.)
|
|
227137
|
+
* Compute the inverse of `this` Matrix3d. The inverse is stored in `this.inverseCoffs` for later use.
|
|
227138
|
+
* @param useCacheIfAvailable if `true`, use the previously computed inverse if available. If `false`,
|
|
227139
|
+
* recompute the inverse.
|
|
227140
|
+
* @returns Return `true` if the inverse is computed. Return `false` if matrix is singular.
|
|
227043
227141
|
*/
|
|
227044
227142
|
computeCachedInverse(useCacheIfAvailable) {
|
|
227045
227143
|
if (useCacheIfAvailable && Matrix3d.useCachedInverse && this.inverseState !== InverseMatrixState.unknown) {
|
|
@@ -227050,71 +227148,45 @@ class Matrix3d {
|
|
|
227050
227148
|
this.createInverseCoffsWithZeros();
|
|
227051
227149
|
const coffs = this.coffs;
|
|
227052
227150
|
const inverseCoffs = this.inverseCoffs;
|
|
227053
|
-
|
|
227054
|
-
|
|
227055
|
-
|
|
227151
|
+
/**
|
|
227152
|
+
* We calculate the inverse using cross products.
|
|
227153
|
+
* Math details can be found at
|
|
227154
|
+
* https://www.chilimath.com/lessons/advanced-algebra/determinant-3x3-matrix/
|
|
227155
|
+
* In summary, if M = [A B C] then inverse of M = (1/det)[BxC CxA AxB] where det is the
|
|
227156
|
+
* determinant of matrix M and can be calculated by "A dot BxC".
|
|
227157
|
+
*/
|
|
227158
|
+
Matrix3d.indexedRowCrossProduct(coffs, 3, 6, inverseCoffs, 0); // BxC
|
|
227159
|
+
Matrix3d.indexedRowCrossProduct(coffs, 6, 0, inverseCoffs, 1); // CxA
|
|
227160
|
+
Matrix3d.indexedRowCrossProduct(coffs, 0, 3, inverseCoffs, 2); // AxB
|
|
227056
227161
|
Matrix3d.numComputeCache++;
|
|
227057
|
-
const
|
|
227058
|
-
if (
|
|
227162
|
+
const det = Matrix3d.rowColumnDot(coffs, 0, inverseCoffs, 0); // A dot BxC
|
|
227163
|
+
if (det === 0.0) {
|
|
227059
227164
|
this.inverseState = InverseMatrixState.singular;
|
|
227060
227165
|
this.inverseCoffs = undefined;
|
|
227061
227166
|
return false;
|
|
227062
227167
|
}
|
|
227063
|
-
const f = 1.0 /
|
|
227168
|
+
const f = 1.0 / det;
|
|
227064
227169
|
for (let i = 0; i < 9; i++)
|
|
227065
227170
|
inverseCoffs[i] *= f;
|
|
227066
227171
|
this.inverseState = InverseMatrixState.inverseStored;
|
|
227067
|
-
// verify inverse
|
|
227068
|
-
// const p = new Float64Array(9);
|
|
227069
|
-
// for (let i = 0; i < 9; i += 3)
|
|
227070
|
-
// for (let j = 0; j < 3; j++)
|
|
227071
|
-
// p[i + j] = Matrix3d.rowColumnDot (coffs, i, inverseCoffs, j);
|
|
227072
227172
|
return true;
|
|
227073
227173
|
}
|
|
227074
|
-
|
|
227075
|
-
|
|
227076
|
-
|
|
227077
|
-
|
|
227078
|
-
private static crossXY: Vector3d = Vector3d.create();
|
|
227079
|
-
private static crossZX: Vector3d = Vector3d.create();
|
|
227080
|
-
private static crossYZ: Vector3d = Vector3d.create();
|
|
227081
|
-
private computeCachedInverse(useCacheIfAvailable: boolean) {
|
|
227082
|
-
if (useCacheIfAvailable && Matrix3d.useCachedInverse && this.inverseState !== InverseMatrixState.unknown) {
|
|
227083
|
-
Matrix3d.numUseCache++;
|
|
227084
|
-
return this.inverseState === InverseMatrixState.inverseStored;
|
|
227085
|
-
}
|
|
227086
|
-
this.inverseState = InverseMatrixState.unknown;
|
|
227087
|
-
Matrix3d.numComputeCache++;
|
|
227088
|
-
const rowX = this.rowX(Matrix3d.rowX);
|
|
227089
|
-
const rowY = this.rowY(Matrix3d.rowY);
|
|
227090
|
-
const rowZ = this.rowZ(Matrix3d.rowZ);
|
|
227091
|
-
const crossXY = rowX.crossProduct(rowY, Matrix3d.crossXY);
|
|
227092
|
-
const crossYZ = rowY.crossProduct(rowZ, Matrix3d.crossYZ);
|
|
227093
|
-
const crossZX = rowZ.crossProduct(rowX, Matrix3d.crossZX);
|
|
227094
|
-
const d = rowX.dotProduct(crossYZ); // that's the determinant
|
|
227095
|
-
if (d === 0.0) { // better test?
|
|
227096
|
-
this.inverseState = InverseMatrixState.singular;
|
|
227097
|
-
this.inverseCoffs = undefined;
|
|
227098
|
-
return false;
|
|
227099
|
-
}
|
|
227100
|
-
const f = 1.0 / d;
|
|
227101
|
-
this.inverseState = InverseMatrixState.inverseStored; // Currently just lists that the inverse has been stored... singular case not handled
|
|
227102
|
-
this.inverseCoffs = Float64Array.from([crossYZ.x * f, crossZX.x * f, crossXY.x * f,
|
|
227103
|
-
crossYZ.y * f, crossZX.y * f, crossXY.y * f,
|
|
227104
|
-
crossYZ.z * f, crossZX.z * f, crossXY.z * f]);
|
|
227105
|
-
return true;
|
|
227106
|
-
}
|
|
227107
|
-
*/
|
|
227108
|
-
/** convert a (row,column) index pair to the single index within flattened array of 9 numbers in row-major-order */
|
|
227174
|
+
/**
|
|
227175
|
+
* Convert a (row,column) index pair to the single index within flattened array of 9 numbers in row-major-order
|
|
227176
|
+
* * **Note:** Out of range row/column is interpreted cyclically.
|
|
227177
|
+
*/
|
|
227109
227178
|
static flatIndexOf(row, column) {
|
|
227110
227179
|
return 3 * _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.cyclic3dAxis(row) + _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.cyclic3dAxis(column);
|
|
227111
227180
|
}
|
|
227112
|
-
/**
|
|
227181
|
+
/**
|
|
227182
|
+
* Get elements of column `index` packaged as a Point4d with given `weight`.
|
|
227183
|
+
* * **Note:** Out of range index is interpreted cyclically.
|
|
227184
|
+
*/
|
|
227113
227185
|
indexedColumnWithWeight(index, weight, result) {
|
|
227114
227186
|
index = _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.cyclic3dAxis(index);
|
|
227115
227187
|
return _geometry4d_Point4d__WEBPACK_IMPORTED_MODULE_4__.Point4d.create(this.coffs[index], this.coffs[index + 3], this.coffs[index + 6], weight, result);
|
|
227116
227188
|
}
|
|
227117
|
-
/**
|
|
227189
|
+
/** Return the entry at specific row and column */
|
|
227118
227190
|
at(row, column) {
|
|
227119
227191
|
return this.coffs[Matrix3d.flatIndexOf(row, column)];
|
|
227120
227192
|
}
|
|
@@ -227148,7 +227220,7 @@ class Matrix3d {
|
|
|
227148
227220
|
this.coffs[7] *= scaleY;
|
|
227149
227221
|
this.coffs[8] *= scaleZ;
|
|
227150
227222
|
if (this.inverseState === InverseMatrixState.inverseStored && this.inverseCoffs !== undefined) {
|
|
227151
|
-
// apply
|
|
227223
|
+
// apply reciprocal scales to the ROWS of the inverse
|
|
227152
227224
|
const divX = _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.conditionalDivideFraction(1.0, scaleX);
|
|
227153
227225
|
const divY = _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.conditionalDivideFraction(1.0, scaleY);
|
|
227154
227226
|
const divZ = _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.conditionalDivideFraction(1.0, scaleZ);
|
|
@@ -227224,12 +227296,11 @@ class Matrix3d {
|
|
|
227224
227296
|
/**
|
|
227225
227297
|
* Create a rigid matrix (columns and rows are unit length and pairwise perpendicular) for
|
|
227226
227298
|
* the given eye coordinate.
|
|
227227
|
-
* * column
|
|
227228
|
-
* * column
|
|
227229
|
-
* * column
|
|
227299
|
+
* * column 2 is parallel to (x,y,z).
|
|
227300
|
+
* * column 0 is perpendicular to column 2 and is in the xy plane.
|
|
227301
|
+
* * column 1 is perpendicular to both. It is the "up" vector on the view plane.
|
|
227230
227302
|
* * Multiplying the returned matrix times a local (view) vector gives the world vector.
|
|
227231
|
-
* * Multiplying transpose of the returned matrix times a world vector gives the local
|
|
227232
|
-
* (view) vector.
|
|
227303
|
+
* * Multiplying transpose of the returned matrix times a world vector gives the local (view) vector.
|
|
227233
227304
|
* @param x eye x coordinate
|
|
227234
227305
|
* @param y eye y coordinate
|
|
227235
227306
|
* @param z eye z coordinate
|
|
@@ -227244,11 +227315,27 @@ class Matrix3d {
|
|
|
227244
227315
|
result.scaleColumnsInPlace(1.0, -1.0, -1.0);
|
|
227245
227316
|
}
|
|
227246
227317
|
else {
|
|
227318
|
+
// if coordinate is (x,y,0), i.e., Front or Back or Left or Right view
|
|
227319
|
+
/**
|
|
227320
|
+
* The matrix that the "else" statement creates is
|
|
227321
|
+
* [-s -s1*c c1*c]
|
|
227322
|
+
* [c -s1*s c1*s]
|
|
227323
|
+
* [0 c1 s1 ]
|
|
227324
|
+
* where
|
|
227325
|
+
* c = x / sqrt(x*x + y*y)
|
|
227326
|
+
* s = y / sqrt(x*x + y*y)
|
|
227327
|
+
* c1 = sqrt(x*x + y*y) / sqrt(x*x + y*y + z*z)
|
|
227328
|
+
* s1 = z / sqrt(x*x + y*y + z*z)
|
|
227329
|
+
*
|
|
227330
|
+
* This is an orthogonal matrix meaning it rotates the standard XYZ axis to ABC axis system
|
|
227331
|
+
* (if matrix is [A B C]). The matrix rotates (0,0,1), i.e., the default Top view or Z axis,
|
|
227332
|
+
* to the eye point (x/r,y/r,z/r). The matrix also rotates (1,0,0) to a point on XY plane.
|
|
227333
|
+
*/
|
|
227247
227334
|
const c = x / rxy;
|
|
227248
227335
|
const s = y / rxy;
|
|
227249
|
-
// if coordinate is (x,y,0),
|
|
227336
|
+
// if coordinate is (x,y,0), e.g., Front or Back or Left or Right view (for those 4 views x or y is 0 not both)
|
|
227250
227337
|
result.setRowValues(-s, 0, c, c, 0, s, 0, 1, 0);
|
|
227251
|
-
// if coordinate is (x,y,z), i.e., other views such as Iso or RightIso
|
|
227338
|
+
// if coordinate is (x,y,z) and z is not 0, i.e., other views such as Iso or RightIso
|
|
227252
227339
|
if (z !== 0.0) {
|
|
227253
227340
|
const r = _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.hypotenuseXYZ(x, y, z);
|
|
227254
227341
|
const s1 = z / r;
|
|
@@ -227520,6 +227607,7 @@ Matrix3d.useCachedInverse = true; // cached inverse can be suppressed for testin
|
|
|
227520
227607
|
Matrix3d.numUseCache = 0;
|
|
227521
227608
|
/** Total number of times a cached inverse was computed. */
|
|
227522
227609
|
Matrix3d.numComputeCache = 0;
|
|
227610
|
+
/** temporary buffer to store a matrix as a Float64Array (array of 9 floats) */
|
|
227523
227611
|
Matrix3d._productBuffer = new Float64Array(9);
|
|
227524
227612
|
|
|
227525
227613
|
|
|
@@ -230302,6 +230390,8 @@ class Vector3d extends XYZ {
|
|
|
230302
230390
|
* * It's returning the signed projection magnitude divided by the target magnitude.
|
|
230303
230391
|
* * To find the projection vector, scale the target vector by the value that this function is returning.
|
|
230304
230392
|
* * math details can be found at docs/learning/geometry/PointVector.md
|
|
230393
|
+
* * Visualization can be found at https://www.itwinjs.org/sandbox/SaeedTorabi/ProjectVectorOnVector
|
|
230394
|
+
* and https://www.itwinjs.org/sandbox/SaeedTorabi/ProjectVectorOnPlane
|
|
230305
230395
|
* @param target the target vector
|
|
230306
230396
|
* @param defaultFraction the returned value in case magnitude square of target vector is very small
|
|
230307
230397
|
* */
|
|
@@ -230694,6 +230784,7 @@ class Vector3d extends XYZ {
|
|
|
230694
230784
|
}
|
|
230695
230785
|
/**
|
|
230696
230786
|
* Return the cross product of this vector and vectorB.
|
|
230787
|
+
* * Visualization can be found at https://www.itwinjs.org/sandbox/SaeedTorabi/CrossProduct
|
|
230697
230788
|
* @param vectorB second vector of cross product
|
|
230698
230789
|
* @param result optional preallocated result.
|
|
230699
230790
|
*/
|
|
@@ -292975,9 +293066,9 @@ exports.IModelSession = void 0;
|
|
|
292975
293066
|
*--------------------------------------------------------------------------------------------*/
|
|
292976
293067
|
const chai_1 = __webpack_require__(/*! chai */ "../../common/temp/node_modules/.pnpm/chai@4.3.7/node_modules/chai/index.js");
|
|
292977
293068
|
const core_frontend_1 = __webpack_require__(/*! @itwin/core-frontend */ "../../core/frontend/lib/esm/core-frontend.js");
|
|
292978
|
-
const imodels_client_management_1 = __webpack_require__(/*! @itwin/imodels-client-management */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
293069
|
+
const imodels_client_management_1 = __webpack_require__(/*! @itwin/imodels-client-management */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/index.js");
|
|
292979
293070
|
const projects_client_1 = __webpack_require__(/*! @itwin/projects-client */ "../../common/temp/node_modules/.pnpm/@itwin+projects-client@0.6.0/node_modules/@itwin/projects-client/lib/esm/projects-client.js");
|
|
292980
|
-
const imodels_access_frontend_1 = __webpack_require__(/*! @itwin/imodels-access-frontend */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@2.
|
|
293071
|
+
const imodels_access_frontend_1 = __webpack_require__(/*! @itwin/imodels-access-frontend */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@2.3.0/node_modules/@itwin/imodels-access-frontend/lib/esm/index.js");
|
|
292981
293072
|
class IModelSession {
|
|
292982
293073
|
constructor(iModelId, iTwinId, changesetId) {
|
|
292983
293074
|
this.iTwinId = iTwinId;
|
|
@@ -293070,8 +293161,8 @@ const Settings_1 = __webpack_require__(/*! ../../common/Settings */ "./lib/commo
|
|
|
293070
293161
|
const SideChannels_1 = __webpack_require__(/*! ../../common/SideChannels */ "./lib/common/SideChannels.js");
|
|
293071
293162
|
const IModelSession_1 = __webpack_require__(/*! ./IModelSession */ "./lib/frontend/setup/IModelSession.js");
|
|
293072
293163
|
const core_common_1 = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
|
|
293073
|
-
const imodels_access_frontend_1 = __webpack_require__(/*! @itwin/imodels-access-frontend */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@2.
|
|
293074
|
-
const imodels_client_management_1 = __webpack_require__(/*! @itwin/imodels-client-management */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.
|
|
293164
|
+
const imodels_access_frontend_1 = __webpack_require__(/*! @itwin/imodels-access-frontend */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-access-frontend@2.3.0/node_modules/@itwin/imodels-access-frontend/lib/esm/index.js");
|
|
293165
|
+
const imodels_client_management_1 = __webpack_require__(/*! @itwin/imodels-client-management */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@2.3.0/node_modules/@itwin/imodels-client-management/lib/esm/index.js");
|
|
293075
293166
|
class TestContext {
|
|
293076
293167
|
constructor(env) {
|
|
293077
293168
|
this.settings = new Settings_1.Settings(env);
|
|
@@ -303504,7 +303595,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
303504
303595
|
/***/ ((module) => {
|
|
303505
303596
|
|
|
303506
303597
|
"use strict";
|
|
303507
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.0.0-dev.
|
|
303598
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.0.0-dev.15","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs","build:ci":"npm run -s build && npm run -s build:esm","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2020 --outDir lib/esm","clean":"rimraf 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","docs":"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/primitives,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-eslintrc -c \\"../../tools/eslint-plugin/dist/configs/extension-exports-config.js\\" \\"./src/**/*.ts\\" 1>&2","lint":"eslint -f visualstudio \\"./src/**/*.ts\\" 1>&2","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run -s webpackTests && certa -r chrome","cover":"npm -s test","test:debug":"certa -r chrome --debug","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core/tree/master/core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:^4.0.0-dev.8","@itwin/core-bentley":"workspace:^4.0.0-dev.15","@itwin/core-common":"workspace:^4.0.0-dev.15","@itwin/core-geometry":"workspace:^4.0.0-dev.15","@itwin/core-orbitgt":"workspace:^4.0.0-dev.15","@itwin/core-quantity":"workspace:^4.0.0-dev.15"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/certa":"workspace:*","@itwin/eslint-plugin":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/deep-assign":"^0.1.0","@types/lodash":"^4.14.0","@types/mocha":"^8.2.2","@types/node":"18.11.5","@types/qs":"^6.5.0","@types/semver":"7.3.10","@types/superagent":"^4.1.14","@types/sinon":"^9.0.0","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","chai":"^4.1.2","chai-as-promised":"^7","cpx2":"^3.0.0","eslint":"^7.11.0","glob":"^7.1.2","mocha":"^10.0.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^9.0.2","source-map-loader":"^4.0.0","typescript":"~4.4.0","webpack":"^5.64.4"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/object-storage-azure":"~1.4.0","@itwin/cloud-agnostic-core":"~1.4.0","@itwin/object-storage-core":"~1.4.0","@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","deep-assign":"^2.0.0","fuse.js":"^3.3.0","lodash":"^4.17.10","qs":"^6.5.3","semver":"^7.3.5","superagent":"^7.1.5","wms-capabilities":"0.4.0","reflect-metadata":"0.1.13"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"},"eslintConfig":{"plugins":["@itwin"],"extends":"plugin:@itwin/itwinjs-recommended","rules":{"@itwin/no-internal-barrel-imports":["error",{"required-barrel-modules":["./src/tile/internal.ts"]}],"@itwin/public-extension-exports":["error",{"releaseTags":["public","preview"],"outputApiFile":false}]},"overrides":[{"files":["*.test.ts","*.test.tsx","**/test/**/*.ts"],"rules":{"@itwin/no-internal-barrel-imports":"off"}}]}}');
|
|
303508
303599
|
|
|
303509
303600
|
/***/ })
|
|
303510
303601
|
|