@itwin/rpcinterface-full-stack-tests 5.1.0-dev.60 → 5.1.0-dev.61
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/backend/BackendInit.js.map +1 -1
- package/lib/common/Settings.js +12 -12
- package/lib/common/Settings.js.map +1 -1
- package/lib/common/SideChannels.js.map +1 -1
- package/lib/dist/bundled-tests.js +71 -56
- package/lib/dist/bundled-tests.js.map +1 -1
- package/lib/frontend/DevToolsRpc.test.js.map +1 -1
- package/lib/frontend/Elements.test.js.map +1 -1
- package/lib/frontend/IModel.test.js.map +1 -1
- package/lib/frontend/IModelConnection.test.js.map +1 -1
- package/lib/frontend/Models.test.js.map +1 -1
- package/lib/frontend/PresentationRpc.test.js.map +1 -1
- package/lib/frontend/Views.test.js.map +1 -1
- package/lib/frontend/setup/IModelSession.js.map +1 -1
- package/lib/frontend/setup/TestContext.js.map +1 -1
- package/lib/frontend/workflows/BasicScenarios.test.js.map +1 -1
- package/package.json +17 -16
|
@@ -60476,6 +60476,7 @@ var PrimitiveTypeCode;
|
|
|
60476
60476
|
* @beta
|
|
60477
60477
|
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `Property` class from @itwin/ecschema-metadata` instead.
|
|
60478
60478
|
*/
|
|
60479
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
60479
60480
|
class PropertyMetaData {
|
|
60480
60481
|
primitiveType;
|
|
60481
60482
|
structName;
|
|
@@ -60561,6 +60562,7 @@ class PropertyMetaData {
|
|
|
60561
60562
|
* @beta
|
|
60562
60563
|
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `EntityClass` class from `@itwin/ecschema-metadata` instead.
|
|
60563
60564
|
*/
|
|
60565
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
60564
60566
|
class EntityMetaData {
|
|
60565
60567
|
/** The Id of the class in the [[IModelDb]] from which the metadata was obtained. */
|
|
60566
60568
|
classId;
|
|
@@ -84636,7 +84638,7 @@ class IModelReadRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
84636
84638
|
async getViewStateData(_iModelToken, _viewDefinitionId, _options) { return this.forward(arguments); }
|
|
84637
84639
|
async readFontJson(_iModelToken) { return this.forward(arguments); } // eslint-disable-line @typescript-eslint/no-deprecated
|
|
84638
84640
|
async getToolTipMessage(_iModelToken, _elementId) { return this.forward(arguments); }
|
|
84639
|
-
/** @deprecated in 3.
|
|
84641
|
+
/** @deprecated in 3.3.0 - might be removed in next major version. Use ViewStore apis. */
|
|
84640
84642
|
async getViewThumbnail(_iModelToken, _viewId) { return this.forward(arguments); }
|
|
84641
84643
|
async getDefaultViewId(_iModelToken) { return this.forward(arguments); }
|
|
84642
84644
|
async getCustomViewState3dData(_iModelToken, _options) { return this.forward(arguments); }
|
|
@@ -97062,6 +97064,7 @@ class ECClass extends _SchemaItem__WEBPACK_IMPORTED_MODULE_9__.SchemaItem {
|
|
|
97062
97064
|
else
|
|
97063
97065
|
correctType = structType;
|
|
97064
97066
|
if (!correctType)
|
|
97067
|
+
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
97065
97068
|
throw new _Exception__WEBPACK_IMPORTED_MODULE_4__.ECSchemaError(_Exception__WEBPACK_IMPORTED_MODULE_4__.ECSchemaStatus.InvalidType, `The provided Struct type, ${structType}, is not a valid StructClass.`);
|
|
97066
97069
|
return correctType;
|
|
97067
97070
|
}
|
|
@@ -97081,6 +97084,7 @@ class ECClass extends _SchemaItem__WEBPACK_IMPORTED_MODULE_9__.SchemaItem {
|
|
|
97081
97084
|
else
|
|
97082
97085
|
correctType = structType;
|
|
97083
97086
|
if (!correctType)
|
|
97087
|
+
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
97084
97088
|
throw new _Exception__WEBPACK_IMPORTED_MODULE_4__.ECSchemaError(_Exception__WEBPACK_IMPORTED_MODULE_4__.ECSchemaStatus.InvalidType, `The provided Struct type, ${structType}, is not a valid StructClass.`);
|
|
97085
97089
|
return correctType;
|
|
97086
97090
|
}
|
|
@@ -112637,6 +112641,7 @@ class SectionAttachment {
|
|
|
112637
112641
|
is3d: true,
|
|
112638
112642
|
scale: { x: 1, y: 1 },
|
|
112639
112643
|
},
|
|
112644
|
+
contours: view.getDisplayStyle3d().settings.contours
|
|
112640
112645
|
};
|
|
112641
112646
|
this._viewFlagOverrides = { ...view.viewFlags, lighting: false, shadows: false };
|
|
112642
112647
|
// Save off the original frustum (potentially adjusted by viewport).
|
|
@@ -144031,7 +144036,7 @@ class BatchUniforms {
|
|
|
144031
144036
|
this._sensors.bindTexture(uniform);
|
|
144032
144037
|
}
|
|
144033
144038
|
get wantContourLines() {
|
|
144034
|
-
const contours = this._target.
|
|
144039
|
+
const contours = this._target.currentBranch.contourLine;
|
|
144035
144040
|
return undefined !== contours && contours.displayContours && contours.groups.length > 0;
|
|
144036
144041
|
}
|
|
144037
144042
|
bindContourLUT(uniform) {
|
|
@@ -144163,6 +144168,7 @@ class BranchStack {
|
|
|
144163
144168
|
viewFlags: new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.ViewFlags(),
|
|
144164
144169
|
transform: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Transform.createIdentity(),
|
|
144165
144170
|
edgeSettings: _EdgeSettings__WEBPACK_IMPORTED_MODULE_5__.EdgeSettings.create(undefined),
|
|
144171
|
+
contourLine: undefined,
|
|
144166
144172
|
is3d: true,
|
|
144167
144173
|
symbologyOverrides: new _render_FeatureSymbology__WEBPACK_IMPORTED_MODULE_3__.FeatureSymbology.Overrides(),
|
|
144168
144174
|
});
|
|
@@ -144191,9 +144197,9 @@ class BranchStack {
|
|
|
144191
144197
|
this._stack.pop();
|
|
144192
144198
|
}
|
|
144193
144199
|
}
|
|
144194
|
-
changeRenderPlan(vf, is3d, hline) {
|
|
144200
|
+
changeRenderPlan(vf, is3d, hline, contour) {
|
|
144195
144201
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(1 === this.length);
|
|
144196
|
-
this.top.changeRenderPlan(vf, is3d, hline);
|
|
144202
|
+
this.top.changeRenderPlan(vf, is3d, hline, contour);
|
|
144197
144203
|
}
|
|
144198
144204
|
setSymbologyOverrides(ovrs) {
|
|
144199
144205
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(1 === this.length);
|
|
@@ -144256,16 +144262,18 @@ class BranchState {
|
|
|
144256
144262
|
get inSectionDrawingAttachment() { return this._opts.inSectionDrawingAttachment; }
|
|
144257
144263
|
get groupNodeId() { return this._opts.groupNodeId; }
|
|
144258
144264
|
get disableClipStyle() { return this._opts.disableClipStyle; }
|
|
144265
|
+
get contourLine() { return this._opts.contourLine; }
|
|
144259
144266
|
get symbologyOverrides() {
|
|
144260
144267
|
return this._opts.symbologyOverrides;
|
|
144261
144268
|
}
|
|
144262
144269
|
set symbologyOverrides(ovrs) {
|
|
144263
144270
|
this._opts.symbologyOverrides = ovrs;
|
|
144264
144271
|
}
|
|
144265
|
-
changeRenderPlan(viewFlags, is3d, hline) {
|
|
144272
|
+
changeRenderPlan(viewFlags, is3d, hline, contour) {
|
|
144266
144273
|
this.viewFlags = viewFlags;
|
|
144267
144274
|
this._opts.is3d = is3d;
|
|
144268
144275
|
this.edgeSettings.init(hline);
|
|
144276
|
+
this._opts.contourLine = contour;
|
|
144269
144277
|
}
|
|
144270
144278
|
/** Create a BranchState from a Branch. Any properties not explicitly specified by the new Branch are inherited from the previous BranchState. */
|
|
144271
144279
|
static fromBranch(prev, branch) {
|
|
@@ -144290,6 +144298,7 @@ class BranchState {
|
|
|
144290
144298
|
inSectionDrawingAttachment: branch.inSectionDrawingAttachment ?? prev.inSectionDrawingAttachment,
|
|
144291
144299
|
groupNodeId: branch.branch.groupNodeId ?? prev.groupNodeId,
|
|
144292
144300
|
disableClipStyle: branch.disableClipStyle ?? prev.disableClipStyle,
|
|
144301
|
+
contourLine: branch.contourLine ?? prev.contourLine,
|
|
144293
144302
|
});
|
|
144294
144303
|
}
|
|
144295
144304
|
getFeatureAppearance(overrides, elemLo, elemHi, subcatLo, subcatHi, geomClass, modelLo, modelHi, type, animationNodeId) {
|
|
@@ -144452,8 +144461,8 @@ class BranchUniforms {
|
|
|
144452
144461
|
this._viewClipEnabled = false;
|
|
144453
144462
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)((this._target.isReadPixelsInProgress ? 2 : 1) === this._stack.length);
|
|
144454
144463
|
}
|
|
144455
|
-
changeRenderPlan(vf, is3d, hline) {
|
|
144456
|
-
this._stack.changeRenderPlan(vf, is3d, hline);
|
|
144464
|
+
changeRenderPlan(vf, is3d, hline, contourLine) {
|
|
144465
|
+
this._stack.changeRenderPlan(vf, is3d, hline, contourLine);
|
|
144457
144466
|
}
|
|
144458
144467
|
updateViewClip(clip, style) {
|
|
144459
144468
|
this.clipStack.setViewClip(clip, style);
|
|
@@ -146215,12 +146224,11 @@ class ContourUniforms {
|
|
|
146215
146224
|
this._contourDefs[startNdx + offset + 1] = majorIntervalCount < 1.0 ? 1.0 : majorIntervalCount;
|
|
146216
146225
|
}
|
|
146217
146226
|
update(target) {
|
|
146218
|
-
|
|
146219
|
-
if (this.contourDisplay && plan.contours && this.contourDisplay.equals(plan.contours)) {
|
|
146227
|
+
if (this.contourDisplay && target.currentContours && this.contourDisplay.equals(target.currentContours)) {
|
|
146220
146228
|
return;
|
|
146221
146229
|
}
|
|
146222
146230
|
(0,_Sync__WEBPACK_IMPORTED_MODULE_1__.desync)(this);
|
|
146223
|
-
this._contourDisplay =
|
|
146231
|
+
this._contourDisplay = target.currentContours;
|
|
146224
146232
|
if (undefined === this.contourDisplay)
|
|
146225
146233
|
return;
|
|
146226
146234
|
/* uniform packing for contourDefs:
|
|
@@ -146310,14 +146318,14 @@ class Contours {
|
|
|
146310
146318
|
return target === this.target && this._numFeatures === map.numFeatures;
|
|
146311
146319
|
}
|
|
146312
146320
|
matchesSubCategories() {
|
|
146313
|
-
if (this._contours === undefined && this.target.
|
|
146321
|
+
if (this._contours === undefined && this.target.currentContours === undefined)
|
|
146314
146322
|
return true;
|
|
146315
|
-
if (this._contours === undefined || this.target.
|
|
146323
|
+
if (this._contours === undefined || this.target.currentContours === undefined)
|
|
146316
146324
|
return false;
|
|
146317
|
-
if (this._contours.groups.length !== this.target.
|
|
146325
|
+
if (this._contours.groups.length !== this.target.currentContours.groups.length)
|
|
146318
146326
|
return false;
|
|
146319
146327
|
for (let index = 0, len = this._contours.groups.length; index < len && index < _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.ContourDisplay.maxContourGroups; ++index) {
|
|
146320
|
-
if (!this._contours.groups[index].subCategoriesEqual(this.target.
|
|
146328
|
+
if (!this._contours.groups[index].subCategoriesEqual(this.target.currentContours.groups[index]))
|
|
146321
146329
|
return false;
|
|
146322
146330
|
}
|
|
146323
146331
|
return true;
|
|
@@ -146331,14 +146339,14 @@ class Contours {
|
|
|
146331
146339
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(width * height * 8 >= this._numFeatures);
|
|
146332
146340
|
const data = new Uint8Array(width * height * 4);
|
|
146333
146341
|
const creator = new _Texture__WEBPACK_IMPORTED_MODULE_5__.Texture2DDataUpdater(data);
|
|
146334
|
-
this.buildLookupTable(creator, map, this.target.
|
|
146342
|
+
this.buildLookupTable(creator, map, this.target.currentContours);
|
|
146335
146343
|
this._lut = _Texture__WEBPACK_IMPORTED_MODULE_5__.TextureHandle.createForData(width, height, data, true, _GL__WEBPACK_IMPORTED_MODULE_2__.GL.Texture.WrapMode.ClampToEdge);
|
|
146336
146344
|
this._lutWidth = width;
|
|
146337
146345
|
}
|
|
146338
146346
|
_update(map, lut) {
|
|
146339
146347
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(this._numFeatures === map.numFeatures);
|
|
146340
146348
|
const updater = new _Texture__WEBPACK_IMPORTED_MODULE_5__.Texture2DDataUpdater(lut.dataBytes);
|
|
146341
|
-
this.buildLookupTable(updater, map, this.target.
|
|
146349
|
+
this.buildLookupTable(updater, map, this.target.currentContours);
|
|
146342
146350
|
lut.update(updater);
|
|
146343
146351
|
}
|
|
146344
146352
|
buildLookupTable(data, map, contours) {
|
|
@@ -146376,7 +146384,7 @@ class Contours {
|
|
|
146376
146384
|
constructor(target, options) {
|
|
146377
146385
|
this.target = target;
|
|
146378
146386
|
this._options = options;
|
|
146379
|
-
this._contours = target.
|
|
146387
|
+
this._contours = target.currentContours;
|
|
146380
146388
|
}
|
|
146381
146389
|
static createFromTarget(target, options) {
|
|
146382
146390
|
return new Contours(target, options);
|
|
@@ -146393,7 +146401,7 @@ class Contours {
|
|
|
146393
146401
|
update(features) {
|
|
146394
146402
|
if (this.matchesSubCategories())
|
|
146395
146403
|
return;
|
|
146396
|
-
this._contours = this.target.
|
|
146404
|
+
this._contours = this.target.currentContours;
|
|
146397
146405
|
// _lut can be undefined if context was lost, (gl.createTexture returns null)
|
|
146398
146406
|
if (this._lut) {
|
|
146399
146407
|
this._update(features, this._lut);
|
|
@@ -149158,6 +149166,7 @@ class Branch extends Graphic {
|
|
|
149158
149166
|
inSectionDrawingAttachment;
|
|
149159
149167
|
disableClipStyle;
|
|
149160
149168
|
transformFromExternalIModel;
|
|
149169
|
+
contourLine;
|
|
149161
149170
|
constructor(branch, localToWorld, viewFlags, opts) {
|
|
149162
149171
|
super();
|
|
149163
149172
|
this.branch = branch;
|
|
@@ -149174,6 +149183,7 @@ class Branch extends Graphic {
|
|
|
149174
149183
|
this.inSectionDrawingAttachment = opts.inSectionDrawingAttachment;
|
|
149175
149184
|
this.disableClipStyle = opts.disableClipStyle;
|
|
149176
149185
|
this.transformFromExternalIModel = opts.transformFromIModel;
|
|
149186
|
+
this.contourLine = opts.contours;
|
|
149177
149187
|
if (opts.hline)
|
|
149178
149188
|
this.edgeSettings = _EdgeSettings__WEBPACK_IMPORTED_MODULE_6__.EdgeSettings.create(opts.hline);
|
|
149179
149189
|
if (opts.classifierOrDrape instanceof _PlanarClassifier__WEBPACK_IMPORTED_MODULE_8__.PlanarClassifier)
|
|
@@ -156154,7 +156164,7 @@ class Compositor extends SceneCompositor {
|
|
|
156154
156164
|
}
|
|
156155
156165
|
readContours(rect) {
|
|
156156
156166
|
// Are we actually drawing any contours? If not, don't bother reading an array of all zeroes off the GPU.
|
|
156157
|
-
const contours = this.target.
|
|
156167
|
+
const contours = this.target.currentContours;
|
|
156158
156168
|
if (!contours || !contours.displayContours || contours.groups.length === 0) {
|
|
156159
156169
|
return undefined;
|
|
156160
156170
|
}
|
|
@@ -156332,6 +156342,7 @@ class Compositor extends SceneCompositor {
|
|
|
156332
156342
|
iModel: top.iModel,
|
|
156333
156343
|
is3d: top.is3d,
|
|
156334
156344
|
edgeSettings: top.edgeSettings,
|
|
156345
|
+
contourLine: top.contourLine,
|
|
156335
156346
|
});
|
|
156336
156347
|
this._vcSetStencilRenderState = new _RenderState__WEBPACK_IMPORTED_MODULE_14__.RenderState();
|
|
156337
156348
|
this._vcCopyZRenderState = new _RenderState__WEBPACK_IMPORTED_MODULE_14__.RenderState();
|
|
@@ -160804,6 +160815,7 @@ class Target extends _render_RenderTarget__WEBPACK_IMPORTED_MODULE_7__.RenderTar
|
|
|
160804
160815
|
const drape = this.currentTextureDrape;
|
|
160805
160816
|
return undefined === drape ? this.currentPlanarClassifier : drape;
|
|
160806
160817
|
}
|
|
160818
|
+
get currentContours() { return this.currentBranch.contourLine; }
|
|
160807
160819
|
modelToView(modelPt, result) {
|
|
160808
160820
|
return this.uniforms.branch.modelViewMatrix.multiplyPoint3dQuietNormalize(modelPt, result);
|
|
160809
160821
|
}
|
|
@@ -161014,7 +161026,7 @@ class Target extends _render_RenderTarget__WEBPACK_IMPORTED_MODULE_7__.RenderTar
|
|
|
161014
161026
|
this._wantAmbientOcclusion = false;
|
|
161015
161027
|
vf = vf.with("ambientOcclusion", false);
|
|
161016
161028
|
}
|
|
161017
|
-
this.uniforms.branch.changeRenderPlan(vf, plan.is3d, plan.hline);
|
|
161029
|
+
this.uniforms.branch.changeRenderPlan(vf, plan.is3d, plan.hline, plan.contours);
|
|
161018
161030
|
this.changeFrustum(plan.frustum, plan.fraction, plan.is3d);
|
|
161019
161031
|
this.uniforms.thematic.update(this);
|
|
161020
161032
|
this.uniforms.contours.update(this);
|
|
@@ -161313,6 +161325,7 @@ class Target extends _render_RenderTarget__WEBPACK_IMPORTED_MODULE_7__.RenderTar
|
|
|
161313
161325
|
edgeSettings: top.edgeSettings,
|
|
161314
161326
|
transform: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Transform.createIdentity(),
|
|
161315
161327
|
clipVolume: top.clipVolume,
|
|
161328
|
+
contourLine: top.contourLine,
|
|
161316
161329
|
});
|
|
161317
161330
|
this.pushState(state);
|
|
161318
161331
|
// Repopulate the command list, omitting non-pickable decorations and putting transparent stuff into the opaque passes.
|
|
@@ -215006,7 +215019,7 @@ class Geometry {
|
|
|
215006
215019
|
static largeCoordinateResult = 1.0e13;
|
|
215007
215020
|
/**
|
|
215008
215021
|
* Numeric value that may considered infinite for metric coordinates.
|
|
215009
|
-
* @deprecated in 4.
|
|
215022
|
+
* @deprecated in 4.9.0 - will not be removed until after 2026-06-13. Use [[largeCoordinateResult]].
|
|
215010
215023
|
* * This coordinate should be used only as a placeholder indicating "at infinity" -- computing actual
|
|
215011
215024
|
* points at this coordinate invites numerical problems.
|
|
215012
215025
|
*/
|
|
@@ -215017,7 +215030,7 @@ class Geometry {
|
|
|
215017
215030
|
}
|
|
215018
215031
|
/**
|
|
215019
215032
|
* Test if the absolute value of x is at least [[largeCoordinateResult]].
|
|
215020
|
-
* @deprecated in 4.
|
|
215033
|
+
* @deprecated in 4.9.0 - will not be removed until after 2026-06-13. Use [[isLargeCoordinateResult]].
|
|
215021
215034
|
*/
|
|
215022
215035
|
static isHugeCoordinate(x) {
|
|
215023
215036
|
return Geometry.isLargeCoordinateResult(x);
|
|
@@ -215984,7 +215997,7 @@ class Geometry {
|
|
|
215984
215997
|
/**
|
|
215985
215998
|
* Clone an array whose members have type `T`, which implements the clone method.
|
|
215986
215999
|
* * If the clone method returns `undefined`, then `undefined` is forced into the cloned array.
|
|
215987
|
-
* @deprecated in 4.
|
|
216000
|
+
* @deprecated in 4.4.0 - will not be removed until after 2026-06-13. Use cloneArray.
|
|
215988
216001
|
*/
|
|
215989
216002
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
215990
216003
|
static cloneMembers(array) {
|
|
@@ -216410,7 +216423,7 @@ class BSpline1dNd {
|
|
|
216410
216423
|
* Test if the leading and trailing polygon coordinates are replicated in the manner of a "closed" bspline polygon
|
|
216411
216424
|
* which has been expanded to act as a normal bspline.
|
|
216412
216425
|
* @returns true if `degree` leading and trailing polygon blocks match.
|
|
216413
|
-
* @deprecated in 4.
|
|
216426
|
+
* @deprecated in 4.2.1 - will not be removed until after 2026-06-13. Use `testClosablePolygon` instead.
|
|
216414
216427
|
*/
|
|
216415
216428
|
testCloseablePolygon(mode) {
|
|
216416
216429
|
return this.testClosablePolygon(mode);
|
|
@@ -218710,7 +218723,7 @@ var UVSelect;
|
|
|
218710
218723
|
UVSelect[UVSelect["uDirection"] = 0] = "uDirection";
|
|
218711
218724
|
/**
|
|
218712
218725
|
* index of v direction
|
|
218713
|
-
* @deprecated in 4.
|
|
218726
|
+
* @deprecated in 4.3.0 - will not be removed until after 2026-06-13. Use vDirection instead.
|
|
218714
218727
|
*/
|
|
218715
218728
|
UVSelect[UVSelect["VDirection"] = 1] = "VDirection";
|
|
218716
218729
|
/** index of v direction */
|
|
@@ -218937,7 +218950,7 @@ class BSpline2dNd extends _curve_GeometryQuery__WEBPACK_IMPORTED_MODULE_0__.Geom
|
|
|
218937
218950
|
}
|
|
218938
218951
|
/**
|
|
218939
218952
|
* sum poles by the weights in the basisBuffer, using poles for given span
|
|
218940
|
-
* @deprecated in 4.
|
|
218953
|
+
* @deprecated in 4.3.0 - will not be removed until after 2026-06-13. Use sumPoleBufferDerivativesForSpan instead.
|
|
218941
218954
|
*/
|
|
218942
218955
|
sumpoleBufferDerivativesForSpan(spanIndexU, spanIndexV) {
|
|
218943
218956
|
return this.sumPoleBufferDerivativesForSpan(spanIndexU, spanIndexV);
|
|
@@ -232297,7 +232310,7 @@ class CurveLocationDetailPair {
|
|
|
232297
232310
|
}
|
|
232298
232311
|
/**
|
|
232299
232312
|
* Data bundle for a pair of arrays of CurveLocationDetail structures.
|
|
232300
|
-
* @deprecated in 4.
|
|
232313
|
+
* @deprecated in 4.2.0 - will not be removed until after 2026-06-13. Use CurveLocationDetailPair[] instead.
|
|
232301
232314
|
* @public
|
|
232302
232315
|
*/
|
|
232303
232316
|
class CurveLocationDetailArrayPair {
|
|
@@ -240283,7 +240296,7 @@ class StrokeOptions {
|
|
|
240283
240296
|
maxEdgeLength;
|
|
240284
240297
|
/**
|
|
240285
240298
|
* Caller expects convex facets.
|
|
240286
|
-
* @deprecated in 4.
|
|
240299
|
+
* @deprecated in 4.2.0 - will not be removed until after 2026-06-13. Never used. See [[shouldTriangulate]] and [[maximizeConvexFacets]].
|
|
240287
240300
|
*/
|
|
240288
240301
|
needConvexFacets;
|
|
240289
240302
|
/** Minimum strokes on a primitive. */
|
|
@@ -254551,7 +254564,7 @@ class GrowableXYArray extends _IndexedXYCollection__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
254551
254564
|
return result;
|
|
254552
254565
|
}
|
|
254553
254566
|
/** Restructure MultiLineStringDataVariant as array of GrowableXYZArray
|
|
254554
|
-
* @deprecated in 4.
|
|
254567
|
+
* @deprecated in 4.2.0 - will not be removed until after 2026-06-13. Moved to GrowableXYZArray class.
|
|
254555
254568
|
*/
|
|
254556
254569
|
static createArrayOfGrowableXYZArray(data) {
|
|
254557
254570
|
return _GrowableXYZArray__WEBPACK_IMPORTED_MODULE_1__.GrowableXYZArray.createArrayOfGrowableXYZArray(data);
|
|
@@ -273245,7 +273258,7 @@ class Point4d extends _geometry3d_Plane3d__WEBPACK_IMPORTED_MODULE_0__.Plane3d {
|
|
|
273245
273258
|
* extract 4 consecutive numbers from a Float64Array into a Point4d.
|
|
273246
273259
|
* @param data buffer of numbers
|
|
273247
273260
|
* @param xIndex first index for x,y,z,w sequence. Assumed to be a valid index!
|
|
273248
|
-
* @deprecated in 4.
|
|
273261
|
+
* @deprecated in 4.3.0 - will not be removed until after 2026-06-13. Use createFromPacked instead.
|
|
273249
273262
|
*/
|
|
273250
273263
|
static createFromPackedXYZW(data, xIndex = 0, result) {
|
|
273251
273264
|
return Point4d.create(data[xIndex], data[xIndex + 1], data[xIndex + 2], data[xIndex + 3], result);
|
|
@@ -282573,7 +282586,7 @@ class IndexedPolyface extends Polyface {
|
|
|
282573
282586
|
}
|
|
282574
282587
|
/**
|
|
282575
282588
|
* Clean up the open facet.
|
|
282576
|
-
* @deprecated in 4.
|
|
282589
|
+
* @deprecated in 4.5.0 - will not be removed until after 2026-06-13. To remove nebulous "open facet" concept from the API. Call [[PolyfaceData.trimAllIndexArrays]]
|
|
282577
282590
|
* instead.
|
|
282578
282591
|
*/
|
|
282579
282592
|
cleanupOpenFacet() {
|
|
@@ -282723,7 +282736,7 @@ class IndexedPolyface extends Polyface {
|
|
|
282723
282736
|
}
|
|
282724
282737
|
/**
|
|
282725
282738
|
* Given the index of a facet, return the data pertaining to the face it is a part of.
|
|
282726
|
-
* @deprecated in 4.
|
|
282739
|
+
* @deprecated in 4.5.0 - will not be removed until after 2026-06-13. Use [[IndexedPolyface.tryGetFaceData]], which verifies the index is in range.
|
|
282727
282740
|
*/
|
|
282728
282741
|
getFaceDataByFacetIndex(facetIndex) {
|
|
282729
282742
|
return this.data.face[this._facetToFaceData[facetIndex]];
|
|
@@ -283945,7 +283958,7 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
|
|
|
283945
283958
|
* Apply stroke counts to curve primitives.
|
|
283946
283959
|
* * Recursively visit all children of data.
|
|
283947
283960
|
* * At each primitive, invoke `computeStrokeCountForOptions` method with options from the builder.
|
|
283948
|
-
* @deprecated in 4.
|
|
283961
|
+
* @deprecated in 4.8.0 - will not be removed until after 2026-06-13. This method does nothing and is unneeded.
|
|
283949
283962
|
*/
|
|
283950
283963
|
applyStrokeCountsToCurvePrimitives(data) {
|
|
283951
283964
|
const options = this._options;
|
|
@@ -285984,7 +285997,7 @@ class PolyfaceData {
|
|
|
285984
285997
|
}
|
|
285985
285998
|
/**
|
|
285986
285999
|
* Resize all data arrays to the specified `length`.
|
|
285987
|
-
* @deprecated in 4.
|
|
286000
|
+
* @deprecated in 4.5.0 - will not be removed until after 2026-06-13. Because name is misleading. Call [[PolyfaceData.resizeAllArrays]] instead.
|
|
285988
286001
|
*/
|
|
285989
286002
|
resizeAllDataArrays(length) {
|
|
285990
286003
|
if (length > this.point.length) {
|
|
@@ -287556,7 +287569,7 @@ class PolyfaceQuery {
|
|
|
287556
287569
|
});
|
|
287557
287570
|
return builder.claimPolyface(true);
|
|
287558
287571
|
}
|
|
287559
|
-
/** @deprecated in 4.
|
|
287572
|
+
/** @deprecated in 4.7.0 - will not be removed until after 2026-06-13. Use [[sweepLineStringToFacetsXYReturnSweptFacets]] instead. */
|
|
287560
287573
|
static sweepLinestringToFacetsXYreturnSweptFacets(linestringPoints, polyface) {
|
|
287561
287574
|
return this.sweepLineStringToFacetsXYReturnSweptFacets(linestringPoints, polyface);
|
|
287562
287575
|
}
|
|
@@ -287659,7 +287672,7 @@ class PolyfaceQuery {
|
|
|
287659
287672
|
* * Return collected line segments.
|
|
287660
287673
|
* * This calls [[sweepLineStringToFacets]] with options created by
|
|
287661
287674
|
* `const options = SweepLineStringToFacetsOptions.create(Vector3d.unitZ(), Angle.createSmallAngle(), false, true, true, true);`
|
|
287662
|
-
* @deprecated in 4.
|
|
287675
|
+
* @deprecated in 4.7.0 - will not be removed until after 2026-06-13. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
|
|
287663
287676
|
*/
|
|
287664
287677
|
static sweepLinestringToFacetsXYReturnLines(linestringPoints, polyface) {
|
|
287665
287678
|
const options = SweepLineStringToFacetsOptions.create(_geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.unitZ(), _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createSmallAngle(), false, true, true, true);
|
|
@@ -287669,7 +287682,7 @@ class PolyfaceQuery {
|
|
|
287669
287682
|
* Find segments (within the linestring) which project to facets.
|
|
287670
287683
|
* * Return chains.
|
|
287671
287684
|
* * This calls [[sweepLineStringToFacets]] with default options.
|
|
287672
|
-
* @deprecated in 4.
|
|
287685
|
+
* @deprecated in 4.7.0 - will not be removed until after 2026-06-13. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
|
|
287673
287686
|
*/
|
|
287674
287687
|
static sweepLinestringToFacetsXYReturnChains(linestringPoints, polyface) {
|
|
287675
287688
|
return PolyfaceQuery.sweepLineStringToFacets(linestringPoints, polyface);
|
|
@@ -301466,7 +301479,7 @@ class Sample {
|
|
|
301466
301479
|
return points;
|
|
301467
301480
|
}
|
|
301468
301481
|
// cspell:word creat
|
|
301469
|
-
/** @deprecated in 4.
|
|
301482
|
+
/** @deprecated in 4.0.0 - will not be removed until after 2026-06-13. Use createVerticalStaggerPolygon instead. */
|
|
301470
301483
|
static creatVerticalStaggerPolygon(dy1, dy2, dy3, dy4, ax, ay, dx1, dx4) {
|
|
301471
301484
|
return this.createVerticalStaggerPolygon(dy1, dy2, dy3, dy4, ax, ay, dx1, dx4);
|
|
301472
301485
|
}
|
|
@@ -334630,18 +334643,18 @@ class Settings {
|
|
|
334630
334643
|
}
|
|
334631
334644
|
}
|
|
334632
334645
|
toString() {
|
|
334633
|
-
return `Configurations:
|
|
334634
|
-
backend location: ${this.Backend.location},
|
|
334635
|
-
backend name: ${this.Backend.name},
|
|
334636
|
-
backend version: ${this.Backend.version},
|
|
334637
|
-
oidc client id: ${this.oidcClientId},
|
|
334638
|
-
oidc scopes: ${this.oidcScopes},
|
|
334639
|
-
applicationId: ${this.gprid},
|
|
334640
|
-
log level: ${this.logLevel},
|
|
334641
|
-
testing iModelTileRpcTests: ${this.runiModelTileRpcTests},
|
|
334642
|
-
testing PresentationRpcTest: ${this.runPresentationRpcTests},
|
|
334643
|
-
testing iModelReadRpcTests: ${this.runiModelReadRpcTests},
|
|
334644
|
-
testing DevToolsRpcTests: ${this.runDevToolsRpcTests},
|
|
334646
|
+
return `Configurations:
|
|
334647
|
+
backend location: ${this.Backend.location},
|
|
334648
|
+
backend name: ${this.Backend.name},
|
|
334649
|
+
backend version: ${this.Backend.version},
|
|
334650
|
+
oidc client id: ${this.oidcClientId},
|
|
334651
|
+
oidc scopes: ${this.oidcScopes},
|
|
334652
|
+
applicationId: ${this.gprid},
|
|
334653
|
+
log level: ${this.logLevel},
|
|
334654
|
+
testing iModelTileRpcTests: ${this.runiModelTileRpcTests},
|
|
334655
|
+
testing PresentationRpcTest: ${this.runPresentationRpcTests},
|
|
334656
|
+
testing iModelReadRpcTests: ${this.runiModelReadRpcTests},
|
|
334657
|
+
testing DevToolsRpcTests: ${this.runDevToolsRpcTests},
|
|
334645
334658
|
testing iModelWriteRpcTests: ${this.runiModelWriteRpcTests}`;
|
|
334646
334659
|
}
|
|
334647
334660
|
}
|
|
@@ -334855,7 +334868,7 @@ class TestContext {
|
|
|
334855
334868
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
334856
334869
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
334857
334870
|
await core_frontend_1.NoRenderApp.startup({
|
|
334858
|
-
applicationVersion: "5.1.0-dev.
|
|
334871
|
+
applicationVersion: "5.1.0-dev.61",
|
|
334859
334872
|
applicationId: this.settings.gprid,
|
|
334860
334873
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.serviceAuthToken),
|
|
334861
334874
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -335136,7 +335149,7 @@ class UiAdmin {
|
|
|
335136
335149
|
/** Get the cursor X and Y position. */
|
|
335137
335150
|
get cursorPosition() { return { x: 0, y: 0 }; }
|
|
335138
335151
|
/** Create a PointProps object.
|
|
335139
|
-
* @deprecated in 4.2.
|
|
335152
|
+
* @deprecated in 4.2.0 - will not be removed until after 2026-06-13. Please use @core/geometry [[XAndY]] or a custom implementation.
|
|
335140
335153
|
*/
|
|
335141
335154
|
createXAndY(x, y) { return { x, y }; }
|
|
335142
335155
|
/** Determines if focus is set to Home */
|
|
@@ -335439,7 +335452,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
335439
335452
|
/**
|
|
335440
335453
|
* Class that define Standard Content Layouts that can be used to specify how the content is arranged in a frontstage.
|
|
335441
335454
|
* @public
|
|
335442
|
-
* @deprecated in 4.10.
|
|
335455
|
+
* @deprecated in 4.10.0 - will not be removed until after 2026-06-13. Use `StandardContentLayouts` from `@itwin/appui-react`.
|
|
335443
335456
|
*/
|
|
335444
335457
|
class StandardContentLayouts {
|
|
335445
335458
|
static singleView = {
|
|
@@ -337098,14 +337111,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
337098
337111
|
|
|
337099
337112
|
/** UiSync Event class.
|
|
337100
337113
|
* @public
|
|
337101
|
-
* @deprecated in 4.2.
|
|
337114
|
+
* @deprecated in 4.2.0 - will not be removed until after 2026-06-13. Use [[UiSyncEvent]] from @itwin/appui-react.
|
|
337102
337115
|
*/
|
|
337116
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
337103
337117
|
class UiSyncEvent extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeUiEvent {
|
|
337104
337118
|
}
|
|
337105
337119
|
/** This class is used to send eventIds to interested UI components so the component can determine if it needs
|
|
337106
337120
|
* to refresh its display by calling setState on itself.
|
|
337107
337121
|
* @public
|
|
337108
|
-
* @deprecated in 4.2.
|
|
337122
|
+
* @deprecated in 4.2.0 - will not be removed until after 2026-06-13. Use [[SyncUiEventDispatcher]] from @itwin/appui-react.
|
|
337109
337123
|
*/
|
|
337110
337124
|
class UiEventDispatcher {
|
|
337111
337125
|
_syncEventTimerId;
|
|
@@ -340953,6 +340967,7 @@ class ElementPropertiesBuilder {
|
|
|
340953
340967
|
processPrimitiveValue(props) {
|
|
340954
340968
|
this._currentAppender.append(props.field.label, {
|
|
340955
340969
|
type: "primitive",
|
|
340970
|
+
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
340956
340971
|
value: props.displayValue?.toString() ?? "",
|
|
340957
340972
|
});
|
|
340958
340973
|
}
|
|
@@ -359942,7 +359957,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
359942
359957
|
/***/ ((module) => {
|
|
359943
359958
|
|
|
359944
359959
|
"use strict";
|
|
359945
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.1.0-dev.
|
|
359960
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.1.0-dev.61","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 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","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","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":{"@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/eslint-plugin":"5.2.2-dev.2","@types/chai-as-promised":"^7","@types/sinon":"^17.0.2","@vitest/browser":"^3.0.6","@vitest/coverage-v8":"^3.0.6","cpx2":"^8.0.0","eslint":"^9.31.0","glob":"^10.3.12","playwright":"~1.47.1","rimraf":"^6.0.1","sinon":"^17.0.2","source-map-loader":"^5.0.0","typescript":"~5.6.2","typemoq":"^2.1.0","vitest":"^3.0.6","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/cloud-agnostic-core":"^2.2.4","@itwin/object-storage-core":"^2.3.0","@itwin/core-i18n":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
|
|
359946
359961
|
|
|
359947
359962
|
/***/ }),
|
|
359948
359963
|
|