@itwin/ecschema-rpcinterface-tests 4.9.0-dev.24 → 4.9.0-dev.26
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/_bea9.bundled-tests.js.map +1 -1
- package/lib/dist/bundled-tests.js +223 -158
- 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/vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_1_6_node_modules_loaders_gl_draco_di-0642a6.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_meshoptimizer_0_20_0_node_modules_meshoptimizer_index_m-a5ae61.bundled-tests.js.map +1 -1
- package/package.json +15 -15
|
@@ -103801,6 +103801,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
103801
103801
|
/* harmony export */ "AccuDrawRotateCycleTool": () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_104__.AccuDrawRotateCycleTool),
|
|
103802
103802
|
/* harmony export */ "AccuDrawRotateElementTool": () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_104__.AccuDrawRotateElementTool),
|
|
103803
103803
|
/* harmony export */ "AccuDrawRotateFrontTool": () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_104__.AccuDrawRotateFrontTool),
|
|
103804
|
+
/* harmony export */ "AccuDrawRotatePerpendicularTool": () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_104__.AccuDrawRotatePerpendicularTool),
|
|
103804
103805
|
/* harmony export */ "AccuDrawRotateSideTool": () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_104__.AccuDrawRotateSideTool),
|
|
103805
103806
|
/* harmony export */ "AccuDrawRotateTopTool": () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_104__.AccuDrawRotateTopTool),
|
|
103806
103807
|
/* harmony export */ "AccuDrawRotateViewTool": () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_104__.AccuDrawRotateViewTool),
|
|
@@ -159772,6 +159773,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
159772
159773
|
/* harmony export */ "AccuDrawRotateCycleTool": () => (/* binding */ AccuDrawRotateCycleTool),
|
|
159773
159774
|
/* harmony export */ "AccuDrawRotateElementTool": () => (/* binding */ AccuDrawRotateElementTool),
|
|
159774
159775
|
/* harmony export */ "AccuDrawRotateFrontTool": () => (/* binding */ AccuDrawRotateFrontTool),
|
|
159776
|
+
/* harmony export */ "AccuDrawRotatePerpendicularTool": () => (/* binding */ AccuDrawRotatePerpendicularTool),
|
|
159775
159777
|
/* harmony export */ "AccuDrawRotateSideTool": () => (/* binding */ AccuDrawRotateSideTool),
|
|
159776
159778
|
/* harmony export */ "AccuDrawRotateTopTool": () => (/* binding */ AccuDrawRotateTopTool),
|
|
159777
159779
|
/* harmony export */ "AccuDrawRotateViewTool": () => (/* binding */ AccuDrawRotateViewTool),
|
|
@@ -159794,8 +159796,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
159794
159796
|
/* harmony import */ var _AccuDraw__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../AccuDraw */ "../../core/frontend/lib/esm/AccuDraw.js");
|
|
159795
159797
|
/* harmony import */ var _AccuSnap__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../AccuSnap */ "../../core/frontend/lib/esm/AccuSnap.js");
|
|
159796
159798
|
/* harmony import */ var _AuxCoordSys__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../AuxCoordSys */ "../../core/frontend/lib/esm/AuxCoordSys.js");
|
|
159797
|
-
/* harmony import */ var
|
|
159798
|
-
/* harmony import */ var
|
|
159799
|
+
/* harmony import */ var _HitDetail__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../HitDetail */ "../../core/frontend/lib/esm/HitDetail.js");
|
|
159800
|
+
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
159801
|
+
/* harmony import */ var _Tool__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Tool */ "../../core/frontend/lib/esm/tools/Tool.js");
|
|
159799
159802
|
/*---------------------------------------------------------------------------------------------
|
|
159800
159803
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
159801
159804
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -159810,6 +159813,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
159810
159813
|
|
|
159811
159814
|
|
|
159812
159815
|
|
|
159816
|
+
|
|
159813
159817
|
// cSpell:ignore dont unlockedz
|
|
159814
159818
|
function normalizedDifference(point1, point2, out) {
|
|
159815
159819
|
return point2.vectorTo(point1).normalizeWithLength(out).mag;
|
|
@@ -159825,7 +159829,7 @@ function normalizedCrossProduct(vec1, vec2, out) {
|
|
|
159825
159829
|
class AccuDrawShortcuts {
|
|
159826
159830
|
/** Disable/Enable AccuDraw for the session */
|
|
159827
159831
|
static sessionToggle() {
|
|
159828
|
-
const accudraw =
|
|
159832
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
159829
159833
|
if (accudraw.isEnabled)
|
|
159830
159834
|
accudraw.disableForSession();
|
|
159831
159835
|
else
|
|
@@ -159833,7 +159837,7 @@ class AccuDrawShortcuts {
|
|
|
159833
159837
|
}
|
|
159834
159838
|
/** Suspend/Unsuspend AccuDraw for the active tool */
|
|
159835
159839
|
static suspendToggle() {
|
|
159836
|
-
const accudraw =
|
|
159840
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
159837
159841
|
if (!accudraw.isEnabled)
|
|
159838
159842
|
return;
|
|
159839
159843
|
if (accudraw.isActive)
|
|
@@ -159843,7 +159847,7 @@ class AccuDrawShortcuts {
|
|
|
159843
159847
|
accudraw.refreshDecorationsAndDynamics();
|
|
159844
159848
|
}
|
|
159845
159849
|
static rotateAxesByPoint(isSnapped, aboutCurrentZ) {
|
|
159846
|
-
const accudraw =
|
|
159850
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
159847
159851
|
if (!accudraw.isEnabled)
|
|
159848
159852
|
return false;
|
|
159849
159853
|
const vp = accudraw.currentView;
|
|
@@ -159871,7 +159875,7 @@ class AccuDrawShortcuts {
|
|
|
159871
159875
|
return true;
|
|
159872
159876
|
}
|
|
159873
159877
|
static updateACSByPoints(acs, vp, points, isDynamics) {
|
|
159874
|
-
const accudraw =
|
|
159878
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
159875
159879
|
if (!accudraw.isEnabled)
|
|
159876
159880
|
return false;
|
|
159877
159881
|
let accept = false;
|
|
@@ -159927,9 +159931,9 @@ class AccuDrawShortcuts {
|
|
|
159927
159931
|
}
|
|
159928
159932
|
return accept;
|
|
159929
159933
|
}
|
|
159930
|
-
static processPendingHints() {
|
|
159934
|
+
static processPendingHints() { _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.processHints(); }
|
|
159931
159935
|
static requestInputFocus() {
|
|
159932
|
-
const accudraw =
|
|
159936
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
159933
159937
|
if (!accudraw.isEnabled)
|
|
159934
159938
|
return;
|
|
159935
159939
|
accudraw.grabInputFocus();
|
|
@@ -159937,7 +159941,7 @@ class AccuDrawShortcuts {
|
|
|
159937
159941
|
}
|
|
159938
159942
|
// Helper method for GUI implementation...
|
|
159939
159943
|
static async itemFieldNavigate(index, str, forward) {
|
|
159940
|
-
const accudraw =
|
|
159944
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
159941
159945
|
if (!accudraw.isEnabled)
|
|
159942
159946
|
return;
|
|
159943
159947
|
if (accudraw.getFieldLock(index))
|
|
@@ -159973,9 +159977,9 @@ class AccuDrawShortcuts {
|
|
|
159973
159977
|
accudraw.setFocusItem(index);
|
|
159974
159978
|
accudraw.dontMoveFocus = true;
|
|
159975
159979
|
}
|
|
159976
|
-
static itemFieldNewInput(index) {
|
|
159980
|
+
static itemFieldNewInput(index) { _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.setKeyinStatus(index, _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.KeyinStatus.Partial); }
|
|
159977
159981
|
static async itemFieldAcceptInput(index, str) {
|
|
159978
|
-
const accudraw =
|
|
159982
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
159979
159983
|
await accudraw.processFieldInput(index, str, true);
|
|
159980
159984
|
accudraw.setKeyinStatus(index, _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.KeyinStatus.Dynamic);
|
|
159981
159985
|
if (accudraw.getFieldLock(index))
|
|
@@ -160013,7 +160017,7 @@ class AccuDrawShortcuts {
|
|
|
160013
160017
|
accudraw.setFocusItem(index);
|
|
160014
160018
|
}
|
|
160015
160019
|
static itemFieldLockToggle(index) {
|
|
160016
|
-
const accudraw =
|
|
160020
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
160017
160021
|
if (!accudraw.isEnabled)
|
|
160018
160022
|
return;
|
|
160019
160023
|
if (accudraw.getFieldLock(index)) {
|
|
@@ -160058,7 +160062,7 @@ class AccuDrawShortcuts {
|
|
|
160058
160062
|
accudraw.clearTentative();
|
|
160059
160063
|
}
|
|
160060
160064
|
static itemRotationModeChange(rotation) {
|
|
160061
|
-
const accudraw =
|
|
160065
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
160062
160066
|
const vp = accudraw.currentView;
|
|
160063
160067
|
const is3d = vp ? vp.view.is3d() : true;
|
|
160064
160068
|
if (!is3d && (_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.RotationMode.Front === rotation || _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.RotationMode.Side === rotation))
|
|
@@ -160068,7 +160072,7 @@ class AccuDrawShortcuts {
|
|
|
160068
160072
|
}
|
|
160069
160073
|
// Shortcut implementations for GUI entry points...
|
|
160070
160074
|
static setOrigin(explicitOrigin) {
|
|
160071
|
-
const accudraw =
|
|
160075
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
160072
160076
|
if (!accudraw.isEnabled)
|
|
160073
160077
|
return;
|
|
160074
160078
|
if (explicitOrigin) {
|
|
@@ -160083,8 +160087,8 @@ class AccuDrawShortcuts {
|
|
|
160083
160087
|
accudraw.flags.haveValidOrigin = true;
|
|
160084
160088
|
}
|
|
160085
160089
|
else {
|
|
160086
|
-
const ev = new
|
|
160087
|
-
|
|
160090
|
+
const ev = new _Tool__WEBPACK_IMPORTED_MODULE_7__.BeButtonEvent();
|
|
160091
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin.fillEventFromLastDataButton(ev);
|
|
160088
160092
|
if (ev.viewport) {
|
|
160089
160093
|
accudraw.published.origin.setFrom(ev.point);
|
|
160090
160094
|
accudraw.flags.haveValidOrigin = true;
|
|
@@ -160113,7 +160117,7 @@ class AccuDrawShortcuts {
|
|
|
160113
160117
|
accudraw.refreshDecorationsAndDynamics();
|
|
160114
160118
|
}
|
|
160115
160119
|
static changeCompassMode() {
|
|
160116
|
-
const accudraw =
|
|
160120
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
160117
160121
|
if (!accudraw.isEnabled)
|
|
160118
160122
|
return;
|
|
160119
160123
|
let axisLockStatus = accudraw.locked & _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.LockedStates.XY_BM;
|
|
@@ -160143,10 +160147,10 @@ class AccuDrawShortcuts {
|
|
|
160143
160147
|
accudraw.refreshDecorationsAndDynamics();
|
|
160144
160148
|
}
|
|
160145
160149
|
static lockSmart() {
|
|
160146
|
-
const accudraw =
|
|
160150
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
160147
160151
|
if (!accudraw.isEnabled)
|
|
160148
160152
|
return;
|
|
160149
|
-
const accuSnap =
|
|
160153
|
+
const accuSnap = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuSnap;
|
|
160150
160154
|
// Don't want AccuSnap to influence axis or Z...
|
|
160151
160155
|
if (accuSnap.isHot) {
|
|
160152
160156
|
accuSnap.clear();
|
|
@@ -160228,7 +160232,7 @@ class AccuDrawShortcuts {
|
|
|
160228
160232
|
}
|
|
160229
160233
|
/** Disable indexing when not currently indexed; if indexed, enable respective lock. */
|
|
160230
160234
|
static lockIndex() {
|
|
160231
|
-
const accudraw =
|
|
160235
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
160232
160236
|
if (!accudraw.isEnabled)
|
|
160233
160237
|
return;
|
|
160234
160238
|
if (accudraw.flags.indexLocked) {
|
|
@@ -160267,7 +160271,7 @@ class AccuDrawShortcuts {
|
|
|
160267
160271
|
}
|
|
160268
160272
|
}
|
|
160269
160273
|
static lockX() {
|
|
160270
|
-
const accudraw =
|
|
160274
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
160271
160275
|
if (!accudraw.isEnabled)
|
|
160272
160276
|
return;
|
|
160273
160277
|
accudraw.clearTentative();
|
|
@@ -160290,7 +160294,7 @@ class AccuDrawShortcuts {
|
|
|
160290
160294
|
accudraw.refreshDecorationsAndDynamics();
|
|
160291
160295
|
}
|
|
160292
160296
|
static lockY() {
|
|
160293
|
-
const accudraw =
|
|
160297
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
160294
160298
|
if (!accudraw.isEnabled)
|
|
160295
160299
|
return;
|
|
160296
160300
|
accudraw.clearTentative();
|
|
@@ -160313,7 +160317,7 @@ class AccuDrawShortcuts {
|
|
|
160313
160317
|
accudraw.refreshDecorationsAndDynamics();
|
|
160314
160318
|
}
|
|
160315
160319
|
static lockZ() {
|
|
160316
|
-
const accudraw =
|
|
160320
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
160317
160321
|
if (!accudraw.isEnabled)
|
|
160318
160322
|
return;
|
|
160319
160323
|
const vp = accudraw.currentView;
|
|
@@ -160334,7 +160338,7 @@ class AccuDrawShortcuts {
|
|
|
160334
160338
|
accudraw.refreshDecorationsAndDynamics();
|
|
160335
160339
|
}
|
|
160336
160340
|
static lockDistance() {
|
|
160337
|
-
const accudraw =
|
|
160341
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
160338
160342
|
if (!accudraw.isEnabled)
|
|
160339
160343
|
return;
|
|
160340
160344
|
const isSnapped = accudraw.clearTentative();
|
|
@@ -160360,14 +160364,14 @@ class AccuDrawShortcuts {
|
|
|
160360
160364
|
accudraw.refreshDecorationsAndDynamics();
|
|
160361
160365
|
}
|
|
160362
160366
|
static lockAngle() {
|
|
160363
|
-
const accudraw =
|
|
160367
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
160364
160368
|
if (!accudraw.isEnabled)
|
|
160365
160369
|
return;
|
|
160366
160370
|
accudraw.doLockAngle(accudraw.clearTentative());
|
|
160367
160371
|
accudraw.refreshDecorationsAndDynamics();
|
|
160368
160372
|
}
|
|
160369
160373
|
lockIndex() {
|
|
160370
|
-
const accudraw =
|
|
160374
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
160371
160375
|
if (!accudraw.isEnabled)
|
|
160372
160376
|
return;
|
|
160373
160377
|
if (accudraw.flags.indexLocked) {
|
|
@@ -160407,7 +160411,7 @@ class AccuDrawShortcuts {
|
|
|
160407
160411
|
accudraw.refreshDecorationsAndDynamics();
|
|
160408
160412
|
}
|
|
160409
160413
|
static setStandardRotation(rotation) {
|
|
160410
|
-
const accudraw =
|
|
160414
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
160411
160415
|
if (!accudraw.isEnabled)
|
|
160412
160416
|
return;
|
|
160413
160417
|
if (_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.RotationMode.Context === rotation) {
|
|
@@ -160425,7 +160429,7 @@ class AccuDrawShortcuts {
|
|
|
160425
160429
|
accudraw.refreshDecorationsAndDynamics();
|
|
160426
160430
|
}
|
|
160427
160431
|
static alignView() {
|
|
160428
|
-
const accudraw =
|
|
160432
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
160429
160433
|
if (!accudraw.isEnabled)
|
|
160430
160434
|
return;
|
|
160431
160435
|
const vp = accudraw.currentView;
|
|
@@ -160443,9 +160447,9 @@ class AccuDrawShortcuts {
|
|
|
160443
160447
|
vp.animateFrustumChange();
|
|
160444
160448
|
accudraw.refreshDecorationsAndDynamics();
|
|
160445
160449
|
}
|
|
160446
|
-
static rotateToBase() { this.setStandardRotation(
|
|
160450
|
+
static rotateToBase() { this.setStandardRotation(_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.flags.baseRotation); }
|
|
160447
160451
|
static rotateToACS() {
|
|
160448
|
-
const accudraw =
|
|
160452
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
160449
160453
|
if (!accudraw.isEnabled)
|
|
160450
160454
|
return;
|
|
160451
160455
|
// NOTE: Match current ACS orientation..reset auxRotationPlane to top!
|
|
@@ -160453,7 +160457,7 @@ class AccuDrawShortcuts {
|
|
|
160453
160457
|
this.setStandardRotation(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.RotationMode.ACS);
|
|
160454
160458
|
}
|
|
160455
160459
|
static rotateCycle() {
|
|
160456
|
-
const accudraw =
|
|
160460
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
160457
160461
|
if (!accudraw.isEnabled)
|
|
160458
160462
|
return;
|
|
160459
160463
|
const vp = accudraw.currentView;
|
|
@@ -160516,7 +160520,7 @@ class AccuDrawShortcuts {
|
|
|
160516
160520
|
this.setStandardRotation(rotation);
|
|
160517
160521
|
}
|
|
160518
160522
|
static rotate90(axis) {
|
|
160519
|
-
const accudraw =
|
|
160523
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
160520
160524
|
if (!accudraw.isEnabled)
|
|
160521
160525
|
return;
|
|
160522
160526
|
const newRotation = new _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.ThreeAxes();
|
|
@@ -160543,19 +160547,22 @@ class AccuDrawShortcuts {
|
|
|
160543
160547
|
accudraw.refreshDecorationsAndDynamics();
|
|
160544
160548
|
}
|
|
160545
160549
|
static async rotateAxes(aboutCurrentZ) {
|
|
160546
|
-
return
|
|
160550
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tools.run("AccuDraw.RotateAxes", aboutCurrentZ);
|
|
160547
160551
|
}
|
|
160548
160552
|
static async rotateToElement() {
|
|
160549
|
-
return
|
|
160553
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tools.run("AccuDraw.RotateElement");
|
|
160554
|
+
}
|
|
160555
|
+
static async rotatePerpendicular() {
|
|
160556
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tools.run("AccuDraw.RotatePerpendicular");
|
|
160550
160557
|
}
|
|
160551
160558
|
static async defineACSByElement() {
|
|
160552
|
-
return
|
|
160559
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tools.run("AccuDraw.DefineACSByElement");
|
|
160553
160560
|
}
|
|
160554
160561
|
static async defineACSByPoints() {
|
|
160555
|
-
return
|
|
160562
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tools.run("AccuDraw.DefineACSByPoints");
|
|
160556
160563
|
}
|
|
160557
160564
|
static getACS(acsName, useOrigin, useRotation) {
|
|
160558
|
-
const accudraw =
|
|
160565
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
160559
160566
|
if (!accudraw.isEnabled)
|
|
160560
160567
|
return _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.ERROR;
|
|
160561
160568
|
const vp = accudraw.currentView;
|
|
@@ -160614,7 +160621,7 @@ class AccuDrawShortcuts {
|
|
|
160614
160621
|
return _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.SUCCESS;
|
|
160615
160622
|
}
|
|
160616
160623
|
static writeACS(_acsName) {
|
|
160617
|
-
const accudraw =
|
|
160624
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
160618
160625
|
if (!accudraw.isEnabled)
|
|
160619
160626
|
return _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.ERROR;
|
|
160620
160627
|
const vp = accudraw.currentView;
|
|
@@ -160640,7 +160647,7 @@ class AccuDrawShortcuts {
|
|
|
160640
160647
|
return _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.SUCCESS;
|
|
160641
160648
|
}
|
|
160642
160649
|
static itemFieldUnlockAll() {
|
|
160643
|
-
const accudraw =
|
|
160650
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
160644
160651
|
if (accudraw.isEnabled)
|
|
160645
160652
|
accudraw.unlockAllFields();
|
|
160646
160653
|
}
|
|
@@ -160696,6 +160703,8 @@ class AccuDrawShortcuts {
|
|
|
160696
160703
|
return AccuDrawShortcuts.rotateAxes(true);
|
|
160697
160704
|
case "e":
|
|
160698
160705
|
return AccuDrawShortcuts.rotateToElement();
|
|
160706
|
+
case "p":
|
|
160707
|
+
return AccuDrawShortcuts.rotatePerpendicular();
|
|
160699
160708
|
case "r":
|
|
160700
160709
|
return AccuDrawShortcuts.defineACSByPoints();
|
|
160701
160710
|
}
|
|
@@ -160703,7 +160712,7 @@ class AccuDrawShortcuts {
|
|
|
160703
160712
|
}
|
|
160704
160713
|
}
|
|
160705
160714
|
/** @internal */
|
|
160706
|
-
class AccuDrawSessionToggleTool extends
|
|
160715
|
+
class AccuDrawSessionToggleTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
160707
160716
|
async run() {
|
|
160708
160717
|
AccuDrawShortcuts.sessionToggle();
|
|
160709
160718
|
return true;
|
|
@@ -160711,7 +160720,7 @@ class AccuDrawSessionToggleTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool
|
|
|
160711
160720
|
}
|
|
160712
160721
|
AccuDrawSessionToggleTool.toolId = "AccuDraw.SessionToggle";
|
|
160713
160722
|
/** @internal */
|
|
160714
|
-
class AccuDrawSuspendToggleTool extends
|
|
160723
|
+
class AccuDrawSuspendToggleTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
160715
160724
|
async run() {
|
|
160716
160725
|
AccuDrawShortcuts.suspendToggle();
|
|
160717
160726
|
return true;
|
|
@@ -160719,7 +160728,7 @@ class AccuDrawSuspendToggleTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool
|
|
|
160719
160728
|
}
|
|
160720
160729
|
AccuDrawSuspendToggleTool.toolId = "AccuDraw.SuspendToggle";
|
|
160721
160730
|
/** @internal */
|
|
160722
|
-
class AccuDrawSetOriginTool extends
|
|
160731
|
+
class AccuDrawSetOriginTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
160723
160732
|
async run() {
|
|
160724
160733
|
AccuDrawShortcuts.setOrigin();
|
|
160725
160734
|
return true;
|
|
@@ -160727,7 +160736,7 @@ class AccuDrawSetOriginTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
160727
160736
|
}
|
|
160728
160737
|
AccuDrawSetOriginTool.toolId = "AccuDraw.SetOrigin";
|
|
160729
160738
|
/** @internal */
|
|
160730
|
-
class AccuDrawSetLockSmartTool extends
|
|
160739
|
+
class AccuDrawSetLockSmartTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
160731
160740
|
async run() {
|
|
160732
160741
|
AccuDrawShortcuts.lockSmart();
|
|
160733
160742
|
return true;
|
|
@@ -160735,7 +160744,7 @@ class AccuDrawSetLockSmartTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
160735
160744
|
}
|
|
160736
160745
|
AccuDrawSetLockSmartTool.toolId = "AccuDraw.LockSmart";
|
|
160737
160746
|
/** @internal */
|
|
160738
|
-
class AccuDrawSetLockIndexTool extends
|
|
160747
|
+
class AccuDrawSetLockIndexTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
160739
160748
|
async run() {
|
|
160740
160749
|
AccuDrawShortcuts.lockIndex();
|
|
160741
160750
|
return true;
|
|
@@ -160743,7 +160752,7 @@ class AccuDrawSetLockIndexTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
160743
160752
|
}
|
|
160744
160753
|
AccuDrawSetLockIndexTool.toolId = "AccuDraw.LockIndex";
|
|
160745
160754
|
/** @internal */
|
|
160746
|
-
class AccuDrawSetLockXTool extends
|
|
160755
|
+
class AccuDrawSetLockXTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
160747
160756
|
async run() {
|
|
160748
160757
|
AccuDrawShortcuts.lockX();
|
|
160749
160758
|
return true;
|
|
@@ -160751,7 +160760,7 @@ class AccuDrawSetLockXTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
160751
160760
|
}
|
|
160752
160761
|
AccuDrawSetLockXTool.toolId = "AccuDraw.LockX";
|
|
160753
160762
|
/** @internal */
|
|
160754
|
-
class AccuDrawSetLockYTool extends
|
|
160763
|
+
class AccuDrawSetLockYTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
160755
160764
|
async run() {
|
|
160756
160765
|
AccuDrawShortcuts.lockY();
|
|
160757
160766
|
return true;
|
|
@@ -160759,7 +160768,7 @@ class AccuDrawSetLockYTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
160759
160768
|
}
|
|
160760
160769
|
AccuDrawSetLockYTool.toolId = "AccuDraw.LockY";
|
|
160761
160770
|
/** @internal */
|
|
160762
|
-
class AccuDrawSetLockZTool extends
|
|
160771
|
+
class AccuDrawSetLockZTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
160763
160772
|
async run() {
|
|
160764
160773
|
AccuDrawShortcuts.lockZ();
|
|
160765
160774
|
return true;
|
|
@@ -160767,7 +160776,7 @@ class AccuDrawSetLockZTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
160767
160776
|
}
|
|
160768
160777
|
AccuDrawSetLockZTool.toolId = "AccuDraw.LockZ";
|
|
160769
160778
|
/** @internal */
|
|
160770
|
-
class AccuDrawSetLockDistanceTool extends
|
|
160779
|
+
class AccuDrawSetLockDistanceTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
160771
160780
|
async run() {
|
|
160772
160781
|
AccuDrawShortcuts.lockDistance();
|
|
160773
160782
|
return true;
|
|
@@ -160775,7 +160784,7 @@ class AccuDrawSetLockDistanceTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Too
|
|
|
160775
160784
|
}
|
|
160776
160785
|
AccuDrawSetLockDistanceTool.toolId = "AccuDraw.LockDistance";
|
|
160777
160786
|
/** @internal */
|
|
160778
|
-
class AccuDrawSetLockAngleTool extends
|
|
160787
|
+
class AccuDrawSetLockAngleTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
160779
160788
|
async run() {
|
|
160780
160789
|
AccuDrawShortcuts.lockAngle();
|
|
160781
160790
|
return true;
|
|
@@ -160783,7 +160792,7 @@ class AccuDrawSetLockAngleTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
160783
160792
|
}
|
|
160784
160793
|
AccuDrawSetLockAngleTool.toolId = "AccuDraw.LockAngle";
|
|
160785
160794
|
/** @internal */
|
|
160786
|
-
class AccuDrawChangeModeTool extends
|
|
160795
|
+
class AccuDrawChangeModeTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
160787
160796
|
async run() {
|
|
160788
160797
|
AccuDrawShortcuts.changeCompassMode();
|
|
160789
160798
|
return true;
|
|
@@ -160791,7 +160800,7 @@ class AccuDrawChangeModeTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
160791
160800
|
}
|
|
160792
160801
|
AccuDrawChangeModeTool.toolId = "AccuDraw.ChangeMode";
|
|
160793
160802
|
/** @internal */
|
|
160794
|
-
class AccuDrawRotateCycleTool extends
|
|
160803
|
+
class AccuDrawRotateCycleTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
160795
160804
|
async run() {
|
|
160796
160805
|
AccuDrawShortcuts.rotateCycle();
|
|
160797
160806
|
return true;
|
|
@@ -160799,7 +160808,7 @@ class AccuDrawRotateCycleTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
160799
160808
|
}
|
|
160800
160809
|
AccuDrawRotateCycleTool.toolId = "AccuDraw.RotateCycle";
|
|
160801
160810
|
/** @internal */
|
|
160802
|
-
class AccuDrawRotateTopTool extends
|
|
160811
|
+
class AccuDrawRotateTopTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
160803
160812
|
async run() {
|
|
160804
160813
|
AccuDrawShortcuts.setStandardRotation(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.RotationMode.Top);
|
|
160805
160814
|
return true;
|
|
@@ -160807,7 +160816,7 @@ class AccuDrawRotateTopTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
160807
160816
|
}
|
|
160808
160817
|
AccuDrawRotateTopTool.toolId = "AccuDraw.RotateTop";
|
|
160809
160818
|
/** @internal */
|
|
160810
|
-
class AccuDrawRotateFrontTool extends
|
|
160819
|
+
class AccuDrawRotateFrontTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
160811
160820
|
async run() {
|
|
160812
160821
|
AccuDrawShortcuts.setStandardRotation(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.RotationMode.Front);
|
|
160813
160822
|
return true;
|
|
@@ -160815,7 +160824,7 @@ class AccuDrawRotateFrontTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
160815
160824
|
}
|
|
160816
160825
|
AccuDrawRotateFrontTool.toolId = "AccuDraw.RotateFront";
|
|
160817
160826
|
/** @internal */
|
|
160818
|
-
class AccuDrawRotateSideTool extends
|
|
160827
|
+
class AccuDrawRotateSideTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
160819
160828
|
async run() {
|
|
160820
160829
|
AccuDrawShortcuts.setStandardRotation(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.RotationMode.Side);
|
|
160821
160830
|
return true;
|
|
@@ -160823,7 +160832,7 @@ class AccuDrawRotateSideTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
160823
160832
|
}
|
|
160824
160833
|
AccuDrawRotateSideTool.toolId = "AccuDraw.RotateSide";
|
|
160825
160834
|
/** @internal */
|
|
160826
|
-
class AccuDrawRotateViewTool extends
|
|
160835
|
+
class AccuDrawRotateViewTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
160827
160836
|
async run() {
|
|
160828
160837
|
AccuDrawShortcuts.setStandardRotation(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.RotationMode.View);
|
|
160829
160838
|
return true;
|
|
@@ -160831,40 +160840,67 @@ class AccuDrawRotateViewTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
160831
160840
|
}
|
|
160832
160841
|
AccuDrawRotateViewTool.toolId = "AccuDraw.RotateView";
|
|
160833
160842
|
/** @internal */
|
|
160834
|
-
class AccuDrawShortcutsTool extends
|
|
160843
|
+
class AccuDrawShortcutsTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.InputCollector {
|
|
160835
160844
|
constructor() {
|
|
160836
|
-
super();
|
|
160837
|
-
this.
|
|
160845
|
+
super(...arguments);
|
|
160846
|
+
this._complete = false;
|
|
160847
|
+
}
|
|
160848
|
+
get allowShortcut() { return this.wantActivateOnStart ? _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.isEnabled : true; }
|
|
160849
|
+
get wantActivateOnStart() { return false; } // Whether to automatically enable AccuDraw before the 1st data button...
|
|
160850
|
+
get wantClearSnapOnStart() { return false; } // Whether to preserve active Tentative/AccuSnap on install...
|
|
160851
|
+
get wantManipulationImmediate() { return false; } // Whether additional input is required to process on install...
|
|
160852
|
+
get wantExitOnDataButtonUp() { return false; } // Whether to exit on button up instead of down (see rotate perpendicular)...
|
|
160853
|
+
async onInstall() {
|
|
160854
|
+
if (!this.allowShortcut)
|
|
160855
|
+
return false;
|
|
160856
|
+
return super.onInstall();
|
|
160838
160857
|
}
|
|
160839
160858
|
async onPostInstall() {
|
|
160840
160859
|
await super.onPostInstall();
|
|
160841
|
-
this.
|
|
160842
|
-
|
|
160843
|
-
|
|
160844
|
-
|
|
160845
|
-
|
|
160846
|
-
|
|
160847
|
-
|
|
160848
|
-
|
|
160860
|
+
if (this.wantActivateOnStart)
|
|
160861
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.activate();
|
|
160862
|
+
this.onManipulationStart();
|
|
160863
|
+
if (this.wantManipulationImmediate && this.doManipulation(undefined, false)) {
|
|
160864
|
+
this._complete = true;
|
|
160865
|
+
return this.exitTool();
|
|
160866
|
+
}
|
|
160867
|
+
// NOTE: InputCollector inherits suspended primitive's state, set everything...
|
|
160868
|
+
if (this.wantClearSnapOnStart) {
|
|
160869
|
+
this.initLocateElements(false, true, undefined, _Tool__WEBPACK_IMPORTED_MODULE_7__.CoordinateLockOverrides.None); // This clears the active Tentative/AccuSnap, some shortcuts have special behavior when invoked with an active snap...
|
|
160870
|
+
}
|
|
160871
|
+
else {
|
|
160872
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.locateManager.initLocateOptions();
|
|
160873
|
+
this.changeLocateState(false, true, undefined, _Tool__WEBPACK_IMPORTED_MODULE_7__.CoordinateLockOverrides.None);
|
|
160849
160874
|
}
|
|
160850
|
-
|
|
160875
|
+
this.doManipulation(undefined, true);
|
|
160876
|
+
;
|
|
160877
|
+
}
|
|
160878
|
+
async onCleanup() {
|
|
160879
|
+
if (this._complete)
|
|
160880
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.savedStateInputCollector.ignoreFlags = this.onManipulationComplete();
|
|
160851
160881
|
}
|
|
160852
|
-
async onMouseMotion(ev) { this.doManipulation(ev, true); }
|
|
160853
160882
|
async exitTool() {
|
|
160854
160883
|
await super.exitTool();
|
|
160855
|
-
AccuDrawShortcuts.requestInputFocus();
|
|
160856
|
-
} // re-grab focus when auto-focus tool setting set...
|
|
160857
|
-
activateAccuDrawOnStart() { return true; }
|
|
160858
|
-
doManipulationStart() {
|
|
160859
|
-
if (this.activateAccuDrawOnStart())
|
|
160860
|
-
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw.activate();
|
|
160861
|
-
this.doManipulation(undefined, true);
|
|
160884
|
+
AccuDrawShortcuts.requestInputFocus(); // re-grab focus when auto-focus tool setting set...
|
|
160862
160885
|
}
|
|
160863
|
-
|
|
160864
|
-
if (
|
|
160865
|
-
|
|
160886
|
+
async onDataButtonDown(ev) {
|
|
160887
|
+
if (this.doManipulation(ev, false)) {
|
|
160888
|
+
this._complete = true;
|
|
160889
|
+
if (!this.wantExitOnDataButtonUp)
|
|
160890
|
+
await this.exitTool();
|
|
160891
|
+
}
|
|
160892
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_7__.EventHandled.No;
|
|
160893
|
+
}
|
|
160894
|
+
async onDataButtonUp(_ev) {
|
|
160895
|
+
if (this._complete && this.wantExitOnDataButtonUp)
|
|
160896
|
+
await this.exitTool();
|
|
160897
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_7__.EventHandled.No;
|
|
160898
|
+
}
|
|
160899
|
+
async onMouseMotion(ev) {
|
|
160900
|
+
this.doManipulation(ev, true);
|
|
160866
160901
|
}
|
|
160867
|
-
|
|
160902
|
+
onManipulationStart() { }
|
|
160903
|
+
onManipulationComplete() { return _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetRMatrix; }
|
|
160868
160904
|
}
|
|
160869
160905
|
/** @internal */
|
|
160870
160906
|
class AccuDrawRotateAxesTool extends AccuDrawShortcutsTool {
|
|
@@ -160872,45 +160908,33 @@ class AccuDrawRotateAxesTool extends AccuDrawShortcutsTool {
|
|
|
160872
160908
|
constructor(aboutCurrentZ = true) {
|
|
160873
160909
|
super();
|
|
160874
160910
|
this.aboutCurrentZ = aboutCurrentZ;
|
|
160875
|
-
this._immediateMode = false;
|
|
160876
|
-
}
|
|
160877
|
-
async onInstall() {
|
|
160878
|
-
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw;
|
|
160879
|
-
if (!accudraw.isActive)
|
|
160880
|
-
return false; // Require compass to already be active for this shortcut...
|
|
160881
|
-
if (this.aboutCurrentZ)
|
|
160882
|
-
accudraw.changeBaseRotationMode(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.RotationMode.Context); // Establish current orientation as base; base Z is used when defining compass rotation by x axis...
|
|
160883
|
-
if (accudraw.clearTentative() || _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuSnap.isHot ||
|
|
160884
|
-
(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.CompassMode.Polar === accudraw.compassMode && accudraw.getFieldLock(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.ItemField.ANGLE_Item)) ||
|
|
160885
|
-
(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.CompassMode.Polar !== accudraw.compassMode && accudraw.getFieldLock(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.ItemField.X_Item) && accudraw.getFieldLock(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.ItemField.Y_Item))) {
|
|
160886
|
-
if (AccuDrawShortcuts.rotateAxesByPoint(true, this.aboutCurrentZ)) {
|
|
160887
|
-
AccuDrawShortcuts.itemFieldUnlockAll();
|
|
160888
|
-
accudraw.refreshDecorationsAndDynamics();
|
|
160889
|
-
this._immediateMode = true;
|
|
160890
|
-
}
|
|
160891
|
-
}
|
|
160892
|
-
return true;
|
|
160893
160911
|
}
|
|
160894
|
-
|
|
160895
|
-
|
|
160896
|
-
|
|
160897
|
-
|
|
160898
|
-
|
|
160899
|
-
|
|
160912
|
+
get allowShortcut() { return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.isActive; } // Require compass to already be active for this shortcut...
|
|
160913
|
+
get wantActivateOnStart() { return true; } // State is demoted to inactive when a tool install, still need this...
|
|
160914
|
+
get wantManipulationImmediate() {
|
|
160915
|
+
if (_AccuSnap__WEBPACK_IMPORTED_MODULE_3__.TentativeOrAccuSnap.isHot)
|
|
160916
|
+
return true;
|
|
160917
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
160918
|
+
if (_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.CompassMode.Polar === accudraw.compassMode)
|
|
160919
|
+
return accudraw.getFieldLock(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.ItemField.ANGLE_Item);
|
|
160920
|
+
return accudraw.getFieldLock(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.ItemField.X_Item) && accudraw.getFieldLock(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.ItemField.Y_Item);
|
|
160900
160921
|
}
|
|
160901
|
-
|
|
160902
|
-
|
|
160903
|
-
|
|
160904
|
-
|
|
160922
|
+
onManipulationStart() {
|
|
160923
|
+
if (this.aboutCurrentZ)
|
|
160924
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.changeBaseRotationMode(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.RotationMode.Context); // Establish current orientation as base for when defining compass rotation by x axis...
|
|
160925
|
+
_Tool__WEBPACK_IMPORTED_MODULE_7__.CoreTools.outputPromptByKey("AccuDraw.RotateAxes.Prompts.FirstPoint");
|
|
160905
160926
|
}
|
|
160906
160927
|
doManipulation(ev, isMotion) {
|
|
160907
|
-
const vp = ev ? ev.viewport :
|
|
160928
|
+
const vp = ev ? ev.viewport : _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.currentView;
|
|
160908
160929
|
if (!vp)
|
|
160909
|
-
return
|
|
160910
|
-
AccuDrawShortcuts.rotateAxesByPoint(_AccuSnap__WEBPACK_IMPORTED_MODULE_3__.TentativeOrAccuSnap.isHot, this.aboutCurrentZ)
|
|
160930
|
+
return false;
|
|
160931
|
+
if (!AccuDrawShortcuts.rotateAxesByPoint(_AccuSnap__WEBPACK_IMPORTED_MODULE_3__.TentativeOrAccuSnap.isHot, this.aboutCurrentZ))
|
|
160932
|
+
return false;
|
|
160911
160933
|
vp.invalidateDecorations();
|
|
160912
|
-
if (!isMotion)
|
|
160934
|
+
if (!isMotion) {
|
|
160913
160935
|
AccuDrawShortcuts.itemFieldUnlockAll();
|
|
160936
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tentativePoint.clear(true);
|
|
160937
|
+
}
|
|
160914
160938
|
return true;
|
|
160915
160939
|
}
|
|
160916
160940
|
async parseAndRun(...args) {
|
|
@@ -160926,56 +160950,101 @@ AccuDrawRotateAxesTool.toolId = "AccuDraw.RotateAxes";
|
|
|
160926
160950
|
class AccuDrawRotateElementTool extends AccuDrawShortcutsTool {
|
|
160927
160951
|
constructor() {
|
|
160928
160952
|
super(...arguments);
|
|
160929
|
-
this.
|
|
160953
|
+
this._moveOrigin = !_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.isActive || _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tentativePoint.isActive; // Preserve current origin if AccuDraw already active and not tentative snap...
|
|
160954
|
+
}
|
|
160955
|
+
get wantActivateOnStart() { return true; }
|
|
160956
|
+
get wantManipulationImmediate() { return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tentativePoint.isSnapped; }
|
|
160957
|
+
onManipulationStart() {
|
|
160958
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.setContext(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.FixedOrigin); // Don't move compass when updateOrientation returns false...
|
|
160959
|
+
_Tool__WEBPACK_IMPORTED_MODULE_7__.CoreTools.outputPromptByKey("AccuDraw.RotateElement.Prompts.FirstPoint");
|
|
160930
160960
|
}
|
|
160931
|
-
async onInstall() { return _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw.isEnabled; } // Require compass to be enabled for this session...
|
|
160932
160961
|
onManipulationComplete() {
|
|
160933
160962
|
let ignoreFlags = _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetRMatrix | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.Disable; // If AccuDraw wasn't active when the shortcut started, let it remain active for suspended tool when shortcut completes...
|
|
160934
|
-
if (this.
|
|
160963
|
+
if (this._moveOrigin)
|
|
160935
160964
|
ignoreFlags |= _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetOrigin;
|
|
160936
160965
|
return ignoreFlags;
|
|
160937
160966
|
}
|
|
160938
|
-
|
|
160939
|
-
|
|
160940
|
-
|
|
160941
|
-
}
|
|
160942
|
-
updateOrientation(snap, vp) {
|
|
160943
|
-
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw;
|
|
160944
|
-
const rMatrix = _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDraw.getSnapRotation(snap, vp);
|
|
160967
|
+
updateOrientation(snap, viewport, _isMotion) {
|
|
160968
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
160969
|
+
const rMatrix = _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDraw.getSnapRotation(snap, viewport);
|
|
160945
160970
|
if (undefined === rMatrix)
|
|
160946
160971
|
return false;
|
|
160947
|
-
const
|
|
160948
|
-
accudraw.setContext(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.
|
|
160972
|
+
const point = this._moveOrigin ? snap.snapPoint : accudraw.origin;
|
|
160973
|
+
accudraw.setContext(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetRMatrix | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.AlwaysSetOrigin, point, rMatrix);
|
|
160949
160974
|
return true;
|
|
160950
160975
|
}
|
|
160951
160976
|
doManipulation(ev, isMotion) {
|
|
160952
|
-
const
|
|
160953
|
-
if (!
|
|
160954
|
-
return
|
|
160955
|
-
const
|
|
160956
|
-
if (undefined ===
|
|
160957
|
-
return
|
|
160977
|
+
const viewport = ev ? ev.viewport : _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.currentView;
|
|
160978
|
+
if (!viewport)
|
|
160979
|
+
return false;
|
|
160980
|
+
const snap = _AccuSnap__WEBPACK_IMPORTED_MODULE_3__.TentativeOrAccuSnap.getCurrentSnap(false);
|
|
160981
|
+
if (undefined === snap || !this.updateOrientation(snap, viewport, isMotion))
|
|
160982
|
+
return false;
|
|
160958
160983
|
if (undefined === ev)
|
|
160959
|
-
AccuDrawShortcuts.processPendingHints();
|
|
160984
|
+
AccuDrawShortcuts.processPendingHints(); // Would normally be processed after button down, necessary when called from post install...
|
|
160960
160985
|
if (!isMotion)
|
|
160961
|
-
|
|
160986
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.changeBaseRotationMode(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.RotationMode.Context); // Hold temporary rotation for tool duration...
|
|
160962
160987
|
return true;
|
|
160963
160988
|
}
|
|
160964
160989
|
}
|
|
160965
160990
|
AccuDrawRotateElementTool.toolId = "AccuDraw.RotateElement";
|
|
160966
160991
|
/** @internal */
|
|
160992
|
+
class AccuDrawRotatePerpendicularTool extends AccuDrawRotateElementTool {
|
|
160993
|
+
get wantExitOnDataButtonUp() { return true; } // Complete on button up since button down clears tentative...
|
|
160994
|
+
onManipulationComplete() {
|
|
160995
|
+
if (undefined !== this._location) {
|
|
160996
|
+
// Use tentative to hold adjusted snap location for suspended tool...
|
|
160997
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tentativePoint.setPoint(this._location.point);
|
|
160998
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tentativePoint.viewport = this._location.viewport;
|
|
160999
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tentativePoint.showTentative();
|
|
161000
|
+
}
|
|
161001
|
+
return _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetRMatrix | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.Disable;
|
|
161002
|
+
}
|
|
161003
|
+
updateOrientation(snap, viewport, isMotion) {
|
|
161004
|
+
const curve = snap.getCurvePrimitive();
|
|
161005
|
+
if (undefined === curve)
|
|
161006
|
+
return false;
|
|
161007
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
161008
|
+
const rMatrix = _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDraw.getSnapRotation(snap, viewport);
|
|
161009
|
+
if (undefined === rMatrix)
|
|
161010
|
+
return false;
|
|
161011
|
+
const zVec = rMatrix.getRow(2); // This is a row matrix...
|
|
161012
|
+
const spacePoint = _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawHintBuilder.projectPointToPlaneInView(accudraw.origin, snap.getPoint(), zVec, viewport, true);
|
|
161013
|
+
if (undefined === spacePoint)
|
|
161014
|
+
return false;
|
|
161015
|
+
const detail = curve.closestPoint(spacePoint, true);
|
|
161016
|
+
if (undefined === detail?.curve)
|
|
161017
|
+
return false;
|
|
161018
|
+
const point = _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawHintBuilder.projectPointToPlaneInView(detail.point, accudraw.origin, zVec, viewport, true);
|
|
161019
|
+
if (undefined === point)
|
|
161020
|
+
return false;
|
|
161021
|
+
const xVec = new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d();
|
|
161022
|
+
if (normalizedDifference(point, accudraw.origin, xVec) < _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.smallAngleRadians)
|
|
161023
|
+
return false;
|
|
161024
|
+
; // Closest point and compass origin coincide...
|
|
161025
|
+
const yVec = xVec.unitCrossProduct(zVec);
|
|
161026
|
+
if (undefined === yVec)
|
|
161027
|
+
return false;
|
|
161028
|
+
rMatrix.setColumns(xVec, yVec, zVec);
|
|
161029
|
+
_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Matrix3d.createRigidFromMatrix3d(rMatrix, _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.AxisOrder.XZY, rMatrix);
|
|
161030
|
+
rMatrix.transposeInPlace();
|
|
161031
|
+
snap.setSnapPoint(point, _HitDetail__WEBPACK_IMPORTED_MODULE_5__.SnapHeat.InRange); // Force hot snap so that adjust point uses it for alignments...
|
|
161032
|
+
accudraw.setContext(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetRMatrix | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.AlwaysSetOrigin, accudraw.origin, rMatrix);
|
|
161033
|
+
accudraw.adjustPoint(point, viewport, false); // Update internals for new snap location...
|
|
161034
|
+
if (!isMotion)
|
|
161035
|
+
this._location = { point, viewport };
|
|
161036
|
+
return true;
|
|
161037
|
+
}
|
|
161038
|
+
}
|
|
161039
|
+
AccuDrawRotatePerpendicularTool.toolId = "AccuDraw.RotatePerpendicular";
|
|
161040
|
+
/** @internal */
|
|
160967
161041
|
class DefineACSByElementTool extends AccuDrawShortcutsTool {
|
|
160968
161042
|
constructor() {
|
|
160969
161043
|
super(...arguments);
|
|
160970
161044
|
this._origin = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Point3d.create();
|
|
160971
161045
|
this._rMatrix = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Matrix3d.createIdentity();
|
|
160972
161046
|
}
|
|
160973
|
-
|
|
160974
|
-
onManipulationComplete() { return _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetRMatrix; }
|
|
160975
|
-
doManipulationStart() {
|
|
160976
|
-
super.doManipulationStart();
|
|
160977
|
-
_Tool__WEBPACK_IMPORTED_MODULE_6__.CoreTools.outputPromptByKey("AccuDraw.DefineACSByElement.Prompts.FirstPoint");
|
|
160978
|
-
}
|
|
161047
|
+
onManipulationStart() { _Tool__WEBPACK_IMPORTED_MODULE_7__.CoreTools.outputPromptByKey("AccuDraw.DefineACSByElement.Prompts.FirstPoint"); }
|
|
160979
161048
|
updateOrientation(snap, vp) {
|
|
160980
161049
|
const rMatrix = _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDraw.getSnapRotation(snap, vp);
|
|
160981
161050
|
if (undefined === rMatrix)
|
|
@@ -160987,11 +161056,11 @@ class DefineACSByElementTool extends AccuDrawShortcutsTool {
|
|
|
160987
161056
|
doManipulation(ev, isMotion) {
|
|
160988
161057
|
const vp = ev ? ev.viewport : undefined;
|
|
160989
161058
|
if (!vp)
|
|
160990
|
-
return
|
|
161059
|
+
return false;
|
|
160991
161060
|
const snapDetail = _AccuSnap__WEBPACK_IMPORTED_MODULE_3__.TentativeOrAccuSnap.getCurrentSnap(false);
|
|
160992
161061
|
if (undefined === snapDetail || !this.updateOrientation(snapDetail, vp))
|
|
160993
|
-
return
|
|
160994
|
-
|
|
161062
|
+
return false;
|
|
161063
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.viewManager.invalidateDecorationsAllViews();
|
|
160995
161064
|
if (isMotion)
|
|
160996
161065
|
return true;
|
|
160997
161066
|
if (!this._acs)
|
|
@@ -161018,28 +161087,24 @@ class DefineACSByPointsTool extends AccuDrawShortcutsTool {
|
|
|
161018
161087
|
super(...arguments);
|
|
161019
161088
|
this._points = [];
|
|
161020
161089
|
}
|
|
161021
|
-
|
|
161022
|
-
|
|
161023
|
-
|
|
161024
|
-
super.doManipulationStart();
|
|
161025
|
-
const tentativePoint = _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.tentativePoint;
|
|
161026
|
-
if (!tentativePoint.isActive) {
|
|
161027
|
-
_Tool__WEBPACK_IMPORTED_MODULE_6__.CoreTools.outputPromptByKey("AccuDraw.DefineACSByPoints.Prompts.FirstPoint");
|
|
161090
|
+
onManipulationStart() {
|
|
161091
|
+
if (!_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tentativePoint.isActive) {
|
|
161092
|
+
_Tool__WEBPACK_IMPORTED_MODULE_7__.CoreTools.outputPromptByKey("AccuDraw.DefineACSByPoints.Prompts.FirstPoint");
|
|
161028
161093
|
return;
|
|
161029
161094
|
}
|
|
161030
|
-
const origin = tentativePoint.getPoint().clone();
|
|
161031
|
-
|
|
161032
|
-
|
|
161095
|
+
const origin = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tentativePoint.getPoint().clone();
|
|
161096
|
+
_Tool__WEBPACK_IMPORTED_MODULE_7__.CoreTools.outputPromptByKey("AccuDraw.DefineACSByPoints.Prompts.SecondPoint");
|
|
161097
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.setContext(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetOrigin | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.FixedOrigin, origin);
|
|
161033
161098
|
this._points.push(origin);
|
|
161034
|
-
tentativePoint.clear(true);
|
|
161099
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tentativePoint.clear(true);
|
|
161035
161100
|
}
|
|
161036
161101
|
doManipulation(ev, isMotion) {
|
|
161037
161102
|
if (!ev || !ev.viewport)
|
|
161038
|
-
return
|
|
161039
|
-
|
|
161103
|
+
return false;
|
|
161104
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.viewManager.invalidateDecorationsAllViews();
|
|
161040
161105
|
if (isMotion)
|
|
161041
161106
|
return false;
|
|
161042
|
-
|
|
161107
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.activate();
|
|
161043
161108
|
this._points.push(ev.point.clone());
|
|
161044
161109
|
const vp = ev.viewport;
|
|
161045
161110
|
if (!this._acs)
|
|
@@ -161049,14 +161114,14 @@ class DefineACSByPointsTool extends AccuDrawShortcutsTool {
|
|
|
161049
161114
|
AccuDrawShortcuts.rotateToACS();
|
|
161050
161115
|
return true;
|
|
161051
161116
|
}
|
|
161052
|
-
|
|
161117
|
+
_Tool__WEBPACK_IMPORTED_MODULE_7__.CoreTools.outputPromptByKey(`AccuDraw.DefineACSByPoints.Prompts${1 === this._points.length ? ".SecondPoint" : ".NextPoint"}`);
|
|
161053
161118
|
return false;
|
|
161054
161119
|
}
|
|
161055
161120
|
decorate(context) {
|
|
161056
161121
|
const tmpPoints = [];
|
|
161057
161122
|
this._points.forEach((pt) => tmpPoints.push(pt));
|
|
161058
|
-
const ev = new
|
|
161059
|
-
|
|
161123
|
+
const ev = new _Tool__WEBPACK_IMPORTED_MODULE_7__.BeButtonEvent();
|
|
161124
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin.fillEventFromCursorLocation(ev);
|
|
161060
161125
|
tmpPoints.push(ev.point);
|
|
161061
161126
|
const vp = context.viewport;
|
|
161062
161127
|
if (!this._acs)
|
|
@@ -301985,7 +302050,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
301985
302050
|
/***/ ((module) => {
|
|
301986
302051
|
|
|
301987
302052
|
"use strict";
|
|
301988
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.9.0-dev.
|
|
302053
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.9.0-dev.26","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s webpackWorkers && npm run -s copy:workers","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","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","docs":"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/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-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -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 && npm run -s webpackTestWorker","webpackTestWorker":"webpack --config ./src/test/worker/webpack.config.js 1>&2 && cpx \\"./lib/test/test-worker.js\\" ./lib/test","webpackWorkers":"webpack --config ./src/workers/ImdlParser/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:^4.9.0-dev.26","@itwin/core-bentley":"workspace:^4.9.0-dev.26","@itwin/core-common":"workspace:^4.9.0-dev.26","@itwin/core-geometry":"workspace:^4.9.0-dev.26","@itwin/core-orbitgt":"workspace:^4.9.0-dev.26","@itwin/core-quantity":"workspace:^4.9.0-dev.26"},"//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":"^4.0.2","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/mocha":"^10.0.6","@types/sinon":"^17.0.2","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","chai":"^4.3.10","chai-as-promised":"^7.1.1","cpx2":"^3.0.0","eslint":"^8.56.0","glob":"^10.3.12","mocha":"^10.2.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^17.0.2","source-map-loader":"^4.0.0","typescript":"~5.3.3","typemoq":"^2.1.0","webpack":"^5.76.0"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/cloud-agnostic-core":"^2.2.4","@itwin/object-storage-core":"^2.2.5","@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","meshoptimizer":"~0.20.0","wms-capabilities":"0.4.0"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"}}');
|
|
301989
302054
|
|
|
301990
302055
|
/***/ })
|
|
301991
302056
|
|