@itwin/rpcinterface-full-stack-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 +224 -159
- 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 +13 -13
|
@@ -109885,6 +109885,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
109885
109885
|
/* harmony export */ "AccuDrawRotateCycleTool": () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_104__.AccuDrawRotateCycleTool),
|
|
109886
109886
|
/* harmony export */ "AccuDrawRotateElementTool": () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_104__.AccuDrawRotateElementTool),
|
|
109887
109887
|
/* harmony export */ "AccuDrawRotateFrontTool": () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_104__.AccuDrawRotateFrontTool),
|
|
109888
|
+
/* harmony export */ "AccuDrawRotatePerpendicularTool": () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_104__.AccuDrawRotatePerpendicularTool),
|
|
109888
109889
|
/* harmony export */ "AccuDrawRotateSideTool": () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_104__.AccuDrawRotateSideTool),
|
|
109889
109890
|
/* harmony export */ "AccuDrawRotateTopTool": () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_104__.AccuDrawRotateTopTool),
|
|
109890
109891
|
/* harmony export */ "AccuDrawRotateViewTool": () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_104__.AccuDrawRotateViewTool),
|
|
@@ -165856,6 +165857,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
165856
165857
|
/* harmony export */ "AccuDrawRotateCycleTool": () => (/* binding */ AccuDrawRotateCycleTool),
|
|
165857
165858
|
/* harmony export */ "AccuDrawRotateElementTool": () => (/* binding */ AccuDrawRotateElementTool),
|
|
165858
165859
|
/* harmony export */ "AccuDrawRotateFrontTool": () => (/* binding */ AccuDrawRotateFrontTool),
|
|
165860
|
+
/* harmony export */ "AccuDrawRotatePerpendicularTool": () => (/* binding */ AccuDrawRotatePerpendicularTool),
|
|
165859
165861
|
/* harmony export */ "AccuDrawRotateSideTool": () => (/* binding */ AccuDrawRotateSideTool),
|
|
165860
165862
|
/* harmony export */ "AccuDrawRotateTopTool": () => (/* binding */ AccuDrawRotateTopTool),
|
|
165861
165863
|
/* harmony export */ "AccuDrawRotateViewTool": () => (/* binding */ AccuDrawRotateViewTool),
|
|
@@ -165878,8 +165880,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
165878
165880
|
/* harmony import */ var _AccuDraw__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../AccuDraw */ "../../core/frontend/lib/esm/AccuDraw.js");
|
|
165879
165881
|
/* harmony import */ var _AccuSnap__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../AccuSnap */ "../../core/frontend/lib/esm/AccuSnap.js");
|
|
165880
165882
|
/* harmony import */ var _AuxCoordSys__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../AuxCoordSys */ "../../core/frontend/lib/esm/AuxCoordSys.js");
|
|
165881
|
-
/* harmony import */ var
|
|
165882
|
-
/* harmony import */ var
|
|
165883
|
+
/* harmony import */ var _HitDetail__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../HitDetail */ "../../core/frontend/lib/esm/HitDetail.js");
|
|
165884
|
+
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
165885
|
+
/* harmony import */ var _Tool__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Tool */ "../../core/frontend/lib/esm/tools/Tool.js");
|
|
165883
165886
|
/*---------------------------------------------------------------------------------------------
|
|
165884
165887
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
165885
165888
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -165894,6 +165897,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
165894
165897
|
|
|
165895
165898
|
|
|
165896
165899
|
|
|
165900
|
+
|
|
165897
165901
|
// cSpell:ignore dont unlockedz
|
|
165898
165902
|
function normalizedDifference(point1, point2, out) {
|
|
165899
165903
|
return point2.vectorTo(point1).normalizeWithLength(out).mag;
|
|
@@ -165909,7 +165913,7 @@ function normalizedCrossProduct(vec1, vec2, out) {
|
|
|
165909
165913
|
class AccuDrawShortcuts {
|
|
165910
165914
|
/** Disable/Enable AccuDraw for the session */
|
|
165911
165915
|
static sessionToggle() {
|
|
165912
|
-
const accudraw =
|
|
165916
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
165913
165917
|
if (accudraw.isEnabled)
|
|
165914
165918
|
accudraw.disableForSession();
|
|
165915
165919
|
else
|
|
@@ -165917,7 +165921,7 @@ class AccuDrawShortcuts {
|
|
|
165917
165921
|
}
|
|
165918
165922
|
/** Suspend/Unsuspend AccuDraw for the active tool */
|
|
165919
165923
|
static suspendToggle() {
|
|
165920
|
-
const accudraw =
|
|
165924
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
165921
165925
|
if (!accudraw.isEnabled)
|
|
165922
165926
|
return;
|
|
165923
165927
|
if (accudraw.isActive)
|
|
@@ -165927,7 +165931,7 @@ class AccuDrawShortcuts {
|
|
|
165927
165931
|
accudraw.refreshDecorationsAndDynamics();
|
|
165928
165932
|
}
|
|
165929
165933
|
static rotateAxesByPoint(isSnapped, aboutCurrentZ) {
|
|
165930
|
-
const accudraw =
|
|
165934
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
165931
165935
|
if (!accudraw.isEnabled)
|
|
165932
165936
|
return false;
|
|
165933
165937
|
const vp = accudraw.currentView;
|
|
@@ -165955,7 +165959,7 @@ class AccuDrawShortcuts {
|
|
|
165955
165959
|
return true;
|
|
165956
165960
|
}
|
|
165957
165961
|
static updateACSByPoints(acs, vp, points, isDynamics) {
|
|
165958
|
-
const accudraw =
|
|
165962
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
165959
165963
|
if (!accudraw.isEnabled)
|
|
165960
165964
|
return false;
|
|
165961
165965
|
let accept = false;
|
|
@@ -166011,9 +166015,9 @@ class AccuDrawShortcuts {
|
|
|
166011
166015
|
}
|
|
166012
166016
|
return accept;
|
|
166013
166017
|
}
|
|
166014
|
-
static processPendingHints() {
|
|
166018
|
+
static processPendingHints() { _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.processHints(); }
|
|
166015
166019
|
static requestInputFocus() {
|
|
166016
|
-
const accudraw =
|
|
166020
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
166017
166021
|
if (!accudraw.isEnabled)
|
|
166018
166022
|
return;
|
|
166019
166023
|
accudraw.grabInputFocus();
|
|
@@ -166021,7 +166025,7 @@ class AccuDrawShortcuts {
|
|
|
166021
166025
|
}
|
|
166022
166026
|
// Helper method for GUI implementation...
|
|
166023
166027
|
static async itemFieldNavigate(index, str, forward) {
|
|
166024
|
-
const accudraw =
|
|
166028
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
166025
166029
|
if (!accudraw.isEnabled)
|
|
166026
166030
|
return;
|
|
166027
166031
|
if (accudraw.getFieldLock(index))
|
|
@@ -166057,9 +166061,9 @@ class AccuDrawShortcuts {
|
|
|
166057
166061
|
accudraw.setFocusItem(index);
|
|
166058
166062
|
accudraw.dontMoveFocus = true;
|
|
166059
166063
|
}
|
|
166060
|
-
static itemFieldNewInput(index) {
|
|
166064
|
+
static itemFieldNewInput(index) { _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.setKeyinStatus(index, _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.KeyinStatus.Partial); }
|
|
166061
166065
|
static async itemFieldAcceptInput(index, str) {
|
|
166062
|
-
const accudraw =
|
|
166066
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
166063
166067
|
await accudraw.processFieldInput(index, str, true);
|
|
166064
166068
|
accudraw.setKeyinStatus(index, _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.KeyinStatus.Dynamic);
|
|
166065
166069
|
if (accudraw.getFieldLock(index))
|
|
@@ -166097,7 +166101,7 @@ class AccuDrawShortcuts {
|
|
|
166097
166101
|
accudraw.setFocusItem(index);
|
|
166098
166102
|
}
|
|
166099
166103
|
static itemFieldLockToggle(index) {
|
|
166100
|
-
const accudraw =
|
|
166104
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
166101
166105
|
if (!accudraw.isEnabled)
|
|
166102
166106
|
return;
|
|
166103
166107
|
if (accudraw.getFieldLock(index)) {
|
|
@@ -166142,7 +166146,7 @@ class AccuDrawShortcuts {
|
|
|
166142
166146
|
accudraw.clearTentative();
|
|
166143
166147
|
}
|
|
166144
166148
|
static itemRotationModeChange(rotation) {
|
|
166145
|
-
const accudraw =
|
|
166149
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
166146
166150
|
const vp = accudraw.currentView;
|
|
166147
166151
|
const is3d = vp ? vp.view.is3d() : true;
|
|
166148
166152
|
if (!is3d && (_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.RotationMode.Front === rotation || _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.RotationMode.Side === rotation))
|
|
@@ -166152,7 +166156,7 @@ class AccuDrawShortcuts {
|
|
|
166152
166156
|
}
|
|
166153
166157
|
// Shortcut implementations for GUI entry points...
|
|
166154
166158
|
static setOrigin(explicitOrigin) {
|
|
166155
|
-
const accudraw =
|
|
166159
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
166156
166160
|
if (!accudraw.isEnabled)
|
|
166157
166161
|
return;
|
|
166158
166162
|
if (explicitOrigin) {
|
|
@@ -166167,8 +166171,8 @@ class AccuDrawShortcuts {
|
|
|
166167
166171
|
accudraw.flags.haveValidOrigin = true;
|
|
166168
166172
|
}
|
|
166169
166173
|
else {
|
|
166170
|
-
const ev = new
|
|
166171
|
-
|
|
166174
|
+
const ev = new _Tool__WEBPACK_IMPORTED_MODULE_7__.BeButtonEvent();
|
|
166175
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin.fillEventFromLastDataButton(ev);
|
|
166172
166176
|
if (ev.viewport) {
|
|
166173
166177
|
accudraw.published.origin.setFrom(ev.point);
|
|
166174
166178
|
accudraw.flags.haveValidOrigin = true;
|
|
@@ -166197,7 +166201,7 @@ class AccuDrawShortcuts {
|
|
|
166197
166201
|
accudraw.refreshDecorationsAndDynamics();
|
|
166198
166202
|
}
|
|
166199
166203
|
static changeCompassMode() {
|
|
166200
|
-
const accudraw =
|
|
166204
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
166201
166205
|
if (!accudraw.isEnabled)
|
|
166202
166206
|
return;
|
|
166203
166207
|
let axisLockStatus = accudraw.locked & _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.LockedStates.XY_BM;
|
|
@@ -166227,10 +166231,10 @@ class AccuDrawShortcuts {
|
|
|
166227
166231
|
accudraw.refreshDecorationsAndDynamics();
|
|
166228
166232
|
}
|
|
166229
166233
|
static lockSmart() {
|
|
166230
|
-
const accudraw =
|
|
166234
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
166231
166235
|
if (!accudraw.isEnabled)
|
|
166232
166236
|
return;
|
|
166233
|
-
const accuSnap =
|
|
166237
|
+
const accuSnap = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuSnap;
|
|
166234
166238
|
// Don't want AccuSnap to influence axis or Z...
|
|
166235
166239
|
if (accuSnap.isHot) {
|
|
166236
166240
|
accuSnap.clear();
|
|
@@ -166312,7 +166316,7 @@ class AccuDrawShortcuts {
|
|
|
166312
166316
|
}
|
|
166313
166317
|
/** Disable indexing when not currently indexed; if indexed, enable respective lock. */
|
|
166314
166318
|
static lockIndex() {
|
|
166315
|
-
const accudraw =
|
|
166319
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
166316
166320
|
if (!accudraw.isEnabled)
|
|
166317
166321
|
return;
|
|
166318
166322
|
if (accudraw.flags.indexLocked) {
|
|
@@ -166351,7 +166355,7 @@ class AccuDrawShortcuts {
|
|
|
166351
166355
|
}
|
|
166352
166356
|
}
|
|
166353
166357
|
static lockX() {
|
|
166354
|
-
const accudraw =
|
|
166358
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
166355
166359
|
if (!accudraw.isEnabled)
|
|
166356
166360
|
return;
|
|
166357
166361
|
accudraw.clearTentative();
|
|
@@ -166374,7 +166378,7 @@ class AccuDrawShortcuts {
|
|
|
166374
166378
|
accudraw.refreshDecorationsAndDynamics();
|
|
166375
166379
|
}
|
|
166376
166380
|
static lockY() {
|
|
166377
|
-
const accudraw =
|
|
166381
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
166378
166382
|
if (!accudraw.isEnabled)
|
|
166379
166383
|
return;
|
|
166380
166384
|
accudraw.clearTentative();
|
|
@@ -166397,7 +166401,7 @@ class AccuDrawShortcuts {
|
|
|
166397
166401
|
accudraw.refreshDecorationsAndDynamics();
|
|
166398
166402
|
}
|
|
166399
166403
|
static lockZ() {
|
|
166400
|
-
const accudraw =
|
|
166404
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
166401
166405
|
if (!accudraw.isEnabled)
|
|
166402
166406
|
return;
|
|
166403
166407
|
const vp = accudraw.currentView;
|
|
@@ -166418,7 +166422,7 @@ class AccuDrawShortcuts {
|
|
|
166418
166422
|
accudraw.refreshDecorationsAndDynamics();
|
|
166419
166423
|
}
|
|
166420
166424
|
static lockDistance() {
|
|
166421
|
-
const accudraw =
|
|
166425
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
166422
166426
|
if (!accudraw.isEnabled)
|
|
166423
166427
|
return;
|
|
166424
166428
|
const isSnapped = accudraw.clearTentative();
|
|
@@ -166444,14 +166448,14 @@ class AccuDrawShortcuts {
|
|
|
166444
166448
|
accudraw.refreshDecorationsAndDynamics();
|
|
166445
166449
|
}
|
|
166446
166450
|
static lockAngle() {
|
|
166447
|
-
const accudraw =
|
|
166451
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
166448
166452
|
if (!accudraw.isEnabled)
|
|
166449
166453
|
return;
|
|
166450
166454
|
accudraw.doLockAngle(accudraw.clearTentative());
|
|
166451
166455
|
accudraw.refreshDecorationsAndDynamics();
|
|
166452
166456
|
}
|
|
166453
166457
|
lockIndex() {
|
|
166454
|
-
const accudraw =
|
|
166458
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
166455
166459
|
if (!accudraw.isEnabled)
|
|
166456
166460
|
return;
|
|
166457
166461
|
if (accudraw.flags.indexLocked) {
|
|
@@ -166491,7 +166495,7 @@ class AccuDrawShortcuts {
|
|
|
166491
166495
|
accudraw.refreshDecorationsAndDynamics();
|
|
166492
166496
|
}
|
|
166493
166497
|
static setStandardRotation(rotation) {
|
|
166494
|
-
const accudraw =
|
|
166498
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
166495
166499
|
if (!accudraw.isEnabled)
|
|
166496
166500
|
return;
|
|
166497
166501
|
if (_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.RotationMode.Context === rotation) {
|
|
@@ -166509,7 +166513,7 @@ class AccuDrawShortcuts {
|
|
|
166509
166513
|
accudraw.refreshDecorationsAndDynamics();
|
|
166510
166514
|
}
|
|
166511
166515
|
static alignView() {
|
|
166512
|
-
const accudraw =
|
|
166516
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
166513
166517
|
if (!accudraw.isEnabled)
|
|
166514
166518
|
return;
|
|
166515
166519
|
const vp = accudraw.currentView;
|
|
@@ -166527,9 +166531,9 @@ class AccuDrawShortcuts {
|
|
|
166527
166531
|
vp.animateFrustumChange();
|
|
166528
166532
|
accudraw.refreshDecorationsAndDynamics();
|
|
166529
166533
|
}
|
|
166530
|
-
static rotateToBase() { this.setStandardRotation(
|
|
166534
|
+
static rotateToBase() { this.setStandardRotation(_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.flags.baseRotation); }
|
|
166531
166535
|
static rotateToACS() {
|
|
166532
|
-
const accudraw =
|
|
166536
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
166533
166537
|
if (!accudraw.isEnabled)
|
|
166534
166538
|
return;
|
|
166535
166539
|
// NOTE: Match current ACS orientation..reset auxRotationPlane to top!
|
|
@@ -166537,7 +166541,7 @@ class AccuDrawShortcuts {
|
|
|
166537
166541
|
this.setStandardRotation(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.RotationMode.ACS);
|
|
166538
166542
|
}
|
|
166539
166543
|
static rotateCycle() {
|
|
166540
|
-
const accudraw =
|
|
166544
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
166541
166545
|
if (!accudraw.isEnabled)
|
|
166542
166546
|
return;
|
|
166543
166547
|
const vp = accudraw.currentView;
|
|
@@ -166600,7 +166604,7 @@ class AccuDrawShortcuts {
|
|
|
166600
166604
|
this.setStandardRotation(rotation);
|
|
166601
166605
|
}
|
|
166602
166606
|
static rotate90(axis) {
|
|
166603
|
-
const accudraw =
|
|
166607
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
166604
166608
|
if (!accudraw.isEnabled)
|
|
166605
166609
|
return;
|
|
166606
166610
|
const newRotation = new _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.ThreeAxes();
|
|
@@ -166627,19 +166631,22 @@ class AccuDrawShortcuts {
|
|
|
166627
166631
|
accudraw.refreshDecorationsAndDynamics();
|
|
166628
166632
|
}
|
|
166629
166633
|
static async rotateAxes(aboutCurrentZ) {
|
|
166630
|
-
return
|
|
166634
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tools.run("AccuDraw.RotateAxes", aboutCurrentZ);
|
|
166631
166635
|
}
|
|
166632
166636
|
static async rotateToElement() {
|
|
166633
|
-
return
|
|
166637
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tools.run("AccuDraw.RotateElement");
|
|
166638
|
+
}
|
|
166639
|
+
static async rotatePerpendicular() {
|
|
166640
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tools.run("AccuDraw.RotatePerpendicular");
|
|
166634
166641
|
}
|
|
166635
166642
|
static async defineACSByElement() {
|
|
166636
|
-
return
|
|
166643
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tools.run("AccuDraw.DefineACSByElement");
|
|
166637
166644
|
}
|
|
166638
166645
|
static async defineACSByPoints() {
|
|
166639
|
-
return
|
|
166646
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tools.run("AccuDraw.DefineACSByPoints");
|
|
166640
166647
|
}
|
|
166641
166648
|
static getACS(acsName, useOrigin, useRotation) {
|
|
166642
|
-
const accudraw =
|
|
166649
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
166643
166650
|
if (!accudraw.isEnabled)
|
|
166644
166651
|
return _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.ERROR;
|
|
166645
166652
|
const vp = accudraw.currentView;
|
|
@@ -166698,7 +166705,7 @@ class AccuDrawShortcuts {
|
|
|
166698
166705
|
return _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.SUCCESS;
|
|
166699
166706
|
}
|
|
166700
166707
|
static writeACS(_acsName) {
|
|
166701
|
-
const accudraw =
|
|
166708
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
166702
166709
|
if (!accudraw.isEnabled)
|
|
166703
166710
|
return _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.ERROR;
|
|
166704
166711
|
const vp = accudraw.currentView;
|
|
@@ -166724,7 +166731,7 @@ class AccuDrawShortcuts {
|
|
|
166724
166731
|
return _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.SUCCESS;
|
|
166725
166732
|
}
|
|
166726
166733
|
static itemFieldUnlockAll() {
|
|
166727
|
-
const accudraw =
|
|
166734
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
166728
166735
|
if (accudraw.isEnabled)
|
|
166729
166736
|
accudraw.unlockAllFields();
|
|
166730
166737
|
}
|
|
@@ -166780,6 +166787,8 @@ class AccuDrawShortcuts {
|
|
|
166780
166787
|
return AccuDrawShortcuts.rotateAxes(true);
|
|
166781
166788
|
case "e":
|
|
166782
166789
|
return AccuDrawShortcuts.rotateToElement();
|
|
166790
|
+
case "p":
|
|
166791
|
+
return AccuDrawShortcuts.rotatePerpendicular();
|
|
166783
166792
|
case "r":
|
|
166784
166793
|
return AccuDrawShortcuts.defineACSByPoints();
|
|
166785
166794
|
}
|
|
@@ -166787,7 +166796,7 @@ class AccuDrawShortcuts {
|
|
|
166787
166796
|
}
|
|
166788
166797
|
}
|
|
166789
166798
|
/** @internal */
|
|
166790
|
-
class AccuDrawSessionToggleTool extends
|
|
166799
|
+
class AccuDrawSessionToggleTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
166791
166800
|
async run() {
|
|
166792
166801
|
AccuDrawShortcuts.sessionToggle();
|
|
166793
166802
|
return true;
|
|
@@ -166795,7 +166804,7 @@ class AccuDrawSessionToggleTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool
|
|
|
166795
166804
|
}
|
|
166796
166805
|
AccuDrawSessionToggleTool.toolId = "AccuDraw.SessionToggle";
|
|
166797
166806
|
/** @internal */
|
|
166798
|
-
class AccuDrawSuspendToggleTool extends
|
|
166807
|
+
class AccuDrawSuspendToggleTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
166799
166808
|
async run() {
|
|
166800
166809
|
AccuDrawShortcuts.suspendToggle();
|
|
166801
166810
|
return true;
|
|
@@ -166803,7 +166812,7 @@ class AccuDrawSuspendToggleTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool
|
|
|
166803
166812
|
}
|
|
166804
166813
|
AccuDrawSuspendToggleTool.toolId = "AccuDraw.SuspendToggle";
|
|
166805
166814
|
/** @internal */
|
|
166806
|
-
class AccuDrawSetOriginTool extends
|
|
166815
|
+
class AccuDrawSetOriginTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
166807
166816
|
async run() {
|
|
166808
166817
|
AccuDrawShortcuts.setOrigin();
|
|
166809
166818
|
return true;
|
|
@@ -166811,7 +166820,7 @@ class AccuDrawSetOriginTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
166811
166820
|
}
|
|
166812
166821
|
AccuDrawSetOriginTool.toolId = "AccuDraw.SetOrigin";
|
|
166813
166822
|
/** @internal */
|
|
166814
|
-
class AccuDrawSetLockSmartTool extends
|
|
166823
|
+
class AccuDrawSetLockSmartTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
166815
166824
|
async run() {
|
|
166816
166825
|
AccuDrawShortcuts.lockSmart();
|
|
166817
166826
|
return true;
|
|
@@ -166819,7 +166828,7 @@ class AccuDrawSetLockSmartTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
166819
166828
|
}
|
|
166820
166829
|
AccuDrawSetLockSmartTool.toolId = "AccuDraw.LockSmart";
|
|
166821
166830
|
/** @internal */
|
|
166822
|
-
class AccuDrawSetLockIndexTool extends
|
|
166831
|
+
class AccuDrawSetLockIndexTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
166823
166832
|
async run() {
|
|
166824
166833
|
AccuDrawShortcuts.lockIndex();
|
|
166825
166834
|
return true;
|
|
@@ -166827,7 +166836,7 @@ class AccuDrawSetLockIndexTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
166827
166836
|
}
|
|
166828
166837
|
AccuDrawSetLockIndexTool.toolId = "AccuDraw.LockIndex";
|
|
166829
166838
|
/** @internal */
|
|
166830
|
-
class AccuDrawSetLockXTool extends
|
|
166839
|
+
class AccuDrawSetLockXTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
166831
166840
|
async run() {
|
|
166832
166841
|
AccuDrawShortcuts.lockX();
|
|
166833
166842
|
return true;
|
|
@@ -166835,7 +166844,7 @@ class AccuDrawSetLockXTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
166835
166844
|
}
|
|
166836
166845
|
AccuDrawSetLockXTool.toolId = "AccuDraw.LockX";
|
|
166837
166846
|
/** @internal */
|
|
166838
|
-
class AccuDrawSetLockYTool extends
|
|
166847
|
+
class AccuDrawSetLockYTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
166839
166848
|
async run() {
|
|
166840
166849
|
AccuDrawShortcuts.lockY();
|
|
166841
166850
|
return true;
|
|
@@ -166843,7 +166852,7 @@ class AccuDrawSetLockYTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
166843
166852
|
}
|
|
166844
166853
|
AccuDrawSetLockYTool.toolId = "AccuDraw.LockY";
|
|
166845
166854
|
/** @internal */
|
|
166846
|
-
class AccuDrawSetLockZTool extends
|
|
166855
|
+
class AccuDrawSetLockZTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
166847
166856
|
async run() {
|
|
166848
166857
|
AccuDrawShortcuts.lockZ();
|
|
166849
166858
|
return true;
|
|
@@ -166851,7 +166860,7 @@ class AccuDrawSetLockZTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
166851
166860
|
}
|
|
166852
166861
|
AccuDrawSetLockZTool.toolId = "AccuDraw.LockZ";
|
|
166853
166862
|
/** @internal */
|
|
166854
|
-
class AccuDrawSetLockDistanceTool extends
|
|
166863
|
+
class AccuDrawSetLockDistanceTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
166855
166864
|
async run() {
|
|
166856
166865
|
AccuDrawShortcuts.lockDistance();
|
|
166857
166866
|
return true;
|
|
@@ -166859,7 +166868,7 @@ class AccuDrawSetLockDistanceTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Too
|
|
|
166859
166868
|
}
|
|
166860
166869
|
AccuDrawSetLockDistanceTool.toolId = "AccuDraw.LockDistance";
|
|
166861
166870
|
/** @internal */
|
|
166862
|
-
class AccuDrawSetLockAngleTool extends
|
|
166871
|
+
class AccuDrawSetLockAngleTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
166863
166872
|
async run() {
|
|
166864
166873
|
AccuDrawShortcuts.lockAngle();
|
|
166865
166874
|
return true;
|
|
@@ -166867,7 +166876,7 @@ class AccuDrawSetLockAngleTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
166867
166876
|
}
|
|
166868
166877
|
AccuDrawSetLockAngleTool.toolId = "AccuDraw.LockAngle";
|
|
166869
166878
|
/** @internal */
|
|
166870
|
-
class AccuDrawChangeModeTool extends
|
|
166879
|
+
class AccuDrawChangeModeTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
166871
166880
|
async run() {
|
|
166872
166881
|
AccuDrawShortcuts.changeCompassMode();
|
|
166873
166882
|
return true;
|
|
@@ -166875,7 +166884,7 @@ class AccuDrawChangeModeTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
166875
166884
|
}
|
|
166876
166885
|
AccuDrawChangeModeTool.toolId = "AccuDraw.ChangeMode";
|
|
166877
166886
|
/** @internal */
|
|
166878
|
-
class AccuDrawRotateCycleTool extends
|
|
166887
|
+
class AccuDrawRotateCycleTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
166879
166888
|
async run() {
|
|
166880
166889
|
AccuDrawShortcuts.rotateCycle();
|
|
166881
166890
|
return true;
|
|
@@ -166883,7 +166892,7 @@ class AccuDrawRotateCycleTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
166883
166892
|
}
|
|
166884
166893
|
AccuDrawRotateCycleTool.toolId = "AccuDraw.RotateCycle";
|
|
166885
166894
|
/** @internal */
|
|
166886
|
-
class AccuDrawRotateTopTool extends
|
|
166895
|
+
class AccuDrawRotateTopTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
166887
166896
|
async run() {
|
|
166888
166897
|
AccuDrawShortcuts.setStandardRotation(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.RotationMode.Top);
|
|
166889
166898
|
return true;
|
|
@@ -166891,7 +166900,7 @@ class AccuDrawRotateTopTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
166891
166900
|
}
|
|
166892
166901
|
AccuDrawRotateTopTool.toolId = "AccuDraw.RotateTop";
|
|
166893
166902
|
/** @internal */
|
|
166894
|
-
class AccuDrawRotateFrontTool extends
|
|
166903
|
+
class AccuDrawRotateFrontTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
166895
166904
|
async run() {
|
|
166896
166905
|
AccuDrawShortcuts.setStandardRotation(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.RotationMode.Front);
|
|
166897
166906
|
return true;
|
|
@@ -166899,7 +166908,7 @@ class AccuDrawRotateFrontTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
166899
166908
|
}
|
|
166900
166909
|
AccuDrawRotateFrontTool.toolId = "AccuDraw.RotateFront";
|
|
166901
166910
|
/** @internal */
|
|
166902
|
-
class AccuDrawRotateSideTool extends
|
|
166911
|
+
class AccuDrawRotateSideTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
166903
166912
|
async run() {
|
|
166904
166913
|
AccuDrawShortcuts.setStandardRotation(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.RotationMode.Side);
|
|
166905
166914
|
return true;
|
|
@@ -166907,7 +166916,7 @@ class AccuDrawRotateSideTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
166907
166916
|
}
|
|
166908
166917
|
AccuDrawRotateSideTool.toolId = "AccuDraw.RotateSide";
|
|
166909
166918
|
/** @internal */
|
|
166910
|
-
class AccuDrawRotateViewTool extends
|
|
166919
|
+
class AccuDrawRotateViewTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.Tool {
|
|
166911
166920
|
async run() {
|
|
166912
166921
|
AccuDrawShortcuts.setStandardRotation(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.RotationMode.View);
|
|
166913
166922
|
return true;
|
|
@@ -166915,40 +166924,67 @@ class AccuDrawRotateViewTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
166915
166924
|
}
|
|
166916
166925
|
AccuDrawRotateViewTool.toolId = "AccuDraw.RotateView";
|
|
166917
166926
|
/** @internal */
|
|
166918
|
-
class AccuDrawShortcutsTool extends
|
|
166927
|
+
class AccuDrawShortcutsTool extends _Tool__WEBPACK_IMPORTED_MODULE_7__.InputCollector {
|
|
166919
166928
|
constructor() {
|
|
166920
|
-
super();
|
|
166921
|
-
this.
|
|
166929
|
+
super(...arguments);
|
|
166930
|
+
this._complete = false;
|
|
166931
|
+
}
|
|
166932
|
+
get allowShortcut() { return this.wantActivateOnStart ? _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.isEnabled : true; }
|
|
166933
|
+
get wantActivateOnStart() { return false; } // Whether to automatically enable AccuDraw before the 1st data button...
|
|
166934
|
+
get wantClearSnapOnStart() { return false; } // Whether to preserve active Tentative/AccuSnap on install...
|
|
166935
|
+
get wantManipulationImmediate() { return false; } // Whether additional input is required to process on install...
|
|
166936
|
+
get wantExitOnDataButtonUp() { return false; } // Whether to exit on button up instead of down (see rotate perpendicular)...
|
|
166937
|
+
async onInstall() {
|
|
166938
|
+
if (!this.allowShortcut)
|
|
166939
|
+
return false;
|
|
166940
|
+
return super.onInstall();
|
|
166922
166941
|
}
|
|
166923
166942
|
async onPostInstall() {
|
|
166924
166943
|
await super.onPostInstall();
|
|
166925
|
-
this.
|
|
166926
|
-
|
|
166927
|
-
|
|
166928
|
-
|
|
166929
|
-
|
|
166930
|
-
|
|
166931
|
-
|
|
166932
|
-
|
|
166944
|
+
if (this.wantActivateOnStart)
|
|
166945
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.activate();
|
|
166946
|
+
this.onManipulationStart();
|
|
166947
|
+
if (this.wantManipulationImmediate && this.doManipulation(undefined, false)) {
|
|
166948
|
+
this._complete = true;
|
|
166949
|
+
return this.exitTool();
|
|
166950
|
+
}
|
|
166951
|
+
// NOTE: InputCollector inherits suspended primitive's state, set everything...
|
|
166952
|
+
if (this.wantClearSnapOnStart) {
|
|
166953
|
+
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...
|
|
166954
|
+
}
|
|
166955
|
+
else {
|
|
166956
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.locateManager.initLocateOptions();
|
|
166957
|
+
this.changeLocateState(false, true, undefined, _Tool__WEBPACK_IMPORTED_MODULE_7__.CoordinateLockOverrides.None);
|
|
166933
166958
|
}
|
|
166934
|
-
|
|
166959
|
+
this.doManipulation(undefined, true);
|
|
166960
|
+
;
|
|
166961
|
+
}
|
|
166962
|
+
async onCleanup() {
|
|
166963
|
+
if (this._complete)
|
|
166964
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.savedStateInputCollector.ignoreFlags = this.onManipulationComplete();
|
|
166935
166965
|
}
|
|
166936
|
-
async onMouseMotion(ev) { this.doManipulation(ev, true); }
|
|
166937
166966
|
async exitTool() {
|
|
166938
166967
|
await super.exitTool();
|
|
166939
|
-
AccuDrawShortcuts.requestInputFocus();
|
|
166940
|
-
} // re-grab focus when auto-focus tool setting set...
|
|
166941
|
-
activateAccuDrawOnStart() { return true; }
|
|
166942
|
-
doManipulationStart() {
|
|
166943
|
-
if (this.activateAccuDrawOnStart())
|
|
166944
|
-
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw.activate();
|
|
166945
|
-
this.doManipulation(undefined, true);
|
|
166968
|
+
AccuDrawShortcuts.requestInputFocus(); // re-grab focus when auto-focus tool setting set...
|
|
166946
166969
|
}
|
|
166947
|
-
|
|
166948
|
-
if (
|
|
166949
|
-
|
|
166970
|
+
async onDataButtonDown(ev) {
|
|
166971
|
+
if (this.doManipulation(ev, false)) {
|
|
166972
|
+
this._complete = true;
|
|
166973
|
+
if (!this.wantExitOnDataButtonUp)
|
|
166974
|
+
await this.exitTool();
|
|
166975
|
+
}
|
|
166976
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_7__.EventHandled.No;
|
|
166977
|
+
}
|
|
166978
|
+
async onDataButtonUp(_ev) {
|
|
166979
|
+
if (this._complete && this.wantExitOnDataButtonUp)
|
|
166980
|
+
await this.exitTool();
|
|
166981
|
+
return _Tool__WEBPACK_IMPORTED_MODULE_7__.EventHandled.No;
|
|
166982
|
+
}
|
|
166983
|
+
async onMouseMotion(ev) {
|
|
166984
|
+
this.doManipulation(ev, true);
|
|
166950
166985
|
}
|
|
166951
|
-
|
|
166986
|
+
onManipulationStart() { }
|
|
166987
|
+
onManipulationComplete() { return _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetRMatrix; }
|
|
166952
166988
|
}
|
|
166953
166989
|
/** @internal */
|
|
166954
166990
|
class AccuDrawRotateAxesTool extends AccuDrawShortcutsTool {
|
|
@@ -166956,45 +166992,33 @@ class AccuDrawRotateAxesTool extends AccuDrawShortcutsTool {
|
|
|
166956
166992
|
constructor(aboutCurrentZ = true) {
|
|
166957
166993
|
super();
|
|
166958
166994
|
this.aboutCurrentZ = aboutCurrentZ;
|
|
166959
|
-
this._immediateMode = false;
|
|
166960
|
-
}
|
|
166961
|
-
async onInstall() {
|
|
166962
|
-
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw;
|
|
166963
|
-
if (!accudraw.isActive)
|
|
166964
|
-
return false; // Require compass to already be active for this shortcut...
|
|
166965
|
-
if (this.aboutCurrentZ)
|
|
166966
|
-
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...
|
|
166967
|
-
if (accudraw.clearTentative() || _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuSnap.isHot ||
|
|
166968
|
-
(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.CompassMode.Polar === accudraw.compassMode && accudraw.getFieldLock(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.ItemField.ANGLE_Item)) ||
|
|
166969
|
-
(_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))) {
|
|
166970
|
-
if (AccuDrawShortcuts.rotateAxesByPoint(true, this.aboutCurrentZ)) {
|
|
166971
|
-
AccuDrawShortcuts.itemFieldUnlockAll();
|
|
166972
|
-
accudraw.refreshDecorationsAndDynamics();
|
|
166973
|
-
this._immediateMode = true;
|
|
166974
|
-
}
|
|
166975
|
-
}
|
|
166976
|
-
return true;
|
|
166977
166995
|
}
|
|
166978
|
-
|
|
166979
|
-
|
|
166980
|
-
|
|
166981
|
-
|
|
166982
|
-
|
|
166983
|
-
|
|
166996
|
+
get allowShortcut() { return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.isActive; } // Require compass to already be active for this shortcut...
|
|
166997
|
+
get wantActivateOnStart() { return true; } // State is demoted to inactive when a tool install, still need this...
|
|
166998
|
+
get wantManipulationImmediate() {
|
|
166999
|
+
if (_AccuSnap__WEBPACK_IMPORTED_MODULE_3__.TentativeOrAccuSnap.isHot)
|
|
167000
|
+
return true;
|
|
167001
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
167002
|
+
if (_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.CompassMode.Polar === accudraw.compassMode)
|
|
167003
|
+
return accudraw.getFieldLock(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.ItemField.ANGLE_Item);
|
|
167004
|
+
return accudraw.getFieldLock(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.ItemField.X_Item) && accudraw.getFieldLock(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.ItemField.Y_Item);
|
|
166984
167005
|
}
|
|
166985
|
-
|
|
166986
|
-
|
|
166987
|
-
|
|
166988
|
-
|
|
167006
|
+
onManipulationStart() {
|
|
167007
|
+
if (this.aboutCurrentZ)
|
|
167008
|
+
_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...
|
|
167009
|
+
_Tool__WEBPACK_IMPORTED_MODULE_7__.CoreTools.outputPromptByKey("AccuDraw.RotateAxes.Prompts.FirstPoint");
|
|
166989
167010
|
}
|
|
166990
167011
|
doManipulation(ev, isMotion) {
|
|
166991
|
-
const vp = ev ? ev.viewport :
|
|
167012
|
+
const vp = ev ? ev.viewport : _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.currentView;
|
|
166992
167013
|
if (!vp)
|
|
166993
|
-
return
|
|
166994
|
-
AccuDrawShortcuts.rotateAxesByPoint(_AccuSnap__WEBPACK_IMPORTED_MODULE_3__.TentativeOrAccuSnap.isHot, this.aboutCurrentZ)
|
|
167014
|
+
return false;
|
|
167015
|
+
if (!AccuDrawShortcuts.rotateAxesByPoint(_AccuSnap__WEBPACK_IMPORTED_MODULE_3__.TentativeOrAccuSnap.isHot, this.aboutCurrentZ))
|
|
167016
|
+
return false;
|
|
166995
167017
|
vp.invalidateDecorations();
|
|
166996
|
-
if (!isMotion)
|
|
167018
|
+
if (!isMotion) {
|
|
166997
167019
|
AccuDrawShortcuts.itemFieldUnlockAll();
|
|
167020
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tentativePoint.clear(true);
|
|
167021
|
+
}
|
|
166998
167022
|
return true;
|
|
166999
167023
|
}
|
|
167000
167024
|
async parseAndRun(...args) {
|
|
@@ -167010,56 +167034,101 @@ AccuDrawRotateAxesTool.toolId = "AccuDraw.RotateAxes";
|
|
|
167010
167034
|
class AccuDrawRotateElementTool extends AccuDrawShortcutsTool {
|
|
167011
167035
|
constructor() {
|
|
167012
167036
|
super(...arguments);
|
|
167013
|
-
this.
|
|
167037
|
+
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...
|
|
167038
|
+
}
|
|
167039
|
+
get wantActivateOnStart() { return true; }
|
|
167040
|
+
get wantManipulationImmediate() { return _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tentativePoint.isSnapped; }
|
|
167041
|
+
onManipulationStart() {
|
|
167042
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.setContext(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.FixedOrigin); // Don't move compass when updateOrientation returns false...
|
|
167043
|
+
_Tool__WEBPACK_IMPORTED_MODULE_7__.CoreTools.outputPromptByKey("AccuDraw.RotateElement.Prompts.FirstPoint");
|
|
167014
167044
|
}
|
|
167015
|
-
async onInstall() { return _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw.isEnabled; } // Require compass to be enabled for this session...
|
|
167016
167045
|
onManipulationComplete() {
|
|
167017
167046
|
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...
|
|
167018
|
-
if (this.
|
|
167047
|
+
if (this._moveOrigin)
|
|
167019
167048
|
ignoreFlags |= _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetOrigin;
|
|
167020
167049
|
return ignoreFlags;
|
|
167021
167050
|
}
|
|
167022
|
-
|
|
167023
|
-
|
|
167024
|
-
|
|
167025
|
-
}
|
|
167026
|
-
updateOrientation(snap, vp) {
|
|
167027
|
-
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw;
|
|
167028
|
-
const rMatrix = _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDraw.getSnapRotation(snap, vp);
|
|
167051
|
+
updateOrientation(snap, viewport, _isMotion) {
|
|
167052
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
167053
|
+
const rMatrix = _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDraw.getSnapRotation(snap, viewport);
|
|
167029
167054
|
if (undefined === rMatrix)
|
|
167030
167055
|
return false;
|
|
167031
|
-
const
|
|
167032
|
-
accudraw.setContext(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.
|
|
167056
|
+
const point = this._moveOrigin ? snap.snapPoint : accudraw.origin;
|
|
167057
|
+
accudraw.setContext(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetRMatrix | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.AlwaysSetOrigin, point, rMatrix);
|
|
167033
167058
|
return true;
|
|
167034
167059
|
}
|
|
167035
167060
|
doManipulation(ev, isMotion) {
|
|
167036
|
-
const
|
|
167037
|
-
if (!
|
|
167038
|
-
return
|
|
167039
|
-
const
|
|
167040
|
-
if (undefined ===
|
|
167041
|
-
return
|
|
167061
|
+
const viewport = ev ? ev.viewport : _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.currentView;
|
|
167062
|
+
if (!viewport)
|
|
167063
|
+
return false;
|
|
167064
|
+
const snap = _AccuSnap__WEBPACK_IMPORTED_MODULE_3__.TentativeOrAccuSnap.getCurrentSnap(false);
|
|
167065
|
+
if (undefined === snap || !this.updateOrientation(snap, viewport, isMotion))
|
|
167066
|
+
return false;
|
|
167042
167067
|
if (undefined === ev)
|
|
167043
|
-
AccuDrawShortcuts.processPendingHints();
|
|
167068
|
+
AccuDrawShortcuts.processPendingHints(); // Would normally be processed after button down, necessary when called from post install...
|
|
167044
167069
|
if (!isMotion)
|
|
167045
|
-
|
|
167070
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.changeBaseRotationMode(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.RotationMode.Context); // Hold temporary rotation for tool duration...
|
|
167046
167071
|
return true;
|
|
167047
167072
|
}
|
|
167048
167073
|
}
|
|
167049
167074
|
AccuDrawRotateElementTool.toolId = "AccuDraw.RotateElement";
|
|
167050
167075
|
/** @internal */
|
|
167076
|
+
class AccuDrawRotatePerpendicularTool extends AccuDrawRotateElementTool {
|
|
167077
|
+
get wantExitOnDataButtonUp() { return true; } // Complete on button up since button down clears tentative...
|
|
167078
|
+
onManipulationComplete() {
|
|
167079
|
+
if (undefined !== this._location) {
|
|
167080
|
+
// Use tentative to hold adjusted snap location for suspended tool...
|
|
167081
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tentativePoint.setPoint(this._location.point);
|
|
167082
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tentativePoint.viewport = this._location.viewport;
|
|
167083
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tentativePoint.showTentative();
|
|
167084
|
+
}
|
|
167085
|
+
return _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetRMatrix | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.Disable;
|
|
167086
|
+
}
|
|
167087
|
+
updateOrientation(snap, viewport, isMotion) {
|
|
167088
|
+
const curve = snap.getCurvePrimitive();
|
|
167089
|
+
if (undefined === curve)
|
|
167090
|
+
return false;
|
|
167091
|
+
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw;
|
|
167092
|
+
const rMatrix = _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDraw.getSnapRotation(snap, viewport);
|
|
167093
|
+
if (undefined === rMatrix)
|
|
167094
|
+
return false;
|
|
167095
|
+
const zVec = rMatrix.getRow(2); // This is a row matrix...
|
|
167096
|
+
const spacePoint = _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawHintBuilder.projectPointToPlaneInView(accudraw.origin, snap.getPoint(), zVec, viewport, true);
|
|
167097
|
+
if (undefined === spacePoint)
|
|
167098
|
+
return false;
|
|
167099
|
+
const detail = curve.closestPoint(spacePoint, true);
|
|
167100
|
+
if (undefined === detail?.curve)
|
|
167101
|
+
return false;
|
|
167102
|
+
const point = _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawHintBuilder.projectPointToPlaneInView(detail.point, accudraw.origin, zVec, viewport, true);
|
|
167103
|
+
if (undefined === point)
|
|
167104
|
+
return false;
|
|
167105
|
+
const xVec = new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d();
|
|
167106
|
+
if (normalizedDifference(point, accudraw.origin, xVec) < _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Geometry.smallAngleRadians)
|
|
167107
|
+
return false;
|
|
167108
|
+
; // Closest point and compass origin coincide...
|
|
167109
|
+
const yVec = xVec.unitCrossProduct(zVec);
|
|
167110
|
+
if (undefined === yVec)
|
|
167111
|
+
return false;
|
|
167112
|
+
rMatrix.setColumns(xVec, yVec, zVec);
|
|
167113
|
+
_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Matrix3d.createRigidFromMatrix3d(rMatrix, _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.AxisOrder.XZY, rMatrix);
|
|
167114
|
+
rMatrix.transposeInPlace();
|
|
167115
|
+
snap.setSnapPoint(point, _HitDetail__WEBPACK_IMPORTED_MODULE_5__.SnapHeat.InRange); // Force hot snap so that adjust point uses it for alignments...
|
|
167116
|
+
accudraw.setContext(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetRMatrix | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.AlwaysSetOrigin, accudraw.origin, rMatrix);
|
|
167117
|
+
accudraw.adjustPoint(point, viewport, false); // Update internals for new snap location...
|
|
167118
|
+
if (!isMotion)
|
|
167119
|
+
this._location = { point, viewport };
|
|
167120
|
+
return true;
|
|
167121
|
+
}
|
|
167122
|
+
}
|
|
167123
|
+
AccuDrawRotatePerpendicularTool.toolId = "AccuDraw.RotatePerpendicular";
|
|
167124
|
+
/** @internal */
|
|
167051
167125
|
class DefineACSByElementTool extends AccuDrawShortcutsTool {
|
|
167052
167126
|
constructor() {
|
|
167053
167127
|
super(...arguments);
|
|
167054
167128
|
this._origin = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Point3d.create();
|
|
167055
167129
|
this._rMatrix = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Matrix3d.createIdentity();
|
|
167056
167130
|
}
|
|
167057
|
-
|
|
167058
|
-
onManipulationComplete() { return _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetRMatrix; }
|
|
167059
|
-
doManipulationStart() {
|
|
167060
|
-
super.doManipulationStart();
|
|
167061
|
-
_Tool__WEBPACK_IMPORTED_MODULE_6__.CoreTools.outputPromptByKey("AccuDraw.DefineACSByElement.Prompts.FirstPoint");
|
|
167062
|
-
}
|
|
167131
|
+
onManipulationStart() { _Tool__WEBPACK_IMPORTED_MODULE_7__.CoreTools.outputPromptByKey("AccuDraw.DefineACSByElement.Prompts.FirstPoint"); }
|
|
167063
167132
|
updateOrientation(snap, vp) {
|
|
167064
167133
|
const rMatrix = _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDraw.getSnapRotation(snap, vp);
|
|
167065
167134
|
if (undefined === rMatrix)
|
|
@@ -167071,11 +167140,11 @@ class DefineACSByElementTool extends AccuDrawShortcutsTool {
|
|
|
167071
167140
|
doManipulation(ev, isMotion) {
|
|
167072
167141
|
const vp = ev ? ev.viewport : undefined;
|
|
167073
167142
|
if (!vp)
|
|
167074
|
-
return
|
|
167143
|
+
return false;
|
|
167075
167144
|
const snapDetail = _AccuSnap__WEBPACK_IMPORTED_MODULE_3__.TentativeOrAccuSnap.getCurrentSnap(false);
|
|
167076
167145
|
if (undefined === snapDetail || !this.updateOrientation(snapDetail, vp))
|
|
167077
|
-
return
|
|
167078
|
-
|
|
167146
|
+
return false;
|
|
167147
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.viewManager.invalidateDecorationsAllViews();
|
|
167079
167148
|
if (isMotion)
|
|
167080
167149
|
return true;
|
|
167081
167150
|
if (!this._acs)
|
|
@@ -167102,28 +167171,24 @@ class DefineACSByPointsTool extends AccuDrawShortcutsTool {
|
|
|
167102
167171
|
super(...arguments);
|
|
167103
167172
|
this._points = [];
|
|
167104
167173
|
}
|
|
167105
|
-
|
|
167106
|
-
|
|
167107
|
-
|
|
167108
|
-
super.doManipulationStart();
|
|
167109
|
-
const tentativePoint = _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.tentativePoint;
|
|
167110
|
-
if (!tentativePoint.isActive) {
|
|
167111
|
-
_Tool__WEBPACK_IMPORTED_MODULE_6__.CoreTools.outputPromptByKey("AccuDraw.DefineACSByPoints.Prompts.FirstPoint");
|
|
167174
|
+
onManipulationStart() {
|
|
167175
|
+
if (!_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tentativePoint.isActive) {
|
|
167176
|
+
_Tool__WEBPACK_IMPORTED_MODULE_7__.CoreTools.outputPromptByKey("AccuDraw.DefineACSByPoints.Prompts.FirstPoint");
|
|
167112
167177
|
return;
|
|
167113
167178
|
}
|
|
167114
|
-
const origin = tentativePoint.getPoint().clone();
|
|
167115
|
-
|
|
167116
|
-
|
|
167179
|
+
const origin = _IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tentativePoint.getPoint().clone();
|
|
167180
|
+
_Tool__WEBPACK_IMPORTED_MODULE_7__.CoreTools.outputPromptByKey("AccuDraw.DefineACSByPoints.Prompts.SecondPoint");
|
|
167181
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.setContext(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetOrigin | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.FixedOrigin, origin);
|
|
167117
167182
|
this._points.push(origin);
|
|
167118
|
-
tentativePoint.clear(true);
|
|
167183
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.tentativePoint.clear(true);
|
|
167119
167184
|
}
|
|
167120
167185
|
doManipulation(ev, isMotion) {
|
|
167121
167186
|
if (!ev || !ev.viewport)
|
|
167122
|
-
return
|
|
167123
|
-
|
|
167187
|
+
return false;
|
|
167188
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.viewManager.invalidateDecorationsAllViews();
|
|
167124
167189
|
if (isMotion)
|
|
167125
167190
|
return false;
|
|
167126
|
-
|
|
167191
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.accuDraw.activate();
|
|
167127
167192
|
this._points.push(ev.point.clone());
|
|
167128
167193
|
const vp = ev.viewport;
|
|
167129
167194
|
if (!this._acs)
|
|
@@ -167133,14 +167198,14 @@ class DefineACSByPointsTool extends AccuDrawShortcutsTool {
|
|
|
167133
167198
|
AccuDrawShortcuts.rotateToACS();
|
|
167134
167199
|
return true;
|
|
167135
167200
|
}
|
|
167136
|
-
|
|
167201
|
+
_Tool__WEBPACK_IMPORTED_MODULE_7__.CoreTools.outputPromptByKey(`AccuDraw.DefineACSByPoints.Prompts${1 === this._points.length ? ".SecondPoint" : ".NextPoint"}`);
|
|
167137
167202
|
return false;
|
|
167138
167203
|
}
|
|
167139
167204
|
decorate(context) {
|
|
167140
167205
|
const tmpPoints = [];
|
|
167141
167206
|
this._points.forEach((pt) => tmpPoints.push(pt));
|
|
167142
|
-
const ev = new
|
|
167143
|
-
|
|
167207
|
+
const ev = new _Tool__WEBPACK_IMPORTED_MODULE_7__.BeButtonEvent();
|
|
167208
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_6__.IModelApp.toolAdmin.fillEventFromCursorLocation(ev);
|
|
167144
167209
|
tmpPoints.push(ev.point);
|
|
167145
167210
|
const vp = context.viewport;
|
|
167146
167211
|
if (!this._acs)
|
|
@@ -294163,7 +294228,7 @@ class TestContext {
|
|
|
294163
294228
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
294164
294229
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
294165
294230
|
await core_frontend_1.NoRenderApp.startup({
|
|
294166
|
-
applicationVersion: "4.9.0-dev.
|
|
294231
|
+
applicationVersion: "4.9.0-dev.26",
|
|
294167
294232
|
applicationId: this.settings.gprid,
|
|
294168
294233
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
294169
294234
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -319024,7 +319089,7 @@ function __disposeResources(env) {
|
|
|
319024
319089
|
/***/ ((module) => {
|
|
319025
319090
|
|
|
319026
319091
|
"use strict";
|
|
319027
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.9.0-dev.
|
|
319092
|
+
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"}}');
|
|
319028
319093
|
|
|
319029
319094
|
/***/ }),
|
|
319030
319095
|
|