@itwin/rpcinterface-full-stack-tests 5.10.1 → 5.10.3
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 +187 -189
- package/lib/dist/bundled-tests.js.map +1 -1
- package/lib/dist/core_frontend_lib_esm_ApproximateTerrainHeightsProps_js.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_cross-fetch_4_0_0_node_modules_cross-fetch_dist_browser-24291b.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_loaders_gl_draco_4_3_4__loaders_gl_core_4_3_4_node_modu-4c1fc9.bundled-tests.js.map +1 -1
- package/package.json +15 -15
|
@@ -56436,7 +56436,7 @@ var GeoServiceStatus;
|
|
|
56436
56436
|
GeoServiceStatus[GeoServiceStatus["VerticalDatumConvertError"] = 147460] = "VerticalDatumConvertError";
|
|
56437
56437
|
GeoServiceStatus[GeoServiceStatus["CSMapError"] = 147461] = "CSMapError";
|
|
56438
56438
|
/**
|
|
56439
|
-
* @deprecated in 5.0 -
|
|
56439
|
+
* @deprecated in 5.0 - might be removed in next major version. This status is never returned.
|
|
56440
56440
|
*/
|
|
56441
56441
|
GeoServiceStatus[GeoServiceStatus["Pending"] = 147462] = "Pending";
|
|
56442
56442
|
})(GeoServiceStatus || (GeoServiceStatus = {}));
|
|
@@ -57923,7 +57923,7 @@ Symbol.dispose ??= Symbol("Symbol.dispose");
|
|
|
57923
57923
|
Symbol.asyncDispose ??= Symbol("Symbol.asyncDispose");
|
|
57924
57924
|
/**
|
|
57925
57925
|
* A type guard that checks whether the given argument implements `IDisposable` interface
|
|
57926
|
-
* @deprecated in 5.0 -
|
|
57926
|
+
* @deprecated in 5.0 - might be removed in next major version. Use isDisposable instead.
|
|
57927
57927
|
* @public
|
|
57928
57928
|
*/
|
|
57929
57929
|
function isIDisposable(obj) {
|
|
@@ -57962,7 +57962,7 @@ function disposeArray(list) {
|
|
|
57962
57962
|
* of this function is equal to return value of func. If func throws, this function also throws (after
|
|
57963
57963
|
* disposing the resource).
|
|
57964
57964
|
* @public
|
|
57965
|
-
* @deprecated in 5.0 -
|
|
57965
|
+
* @deprecated in 5.0 - might be removed in next major version. Use `using` declarations instead.
|
|
57966
57966
|
*/
|
|
57967
57967
|
function using(resources, func) {
|
|
57968
57968
|
if (!Array.isArray(resources))
|
|
@@ -59805,7 +59805,7 @@ class PerfLogger {
|
|
|
59805
59805
|
[Symbol.dispose]() {
|
|
59806
59806
|
this.logMessage();
|
|
59807
59807
|
}
|
|
59808
|
-
/** @deprecated in 5.0 -
|
|
59808
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
59809
59809
|
dispose() {
|
|
59810
59810
|
this[Symbol.dispose]();
|
|
59811
59811
|
}
|
|
@@ -61576,7 +61576,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
61576
61576
|
/**
|
|
61577
61577
|
* Mirrors the SpanKind enum from [@opentelemetry/api](https://open-telemetry.github.io/opentelemetry-js/enums/_opentelemetry_api.SpanKind.html)
|
|
61578
61578
|
* @public
|
|
61579
|
-
* @deprecated in 4.4 -
|
|
61579
|
+
* @deprecated in 4.4 - might be removed in next major version. OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
|
|
61580
61580
|
*/
|
|
61581
61581
|
var SpanKind;
|
|
61582
61582
|
(function (SpanKind) {
|
|
@@ -61636,7 +61636,7 @@ function flattenObject(obj) {
|
|
|
61636
61636
|
/**
|
|
61637
61637
|
* Enables OpenTelemetry tracing in addition to traditional logging.
|
|
61638
61638
|
* @public
|
|
61639
|
-
* @deprecated in 4.4 -
|
|
61639
|
+
* @deprecated in 4.4 - might be removed in next major version. OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
|
|
61640
61640
|
*/
|
|
61641
61641
|
class Tracing {
|
|
61642
61642
|
static _tracer;
|
|
@@ -65312,7 +65312,7 @@ var QueryRowFormat;
|
|
|
65312
65312
|
QueryRowFormat[QueryRowFormat["UseECSqlPropertyIndexes"] = 1] = "UseECSqlPropertyIndexes";
|
|
65313
65313
|
/** Each row is an object in which each non-null column value can be accessed by a [remapped property name]($docs/learning/ECSqlRowFormat.md).
|
|
65314
65314
|
* This format is backwards-compatible with the format produced by iTwin.js 2.x. Null values are omitted.
|
|
65315
|
-
* @deprecated in 4.11 -
|
|
65315
|
+
* @deprecated in 4.11 - might be removed in next major version. Switch to UseECSqlPropertyIndexes for best performance, and UseECSqlPropertyNames if you want a JSON object as the result.
|
|
65316
65316
|
*/
|
|
65317
65317
|
QueryRowFormat[QueryRowFormat["UseJsPropertyNames"] = 2] = "UseJsPropertyNames";
|
|
65318
65318
|
})(QueryRowFormat || (QueryRowFormat = {}));
|
|
@@ -65383,7 +65383,7 @@ class QueryOptionsBuilder {
|
|
|
65383
65383
|
* If set ECClassId, SourceECClassId and TargetECClassId system properties will return qualified name of class instead of a @typedef Id64String.
|
|
65384
65384
|
* @param val A boolean value.
|
|
65385
65385
|
* @returns @type QueryOptionsBuilder for fluent interface.
|
|
65386
|
-
* @deprecated in 4.11 -
|
|
65386
|
+
* @deprecated in 4.11 - might be removed in next major version. Use ecsql function ec_classname to get class name instead.
|
|
65387
65387
|
*/
|
|
65388
65388
|
setConvertClassIdsToNames(val) {
|
|
65389
65389
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
@@ -68769,7 +68769,7 @@ var PrimitiveTypeCode;
|
|
|
68769
68769
|
})(PrimitiveTypeCode || (PrimitiveTypeCode = {}));
|
|
68770
68770
|
/** Metadata for a property.
|
|
68771
68771
|
* @beta
|
|
68772
|
-
* @deprecated in 5.0 -
|
|
68772
|
+
* @deprecated in 5.0 - might be removed in next major version. Use the `Property` class from @itwin/ecschema-metadata` instead.
|
|
68773
68773
|
*/
|
|
68774
68774
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
68775
68775
|
class PropertyMetaData {
|
|
@@ -68855,7 +68855,7 @@ class PropertyMetaData {
|
|
|
68855
68855
|
}
|
|
68856
68856
|
/** Metadata for an Entity.
|
|
68857
68857
|
* @beta
|
|
68858
|
-
* @deprecated in 5.0 -
|
|
68858
|
+
* @deprecated in 5.0 - might be removed in next major version. Use `EntityClass` class from `@itwin/ecschema-metadata` instead.
|
|
68859
68859
|
*/
|
|
68860
68860
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
68861
68861
|
class EntityMetaData {
|
|
@@ -70171,7 +70171,7 @@ var FontType;
|
|
|
70171
70171
|
* This class maps FontIds to FontProps.
|
|
70172
70172
|
* @note This API has never worked properly. Don't use it. Use [IModelDb.fonts]($backend) instead.
|
|
70173
70173
|
* @public
|
|
70174
|
-
* @deprecated in 5.0.0 -
|
|
70174
|
+
* @deprecated in 5.0.0 - might be removed in next major version. Use [IModelDb.fonts]($backend) instead.
|
|
70175
70175
|
*/
|
|
70176
70176
|
class FontMap {
|
|
70177
70177
|
fonts = new Map();
|
|
@@ -70635,7 +70635,7 @@ var GeoCoordStatus;
|
|
|
70635
70635
|
/** This temporary status is used to mark coordinates for which the conversion has not yet been processed by the backend
|
|
70636
70636
|
* as opposed to other coordinate conversions that may have been resolved otherwise (typically a cache).
|
|
70637
70637
|
* At the completion of the conversion promise no coordinates should have this status.
|
|
70638
|
-
* @deprecated in 5.0 -
|
|
70638
|
+
* @deprecated in 5.0 - might be removed in next major version. Pending is no longer returned as a status for coordinate conversions.
|
|
70639
70639
|
*/
|
|
70640
70640
|
GeoCoordStatus[GeoCoordStatus["Pending"] = -41556] = "Pending";
|
|
70641
70641
|
})(GeoCoordStatus || (GeoCoordStatus = {}));
|
|
@@ -93729,7 +93729,7 @@ const unknownIModelId = (req) => ({ iModelId: "undefined", key: req.parameters[0
|
|
|
93729
93729
|
/** The RPC interface for working with *snapshot* iModels.
|
|
93730
93730
|
* This interface is intended for desktop and mobile products. Web products are discouraged from registering this interface.
|
|
93731
93731
|
* @internal
|
|
93732
|
-
* @deprecated in 5.0 -
|
|
93732
|
+
* @deprecated in 5.0 - might be removed in next major version. Check [[IpcAppFunctions]] or [[CheckpointConnection]] for replacements.
|
|
93733
93733
|
*/
|
|
93734
93734
|
class SnapshotIModelRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_0__.RpcInterface {
|
|
93735
93735
|
/** Returns the SnapshotIModelRpcInterface client instance for the frontend. */
|
|
@@ -93745,15 +93745,15 @@ class SnapshotIModelRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_
|
|
|
93745
93745
|
NOTE: Please consult the README in this folder for the semantic versioning rules.
|
|
93746
93746
|
===========================================================================================*/
|
|
93747
93747
|
/**
|
|
93748
|
-
* @deprecated in 5.0 -
|
|
93748
|
+
* @deprecated in 5.0 - might be removed in next major version. Use [[IpcAppFunctions.openSnapshot]] in IPC applications, no replacement for Web applications.
|
|
93749
93749
|
*/
|
|
93750
93750
|
async openFile(_filePath, _opts) { return this.forward(arguments); }
|
|
93751
93751
|
/**
|
|
93752
|
-
* @deprecated in 4.10 -
|
|
93752
|
+
* @deprecated in 4.10 - might be removed in next major version. Use [[CheckpointConnection.openRemote]].
|
|
93753
93753
|
*/
|
|
93754
93754
|
async openRemote(_key, _opts) { return this.forward(arguments); }
|
|
93755
93755
|
/**
|
|
93756
|
-
* @deprecated in 5.0 -
|
|
93756
|
+
* @deprecated in 5.0 - might be removed in next major version. Use [[IpcAppFunctions.closeIModel]] in IPC applications, no replacement for Web applications.
|
|
93757
93757
|
*/
|
|
93758
93758
|
async close(_iModelRpcProps) { return this.forward(arguments); }
|
|
93759
93759
|
}
|
|
@@ -98816,7 +98816,7 @@ function computeChildTileProps(parent, idProvider, root) {
|
|
|
98816
98816
|
/** Deserializes tile content metadata.
|
|
98817
98817
|
* @throws [[TileReadError]]
|
|
98818
98818
|
* @internal
|
|
98819
|
-
* @deprecated in 4.0 -
|
|
98819
|
+
* @deprecated in 4.0 - might be removed in next major version. Use decodeTileContentDescription. I think tile agents (or their tests) are using this function.
|
|
98820
98820
|
*/
|
|
98821
98821
|
function readTileContentDescription(stream, sizeMultiplier, is2d, options, isVolumeClassifier) {
|
|
98822
98822
|
return decodeTileContentDescription({ stream, sizeMultiplier, is2d, options, isVolumeClassifier });
|
|
@@ -99246,7 +99246,7 @@ class SchemaContext {
|
|
|
99246
99246
|
/**
|
|
99247
99247
|
* Adds the given SchemaItem to the the SchemaContext by locating the schema, with the best match of SchemaMatchType.Exact, and
|
|
99248
99248
|
* @param schemaItem The SchemaItem to add
|
|
99249
|
-
* @deprecated in 4.0 -
|
|
99249
|
+
* @deprecated in 4.0 - might be removed in next major version. Use ecschema-editing package
|
|
99250
99250
|
*/
|
|
99251
99251
|
async addSchemaItem(schemaItem) {
|
|
99252
99252
|
const schema = await this.getSchema(schemaItem.key.schemaKey, _ECObjects__WEBPACK_IMPORTED_MODULE_0__.SchemaMatchType.Exact);
|
|
@@ -102834,7 +102834,7 @@ var SchemaMatchType;
|
|
|
102834
102834
|
(function (SchemaMatchType) {
|
|
102835
102835
|
/*
|
|
102836
102836
|
* Find exact VersionRead, VersionWrite, VersionMinor match as well as Data. NOTE data is not yet matched
|
|
102837
|
-
* @deprecated in 4.10 -
|
|
102837
|
+
* @deprecated in 4.10 - might be removed in next major version. Use Exact instead.
|
|
102838
102838
|
*/
|
|
102839
102839
|
SchemaMatchType[SchemaMatchType["Identical"] = 0] = "Identical";
|
|
102840
102840
|
/* Find exact VersionRead, VersionWrite, VersionMinor match. */
|
|
@@ -102934,7 +102934,7 @@ function parseSchemaItemType(type) {
|
|
|
102934
102934
|
* @param value The SchemaItemType to stringify.
|
|
102935
102935
|
* @return A string representing the provided SchemaItemType. If the type is not valid, an empty string is returned.
|
|
102936
102936
|
* @beta
|
|
102937
|
-
* @deprecated in 4.6.0 -
|
|
102937
|
+
* @deprecated in 4.6.0 - might be removed in next major version. SchemaItemType is a string enum so just use it directly
|
|
102938
102938
|
*/
|
|
102939
102939
|
function schemaItemTypeToString(value) {
|
|
102940
102940
|
return value; // TODO: Remove
|
|
@@ -107154,7 +107154,7 @@ class CustomAttributeClass extends _Class__WEBPACK_IMPORTED_MODULE_2__.ECClass {
|
|
|
107154
107154
|
static get schemaItemType() { return _ECObjects__WEBPACK_IMPORTED_MODULE_0__.SchemaItemType.CustomAttributeClass; }
|
|
107155
107155
|
_appliesTo;
|
|
107156
107156
|
/**
|
|
107157
|
-
* @deprecated in 4.8 -
|
|
107157
|
+
* @deprecated in 4.8 - might be removed in next major version. Use [[appliesTo]]
|
|
107158
107158
|
* */
|
|
107159
107159
|
get containerType() {
|
|
107160
107160
|
return this.appliesTo;
|
|
@@ -126744,7 +126744,7 @@ class GraphicalEditingScope extends _BriefcaseTxns__WEBPACK_IMPORTED_MODULE_2__.
|
|
|
126744
126744
|
this._cleanup = undefined;
|
|
126745
126745
|
}
|
|
126746
126746
|
}
|
|
126747
|
-
/** @deprecated in 5.0 -
|
|
126747
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
126748
126748
|
dispose() {
|
|
126749
126749
|
this[Symbol.dispose]();
|
|
126750
126750
|
}
|
|
@@ -128178,14 +128178,14 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
128178
128178
|
*/
|
|
128179
128179
|
onClose = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
128180
128180
|
/** The font map for this IModelConnection. Only valid after calling #loadFontMap and waiting for the returned promise to be fulfilled.
|
|
128181
|
-
* @deprecated in 5.0.0 -
|
|
128181
|
+
* @deprecated in 5.0.0 - might be removed in next major version. If you need font Ids on the front-end for some reason, write an Ipc method that queries [IModelDb.fonts]($backend).
|
|
128182
128182
|
*/
|
|
128183
128183
|
fontMap; // eslint-disable-line @typescript-eslint/no-deprecated
|
|
128184
128184
|
_schemaContext;
|
|
128185
128185
|
_schemasPromise;
|
|
128186
128186
|
/** Load the FontMap for this IModelConnection.
|
|
128187
128187
|
* @returns Returns a Promise<FontMap> that is fulfilled when the FontMap member of this IModelConnection is valid.
|
|
128188
|
-
* @deprecated in 5.0.0 -
|
|
128188
|
+
* @deprecated in 5.0.0 - might be removed in next major version. If you need font Ids on the front-end for some reason, write an Ipc method that queries [IModelDb.fonts]($backend).
|
|
128189
128189
|
*/
|
|
128190
128190
|
async loadFontMap() {
|
|
128191
128191
|
if (undefined === this.fontMap) { // eslint-disable-line @typescript-eslint/no-deprecated
|
|
@@ -128305,7 +128305,7 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
128305
128305
|
return this.isOpen ? this._snapRpc.request(props) : { status: 2 };
|
|
128306
128306
|
}
|
|
128307
128307
|
/** @internal
|
|
128308
|
-
* @deprecated in 4.8 -
|
|
128308
|
+
* @deprecated in 4.8 - might be removed in next major version. Use AccuSnap.doSnapRequest.
|
|
128309
128309
|
*/
|
|
128310
128310
|
async requestSnap(props) {
|
|
128311
128311
|
return this[_common_internal_Symbols__WEBPACK_IMPORTED_MODULE_13__._requestSnap](props);
|
|
@@ -128346,7 +128346,7 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
128346
128346
|
return _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelReadRpcInterface.getClientForRouting(this.routingContext.token).getMassProperties(this.getRpcProps(), requestProps);
|
|
128347
128347
|
}
|
|
128348
128348
|
/** Request mass properties for multiple elements from the backend.
|
|
128349
|
-
* @deprecated in 4.11 -
|
|
128349
|
+
* @deprecated in 4.11 - might be removed in next major version. Use [[IModelConnection.getMassProperties]].
|
|
128350
128350
|
*/
|
|
128351
128351
|
async getMassPropertiesPerCandidate(requestProps) {
|
|
128352
128352
|
return _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelReadRpcInterface.getClientForRouting(this.routingContext.token).getMassPropertiesPerCandidate(this.getRpcProps(), requestProps);
|
|
@@ -128778,7 +128778,7 @@ class SnapshotConnection extends IModelConnection {
|
|
|
128778
128778
|
}
|
|
128779
128779
|
/** Open an IModelConnection to a remote read-only snapshot iModel from a key that will be resolved by the backend.
|
|
128780
128780
|
* @note This method is intended for web applications.
|
|
128781
|
-
* @deprecated in 4.10 -
|
|
128781
|
+
* @deprecated in 4.10 - might be removed in next major version. Use [[CheckpointConnection.openRemote]].
|
|
128782
128782
|
*/
|
|
128783
128783
|
static async openRemote(fileKey) {
|
|
128784
128784
|
const routingContext = _IModelRoutingContext__WEBPACK_IMPORTED_MODULE_6__.IModelRoutingContext.current || _IModelRoutingContext__WEBPACK_IMPORTED_MODULE_6__.IModelRoutingContext.default;
|
|
@@ -129363,7 +129363,7 @@ class SnapshotConnection extends IModelConnection {
|
|
|
129363
129363
|
* There is no guarantee that this view will be suitable for the purposes of any other applications.
|
|
129364
129364
|
* Most applications should ignore the default view and instead create a [[ViewState]] that fits their own requirements using APIs like [[ViewCreator3d]].
|
|
129365
129365
|
* @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.
|
|
129366
|
-
* @deprecated in 4.2 -
|
|
129366
|
+
* @deprecated in 4.2 - might be removed in next major version. Create a ViewState to your own specifications.
|
|
129367
129367
|
*/
|
|
129368
129368
|
async queryDefaultViewId() {
|
|
129369
129369
|
const iModel = this._iModel;
|
|
@@ -129753,7 +129753,7 @@ class IpcApp {
|
|
|
129753
129753
|
throw Object.assign(new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.BackendError(err.errorNumber, err.iTwinErrorId.key, err.message, err.loggingMetadata), trimErr);
|
|
129754
129754
|
}
|
|
129755
129755
|
/** @internal
|
|
129756
|
-
* @deprecated in 4.8 -
|
|
129756
|
+
* @deprecated in 4.8 - might be removed in next major version. Use [[makeIpcProxy]] for a type-safe interface.
|
|
129757
129757
|
*/
|
|
129758
129758
|
static async callIpcChannel(channelName, methodName, ...args) {
|
|
129759
129759
|
return this[_common_internal_Symbols__WEBPACK_IMPORTED_MODULE_2__._callIpcChannel](channelName, methodName, ...args);
|
|
@@ -130954,9 +130954,7 @@ class NativeApp {
|
|
|
130954
130954
|
this._removeAppNotify = NativeAppNotifyHandler.register(); // receives notifications from backend
|
|
130955
130955
|
NativeApp.hookBrowserConnectivityEvents();
|
|
130956
130956
|
// initialize current online state.
|
|
130957
|
-
|
|
130958
|
-
await this.setConnectivity(_itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.OverriddenBy.Browser, window.navigator.onLine ? _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.InternetConnectivityStatus.Online : _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.InternetConnectivityStatus.Offline);
|
|
130959
|
-
}
|
|
130957
|
+
await this.setConnectivity(_itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.OverriddenBy.Browser, window.navigator.onLine ? _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.InternetConnectivityStatus.Online : _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.InternetConnectivityStatus.Offline);
|
|
130960
130958
|
}
|
|
130961
130959
|
/** @internal */
|
|
130962
130960
|
static async shutdown() {
|
|
@@ -133044,7 +133042,7 @@ class HiliteSet {
|
|
|
133044
133042
|
/** Toggle the hilited state of one or more elements.
|
|
133045
133043
|
* @param arg the ID(s) of the elements whose state is to be toggled.
|
|
133046
133044
|
* @param onOff True to add the elements to the hilited set, false to remove them.
|
|
133047
|
-
* @deprecated in 5.0 -
|
|
133045
|
+
* @deprecated in 5.0 - might be removed in next major version. Use [[add]], [[remove]], [[replace]] instead.
|
|
133048
133046
|
*/
|
|
133049
133047
|
setHilite(arg, onOff) {
|
|
133050
133048
|
if (onOff) {
|
|
@@ -133112,14 +133110,14 @@ class SelectionSet {
|
|
|
133112
133110
|
}
|
|
133113
133111
|
/** Return true if elemId is in this `SelectionSet`.
|
|
133114
133112
|
* @see [[isSelected]]
|
|
133115
|
-
* @deprecated in 5.0 -
|
|
133113
|
+
* @deprecated in 5.0 - might be removed in next major version. Use `SelectionSet.elements.has(elemId)` instead.
|
|
133116
133114
|
*/
|
|
133117
133115
|
has(elemId) {
|
|
133118
133116
|
return !!elemId && this.elements.has(elemId);
|
|
133119
133117
|
}
|
|
133120
133118
|
/** Query whether an Id is in the selection set.
|
|
133121
133119
|
* @see [[has]]
|
|
133122
|
-
* @deprecated in 5.0 -
|
|
133120
|
+
* @deprecated in 5.0 - might be removed in next major version. Use `SelectionSet.elements.has(elemId)` instead.
|
|
133123
133121
|
*/
|
|
133124
133122
|
isSelected(elemId) {
|
|
133125
133123
|
return !!elemId && this.elements.has(elemId);
|
|
@@ -137330,7 +137328,7 @@ class ViewState extends _EntityState__WEBPACK_IMPORTED_MODULE_5__.ElementState {
|
|
|
137330
137328
|
/** Execute a function against each [[TileTreeReference]] associated with this view.
|
|
137331
137329
|
* This may include tile trees not associated with any [[GeometricModelState]] - e.g., context reality data.
|
|
137332
137330
|
* @note This method is inefficient (iteration cannot be aborted) and awkward (callback cannot be async nor return a value). Prefer to iterate using [[getTileTreeRefs]].
|
|
137333
|
-
* @deprecated in 5.0 -
|
|
137331
|
+
* @deprecated in 5.0 - might be removed in next major version. Use [[getTileTreeRefs]] instead.
|
|
137334
137332
|
*/
|
|
137335
137333
|
forEachTileTreeRef(func) {
|
|
137336
137334
|
for (const ref of this.getModelTreeRefs()) {
|
|
@@ -140425,7 +140423,7 @@ class Viewport {
|
|
|
140425
140423
|
this.onDisposed.raiseEvent(this);
|
|
140426
140424
|
this.detachFromView();
|
|
140427
140425
|
}
|
|
140428
|
-
/** @deprecated in 5.0 -
|
|
140426
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
140429
140427
|
dispose() {
|
|
140430
140428
|
this[Symbol.dispose]();
|
|
140431
140429
|
}
|
|
@@ -140817,7 +140815,7 @@ class Viewport {
|
|
|
140817
140815
|
}
|
|
140818
140816
|
}
|
|
140819
140817
|
/** Apply a function to every tile tree reference associated with the map layers displayed by this viewport.
|
|
140820
|
-
* @deprecated in 5.0 -
|
|
140818
|
+
* @deprecated in 5.0 - might be removed in next major version. Use [[mapTileTreeRefs]] instead.
|
|
140821
140819
|
*/
|
|
140822
140820
|
forEachMapTreeRef(func) {
|
|
140823
140821
|
if (this._mapTiledGraphicsProvider)
|
|
@@ -140829,7 +140827,7 @@ class Viewport {
|
|
|
140829
140827
|
}
|
|
140830
140828
|
;
|
|
140831
140829
|
/** Apply a function to every [[TileTreeReference]] displayed by this viewport.
|
|
140832
|
-
* @deprecated in 5.0 -
|
|
140830
|
+
* @deprecated in 5.0 - might be removed in next major version. Use [[getTileTreeRefs]] instead.
|
|
140833
140831
|
*/
|
|
140834
140832
|
forEachTileTreeRef(func) {
|
|
140835
140833
|
for (const ref of this.getTileTreeRefs()) {
|
|
@@ -155365,7 +155363,7 @@ class AtmosphereUniforms {
|
|
|
155365
155363
|
return true;
|
|
155366
155364
|
}
|
|
155367
155365
|
[Symbol.dispose]() { }
|
|
155368
|
-
/** @deprecated in 5.0 -
|
|
155366
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
155369
155367
|
dispose() {
|
|
155370
155368
|
this[Symbol.dispose]();
|
|
155371
155369
|
}
|
|
@@ -155451,7 +155449,7 @@ class BuffersContainer {
|
|
|
155451
155449
|
this._context = context;
|
|
155452
155450
|
this._vao = new VAOHandle(this._context);
|
|
155453
155451
|
}
|
|
155454
|
-
/** @deprecated in 5.0 -
|
|
155452
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
155455
155453
|
dispose() {
|
|
155456
155454
|
this[Symbol.dispose]();
|
|
155457
155455
|
}
|
|
@@ -155513,7 +155511,7 @@ class VAOHandle {
|
|
|
155513
155511
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(!this.isDisposed);
|
|
155514
155512
|
}
|
|
155515
155513
|
get isDisposed() { return this._arrayObject === undefined; }
|
|
155516
|
-
/** @deprecated in 5.0 -
|
|
155514
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
155517
155515
|
dispose() {
|
|
155518
155516
|
this[Symbol.dispose]();
|
|
155519
155517
|
}
|
|
@@ -158260,7 +158258,7 @@ class ClippingProgram {
|
|
|
158260
158258
|
[Symbol.dispose]() {
|
|
158261
158259
|
this._program = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this._program);
|
|
158262
158260
|
}
|
|
158263
|
-
/** @deprecated in 5.0 -
|
|
158261
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
158264
158262
|
dispose() {
|
|
158265
158263
|
this[Symbol.dispose]();
|
|
158266
158264
|
}
|
|
@@ -170388,7 +170386,7 @@ class ShaderProgram {
|
|
|
170388
170386
|
this._status = 2 /* CompileStatus.Uncompiled */;
|
|
170389
170387
|
}
|
|
170390
170388
|
}
|
|
170391
|
-
/** @deprecated in 5.0 -
|
|
170389
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
170392
170390
|
dispose() {
|
|
170393
170391
|
this[Symbol.dispose]();
|
|
170394
170392
|
}
|
|
@@ -170857,7 +170855,7 @@ class ShaderProgramExecutor {
|
|
|
170857
170855
|
ShaderProgramExecutor.freeParams();
|
|
170858
170856
|
this._isDisposed = true;
|
|
170859
170857
|
}
|
|
170860
|
-
/** @deprecated in 5.0 -
|
|
170858
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
170861
170859
|
dispose() {
|
|
170862
170860
|
this[Symbol.dispose]();
|
|
170863
170861
|
}
|
|
@@ -174498,7 +174496,7 @@ class SingularTechnique {
|
|
|
174498
174496
|
[Symbol.dispose]() {
|
|
174499
174497
|
this.program[Symbol.dispose]();
|
|
174500
174498
|
}
|
|
174501
|
-
/** @deprecated in 5.0 -
|
|
174499
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
174502
174500
|
dispose() {
|
|
174503
174501
|
this[Symbol.dispose]();
|
|
174504
174502
|
}
|
|
@@ -174555,7 +174553,7 @@ class VariedTechnique {
|
|
|
174555
174553
|
this._clippingPrograms.length = 0;
|
|
174556
174554
|
this._isDisposed = true;
|
|
174557
174555
|
}
|
|
174558
|
-
/** @deprecated in 5.0 -
|
|
174556
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
174559
174557
|
dispose() {
|
|
174560
174558
|
this[Symbol.dispose]();
|
|
174561
174559
|
}
|
|
@@ -175262,7 +175260,7 @@ class Techniques {
|
|
|
175262
175260
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(tech);
|
|
175263
175261
|
this._list.length = 0;
|
|
175264
175262
|
}
|
|
175265
|
-
/** @deprecated in 5.0 -
|
|
175263
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
175266
175264
|
dispose() {
|
|
175267
175265
|
this[Symbol.dispose]();
|
|
175268
175266
|
}
|
|
@@ -191529,7 +191527,7 @@ class RealityTreeReference extends RealityModelTileTree.Reference {
|
|
|
191529
191527
|
div.innerHTML = strings.join("<br>");
|
|
191530
191528
|
return div;
|
|
191531
191529
|
}
|
|
191532
|
-
/** @deprecated in 5.0 -
|
|
191530
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
|
|
191533
191531
|
addLogoCards(cards) {
|
|
191534
191532
|
if (this._rdSourceKey.provider === _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.CesiumIonAsset && !cards.dataset.openStreetMapLogoCard) {
|
|
191535
191533
|
cards.dataset.openStreetMapLogoCard = "true";
|
|
@@ -193298,7 +193296,7 @@ class ArcGISMapLayerImageryProvider extends _tile_internal__WEBPACK_IMPORTED_MOD
|
|
|
193298
193296
|
}
|
|
193299
193297
|
}
|
|
193300
193298
|
}
|
|
193301
|
-
/** @deprecated in 5.0 -
|
|
193299
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
|
|
193302
193300
|
addLogoCards(cards) {
|
|
193303
193301
|
if (!cards.dataset.arcGisLogoCard) {
|
|
193304
193302
|
cards.dataset.arcGisLogoCard = "true";
|
|
@@ -193530,7 +193528,7 @@ class AzureMapsLayerImageryProvider extends _tile_internal__WEBPACK_IMPORTED_MOD
|
|
|
193530
193528
|
return "";
|
|
193531
193529
|
return `${this._settings.url}&${this._settings.accessKey.key}=${this._settings.accessKey.value}&api-version=2.0&zoom=${zoom}&x=${x}&y=${y}`;
|
|
193532
193530
|
}
|
|
193533
|
-
/** @deprecated in 5.0 -
|
|
193531
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
|
|
193534
193532
|
addLogoCards(cards) {
|
|
193535
193533
|
if (!cards.dataset.azureMapsLogoCard) {
|
|
193536
193534
|
cards.dataset.azureMapsLogoCard = "true";
|
|
@@ -193697,7 +193695,7 @@ class BingMapsImageryLayerProvider extends _tile_internal__WEBPACK_IMPORTED_MODU
|
|
|
193697
193695
|
}
|
|
193698
193696
|
return matchingAttributions;
|
|
193699
193697
|
}
|
|
193700
|
-
/** @deprecated in 5.0 -
|
|
193698
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
|
|
193701
193699
|
addLogoCards(cards, vp) {
|
|
193702
193700
|
const tiles = _IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.tileAdmin.getTilesForUser(vp)?.selected;
|
|
193703
193701
|
const matchingAttributions = this.getMatchingAttributions(tiles);
|
|
@@ -194154,7 +194152,7 @@ class MapBoxLayerImageryProvider extends _tile_internal__WEBPACK_IMPORTED_MODULE
|
|
|
194154
194152
|
url = url.concat(`?${this._settings.accessKey.key}=${this._settings.accessKey.value}`);
|
|
194155
194153
|
return url;
|
|
194156
194154
|
}
|
|
194157
|
-
/** @deprecated in 5.0 -
|
|
194155
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
|
|
194158
194156
|
addLogoCards(cards) {
|
|
194159
194157
|
if (!cards.dataset.mapboxLogoCard) {
|
|
194160
194158
|
cards.dataset.mapboxLogoCard = "true";
|
|
@@ -195905,7 +195903,7 @@ class AngleDescription extends _FormattedQuantityDescription__WEBPACK_IMPORTED_M
|
|
|
195905
195903
|
}
|
|
195906
195904
|
get formatterQuantityType() { return _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_1__.QuantityType.Angle; }
|
|
195907
195905
|
/**
|
|
195908
|
-
* @deprecated in 5.0 -
|
|
195906
|
+
* @deprecated in 5.0 - might be removed in next major version. Use the `kindOfQuantityName` property instead.
|
|
195909
195907
|
*/
|
|
195910
195908
|
get quantityType() { return "Angle"; }
|
|
195911
195909
|
get parseError() { return _IModelApp__WEBPACK_IMPORTED_MODULE_0__.IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseAngle"); }
|
|
@@ -196040,7 +196038,7 @@ class LengthDescription extends _FormattedQuantityDescription__WEBPACK_IMPORTED_
|
|
|
196040
196038
|
}
|
|
196041
196039
|
get formatterQuantityType() { return _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_1__.QuantityType.Length; }
|
|
196042
196040
|
/**
|
|
196043
|
-
* @deprecated in 5.0 -
|
|
196041
|
+
* @deprecated in 5.0 - might be removed in next major version. Use the `kindOfQuantityName` property instead.
|
|
196044
196042
|
*/
|
|
196045
196043
|
get quantityType() { return "Length"; }
|
|
196046
196044
|
get parseError() { return _IModelApp__WEBPACK_IMPORTED_MODULE_0__.IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseLength"); }
|
|
@@ -196061,7 +196059,7 @@ class SurveyLengthDescription extends _FormattedQuantityDescription__WEBPACK_IMP
|
|
|
196061
196059
|
}
|
|
196062
196060
|
get formatterQuantityType() { return _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_1__.QuantityType.LengthSurvey; }
|
|
196063
196061
|
/**
|
|
196064
|
-
* @deprecated in 5.0 -
|
|
196062
|
+
* @deprecated in 5.0 - might be removed in next major version. Use the `kindOfQuantityName` property instead.
|
|
196065
196063
|
*/
|
|
196066
196064
|
get quantityType() { return "LengthSurvey"; }
|
|
196067
196065
|
get parseError() { return _IModelApp__WEBPACK_IMPORTED_MODULE_0__.IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseLength"); }
|
|
@@ -196082,7 +196080,7 @@ class EngineeringLengthDescription extends _FormattedQuantityDescription__WEBPAC
|
|
|
196082
196080
|
}
|
|
196083
196081
|
get formatterQuantityType() { return _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_1__.QuantityType.LengthEngineering; }
|
|
196084
196082
|
/**
|
|
196085
|
-
* @deprecated in 5.0 -
|
|
196083
|
+
* @deprecated in 5.0 - might be removed in next major version. Use the `kindOfQuantityName` property instead.
|
|
196086
196084
|
*/
|
|
196087
196085
|
get quantityType() { return "LengthEngineering"; }
|
|
196088
196086
|
get parseError() { return _IModelApp__WEBPACK_IMPORTED_MODULE_0__.IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseLength"); }
|
|
@@ -198037,7 +198035,7 @@ class Decorations {
|
|
|
198037
198035
|
this.viewOverlay = undefined;
|
|
198038
198036
|
this.normal = undefined;
|
|
198039
198037
|
}
|
|
198040
|
-
/** @deprecated in 5.0 -
|
|
198038
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
198041
198039
|
dispose() {
|
|
198042
198040
|
this[Symbol.dispose]();
|
|
198043
198041
|
}
|
|
@@ -198338,7 +198336,7 @@ class GraphicBranch {
|
|
|
198338
198336
|
[Symbol.dispose]() {
|
|
198339
198337
|
this.clear();
|
|
198340
198338
|
}
|
|
198341
|
-
/** @deprecated in 5.0 -
|
|
198339
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
198342
198340
|
dispose() {
|
|
198343
198341
|
this[Symbol.dispose]();
|
|
198344
198342
|
}
|
|
@@ -204362,7 +204360,7 @@ class Tile {
|
|
|
204362
204360
|
this._state = 5 /* TileState.Abandoned */;
|
|
204363
204361
|
this.disposeChildren();
|
|
204364
204362
|
}
|
|
204365
|
-
/** @deprecated in 5.0 -
|
|
204363
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
204366
204364
|
dispose() {
|
|
204367
204365
|
this[Symbol.dispose]();
|
|
204368
204366
|
}
|
|
@@ -207025,7 +207023,7 @@ class TileTree {
|
|
|
207025
207023
|
this._isDisposed = true;
|
|
207026
207024
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.rootTile);
|
|
207027
207025
|
}
|
|
207028
|
-
/** @deprecated in 5.0 -
|
|
207026
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
207029
207027
|
dispose() {
|
|
207030
207028
|
this[Symbol.dispose]();
|
|
207031
207029
|
}
|
|
@@ -207364,7 +207362,7 @@ class TileTreeReference /* implements RenderMemory.Consumer */ {
|
|
|
207364
207362
|
* @beta
|
|
207365
207363
|
*/
|
|
207366
207364
|
get planarClipMaskPriority() { return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.PlanarClipMaskPriority.DesignModel; }
|
|
207367
|
-
/** @deprecated in 5.0 -
|
|
207365
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
|
|
207368
207366
|
addLogoCards(_cards, _vp) { }
|
|
207369
207367
|
/** Add attribution logo cards for the tile tree source logo cards to the viewport's logo div.
|
|
207370
207368
|
* @beta
|
|
@@ -208336,7 +208334,7 @@ class CesiumTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_8__.Terra
|
|
|
208336
208334
|
this._assetId = opts.dataSource || _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.CesiumTerrainAssetId.Default;
|
|
208337
208335
|
this._tokenTimeOut = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeTimePoint.now().plus(CesiumTerrainProvider._tokenTimeoutInterval);
|
|
208338
208336
|
}
|
|
208339
|
-
/** @deprecated in 5.0 -
|
|
208337
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
|
|
208340
208338
|
addLogoCards(cards) {
|
|
208341
208339
|
if (cards.dataset.cesiumIonLogoCard)
|
|
208342
208340
|
return;
|
|
@@ -208956,7 +208954,7 @@ class ImageryMapTileTree extends _internal__WEBPACK_IMPORTED_MODULE_4__.RealityT
|
|
|
208956
208954
|
this._rootTile = new ImageryMapTile(params.rootTile, this, rootQuadId, this.getTileRectangle(rootQuadId));
|
|
208957
208955
|
}
|
|
208958
208956
|
get tilingScheme() { return this._imageryLoader.imageryProvider.tilingScheme; }
|
|
208959
|
-
/** @deprecated in 5.0 -
|
|
208957
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
|
|
208960
208958
|
addLogoCards(cards, vp) {
|
|
208961
208959
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
208962
208960
|
this._imageryLoader.addLogoCards(cards, vp);
|
|
@@ -209010,7 +209008,7 @@ class ImageryTileLoader extends _internal__WEBPACK_IMPORTED_MODULE_4__.RealityTi
|
|
|
209010
209008
|
get maxDepth() { return this._imageryProvider.maximumZoomLevel; }
|
|
209011
209009
|
get minDepth() { return this._imageryProvider.minimumZoomLevel; }
|
|
209012
209010
|
get priority() { return _internal__WEBPACK_IMPORTED_MODULE_4__.TileLoadPriority.Map; }
|
|
209013
|
-
/** @deprecated in 5.0 -
|
|
209011
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
|
|
209014
209012
|
addLogoCards(cards, vp) {
|
|
209015
209013
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
209016
209014
|
this._imageryProvider.addLogoCards(cards, vp);
|
|
@@ -209942,7 +209940,7 @@ class MapLayerImageryProvider {
|
|
|
209942
209940
|
});
|
|
209943
209941
|
}
|
|
209944
209942
|
get tilingScheme() { return this.useGeographicTilingScheme ? this._geographicTilingScheme : this._mercatorTilingScheme; }
|
|
209945
|
-
/** @deprecated in 5.0 -
|
|
209943
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
|
|
209946
209944
|
addLogoCards(_cards, _viewport) { }
|
|
209947
209945
|
/**
|
|
209948
209946
|
* Add attribution logo cards for the data supplied by this provider to the [[Viewport]]'s logo div.
|
|
@@ -212356,7 +212354,7 @@ class MapTileTreeReference extends _internal__WEBPACK_IMPORTED_MODULE_7__.TileTr
|
|
|
212356
212354
|
}
|
|
212357
212355
|
return info;
|
|
212358
212356
|
}
|
|
212359
|
-
/** @deprecated in 5.0 -
|
|
212357
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
|
|
212360
212358
|
addLogoCards(cards, vp) {
|
|
212361
212359
|
const tree = this.treeOwner.tileTree;
|
|
212362
212360
|
if (tree) {
|
|
@@ -212996,7 +212994,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
212996
212994
|
* @public
|
|
212997
212995
|
*/
|
|
212998
212996
|
class TerrainMeshProvider {
|
|
212999
|
-
/** @deprecated in 5.0 -
|
|
212997
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [addAttributions] instead. */
|
|
213000
212998
|
addLogoCards(_cards, _vp) { }
|
|
213001
212999
|
/** Add attribution logo cards for the terrain data supplied by this provider to the [[Viewport]]'s logo div.
|
|
213002
213000
|
* For example, a provider that produces meshes from [Bing Maps](https://docs.microsoft.com/en-us/bingmaps/rest-services/elevations/) would be required to
|
|
@@ -228373,7 +228371,7 @@ class Geometry {
|
|
|
228373
228371
|
static largeCoordinateResult = 1.0e13;
|
|
228374
228372
|
/**
|
|
228375
228373
|
* Numeric value that may considered infinite for metric coordinates.
|
|
228376
|
-
* @deprecated in 4.9.0 -
|
|
228374
|
+
* @deprecated in 4.9.0 - might be removed in next major version. Use [[largeCoordinateResult]].
|
|
228377
228375
|
* * This coordinate should be used only as a placeholder indicating "at infinity" -- computing actual
|
|
228378
228376
|
* points at this coordinate invites numerical problems.
|
|
228379
228377
|
*/
|
|
@@ -228384,7 +228382,7 @@ class Geometry {
|
|
|
228384
228382
|
}
|
|
228385
228383
|
/**
|
|
228386
228384
|
* Test if the absolute value of x is at least [[largeCoordinateResult]].
|
|
228387
|
-
* @deprecated in 4.9.0 -
|
|
228385
|
+
* @deprecated in 4.9.0 - might be removed in next major version. Use [[isLargeCoordinateResult]].
|
|
228388
228386
|
*/
|
|
228389
228387
|
static isHugeCoordinate(x) {
|
|
228390
228388
|
return Geometry.isLargeCoordinateResult(x);
|
|
@@ -229452,7 +229450,7 @@ class Geometry {
|
|
|
229452
229450
|
/**
|
|
229453
229451
|
* Clone an array whose members have type `T`, which implements the clone method.
|
|
229454
229452
|
* * If the clone method returns `undefined`, then `undefined` is forced into the cloned array.
|
|
229455
|
-
* @deprecated in 4.4.0 -
|
|
229453
|
+
* @deprecated in 4.4.0 - might be removed in next major version. Use cloneArray.
|
|
229456
229454
|
*/
|
|
229457
229455
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
229458
229456
|
static cloneMembers(array) {
|
|
@@ -229894,7 +229892,7 @@ class BSpline1dNd {
|
|
|
229894
229892
|
* Test if the leading and trailing polygon coordinates are replicated in the manner of a "closed" bspline polygon
|
|
229895
229893
|
* which has been expanded to act as a normal bspline.
|
|
229896
229894
|
* @returns true if `degree` leading and trailing polygon blocks match.
|
|
229897
|
-
* @deprecated in 4.2.1 -
|
|
229895
|
+
* @deprecated in 4.2.1 - might be removed in next major version. Use `testClosablePolygon` instead.
|
|
229898
229896
|
*/
|
|
229899
229897
|
testCloseablePolygon(mode) {
|
|
229900
229898
|
return this.testClosablePolygon(mode);
|
|
@@ -232199,7 +232197,7 @@ var UVSelect;
|
|
|
232199
232197
|
UVSelect[UVSelect["uDirection"] = 0] = "uDirection";
|
|
232200
232198
|
/**
|
|
232201
232199
|
* index of v direction
|
|
232202
|
-
* @deprecated in 4.3.0 -
|
|
232200
|
+
* @deprecated in 4.3.0 - might be removed in next major version. Use vDirection instead.
|
|
232203
232201
|
*/
|
|
232204
232202
|
UVSelect[UVSelect["VDirection"] = 1] = "VDirection";
|
|
232205
232203
|
/** index of v direction */
|
|
@@ -232426,7 +232424,7 @@ class BSpline2dNd extends _curve_GeometryQuery__WEBPACK_IMPORTED_MODULE_0__.Geom
|
|
|
232426
232424
|
}
|
|
232427
232425
|
/**
|
|
232428
232426
|
* sum poles by the weights in the basisBuffer, using poles for given span
|
|
232429
|
-
* @deprecated in 4.3.0 -
|
|
232427
|
+
* @deprecated in 4.3.0 - might be removed in next major version. Use sumPoleBufferDerivativesForSpan instead.
|
|
232430
232428
|
*/
|
|
232431
232429
|
sumpoleBufferDerivativesForSpan(spanIndexU, spanIndexV) {
|
|
232432
232430
|
return this.sumPoleBufferDerivativesForSpan(spanIndexU, spanIndexV);
|
|
@@ -242224,7 +242222,7 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
|
|
|
242224
242222
|
}
|
|
242225
242223
|
/**
|
|
242226
242224
|
* Gauss point quadrature count for evaluating curve length. (The number of intervals is adjusted to the arc sweep).
|
|
242227
|
-
* @deprecated in 5.0 -
|
|
242225
|
+
* @deprecated in 5.0 - might be removed in next major version. Use correct spelling quadratureGaussCount.
|
|
242228
242226
|
*/
|
|
242229
242227
|
static quadratureGuassCount = 5;
|
|
242230
242228
|
/** Gauss point quadrature count for evaluating curve length. (The number of intervals is adjusted to the arc sweep). */
|
|
@@ -245550,9 +245548,9 @@ class CurveFactory {
|
|
|
245550
245548
|
* * If there are 2 connected arcs, add a zero-length line segment between them.
|
|
245551
245549
|
* * If there is a pair of arc and line segment/string with non-parallel tangents, add a zero-length line segment
|
|
245552
245550
|
* between them.
|
|
245553
|
-
* * If there is an arc with sweep degrees in
|
|
245554
|
-
* line segment. Similarly, break
|
|
245555
|
-
* `undefined` if there is an arc with sweep greater than 360 degrees.
|
|
245551
|
+
* * If there is an arc with sweep degrees in (120, 240], break the arc into 2 pieces separated by a zero-length
|
|
245552
|
+
* line segment. Similarly, break arcs with sweep in (240, 360] into 3 pieces separated by 2 zero-length line segments.
|
|
245553
|
+
* Return `undefined` if there is an arc with sweep greater than 360 degrees.
|
|
245556
245554
|
*/
|
|
245557
245555
|
static updatePathForRelaxedValidation(filletedLineString, isClosed, parallelOptions) {
|
|
245558
245556
|
const newFilletedLineString = new _Path__WEBPACK_IMPORTED_MODULE_7__.Path();
|
|
@@ -245581,10 +245579,11 @@ class CurveFactory {
|
|
|
245581
245579
|
const linePoint = child.startPoint();
|
|
245582
245580
|
newFilletedLineString.tryAddChild(_LineSegment3d__WEBPACK_IMPORTED_MODULE_2__.LineSegment3d.create(linePoint, linePoint));
|
|
245583
245581
|
}
|
|
245584
|
-
|
|
245582
|
+
// to avoid PI too far from the arc, split arcs so that no sub-arc has sweep greater than 120 degrees
|
|
245583
|
+
if (arcSweep !== undefined && arcSweep > 120 && arcSweep <= 240) {
|
|
245585
245584
|
CurveFactory.splitAndAppendArc(newFilletedLineString, child, [0, 0.5, 1]); // 2 pieces
|
|
245586
245585
|
}
|
|
245587
|
-
else if (arcSweep !== undefined && arcSweep >
|
|
245586
|
+
else if (arcSweep !== undefined && arcSweep > 240 && arcSweep <= 360 + sweepTol) {
|
|
245588
245587
|
CurveFactory.splitAndAppendArc(newFilletedLineString, child, [0, 1 / 3, 2 / 3, 1]); // 3 pieces
|
|
245589
245588
|
}
|
|
245590
245589
|
else {
|
|
@@ -245674,12 +245673,11 @@ class CurveFactory {
|
|
|
245674
245673
|
* tangent direction.
|
|
245675
245674
|
* * To treat more input chains as valid, pass `options.relaxedValidation = true`. Internally, this setting performs
|
|
245676
245675
|
* several transformations on the input to produce a valid filleted linestring:
|
|
245677
|
-
* *
|
|
245678
|
-
*
|
|
245679
|
-
* `LineSegment3d`s. Arcs with sweep greater than 360 degrees are not allowed.
|
|
245676
|
+
* * `Arc3d`s with large sweep are uniformly split into 2 or 3 smaller arcs to improve the proximity of their _PI_
|
|
245677
|
+
* points (cf. {@link Arc3d.computeTangentIntersection}). Arcs with sweep greater than 360 degrees are not allowed.
|
|
245680
245678
|
* * Adjacent `Arc3d`s are separated by a zero-length `LineSegment3d`.
|
|
245681
|
-
* * An `Arc3d` that is not G1 continuous with its neighbor is separated from
|
|
245682
|
-
* `LineSegment3d
|
|
245679
|
+
* * An `Arc3d` that is not G1 continuous with its linear neighbor is separated from it by a zero-length
|
|
245680
|
+
* `LineSegment3d` to preserve the corner.
|
|
245683
245681
|
* @param filletedLineString A linestring with corner fillets, e.g., as created by {@link CurveFactory.createFilletsInLineString}.
|
|
245684
245682
|
* @param options optional validation settings.
|
|
245685
245683
|
* @returns Array of [point, radius] pairs extracted from input, or `undefined` if the input is not valid. A radius
|
|
@@ -246847,7 +246845,7 @@ class CurveLocationDetailPair {
|
|
|
246847
246845
|
}
|
|
246848
246846
|
/**
|
|
246849
246847
|
* Data bundle for a pair of arrays of CurveLocationDetail structures.
|
|
246850
|
-
* @deprecated in 4.2.0 -
|
|
246848
|
+
* @deprecated in 4.2.0 - might be removed in next major version. Use CurveLocationDetailPair[] instead.
|
|
246851
246849
|
* @public
|
|
246852
246850
|
*/
|
|
246853
246851
|
class CurveLocationDetailArrayPair {
|
|
@@ -255012,7 +255010,7 @@ class StrokeOptions {
|
|
|
255012
255010
|
maxEdgeLength;
|
|
255013
255011
|
/**
|
|
255014
255012
|
* Caller expects convex facets.
|
|
255015
|
-
* @deprecated in 4.2.0 -
|
|
255013
|
+
* @deprecated in 4.2.0 - might be removed in next major version. Never used. See [[shouldTriangulate]] and [[maximizeConvexFacets]].
|
|
255016
255014
|
*/
|
|
255017
255015
|
needConvexFacets;
|
|
255018
255016
|
/** Minimum strokes on a primitive. */
|
|
@@ -257412,14 +257410,14 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
257412
257410
|
const cosines = new _geometry3d_GrowableFloat64Array__WEBPACK_IMPORTED_MODULE_9__.GrowableFloat64Array(2);
|
|
257413
257411
|
const sines = new _geometry3d_GrowableFloat64Array__WEBPACK_IMPORTED_MODULE_9__.GrowableFloat64Array(2);
|
|
257414
257412
|
const radians = new _geometry3d_GrowableFloat64Array__WEBPACK_IMPORTED_MODULE_9__.GrowableFloat64Array(2);
|
|
257415
|
-
// Arc:
|
|
257413
|
+
// Arc: X(theta) = C + cos(theta)·U + sin(theta)·V
|
|
257416
257414
|
// Line: contains points A0,A1
|
|
257417
|
-
// Arc point colinear with line if det
|
|
257418
|
-
//
|
|
257419
|
-
//
|
|
257420
|
-
//
|
|
257421
|
-
//
|
|
257422
|
-
// project back to line
|
|
257415
|
+
// Arc point X is colinear (intersects) with line if det(A0, A1, X) = 0 with homogeneous xyw points and vectors
|
|
257416
|
+
// This leads to
|
|
257417
|
+
// det(A0, A1, C) + cos(theta) det(A0, A1, U) + sin(theta) det(A0, A1, V) = 0
|
|
257418
|
+
// or
|
|
257419
|
+
// alpha + beta cos(theta) + gamma sin(theta) = 0
|
|
257420
|
+
// solve for theta; evaluate points; project back to line
|
|
257423
257421
|
if (this._worldToLocalPerspective) {
|
|
257424
257422
|
const data = arc.toTransformedPoint4d(this._worldToLocalPerspective);
|
|
257425
257423
|
const radians0 = data.sweep.fractionToRadians(0);
|
|
@@ -257431,7 +257429,7 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
257431
257429
|
const alpha = _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.tripleProductPoint4dXYW(pointA0H, pointA1H, data.center);
|
|
257432
257430
|
const beta = _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.tripleProductPoint4dXYW(pointA0H, pointA1H, data.vector0);
|
|
257433
257431
|
const gamma = _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.tripleProductPoint4dXYW(pointA0H, pointA1H, data.vector90);
|
|
257434
|
-
let numRoots = _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_10__.AnalyticRoots.appendImplicitLineUnitCircleIntersections(alpha, beta, gamma, cosines, sines, radians);
|
|
257432
|
+
let numRoots = _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_10__.AnalyticRoots.appendImplicitLineUnitCircleIntersections(alpha, beta, gamma, cosines, sines, radians, tol2);
|
|
257435
257433
|
const closeApproach = (0 === numRoots);
|
|
257436
257434
|
if (closeApproach)
|
|
257437
257435
|
numRoots = 1; // we returned the arc's closest approach as the first "root"; if within tolerance and at endpoints, we record it
|
|
@@ -257472,7 +257470,7 @@ class CurveCurveIntersectXY extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
|
|
|
257472
257470
|
const alpha = _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.tripleProductXYW(pointA0Local, 1, pointA1Local, 1, data.center, 1);
|
|
257473
257471
|
const beta = _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.tripleProductXYW(pointA0Local, 1, pointA1Local, 1, data.vector0, 0);
|
|
257474
257472
|
const gamma = _Geometry__WEBPACK_IMPORTED_MODULE_4__.Geometry.tripleProductXYW(pointA0Local, 1, pointA1Local, 1, data.vector90, 0);
|
|
257475
|
-
let numRoots = _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_10__.AnalyticRoots.appendImplicitLineUnitCircleIntersections(alpha, beta, gamma, cosines, sines, radians);
|
|
257473
|
+
let numRoots = _numerics_Polynomials__WEBPACK_IMPORTED_MODULE_10__.AnalyticRoots.appendImplicitLineUnitCircleIntersections(alpha, beta, gamma, cosines, sines, radians, tol2);
|
|
257476
257474
|
const closeApproach = (0 === numRoots);
|
|
257477
257475
|
if (closeApproach)
|
|
257478
257476
|
numRoots = 1; // we returned the arc's closest approach as the first "root"; if within tolerance and at endpoints, we record it
|
|
@@ -271942,7 +271940,7 @@ class GrowableXYArray extends _IndexedXYCollection__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
271942
271940
|
}
|
|
271943
271941
|
/**
|
|
271944
271942
|
* Restructure MultiLineStringDataVariant as array of GrowableXYZArray
|
|
271945
|
-
* @deprecated in 4.2.0 -
|
|
271943
|
+
* @deprecated in 4.2.0 - might be removed in next major version. Moved to GrowableXYZArray class.
|
|
271946
271944
|
*/
|
|
271947
271945
|
static createArrayOfGrowableXYZArray(data) {
|
|
271948
271946
|
return _GrowableXYZArray__WEBPACK_IMPORTED_MODULE_1__.GrowableXYZArray.createArrayOfGrowableXYZArray(data);
|
|
@@ -289605,12 +289603,12 @@ class Matrix4d {
|
|
|
289605
289603
|
result._coffs[i] = this._coffs[i];
|
|
289606
289604
|
return result;
|
|
289607
289605
|
}
|
|
289608
|
-
/**
|
|
289606
|
+
/** Zero this matrix4d in place. */
|
|
289609
289607
|
setZero() {
|
|
289610
289608
|
for (let i = 0; i < 16; i++)
|
|
289611
289609
|
this._coffs[i] = 0;
|
|
289612
289610
|
}
|
|
289613
|
-
/**
|
|
289611
|
+
/** Set to identity. */
|
|
289614
289612
|
setIdentity() {
|
|
289615
289613
|
for (let i = 0; i < 16; i++)
|
|
289616
289614
|
this._coffs[i] = 0;
|
|
@@ -289622,14 +289620,14 @@ class Matrix4d {
|
|
|
289622
289620
|
&& Math.abs(c) <= tol
|
|
289623
289621
|
&& Math.abs(d) <= tol;
|
|
289624
289622
|
}
|
|
289625
|
-
/**
|
|
289623
|
+
/** Check if this matrix is identity. */
|
|
289626
289624
|
isIdentity(tol = 1.0e-10) {
|
|
289627
289625
|
return Matrix4d.is1000(this._coffs[0], this._coffs[1], this._coffs[2], this._coffs[3], tol)
|
|
289628
289626
|
&& Matrix4d.is1000(this._coffs[5], this._coffs[6], this._coffs[7], this._coffs[4], tol)
|
|
289629
289627
|
&& Matrix4d.is1000(this._coffs[10], this._coffs[11], this._coffs[8], this._coffs[9], tol)
|
|
289630
289628
|
&& Matrix4d.is1000(this._coffs[15], this._coffs[12], this._coffs[13], this._coffs[14], tol);
|
|
289631
289629
|
}
|
|
289632
|
-
/**
|
|
289630
|
+
/** Create a Matrix4d filled with zeros. */
|
|
289633
289631
|
static createZero(result) {
|
|
289634
289632
|
if (result) {
|
|
289635
289633
|
result.setZero();
|
|
@@ -289637,7 +289635,7 @@ class Matrix4d {
|
|
|
289637
289635
|
}
|
|
289638
289636
|
return new Matrix4d(); // this is zero.
|
|
289639
289637
|
}
|
|
289640
|
-
/**
|
|
289638
|
+
/** Create a Matrix4d with values supplied "across the rows" */
|
|
289641
289639
|
static createRowValues(cxx, cxy, cxz, cxw, cyx, cyy, cyz, cyw, czx, czy, czz, czw, cwx, cwy, cwz, cww, result) {
|
|
289642
289640
|
result = result ? result : new Matrix4d();
|
|
289643
289641
|
result._coffs[0] = cxx;
|
|
@@ -289662,10 +289660,10 @@ class Matrix4d {
|
|
|
289662
289660
|
static createRows(rowX, rowY, rowZ, rowW, result) {
|
|
289663
289661
|
return this.createRowValues(rowX.x, rowX.y, rowX.z, rowX.w, rowY.x, rowY.y, rowY.z, rowY.w, rowZ.x, rowZ.y, rowZ.z, rowZ.w, rowW.x, rowW.y, rowW.z, rowW.w, result);
|
|
289664
289662
|
}
|
|
289665
|
-
/**
|
|
289666
|
-
*
|
|
289663
|
+
/**
|
|
289664
|
+
* Directly set columns from typical 3d data:
|
|
289667
289665
|
* * vectorX, vectorY, vectorZ as columns 0,1,2, with weight0.
|
|
289668
|
-
* * origin as column3, with weight 1
|
|
289666
|
+
* * origin as column3, with weight 1.
|
|
289669
289667
|
*/
|
|
289670
289668
|
setOriginAndVectors(origin, vectorX, vectorY, vectorZ) {
|
|
289671
289669
|
this._coffs[0] = vectorX.x;
|
|
@@ -289685,13 +289683,13 @@ class Matrix4d {
|
|
|
289685
289683
|
this._coffs[14] = 0.0;
|
|
289686
289684
|
this._coffs[15] = 1.0;
|
|
289687
289685
|
}
|
|
289688
|
-
/**
|
|
289686
|
+
/** Promote a transform to full Matrix4d (with 0001 in final row) */
|
|
289689
289687
|
static createTransform(source, result) {
|
|
289690
289688
|
const matrix = source.matrix;
|
|
289691
289689
|
const point = source.origin;
|
|
289692
289690
|
return Matrix4d.createRowValues(matrix.coffs[0], matrix.coffs[1], matrix.coffs[2], point.x, matrix.coffs[3], matrix.coffs[4], matrix.coffs[5], point.y, matrix.coffs[6], matrix.coffs[7], matrix.coffs[8], point.z, 0, 0, 0, 1, result);
|
|
289693
289691
|
}
|
|
289694
|
-
/**
|
|
289692
|
+
/** Return an identity matrix. */
|
|
289695
289693
|
static createIdentity(result) {
|
|
289696
289694
|
result = Matrix4d.createZero(result);
|
|
289697
289695
|
result._coffs[0] = 1.0;
|
|
@@ -289700,7 +289698,7 @@ class Matrix4d {
|
|
|
289700
289698
|
result._coffs[15] = 1.0;
|
|
289701
289699
|
return result;
|
|
289702
289700
|
}
|
|
289703
|
-
/**
|
|
289701
|
+
/** Return matrix with translation directly inserted (along with 1 on diagonal) */
|
|
289704
289702
|
static createTranslationXYZ(x, y, z, result) {
|
|
289705
289703
|
result = Matrix4d.createZero(result);
|
|
289706
289704
|
result._coffs[0] = 1.0;
|
|
@@ -289712,7 +289710,7 @@ class Matrix4d {
|
|
|
289712
289710
|
result._coffs[11] = z;
|
|
289713
289711
|
return result;
|
|
289714
289712
|
}
|
|
289715
|
-
/**
|
|
289713
|
+
/** Return this matrix plus scale times matrixB. */
|
|
289716
289714
|
plusScaled(matrixB, scale, result) {
|
|
289717
289715
|
// If result is undefined, a real clone is created.
|
|
289718
289716
|
// If result is "this" we get the pointer to this right back.
|
|
@@ -289731,7 +289729,7 @@ class Matrix4d {
|
|
|
289731
289729
|
* @param scaleX x diagonal entry
|
|
289732
289730
|
* @param scaleY y diagonal entry
|
|
289733
289731
|
* @param scaleZ z diagonal entry
|
|
289734
|
-
* @param result optional result
|
|
289732
|
+
* @param result optional result
|
|
289735
289733
|
*/
|
|
289736
289734
|
static createTranslationAndScaleXYZ(tx, ty, tz, scaleX, scaleY, scaleZ, result) {
|
|
289737
289735
|
return Matrix4d.createRowValues(scaleX, 0, 0, tx, 0, scaleY, 0, ty, 0, 0, scaleZ, tz, 0, 0, 0, 1, result);
|
|
@@ -291130,7 +291128,7 @@ class Point4d extends _geometry3d_Plane3d__WEBPACK_IMPORTED_MODULE_0__.Plane3d {
|
|
|
291130
291128
|
* extract 4 consecutive numbers from a Float64Array into a Point4d.
|
|
291131
291129
|
* @param data buffer of numbers
|
|
291132
291130
|
* @param xIndex first index for x,y,z,w sequence. Assumed to be a valid index!
|
|
291133
|
-
* @deprecated in 4.3.0 -
|
|
291131
|
+
* @deprecated in 4.3.0 - might be removed in next major version. Use createFromPacked instead.
|
|
291134
291132
|
*/
|
|
291135
291133
|
static createFromPackedXYZW(data, xIndex = 0, result) {
|
|
291136
291134
|
return Point4d.create(data[xIndex], data[xIndex + 1], data[xIndex + 2], data[xIndex + 3], result);
|
|
@@ -300537,7 +300535,7 @@ class IndexedPolyface extends Polyface {
|
|
|
300537
300535
|
}
|
|
300538
300536
|
/**
|
|
300539
300537
|
* Clean up the open facet.
|
|
300540
|
-
* @deprecated in 4.5.0 -
|
|
300538
|
+
* @deprecated in 4.5.0 - might be removed in next major version. To remove nebulous "open facet" concept from the API. Call [[PolyfaceData.trimAllIndexArrays]]
|
|
300541
300539
|
* instead.
|
|
300542
300540
|
*/
|
|
300543
300541
|
cleanupOpenFacet() {
|
|
@@ -300683,7 +300681,7 @@ class IndexedPolyface extends Polyface {
|
|
|
300683
300681
|
}
|
|
300684
300682
|
/**
|
|
300685
300683
|
* Given the index of a facet, return the data pertaining to the face it is a part of.
|
|
300686
|
-
* @deprecated in 4.5.0 -
|
|
300684
|
+
* @deprecated in 4.5.0 - might be removed in next major version. Use [[IndexedPolyface.tryGetFaceData]], which verifies the index is in range.
|
|
300687
300685
|
*/
|
|
300688
300686
|
getFaceDataByFacetIndex(facetIndex) {
|
|
300689
300687
|
return this.data.face[this._facetToFaceData[facetIndex]];
|
|
@@ -301969,7 +301967,7 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
|
|
|
301969
301967
|
* Apply stroke counts to curve primitives.
|
|
301970
301968
|
* * Recursively visit all children of data.
|
|
301971
301969
|
* * At each primitive, invoke `computeStrokeCountForOptions` method with options from the builder.
|
|
301972
|
-
* @deprecated in 4.8.0 -
|
|
301970
|
+
* @deprecated in 4.8.0 - might be removed in next major version. This method does nothing and is unneeded.
|
|
301973
301971
|
*/
|
|
301974
301972
|
applyStrokeCountsToCurvePrimitives(data) {
|
|
301975
301973
|
const options = this._options;
|
|
@@ -304063,7 +304061,7 @@ class PolyfaceData {
|
|
|
304063
304061
|
}
|
|
304064
304062
|
/**
|
|
304065
304063
|
* Resize all data arrays to the specified `length`.
|
|
304066
|
-
* @deprecated in 4.5.0 -
|
|
304064
|
+
* @deprecated in 4.5.0 - might be removed in next major version. Because name is misleading. Call [[PolyfaceData.resizeAllArrays]] instead.
|
|
304067
304065
|
*/
|
|
304068
304066
|
resizeAllDataArrays(length) {
|
|
304069
304067
|
if (length > this.point.length) {
|
|
@@ -305637,7 +305635,7 @@ class PolyfaceQuery {
|
|
|
305637
305635
|
});
|
|
305638
305636
|
return builder.claimPolyface(true);
|
|
305639
305637
|
}
|
|
305640
|
-
/** @deprecated in 4.7.0 -
|
|
305638
|
+
/** @deprecated in 4.7.0 - might be removed in next major version. Use [[sweepLineStringToFacetsXYReturnSweptFacets]] instead. */
|
|
305641
305639
|
static sweepLinestringToFacetsXYreturnSweptFacets(linestringPoints, polyface) {
|
|
305642
305640
|
return this.sweepLineStringToFacetsXYReturnSweptFacets(linestringPoints, polyface);
|
|
305643
305641
|
}
|
|
@@ -305740,7 +305738,7 @@ class PolyfaceQuery {
|
|
|
305740
305738
|
* * Return collected line segments.
|
|
305741
305739
|
* * This calls [[sweepLineStringToFacets]] with options created by
|
|
305742
305740
|
* `const options = SweepLineStringToFacetsOptions.create(Vector3d.unitZ(), Angle.createSmallAngle(), false, true, true, true);`
|
|
305743
|
-
* @deprecated in 4.7.0 -
|
|
305741
|
+
* @deprecated in 4.7.0 - might be removed in next major version. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
|
|
305744
305742
|
*/
|
|
305745
305743
|
static sweepLinestringToFacetsXYReturnLines(linestringPoints, polyface) {
|
|
305746
305744
|
const options = SweepLineStringToFacetsOptions.create(_geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.unitZ(), _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createSmallAngle(), false, true, true, true);
|
|
@@ -305750,7 +305748,7 @@ class PolyfaceQuery {
|
|
|
305750
305748
|
* Find segments (within the linestring) which project to facets.
|
|
305751
305749
|
* * Return chains.
|
|
305752
305750
|
* * This calls [[sweepLineStringToFacets]] with default options.
|
|
305753
|
-
* @deprecated in 4.7.0 -
|
|
305751
|
+
* @deprecated in 4.7.0 - might be removed in next major version. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
|
|
305754
305752
|
*/
|
|
305755
305753
|
static sweepLinestringToFacetsXYReturnChains(linestringPoints, polyface) {
|
|
305756
305754
|
return PolyfaceQuery.sweepLineStringToFacets(linestringPoints, polyface);
|
|
@@ -348706,7 +348704,7 @@ var ShowSignOption;
|
|
|
348706
348704
|
// parse and toString methods
|
|
348707
348705
|
/**
|
|
348708
348706
|
* @beta
|
|
348709
|
-
* @deprecated in 4.10 -
|
|
348707
|
+
* @deprecated in 4.10 - might be removed in next major version. ScientificType is now a string enum and doesn't need a serialization method. You can access the enum directly.
|
|
348710
348708
|
*/
|
|
348711
348709
|
function scientificTypeToString(scientificType) {
|
|
348712
348710
|
return (scientificType === ScientificType.Normalized) ? "Normalized" : "ZeroNormalized";
|
|
@@ -348760,7 +348758,7 @@ function parseShowSignOption(showSignOption, formatName) {
|
|
|
348760
348758
|
}
|
|
348761
348759
|
/**
|
|
348762
348760
|
* @beta
|
|
348763
|
-
* @deprecated in 4.10 -
|
|
348761
|
+
* @deprecated in 4.10 - might be removed in next major version. ShowSignOption is now a string enum and doesn't need a serialization method. You can access the enum directly.
|
|
348764
348762
|
*/
|
|
348765
348763
|
function showSignOptionToString(showSign) {
|
|
348766
348764
|
switch (showSign) {
|
|
@@ -348853,7 +348851,7 @@ function parseFormatType(jsonObjType, formatName) {
|
|
|
348853
348851
|
}
|
|
348854
348852
|
}
|
|
348855
348853
|
/** @beta
|
|
348856
|
-
* @deprecated in 4.10 -
|
|
348854
|
+
* @deprecated in 4.10 - might be removed in next major version. FormatType is now a string enum and doesn't need a serialization method. You can access the enum directly.
|
|
348857
348855
|
*/
|
|
348858
348856
|
function formatTypeToString(type) {
|
|
348859
348857
|
switch (type) {
|
|
@@ -350556,7 +350554,7 @@ class Parser {
|
|
|
350556
350554
|
* @param inString A string that contains text represent a quantity.
|
|
350557
350555
|
* @param format Defines the likely format of inString. Primary unit serves as a default unit if no unit label found in string.
|
|
350558
350556
|
* @param unitsConversions dictionary of conversions used to convert from unit used in inString to output quantity
|
|
350559
|
-
* @deprecated in 4.10 -
|
|
350557
|
+
* @deprecated in 4.10 - might be removed in next major version. Check [[Parser.parseQuantityString]] for replacements.
|
|
350560
350558
|
*/
|
|
350561
350559
|
static parseToQuantityValue(inString, format, unitsConversions) {
|
|
350562
350560
|
// TODO: This method is not able to do bearing and azimuth formatting and is overlapping with parseQuantityString.
|
|
@@ -354601,7 +354599,7 @@ class TestContext {
|
|
|
354601
354599
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
354602
354600
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
354603
354601
|
await core_frontend_1.NoRenderApp.startup({
|
|
354604
|
-
applicationVersion: "5.10.
|
|
354602
|
+
applicationVersion: "5.10.3",
|
|
354605
354603
|
applicationId: this.settings.gprid,
|
|
354606
354604
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.serviceAuthToken),
|
|
354607
354605
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -354882,7 +354880,7 @@ class UiAdmin {
|
|
|
354882
354880
|
/** Get the cursor X and Y position. */
|
|
354883
354881
|
get cursorPosition() { return { x: 0, y: 0 }; }
|
|
354884
354882
|
/** Create a PointProps object.
|
|
354885
|
-
* @deprecated in 4.2.0 -
|
|
354883
|
+
* @deprecated in 4.2.0 - might be removed in next major version. Please use @core/geometry [[XAndY]] or a custom implementation.
|
|
354886
354884
|
*/
|
|
354887
354885
|
createXAndY(x, y) { return { x, y }; }
|
|
354888
354886
|
/** Determines if focus is set to Home */
|
|
@@ -355086,7 +355084,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
355086
355084
|
* @module Utilities
|
|
355087
355085
|
*/
|
|
355088
355086
|
/** Enumeration for Function Keys
|
|
355089
|
-
* @public @deprecated in 4.3 -
|
|
355087
|
+
* @public @deprecated in 4.3 - might be removed in next major version. Please use the `ts-key-enum` npm package or string literals.
|
|
355090
355088
|
*/
|
|
355091
355089
|
var FunctionKey;
|
|
355092
355090
|
(function (FunctionKey) {
|
|
@@ -355104,7 +355102,7 @@ var FunctionKey;
|
|
|
355104
355102
|
FunctionKey["F12"] = "F12";
|
|
355105
355103
|
})(FunctionKey || (FunctionKey = {}));
|
|
355106
355104
|
/** Enumeration for Special Keys
|
|
355107
|
-
* @public @deprecated in 4.3 -
|
|
355105
|
+
* @public @deprecated in 4.3 - might be removed in next major version. Please use the `ts-key-enum` npm package or string literals.
|
|
355108
355106
|
*/
|
|
355109
355107
|
var SpecialKey;
|
|
355110
355108
|
(function (SpecialKey) {
|
|
@@ -355133,7 +355131,7 @@ var SpecialKey;
|
|
|
355133
355131
|
SpecialKey["Decimal"] = "Decimal";
|
|
355134
355132
|
})(SpecialKey || (SpecialKey = {}));
|
|
355135
355133
|
/** Determines if a KeyboardEvent.key is an Arrow key
|
|
355136
|
-
* @public @deprecated in 4.3 -
|
|
355134
|
+
* @public @deprecated in 4.3 - might be removed in next major version. Please use a custom implementation moving forward.
|
|
355137
355135
|
*/
|
|
355138
355136
|
function isArrowKey(key) {
|
|
355139
355137
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
@@ -355185,7 +355183,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
355185
355183
|
/**
|
|
355186
355184
|
* Class that define Standard Content Layouts that can be used to specify how the content is arranged in a frontstage.
|
|
355187
355185
|
* @public
|
|
355188
|
-
* @deprecated in 4.10.0 -
|
|
355186
|
+
* @deprecated in 4.10.0 - might be removed in next major version. Use `StandardContentLayouts` from `@itwin/appui-react`.
|
|
355189
355187
|
*/
|
|
355190
355188
|
class StandardContentLayouts {
|
|
355191
355189
|
static singleView = {
|
|
@@ -356713,20 +356711,20 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
356713
356711
|
*/
|
|
356714
356712
|
/* eslint-disable @typescript-eslint/no-deprecated */
|
|
356715
356713
|
/** Creates an IconSpec with an SVG source and gets the SVG source from an IconSpec.
|
|
356716
|
-
* @public @deprecated in 4.3 -
|
|
356714
|
+
* @public @deprecated in 4.3 - might be removed in next major version. AppUI libraries >= 4.7.x support loading SVGs sources without prefixes, eliminating the need for these utilities.
|
|
356717
356715
|
*/
|
|
356718
356716
|
class IconSpecUtilities {
|
|
356719
356717
|
/** Prefix for an SVG IconSpec loaded with the Sprite loader */
|
|
356720
356718
|
static SVG_PREFIX = "svg:";
|
|
356721
356719
|
static WEB_COMPONENT_PREFIX = "webSvg:";
|
|
356722
356720
|
/** Create an IconSpec for an SVG loaded into web component with svg-loader
|
|
356723
|
-
* @public @deprecated in 4.3 -
|
|
356721
|
+
* @public @deprecated in 4.3 - might be removed in next major version. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
|
|
356724
356722
|
*/
|
|
356725
356723
|
static createWebComponentIconSpec(srcString) {
|
|
356726
356724
|
return `${IconSpecUtilities.WEB_COMPONENT_PREFIX}${srcString}`;
|
|
356727
356725
|
}
|
|
356728
356726
|
/** Get the SVG Source from an svg-loader IconSpec
|
|
356729
|
-
* @public @deprecated in 4.3 -
|
|
356727
|
+
* @public @deprecated in 4.3 - might be removed in next major version. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility.
|
|
356730
356728
|
*/
|
|
356731
356729
|
static getWebComponentSource(iconSpec) {
|
|
356732
356730
|
if (iconSpec.startsWith(IconSpecUtilities.WEB_COMPONENT_PREFIX) && iconSpec.length > 7) {
|
|
@@ -356780,7 +356778,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
356780
356778
|
*/
|
|
356781
356779
|
|
|
356782
356780
|
/** iTwin.js UI UiError class is a subclass of BentleyError. Errors are logged.
|
|
356783
|
-
* @public @deprecated in 4.3 -
|
|
356781
|
+
* @public @deprecated in 4.3 - might be removed in next major version. Use [[Bentley.BentleyError]] instead.
|
|
356784
356782
|
*/
|
|
356785
356783
|
class UiError extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyError {
|
|
356786
356784
|
category;
|
|
@@ -356816,7 +356814,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
356816
356814
|
|
|
356817
356815
|
/** iTwin.js UI UiEvent class is a subclass of BeEvent with argument type safety.
|
|
356818
356816
|
* @public
|
|
356819
|
-
* @deprecated in 4.2 -
|
|
356817
|
+
* @deprecated in 4.2 - might be removed in next major version. This type is a duplicate of [[BeUiEvent]], which should be used instead.
|
|
356820
356818
|
*/
|
|
356821
356819
|
class UiEvent extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeUiEvent {
|
|
356822
356820
|
}
|
|
@@ -356847,7 +356845,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
356847
356845
|
|
|
356848
356846
|
/** UiSync Event class.
|
|
356849
356847
|
* @public
|
|
356850
|
-
* @deprecated in 4.2.0 -
|
|
356848
|
+
* @deprecated in 4.2.0 - might be removed in next major version. Use [[UiSyncEvent]] from @itwin/appui-react.
|
|
356851
356849
|
*/
|
|
356852
356850
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
356853
356851
|
class UiSyncEvent extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeUiEvent {
|
|
@@ -356855,7 +356853,7 @@ class UiSyncEvent extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeUiE
|
|
|
356855
356853
|
/** This class is used to send eventIds to interested UI components so the component can determine if it needs
|
|
356856
356854
|
* to refresh its display by calling setState on itself.
|
|
356857
356855
|
* @public
|
|
356858
|
-
* @deprecated in 4.2.0 -
|
|
356856
|
+
* @deprecated in 4.2.0 - might be removed in next major version. Use [[SyncUiEventDispatcher]] from @itwin/appui-react.
|
|
356859
356857
|
*/
|
|
356860
356858
|
class UiEventDispatcher {
|
|
356861
356859
|
_syncEventTimerId;
|
|
@@ -357058,7 +357056,7 @@ function join(head, tail) {
|
|
|
357058
357056
|
* @param contiguous - If true the filter string must be found "contiguous" in the searched string (E.g. "pul" will match "Git: Pull").
|
|
357059
357057
|
* 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").
|
|
357060
357058
|
* Useful in cases where the target is words (e.g. command labels)
|
|
357061
|
-
* @internal @deprecated in 4.3 -
|
|
357059
|
+
* @internal @deprecated in 4.3 - might be removed in next major version. Use `matchesWords` from @itwin/core-react instead. Though internal, this requires deprecation due to known public usage in @itwin/core-react.
|
|
357062
357060
|
*/
|
|
357063
357061
|
function matchesWords(word, target, contiguous = false) {
|
|
357064
357062
|
if (!target || target.length === 0) {
|
|
@@ -357130,7 +357128,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
357130
357128
|
*/
|
|
357131
357129
|
/** Gets the class name for an object.
|
|
357132
357130
|
* @internal
|
|
357133
|
-
* @deprecated in 4.3 -
|
|
357131
|
+
* @deprecated in 4.3 - might be removed in next major version. Please use your own implementation in the future. Though internal, this requires deprecation due to known public usage in @itwin/core-react.
|
|
357134
357132
|
*/
|
|
357135
357133
|
const getClassName = (obj) => {
|
|
357136
357134
|
let className = "";
|
|
@@ -362005,7 +362003,7 @@ var PresentationStatus;
|
|
|
362005
362003
|
* Timeout for the request was reached which prevented it from being fulfilled. Frontend may
|
|
362006
362004
|
* repeat the request.
|
|
362007
362005
|
*
|
|
362008
|
-
* @deprecated in 5.0 -
|
|
362006
|
+
* @deprecated in 5.0 - might be removed in next major version. Presentation RPC now relies on `RpcPendingResponse` to handle timeouts.
|
|
362009
362007
|
*/
|
|
362010
362008
|
PresentationStatus[PresentationStatus["BackendTimeout"] = 65543] = "BackendTimeout";
|
|
362011
362009
|
})(PresentationStatus || (exports.PresentationStatus = PresentationStatus = {}));
|
|
@@ -362996,33 +362994,33 @@ let PresentationRpcInterface = class PresentationRpcInterface extends core_commo
|
|
|
362996
362994
|
NOTE: Any add/remove/change to the methods below requires an update of the interface version.
|
|
362997
362995
|
NOTE: Please consult the README in core/common/src/rpc for the semantic versioning rules.
|
|
362998
362996
|
===========================================================================================*/
|
|
362999
|
-
/** @deprecated in 4.10 -
|
|
362997
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
363000
362998
|
async getNodesCount(_token, _options) {
|
|
363001
362999
|
return this.forward(arguments);
|
|
363002
363000
|
}
|
|
363003
|
-
/** @deprecated in 4.10 -
|
|
363001
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
363004
363002
|
async getPagedNodes(_token, _options) {
|
|
363005
363003
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
363006
363004
|
}
|
|
363007
|
-
/** @deprecated in 4.10 -
|
|
363005
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
363008
363006
|
async getNodesDescriptor(_token, _options) {
|
|
363009
363007
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
363010
363008
|
}
|
|
363011
|
-
/** @deprecated in 4.10 -
|
|
363009
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
363012
363010
|
// TODO: add paged version of this (#387280)
|
|
363013
363011
|
async getNodePaths(_token, _options) {
|
|
363014
363012
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
363015
363013
|
}
|
|
363016
|
-
/** @deprecated in 4.10 -
|
|
363014
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
363017
363015
|
// TODO: add paged version of this (#387280)
|
|
363018
363016
|
async getFilteredNodePaths(_token, _options) {
|
|
363019
363017
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
363020
363018
|
}
|
|
363021
|
-
/** @deprecated in 4.10 -
|
|
363019
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
363022
363020
|
async getContentSources(_token, _options) {
|
|
363023
363021
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
363024
363022
|
}
|
|
363025
|
-
/** @deprecated in 4.10 -
|
|
363023
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
363026
363024
|
async getContentDescriptor(_token, _options) {
|
|
363027
363025
|
const response = await this.forward(arguments);
|
|
363028
363026
|
return {
|
|
@@ -363030,11 +363028,11 @@ let PresentationRpcInterface = class PresentationRpcInterface extends core_commo
|
|
|
363030
363028
|
...(response.result ? { result: JSON.parse(response.result) } : {}),
|
|
363031
363029
|
};
|
|
363032
363030
|
}
|
|
363033
|
-
/** @deprecated in 4.10 -
|
|
363031
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
363034
363032
|
async getContentSetSize(_token, _options) {
|
|
363035
363033
|
return this.forward(arguments);
|
|
363036
363034
|
}
|
|
363037
|
-
/** @deprecated in 4.10 -
|
|
363035
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
363038
363036
|
async getPagedContent(_token, _options) {
|
|
363039
363037
|
const rpcResponse = await this.forward(arguments);
|
|
363040
363038
|
return {
|
|
@@ -363044,35 +363042,35 @@ let PresentationRpcInterface = class PresentationRpcInterface extends core_commo
|
|
|
363044
363042
|
: {}),
|
|
363045
363043
|
};
|
|
363046
363044
|
}
|
|
363047
|
-
/** @deprecated in 4.10 -
|
|
363045
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
363048
363046
|
async getPagedContentSet(_token, _options) {
|
|
363049
363047
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
363050
363048
|
}
|
|
363051
|
-
/** @deprecated in 4.10 -
|
|
363049
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
363052
363050
|
async getElementProperties(_token, _options) {
|
|
363053
363051
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
363054
363052
|
}
|
|
363055
|
-
/** @deprecated in 4.10 -
|
|
363053
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
363056
363054
|
async getPagedDistinctValues(_token, _options) {
|
|
363057
363055
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
363058
363056
|
}
|
|
363059
|
-
/** @deprecated in 4.10 -
|
|
363057
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
363060
363058
|
async getContentInstanceKeys(_token, _options) {
|
|
363061
363059
|
return this.forward(arguments);
|
|
363062
363060
|
}
|
|
363063
|
-
/** @deprecated in 4.10 -
|
|
363061
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
363064
363062
|
async getDisplayLabelDefinition(_token, _options) {
|
|
363065
363063
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
363066
363064
|
}
|
|
363067
|
-
/** @deprecated in 4.10 -
|
|
363065
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
363068
363066
|
async getPagedDisplayLabelDefinitions(_token, _options) {
|
|
363069
363067
|
return (0, Utils_js_1.deepReplaceNullsToUndefined)(await this.forward(arguments));
|
|
363070
363068
|
}
|
|
363071
|
-
/** @deprecated in 4.10 -
|
|
363069
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
363072
363070
|
async getSelectionScopes(_token, _options) {
|
|
363073
363071
|
return this.forward(arguments);
|
|
363074
363072
|
}
|
|
363075
|
-
/** @deprecated in 4.10 -
|
|
363073
|
+
/** @deprecated in 4.10 - might be removed in next major version. Use [PresentationManager]($presentation-frontend) instead of calling the RPC interface directly. */
|
|
363076
363074
|
async computeSelection(_token, _options) {
|
|
363077
363075
|
return this.forward(arguments);
|
|
363078
363076
|
}
|
|
@@ -363120,7 +363118,7 @@ class RegisteredRuleset {
|
|
|
363120
363118
|
[Symbol.dispose]() {
|
|
363121
363119
|
this._disposeFunc(this);
|
|
363122
363120
|
}
|
|
363123
|
-
/** @deprecated in 5.0 -
|
|
363121
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
363124
363122
|
/* c8 ignore next 3 */
|
|
363125
363123
|
dispose() {
|
|
363126
363124
|
this[Symbol.dispose]();
|
|
@@ -365118,7 +365116,7 @@ class Field {
|
|
|
365118
365116
|
}
|
|
365119
365117
|
/**
|
|
365120
365118
|
* Serialize this object to JSON.
|
|
365121
|
-
* @deprecated in 5.0 -
|
|
365119
|
+
* @deprecated in 5.0 - might be removed in next major version. Use [[toCompressedJSON]] instead.
|
|
365122
365120
|
*/
|
|
365123
365121
|
toJSON() {
|
|
365124
365122
|
return this.toCompressedJSON({});
|
|
@@ -365139,7 +365137,7 @@ class Field {
|
|
|
365139
365137
|
}
|
|
365140
365138
|
/**
|
|
365141
365139
|
* Deserialize [[Field]] from JSON.
|
|
365142
|
-
* @deprecated in 5.0 -
|
|
365140
|
+
* @deprecated in 5.0 - might be removed in next major version. Use [[fromCompressedJSON]] instead.
|
|
365143
365141
|
*/
|
|
365144
365142
|
static fromJSON(json, categories) {
|
|
365145
365143
|
if (!json) {
|
|
@@ -365293,7 +365291,7 @@ class PropertiesField extends Field {
|
|
|
365293
365291
|
}
|
|
365294
365292
|
/**
|
|
365295
365293
|
* Serialize this object to JSON
|
|
365296
|
-
* @deprecated in 5.0 -
|
|
365294
|
+
* @deprecated in 5.0 - might be removed in next major version. Use [[toCompressedJSON]] instead.
|
|
365297
365295
|
*/
|
|
365298
365296
|
toJSON() {
|
|
365299
365297
|
return {
|
|
@@ -365311,7 +365309,7 @@ class PropertiesField extends Field {
|
|
|
365311
365309
|
}
|
|
365312
365310
|
/**
|
|
365313
365311
|
* Deserialize [[PropertiesField]] from JSON.
|
|
365314
|
-
* @deprecated in 5.0 -
|
|
365312
|
+
* @deprecated in 5.0 - might be removed in next major version. Use [[fromCompressedJSON]] instead.
|
|
365315
365313
|
*/
|
|
365316
365314
|
static fromJSON(json, categories) {
|
|
365317
365315
|
if (!json) {
|
|
@@ -365446,7 +365444,7 @@ class ArrayPropertiesField extends PropertiesField {
|
|
|
365446
365444
|
}
|
|
365447
365445
|
/**
|
|
365448
365446
|
* Serialize this object to JSON.
|
|
365449
|
-
* @deprecated in 5.0 -
|
|
365447
|
+
* @deprecated in 5.0 - might be removed in next major version. Use [[toCompressedJSON]] instead.
|
|
365450
365448
|
*/
|
|
365451
365449
|
toJSON() {
|
|
365452
365450
|
return {
|
|
@@ -365465,7 +365463,7 @@ class ArrayPropertiesField extends PropertiesField {
|
|
|
365465
365463
|
}
|
|
365466
365464
|
/**
|
|
365467
365465
|
* Deserialize [[ArrayPropertiesField]] from JSON.
|
|
365468
|
-
* @deprecated in 5.0 -
|
|
365466
|
+
* @deprecated in 5.0 - might be removed in next major version. Use [[fromCompressedJSON]] instead.
|
|
365469
365467
|
*/
|
|
365470
365468
|
static fromJSON(json, categories) {
|
|
365471
365469
|
return new ArrayPropertiesField({
|
|
@@ -365536,7 +365534,7 @@ class StructPropertiesField extends PropertiesField {
|
|
|
365536
365534
|
}
|
|
365537
365535
|
/**
|
|
365538
365536
|
* Serialize this object to JSON.
|
|
365539
|
-
* @deprecated in 5.0 -
|
|
365537
|
+
* @deprecated in 5.0 - might be removed in next major version. Use [[toCompressedJSON]] instead.
|
|
365540
365538
|
*/
|
|
365541
365539
|
toJSON() {
|
|
365542
365540
|
return {
|
|
@@ -365555,7 +365553,7 @@ class StructPropertiesField extends PropertiesField {
|
|
|
365555
365553
|
}
|
|
365556
365554
|
/**
|
|
365557
365555
|
* Deserialize [[StructPropertiesField]] from JSON.
|
|
365558
|
-
* @deprecated in 5.0 -
|
|
365556
|
+
* @deprecated in 5.0 - might be removed in next major version. Use [[fromCompressedJSON]] instead.
|
|
365559
365557
|
*/
|
|
365560
365558
|
static fromJSON(json, categories) {
|
|
365561
365559
|
return new StructPropertiesField({
|
|
@@ -365656,7 +365654,7 @@ class NestedContentField extends Field {
|
|
|
365656
365654
|
}
|
|
365657
365655
|
/**
|
|
365658
365656
|
* Serialize this object to JSON.
|
|
365659
|
-
* @deprecated in 5.0 -
|
|
365657
|
+
* @deprecated in 5.0 - might be removed in next major version. Use [[toCompressedJSON]] instead.
|
|
365660
365658
|
*/
|
|
365661
365659
|
toJSON() {
|
|
365662
365660
|
return {
|
|
@@ -367871,7 +367869,7 @@ class Presentation {
|
|
|
367871
367869
|
/**
|
|
367872
367870
|
* The singleton [[SelectionManager]].
|
|
367873
367871
|
*
|
|
367874
|
-
* @deprecated in 5.0 -
|
|
367872
|
+
* @deprecated in 5.0 - might be removed in next major version. The whole unified selection system in this package is deprecated in favor of the new
|
|
367875
367873
|
* [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md) package.
|
|
367876
367874
|
*/
|
|
367877
367875
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
@@ -367966,7 +367964,7 @@ class PresentationManager {
|
|
|
367966
367964
|
/**
|
|
367967
367965
|
* Get / set active unit system used to format property values with units.
|
|
367968
367966
|
*
|
|
367969
|
-
* @deprecated in 4.0 -
|
|
367967
|
+
* @deprecated in 4.0 - might be removed in next major version. `IModelApp.quantityFormatter` should be used to get/set the active unit system. At the moment
|
|
367970
367968
|
* [[PresentationManager]] allows overriding it, but returns `IModelApp.quantityFormatter.activeUnitSystem` if override
|
|
367971
367969
|
* is not set.
|
|
367972
367970
|
*/
|
|
@@ -368010,7 +368008,7 @@ class PresentationManager {
|
|
|
368010
368008
|
this._clearEventListener = undefined;
|
|
368011
368009
|
}
|
|
368012
368010
|
}
|
|
368013
|
-
/** @deprecated in 5.0 -
|
|
368011
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
368014
368012
|
/* c8 ignore next 3 */
|
|
368015
368013
|
dispose() {
|
|
368016
368014
|
this[Symbol.dispose]();
|
|
@@ -368144,7 +368142,7 @@ class PresentationManager {
|
|
|
368144
368142
|
}
|
|
368145
368143
|
/**
|
|
368146
368144
|
* Retrieves nodes.
|
|
368147
|
-
* @deprecated in 4.5 -
|
|
368145
|
+
* @deprecated in 4.5 - might be removed in next major version. Use [[getNodesIterator]] instead.
|
|
368148
368146
|
*/
|
|
368149
368147
|
async getNodes(requestOptions) {
|
|
368150
368148
|
const result = await this.getNodesIterator(requestOptions);
|
|
@@ -368163,7 +368161,7 @@ class PresentationManager {
|
|
|
368163
368161
|
}
|
|
368164
368162
|
/**
|
|
368165
368163
|
* Retrieves total nodes count and a single page of nodes.
|
|
368166
|
-
* @deprecated in 4.5 -
|
|
368164
|
+
* @deprecated in 4.5 - might be removed in next major version. Use [[getNodesIterator]] instead.
|
|
368167
368165
|
*/
|
|
368168
368166
|
async getNodesAndCount(requestOptions) {
|
|
368169
368167
|
const result = await this.getNodesIterator(requestOptions);
|
|
@@ -368324,7 +368322,7 @@ class PresentationManager {
|
|
|
368324
368322
|
}
|
|
368325
368323
|
/**
|
|
368326
368324
|
* Retrieves content which consists of a content descriptor and a page of records.
|
|
368327
|
-
* @deprecated in 4.5 -
|
|
368325
|
+
* @deprecated in 4.5 - might be removed in next major version. Use [[getContentIterator]] instead.
|
|
368328
368326
|
*/
|
|
368329
368327
|
async getContent(requestOptions) {
|
|
368330
368328
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
@@ -368332,7 +368330,7 @@ class PresentationManager {
|
|
|
368332
368330
|
}
|
|
368333
368331
|
/**
|
|
368334
368332
|
* Retrieves content set size and content which consists of a content descriptor and a page of records.
|
|
368335
|
-
* @deprecated in 4.5 -
|
|
368333
|
+
* @deprecated in 4.5 - might be removed in next major version. Use [[getContentIterator]] instead.
|
|
368336
368334
|
*/
|
|
368337
368335
|
async getContentAndSize(requestOptions) {
|
|
368338
368336
|
const response = await this.getContentIterator(requestOptions);
|
|
@@ -368369,7 +368367,7 @@ class PresentationManager {
|
|
|
368369
368367
|
}
|
|
368370
368368
|
/**
|
|
368371
368369
|
* Retrieves distinct values of specific field from the content.
|
|
368372
|
-
* @deprecated in 4.5 -
|
|
368370
|
+
* @deprecated in 4.5 - might be removed in next major version. Use [[getDistinctValuesIterator]] instead.
|
|
368373
368371
|
*/
|
|
368374
368372
|
async getPagedDistinctValues(requestOptions) {
|
|
368375
368373
|
const result = await this.getDistinctValuesIterator(requestOptions);
|
|
@@ -368458,7 +368456,7 @@ class PresentationManager {
|
|
|
368458
368456
|
}
|
|
368459
368457
|
/**
|
|
368460
368458
|
* Retrieves display label definition of specific items.
|
|
368461
|
-
* @deprecated in 4.5 -
|
|
368459
|
+
* @deprecated in 4.5 - might be removed in next major version. Use [[getDisplayLabelDefinitionsIterator]] instead.
|
|
368462
368460
|
*/
|
|
368463
368461
|
async getDisplayLabelDefinitions(requestOptions) {
|
|
368464
368462
|
const { items } = await this.getDisplayLabelDefinitionsIterator(requestOptions);
|
|
@@ -369024,14 +369022,14 @@ class FavoritePropertiesManager {
|
|
|
369024
369022
|
this.storage.dispose();
|
|
369025
369023
|
}
|
|
369026
369024
|
}
|
|
369027
|
-
/** @deprecated in 5.0 -
|
|
369025
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
369028
369026
|
/* c8 ignore next 3 */
|
|
369029
369027
|
dispose() {
|
|
369030
369028
|
this[Symbol.dispose]();
|
|
369031
369029
|
}
|
|
369032
369030
|
/**
|
|
369033
369031
|
* Initialize favorite properties for the provided IModelConnection.
|
|
369034
|
-
* @deprecated in 4.5 -
|
|
369032
|
+
* @deprecated in 4.5 - might be removed in next major version. Initialization is performed automatically by all async methods and only needed for deprecated [[FavoritePropertiesManager.has]] and [[FavoritePropertiesManager.sortFields]].
|
|
369035
369033
|
*/
|
|
369036
369034
|
initializeConnection = async (imodel) => {
|
|
369037
369035
|
const imodelId = imodel.iModelId;
|
|
@@ -369241,7 +369239,7 @@ class FavoritePropertiesManager {
|
|
|
369241
369239
|
* @param imodel IModelConnection.
|
|
369242
369240
|
* @param scope FavoritePropertiesScope to check for favorite properties. It also checks the more general scopes.
|
|
369243
369241
|
* @note `initializeConnection` must be called with the `imodel` before calling this function.
|
|
369244
|
-
* @deprecated in 4.5 -
|
|
369242
|
+
* @deprecated in 4.5 - might be removed in next major version. Use [[FavoritePropertiesManager.hasAsync]] instead. This method is not async, therefore it requires early initialization by calling [[FavoritePropertiesManager.initializeConnection]].
|
|
369245
369243
|
*/
|
|
369246
369244
|
has(field, imodel, scope) {
|
|
369247
369245
|
this.validateInitialization(imodel);
|
|
@@ -369269,7 +369267,7 @@ class FavoritePropertiesManager {
|
|
|
369269
369267
|
* @param imodel IModelConnection.
|
|
369270
369268
|
* @param fields Array of Field's that needs to be sorted.
|
|
369271
369269
|
* @note `initializeConnection` must be called with the `imodel` before calling this function.
|
|
369272
|
-
* @deprecated in 4.5 -
|
|
369270
|
+
* @deprecated in 4.5 - might be removed in next major version. Use [[FavoritePropertiesManager.sortFieldsAsync]] instead. This method is not async, therefore it requires early initialization by calling [[FavoritePropertiesManager.initializeConnection]].
|
|
369273
369271
|
*/
|
|
369274
369272
|
sortFields = (imodel, fields) => {
|
|
369275
369273
|
this.validateInitialization(imodel);
|
|
@@ -369945,7 +369943,7 @@ const HILITE_RULESET = HiliteRules_json_1.default;
|
|
|
369945
369943
|
* supplied `KeySet`.
|
|
369946
369944
|
*
|
|
369947
369945
|
* @public
|
|
369948
|
-
* @deprecated in 5.0 -
|
|
369946
|
+
* @deprecated in 5.0 - might be removed in next major version. Use `HiliteSetProvider` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md#hilite-sets) package instead.
|
|
369949
369947
|
*/
|
|
369950
369948
|
class HiliteSetProvider {
|
|
369951
369949
|
_imodel;
|
|
@@ -370105,7 +370103,7 @@ const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../cor
|
|
|
370105
370103
|
/**
|
|
370106
370104
|
* An event broadcasted on selection changes
|
|
370107
370105
|
* @public
|
|
370108
|
-
* @deprecated in 5.0 -
|
|
370106
|
+
* @deprecated in 5.0 - might be removed in next major version. Use `Event<StorageSelectionChangesListener>` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md) package instead.
|
|
370109
370107
|
*/
|
|
370110
370108
|
class SelectionChangeEvent extends core_bentley_1.BeEvent {
|
|
370111
370109
|
}
|
|
@@ -370113,7 +370111,7 @@ exports.SelectionChangeEvent = SelectionChangeEvent;
|
|
|
370113
370111
|
/**
|
|
370114
370112
|
* The type of selection change
|
|
370115
370113
|
* @public
|
|
370116
|
-
* @deprecated in 5.0 -
|
|
370114
|
+
* @deprecated in 5.0 - might be removed in next major version. Use `StorageSelectionChangeType` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md) package instead.
|
|
370117
370115
|
*/
|
|
370118
370116
|
var SelectionChangeType;
|
|
370119
370117
|
(function (SelectionChangeType) {
|
|
@@ -370154,7 +370152,7 @@ const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../cor
|
|
|
370154
370152
|
* internal the selection state.
|
|
370155
370153
|
*
|
|
370156
370154
|
* @public
|
|
370157
|
-
* @deprecated in 5.0 -
|
|
370155
|
+
* @deprecated in 5.0 - might be removed in next major version. Use `SelectionStorage` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md#basic-usage) package instead.
|
|
370158
370156
|
*/
|
|
370159
370157
|
class SelectionHandler {
|
|
370160
370158
|
_inSelect;
|
|
@@ -370192,7 +370190,7 @@ class SelectionHandler {
|
|
|
370192
370190
|
[Symbol.dispose]() {
|
|
370193
370191
|
this._disposables.dispose();
|
|
370194
370192
|
}
|
|
370195
|
-
/** @deprecated in 5.0 -
|
|
370193
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
370196
370194
|
/* c8 ignore next 3 */
|
|
370197
370195
|
dispose() {
|
|
370198
370196
|
this[Symbol.dispose]();
|
|
@@ -370297,7 +370295,7 @@ const presentation_common_1 = __webpack_require__(/*! @itwin/presentation-common
|
|
|
370297
370295
|
/**
|
|
370298
370296
|
* Helper class for working with selection.
|
|
370299
370297
|
* @public
|
|
370300
|
-
* @deprecated in 5.0 -
|
|
370298
|
+
* @deprecated in 5.0 - might be removed in next major version. This is unnecessary after switching to [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md)
|
|
370301
370299
|
* package. A similar method to this in the new system is `Selectables.load()`.
|
|
370302
370300
|
*/
|
|
370303
370301
|
class SelectionHelper {
|
|
@@ -370416,7 +370414,7 @@ const SelectionScopesManager_js_1 = __webpack_require__(/*! ./SelectionScopesMan
|
|
|
370416
370414
|
/**
|
|
370417
370415
|
* The selection manager which stores the overall selection.
|
|
370418
370416
|
* @public
|
|
370419
|
-
* @deprecated in 5.0 -
|
|
370417
|
+
* @deprecated in 5.0 - might be removed in next major version. Use `SelectionStorage` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md) package instead.
|
|
370420
370418
|
*/
|
|
370421
370419
|
class SelectionManager {
|
|
370422
370420
|
_imodelKeyFactory;
|
|
@@ -370459,7 +370457,7 @@ class SelectionManager {
|
|
|
370459
370457
|
this._selectionEventsSubscription.unsubscribe();
|
|
370460
370458
|
this._listeners.forEach((dispose) => dispose());
|
|
370461
370459
|
}
|
|
370462
|
-
/** @deprecated in 5.0 -
|
|
370460
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
370463
370461
|
/* c8 ignore next 3 */
|
|
370464
370462
|
dispose() {
|
|
370465
370463
|
this[Symbol.dispose]();
|
|
@@ -371114,7 +371112,7 @@ const presentation_common_1 = __webpack_require__(/*! @itwin/presentation-common
|
|
|
371114
371112
|
* and can compute logical selection based on element IDs and selection scope.
|
|
371115
371113
|
*
|
|
371116
371114
|
* @public
|
|
371117
|
-
* @deprecated in 5.0 -
|
|
371115
|
+
* @deprecated in 5.0 - might be removed in next major version. Use `computeSelection` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md#selection-scopes) package instead.
|
|
371118
371116
|
*/
|
|
371119
371117
|
class SelectionScopesManager {
|
|
371120
371118
|
_rpcRequestsHandler;
|
|
@@ -371182,7 +371180,7 @@ exports.SelectionScopesManager = SelectionScopesManager;
|
|
|
371182
371180
|
* calculating selection with scope.
|
|
371183
371181
|
*
|
|
371184
371182
|
* @public
|
|
371185
|
-
* @deprecated in 5.0 -
|
|
371183
|
+
* @deprecated in 5.0 - might be removed in next major version. Use `computeSelection` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md#selection-scopes) package instead.
|
|
371186
371184
|
*/
|
|
371187
371185
|
function createSelectionScopeProps(scope) {
|
|
371188
371186
|
if (!scope) {
|
|
@@ -382344,7 +382342,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
382344
382342
|
/***/ ((module) => {
|
|
382345
382343
|
|
|
382346
382344
|
"use strict";
|
|
382347
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.10.
|
|
382345
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.10.3","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s webpackWorkers && npm run -s copy:workers && npm run -s copy:draco","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2022 --outDir lib/esm","clean":"rimraf -g lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","copy:draco":"cpx \\"./node_modules/@loaders.gl/draco/dist/libs/*\\" ./lib/public/scripts","docs":"betools docs --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts && npm run -s extract","extract":"betools extract --fileExt=ts --extractFrom=./src/test/example-code --recursive --out=../../generated-docs/extract","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-deprecation":"eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \\"./src/**/*.ts\\"","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2 && npm run -s webpackTestWorker","webpackTestWorker":"webpack --config ./src/test/worker/webpack.config.js 1>&2 && cpx \\"./lib/test/test-worker.js\\" ./lib/test","webpackWorkers":"webpack --config ./src/workers/ImdlParser/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@bentley/aec-units-schema":"^1.0.3","@bentley/formats-schema":"^1.0.0","@bentley/units-schema":"^1.0.10","@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*","@itwin/object-storage-core":"^3.0.4","@itwin/eslint-plugin":"^6.0.0","@types/chai-as-promised":"^7","@types/draco3d":"^1.4.10","@types/sinon":"^17.0.2","@vitest/browser":"^3.2.6","@vitest/coverage-v8":"^3.2.6","cpx2":"^8.0.0","eslint":"^9.31.0","glob":"^10.5.0","playwright":"~1.56.1","rimraf":"^6.0.1","sinon":"^17.0.2","source-map-loader":"^5.0.0","typescript":"~5.6.2","vitest":"^3.2.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/core-i18n":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"~4.3.4","@loaders.gl/draco":"~4.3.4","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
|
|
382348
382346
|
|
|
382349
382347
|
/***/ }),
|
|
382350
382348
|
|