@itwin/ecschema-rpcinterface-tests 5.12.0-dev.6 → 5.12.0-dev.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/dist/bundled-tests.js +250 -43
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +15 -15
|
@@ -114702,6 +114702,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
114702
114702
|
/* harmony export */ AccuDrawRotateCycleTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawRotateCycleTool),
|
|
114703
114703
|
/* harmony export */ AccuDrawRotateElementTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawRotateElementTool),
|
|
114704
114704
|
/* harmony export */ AccuDrawRotateFrontTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawRotateFrontTool),
|
|
114705
|
+
/* harmony export */ AccuDrawRotatePointsTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawRotatePointsTool),
|
|
114705
114706
|
/* harmony export */ AccuDrawRotateSideTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawRotateSideTool),
|
|
114706
114707
|
/* harmony export */ AccuDrawRotateTopTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawRotateTopTool),
|
|
114707
114708
|
/* harmony export */ AccuDrawRotateViewTool: () => (/* reexport safe */ _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_102__.AccuDrawRotateViewTool),
|
|
@@ -177081,8 +177082,10 @@ class AccuDrawShortcutInputCollector extends _Tool__WEBPACK_IMPORTED_MODULE_2__.
|
|
|
177081
177082
|
_IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.accuDraw.requestInputFocus(); // re-grab focus when auto-focus tool setting set...
|
|
177082
177083
|
}
|
|
177083
177084
|
async onDataButtonDown(ev) {
|
|
177084
|
-
if (this._impl.doDataButtonDown(ev))
|
|
177085
|
+
if (this._impl.doDataButtonDown(ev)) {
|
|
177086
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.accuDraw.processHints(); // Process pending hints pre-exit so they don't override savedState "ignoreFlags"...
|
|
177085
177087
|
await this.exitTool();
|
|
177088
|
+
}
|
|
177086
177089
|
return _Tool__WEBPACK_IMPORTED_MODULE_2__.EventHandled.No;
|
|
177087
177090
|
}
|
|
177088
177091
|
async onUnsuspend() {
|
|
@@ -177120,8 +177123,10 @@ class AccuDrawShortcutViewTool extends _ViewTool__WEBPACK_IMPORTED_MODULE_3__.Vi
|
|
|
177120
177123
|
_IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.accuDraw.requestInputFocus(); // re-grab focus when auto-focus tool setting set...
|
|
177121
177124
|
}
|
|
177122
177125
|
async onDataButtonDown(ev) {
|
|
177123
|
-
if (this._impl.doDataButtonDown(ev))
|
|
177126
|
+
if (this._impl.doDataButtonDown(ev)) {
|
|
177127
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.accuDraw.processHints(); // Process pending hints pre-exit so they don't override savedState "ignoreFlags"...
|
|
177124
177128
|
await this.exitTool();
|
|
177129
|
+
}
|
|
177125
177130
|
return _Tool__WEBPACK_IMPORTED_MODULE_2__.EventHandled.No;
|
|
177126
177131
|
}
|
|
177127
177132
|
async onUnsuspend() {
|
|
@@ -177168,6 +177173,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
177168
177173
|
/* harmony export */ AccuDrawRotateCycleTool: () => (/* binding */ AccuDrawRotateCycleTool),
|
|
177169
177174
|
/* harmony export */ AccuDrawRotateElementTool: () => (/* binding */ AccuDrawRotateElementTool),
|
|
177170
177175
|
/* harmony export */ AccuDrawRotateFrontTool: () => (/* binding */ AccuDrawRotateFrontTool),
|
|
177176
|
+
/* harmony export */ AccuDrawRotatePointsTool: () => (/* binding */ AccuDrawRotatePointsTool),
|
|
177171
177177
|
/* harmony export */ AccuDrawRotateSideTool: () => (/* binding */ AccuDrawRotateSideTool),
|
|
177172
177178
|
/* harmony export */ AccuDrawRotateTopTool: () => (/* binding */ AccuDrawRotateTopTool),
|
|
177173
177179
|
/* harmony export */ AccuDrawRotateViewTool: () => (/* binding */ AccuDrawRotateViewTool),
|
|
@@ -177193,6 +177199,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
177193
177199
|
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
177194
177200
|
/* harmony import */ var _Tool__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Tool */ "../../core/frontend/lib/esm/tools/Tool.js");
|
|
177195
177201
|
/* harmony import */ var _AccuDrawShortcutTool__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./AccuDrawShortcutTool */ "../../core/frontend/lib/esm/tools/AccuDrawShortcutTool.js");
|
|
177202
|
+
/* harmony import */ var _common_render_GraphicType__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../common/render/GraphicType */ "../../core/frontend/lib/esm/common/render/GraphicType.js");
|
|
177196
177203
|
/*---------------------------------------------------------------------------------------------
|
|
177197
177204
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
177198
177205
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -177208,6 +177215,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
177208
177215
|
|
|
177209
177216
|
|
|
177210
177217
|
|
|
177218
|
+
|
|
177211
177219
|
// cSpell:ignore dont unlockedz
|
|
177212
177220
|
function normalizedDifference(point1, point2, out) {
|
|
177213
177221
|
return point2.vectorTo(point1).normalizeWithLength(out).mag;
|
|
@@ -177270,15 +177278,13 @@ class AccuDrawShortcuts {
|
|
|
177270
177278
|
}
|
|
177271
177279
|
static updateACSByPoints(acs, vp, points, isDynamics) {
|
|
177272
177280
|
const accudraw = _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw;
|
|
177273
|
-
if (!accudraw.isEnabled)
|
|
177274
|
-
return false;
|
|
177275
177281
|
let accept = false;
|
|
177276
177282
|
const vec = [new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d(), new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d(), new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d()];
|
|
177277
177283
|
acs.setOrigin(points[0]);
|
|
177278
177284
|
switch (points.length) {
|
|
177279
177285
|
case 1:
|
|
177280
177286
|
acs.setRotation(vp.rotation);
|
|
177281
|
-
if (!isDynamics) {
|
|
177287
|
+
if (!isDynamics && accudraw.isEnabled) {
|
|
177282
177288
|
accudraw.published.origin.setFrom(points[0]);
|
|
177283
177289
|
accudraw.published.flags = _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetOrigin;
|
|
177284
177290
|
accudraw.flags.fixedOrg = true;
|
|
@@ -177290,7 +177296,7 @@ class AccuDrawShortcuts {
|
|
|
177290
177296
|
break;
|
|
177291
177297
|
}
|
|
177292
177298
|
if (vp.view.is3d()) {
|
|
177293
|
-
if (normalizedCrossProduct(accudraw.axes.y, vec[0], vec[1]) < 0.00001) {
|
|
177299
|
+
if (accudraw.isEnabled && normalizedCrossProduct(accudraw.axes.y, vec[0], vec[1]) < 0.00001) {
|
|
177294
177300
|
vec[2].set(0.0, 0.0, 1.0);
|
|
177295
177301
|
if (normalizedCrossProduct(vec[2], vec[0], vec[1]) < 0.00001) {
|
|
177296
177302
|
vec[2].set(0.0, 1.0, 0.0);
|
|
@@ -177299,7 +177305,7 @@ class AccuDrawShortcuts {
|
|
|
177299
177305
|
}
|
|
177300
177306
|
normalizedCrossProduct(vec[0], vec[1], vec[2]);
|
|
177301
177307
|
acs.setRotation(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Matrix3d.createRows(vec[0], vec[1], vec[2]));
|
|
177302
|
-
if (!isDynamics) {
|
|
177308
|
+
if (!isDynamics && accudraw.isEnabled) {
|
|
177303
177309
|
accudraw.published.origin.setFrom(points[0]);
|
|
177304
177310
|
accudraw.published.flags = _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetOrigin | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetNormal;
|
|
177305
177311
|
accudraw.published.vector.setFrom(vec[0]);
|
|
@@ -178020,7 +178026,11 @@ class AccuDrawShortcuts {
|
|
|
178020
178026
|
accudraw.unlockAllFields();
|
|
178021
178027
|
}
|
|
178022
178028
|
}
|
|
178023
|
-
/**
|
|
178029
|
+
/**
|
|
178030
|
+
* Immediate tool to toggle AccuDraw's availability for the current session.
|
|
178031
|
+
* @note AccuDraw is enabled by default
|
|
178032
|
+
* @beta
|
|
178033
|
+
*/
|
|
178024
178034
|
class AccuDrawSessionToggleTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
178025
178035
|
static toolId = "AccuDraw.SessionToggle";
|
|
178026
178036
|
async run() {
|
|
@@ -178028,7 +178038,11 @@ class AccuDrawSessionToggleTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool
|
|
|
178028
178038
|
return true;
|
|
178029
178039
|
}
|
|
178030
178040
|
}
|
|
178031
|
-
/**
|
|
178041
|
+
/**
|
|
178042
|
+
* Immediate tool to toggle AccuDraw on/off temporarily for the current interactive tool.
|
|
178043
|
+
* @note Typically used to disable AccuDraw for a single data button.
|
|
178044
|
+
* @beta
|
|
178045
|
+
*/
|
|
178032
178046
|
class AccuDrawSuspendToggleTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
178033
178047
|
static toolId = "AccuDraw.SuspendToggle";
|
|
178034
178048
|
async run() {
|
|
@@ -178036,7 +178050,11 @@ class AccuDrawSuspendToggleTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool
|
|
|
178036
178050
|
return true;
|
|
178037
178051
|
}
|
|
178038
178052
|
}
|
|
178039
|
-
/**
|
|
178053
|
+
/**
|
|
178054
|
+
* Immediate tool to enable AccuDraw and position it at the current AccuSnap or Tentative snap location.
|
|
178055
|
+
* @note When not snapped, AccuDraw is activated at the last data button location when inactive, or moved to the current cursor location when active.
|
|
178056
|
+
* @beta
|
|
178057
|
+
*/
|
|
178040
178058
|
class AccuDrawSetOriginTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
178041
178059
|
static toolId = "AccuDraw.SetOrigin";
|
|
178042
178060
|
async run() {
|
|
@@ -178044,7 +178062,11 @@ class AccuDrawSetOriginTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
178044
178062
|
return true;
|
|
178045
178063
|
}
|
|
178046
178064
|
}
|
|
178047
|
-
/**
|
|
178065
|
+
/**
|
|
178066
|
+
* Immediate tool to lock the closer of the x or y axis based on the current cursor location.
|
|
178067
|
+
* @note When an axis is locked, points are projected onto the axis line.
|
|
178068
|
+
* @beta
|
|
178069
|
+
*/
|
|
178048
178070
|
class AccuDrawSetLockSmartTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
178049
178071
|
static toolId = "AccuDraw.LockSmart";
|
|
178050
178072
|
async run() {
|
|
@@ -178052,7 +178074,10 @@ class AccuDrawSetLockSmartTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
178052
178074
|
return true;
|
|
178053
178075
|
}
|
|
178054
178076
|
}
|
|
178055
|
-
/**
|
|
178077
|
+
/**
|
|
178078
|
+
* Immediate tool to toggle the locked state of an indexed axis of the AccuDraw compass.
|
|
178079
|
+
* @beta
|
|
178080
|
+
*/
|
|
178056
178081
|
class AccuDrawSetLockIndexTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
178057
178082
|
static toolId = "AccuDraw.LockIndex";
|
|
178058
178083
|
async run() {
|
|
@@ -178060,7 +178085,10 @@ class AccuDrawSetLockIndexTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
178060
178085
|
return true;
|
|
178061
178086
|
}
|
|
178062
178087
|
}
|
|
178063
|
-
/**
|
|
178088
|
+
/**
|
|
178089
|
+
* Immediate tool to toggle the locked state of the X text field.
|
|
178090
|
+
* @beta
|
|
178091
|
+
*/
|
|
178064
178092
|
class AccuDrawSetLockXTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
178065
178093
|
static toolId = "AccuDraw.LockX";
|
|
178066
178094
|
async run() {
|
|
@@ -178068,7 +178096,10 @@ class AccuDrawSetLockXTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
178068
178096
|
return true;
|
|
178069
178097
|
}
|
|
178070
178098
|
}
|
|
178071
|
-
/**
|
|
178099
|
+
/**
|
|
178100
|
+
* Immediate tool to toggle the locked state of the Y text field.
|
|
178101
|
+
* @beta
|
|
178102
|
+
*/
|
|
178072
178103
|
class AccuDrawSetLockYTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
178073
178104
|
static toolId = "AccuDraw.LockY";
|
|
178074
178105
|
async run() {
|
|
@@ -178076,7 +178107,10 @@ class AccuDrawSetLockYTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
178076
178107
|
return true;
|
|
178077
178108
|
}
|
|
178078
178109
|
}
|
|
178079
|
-
/**
|
|
178110
|
+
/**
|
|
178111
|
+
* Immediate tool to toggle the locked state of the Z text field.
|
|
178112
|
+
* @beta
|
|
178113
|
+
*/
|
|
178080
178114
|
class AccuDrawSetLockZTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
178081
178115
|
static toolId = "AccuDraw.LockZ";
|
|
178082
178116
|
async run() {
|
|
@@ -178084,7 +178118,10 @@ class AccuDrawSetLockZTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
178084
178118
|
return true;
|
|
178085
178119
|
}
|
|
178086
178120
|
}
|
|
178087
|
-
/**
|
|
178121
|
+
/**
|
|
178122
|
+
* Immediate tool to toggle the locked state of the Distance text field.
|
|
178123
|
+
* @beta
|
|
178124
|
+
*/
|
|
178088
178125
|
class AccuDrawSetLockDistanceTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
178089
178126
|
static toolId = "AccuDraw.LockDistance";
|
|
178090
178127
|
async run() {
|
|
@@ -178092,7 +178129,10 @@ class AccuDrawSetLockDistanceTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Too
|
|
|
178092
178129
|
return true;
|
|
178093
178130
|
}
|
|
178094
178131
|
}
|
|
178095
|
-
/**
|
|
178132
|
+
/**
|
|
178133
|
+
* Immediate tool to toggle the locked state of the Angle text field.
|
|
178134
|
+
* @beta
|
|
178135
|
+
*/
|
|
178096
178136
|
class AccuDrawSetLockAngleTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
178097
178137
|
static toolId = "AccuDraw.LockAngle";
|
|
178098
178138
|
async run() {
|
|
@@ -178100,7 +178140,10 @@ class AccuDrawSetLockAngleTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
178100
178140
|
return true;
|
|
178101
178141
|
}
|
|
178102
178142
|
}
|
|
178103
|
-
/**
|
|
178143
|
+
/**
|
|
178144
|
+
* Immediate tool to toggle between polar and rectangular compass modes.
|
|
178145
|
+
* @beta
|
|
178146
|
+
*/
|
|
178104
178147
|
class AccuDrawChangeModeTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
178105
178148
|
static toolId = "AccuDraw.ChangeMode";
|
|
178106
178149
|
async run() {
|
|
@@ -178108,7 +178151,10 @@ class AccuDrawChangeModeTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
178108
178151
|
return true;
|
|
178109
178152
|
}
|
|
178110
178153
|
}
|
|
178111
|
-
/**
|
|
178154
|
+
/**
|
|
178155
|
+
* Immediate tool to cycle between XY, XZ, and YZ planes for the current AccuDraw rotation.
|
|
178156
|
+
* @beta
|
|
178157
|
+
*/
|
|
178112
178158
|
class AccuDrawRotateCycleTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
178113
178159
|
static toolId = "AccuDraw.RotateCycle";
|
|
178114
178160
|
async run() {
|
|
@@ -178116,7 +178162,11 @@ class AccuDrawRotateCycleTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
178116
178162
|
return true;
|
|
178117
178163
|
}
|
|
178118
178164
|
}
|
|
178119
|
-
/**
|
|
178165
|
+
/**
|
|
178166
|
+
* Immediate tool to set the AccuDraw rotation to a standard Top view.
|
|
178167
|
+
* @note When IModelApp.toolAdmin.acsContextLock is true, rotation is set relative to the view's ACS.
|
|
178168
|
+
* @beta
|
|
178169
|
+
*/
|
|
178120
178170
|
class AccuDrawRotateTopTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
178121
178171
|
static toolId = "AccuDraw.RotateTop";
|
|
178122
178172
|
async run() {
|
|
@@ -178124,7 +178174,11 @@ class AccuDrawRotateTopTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
178124
178174
|
return true;
|
|
178125
178175
|
}
|
|
178126
178176
|
}
|
|
178127
|
-
/**
|
|
178177
|
+
/**
|
|
178178
|
+
* Immediate tool to set the AccuDraw rotation to a standard Front view.
|
|
178179
|
+
* @note When IModelApp.toolAdmin.acsContextLock is true, rotation is set relative to the view's ACS.
|
|
178180
|
+
* @beta
|
|
178181
|
+
*/
|
|
178128
178182
|
class AccuDrawRotateFrontTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
178129
178183
|
static toolId = "AccuDraw.RotateFront";
|
|
178130
178184
|
async run() {
|
|
@@ -178132,7 +178186,11 @@ class AccuDrawRotateFrontTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
178132
178186
|
return true;
|
|
178133
178187
|
}
|
|
178134
178188
|
}
|
|
178135
|
-
/**
|
|
178189
|
+
/**
|
|
178190
|
+
* Immediate tool to set the AccuDraw rotation to a standard Side view.
|
|
178191
|
+
* @note When IModelApp.toolAdmin.acsContextLock is true, rotation is set relative to the view's ACS.
|
|
178192
|
+
* @beta
|
|
178193
|
+
*/
|
|
178136
178194
|
class AccuDrawRotateSideTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
178137
178195
|
static toolId = "AccuDraw.RotateSide";
|
|
178138
178196
|
async run() {
|
|
@@ -178140,7 +178198,10 @@ class AccuDrawRotateSideTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
178140
178198
|
return true;
|
|
178141
178199
|
}
|
|
178142
178200
|
}
|
|
178143
|
-
/**
|
|
178201
|
+
/**
|
|
178202
|
+
* Immediate tool to set the AccuDraw rotation to match the rotation of the current view.
|
|
178203
|
+
* @beta
|
|
178204
|
+
*/
|
|
178144
178205
|
class AccuDrawRotateViewTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
178145
178206
|
static toolId = "AccuDraw.RotateView";
|
|
178146
178207
|
async run() {
|
|
@@ -178148,7 +178209,10 @@ class AccuDrawRotateViewTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
|
178148
178209
|
return true;
|
|
178149
178210
|
}
|
|
178150
178211
|
}
|
|
178151
|
-
/**
|
|
178212
|
+
/**
|
|
178213
|
+
* Immediate tool to set the AccuDraw rotation to be a 90 degree rotation about the current x axis.
|
|
178214
|
+
* @beta
|
|
178215
|
+
*/
|
|
178152
178216
|
class AccuDrawRotate90AboutXTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
178153
178217
|
static toolId = "AccuDraw.Rotate90AboutX";
|
|
178154
178218
|
async run() {
|
|
@@ -178156,7 +178220,10 @@ class AccuDrawRotate90AboutXTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool
|
|
|
178156
178220
|
return true;
|
|
178157
178221
|
}
|
|
178158
178222
|
}
|
|
178159
|
-
/**
|
|
178223
|
+
/**
|
|
178224
|
+
* Immediate tool to set the AccuDraw rotation to be a 90 degree rotation about the current y axis.
|
|
178225
|
+
* @beta
|
|
178226
|
+
*/
|
|
178160
178227
|
class AccuDrawRotate90AboutYTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
178161
178228
|
static toolId = "AccuDraw.Rotate90AboutY";
|
|
178162
178229
|
async run() {
|
|
@@ -178164,7 +178231,10 @@ class AccuDrawRotate90AboutYTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool
|
|
|
178164
178231
|
return true;
|
|
178165
178232
|
}
|
|
178166
178233
|
}
|
|
178167
|
-
/**
|
|
178234
|
+
/**
|
|
178235
|
+
* Immediate tool to set the AccuDraw rotation to be a 90 degree rotation about the current z axis.
|
|
178236
|
+
* @beta
|
|
178237
|
+
*/
|
|
178168
178238
|
class AccuDrawRotate90AboutZTool extends _Tool__WEBPACK_IMPORTED_MODULE_6__.Tool {
|
|
178169
178239
|
static toolId = "AccuDraw.Rotate90AboutZ";
|
|
178170
178240
|
async run() {
|
|
@@ -178210,7 +178280,11 @@ class RotateAxesImplementation extends _AccuDrawShortcutTool__WEBPACK_IMPORTED_M
|
|
|
178210
178280
|
return true;
|
|
178211
178281
|
}
|
|
178212
178282
|
}
|
|
178213
|
-
/**
|
|
178283
|
+
/**
|
|
178284
|
+
* Interactive tool to set the AccuDraw rotation by rotating about the current z axis to a point on the x axis.
|
|
178285
|
+
* @note When AccuSnap or Tentative snap is active, the snap point is immediately used to define the x axis and not further input is required.
|
|
178286
|
+
* @beta
|
|
178287
|
+
*/
|
|
178214
178288
|
class AccuDrawRotateAxesTool extends _AccuDrawShortcutTool__WEBPACK_IMPORTED_MODULE_7__.AccuDrawShortcutTool {
|
|
178215
178289
|
aboutCurrentZ;
|
|
178216
178290
|
static toolId = "AccuDraw.RotateAxes";
|
|
@@ -178275,7 +178349,10 @@ class RotateElementImplementation extends _AccuDrawShortcutTool__WEBPACK_IMPORTE
|
|
|
178275
178349
|
return true;
|
|
178276
178350
|
}
|
|
178277
178351
|
}
|
|
178278
|
-
/**
|
|
178352
|
+
/**
|
|
178353
|
+
* Interactive tool to set the AccuDraw rotation using the snapped to geometry under the cursor.
|
|
178354
|
+
* @beta
|
|
178355
|
+
*/
|
|
178279
178356
|
class AccuDrawRotateElementTool extends _AccuDrawShortcutTool__WEBPACK_IMPORTED_MODULE_7__.AccuDrawShortcutTool {
|
|
178280
178357
|
static toolId = "AccuDraw.RotateElement";
|
|
178281
178358
|
/** @internal */
|
|
@@ -178284,6 +178361,124 @@ class AccuDrawRotateElementTool extends _AccuDrawShortcutTool__WEBPACK_IMPORTED_
|
|
|
178284
178361
|
}
|
|
178285
178362
|
}
|
|
178286
178363
|
/** @internal */
|
|
178364
|
+
class RotatePointsImplementation extends _AccuDrawShortcutTool__WEBPACK_IMPORTED_MODULE_7__.AccuDrawShortcutImplementation {
|
|
178365
|
+
_points = [];
|
|
178366
|
+
_origin = _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.tentativePoint.isActive ? _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.tentativePoint.getPoint().clone() : undefined;
|
|
178367
|
+
_moveOrigin = !_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw.isActive || _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.tentativePoint.isActive; // Preserve current origin if AccuDraw already active and not tentative snap...
|
|
178368
|
+
_lastPoint;
|
|
178369
|
+
onProvideToolAssistance() {
|
|
178370
|
+
switch (this._points.length) {
|
|
178371
|
+
case 0:
|
|
178372
|
+
_Tool__WEBPACK_IMPORTED_MODULE_6__.CoreTools.outputPromptByKey("AccuDraw.RotatePoints.Prompts.FirstPoint");
|
|
178373
|
+
break;
|
|
178374
|
+
case 1:
|
|
178375
|
+
_Tool__WEBPACK_IMPORTED_MODULE_6__.CoreTools.outputPromptByKey("AccuDraw.RotatePoints.Prompts.SecondPoint");
|
|
178376
|
+
break;
|
|
178377
|
+
default:
|
|
178378
|
+
_Tool__WEBPACK_IMPORTED_MODULE_6__.CoreTools.outputPromptByKey("AccuDraw.RotatePoints.Prompts.NextPoint");
|
|
178379
|
+
break;
|
|
178380
|
+
}
|
|
178381
|
+
}
|
|
178382
|
+
onInitialize() {
|
|
178383
|
+
if (undefined === this._origin)
|
|
178384
|
+
return;
|
|
178385
|
+
this._points.push(this._origin);
|
|
178386
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.tentativePoint.clear(true); // Necessary when installed as an InputCollector...
|
|
178387
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw.activate();
|
|
178388
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw.setContext(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetOrigin | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.FixedOrigin, this._origin);
|
|
178389
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw.refreshDecorationsAndDynamics();
|
|
178390
|
+
}
|
|
178391
|
+
onComplete() {
|
|
178392
|
+
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...
|
|
178393
|
+
if (this._moveOrigin)
|
|
178394
|
+
ignoreFlags |= _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetOrigin;
|
|
178395
|
+
return ignoreFlags;
|
|
178396
|
+
}
|
|
178397
|
+
doManipulation(ev, isMotion) {
|
|
178398
|
+
if (!ev || !ev.viewport)
|
|
178399
|
+
return false;
|
|
178400
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.viewManager.invalidateDecorationsAllViews();
|
|
178401
|
+
if (isMotion) {
|
|
178402
|
+
this._lastPoint = ev.point.clone();
|
|
178403
|
+
return false;
|
|
178404
|
+
}
|
|
178405
|
+
const accuDraw = _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw;
|
|
178406
|
+
accuDraw.activate();
|
|
178407
|
+
switch (this._points.length) {
|
|
178408
|
+
case 0: {
|
|
178409
|
+
this._points.push(ev.point.clone());
|
|
178410
|
+
accuDraw.setContext(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetOrigin | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.FixedOrigin, this._points[0]);
|
|
178411
|
+
break;
|
|
178412
|
+
}
|
|
178413
|
+
case 1: {
|
|
178414
|
+
const xVec = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d.createNormalizedStartEnd(this._points[0], ev.point);
|
|
178415
|
+
if (undefined === xVec)
|
|
178416
|
+
return false;
|
|
178417
|
+
if (!ev.viewport.view.is3d() || !ev.viewport.view.allow3dManipulations()) {
|
|
178418
|
+
accuDraw.setContext(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetOrigin | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetXAxis, this._points[0], xVec);
|
|
178419
|
+
return true; // Complete
|
|
178420
|
+
}
|
|
178421
|
+
this._points.push(ev.point.clone());
|
|
178422
|
+
accuDraw.setContext(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetOrigin | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.FixedOrigin | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetNormal, this._points[0], xVec);
|
|
178423
|
+
break;
|
|
178424
|
+
}
|
|
178425
|
+
case 2: {
|
|
178426
|
+
const xVec = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d.createNormalizedStartEnd(this._points[0], this._points[1]);
|
|
178427
|
+
if (undefined === xVec)
|
|
178428
|
+
return false;
|
|
178429
|
+
const yVec = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d.createNormalizedStartEnd(this._points[0], ev.point);
|
|
178430
|
+
if (undefined === yVec)
|
|
178431
|
+
return false;
|
|
178432
|
+
const matrix = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Matrix3d.createRigidFromColumns(xVec, yVec, _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.AxisOrder.XYZ);
|
|
178433
|
+
if (undefined === matrix)
|
|
178434
|
+
return false;
|
|
178435
|
+
const invMatrix = matrix.inverse();
|
|
178436
|
+
if (undefined === invMatrix)
|
|
178437
|
+
return false;
|
|
178438
|
+
accuDraw.setContext(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetOrigin | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetRMatrix, this._points[0], invMatrix);
|
|
178439
|
+
return true; // Complete
|
|
178440
|
+
}
|
|
178441
|
+
}
|
|
178442
|
+
this.onProvideToolAssistance();
|
|
178443
|
+
return false;
|
|
178444
|
+
}
|
|
178445
|
+
doDecorate(context) {
|
|
178446
|
+
if (0 === this._points.length)
|
|
178447
|
+
return;
|
|
178448
|
+
const currentPoint = this._lastPoint;
|
|
178449
|
+
if (undefined === currentPoint)
|
|
178450
|
+
return;
|
|
178451
|
+
if (2 === this._points.length) {
|
|
178452
|
+
const xVec = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d.createNormalizedStartEnd(this._points[0], this._points[1]);
|
|
178453
|
+
if (undefined === xVec)
|
|
178454
|
+
return;
|
|
178455
|
+
const plane = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Plane3dByOriginAndUnitNormal.create(this._points[0], xVec);
|
|
178456
|
+
if (undefined === plane)
|
|
178457
|
+
return;
|
|
178458
|
+
plane.projectPointToPlane(currentPoint, currentPoint);
|
|
178459
|
+
}
|
|
178460
|
+
const tmpPoints = this._points.slice(0, 1);
|
|
178461
|
+
tmpPoints.push(currentPoint);
|
|
178462
|
+
const vp = context.viewport;
|
|
178463
|
+
const color = vp.getContrastToBackgroundColor();
|
|
178464
|
+
const builder = context.createGraphicBuilder(_common_render_GraphicType__WEBPACK_IMPORTED_MODULE_8__.GraphicType.WorldOverlay);
|
|
178465
|
+
builder.setSymbology(color, color, 2);
|
|
178466
|
+
builder.addLineString(tmpPoints);
|
|
178467
|
+
context.addDecorationFromBuilder(builder);
|
|
178468
|
+
}
|
|
178469
|
+
}
|
|
178470
|
+
/**
|
|
178471
|
+
* Interactive tool to set the AccuDraw rotation by 3 points: x axis origin, x axis direction, and y axis direction.
|
|
178472
|
+
* @beta
|
|
178473
|
+
*/
|
|
178474
|
+
class AccuDrawRotatePointsTool extends _AccuDrawShortcutTool__WEBPACK_IMPORTED_MODULE_7__.AccuDrawShortcutTool {
|
|
178475
|
+
static toolId = "AccuDraw.RotatePoints";
|
|
178476
|
+
/** @internal */
|
|
178477
|
+
createImplementation() {
|
|
178478
|
+
return new RotatePointsImplementation();
|
|
178479
|
+
}
|
|
178480
|
+
}
|
|
178481
|
+
/** @internal */
|
|
178287
178482
|
class DefineACSByElementImplementation extends _AccuDrawShortcutTool__WEBPACK_IMPORTED_MODULE_7__.AccuDrawShortcutImplementation {
|
|
178288
178483
|
_origin = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Point3d.create();
|
|
178289
178484
|
_rMatrix = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Matrix3d.createIdentity();
|
|
@@ -178326,7 +178521,10 @@ class DefineACSByElementImplementation extends _AccuDrawShortcutTool__WEBPACK_IM
|
|
|
178326
178521
|
this._acs.display(context, _AuxCoordSys__WEBPACK_IMPORTED_MODULE_4__.ACSDisplayOptions.Active | _AuxCoordSys__WEBPACK_IMPORTED_MODULE_4__.ACSDisplayOptions.Dynamics);
|
|
178327
178522
|
}
|
|
178328
178523
|
}
|
|
178329
|
-
/**
|
|
178524
|
+
/**
|
|
178525
|
+
* Interactive tool to set the view's ACS rotation by 3 points: x axis origin, x axis direction, and y axis direction/
|
|
178526
|
+
* @beta
|
|
178527
|
+
*/
|
|
178330
178528
|
class DefineACSByElementTool extends _AccuDrawShortcutTool__WEBPACK_IMPORTED_MODULE_7__.AccuDrawShortcutTool {
|
|
178331
178529
|
static toolId = "AccuDraw.DefineACSByElement";
|
|
178332
178530
|
/** @internal */
|
|
@@ -178339,6 +178537,7 @@ class DefineACSByPointsImplementation extends _AccuDrawShortcutTool__WEBPACK_IMP
|
|
|
178339
178537
|
_points = [];
|
|
178340
178538
|
_acs;
|
|
178341
178539
|
_origin = _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.tentativePoint.isActive ? _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.tentativePoint.getPoint().clone() : undefined;
|
|
178540
|
+
_lastPoint;
|
|
178342
178541
|
onProvideToolAssistance() {
|
|
178343
178542
|
switch (this._points.length) {
|
|
178344
178543
|
case 0:
|
|
@@ -178355,16 +178554,20 @@ class DefineACSByPointsImplementation extends _AccuDrawShortcutTool__WEBPACK_IMP
|
|
|
178355
178554
|
onInitialize() {
|
|
178356
178555
|
if (undefined === this._origin)
|
|
178357
178556
|
return;
|
|
178358
|
-
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw.setContext(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetOrigin | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.FixedOrigin, this._origin);
|
|
178359
178557
|
this._points.push(this._origin);
|
|
178360
178558
|
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.tentativePoint.clear(true); // Necessary when installed as an InputCollector...
|
|
178559
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw.activate();
|
|
178560
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw.setContext(_AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.SetOrigin | _AccuDraw__WEBPACK_IMPORTED_MODULE_2__.AccuDrawFlags.FixedOrigin, this._origin);
|
|
178561
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw.refreshDecorationsAndDynamics();
|
|
178361
178562
|
}
|
|
178362
178563
|
doManipulation(ev, isMotion) {
|
|
178363
178564
|
if (!ev || !ev.viewport)
|
|
178364
178565
|
return false;
|
|
178365
178566
|
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.viewManager.invalidateDecorationsAllViews();
|
|
178366
|
-
if (isMotion)
|
|
178567
|
+
if (isMotion) {
|
|
178568
|
+
this._lastPoint = ev.point.clone();
|
|
178367
178569
|
return false;
|
|
178570
|
+
}
|
|
178368
178571
|
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuDraw.activate();
|
|
178369
178572
|
this._points.push(ev.point.clone());
|
|
178370
178573
|
const vp = ev.viewport;
|
|
@@ -178379,11 +178582,11 @@ class DefineACSByPointsImplementation extends _AccuDrawShortcutTool__WEBPACK_IMP
|
|
|
178379
178582
|
return false;
|
|
178380
178583
|
}
|
|
178381
178584
|
doDecorate(context) {
|
|
178585
|
+
if (undefined === this._lastPoint)
|
|
178586
|
+
return;
|
|
178382
178587
|
const tmpPoints = [];
|
|
178383
178588
|
this._points.forEach((pt) => tmpPoints.push(pt));
|
|
178384
|
-
|
|
178385
|
-
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.toolAdmin.fillEventFromCursorLocation(ev);
|
|
178386
|
-
tmpPoints.push(ev.point);
|
|
178589
|
+
tmpPoints.push(this._lastPoint);
|
|
178387
178590
|
const vp = context.viewport;
|
|
178388
178591
|
if (!this._acs)
|
|
178389
178592
|
this._acs = vp.view.auxiliaryCoordinateSystem.clone();
|
|
@@ -178391,7 +178594,10 @@ class DefineACSByPointsImplementation extends _AccuDrawShortcutTool__WEBPACK_IMP
|
|
|
178391
178594
|
this._acs.display(context, _AuxCoordSys__WEBPACK_IMPORTED_MODULE_4__.ACSDisplayOptions.Active | _AuxCoordSys__WEBPACK_IMPORTED_MODULE_4__.ACSDisplayOptions.Dynamics);
|
|
178392
178595
|
}
|
|
178393
178596
|
}
|
|
178394
|
-
/**
|
|
178597
|
+
/**
|
|
178598
|
+
* Interactive tool to set the view's ACS rotation by 3 points: x axis origin, x axis direction, and y axis direction.
|
|
178599
|
+
* @beta
|
|
178600
|
+
*/
|
|
178395
178601
|
class DefineACSByPointsTool extends _AccuDrawShortcutTool__WEBPACK_IMPORTED_MODULE_7__.AccuDrawShortcutTool {
|
|
178396
178602
|
static toolId = "AccuDraw.DefineACSByPoints";
|
|
178397
178603
|
/** @internal */
|
|
@@ -179742,8 +179948,8 @@ class ViewClipByPlaneTool extends ViewClipTool {
|
|
|
179742
179948
|
class ViewClipByShapeTool extends ViewClipTool {
|
|
179743
179949
|
static toolId = "ViewClip.ByShape";
|
|
179744
179950
|
static iconSpec = "icon-section-shape";
|
|
179745
|
-
/** @internal */
|
|
179746
179951
|
_orientationValue = { value: _AccuDraw__WEBPACK_IMPORTED_MODULE_3__.ContextRotationId.Top };
|
|
179952
|
+
_lastMotion;
|
|
179747
179953
|
/** @internal */
|
|
179748
179954
|
_points = [];
|
|
179749
179955
|
/** @internal */
|
|
@@ -179877,9 +180083,8 @@ class ViewClipByShapeTool extends ViewClipTool {
|
|
|
179877
180083
|
decorate(context) {
|
|
179878
180084
|
if (context.viewport !== this.targetView)
|
|
179879
180085
|
return;
|
|
179880
|
-
const ev =
|
|
179881
|
-
|
|
179882
|
-
if (undefined === ev.viewport)
|
|
180086
|
+
const ev = this._lastMotion;
|
|
180087
|
+
if (undefined === ev?.viewport)
|
|
179883
180088
|
return;
|
|
179884
180089
|
const points = this.getClipPoints(ev);
|
|
179885
180090
|
if (points.length < 2)
|
|
@@ -179900,6 +180105,7 @@ class ViewClipByShapeTool extends ViewClipTool {
|
|
|
179900
180105
|
}
|
|
179901
180106
|
/** @internal */
|
|
179902
180107
|
async onMouseMotion(ev) {
|
|
180108
|
+
this._lastMotion = ev;
|
|
179903
180109
|
if (this._points.length > 0 && undefined !== ev.viewport)
|
|
179904
180110
|
ev.viewport.invalidateDecorations();
|
|
179905
180111
|
}
|
|
@@ -179949,6 +180155,7 @@ class ViewClipByShapeTool extends ViewClipTool {
|
|
|
179949
180155
|
class ViewClipByRangeTool extends ViewClipTool {
|
|
179950
180156
|
static toolId = "ViewClip.ByRange";
|
|
179951
180157
|
static iconSpec = "icon-section-range";
|
|
180158
|
+
_lastMotion;
|
|
179952
180159
|
/** @internal */
|
|
179953
180160
|
_corner;
|
|
179954
180161
|
/** @internal */
|
|
@@ -179991,9 +180198,8 @@ class ViewClipByRangeTool extends ViewClipTool {
|
|
|
179991
180198
|
decorate(context) {
|
|
179992
180199
|
if (context.viewport !== this.targetView || undefined === this._corner)
|
|
179993
180200
|
return;
|
|
179994
|
-
const ev =
|
|
179995
|
-
|
|
179996
|
-
if (undefined === ev.viewport)
|
|
180201
|
+
const ev = this._lastMotion;
|
|
180202
|
+
if (undefined === ev?.viewport)
|
|
179997
180203
|
return;
|
|
179998
180204
|
const range = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Range3d.create();
|
|
179999
180205
|
const transform = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Transform.createIdentity();
|
|
@@ -180012,6 +180218,7 @@ class ViewClipByRangeTool extends ViewClipTool {
|
|
|
180012
180218
|
}
|
|
180013
180219
|
/** @internal */
|
|
180014
180220
|
async onMouseMotion(ev) {
|
|
180221
|
+
this._lastMotion = ev;
|
|
180015
180222
|
if (undefined !== this._corner && undefined !== ev.viewport)
|
|
180016
180223
|
ev.viewport.invalidateDecorations();
|
|
180017
180224
|
}
|
|
@@ -332797,7 +333004,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
332797
333004
|
/***/ ((module) => {
|
|
332798
333005
|
|
|
332799
333006
|
"use strict";
|
|
332800
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.12.0-dev.
|
|
333007
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.12.0-dev.8","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 && npm run -s copy:draco","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2022 --outDir lib/esm","clean":"rimraf -g lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","copy:draco":"cpx \\"./node_modules/@loaders.gl/draco/dist/libs/*\\" ./lib/public/scripts","docs":"betools docs --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts && npm run -s extract","extract":"betools extract --fileExt=ts --extractFrom=./src/test/example-code --recursive --out=../../generated-docs/extract","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-deprecation":"eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \\"./src/**/*.ts\\"","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run","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:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@bentley/aec-units-schema":"^1.0.3","@bentley/formats-schema":"^1.0.0","@bentley/units-schema":"^1.0.10","@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*","@itwin/object-storage-core":"^3.0.4","@itwin/eslint-plugin":"^6.0.0","@types/chai-as-promised":"^7","@types/draco3d":"^1.4.10","@types/node":"~20.17.0","@types/sinon":"^17.0.2","@vitest/browser-playwright":"^4.1.8","@vitest/coverage-v8":"^4.1.8","cpx2":"^8.0.0","eslint":"^9.31.0","glob":"^10.5.0","playwright":"~1.56.1","rimraf":"^6.0.1","sinon":"^17.0.2","source-map-loader":"^5.0.0","typescript":"~5.6.2","vitest":"^4.1.8","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"2.2.0","webpack":"^5.97.1"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/core-i18n":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"~4.3.4","@loaders.gl/draco":"~4.3.4","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
|
|
332801
333008
|
|
|
332802
333009
|
/***/ })
|
|
332803
333010
|
|