@itwin/ecschema-rpcinterface-tests 5.0.0-dev.117 → 5.0.0-dev.119
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 +172 -141
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +15 -15
|
@@ -18806,7 +18806,7 @@ var GeoServiceStatus;
|
|
|
18806
18806
|
GeoServiceStatus[GeoServiceStatus["VerticalDatumConvertError"] = 147460] = "VerticalDatumConvertError";
|
|
18807
18807
|
GeoServiceStatus[GeoServiceStatus["CSMapError"] = 147461] = "CSMapError";
|
|
18808
18808
|
/**
|
|
18809
|
-
* @deprecated in 5.0. This status is never returned.
|
|
18809
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. This status is never returned.
|
|
18810
18810
|
*/
|
|
18811
18811
|
GeoServiceStatus[GeoServiceStatus["Pending"] = 147462] = "Pending";
|
|
18812
18812
|
})(GeoServiceStatus || (GeoServiceStatus = {}));
|
|
@@ -20293,7 +20293,7 @@ Symbol.dispose ??= Symbol("Symbol.dispose");
|
|
|
20293
20293
|
Symbol.asyncDispose ??= Symbol("Symbol.asyncDispose");
|
|
20294
20294
|
/**
|
|
20295
20295
|
* A type guard that checks whether the given argument implements `IDisposable` interface
|
|
20296
|
-
* @deprecated in 5.0 Use isDisposable instead.
|
|
20296
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use isDisposable instead.
|
|
20297
20297
|
* @public
|
|
20298
20298
|
*/
|
|
20299
20299
|
function isIDisposable(obj) {
|
|
@@ -20332,7 +20332,7 @@ function disposeArray(list) {
|
|
|
20332
20332
|
* of this function is equal to return value of func. If func throws, this function also throws (after
|
|
20333
20333
|
* disposing the resource).
|
|
20334
20334
|
* @public
|
|
20335
|
-
* @deprecated in 5.0 Use `using` declarations instead.
|
|
20335
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `using` declarations instead.
|
|
20336
20336
|
*/
|
|
20337
20337
|
function using(resources, func) {
|
|
20338
20338
|
if (!Array.isArray(resources))
|
|
@@ -22102,7 +22102,7 @@ class PerfLogger {
|
|
|
22102
22102
|
[Symbol.dispose]() {
|
|
22103
22103
|
this.logMessage();
|
|
22104
22104
|
}
|
|
22105
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
22105
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
22106
22106
|
dispose() {
|
|
22107
22107
|
this[Symbol.dispose]();
|
|
22108
22108
|
}
|
|
@@ -23837,7 +23837,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23837
23837
|
/**
|
|
23838
23838
|
* Mirrors the SpanKind enum from [@opentelemetry/api](https://open-telemetry.github.io/opentelemetry-js/enums/_opentelemetry_api.SpanKind.html)
|
|
23839
23839
|
* @public
|
|
23840
|
-
* @deprecated in 4.4 - OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
|
|
23840
|
+
* @deprecated in 4.4 - will not be removed until after 2026-06-13. OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
|
|
23841
23841
|
*/
|
|
23842
23842
|
var SpanKind;
|
|
23843
23843
|
(function (SpanKind) {
|
|
@@ -23897,7 +23897,7 @@ function flattenObject(obj) {
|
|
|
23897
23897
|
/**
|
|
23898
23898
|
* Enables OpenTelemetry tracing in addition to traditional logging.
|
|
23899
23899
|
* @public
|
|
23900
|
-
* @deprecated in 4.4 - OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
|
|
23900
|
+
* @deprecated in 4.4 - will not be removed until after 2026-06-13. OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
|
|
23901
23901
|
*/
|
|
23902
23902
|
class Tracing {
|
|
23903
23903
|
static _tracer;
|
|
@@ -27568,7 +27568,7 @@ class QueryOptionsBuilder {
|
|
|
27568
27568
|
* If set ECClassId, SourceECClassId and TargetECClassId system properties will return qualified name of class instead of a @typedef Id64String.
|
|
27569
27569
|
* @param val A boolean value.
|
|
27570
27570
|
* @returns @type QueryOptionsBuilder for fluent interface.
|
|
27571
|
-
* @deprecated in 4.11 Use ecsql function ec_classname to get class name instead.
|
|
27571
|
+
* @deprecated in 4.11 - will not be removed until after 2026-06-13. Use ecsql function ec_classname to get class name instead.
|
|
27572
27572
|
*/
|
|
27573
27573
|
setConvertClassIdsToNames(val) {
|
|
27574
27574
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
@@ -30677,7 +30677,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
30677
30677
|
|
|
30678
30678
|
|
|
30679
30679
|
/** The Id and relationship class of an Element that is somehow related to another Element
|
|
30680
|
-
* @public
|
|
30680
|
+
* @public @preview
|
|
30681
30681
|
*/
|
|
30682
30682
|
class RelatedElement {
|
|
30683
30683
|
/** The Id of the element to which this element is related. */
|
|
@@ -30711,24 +30711,24 @@ class RelatedElement {
|
|
|
30711
30711
|
}
|
|
30712
30712
|
}
|
|
30713
30713
|
/** A [RelatedElement]($common) relationship that describes the [TypeDefinitionElement]($backend) of an element.
|
|
30714
|
-
* @public
|
|
30714
|
+
* @public @preview
|
|
30715
30715
|
*/
|
|
30716
30716
|
class TypeDefinition extends RelatedElement {
|
|
30717
30717
|
}
|
|
30718
30718
|
/** determine if this is Placement2dProps
|
|
30719
|
-
* @public
|
|
30719
|
+
* @public @preview
|
|
30720
30720
|
*/
|
|
30721
30721
|
function isPlacement2dProps(props) {
|
|
30722
30722
|
return props.angle !== undefined;
|
|
30723
30723
|
}
|
|
30724
30724
|
/** determine if this is Placement3dProps
|
|
30725
|
-
* @public
|
|
30725
|
+
* @public @preview
|
|
30726
30726
|
*/
|
|
30727
30727
|
function isPlacement3dProps(props) {
|
|
30728
30728
|
return !isPlacement2dProps(props);
|
|
30729
30729
|
}
|
|
30730
30730
|
/** An enumeration of the different types of [SectionDrawing]($backend)s.
|
|
30731
|
-
* @public
|
|
30731
|
+
* @public @preview
|
|
30732
30732
|
* @extensions
|
|
30733
30733
|
*/
|
|
30734
30734
|
var SectionType;
|
|
@@ -30749,7 +30749,7 @@ var ExternalSourceAttachmentRole;
|
|
|
30749
30749
|
ExternalSourceAttachmentRole[ExternalSourceAttachmentRole["SpecifyPart"] = 1] = "SpecifyPart";
|
|
30750
30750
|
})(ExternalSourceAttachmentRole || (ExternalSourceAttachmentRole = {}));
|
|
30751
30751
|
/** The *rank* for a Category
|
|
30752
|
-
* @public
|
|
30752
|
+
* @public @preview
|
|
30753
30753
|
* @extensions
|
|
30754
30754
|
*/
|
|
30755
30755
|
var Rank;
|
|
@@ -30849,7 +30849,7 @@ var PrimitiveTypeCode;
|
|
|
30849
30849
|
})(PrimitiveTypeCode || (PrimitiveTypeCode = {}));
|
|
30850
30850
|
/** Metadata for a property.
|
|
30851
30851
|
* @beta
|
|
30852
|
-
* @deprecated in 5.0. Use the `Property` class from @itwin/ecschema-metadata` instead.
|
|
30852
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `Property` class from @itwin/ecschema-metadata` instead.
|
|
30853
30853
|
*/
|
|
30854
30854
|
class PropertyMetaData {
|
|
30855
30855
|
primitiveType;
|
|
@@ -30934,7 +30934,7 @@ class PropertyMetaData {
|
|
|
30934
30934
|
}
|
|
30935
30935
|
/** Metadata for an Entity.
|
|
30936
30936
|
* @beta
|
|
30937
|
-
* @deprecated in 5.0. Use `EntityClass` class from `@itwin/ecschema-metadata` instead.
|
|
30937
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `EntityClass` class from `@itwin/ecschema-metadata` instead.
|
|
30938
30938
|
*/
|
|
30939
30939
|
class EntityMetaData {
|
|
30940
30940
|
/** The Id of the class in the [[IModelDb]] from which the metadata was obtained. */
|
|
@@ -32250,7 +32250,7 @@ var FontType;
|
|
|
32250
32250
|
* This class maps FontIds to FontProps.
|
|
32251
32251
|
* @note This API has never worked properly. Don't use it. Use [IModelDb.fonts]($backend) instead.
|
|
32252
32252
|
* @public
|
|
32253
|
-
* @deprecated in 5.0.0. Use [IModelDb.fonts]($backend) instead.
|
|
32253
|
+
* @deprecated in 5.0.0 - will not be removed until after 2026-06-13. Use [IModelDb.fonts]($backend) instead.
|
|
32254
32254
|
*/
|
|
32255
32255
|
class FontMap {
|
|
32256
32256
|
fonts = new Map();
|
|
@@ -32714,7 +32714,7 @@ var GeoCoordStatus;
|
|
|
32714
32714
|
/** This temporary status is used to mark coordinates for which the conversion has not yet been processed by the backend
|
|
32715
32715
|
* as opposed to other coordinate conversions that may have been resolved otherwise (typically a cache).
|
|
32716
32716
|
* At the completion of the conversion promise no coordinates should have this status.
|
|
32717
|
-
* @deprecated in 5.0. Pending is no longer returned as a status for coordinate conversions.
|
|
32717
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Pending is no longer returned as a status for coordinate conversions.
|
|
32718
32718
|
*/
|
|
32719
32719
|
GeoCoordStatus[GeoCoordStatus["Pending"] = -41556] = "Pending";
|
|
32720
32720
|
})(GeoCoordStatus || (GeoCoordStatus = {}));
|
|
@@ -54856,7 +54856,7 @@ class IModelReadRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
54856
54856
|
async getViewStateData(_iModelToken, _viewDefinitionId, _options) { return this.forward(arguments); }
|
|
54857
54857
|
async readFontJson(_iModelToken) { return this.forward(arguments); } // eslint-disable-line @typescript-eslint/no-deprecated
|
|
54858
54858
|
async getToolTipMessage(_iModelToken, _elementId) { return this.forward(arguments); }
|
|
54859
|
-
/** @deprecated in 3.x
|
|
54859
|
+
/** @deprecated in 3.x - might be removed in next major version. Use ViewStore apis. */
|
|
54860
54860
|
async getViewThumbnail(_iModelToken, _viewId) { return this.forward(arguments); }
|
|
54861
54861
|
async getDefaultViewId(_iModelToken) { return this.forward(arguments); }
|
|
54862
54862
|
async getCustomViewState3dData(_iModelToken, _options) { return this.forward(arguments); }
|
|
@@ -55047,7 +55047,7 @@ const unknownIModelId = (req) => ({ iModelId: "undefined", key: req.parameters[0
|
|
|
55047
55047
|
/** The RPC interface for working with *snapshot* iModels.
|
|
55048
55048
|
* This interface is intended for desktop and mobile products. Web products are discouraged from registering this interface.
|
|
55049
55049
|
* @internal
|
|
55050
|
-
* @deprecated in 5.0. Check [[IpcAppFunctions]] or [[CheckpointConnection]] for replacements.
|
|
55050
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Check [[IpcAppFunctions]] or [[CheckpointConnection]] for replacements.
|
|
55051
55051
|
*/
|
|
55052
55052
|
class SnapshotIModelRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_0__.RpcInterface {
|
|
55053
55053
|
/** Returns the SnapshotIModelRpcInterface client instance for the frontend. */
|
|
@@ -55063,15 +55063,15 @@ class SnapshotIModelRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_
|
|
|
55063
55063
|
NOTE: Please consult the README in this folder for the semantic versioning rules.
|
|
55064
55064
|
===========================================================================================*/
|
|
55065
55065
|
/**
|
|
55066
|
-
* @deprecated in 5.0. Use [[IpcAppFunctions.openSnapshot]] in IPC applications, no replacement for Web applications.
|
|
55066
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[IpcAppFunctions.openSnapshot]] in IPC applications, no replacement for Web applications.
|
|
55067
55067
|
*/
|
|
55068
55068
|
async openFile(_filePath, _opts) { return this.forward(arguments); }
|
|
55069
55069
|
/**
|
|
55070
|
-
* @deprecated in 4.10. Use [[CheckpointConnection.openRemote]].
|
|
55070
|
+
* @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [[CheckpointConnection.openRemote]].
|
|
55071
55071
|
*/
|
|
55072
55072
|
async openRemote(_key, _opts) { return this.forward(arguments); }
|
|
55073
55073
|
/**
|
|
55074
|
-
* @deprecated in 5.0. Use [[IpcAppFunctions.closeIModel]] in IPC applications, no replacement for Web applications.
|
|
55074
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[IpcAppFunctions.closeIModel]] in IPC applications, no replacement for Web applications.
|
|
55075
55075
|
*/
|
|
55076
55076
|
async close(_iModelRpcProps) { return this.forward(arguments); }
|
|
55077
55077
|
}
|
|
@@ -55364,7 +55364,7 @@ var RpcResponseCacheControl;
|
|
|
55364
55364
|
})(RpcResponseCacheControl || (RpcResponseCacheControl = {}));
|
|
55365
55365
|
/** RPC protocol event types.
|
|
55366
55366
|
* @public
|
|
55367
|
-
* @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future.
|
|
55367
|
+
* @deprecated in 3.6 - might be removed in next major version. The RPC system will be significantly refactored (or replaced) in the future.
|
|
55368
55368
|
*/
|
|
55369
55369
|
var RpcProtocolEvent;
|
|
55370
55370
|
(function (RpcProtocolEvent) {
|
|
@@ -55384,7 +55384,7 @@ var RpcProtocolEvent;
|
|
|
55384
55384
|
})(RpcProtocolEvent || (RpcProtocolEvent = {}));
|
|
55385
55385
|
/** The status of an RPC operation request.
|
|
55386
55386
|
* @public
|
|
55387
|
-
* @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future.
|
|
55387
|
+
* @deprecated in 3.6 - might be removed in next major version. The RPC system will be significantly refactored (or replaced) in the future.
|
|
55388
55388
|
*/
|
|
55389
55389
|
var RpcRequestStatus;
|
|
55390
55390
|
(function (RpcRequestStatus) {
|
|
@@ -55404,7 +55404,7 @@ var RpcRequestStatus;
|
|
|
55404
55404
|
RpcRequestStatus[RpcRequestStatus["RequestTimeout"] = 13] = "RequestTimeout";
|
|
55405
55405
|
RpcRequestStatus[RpcRequestStatus["TooManyRequests"] = 14] = "TooManyRequests";
|
|
55406
55406
|
})(RpcRequestStatus || (RpcRequestStatus = {}));
|
|
55407
|
-
/** @public @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future. */
|
|
55407
|
+
/** @public @deprecated in 3.6 - might be removed in next major version. The RPC system will be significantly refactored (or replaced) in the future. */
|
|
55408
55408
|
(function (RpcRequestStatus) {
|
|
55409
55409
|
function isTransientError(status) {
|
|
55410
55410
|
return status === RpcRequestStatus.BadGateway || status === RpcRequestStatus.ServiceUnavailable || status === RpcRequestStatus.GatewayTimeout
|
|
@@ -55414,7 +55414,7 @@ var RpcRequestStatus;
|
|
|
55414
55414
|
})(RpcRequestStatus || (RpcRequestStatus = {}));
|
|
55415
55415
|
/** RPC request event types.
|
|
55416
55416
|
* @public
|
|
55417
|
-
* @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future.
|
|
55417
|
+
* @deprecated in 3.6 - might be removed in next major version. The RPC system will be significantly refactored (or replaced) in the future.
|
|
55418
55418
|
*/
|
|
55419
55419
|
var RpcRequestEvent;
|
|
55420
55420
|
(function (RpcRequestEvent) {
|
|
@@ -55424,7 +55424,7 @@ var RpcRequestEvent;
|
|
|
55424
55424
|
})(RpcRequestEvent || (RpcRequestEvent = {}));
|
|
55425
55425
|
/** RPC content types.
|
|
55426
55426
|
* @public
|
|
55427
|
-
* @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future.
|
|
55427
|
+
* @deprecated in 3.6 - might be removed in next major version. The RPC system will be significantly refactored (or replaced) in the future.
|
|
55428
55428
|
*/
|
|
55429
55429
|
var RpcContentType;
|
|
55430
55430
|
(function (RpcContentType) {
|
|
@@ -55436,7 +55436,7 @@ var RpcContentType;
|
|
|
55436
55436
|
})(RpcContentType || (RpcContentType = {}));
|
|
55437
55437
|
/** Endpoints for RPC protocols.
|
|
55438
55438
|
* @public
|
|
55439
|
-
* @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future.
|
|
55439
|
+
* @deprecated in 3.6 - might be removed in next major version. The RPC system will be significantly refactored (or replaced) in the future.
|
|
55440
55440
|
*/
|
|
55441
55441
|
var RpcEndpoint;
|
|
55442
55442
|
(function (RpcEndpoint) {
|
|
@@ -60082,7 +60082,7 @@ function computeChildTileProps(parent, idProvider, root) {
|
|
|
60082
60082
|
/** Deserializes tile content metadata.
|
|
60083
60083
|
* @throws [[TileReadError]]
|
|
60084
60084
|
* @internal
|
|
60085
|
-
* @deprecated in 4.0. Use decodeTileContentDescription. I think tile agents (or their tests) are using this function.
|
|
60085
|
+
* @deprecated in 4.0 - will not be removed until after 2026-06-13. Use decodeTileContentDescription. I think tile agents (or their tests) are using this function.
|
|
60086
60086
|
*/
|
|
60087
60087
|
function readTileContentDescription(stream, sizeMultiplier, is2d, options, isVolumeClassifier) {
|
|
60088
60088
|
return decodeTileContentDescription({ stream, sizeMultiplier, is2d, options, isVolumeClassifier });
|
|
@@ -60503,7 +60503,7 @@ class SchemaContext {
|
|
|
60503
60503
|
/**
|
|
60504
60504
|
* Adds the given SchemaItem to the the SchemaContext by locating the schema, with the best match of SchemaMatchType.Exact, and
|
|
60505
60505
|
* @param schemaItem The SchemaItem to add
|
|
60506
|
-
* @deprecated in 4.0
|
|
60506
|
+
* @deprecated in 4.0 - will not be removed until after 2026-06-13. Use ecschema-editing package
|
|
60507
60507
|
*/
|
|
60508
60508
|
async addSchemaItem(schemaItem) {
|
|
60509
60509
|
const schema = await this.getSchema(schemaItem.key.schemaKey, _ECObjects__WEBPACK_IMPORTED_MODULE_0__.SchemaMatchType.Exact);
|
|
@@ -64003,7 +64003,7 @@ var SchemaMatchType;
|
|
|
64003
64003
|
(function (SchemaMatchType) {
|
|
64004
64004
|
/*
|
|
64005
64005
|
* Find exact VersionRead, VersionWrite, VersionMinor match as well as Data. NOTE data is not yet matched
|
|
64006
|
-
* @deprecated in 4.10 Use Exact instead.
|
|
64006
|
+
* @deprecated in 4.10 - will not be removed until after 2026-06-13. Use Exact instead.
|
|
64007
64007
|
*/
|
|
64008
64008
|
SchemaMatchType[SchemaMatchType["Identical"] = 0] = "Identical";
|
|
64009
64009
|
/* Find exact VersionRead, VersionWrite, VersionMinor match. */
|
|
@@ -64103,7 +64103,7 @@ function parseSchemaItemType(type) {
|
|
|
64103
64103
|
* @param value The SchemaItemType to stringify.
|
|
64104
64104
|
* @return A string representing the provided SchemaItemType. If the type is not valid, an empty string is returned.
|
|
64105
64105
|
* @beta
|
|
64106
|
-
* @deprecated in 4.6.0 SchemaItemType is a string enum so just use it directly
|
|
64106
|
+
* @deprecated in 4.6.0 - will not be removed until after 2026-06-13. SchemaItemType is a string enum so just use it directly
|
|
64107
64107
|
*/
|
|
64108
64108
|
function schemaItemTypeToString(value) {
|
|
64109
64109
|
return value; // TODO: Remove
|
|
@@ -65523,7 +65523,7 @@ class CustomAttributeClass extends _Class__WEBPACK_IMPORTED_MODULE_2__.ECClass {
|
|
|
65523
65523
|
static get schemaItemType() { return _ECObjects__WEBPACK_IMPORTED_MODULE_0__.SchemaItemType.CustomAttributeClass; }
|
|
65524
65524
|
_appliesTo;
|
|
65525
65525
|
/**
|
|
65526
|
-
* @deprecated in 4.8
|
|
65526
|
+
* @deprecated in 4.8 - will not be removed until after 2026-06-13. Use [[appliesTo]]
|
|
65527
65527
|
* */
|
|
65528
65528
|
get containerType() {
|
|
65529
65529
|
return this.appliesTo;
|
|
@@ -69965,17 +69965,17 @@ class SchemaFormatsProvider {
|
|
|
69965
69965
|
return undefined;
|
|
69966
69966
|
}
|
|
69967
69967
|
// Find the first presentation format that matches the provided unit system.
|
|
69968
|
-
const
|
|
69968
|
+
const unitSystemMatchers = getUnitSystemGroupMatchers(this._unitSystem);
|
|
69969
69969
|
const presentationFormats = kindOfQuantity.presentationFormats;
|
|
69970
|
-
for (const
|
|
69970
|
+
for (const matcher of unitSystemMatchers) {
|
|
69971
69971
|
for (const lazyFormat of presentationFormats) {
|
|
69972
69972
|
const format = await lazyFormat;
|
|
69973
69973
|
const unit = await (format.units && format.units[0][0]);
|
|
69974
69974
|
if (!unit) {
|
|
69975
69975
|
continue;
|
|
69976
69976
|
}
|
|
69977
|
-
const currentUnitSystem = unit.unitSystem;
|
|
69978
|
-
if (currentUnitSystem && currentUnitSystem
|
|
69977
|
+
const currentUnitSystem = await unit.unitSystem;
|
|
69978
|
+
if (currentUnitSystem && matcher(currentUnitSystem)) {
|
|
69979
69979
|
this._formatsRetrieved.add(itemKey.fullName);
|
|
69980
69980
|
return (0,_Metadata_OverrideFormat__WEBPACK_IMPORTED_MODULE_6__.getFormatProps)(format);
|
|
69981
69981
|
}
|
|
@@ -69984,7 +69984,7 @@ class SchemaFormatsProvider {
|
|
|
69984
69984
|
// If no matching presentation format was found, use persistence unit format if it matches unit system.
|
|
69985
69985
|
const persistenceUnit = await kindOfQuantity.persistenceUnit;
|
|
69986
69986
|
const persistenceUnitSystem = await persistenceUnit?.unitSystem;
|
|
69987
|
-
if (persistenceUnitSystem &&
|
|
69987
|
+
if (persistenceUnitSystem && unitSystemMatchers.some((matcher) => matcher(persistenceUnitSystem))) {
|
|
69988
69988
|
this._formatsRetrieved.add(itemKey.fullName);
|
|
69989
69989
|
return getPersistenceUnitFormatProps(persistenceUnit);
|
|
69990
69990
|
}
|
|
@@ -70034,16 +70034,20 @@ class SchemaFormatsProvider {
|
|
|
70034
70034
|
return this.getKindOfQuantityFormatFromSchema(itemKey);
|
|
70035
70035
|
}
|
|
70036
70036
|
}
|
|
70037
|
-
function
|
|
70038
|
-
|
|
70037
|
+
function getUnitSystemGroupMatchers(groupKey) {
|
|
70038
|
+
function createMatcher(name) {
|
|
70039
|
+
const names = Array.isArray(name) ? name : [name];
|
|
70040
|
+
return (unitSystem) => names.some((n) => n === unitSystem.name.toUpperCase());
|
|
70041
|
+
}
|
|
70042
|
+
switch (groupKey) {
|
|
70039
70043
|
case "imperial":
|
|
70040
|
-
return ["IMPERIAL", "USCUSTOM", "INTERNATIONAL", "FINANCE"];
|
|
70044
|
+
return ["IMPERIAL", "USCUSTOM", "INTERNATIONAL", "FINANCE"].map(createMatcher);
|
|
70041
70045
|
case "metric":
|
|
70042
|
-
return ["SI", "METRIC", "INTERNATIONAL", "FINANCE"];
|
|
70046
|
+
return [["SI", "METRIC"], "INTERNATIONAL", "FINANCE"].map(createMatcher);
|
|
70043
70047
|
case "usCustomary":
|
|
70044
|
-
return ["USCUSTOM", "INTERNATIONAL", "FINANCE"];
|
|
70048
|
+
return ["USCUSTOM", "INTERNATIONAL", "FINANCE"].map(createMatcher);
|
|
70045
70049
|
case "usSurvey":
|
|
70046
|
-
return ["USSURVEY", "USCUSTOM", "INTERNATIONAL", "FINANCE"];
|
|
70050
|
+
return ["USSURVEY", "USCUSTOM", "INTERNATIONAL", "FINANCE"].map(createMatcher);
|
|
70047
70051
|
}
|
|
70048
70052
|
return [];
|
|
70049
70053
|
}
|
|
@@ -72061,7 +72065,7 @@ class ECSchemaRpcLocater {
|
|
|
72061
72065
|
* @param _matchType How to match key against candidate schemas
|
|
72062
72066
|
* @param _context The SchemaContext that will control the lifetime of the schema and holds the schema's references, if they exist.
|
|
72063
72067
|
* @throws Error Always throws an error indicating this method is not supported.
|
|
72064
|
-
* @deprecated in 5.0 Use the asynchronous `getSchema` method for schema retrieval.
|
|
72068
|
+
* @deprecated in 5.0. Use the asynchronous `getSchema` method for schema retrieval.
|
|
72065
72069
|
*/
|
|
72066
72070
|
getSchemaSync(_schemaKey, _matchType, _context) {
|
|
72067
72071
|
throw new Error("getSchemaSync is not supported. Use the asynchronous getSchema method instead.");
|
|
@@ -82892,7 +82896,7 @@ class GraphicalEditingScope extends _BriefcaseTxns__WEBPACK_IMPORTED_MODULE_2__.
|
|
|
82892
82896
|
this._cleanup = undefined;
|
|
82893
82897
|
}
|
|
82894
82898
|
}
|
|
82895
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
82899
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
82896
82900
|
dispose() {
|
|
82897
82901
|
this[Symbol.dispose]();
|
|
82898
82902
|
}
|
|
@@ -84305,13 +84309,13 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
84305
84309
|
*/
|
|
84306
84310
|
onClose = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
84307
84311
|
/** The font map for this IModelConnection. Only valid after calling #loadFontMap and waiting for the returned promise to be fulfilled.
|
|
84308
|
-
* @deprecated in 5.0.0. If you need font Ids on the front-end for some reason, write an Ipc method that queries [IModelDb.fonts]($backend).
|
|
84312
|
+
* @deprecated in 5.0.0 - will not be removed until after 2026-06-13. If you need font Ids on the front-end for some reason, write an Ipc method that queries [IModelDb.fonts]($backend).
|
|
84309
84313
|
*/
|
|
84310
84314
|
fontMap; // eslint-disable-line @typescript-eslint/no-deprecated
|
|
84311
84315
|
_schemaContext;
|
|
84312
84316
|
/** Load the FontMap for this IModelConnection.
|
|
84313
84317
|
* @returns Returns a Promise<FontMap> that is fulfilled when the FontMap member of this IModelConnection is valid.
|
|
84314
|
-
* @deprecated in 5.0.0. If you need font Ids on the front-end for some reason, write an Ipc method that queries [IModelDb.fonts]($backend).
|
|
84318
|
+
* @deprecated in 5.0.0 - will not be removed until after 2026-06-13. If you need font Ids on the front-end for some reason, write an Ipc method that queries [IModelDb.fonts]($backend).
|
|
84315
84319
|
*/
|
|
84316
84320
|
async loadFontMap() {
|
|
84317
84321
|
if (undefined === this.fontMap) { // eslint-disable-line @typescript-eslint/no-deprecated
|
|
@@ -84432,7 +84436,7 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
84432
84436
|
return this.isOpen ? this._snapRpc.request(props) : { status: 2 };
|
|
84433
84437
|
}
|
|
84434
84438
|
/** @internal
|
|
84435
|
-
* @deprecated in 4.8. Use AccuSnap.doSnapRequest.
|
|
84439
|
+
* @deprecated in 4.8 - will not be removed until after 2026-06-13. Use AccuSnap.doSnapRequest.
|
|
84436
84440
|
*/
|
|
84437
84441
|
async requestSnap(props) {
|
|
84438
84442
|
return this[_common_internal_Symbols__WEBPACK_IMPORTED_MODULE_13__._requestSnap](props);
|
|
@@ -84473,7 +84477,7 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
84473
84477
|
return _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelReadRpcInterface.getClientForRouting(this.routingContext.token).getMassProperties(this.getRpcProps(), requestProps);
|
|
84474
84478
|
}
|
|
84475
84479
|
/** Request mass properties for multiple elements from the backend.
|
|
84476
|
-
* @deprecated in 4.11. Use [[IModelConnection.getMassProperties]].
|
|
84480
|
+
* @deprecated in 4.11 - will not be removed until after 2026-06-13. Use [[IModelConnection.getMassProperties]].
|
|
84477
84481
|
*/
|
|
84478
84482
|
async getMassPropertiesPerCandidate(requestProps) {
|
|
84479
84483
|
return _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelReadRpcInterface.getClientForRouting(this.routingContext.token).getMassPropertiesPerCandidate(this.getRpcProps(), requestProps);
|
|
@@ -84792,7 +84796,7 @@ class SnapshotConnection extends IModelConnection {
|
|
|
84792
84796
|
}
|
|
84793
84797
|
/** Open an IModelConnection to a remote read-only snapshot iModel from a key that will be resolved by the backend.
|
|
84794
84798
|
* @note This method is intended for web applications.
|
|
84795
|
-
* @deprecated in 4.10. Use [[CheckpointConnection.openRemote]].
|
|
84799
|
+
* @deprecated in 4.10 - will not be removed until after 2026-06-13. Use [[CheckpointConnection.openRemote]].
|
|
84796
84800
|
*/
|
|
84797
84801
|
static async openRemote(fileKey) {
|
|
84798
84802
|
const routingContext = _IModelRoutingContext__WEBPACK_IMPORTED_MODULE_6__.IModelRoutingContext.current || _IModelRoutingContext__WEBPACK_IMPORTED_MODULE_6__.IModelRoutingContext.default;
|
|
@@ -85199,7 +85203,7 @@ class SnapshotConnection extends IModelConnection {
|
|
|
85199
85203
|
* There is no guarantee that this view will be suitable for the purposes of any other applications.
|
|
85200
85204
|
* Most applications should ignore the default view and instead create a [[ViewState]] that fits their own requirements using APIs like [[ViewCreator3d]].
|
|
85201
85205
|
* @returns the Id of the default view as defined in the iModel's property table, or an invalid ID if no default view is defined.
|
|
85202
|
-
* @deprecated in 4.2. Create a ViewState to your own specifications.
|
|
85206
|
+
* @deprecated in 4.2 - will not be removed until after 2026-06-13. Create a ViewState to your own specifications.
|
|
85203
85207
|
*/
|
|
85204
85208
|
async queryDefaultViewId() {
|
|
85205
85209
|
const iModel = this._iModel;
|
|
@@ -85584,7 +85588,7 @@ class IpcApp {
|
|
|
85584
85588
|
throw Object.assign(new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.BackendError(err.errorNumber, err.iTwinErrorId.key, err.message, err.loggingMetadata), trimErr);
|
|
85585
85589
|
}
|
|
85586
85590
|
/** @internal
|
|
85587
|
-
* @deprecated in 4.8. Use [[makeIpcProxy]] for a type-safe interface.
|
|
85591
|
+
* @deprecated in 4.8 - will not be removed until after 2026-06-13. Use [[makeIpcProxy]] for a type-safe interface.
|
|
85588
85592
|
*/
|
|
85589
85593
|
static async callIpcChannel(channelName, methodName, ...args) {
|
|
85590
85594
|
return this[_common_internal_Symbols__WEBPACK_IMPORTED_MODULE_2__._callIpcChannel](channelName, methodName, ...args);
|
|
@@ -88777,7 +88781,7 @@ class HiliteSet {
|
|
|
88777
88781
|
/** Toggle the hilited state of one or more elements.
|
|
88778
88782
|
* @param arg the ID(s) of the elements whose state is to be toggled.
|
|
88779
88783
|
* @param onOff True to add the elements to the hilited set, false to remove them.
|
|
88780
|
-
* @deprecated in 5.0. Use [[add]], [[remove]], [[replace]] instead.
|
|
88784
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[add]], [[remove]], [[replace]] instead.
|
|
88781
88785
|
*/
|
|
88782
88786
|
setHilite(arg, onOff) {
|
|
88783
88787
|
if (onOff) {
|
|
@@ -88845,14 +88849,14 @@ class SelectionSet {
|
|
|
88845
88849
|
}
|
|
88846
88850
|
/** Return true if elemId is in this `SelectionSet`.
|
|
88847
88851
|
* @see [[isSelected]]
|
|
88848
|
-
* @deprecated in 5.0. Use `SelectionSet.elements.has(elemId)` instead.
|
|
88852
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `SelectionSet.elements.has(elemId)` instead.
|
|
88849
88853
|
*/
|
|
88850
88854
|
has(elemId) {
|
|
88851
88855
|
return !!elemId && this.elements.has(elemId);
|
|
88852
88856
|
}
|
|
88853
88857
|
/** Query whether an Id is in the selection set.
|
|
88854
88858
|
* @see [[has]]
|
|
88855
|
-
* @deprecated in 5.0. Use `SelectionSet.elements.has(elemId)` instead.
|
|
88859
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `SelectionSet.elements.has(elemId)` instead.
|
|
88856
88860
|
*/
|
|
88857
88861
|
isSelected(elemId) {
|
|
88858
88862
|
return !!elemId && this.elements.has(elemId);
|
|
@@ -93613,7 +93617,7 @@ class ViewState extends _EntityState__WEBPACK_IMPORTED_MODULE_5__.ElementState {
|
|
|
93613
93617
|
/** Execute a function against each [[TileTreeReference]] associated with this view.
|
|
93614
93618
|
* This may include tile trees not associated with any [[GeometricModelState]] - e.g., context reality data.
|
|
93615
93619
|
* @note This method is inefficient (iteration cannot be aborted) and awkward (callback cannot be async nor return a value). Prefer to iterate using [[getTileTreeRefs]].
|
|
93616
|
-
* @deprecated in 5.0. Use [[getTileTreeRefs]] instead.
|
|
93620
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[getTileTreeRefs]] instead.
|
|
93617
93621
|
*/
|
|
93618
93622
|
forEachTileTreeRef(func) {
|
|
93619
93623
|
for (const ref of this.getModelTreeRefs()) {
|
|
@@ -96656,7 +96660,7 @@ class Viewport {
|
|
|
96656
96660
|
this.onDisposed.raiseEvent(this);
|
|
96657
96661
|
this.detachFromView();
|
|
96658
96662
|
}
|
|
96659
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
96663
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
96660
96664
|
dispose() {
|
|
96661
96665
|
this[Symbol.dispose]();
|
|
96662
96666
|
}
|
|
@@ -97015,7 +97019,7 @@ class Viewport {
|
|
|
97015
97019
|
}
|
|
97016
97020
|
}
|
|
97017
97021
|
/** Apply a function to every tile tree reference associated with the map layers displayed by this viewport.
|
|
97018
|
-
* @deprecated in 5.0. Use [[mapTileTreeRefs]] instead.
|
|
97022
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[mapTileTreeRefs]] instead.
|
|
97019
97023
|
*/
|
|
97020
97024
|
forEachMapTreeRef(func) {
|
|
97021
97025
|
if (this._mapTiledGraphicsProvider)
|
|
@@ -97027,7 +97031,7 @@ class Viewport {
|
|
|
97027
97031
|
}
|
|
97028
97032
|
;
|
|
97029
97033
|
/** Apply a function to every [[TileTreeReference]] displayed by this viewport.
|
|
97030
|
-
* @deprecated in 5.0. Use [[getTileTreeRefs]] instead.
|
|
97034
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [[getTileTreeRefs]] instead.
|
|
97031
97035
|
*/
|
|
97032
97036
|
forEachTileTreeRef(func) {
|
|
97033
97037
|
for (const ref of this.getTileTreeRefs()) {
|
|
@@ -107950,8 +107954,20 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
107950
107954
|
/* eslint-disable sort-imports */
|
|
107951
107955
|
|
|
107952
107956
|
const globalSymbol = Symbol.for("itwin.core.frontend.globals");
|
|
107953
|
-
if (globalThis[globalSymbol])
|
|
107954
|
-
|
|
107957
|
+
if (globalThis[globalSymbol]) {
|
|
107958
|
+
// Get the stack trace from when the module was first loaded
|
|
107959
|
+
const firstLoadStack = globalThis[globalSymbol].stack;
|
|
107960
|
+
const error = new Error("Multiple @itwin/core-frontend imports detected! This may happen if:\n" +
|
|
107961
|
+
"- You have multiple versions of the package installed\n" +
|
|
107962
|
+
"- Your bundling configuration is incorrect\n" +
|
|
107963
|
+
"- You're importing from both ESM and CommonJS versions");
|
|
107964
|
+
/* eslint-disable no-console */
|
|
107965
|
+
console.error("Duplicate @itwin/core-frontend import:", error);
|
|
107966
|
+
console.error("First import occurred at:", firstLoadStack);
|
|
107967
|
+
console.error("Current import occurred at:", error.stack);
|
|
107968
|
+
/* eslint-enable no-console */
|
|
107969
|
+
throw error;
|
|
107970
|
+
}
|
|
107955
107971
|
// BEGIN GENERATED CODE
|
|
107956
107972
|
|
|
107957
107973
|
|
|
@@ -108221,6 +108237,7 @@ const getExtensionApi = (_id) => {
|
|
|
108221
108237
|
};
|
|
108222
108238
|
};
|
|
108223
108239
|
globalThis[globalSymbol] = {
|
|
108240
|
+
stack: new Error().stack,
|
|
108224
108241
|
getExtensionApi,
|
|
108225
108242
|
};
|
|
108226
108243
|
|
|
@@ -110001,7 +110018,7 @@ class AtmosphereUniforms {
|
|
|
110001
110018
|
return true;
|
|
110002
110019
|
}
|
|
110003
110020
|
[Symbol.dispose]() { }
|
|
110004
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
110021
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
110005
110022
|
dispose() {
|
|
110006
110023
|
this[Symbol.dispose]();
|
|
110007
110024
|
}
|
|
@@ -110087,7 +110104,7 @@ class BuffersContainer {
|
|
|
110087
110104
|
this._context = context;
|
|
110088
110105
|
this._vao = new VAOHandle(this._context);
|
|
110089
110106
|
}
|
|
110090
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
110107
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
110091
110108
|
dispose() {
|
|
110092
110109
|
this[Symbol.dispose]();
|
|
110093
110110
|
}
|
|
@@ -110149,7 +110166,7 @@ class VAOHandle {
|
|
|
110149
110166
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(!this.isDisposed);
|
|
110150
110167
|
}
|
|
110151
110168
|
get isDisposed() { return this._arrayObject === undefined; }
|
|
110152
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
110169
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
110153
110170
|
dispose() {
|
|
110154
110171
|
this[Symbol.dispose]();
|
|
110155
110172
|
}
|
|
@@ -112873,7 +112890,7 @@ class ClippingProgram {
|
|
|
112873
112890
|
[Symbol.dispose]() {
|
|
112874
112891
|
this._program = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this._program);
|
|
112875
112892
|
}
|
|
112876
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
112893
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
112877
112894
|
dispose() {
|
|
112878
112895
|
this[Symbol.dispose]();
|
|
112879
112896
|
}
|
|
@@ -124927,7 +124944,7 @@ class ShaderProgram {
|
|
|
124927
124944
|
this._status = 2 /* CompileStatus.Uncompiled */;
|
|
124928
124945
|
}
|
|
124929
124946
|
}
|
|
124930
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
124947
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
124931
124948
|
dispose() {
|
|
124932
124949
|
this[Symbol.dispose]();
|
|
124933
124950
|
}
|
|
@@ -125396,7 +125413,7 @@ class ShaderProgramExecutor {
|
|
|
125396
125413
|
ShaderProgramExecutor.freeParams();
|
|
125397
125414
|
this._isDisposed = true;
|
|
125398
125415
|
}
|
|
125399
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
125416
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
125400
125417
|
dispose() {
|
|
125401
125418
|
this[Symbol.dispose]();
|
|
125402
125419
|
}
|
|
@@ -129014,7 +129031,7 @@ class SingularTechnique {
|
|
|
129014
129031
|
[Symbol.dispose]() {
|
|
129015
129032
|
this.program[Symbol.dispose]();
|
|
129016
129033
|
}
|
|
129017
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
129034
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
129018
129035
|
dispose() {
|
|
129019
129036
|
this[Symbol.dispose]();
|
|
129020
129037
|
}
|
|
@@ -129071,7 +129088,7 @@ class VariedTechnique {
|
|
|
129071
129088
|
this._clippingPrograms.length = 0;
|
|
129072
129089
|
this._isDisposed = true;
|
|
129073
129090
|
}
|
|
129074
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
129091
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
129075
129092
|
dispose() {
|
|
129076
129093
|
this[Symbol.dispose]();
|
|
129077
129094
|
}
|
|
@@ -129778,7 +129795,7 @@ class Techniques {
|
|
|
129778
129795
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(tech);
|
|
129779
129796
|
this._list.length = 0;
|
|
129780
129797
|
}
|
|
129781
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
129798
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
129782
129799
|
dispose() {
|
|
129783
129800
|
this[Symbol.dispose]();
|
|
129784
129801
|
}
|
|
@@ -145047,6 +145064,7 @@ class SpatialRefs {
|
|
|
145047
145064
|
__webpack_require__.r(__webpack_exports__);
|
|
145048
145065
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
145049
145066
|
/* harmony export */ RealityModelTileTree: () => (/* binding */ RealityModelTileTree),
|
|
145067
|
+
/* harmony export */ RealityModelTileTreeProps: () => (/* binding */ RealityModelTileTreeProps),
|
|
145050
145068
|
/* harmony export */ RealityModelTileUtils: () => (/* binding */ RealityModelTileUtils),
|
|
145051
145069
|
/* harmony export */ RealityTileRegion: () => (/* binding */ RealityTileRegion),
|
|
145052
145070
|
/* harmony export */ RealityTreeReference: () => (/* binding */ RealityTreeReference),
|
|
@@ -145257,22 +145275,35 @@ var SMTextureType;
|
|
|
145257
145275
|
SMTextureType[SMTextureType["Embedded"] = 1] = "Embedded";
|
|
145258
145276
|
SMTextureType[SMTextureType["Streaming"] = 2] = "Streaming";
|
|
145259
145277
|
})(SMTextureType || (SMTextureType = {}));
|
|
145278
|
+
/** Exported strictly for tests. */
|
|
145260
145279
|
class RealityModelTileTreeProps {
|
|
145261
145280
|
tilesetToEcef;
|
|
145262
145281
|
location;
|
|
145263
145282
|
tilesetJson;
|
|
145264
145283
|
doDrapeBackgroundMap = false;
|
|
145265
|
-
|
|
145284
|
+
dataSource;
|
|
145266
145285
|
yAxisUp = false;
|
|
145267
145286
|
root;
|
|
145287
|
+
maximumScreenSpaceError;
|
|
145288
|
+
get usesGeometricError() {
|
|
145289
|
+
return undefined !== this.maximumScreenSpaceError;
|
|
145290
|
+
}
|
|
145268
145291
|
constructor(json, root, rdSource, tilesetToDbTransform, tilesetToEcef) {
|
|
145269
145292
|
this.tilesetToEcef = tilesetToEcef;
|
|
145270
145293
|
this.tilesetJson = root;
|
|
145271
|
-
this.
|
|
145294
|
+
this.dataSource = rdSource;
|
|
145272
145295
|
this.location = tilesetToDbTransform;
|
|
145273
145296
|
this.doDrapeBackgroundMap = (json.root && json.root.SMMasterHeader && SMTextureType.Streaming === json.root.SMMasterHeader.IsTextured);
|
|
145274
|
-
if (json.asset.gltfUpAxis === undefined || json.asset.gltfUpAxis === "y" || json.asset.gltfUpAxis === "Y")
|
|
145297
|
+
if (json.asset.gltfUpAxis === undefined || json.asset.gltfUpAxis === "y" || json.asset.gltfUpAxis === "Y") {
|
|
145275
145298
|
this.yAxisUp = true;
|
|
145299
|
+
}
|
|
145300
|
+
const maxSSE = json.asset.extras?.maximumScreenSpaceError;
|
|
145301
|
+
if (typeof maxSSE === "number") {
|
|
145302
|
+
this.maximumScreenSpaceError = json.asset.extras?.maximumScreenSpaceError;
|
|
145303
|
+
}
|
|
145304
|
+
else if (rdSource.usesGeometricError) {
|
|
145305
|
+
this.maximumScreenSpaceError = rdSource.maximumScreenSpaceError ?? 1;
|
|
145306
|
+
}
|
|
145276
145307
|
}
|
|
145277
145308
|
}
|
|
145278
145309
|
class RealityModelTileTreeParams {
|
|
@@ -145301,7 +145332,7 @@ class RealityModelTileTreeParams {
|
|
|
145301
145332
|
id: "",
|
|
145302
145333
|
// If not specified explicitly, additiveRefinement is inherited from parent tile.
|
|
145303
145334
|
additiveRefinement: undefined !== refine ? "ADD" === refine : undefined,
|
|
145304
|
-
usesGeometricError: loader.tree.
|
|
145335
|
+
usesGeometricError: loader.tree.usesGeometricError,
|
|
145305
145336
|
});
|
|
145306
145337
|
this.baseUrl = baseUrl;
|
|
145307
145338
|
}
|
|
@@ -145433,7 +145464,7 @@ class RealityModelTileLoader extends _tile_internal__WEBPACK_IMPORTED_MODULE_8__
|
|
|
145433
145464
|
get clipLowResolutionTiles() { return true; }
|
|
145434
145465
|
get viewFlagOverrides() { return this._viewFlagOverrides; }
|
|
145435
145466
|
get maximumScreenSpaceError() {
|
|
145436
|
-
return this.tree.
|
|
145467
|
+
return this.tree.maximumScreenSpaceError;
|
|
145437
145468
|
}
|
|
145438
145469
|
async loadChildren(tile) {
|
|
145439
145470
|
const props = await this.getChildrenProps(tile);
|
|
@@ -145462,7 +145493,7 @@ class RealityModelTileLoader extends _tile_internal__WEBPACK_IMPORTED_MODULE_8__
|
|
|
145462
145493
|
transformToRoot: foundChild.transformToRoot,
|
|
145463
145494
|
// If not specified explicitly, additiveRefinement is inherited from parent tile.
|
|
145464
145495
|
additiveRefinement: undefined !== refine ? refine === "ADD" : undefined,
|
|
145465
|
-
usesGeometricError: this.tree.
|
|
145496
|
+
usesGeometricError: this.tree.usesGeometricError,
|
|
145466
145497
|
}));
|
|
145467
145498
|
}
|
|
145468
145499
|
}
|
|
@@ -145477,7 +145508,7 @@ class RealityModelTileLoader extends _tile_internal__WEBPACK_IMPORTED_MODULE_8__
|
|
|
145477
145508
|
const foundChild = await this.findTileInJson(this.tree.tilesetJson, tile.contentId, "");
|
|
145478
145509
|
if (undefined === foundChild || undefined === foundChild.json.content || isCanceled())
|
|
145479
145510
|
return undefined;
|
|
145480
|
-
return this.tree.
|
|
145511
|
+
return this.tree.dataSource.getTileContent(getUrl(foundChild.json.content));
|
|
145481
145512
|
}
|
|
145482
145513
|
async findTileInJson(tilesetJson, id, parentId, transformToRoot) {
|
|
145483
145514
|
if (id.length === 0)
|
|
@@ -145498,7 +145529,7 @@ class RealityModelTileLoader extends _tile_internal__WEBPACK_IMPORTED_MODULE_8__
|
|
|
145498
145529
|
if (separatorIndex >= 0) {
|
|
145499
145530
|
return this.findTileInJson(foundChild, id.substring(separatorIndex + 1), thisParentId, transformToRoot);
|
|
145500
145531
|
}
|
|
145501
|
-
tilesetJson.children[childIndex] = await expandSubTree(foundChild, this.tree.
|
|
145532
|
+
tilesetJson.children[childIndex] = await expandSubTree(foundChild, this.tree.dataSource);
|
|
145502
145533
|
return new FindChildResult(thisParentId, tilesetJson.children[childIndex], transformToRoot);
|
|
145503
145534
|
}
|
|
145504
145535
|
}
|
|
@@ -145809,7 +145840,7 @@ class RealityTreeReference extends RealityModelTileTree.Reference {
|
|
|
145809
145840
|
return undefined;
|
|
145810
145841
|
const strings = [];
|
|
145811
145842
|
const loader = tree.loader;
|
|
145812
|
-
const type = loader.tree.
|
|
145843
|
+
const type = loader.tree.dataSource.realityDataType;
|
|
145813
145844
|
// If a type is specified, display it
|
|
145814
145845
|
if (type !== undefined) {
|
|
145815
145846
|
// Case insensitive
|
|
@@ -145840,7 +145871,7 @@ class RealityTreeReference extends RealityModelTileTree.Reference {
|
|
|
145840
145871
|
div.innerHTML = strings.join("<br>");
|
|
145841
145872
|
return div;
|
|
145842
145873
|
}
|
|
145843
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
145874
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
145844
145875
|
addLogoCards(cards) {
|
|
145845
145876
|
if (this._rdSourceKey.provider === _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.CesiumIonAsset && !cards.dataset.openStreetMapLogoCard) {
|
|
145846
145877
|
cards.dataset.openStreetMapLogoCard = "true";
|
|
@@ -147549,7 +147580,7 @@ class ArcGISMapLayerImageryProvider extends _tile_internal__WEBPACK_IMPORTED_MOD
|
|
|
147549
147580
|
}
|
|
147550
147581
|
}
|
|
147551
147582
|
}
|
|
147552
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
147583
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
147553
147584
|
addLogoCards(cards) {
|
|
147554
147585
|
if (!cards.dataset.arcGisLogoCard) {
|
|
147555
147586
|
cards.dataset.arcGisLogoCard = "true";
|
|
@@ -147779,7 +147810,7 @@ class AzureMapsLayerImageryProvider extends _tile_internal__WEBPACK_IMPORTED_MOD
|
|
|
147779
147810
|
return "";
|
|
147780
147811
|
return `${this._settings.url}&${this._settings.accessKey.key}=${this._settings.accessKey.value}&api-version=2.0&zoom=${zoom}&x=${x}&y=${y}`;
|
|
147781
147812
|
}
|
|
147782
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
147813
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
147783
147814
|
addLogoCards(cards) {
|
|
147784
147815
|
if (!cards.dataset.azureMapsLogoCard) {
|
|
147785
147816
|
cards.dataset.azureMapsLogoCard = "true";
|
|
@@ -147946,7 +147977,7 @@ class BingMapsImageryLayerProvider extends _tile_internal__WEBPACK_IMPORTED_MODU
|
|
|
147946
147977
|
}
|
|
147947
147978
|
return matchingAttributions;
|
|
147948
147979
|
}
|
|
147949
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
147980
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
147950
147981
|
addLogoCards(cards, vp) {
|
|
147951
147982
|
const tiles = _IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.tileAdmin.getTilesForUser(vp)?.selected;
|
|
147952
147983
|
const matchingAttributions = this.getMatchingAttributions(tiles);
|
|
@@ -148403,7 +148434,7 @@ class MapBoxLayerImageryProvider extends _tile_internal__WEBPACK_IMPORTED_MODULE
|
|
|
148403
148434
|
url = url.concat(`?${this._settings.accessKey.key}=${this._settings.accessKey.value}`);
|
|
148404
148435
|
return url;
|
|
148405
148436
|
}
|
|
148406
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
148437
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
148407
148438
|
addLogoCards(cards) {
|
|
148408
148439
|
if (!cards.dataset.mapboxLogoCard) {
|
|
148409
148440
|
cards.dataset.mapboxLogoCard = "true";
|
|
@@ -150085,7 +150116,7 @@ class AngleDescription extends _FormattedQuantityDescription__WEBPACK_IMPORTED_M
|
|
|
150085
150116
|
}
|
|
150086
150117
|
get formatterQuantityType() { return _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_1__.QuantityType.Angle; }
|
|
150087
150118
|
/**
|
|
150088
|
-
* @deprecated in 5.0. Use the `kindOfQuantityName` property instead.
|
|
150119
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `kindOfQuantityName` property instead.
|
|
150089
150120
|
*/
|
|
150090
150121
|
get quantityType() { return "Angle"; }
|
|
150091
150122
|
get parseError() { return _IModelApp__WEBPACK_IMPORTED_MODULE_0__.IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseAngle"); }
|
|
@@ -150127,7 +150158,6 @@ class FormattedQuantityDescription extends _itwin_appui_abstract__WEBPACK_IMPORT
|
|
|
150127
150158
|
_parserSpec;
|
|
150128
150159
|
constructor(argsOrName, displayLabel, iconSpec, kindOfQuantityName) {
|
|
150129
150160
|
if (typeof argsOrName === "string") {
|
|
150130
|
-
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
|
|
150131
150161
|
super(argsOrName, displayLabel, iconSpec, kindOfQuantityName);
|
|
150132
150162
|
}
|
|
150133
150163
|
else {
|
|
@@ -150219,7 +150249,7 @@ class LengthDescription extends _FormattedQuantityDescription__WEBPACK_IMPORTED_
|
|
|
150219
150249
|
}
|
|
150220
150250
|
get formatterQuantityType() { return _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_1__.QuantityType.Length; }
|
|
150221
150251
|
/**
|
|
150222
|
-
* @deprecated in 5.0. Use the `kindOfQuantityName` property instead.
|
|
150252
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `kindOfQuantityName` property instead.
|
|
150223
150253
|
*/
|
|
150224
150254
|
get quantityType() { return "Length"; }
|
|
150225
150255
|
get parseError() { return _IModelApp__WEBPACK_IMPORTED_MODULE_0__.IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseLength"); }
|
|
@@ -150240,7 +150270,7 @@ class SurveyLengthDescription extends _FormattedQuantityDescription__WEBPACK_IMP
|
|
|
150240
150270
|
}
|
|
150241
150271
|
get formatterQuantityType() { return _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_1__.QuantityType.LengthSurvey; }
|
|
150242
150272
|
/**
|
|
150243
|
-
* @deprecated in 5.0. Use the `kindOfQuantityName` property instead.
|
|
150273
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `kindOfQuantityName` property instead.
|
|
150244
150274
|
*/
|
|
150245
150275
|
get quantityType() { return "LengthSurvey"; }
|
|
150246
150276
|
get parseError() { return _IModelApp__WEBPACK_IMPORTED_MODULE_0__.IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseLength"); }
|
|
@@ -150261,7 +150291,7 @@ class EngineeringLengthDescription extends _FormattedQuantityDescription__WEBPAC
|
|
|
150261
150291
|
}
|
|
150262
150292
|
get formatterQuantityType() { return _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_1__.QuantityType.LengthEngineering; }
|
|
150263
150293
|
/**
|
|
150264
|
-
* @deprecated in 5.0. Use the `kindOfQuantityName` property instead.
|
|
150294
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `kindOfQuantityName` property instead.
|
|
150265
150295
|
*/
|
|
150266
150296
|
get quantityType() { return "LengthEngineering"; }
|
|
150267
150297
|
get parseError() { return _IModelApp__WEBPACK_IMPORTED_MODULE_0__.IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseLength"); }
|
|
@@ -152115,7 +152145,7 @@ class Decorations {
|
|
|
152115
152145
|
this.viewOverlay = undefined;
|
|
152116
152146
|
this.normal = undefined;
|
|
152117
152147
|
}
|
|
152118
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
152148
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
152119
152149
|
dispose() {
|
|
152120
152150
|
this[Symbol.dispose]();
|
|
152121
152151
|
}
|
|
@@ -152416,7 +152446,7 @@ class GraphicBranch {
|
|
|
152416
152446
|
[Symbol.dispose]() {
|
|
152417
152447
|
this.clear();
|
|
152418
152448
|
}
|
|
152419
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
152449
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
152420
152450
|
dispose() {
|
|
152421
152451
|
this[Symbol.dispose]();
|
|
152422
152452
|
}
|
|
@@ -158032,7 +158062,7 @@ class Tile {
|
|
|
158032
158062
|
this._state = 5 /* TileState.Abandoned */;
|
|
158033
158063
|
this.disposeChildren();
|
|
158034
158064
|
}
|
|
158035
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
158065
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
158036
158066
|
dispose() {
|
|
158037
158067
|
this[Symbol.dispose]();
|
|
158038
158068
|
}
|
|
@@ -160693,7 +160723,7 @@ class TileTree {
|
|
|
160693
160723
|
this._isDisposed = true;
|
|
160694
160724
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.rootTile);
|
|
160695
160725
|
}
|
|
160696
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
160726
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
160697
160727
|
dispose() {
|
|
160698
160728
|
this[Symbol.dispose]();
|
|
160699
160729
|
}
|
|
@@ -161015,7 +161045,7 @@ class TileTreeReference /* implements RenderMemory.Consumer */ {
|
|
|
161015
161045
|
* @beta
|
|
161016
161046
|
*/
|
|
161017
161047
|
get planarClipMaskPriority() { return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.PlanarClipMaskPriority.DesignModel; }
|
|
161018
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
161048
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
161019
161049
|
addLogoCards(_cards, _vp) { }
|
|
161020
161050
|
/** Add attribution logo cards for the tile tree source logo cards to the viewport's logo div.
|
|
161021
161051
|
* @beta
|
|
@@ -161342,6 +161372,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
161342
161372
|
/* harmony export */ QuadId: () => (/* reexport safe */ _map_QuadId__WEBPACK_IMPORTED_MODULE_2__.QuadId),
|
|
161343
161373
|
/* harmony export */ ReadonlyTileUserSet: () => (/* reexport safe */ _internal_tile_TileUserSet__WEBPACK_IMPORTED_MODULE_31__.ReadonlyTileUserSet),
|
|
161344
161374
|
/* harmony export */ RealityModelTileTree: () => (/* reexport safe */ _internal_tile_RealityModelTileTree__WEBPACK_IMPORTED_MODULE_78__.RealityModelTileTree),
|
|
161375
|
+
/* harmony export */ RealityModelTileTreeProps: () => (/* reexport safe */ _internal_tile_RealityModelTileTree__WEBPACK_IMPORTED_MODULE_78__.RealityModelTileTreeProps),
|
|
161345
161376
|
/* harmony export */ RealityModelTileUtils: () => (/* reexport safe */ _internal_tile_RealityModelTileTree__WEBPACK_IMPORTED_MODULE_78__.RealityModelTileUtils),
|
|
161346
161377
|
/* harmony export */ RealityTile: () => (/* reexport safe */ _RealityTile__WEBPACK_IMPORTED_MODULE_6__.RealityTile),
|
|
161347
161378
|
/* harmony export */ RealityTileDrawArgs: () => (/* reexport safe */ _internal_tile_RealityTileDrawArgs__WEBPACK_IMPORTED_MODULE_10__.RealityTileDrawArgs),
|
|
@@ -161982,7 +162013,7 @@ class CesiumTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_8__.Terra
|
|
|
161982
162013
|
this._assetId = opts.dataSource || _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.CesiumTerrainAssetId.Default;
|
|
161983
162014
|
this._tokenTimeOut = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeTimePoint.now().plus(CesiumTerrainProvider._tokenTimeoutInterval);
|
|
161984
162015
|
}
|
|
161985
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
162016
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
161986
162017
|
addLogoCards(cards) {
|
|
161987
162018
|
if (cards.dataset.cesiumIonLogoCard)
|
|
161988
162019
|
return;
|
|
@@ -162602,7 +162633,7 @@ class ImageryMapTileTree extends _internal__WEBPACK_IMPORTED_MODULE_4__.RealityT
|
|
|
162602
162633
|
this._rootTile = new ImageryMapTile(params.rootTile, this, rootQuadId, this.getTileRectangle(rootQuadId));
|
|
162603
162634
|
}
|
|
162604
162635
|
get tilingScheme() { return this._imageryLoader.imageryProvider.tilingScheme; }
|
|
162605
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
162636
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
162606
162637
|
addLogoCards(cards, vp) {
|
|
162607
162638
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
162608
162639
|
this._imageryLoader.addLogoCards(cards, vp);
|
|
@@ -162656,7 +162687,7 @@ class ImageryTileLoader extends _internal__WEBPACK_IMPORTED_MODULE_4__.RealityTi
|
|
|
162656
162687
|
get maxDepth() { return this._imageryProvider.maximumZoomLevel; }
|
|
162657
162688
|
get minDepth() { return this._imageryProvider.minimumZoomLevel; }
|
|
162658
162689
|
get priority() { return _internal__WEBPACK_IMPORTED_MODULE_4__.TileLoadPriority.Map; }
|
|
162659
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
162690
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
162660
162691
|
addLogoCards(cards, vp) {
|
|
162661
162692
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
162662
162693
|
this._imageryProvider.addLogoCards(cards, vp);
|
|
@@ -163561,7 +163592,7 @@ class MapLayerImageryProvider {
|
|
|
163561
163592
|
});
|
|
163562
163593
|
}
|
|
163563
163594
|
get tilingScheme() { return this.useGeographicTilingScheme ? this._geographicTilingScheme : this._mercatorTilingScheme; }
|
|
163564
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
163595
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
163565
163596
|
addLogoCards(_cards, _viewport) { }
|
|
163566
163597
|
/**
|
|
163567
163598
|
* Add attribution logo cards for the data supplied by this provider to the [[Viewport]]'s logo div.
|
|
@@ -165914,7 +165945,7 @@ class MapTileTreeReference extends _internal__WEBPACK_IMPORTED_MODULE_7__.TileTr
|
|
|
165914
165945
|
}
|
|
165915
165946
|
return info;
|
|
165916
165947
|
}
|
|
165917
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
165948
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
165918
165949
|
addLogoCards(cards, vp) {
|
|
165919
165950
|
const tree = this.treeOwner.tileTree;
|
|
165920
165951
|
if (tree) {
|
|
@@ -166552,7 +166583,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
166552
166583
|
* @public
|
|
166553
166584
|
*/
|
|
166554
166585
|
class TerrainMeshProvider {
|
|
166555
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
166586
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
166556
166587
|
addLogoCards(_cards, _vp) { }
|
|
166557
166588
|
/** Add attribution logo cards for the terrain data supplied by this provider to the [[Viewport]]'s logo div.
|
|
166558
166589
|
* For example, a provider that produces meshes from [Bing Maps](https://docs.microsoft.com/en-us/bingmaps/rest-services/elevations/) would be required to
|
|
@@ -181549,7 +181580,7 @@ class Geometry {
|
|
|
181549
181580
|
static largeCoordinateResult = 1.0e13;
|
|
181550
181581
|
/**
|
|
181551
181582
|
* Numeric value that may considered infinite for metric coordinates.
|
|
181552
|
-
* @deprecated in 4.x. Use [[largeCoordinateResult]].
|
|
181583
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Use [[largeCoordinateResult]].
|
|
181553
181584
|
* * This coordinate should be used only as a placeholder indicating "at infinity" -- computing actual
|
|
181554
181585
|
* points at this coordinate invites numerical problems.
|
|
181555
181586
|
*/
|
|
@@ -181560,7 +181591,7 @@ class Geometry {
|
|
|
181560
181591
|
}
|
|
181561
181592
|
/**
|
|
181562
181593
|
* Test if the absolute value of x is at least [[largeCoordinateResult]].
|
|
181563
|
-
* @deprecated in 4.x. Use [[isLargeCoordinateResult]].
|
|
181594
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Use [[isLargeCoordinateResult]].
|
|
181564
181595
|
*/
|
|
181565
181596
|
static isHugeCoordinate(x) {
|
|
181566
181597
|
return Geometry.isLargeCoordinateResult(x);
|
|
@@ -182517,7 +182548,7 @@ class Geometry {
|
|
|
182517
182548
|
/**
|
|
182518
182549
|
* Clone an array whose members have type `T`, which implements the clone method.
|
|
182519
182550
|
* * If the clone method returns `undefined`, then `undefined` is forced into the cloned array.
|
|
182520
|
-
* @deprecated in 4.x. Use cloneArray.
|
|
182551
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Use cloneArray.
|
|
182521
182552
|
*/
|
|
182522
182553
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
182523
182554
|
static cloneMembers(array) {
|
|
@@ -182943,7 +182974,7 @@ class BSpline1dNd {
|
|
|
182943
182974
|
* Test if the leading and trailing polygon coordinates are replicated in the manner of a "closed" bspline polygon
|
|
182944
182975
|
* which has been expanded to act as a normal bspline.
|
|
182945
182976
|
* @returns true if `degree` leading and trailing polygon blocks match.
|
|
182946
|
-
* @deprecated in 4.x. Use `testClosablePolygon` instead.
|
|
182977
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Use `testClosablePolygon` instead.
|
|
182947
182978
|
*/
|
|
182948
182979
|
testCloseablePolygon(mode) {
|
|
182949
182980
|
return this.testClosablePolygon(mode);
|
|
@@ -185237,7 +185268,7 @@ var UVSelect;
|
|
|
185237
185268
|
UVSelect[UVSelect["uDirection"] = 0] = "uDirection";
|
|
185238
185269
|
/**
|
|
185239
185270
|
* index of v direction
|
|
185240
|
-
* @deprecated in 4.x. Use vDirection instead.
|
|
185271
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Use vDirection instead.
|
|
185241
185272
|
*/
|
|
185242
185273
|
UVSelect[UVSelect["VDirection"] = 1] = "VDirection";
|
|
185243
185274
|
/** index of v direction */
|
|
@@ -185464,7 +185495,7 @@ class BSpline2dNd extends _curve_GeometryQuery__WEBPACK_IMPORTED_MODULE_0__.Geom
|
|
|
185464
185495
|
}
|
|
185465
185496
|
/**
|
|
185466
185497
|
* sum poles by the weights in the basisBuffer, using poles for given span
|
|
185467
|
-
* @deprecated in 4.x. Use sumPoleBufferDerivativesForSpan instead.
|
|
185498
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Use sumPoleBufferDerivativesForSpan instead.
|
|
185468
185499
|
*/
|
|
185469
185500
|
sumpoleBufferDerivativesForSpan(spanIndexU, spanIndexV) {
|
|
185470
185501
|
return this.sumPoleBufferDerivativesForSpan(spanIndexU, spanIndexV);
|
|
@@ -185686,7 +185717,7 @@ class BSplineSurface3d extends BSpline2dNd {
|
|
|
185686
185717
|
getPointGridJSON() {
|
|
185687
185718
|
const result = {
|
|
185688
185719
|
points: _geometry3d_PointHelpers__WEBPACK_IMPORTED_MODULE_7__.Point3dArray.unpackNumbersToNestedArraysIJK(this.coffs, 3, this.numPolesUV(0)),
|
|
185689
|
-
weighStyle: WeightStyle.WeightsAlreadyAppliedToCoordinates, // @deprecated in 4.x. Use weightStyle instead.
|
|
185720
|
+
weighStyle: WeightStyle.WeightsAlreadyAppliedToCoordinates, // @deprecated in 4.x - will not be removed until after 2026-06-13. Use weightStyle instead.
|
|
185690
185721
|
weightStyle: WeightStyle.UnWeighted,
|
|
185691
185722
|
numCartesianDimensions: 3,
|
|
185692
185723
|
};
|
|
@@ -186099,7 +186130,7 @@ class BSplineSurface3dH extends BSpline2dNd {
|
|
|
186099
186130
|
const result = {
|
|
186100
186131
|
points: _geometry3d_PointHelpers__WEBPACK_IMPORTED_MODULE_7__.Point3dArray.unpackNumbersToNestedArraysIJK(this.coffs, 4, this.numPolesUV(0)),
|
|
186101
186132
|
numCartesianDimensions: 3,
|
|
186102
|
-
weighStyle: WeightStyle.WeightsAlreadyAppliedToCoordinates, // @deprecated in 4.x. Use weightStyle instead.
|
|
186133
|
+
weighStyle: WeightStyle.WeightsAlreadyAppliedToCoordinates, // @deprecated in 4.x - will not be removed until after 2026-06-13. Use weightStyle instead.
|
|
186103
186134
|
weightStyle: WeightStyle.WeightsAlreadyAppliedToCoordinates,
|
|
186104
186135
|
};
|
|
186105
186136
|
return result;
|
|
@@ -194986,7 +195017,7 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
|
|
|
194986
195017
|
}
|
|
194987
195018
|
/**
|
|
194988
195019
|
* Gauss point quadrature count for evaluating curve length. (The number of intervals is adjusted to the arc sweep).
|
|
194989
|
-
* @deprecated in 5.0. Use correct spelling quadratureGaussCount.
|
|
195020
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use correct spelling quadratureGaussCount.
|
|
194990
195021
|
*/
|
|
194991
195022
|
static quadratureGuassCount = 5;
|
|
194992
195023
|
/** Gauss point quadrature count for evaluating curve length. (The number of intervals is adjusted to the arc sweep). */
|
|
@@ -198744,7 +198775,7 @@ class CurveLocationDetailPair {
|
|
|
198744
198775
|
}
|
|
198745
198776
|
/**
|
|
198746
198777
|
* Data bundle for a pair of arrays of CurveLocationDetail structures.
|
|
198747
|
-
* @deprecated in 4.x. Use CurveLocationDetailPair[] instead.
|
|
198778
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Use CurveLocationDetailPair[] instead.
|
|
198748
198779
|
* @public
|
|
198749
198780
|
*/
|
|
198750
198781
|
class CurveLocationDetailArrayPair {
|
|
@@ -206387,7 +206418,7 @@ class StrokeOptions {
|
|
|
206387
206418
|
maxEdgeLength;
|
|
206388
206419
|
/**
|
|
206389
206420
|
* Caller expects convex facets.
|
|
206390
|
-
* @deprecated in 4.x -
|
|
206421
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Never used. See [[shouldTriangulate]] and [[maximizeConvexFacets]].
|
|
206391
206422
|
*/
|
|
206392
206423
|
needConvexFacets;
|
|
206393
206424
|
/** Minimum strokes on a primitive. */
|
|
@@ -220660,7 +220691,7 @@ class GrowableXYArray extends _IndexedXYCollection__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
220660
220691
|
return result;
|
|
220661
220692
|
}
|
|
220662
220693
|
/** Restructure MultiLineStringDataVariant as array of GrowableXYZArray
|
|
220663
|
-
* @deprecated in 4.x. Moved to GrowableXYZArray class.
|
|
220694
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Moved to GrowableXYZArray class.
|
|
220664
220695
|
*/
|
|
220665
220696
|
static createArrayOfGrowableXYZArray(data) {
|
|
220666
220697
|
return _GrowableXYZArray__WEBPACK_IMPORTED_MODULE_1__.GrowableXYZArray.createArrayOfGrowableXYZArray(data);
|
|
@@ -239325,7 +239356,7 @@ class Point4d extends _geometry3d_Plane3d__WEBPACK_IMPORTED_MODULE_0__.Plane3d {
|
|
|
239325
239356
|
* extract 4 consecutive numbers from a Float64Array into a Point4d.
|
|
239326
239357
|
* @param data buffer of numbers
|
|
239327
239358
|
* @param xIndex first index for x,y,z,w sequence. Assumed to be a valid index!
|
|
239328
|
-
* @deprecated in 4.x. Use createFromPacked instead.
|
|
239359
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Use createFromPacked instead.
|
|
239329
239360
|
*/
|
|
239330
239361
|
static createFromPackedXYZW(data, xIndex = 0, result) {
|
|
239331
239362
|
return Point4d.create(data[xIndex], data[xIndex + 1], data[xIndex + 2], data[xIndex + 3], result);
|
|
@@ -248582,7 +248613,7 @@ class IndexedPolyface extends Polyface {
|
|
|
248582
248613
|
}
|
|
248583
248614
|
/**
|
|
248584
248615
|
* Clean up the open facet.
|
|
248585
|
-
* @deprecated in 4.x
|
|
248616
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. To remove nebulous "open facet" concept from the API. Call [[PolyfaceData.trimAllIndexArrays]]
|
|
248586
248617
|
* instead.
|
|
248587
248618
|
*/
|
|
248588
248619
|
cleanupOpenFacet() {
|
|
@@ -248732,7 +248763,7 @@ class IndexedPolyface extends Polyface {
|
|
|
248732
248763
|
}
|
|
248733
248764
|
/**
|
|
248734
248765
|
* Given the index of a facet, return the data pertaining to the face it is a part of.
|
|
248735
|
-
* @deprecated in 4.x. Use [[IndexedPolyface.tryGetFaceData]], which verifies the index is in range.
|
|
248766
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Use [[IndexedPolyface.tryGetFaceData]], which verifies the index is in range.
|
|
248736
248767
|
*/
|
|
248737
248768
|
getFaceDataByFacetIndex(facetIndex) {
|
|
248738
248769
|
return this.data.face[this._facetToFaceData[facetIndex]];
|
|
@@ -249954,7 +249985,7 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
|
|
|
249954
249985
|
* Apply stroke counts to curve primitives.
|
|
249955
249986
|
* * Recursively visit all children of data.
|
|
249956
249987
|
* * At each primitive, invoke `computeStrokeCountForOptions` method with options from the builder.
|
|
249957
|
-
* @deprecated in 4.x. This method does nothing and is unneeded.
|
|
249988
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. This method does nothing and is unneeded.
|
|
249958
249989
|
*/
|
|
249959
249990
|
applyStrokeCountsToCurvePrimitives(data) {
|
|
249960
249991
|
const options = this._options;
|
|
@@ -251993,7 +252024,7 @@ class PolyfaceData {
|
|
|
251993
252024
|
}
|
|
251994
252025
|
/**
|
|
251995
252026
|
* Resize all data arrays to the specified `length`.
|
|
251996
|
-
* @deprecated in 4.x
|
|
252027
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Because name is misleading. Call [[PolyfaceData.resizeAllArrays]] instead.
|
|
251997
252028
|
*/
|
|
251998
252029
|
resizeAllDataArrays(length) {
|
|
251999
252030
|
if (length > this.point.length) {
|
|
@@ -253565,7 +253596,7 @@ class PolyfaceQuery {
|
|
|
253565
253596
|
});
|
|
253566
253597
|
return builder.claimPolyface(true);
|
|
253567
253598
|
}
|
|
253568
|
-
/** @deprecated in 4.x. Use [[sweepLineStringToFacetsXYReturnSweptFacets]] instead. */
|
|
253599
|
+
/** @deprecated in 4.x - will not be removed until after 2026-06-13. Use [[sweepLineStringToFacetsXYReturnSweptFacets]] instead. */
|
|
253569
253600
|
static sweepLinestringToFacetsXYreturnSweptFacets(linestringPoints, polyface) {
|
|
253570
253601
|
return this.sweepLineStringToFacetsXYReturnSweptFacets(linestringPoints, polyface);
|
|
253571
253602
|
}
|
|
@@ -253668,7 +253699,7 @@ class PolyfaceQuery {
|
|
|
253668
253699
|
* * Return collected line segments.
|
|
253669
253700
|
* * This calls [[sweepLineStringToFacets]] with options created by
|
|
253670
253701
|
* `const options = SweepLineStringToFacetsOptions.create(Vector3d.unitZ(), Angle.createSmallAngle(), false, true, true, true);`
|
|
253671
|
-
* @deprecated in 4.x. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
|
|
253702
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
|
|
253672
253703
|
*/
|
|
253673
253704
|
static sweepLinestringToFacetsXYReturnLines(linestringPoints, polyface) {
|
|
253674
253705
|
const options = SweepLineStringToFacetsOptions.create(_geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.unitZ(), _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createSmallAngle(), false, true, true, true);
|
|
@@ -253678,7 +253709,7 @@ class PolyfaceQuery {
|
|
|
253678
253709
|
* Find segments (within the linestring) which project to facets.
|
|
253679
253710
|
* * Return chains.
|
|
253680
253711
|
* * This calls [[sweepLineStringToFacets]] with default options.
|
|
253681
|
-
* @deprecated in 4.x. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
|
|
253712
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
|
|
253682
253713
|
*/
|
|
253683
253714
|
static sweepLinestringToFacetsXYReturnChains(linestringPoints, polyface) {
|
|
253684
253715
|
return PolyfaceQuery.sweepLineStringToFacets(linestringPoints, polyface);
|
|
@@ -267479,7 +267510,7 @@ class Sample {
|
|
|
267479
267510
|
return points;
|
|
267480
267511
|
}
|
|
267481
267512
|
// cspell:word creat
|
|
267482
|
-
/** @deprecated in 4.x. Use createVerticalStaggerPolygon instead. */
|
|
267513
|
+
/** @deprecated in 4.x - will not be removed until after 2026-06-13. Use createVerticalStaggerPolygon instead. */
|
|
267483
267514
|
static creatVerticalStaggerPolygon(dy1, dy2, dy3, dy4, ax, ay, dx1, dx4) {
|
|
267484
267515
|
return this.createVerticalStaggerPolygon(dy1, dy2, dy3, dy4, ax, ay, dx1, dx4);
|
|
267485
267516
|
}
|
|
@@ -297588,7 +297619,7 @@ var ShowSignOption;
|
|
|
297588
297619
|
// parse and toString methods
|
|
297589
297620
|
/**
|
|
297590
297621
|
* @beta
|
|
297591
|
-
* @deprecated in 4.10. ScientificType is now a string enum and doesn't need a serialization method. You can access the enum directly.
|
|
297622
|
+
* @deprecated in 4.10 - will not be removed until after 2026-06-13. ScientificType is now a string enum and doesn't need a serialization method. You can access the enum directly.
|
|
297592
297623
|
*/
|
|
297593
297624
|
function scientificTypeToString(scientificType) {
|
|
297594
297625
|
return (scientificType === ScientificType.Normalized) ? "Normalized" : "ZeroNormalized";
|
|
@@ -297630,7 +297661,7 @@ function parseShowSignOption(showSignOption, formatName) {
|
|
|
297630
297661
|
}
|
|
297631
297662
|
/**
|
|
297632
297663
|
* @beta
|
|
297633
|
-
* @deprecated in 4.10. ShowSignOption is now a string enum and doesn't need a serialization method. You can access the enum directly.
|
|
297664
|
+
* @deprecated in 4.10 - will not be removed until after 2026-06-13. ShowSignOption is now a string enum and doesn't need a serialization method. You can access the enum directly.
|
|
297634
297665
|
*/
|
|
297635
297666
|
function showSignOptionToString(showSign) {
|
|
297636
297667
|
switch (showSign) {
|
|
@@ -297723,7 +297754,7 @@ function parseFormatType(jsonObjType, formatName) {
|
|
|
297723
297754
|
}
|
|
297724
297755
|
}
|
|
297725
297756
|
/** @beta
|
|
297726
|
-
* @deprecated in 4.10. FormatType is now a string enum and doesn't need a serialization method. You can access the enum directly.
|
|
297757
|
+
* @deprecated in 4.10 - will not be removed until after 2026-06-13. FormatType is now a string enum and doesn't need a serialization method. You can access the enum directly.
|
|
297727
297758
|
*/
|
|
297728
297759
|
function formatTypeToString(type) {
|
|
297729
297760
|
switch (type) {
|
|
@@ -299145,7 +299176,7 @@ class Parser {
|
|
|
299145
299176
|
* @param inString A string that contains text represent a quantity.
|
|
299146
299177
|
* @param format Defines the likely format of inString. Primary unit serves as a default unit if no unit label found in string.
|
|
299147
299178
|
* @param unitsConversions dictionary of conversions used to convert from unit used in inString to output quantity
|
|
299148
|
-
* @deprecated in 4.10. Check [[Parser.parseQuantityString]] for replacements.
|
|
299179
|
+
* @deprecated in 4.10 - will not be removed until after 2026-06-13. Check [[Parser.parseQuantityString]] for replacements.
|
|
299149
299180
|
*/
|
|
299150
299181
|
static parseToQuantityValue(inString, format, unitsConversions) {
|
|
299151
299182
|
// TODO: This method is not able to do bearing and azimuth formatting and is overlapping with parseQuantityString.
|
|
@@ -300883,7 +300914,7 @@ class UiAdmin {
|
|
|
300883
300914
|
/** Get the cursor X and Y position. */
|
|
300884
300915
|
get cursorPosition() { return { x: 0, y: 0 }; }
|
|
300885
300916
|
/** Create a PointProps object.
|
|
300886
|
-
* @deprecated in 4.2.x. Please use @core/geometry [[XAndY]] or a custom implementation.
|
|
300917
|
+
* @deprecated in 4.2.x - will not be removed until after 2026-06-13. Please use @core/geometry [[XAndY]] or a custom implementation.
|
|
300887
300918
|
*/
|
|
300888
300919
|
createXAndY(x, y) { return { x, y }; }
|
|
300889
300920
|
/** Determines if focus is set to Home */
|
|
@@ -301087,7 +301118,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
301087
301118
|
* @module Utilities
|
|
301088
301119
|
*/
|
|
301089
301120
|
/** Enumeration for Function Keys
|
|
301090
|
-
* @public @deprecated in 4.3. Please use the `ts-key-enum` npm package or string literals.
|
|
301121
|
+
* @public @deprecated in 4.3 - will not be removed until after 2026-06-13. Please use the `ts-key-enum` npm package or string literals.
|
|
301091
301122
|
*/
|
|
301092
301123
|
var FunctionKey;
|
|
301093
301124
|
(function (FunctionKey) {
|
|
@@ -301105,7 +301136,7 @@ var FunctionKey;
|
|
|
301105
301136
|
FunctionKey["F12"] = "F12";
|
|
301106
301137
|
})(FunctionKey || (FunctionKey = {}));
|
|
301107
301138
|
/** Enumeration for Special Keys
|
|
301108
|
-
* @public @deprecated in 4.3. Please use the `ts-key-enum` npm package or string literals.
|
|
301139
|
+
* @public @deprecated in 4.3 - will not be removed until after 2026-06-13. Please use the `ts-key-enum` npm package or string literals.
|
|
301109
301140
|
*/
|
|
301110
301141
|
var SpecialKey;
|
|
301111
301142
|
(function (SpecialKey) {
|
|
@@ -301134,7 +301165,7 @@ var SpecialKey;
|
|
|
301134
301165
|
SpecialKey["Decimal"] = "Decimal";
|
|
301135
301166
|
})(SpecialKey || (SpecialKey = {}));
|
|
301136
301167
|
/** Determines if a KeyboardEvent.key is an Arrow key
|
|
301137
|
-
* @public @deprecated in 4.3. Please use a custom implementation moving forward.
|
|
301168
|
+
* @public @deprecated in 4.3 - will not be removed until after 2026-06-13. Please use a custom implementation moving forward.
|
|
301138
301169
|
*/
|
|
301139
301170
|
function isArrowKey(key) {
|
|
301140
301171
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
@@ -301186,7 +301217,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
301186
301217
|
/**
|
|
301187
301218
|
* Class that define Standard Content Layouts that can be used to specify how the content is arranged in a frontstage.
|
|
301188
301219
|
* @public
|
|
301189
|
-
* @deprecated in 4.10.x. Use `StandardContentLayouts` from `@itwin/appui-react`.
|
|
301220
|
+
* @deprecated in 4.10.x - will not be removed until after 2026-06-13. Use `StandardContentLayouts` from `@itwin/appui-react`.
|
|
301190
301221
|
*/
|
|
301191
301222
|
class StandardContentLayouts {
|
|
301192
301223
|
static singleView = {
|
|
@@ -302711,20 +302742,20 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302711
302742
|
*/
|
|
302712
302743
|
/* eslint-disable @typescript-eslint/no-deprecated */
|
|
302713
302744
|
/** Creates an IconSpec with an SVG source and gets the SVG source from an IconSpec.
|
|
302714
|
-
* @public @deprecated in 4.3. AppUI libraries >= 4.7.x support loading SVGs sources without prefixes, eliminating the need for these utilities.
|
|
302745
|
+
* @public @deprecated in 4.3 - will not be removed until after 2026-06-13. AppUI libraries >= 4.7.x support loading SVGs sources without prefixes, eliminating the need for these utilities.
|
|
302715
302746
|
*/
|
|
302716
302747
|
class IconSpecUtilities {
|
|
302717
302748
|
/** Prefix for an SVG IconSpec loaded with the Sprite loader */
|
|
302718
302749
|
static SVG_PREFIX = "svg:";
|
|
302719
302750
|
static WEB_COMPONENT_PREFIX = "webSvg:";
|
|
302720
302751
|
/** Create an IconSpec for an SVG loaded into web component with svg-loader
|
|
302721
|
-
* @public @deprecated in 4.3. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
|
|
302752
|
+
* @public @deprecated in 4.3 - will not be removed until after 2026-06-13. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
|
|
302722
302753
|
*/
|
|
302723
302754
|
static createWebComponentIconSpec(srcString) {
|
|
302724
302755
|
return `${IconSpecUtilities.WEB_COMPONENT_PREFIX}${srcString}`;
|
|
302725
302756
|
}
|
|
302726
302757
|
/** Get the SVG Source from an svg-loader IconSpec
|
|
302727
|
-
* @public @deprecated in 4.3. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
|
|
302758
|
+
* @public @deprecated in 4.3 - will not be removed until after 2026-06-13. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
|
|
302728
302759
|
*/
|
|
302729
302760
|
static getWebComponentSource(iconSpec) {
|
|
302730
302761
|
if (iconSpec.startsWith(IconSpecUtilities.WEB_COMPONENT_PREFIX) && iconSpec.length > 7) {
|
|
@@ -302778,7 +302809,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302778
302809
|
*/
|
|
302779
302810
|
|
|
302780
302811
|
/** iTwin.js UI UiError class is a subclass of BentleyError. Errors are logged.
|
|
302781
|
-
* @public @deprecated in 4.3. Use [[Bentley.BentleyError]] instead.
|
|
302812
|
+
* @public @deprecated in 4.3 - will not be removed until after 2026-06-13. Use [[Bentley.BentleyError]] instead.
|
|
302782
302813
|
*/
|
|
302783
302814
|
class UiError extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyError {
|
|
302784
302815
|
category;
|
|
@@ -302814,7 +302845,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302814
302845
|
|
|
302815
302846
|
/** iTwin.js UI UiEvent class is a subclass of BeEvent with argument type safety.
|
|
302816
302847
|
* @public
|
|
302817
|
-
* @deprecated in 4.2. This type is a duplicate of [[BeUiEvent]], which should be used instead.
|
|
302848
|
+
* @deprecated in 4.2 - will not be removed until after 2026-06-13. This type is a duplicate of [[BeUiEvent]], which should be used instead.
|
|
302818
302849
|
*/
|
|
302819
302850
|
class UiEvent extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeUiEvent {
|
|
302820
302851
|
}
|
|
@@ -302845,14 +302876,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302845
302876
|
|
|
302846
302877
|
/** UiSync Event class.
|
|
302847
302878
|
* @public
|
|
302848
|
-
* @deprecated in 4.2.x Use [[UiSyncEvent]] from @itwin/appui-react.
|
|
302879
|
+
* @deprecated in 4.2.x - will not be removed until after 2026-06-13. Use [[UiSyncEvent]] from @itwin/appui-react.
|
|
302849
302880
|
*/
|
|
302850
302881
|
class UiSyncEvent extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeUiEvent {
|
|
302851
302882
|
}
|
|
302852
302883
|
/** This class is used to send eventIds to interested UI components so the component can determine if it needs
|
|
302853
302884
|
* to refresh its display by calling setState on itself.
|
|
302854
302885
|
* @public
|
|
302855
|
-
* @deprecated in 4.2.x Use [[SyncUiEventDispatcher]] from @itwin/appui-react.
|
|
302886
|
+
* @deprecated in 4.2.x - will not be removed until after 2026-06-13. Use [[SyncUiEventDispatcher]] from @itwin/appui-react.
|
|
302856
302887
|
*/
|
|
302857
302888
|
class UiEventDispatcher {
|
|
302858
302889
|
_syncEventTimerId;
|
|
@@ -303055,7 +303086,7 @@ function join(head, tail) {
|
|
|
303055
303086
|
* @param contiguous - If true the filter string must be found "contiguous" in the searched string (E.g. "pul" will match "Git: Pull").
|
|
303056
303087
|
* Otherwise also matches sub string of the word with beginnings of the words in the target (e.g. "gp" or "g p" will match "Git: Pull").
|
|
303057
303088
|
* Useful in cases where the target is words (e.g. command labels)
|
|
303058
|
-
* @internal @deprecated in 4.3. Use `matchesWords` from @itwin/core-react instead. Though internal, this requires deprecation due to known public usage in @itwin/core-react.
|
|
303089
|
+
* @internal @deprecated in 4.3 - will not be removed until after 2026-06-13. Use `matchesWords` from @itwin/core-react instead. Though internal, this requires deprecation due to known public usage in @itwin/core-react.
|
|
303059
303090
|
*/
|
|
303060
303091
|
function matchesWords(word, target, contiguous = false) {
|
|
303061
303092
|
if (!target || target.length === 0) {
|
|
@@ -303127,7 +303158,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
303127
303158
|
*/
|
|
303128
303159
|
/** Gets the class name for an object.
|
|
303129
303160
|
* @internal
|
|
303130
|
-
* @deprecated in 4.3. Please use your own implementation in the future. Though internal, this requires deprecation due to known public usage in @itwin/core-react.
|
|
303161
|
+
* @deprecated in 4.3 - will not be removed until after 2026-06-13. Please use your own implementation in the future. Though internal, this requires deprecation due to known public usage in @itwin/core-react.
|
|
303131
303162
|
*/
|
|
303132
303163
|
const getClassName = (obj) => {
|
|
303133
303164
|
let className = "";
|
|
@@ -313216,7 +313247,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
313216
313247
|
/***/ ((module) => {
|
|
313217
313248
|
|
|
313218
313249
|
"use strict";
|
|
313219
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.0.0-dev.
|
|
313250
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.0.0-dev.119","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","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.0.0-dev.1","@types/chai-as-promised":"^7","@vitest/browser":"^3.0.6","@vitest/coverage-v8":"^3.0.6","cpx2":"^8.0.0","eslint":"^9.13.0","glob":"^10.3.12","playwright":"~1.47.1","rimraf":"^6.0.1","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"}}');
|
|
313220
313251
|
|
|
313221
313252
|
/***/ })
|
|
313222
313253
|
|