@itwin/rpcinterface-full-stack-tests 3.3.0-dev.2 → 3.3.0-dev.20
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 +399 -302
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +15 -15
|
@@ -70833,9 +70833,11 @@ DevToolsRpcInterface.interfaceVersion = "0.6.0";
|
|
|
70833
70833
|
__webpack_require__.r(__webpack_exports__);
|
|
70834
70834
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IModelNotFoundResponse", function() { return IModelNotFoundResponse; });
|
|
70835
70835
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IModelReadRpcInterface", function() { return IModelReadRpcInterface; });
|
|
70836
|
-
/* harmony import */ var
|
|
70837
|
-
/* harmony import */ var
|
|
70838
|
-
/* harmony import */ var
|
|
70836
|
+
/* harmony import */ var _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core/RpcConstants */ "../../core/common/lib/esm/rpc/core/RpcConstants.js");
|
|
70837
|
+
/* harmony import */ var _core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./core/RpcOperation */ "../../core/common/lib/esm/rpc/core/RpcOperation.js");
|
|
70838
|
+
/* harmony import */ var _RpcInterface__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../RpcInterface */ "../../core/common/lib/esm/RpcInterface.js");
|
|
70839
|
+
/* harmony import */ var _RpcManager__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../RpcManager */ "../../core/common/lib/esm/RpcManager.js");
|
|
70840
|
+
/* harmony import */ var _core_RpcControl__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./core/RpcControl */ "../../core/common/lib/esm/rpc/core/RpcControl.js");
|
|
70839
70841
|
/*---------------------------------------------------------------------------------------------
|
|
70840
70842
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
70841
70843
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -70843,6 +70845,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
70843
70845
|
/** @packageDocumentation
|
|
70844
70846
|
* @module RpcInterface
|
|
70845
70847
|
*/
|
|
70848
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
70849
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
70850
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
70851
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
70852
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
70853
|
+
};
|
|
70854
|
+
|
|
70855
|
+
|
|
70846
70856
|
|
|
70847
70857
|
|
|
70848
70858
|
|
|
@@ -70850,7 +70860,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
70850
70860
|
* (if the service has moved)
|
|
70851
70861
|
* @public
|
|
70852
70862
|
*/
|
|
70853
|
-
class IModelNotFoundResponse extends
|
|
70863
|
+
class IModelNotFoundResponse extends _core_RpcControl__WEBPACK_IMPORTED_MODULE_4__["RpcNotFoundResponse"] {
|
|
70854
70864
|
constructor() {
|
|
70855
70865
|
super(...arguments);
|
|
70856
70866
|
this.isIModelNotFoundResponse = true;
|
|
@@ -70861,11 +70871,11 @@ class IModelNotFoundResponse extends _core_RpcControl__WEBPACK_IMPORTED_MODULE_2
|
|
|
70861
70871
|
* This interface is not normally used directly. See IModelConnection for higher-level and more convenient API for accessing iModels from a frontend.
|
|
70862
70872
|
* @internal
|
|
70863
70873
|
*/
|
|
70864
|
-
class IModelReadRpcInterface extends
|
|
70874
|
+
class IModelReadRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_2__["RpcInterface"] {
|
|
70865
70875
|
/** Returns the IModelReadRpcInterface instance for the frontend. */
|
|
70866
|
-
static getClient() { return
|
|
70876
|
+
static getClient() { return _RpcManager__WEBPACK_IMPORTED_MODULE_3__["RpcManager"].getClientForInterface(IModelReadRpcInterface); }
|
|
70867
70877
|
/** Returns the IModelReadRpcInterface instance for a custom RPC routing configuration. */
|
|
70868
|
-
static getClientForRouting(token) { return
|
|
70878
|
+
static getClientForRouting(token) { return _RpcManager__WEBPACK_IMPORTED_MODULE_3__["RpcManager"].getClientForInterface(IModelReadRpcInterface, token); }
|
|
70869
70879
|
/*===========================================================================================
|
|
70870
70880
|
NOTE: Any add/remove/change to the methods below requires an update of the interface version.
|
|
70871
70881
|
NOTE: Please consult the README in this folder for the semantic versioning rules.
|
|
@@ -70905,7 +70915,31 @@ class IModelReadRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_0__[
|
|
|
70905
70915
|
/** The immutable name of the interface. */
|
|
70906
70916
|
IModelReadRpcInterface.interfaceName = "IModelReadRpcInterface";
|
|
70907
70917
|
/** The semantic version of the interface. */
|
|
70908
|
-
IModelReadRpcInterface.interfaceVersion = "3.
|
|
70918
|
+
IModelReadRpcInterface.interfaceVersion = "3.2.0";
|
|
70919
|
+
__decorate([
|
|
70920
|
+
_core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__["RpcOperation"].allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__["RpcResponseCacheControl"].Immutable)
|
|
70921
|
+
], IModelReadRpcInterface.prototype, "getConnectionProps", null);
|
|
70922
|
+
__decorate([
|
|
70923
|
+
_core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__["RpcOperation"].allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__["RpcResponseCacheControl"].Immutable)
|
|
70924
|
+
], IModelReadRpcInterface.prototype, "queryModelRanges", null);
|
|
70925
|
+
__decorate([
|
|
70926
|
+
_core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__["RpcOperation"].allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__["RpcResponseCacheControl"].Immutable)
|
|
70927
|
+
], IModelReadRpcInterface.prototype, "getClassHierarchy", null);
|
|
70928
|
+
__decorate([
|
|
70929
|
+
_core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__["RpcOperation"].allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__["RpcResponseCacheControl"].Immutable)
|
|
70930
|
+
], IModelReadRpcInterface.prototype, "getViewStateData", null);
|
|
70931
|
+
__decorate([
|
|
70932
|
+
_core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__["RpcOperation"].allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__["RpcResponseCacheControl"].Immutable)
|
|
70933
|
+
], IModelReadRpcInterface.prototype, "getDefaultViewId", null);
|
|
70934
|
+
__decorate([
|
|
70935
|
+
_core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__["RpcOperation"].allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__["RpcResponseCacheControl"].Immutable)
|
|
70936
|
+
], IModelReadRpcInterface.prototype, "getCustomViewState3dData", null);
|
|
70937
|
+
__decorate([
|
|
70938
|
+
_core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__["RpcOperation"].allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__["RpcResponseCacheControl"].Immutable)
|
|
70939
|
+
], IModelReadRpcInterface.prototype, "hydrateViewState", null);
|
|
70940
|
+
__decorate([
|
|
70941
|
+
_core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__["RpcOperation"].allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__["RpcResponseCacheControl"].Immutable)
|
|
70942
|
+
], IModelReadRpcInterface.prototype, "getGeoCoordinatesFromIModelCoordinates", null);
|
|
70909
70943
|
|
|
70910
70944
|
|
|
70911
70945
|
/***/ }),
|
|
@@ -70920,8 +70954,10 @@ IModelReadRpcInterface.interfaceVersion = "3.1.0";
|
|
|
70920
70954
|
"use strict";
|
|
70921
70955
|
__webpack_require__.r(__webpack_exports__);
|
|
70922
70956
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IModelTileRpcInterface", function() { return IModelTileRpcInterface; });
|
|
70923
|
-
/* harmony import */ var
|
|
70924
|
-
/* harmony import */ var
|
|
70957
|
+
/* harmony import */ var _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core/RpcConstants */ "../../core/common/lib/esm/rpc/core/RpcConstants.js");
|
|
70958
|
+
/* harmony import */ var _core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./core/RpcOperation */ "../../core/common/lib/esm/rpc/core/RpcOperation.js");
|
|
70959
|
+
/* harmony import */ var _RpcInterface__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../RpcInterface */ "../../core/common/lib/esm/RpcInterface.js");
|
|
70960
|
+
/* harmony import */ var _RpcManager__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../RpcManager */ "../../core/common/lib/esm/RpcManager.js");
|
|
70925
70961
|
/*---------------------------------------------------------------------------------------------
|
|
70926
70962
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
70927
70963
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -70929,11 +70965,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
70929
70965
|
/** @packageDocumentation
|
|
70930
70966
|
* @module RpcInterface
|
|
70931
70967
|
*/
|
|
70968
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
70969
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
70970
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
70971
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
70972
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
70973
|
+
};
|
|
70974
|
+
|
|
70975
|
+
|
|
70932
70976
|
|
|
70933
70977
|
|
|
70934
70978
|
/** @public */
|
|
70935
|
-
class IModelTileRpcInterface extends
|
|
70936
|
-
static getClient() { return
|
|
70979
|
+
class IModelTileRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_2__["RpcInterface"] {
|
|
70980
|
+
static getClient() { return _RpcManager__WEBPACK_IMPORTED_MODULE_3__["RpcManager"].getClientForInterface(IModelTileRpcInterface); }
|
|
70937
70981
|
/*===========================================================================================
|
|
70938
70982
|
NOTE: Any add/remove/change to the methods below requires an update of the interface version.
|
|
70939
70983
|
NOTE: Please consult the README in this folder for the semantic versioning rules.
|
|
@@ -70989,7 +71033,13 @@ class IModelTileRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_0__[
|
|
|
70989
71033
|
/** The immutable name of the interface. */
|
|
70990
71034
|
IModelTileRpcInterface.interfaceName = "IModelTileRpcInterface";
|
|
70991
71035
|
/** The semantic version of the interface. */
|
|
70992
|
-
IModelTileRpcInterface.interfaceVersion = "3.
|
|
71036
|
+
IModelTileRpcInterface.interfaceVersion = "3.1.0";
|
|
71037
|
+
__decorate([
|
|
71038
|
+
_core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__["RpcOperation"].allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__["RpcResponseCacheControl"].Immutable)
|
|
71039
|
+
], IModelTileRpcInterface.prototype, "getTileCacheContainerUrl", null);
|
|
71040
|
+
__decorate([
|
|
71041
|
+
_core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__["RpcOperation"].allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__["RpcResponseCacheControl"].Immutable)
|
|
71042
|
+
], IModelTileRpcInterface.prototype, "requestTileTreeProps", null);
|
|
70993
71043
|
|
|
70994
71044
|
|
|
70995
71045
|
/***/ }),
|
|
@@ -72435,6 +72485,8 @@ class RpcProtocol {
|
|
|
72435
72485
|
async fulfill(request) {
|
|
72436
72486
|
return new (this.invocationType)(this, request).fulfillment;
|
|
72437
72487
|
}
|
|
72488
|
+
/** @internal */
|
|
72489
|
+
async initialize(_token) { }
|
|
72438
72490
|
/** Serializes a request. */
|
|
72439
72491
|
async serialize(request) {
|
|
72440
72492
|
const serializedContext = await _RpcConfiguration__WEBPACK_IMPORTED_MODULE_1__["RpcConfiguration"].requestContext.serialize(request);
|
|
@@ -73049,6 +73101,7 @@ class RpcRequest {
|
|
|
73049
73101
|
this._connecting = true;
|
|
73050
73102
|
RpcRequest._activeRequests.set(this.id, this);
|
|
73051
73103
|
this.protocol.events.raiseEvent(_RpcConstants__WEBPACK_IMPORTED_MODULE_3__["RpcProtocolEvent"].RequestCreated, this);
|
|
73104
|
+
await this.protocol.initialize(this.operation.policy.token(this));
|
|
73052
73105
|
this._sending = new Cancellable(this.setHeaders().then(async () => this.send()));
|
|
73053
73106
|
this.operation.policy.sentCallback(this);
|
|
73054
73107
|
const response = await this._sending.promise;
|
|
@@ -73938,8 +73991,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
73938
73991
|
|
|
73939
73992
|
|
|
73940
73993
|
class InitializeInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_8__["RpcInterface"] {
|
|
73941
|
-
async initialize() { return this.forward(arguments); }
|
|
73942
|
-
static createRequest(protocol) {
|
|
73994
|
+
async initialize(_token) { return this.forward(arguments); }
|
|
73995
|
+
static createRequest(protocol, token) {
|
|
73943
73996
|
const routing = _core_RpcRoutingToken__WEBPACK_IMPORTED_MODULE_10__["RpcRoutingToken"].generate();
|
|
73944
73997
|
const config = class extends _core_RpcConfiguration__WEBPACK_IMPORTED_MODULE_1__["RpcConfiguration"] {
|
|
73945
73998
|
constructor() {
|
|
@@ -73952,7 +74005,7 @@ class InitializeInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_8__["Rp
|
|
|
73952
74005
|
const instance = _core_RpcConfiguration__WEBPACK_IMPORTED_MODULE_1__["RpcConfiguration"].obtain(config);
|
|
73953
74006
|
_core_RpcConfiguration__WEBPACK_IMPORTED_MODULE_1__["RpcConfiguration"].initializeInterfaces(instance);
|
|
73954
74007
|
const client = _RpcManager__WEBPACK_IMPORTED_MODULE_9__["RpcManager"].getClientForInterface(InitializeInterface, routing);
|
|
73955
|
-
return new (protocol.requestType)(client, "initialize", []);
|
|
74008
|
+
return new (protocol.requestType)(client, "initialize", [token]);
|
|
73956
74009
|
}
|
|
73957
74010
|
}
|
|
73958
74011
|
InitializeInterface.interfaceName = "InitializeInterface";
|
|
@@ -73975,13 +74028,13 @@ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_3__["
|
|
|
73975
74028
|
this.events.addListener(_WebAppRpcLogging__WEBPACK_IMPORTED_MODULE_5__["WebAppRpcLogging"].logProtocolEvent);
|
|
73976
74029
|
}
|
|
73977
74030
|
/** @internal */
|
|
73978
|
-
async initialize() {
|
|
74031
|
+
async initialize(token) {
|
|
73979
74032
|
if (this._initialized) {
|
|
73980
74033
|
return this._initialized;
|
|
73981
74034
|
}
|
|
73982
74035
|
return this._initialized = new Promise(async (resolve) => {
|
|
73983
74036
|
try {
|
|
73984
|
-
const request = InitializeInterface.createRequest(this);
|
|
74037
|
+
const request = InitializeInterface.createRequest(this, token);
|
|
73985
74038
|
const response = await request.preflight();
|
|
73986
74039
|
if (response && response.ok) {
|
|
73987
74040
|
(response.headers.get("Access-Control-Allow-Headers") || "").split(",").forEach((v) => this.allowedHeaders.add(v.trim()));
|
|
@@ -74238,9 +74291,6 @@ class WebAppRpcRequest extends _core_RpcRequest__WEBPACK_IMPORTED_MODULE_6__["Rp
|
|
|
74238
74291
|
}
|
|
74239
74292
|
/** Sends the request. */
|
|
74240
74293
|
async send() {
|
|
74241
|
-
if (this.method !== "options") {
|
|
74242
|
-
await this.protocol.initialize();
|
|
74243
|
-
}
|
|
74244
74294
|
this._loading = true;
|
|
74245
74295
|
await this.setupTransport();
|
|
74246
74296
|
return new Promise(async (resolve, reject) => {
|
|
@@ -74327,8 +74377,29 @@ class WebAppRpcRequest extends _core_RpcRequest__WEBPACK_IMPORTED_MODULE_6__["Rp
|
|
|
74327
74377
|
}
|
|
74328
74378
|
static configureResponse(protocol, request, fulfillment, res) {
|
|
74329
74379
|
const success = protocol.getStatus(fulfillment.status) === _core_RpcConstants__WEBPACK_IMPORTED_MODULE_3__["RpcRequestStatus"].Resolved;
|
|
74380
|
+
// TODO: Use stale-while-revalidate in cache headers. This needs to be tested, and does not currently have support in the router/caching-service.
|
|
74381
|
+
// This will allow browsers to use stale cached responses while also revalidating with the router, allowing us to start up a backend if necessary.
|
|
74382
|
+
// RPC Caching Service uses the s-maxage header to determine the TTL for the redis cache.
|
|
74383
|
+
const oneHourInSeconds = 3600;
|
|
74330
74384
|
if (success && request.caching === _core_RpcConstants__WEBPACK_IMPORTED_MODULE_3__["RpcResponseCacheControl"].Immutable) {
|
|
74331
|
-
|
|
74385
|
+
// If response size is > 50 MB, do not cache it.
|
|
74386
|
+
if (fulfillment.result.objects.length > (50 * 10 ** 7)) {
|
|
74387
|
+
res.set("Cache-Control", "no-store");
|
|
74388
|
+
}
|
|
74389
|
+
else if (request.operation.operationName === "generateTileContent") {
|
|
74390
|
+
res.set("Cache-Control", "no-store");
|
|
74391
|
+
}
|
|
74392
|
+
else if (request.operation.operationName === "getConnectionProps") {
|
|
74393
|
+
// GetConnectionprops can't be cached on the browser longer than the lifespan of the backend. The lifespan of backend may shrink too. Keep it at 1 second to be safe.
|
|
74394
|
+
res.set("Cache-Control", `s-maxage=${oneHourInSeconds * 24}, max-age=1, immutable`);
|
|
74395
|
+
}
|
|
74396
|
+
else if (request.operation.operationName === "getTileCacheContainerUrl") {
|
|
74397
|
+
// getTileCacheContainerUrl returns a SAS with an expiry of 23:59:59. We can't exceed that time when setting the max-age.
|
|
74398
|
+
res.set("Cache-Control", `s-maxage=${oneHourInSeconds * 23}, max-age=${oneHourInSeconds * 23}, immutable`);
|
|
74399
|
+
}
|
|
74400
|
+
else {
|
|
74401
|
+
res.set("Cache-Control", `s-maxage=${oneHourInSeconds * 24}, max-age=${oneHourInSeconds * 48}, immutable`);
|
|
74402
|
+
}
|
|
74332
74403
|
}
|
|
74333
74404
|
if (fulfillment.retry) {
|
|
74334
74405
|
res.set("Retry-After", fulfillment.retry);
|
|
@@ -74449,9 +74520,11 @@ class WebAppRpcRequest extends _core_RpcRequest__WEBPACK_IMPORTED_MODULE_6__["Rp
|
|
|
74449
74520
|
}
|
|
74450
74521
|
}
|
|
74451
74522
|
/** The maximum size permitted for an encoded component in a URL.
|
|
74523
|
+
* Note that some backends limit the total cumulative request size. Our current node backends accept requests with a max size of 16 kb.
|
|
74524
|
+
* In addition to the url size, an authorization header may also add considerably to the request size.
|
|
74452
74525
|
* @note This is used for features like encoding the payload of a cacheable request in the URL.
|
|
74453
74526
|
*/
|
|
74454
|
-
WebAppRpcRequest.maxUrlComponentSize =
|
|
74527
|
+
WebAppRpcRequest.maxUrlComponentSize = 1024 * 8;
|
|
74455
74528
|
|
|
74456
74529
|
|
|
74457
74530
|
/***/ }),
|
|
@@ -79660,56 +79733,63 @@ class AccuSnap {
|
|
|
79660
79733
|
return undefined; // Don't make back end request when only doing intersection snap when we don't have another hit to intersect with...
|
|
79661
79734
|
}
|
|
79662
79735
|
}
|
|
79663
|
-
|
|
79664
|
-
|
|
79665
|
-
out
|
|
79666
|
-
|
|
79667
|
-
|
|
79668
|
-
|
|
79669
|
-
const
|
|
79670
|
-
|
|
79671
|
-
|
|
79672
|
-
|
|
79673
|
-
|
|
79674
|
-
|
|
79675
|
-
|
|
79676
|
-
|
|
79677
|
-
|
|
79678
|
-
|
|
79679
|
-
|
|
79680
|
-
|
|
79681
|
-
|
|
79682
|
-
|
|
79683
|
-
|
|
79684
|
-
|
|
79685
|
-
|
|
79686
|
-
|
|
79687
|
-
|
|
79688
|
-
|
|
79689
|
-
|
|
79690
|
-
|
|
79691
|
-
|
|
79692
|
-
|
|
79693
|
-
|
|
79694
|
-
|
|
79695
|
-
|
|
79696
|
-
|
|
79697
|
-
|
|
79698
|
-
|
|
79699
|
-
|
|
79700
|
-
|
|
79701
|
-
|
|
79702
|
-
|
|
79703
|
-
|
|
79704
|
-
|
|
79705
|
-
|
|
79706
|
-
|
|
79707
|
-
|
|
79708
|
-
|
|
79709
|
-
|
|
79736
|
+
try {
|
|
79737
|
+
const result = await thisHit.iModel.requestSnap(requestProps);
|
|
79738
|
+
if (out)
|
|
79739
|
+
out.snapStatus = result.status;
|
|
79740
|
+
if (result.status !== _ElementLocateManager__WEBPACK_IMPORTED_MODULE_2__["SnapStatus"].Success)
|
|
79741
|
+
return undefined;
|
|
79742
|
+
const parseCurve = (json) => {
|
|
79743
|
+
const parsed = undefined !== json ? _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["IModelJson"].Reader.parse(json) : undefined;
|
|
79744
|
+
return parsed instanceof _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["GeometryQuery"] && "curvePrimitive" === parsed.geometryCategory ? parsed : undefined;
|
|
79745
|
+
};
|
|
79746
|
+
// If this hit is from a plan projection model, apply the model's elevation to the snap point for display.
|
|
79747
|
+
// Likewise, if it is a hit on a model with a display transform, apply the model's transform to the snap point.
|
|
79748
|
+
let snapPoint = result.snapPoint;
|
|
79749
|
+
const elevation = undefined !== thisHit.modelId ? thisHit.viewport.view.getModelElevation(thisHit.modelId) : 0;
|
|
79750
|
+
if (0 !== elevation || undefined !== thisHit.viewport.view.modelDisplayTransformProvider) {
|
|
79751
|
+
const adjustedSnapPoint = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Point3d"].fromJSON(snapPoint);
|
|
79752
|
+
thisHit.viewport.view.transformPointByModelDisplayTransform(thisHit.modelId, adjustedSnapPoint, false);
|
|
79753
|
+
adjustedSnapPoint.z += elevation;
|
|
79754
|
+
snapPoint = adjustedSnapPoint;
|
|
79755
|
+
}
|
|
79756
|
+
const snap = new _HitDetail__WEBPACK_IMPORTED_MODULE_3__["SnapDetail"](thisHit, result.snapMode, result.heat, snapPoint);
|
|
79757
|
+
// Apply model's elevation and display transform to curve for display.
|
|
79758
|
+
let transform;
|
|
79759
|
+
if (undefined !== thisHit.modelId && undefined !== thisHit.viewport.view.modelDisplayTransformProvider) {
|
|
79760
|
+
transform = thisHit.viewport.view.getModelDisplayTransform(thisHit.modelId, _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Transform"].createIdentity());
|
|
79761
|
+
if (0 !== elevation)
|
|
79762
|
+
transform.origin.set(0, 0, elevation);
|
|
79763
|
+
}
|
|
79764
|
+
else if (0 !== elevation) {
|
|
79765
|
+
transform = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Transform"].createTranslationXYZ(0, 0, elevation);
|
|
79766
|
+
}
|
|
79767
|
+
snap.setCurvePrimitive(parseCurve(result.curve), transform, result.geomType);
|
|
79768
|
+
if (undefined !== result.parentGeomType)
|
|
79769
|
+
snap.parentGeomType = result.parentGeomType;
|
|
79770
|
+
if (undefined !== result.hitPoint) {
|
|
79771
|
+
snap.hitPoint.setFromJSON(result.hitPoint); // Update hitPoint from readPixels with exact point location corrected to surface/edge geometry...
|
|
79772
|
+
thisHit.viewport.view.transformPointByModelDisplayTransform(thisHit.modelId, snap.hitPoint, false);
|
|
79773
|
+
}
|
|
79774
|
+
if (undefined !== result.normal) {
|
|
79775
|
+
snap.normal = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Vector3d"].fromJSON(result.normal);
|
|
79776
|
+
thisHit.viewport.view.transformNormalByModelDisplayTransform(thisHit.modelId, snap.normal);
|
|
79777
|
+
}
|
|
79778
|
+
if (_HitDetail__WEBPACK_IMPORTED_MODULE_3__["SnapMode"].Intersection !== snap.snapMode)
|
|
79779
|
+
return snap;
|
|
79780
|
+
if (undefined === result.intersectId)
|
|
79781
|
+
return undefined;
|
|
79782
|
+
const otherPrimitive = parseCurve(result.intersectCurve);
|
|
79783
|
+
if (undefined === otherPrimitive)
|
|
79784
|
+
return undefined;
|
|
79785
|
+
const intersect = new _HitDetail__WEBPACK_IMPORTED_MODULE_3__["IntersectDetail"](snap, snap.heat, snap.snapPoint, otherPrimitive, result.intersectId);
|
|
79786
|
+
return intersect;
|
|
79787
|
+
}
|
|
79788
|
+
catch (_err) {
|
|
79789
|
+
if (out)
|
|
79790
|
+
out.snapStatus = _ElementLocateManager__WEBPACK_IMPORTED_MODULE_2__["SnapStatus"].Aborted;
|
|
79710
79791
|
return undefined;
|
|
79711
|
-
|
|
79712
|
-
return intersect;
|
|
79792
|
+
}
|
|
79713
79793
|
}
|
|
79714
79794
|
async getAccuSnapDetail(hitList, out) {
|
|
79715
79795
|
const thisHit = hitList.getNextHit();
|
|
@@ -86630,7 +86710,7 @@ class IModelApp {
|
|
|
86630
86710
|
applicationId: this.applicationId,
|
|
86631
86711
|
applicationVersion: this.applicationVersion,
|
|
86632
86712
|
sessionId: this.sessionId,
|
|
86633
|
-
authorization: await this.getAccessToken(),
|
|
86713
|
+
authorization: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__["ProcessDetector"].isMobileAppFrontend ? "" : await this.getAccessToken(),
|
|
86634
86714
|
};
|
|
86635
86715
|
const csrf = IModelApp.securityOptions.csrfProtection;
|
|
86636
86716
|
if (csrf && csrf.enabled) {
|
|
@@ -95211,27 +95291,31 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
95211
95291
|
/** @packageDocumentation
|
|
95212
95292
|
* @module Views
|
|
95213
95293
|
*/
|
|
95214
|
-
/** A rectangle in integer view coordinates with (0,0) corresponding to the top-left corner of the view.
|
|
95215
|
-
*
|
|
95294
|
+
/** A rectangle in unsigned integer view coordinates with (0,0) corresponding to the top-left corner of the view.
|
|
95216
95295
|
* Increasing **x** moves from left to right, and increasing **y** moves from top to bottom.
|
|
95296
|
+
* [[left]], [[top]], [[right]], and [[bottom]] are required to be non-negative integers; any negative inputs are treated as
|
|
95297
|
+
* zero and any non-integer inputs are rounded down to the nearest integer.
|
|
95217
95298
|
* @public
|
|
95218
95299
|
* @extensions
|
|
95219
95300
|
*/
|
|
95220
95301
|
class ViewRect {
|
|
95221
95302
|
/** Construct a new ViewRect. */
|
|
95222
95303
|
constructor(left = 0, top = 0, right = 0, bottom = 0) { this.init(left, top, right, bottom); }
|
|
95223
|
-
|
|
95304
|
+
_set(key, value) {
|
|
95305
|
+
this[key] = Math.max(0, Math.floor(value));
|
|
95306
|
+
}
|
|
95307
|
+
/** The leftmost side of this ViewRect. */
|
|
95224
95308
|
get left() { return this._left; }
|
|
95225
|
-
set left(val) { this._left
|
|
95309
|
+
set left(val) { this._set("_left", val); }
|
|
95226
95310
|
/** The topmost side of this ViewRect. */
|
|
95227
95311
|
get top() { return this._top; }
|
|
95228
|
-
set top(val) { this._top
|
|
95312
|
+
set top(val) { this._set("_top", val); }
|
|
95229
95313
|
/** The rightmost side of this ViewRect. */
|
|
95230
95314
|
get right() { return this._right; }
|
|
95231
|
-
set right(val) { this._right
|
|
95315
|
+
set right(val) { this._set("_right", val); }
|
|
95232
95316
|
/** The bottommost side of this ViewRect. */
|
|
95233
95317
|
get bottom() { return this._bottom; }
|
|
95234
|
-
set bottom(val) { this._bottom
|
|
95318
|
+
set bottom(val) { this._set("_bottom", val); }
|
|
95235
95319
|
/** True if this ViewRect has an area > 0. */
|
|
95236
95320
|
get isNull() { return this.right <= this.left || this.bottom <= this.top; }
|
|
95237
95321
|
/** True if `!isNull` */
|
|
@@ -99672,7 +99756,7 @@ class Viewport {
|
|
|
99672
99756
|
return false; // Reality Models not selectable
|
|
99673
99757
|
return undefined === this.mapLayerFromIds(pixel.featureTable.modelId, pixel.elementId); // Maps no selectable.
|
|
99674
99758
|
}
|
|
99675
|
-
/** Read the current image from this viewport from the rendering system. If a
|
|
99759
|
+
/** Read the current image from this viewport from the rendering system. If a "null" rectangle is supplied (@see [[ViewRect.isNull]]), the entire view is captured.
|
|
99676
99760
|
* @param rect The area of the view to read. The origin of a viewRect must specify the upper left corner.
|
|
99677
99761
|
* @param targetSize The size of the image to be returned. The size can be larger or smaller than the original view.
|
|
99678
99762
|
* @param flipVertically If true, the image is flipped along the x-axis.
|
|
@@ -99680,7 +99764,7 @@ class Viewport {
|
|
|
99680
99764
|
* @note By default the image is returned with the coordinate (0,0) referring to the bottom-most pixel. Pass `true` for `flipVertically` to flip it along the x-axis.
|
|
99681
99765
|
* @deprecated Use readImageBuffer.
|
|
99682
99766
|
*/
|
|
99683
|
-
readImage(rect = new _ViewRect__WEBPACK_IMPORTED_MODULE_25__["ViewRect"](
|
|
99767
|
+
readImage(rect = new _ViewRect__WEBPACK_IMPORTED_MODULE_25__["ViewRect"](1, 1, 0, 0), targetSize = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Point2d"].createZero(), flipVertically = false) {
|
|
99684
99768
|
// eslint-disable-next-line deprecation/deprecation
|
|
99685
99769
|
return this.target.readImage(rect, targetSize, flipVertically);
|
|
99686
99770
|
}
|
|
@@ -102277,226 +102361,233 @@ if (globalThis[globalSymbol])
|
|
|
102277
102361
|
|
|
102278
102362
|
|
|
102279
102363
|
const extensionExports = {
|
|
102280
|
-
ContextRotationId: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ContextRotationId"],
|
|
102281
|
-
ACSType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ACSType"],
|
|
102282
102364
|
ACSDisplayOptions: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ACSDisplayOptions"],
|
|
102283
|
-
|
|
102284
|
-
LocateAction: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["LocateAction"],
|
|
102285
|
-
LocateFilterStatus: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["LocateFilterStatus"],
|
|
102286
|
-
SnapStatus: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SnapStatus"],
|
|
102287
|
-
FlashMode: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["FlashMode"],
|
|
102288
|
-
FrontendLoggerCategory: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["FrontendLoggerCategory"],
|
|
102289
|
-
SnapMode: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SnapMode"],
|
|
102290
|
-
SnapHeat: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SnapHeat"],
|
|
102291
|
-
HitSource: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HitSource"],
|
|
102292
|
-
HitGeomType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HitGeomType"],
|
|
102293
|
-
HitParentGeomType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HitParentGeomType"],
|
|
102294
|
-
HitPriority: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HitPriority"],
|
|
102295
|
-
HitDetailType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HitDetailType"],
|
|
102296
|
-
OutputMessageType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["OutputMessageType"],
|
|
102297
|
-
OutputMessagePriority: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["OutputMessagePriority"],
|
|
102298
|
-
OutputMessageAlert: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["OutputMessageAlert"],
|
|
102299
|
-
ActivityMessageEndReason: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ActivityMessageEndReason"],
|
|
102300
|
-
MessageBoxType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["MessageBoxType"],
|
|
102301
|
-
MessageBoxIconType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["MessageBoxIconType"],
|
|
102302
|
-
MessageBoxValue: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["MessageBoxValue"],
|
|
102303
|
-
GraphicType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["GraphicType"],
|
|
102304
|
-
UniformType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["UniformType"],
|
|
102305
|
-
VaryingType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["VaryingType"],
|
|
102306
|
-
SelectionSetEventType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SelectionSetEventType"],
|
|
102307
|
-
StandardViewId: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["StandardViewId"],
|
|
102308
|
-
TileLoadStatus: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileLoadStatus"],
|
|
102309
|
-
TileVisibility: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileVisibility"],
|
|
102310
|
-
TileLoadPriority: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileLoadPriority"],
|
|
102311
|
-
TileBoundingBoxes: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileBoundingBoxes"],
|
|
102312
|
-
TileTreeLoadStatus: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileTreeLoadStatus"],
|
|
102313
|
-
TileGraphicType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileGraphicType"],
|
|
102314
|
-
ClipEventType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ClipEventType"],
|
|
102315
|
-
SelectionMethod: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SelectionMethod"],
|
|
102316
|
-
SelectionMode: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SelectionMode"],
|
|
102317
|
-
SelectionProcessing: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SelectionProcessing"],
|
|
102318
|
-
BeButton: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BeButton"],
|
|
102319
|
-
CoordinateLockOverrides: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["CoordinateLockOverrides"],
|
|
102320
|
-
InputSource: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["InputSource"],
|
|
102321
|
-
CoordSource: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["CoordSource"],
|
|
102322
|
-
BeModifierKeys: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BeModifierKeys"],
|
|
102323
|
-
EventHandled: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["EventHandled"],
|
|
102324
|
-
ParseAndRunResult: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ParseAndRunResult"],
|
|
102325
|
-
KeyinParseError: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["KeyinParseError"],
|
|
102326
|
-
StartOrResume: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["StartOrResume"],
|
|
102327
|
-
ManipulatorToolEvent: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ManipulatorToolEvent"],
|
|
102328
|
-
ToolAssistanceImage: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ToolAssistanceImage"],
|
|
102329
|
-
ToolAssistanceInputMethod: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ToolAssistanceInputMethod"],
|
|
102330
|
-
ViewStatus: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewStatus"],
|
|
102365
|
+
ACSType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ACSType"],
|
|
102331
102366
|
AccuDrawHintBuilder: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["AccuDrawHintBuilder"],
|
|
102332
102367
|
AccuSnap: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["AccuSnap"],
|
|
102333
|
-
|
|
102368
|
+
ActivityMessageDetails: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ActivityMessageDetails"],
|
|
102369
|
+
ActivityMessageEndReason: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ActivityMessageEndReason"],
|
|
102334
102370
|
AuxCoordSystem2dState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["AuxCoordSystem2dState"],
|
|
102335
102371
|
AuxCoordSystem3dState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["AuxCoordSystem3dState"],
|
|
102336
102372
|
AuxCoordSystemSpatialState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["AuxCoordSystemSpatialState"],
|
|
102373
|
+
AuxCoordSystemState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["AuxCoordSystemState"],
|
|
102374
|
+
BackgroundFill: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["BackgroundFill"],
|
|
102375
|
+
BackgroundMapType: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["BackgroundMapType"],
|
|
102376
|
+
BatchType: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["BatchType"],
|
|
102377
|
+
BeButton: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BeButton"],
|
|
102378
|
+
BeButtonEvent: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BeButtonEvent"],
|
|
102379
|
+
BeButtonState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BeButtonState"],
|
|
102380
|
+
BeModifierKeys: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BeModifierKeys"],
|
|
102381
|
+
BeTouchEvent: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BeTouchEvent"],
|
|
102382
|
+
BeWheelEvent: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BeWheelEvent"],
|
|
102383
|
+
BingElevationProvider: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BingElevationProvider"],
|
|
102337
102384
|
BingLocationProvider: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BingLocationProvider"],
|
|
102385
|
+
BisCodeSpec: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["BisCodeSpec"],
|
|
102386
|
+
BriefcaseIdValue: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["BriefcaseIdValue"],
|
|
102338
102387
|
CategorySelectorState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["CategorySelectorState"],
|
|
102339
102388
|
ChangeFlags: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ChangeFlags"],
|
|
102389
|
+
ChangeOpCode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ChangeOpCode"],
|
|
102390
|
+
ChangedValueState: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ChangedValueState"],
|
|
102391
|
+
ChangesetType: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ChangesetType"],
|
|
102392
|
+
ClipEventType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ClipEventType"],
|
|
102393
|
+
Cluster: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["Cluster"],
|
|
102394
|
+
ColorByName: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ColorByName"],
|
|
102395
|
+
ColorDef: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ColorDef"],
|
|
102396
|
+
CommonLoggerCategory: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["CommonLoggerCategory"],
|
|
102340
102397
|
ContextRealityModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ContextRealityModelState"],
|
|
102341
|
-
|
|
102398
|
+
ContextRotationId: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ContextRotationId"],
|
|
102399
|
+
CoordSource: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["CoordSource"],
|
|
102400
|
+
CoordSystem: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["CoordSystem"],
|
|
102401
|
+
CoordinateLockOverrides: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["CoordinateLockOverrides"],
|
|
102402
|
+
Decorations: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["Decorations"],
|
|
102403
|
+
DisclosedTileTreeSet: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["DisclosedTileTreeSet"],
|
|
102342
102404
|
DisplayStyle2dState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["DisplayStyle2dState"],
|
|
102343
102405
|
DisplayStyle3dState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["DisplayStyle3dState"],
|
|
102406
|
+
DisplayStyleState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["DisplayStyleState"],
|
|
102407
|
+
DrawingModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["DrawingModelState"],
|
|
102344
102408
|
DrawingViewState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["DrawingViewState"],
|
|
102345
|
-
|
|
102346
|
-
|
|
102347
|
-
|
|
102409
|
+
ECSqlSystemProperty: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ECSqlSystemProperty"],
|
|
102410
|
+
ECSqlValueType: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ECSqlValueType"],
|
|
102411
|
+
EditManipulator: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["EditManipulator"],
|
|
102412
|
+
ElementGeometryOpcode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ElementGeometryOpcode"],
|
|
102348
102413
|
ElementLocateManager: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ElementLocateManager"],
|
|
102414
|
+
ElementPicker: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ElementPicker"],
|
|
102415
|
+
ElementState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ElementState"],
|
|
102349
102416
|
EmphasizeElements: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["EmphasizeElements"],
|
|
102350
102417
|
EntityState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["EntityState"],
|
|
102351
|
-
|
|
102418
|
+
EventController: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["EventController"],
|
|
102419
|
+
EventHandled: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["EventHandled"],
|
|
102420
|
+
FeatureOverrideType: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["FeatureOverrideType"],
|
|
102421
|
+
FeatureSymbology: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["FeatureSymbology"],
|
|
102422
|
+
FillDisplay: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["FillDisplay"],
|
|
102423
|
+
FillFlags: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["FillFlags"],
|
|
102424
|
+
FlashMode: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["FlashMode"],
|
|
102352
102425
|
FlashSettings: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["FlashSettings"],
|
|
102426
|
+
FontType: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["FontType"],
|
|
102427
|
+
FrontendLoggerCategory: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["FrontendLoggerCategory"],
|
|
102353
102428
|
FrustumAnimator: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["FrustumAnimator"],
|
|
102429
|
+
GeoCoordStatus: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["GeoCoordStatus"],
|
|
102430
|
+
GeometricModel2dState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["GeometricModel2dState"],
|
|
102431
|
+
GeometricModel3dState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["GeometricModel3dState"],
|
|
102432
|
+
GeometricModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["GeometricModelState"],
|
|
102433
|
+
GeometryClass: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["GeometryClass"],
|
|
102434
|
+
GeometryStreamFlags: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["GeometryStreamFlags"],
|
|
102435
|
+
GeometrySummaryVerbosity: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["GeometrySummaryVerbosity"],
|
|
102354
102436
|
GlobeAnimator: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["GlobeAnimator"],
|
|
102437
|
+
GlobeMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["GlobeMode"],
|
|
102438
|
+
GraphicBranch: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["GraphicBranch"],
|
|
102439
|
+
GraphicBuilder: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["GraphicBuilder"],
|
|
102440
|
+
GraphicType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["GraphicType"],
|
|
102441
|
+
GridOrientationType: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["GridOrientationType"],
|
|
102442
|
+
HSVConstants: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["HSVConstants"],
|
|
102443
|
+
HiliteSet: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HiliteSet"],
|
|
102355
102444
|
HitDetail: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HitDetail"],
|
|
102356
|
-
|
|
102357
|
-
|
|
102445
|
+
HitDetailType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HitDetailType"],
|
|
102446
|
+
HitGeomType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HitGeomType"],
|
|
102358
102447
|
HitList: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HitList"],
|
|
102359
|
-
|
|
102360
|
-
|
|
102361
|
-
|
|
102362
|
-
getImageSourceMimeType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["getImageSourceMimeType"],
|
|
102363
|
-
getImageSourceFormatForMimeType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["getImageSourceFormatForMimeType"],
|
|
102364
|
-
imageElementFromImageSource: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["imageElementFromImageSource"],
|
|
102365
|
-
imageElementFromUrl: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["imageElementFromUrl"],
|
|
102366
|
-
extractImageSourceDimensions: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["extractImageSourceDimensions"],
|
|
102367
|
-
imageBufferToPngDataUrl: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["imageBufferToPngDataUrl"],
|
|
102368
|
-
imageBufferToBase64EncodedPng: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["imageBufferToBase64EncodedPng"],
|
|
102369
|
-
getCompressedJpegFromCanvas: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["getCompressedJpegFromCanvas"],
|
|
102448
|
+
HitParentGeomType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HitParentGeomType"],
|
|
102449
|
+
HitPriority: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HitPriority"],
|
|
102450
|
+
HitSource: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HitSource"],
|
|
102370
102451
|
IModelConnection: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["IModelConnection"],
|
|
102371
|
-
|
|
102452
|
+
IconSprites: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["IconSprites"],
|
|
102453
|
+
ImageBufferFormat: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ImageBufferFormat"],
|
|
102454
|
+
ImageSourceFormat: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ImageSourceFormat"],
|
|
102455
|
+
InputCollector: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["InputCollector"],
|
|
102456
|
+
InputSource: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["InputSource"],
|
|
102457
|
+
InteractiveTool: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["InteractiveTool"],
|
|
102458
|
+
IntersectDetail: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["IntersectDetail"],
|
|
102459
|
+
KeyinParseError: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["KeyinParseError"],
|
|
102460
|
+
LinePixels: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["LinePixels"],
|
|
102461
|
+
LocateAction: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["LocateAction"],
|
|
102462
|
+
LocateFilterStatus: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["LocateFilterStatus"],
|
|
102463
|
+
LocateOptions: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["LocateOptions"],
|
|
102464
|
+
LocateResponse: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["LocateResponse"],
|
|
102465
|
+
ManipulatorToolEvent: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ManipulatorToolEvent"],
|
|
102372
102466
|
MarginPercent: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["MarginPercent"],
|
|
102373
102467
|
Marker: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["Marker"],
|
|
102374
|
-
Cluster: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["Cluster"],
|
|
102375
102468
|
MarkerSet: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["MarkerSet"],
|
|
102469
|
+
MassPropertiesOperation: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["MassPropertiesOperation"],
|
|
102470
|
+
MessageBoxIconType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["MessageBoxIconType"],
|
|
102471
|
+
MessageBoxType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["MessageBoxType"],
|
|
102472
|
+
MessageBoxValue: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["MessageBoxValue"],
|
|
102376
102473
|
ModelSelectorState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ModelSelectorState"],
|
|
102377
102474
|
ModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ModelState"],
|
|
102378
|
-
|
|
102379
|
-
|
|
102380
|
-
GeometricModel3dState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["GeometricModel3dState"],
|
|
102381
|
-
SheetModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SheetModelState"],
|
|
102382
|
-
SpatialModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SpatialModelState"],
|
|
102383
|
-
PhysicalModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["PhysicalModelState"],
|
|
102384
|
-
SpatialLocationModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SpatialLocationModelState"],
|
|
102385
|
-
DrawingModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["DrawingModelState"],
|
|
102386
|
-
SectionDrawingModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SectionDrawingModelState"],
|
|
102387
|
-
NotifyMessageDetails: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["NotifyMessageDetails"],
|
|
102388
|
-
ActivityMessageDetails: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ActivityMessageDetails"],
|
|
102475
|
+
MonochromeMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["MonochromeMode"],
|
|
102476
|
+
NotificationHandler: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["NotificationHandler"],
|
|
102389
102477
|
NotificationManager: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["NotificationManager"],
|
|
102478
|
+
NotifyMessageDetails: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["NotifyMessageDetails"],
|
|
102479
|
+
Npc: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["Npc"],
|
|
102480
|
+
OrthographicViewState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["OrthographicViewState"],
|
|
102481
|
+
OutputMessageAlert: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["OutputMessageAlert"],
|
|
102482
|
+
OutputMessagePriority: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["OutputMessagePriority"],
|
|
102483
|
+
OutputMessageType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["OutputMessageType"],
|
|
102484
|
+
ParseAndRunResult: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ParseAndRunResult"],
|
|
102390
102485
|
PerModelCategoryVisibility: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["PerModelCategoryVisibility"],
|
|
102391
|
-
|
|
102392
|
-
FeatureSymbology: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["FeatureSymbology"],
|
|
102393
|
-
GraphicBranch: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["GraphicBranch"],
|
|
102394
|
-
GraphicBuilder: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["GraphicBuilder"],
|
|
102486
|
+
PhysicalModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["PhysicalModelState"],
|
|
102395
102487
|
Pixel: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["Pixel"],
|
|
102488
|
+
PlanarClipMaskMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["PlanarClipMaskMode"],
|
|
102489
|
+
PlanarClipMaskPriority: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["PlanarClipMaskPriority"],
|
|
102490
|
+
PrimitiveTool: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["PrimitiveTool"],
|
|
102491
|
+
QueryRowFormat: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["QueryRowFormat"],
|
|
102492
|
+
Rank: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["Rank"],
|
|
102396
102493
|
RenderClipVolume: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["RenderClipVolume"],
|
|
102397
102494
|
RenderGraphic: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["RenderGraphic"],
|
|
102398
102495
|
RenderGraphicOwner: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["RenderGraphicOwner"],
|
|
102496
|
+
RenderMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["RenderMode"],
|
|
102399
102497
|
RenderSystem: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["RenderSystem"],
|
|
102400
102498
|
Scene: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["Scene"],
|
|
102401
|
-
|
|
102499
|
+
SectionDrawingModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SectionDrawingModelState"],
|
|
102500
|
+
SectionType: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["SectionType"],
|
|
102501
|
+
SelectionMethod: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SelectionMethod"],
|
|
102502
|
+
SelectionMode: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SelectionMode"],
|
|
102503
|
+
SelectionProcessing: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SelectionProcessing"],
|
|
102402
102504
|
SelectionSet: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SelectionSet"],
|
|
102505
|
+
SelectionSetEventType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SelectionSetEventType"],
|
|
102506
|
+
SheetModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SheetModelState"],
|
|
102403
102507
|
SheetViewState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SheetViewState"],
|
|
102508
|
+
SkyBoxImageType: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["SkyBoxImageType"],
|
|
102509
|
+
SnapDetail: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SnapDetail"],
|
|
102510
|
+
SnapHeat: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SnapHeat"],
|
|
102511
|
+
SnapMode: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SnapMode"],
|
|
102512
|
+
SnapStatus: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SnapStatus"],
|
|
102513
|
+
SpatialClassifierInsideDisplay: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["SpatialClassifierInsideDisplay"],
|
|
102514
|
+
SpatialClassifierOutsideDisplay: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["SpatialClassifierOutsideDisplay"],
|
|
102515
|
+
SpatialLocationModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SpatialLocationModelState"],
|
|
102516
|
+
SpatialModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SpatialModelState"],
|
|
102404
102517
|
SpatialViewState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SpatialViewState"],
|
|
102405
|
-
OrthographicViewState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["OrthographicViewState"],
|
|
102406
102518
|
Sprite: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["Sprite"],
|
|
102407
|
-
IconSprites: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["IconSprites"],
|
|
102408
102519
|
SpriteLocation: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SpriteLocation"],
|
|
102520
|
+
StandardViewId: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["StandardViewId"],
|
|
102521
|
+
StartOrResume: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["StartOrResume"],
|
|
102522
|
+
SyncMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["SyncMode"],
|
|
102409
102523
|
TentativePoint: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TentativePoint"],
|
|
102410
|
-
|
|
102411
|
-
|
|
102412
|
-
|
|
102524
|
+
TerrainHeightOriginMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["TerrainHeightOriginMode"],
|
|
102525
|
+
TextureMapUnits: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["TextureMapUnits"],
|
|
102526
|
+
ThematicDisplayMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ThematicDisplayMode"],
|
|
102527
|
+
ThematicGradientColorScheme: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ThematicGradientColorScheme"],
|
|
102528
|
+
ThematicGradientMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ThematicGradientMode"],
|
|
102413
102529
|
Tile: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["Tile"],
|
|
102414
102530
|
TileAdmin: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileAdmin"],
|
|
102531
|
+
TileBoundingBoxes: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileBoundingBoxes"],
|
|
102415
102532
|
TileDrawArgs: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileDrawArgs"],
|
|
102533
|
+
TileGraphicType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileGraphicType"],
|
|
102534
|
+
TileLoadPriority: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileLoadPriority"],
|
|
102535
|
+
TileLoadStatus: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileLoadStatus"],
|
|
102416
102536
|
TileRequest: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileRequest"],
|
|
102417
|
-
TileRequestChannelStatistics: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileRequestChannelStatistics"],
|
|
102418
102537
|
TileRequestChannel: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileRequestChannel"],
|
|
102538
|
+
TileRequestChannelStatistics: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileRequestChannelStatistics"],
|
|
102419
102539
|
TileRequestChannels: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileRequestChannels"],
|
|
102420
102540
|
TileTree: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileTree"],
|
|
102541
|
+
TileTreeLoadStatus: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileTreeLoadStatus"],
|
|
102421
102542
|
TileTreeReference: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileTreeReference"],
|
|
102422
102543
|
TileUsageMarker: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileUsageMarker"],
|
|
102544
|
+
TileVisibility: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileVisibility"],
|
|
102423
102545
|
Tiles: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["Tiles"],
|
|
102424
|
-
ViewClipTool: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewClipTool"],
|
|
102425
|
-
ViewClipClearTool: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewClipClearTool"],
|
|
102426
|
-
ViewClipDecorationProvider: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewClipDecorationProvider"],
|
|
102427
|
-
EditManipulator: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["EditManipulator"],
|
|
102428
|
-
EventController: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["EventController"],
|
|
102429
|
-
PrimitiveTool: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["PrimitiveTool"],
|
|
102430
|
-
BeButtonState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BeButtonState"],
|
|
102431
|
-
BeButtonEvent: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BeButtonEvent"],
|
|
102432
|
-
BeTouchEvent: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BeTouchEvent"],
|
|
102433
|
-
BeWheelEvent: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BeWheelEvent"],
|
|
102434
102546
|
Tool: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["Tool"],
|
|
102435
|
-
InteractiveTool: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["InteractiveTool"],
|
|
102436
|
-
InputCollector: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["InputCollector"],
|
|
102437
102547
|
ToolAdmin: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ToolAdmin"],
|
|
102438
102548
|
ToolAssistance: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ToolAssistance"],
|
|
102549
|
+
ToolAssistanceImage: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ToolAssistanceImage"],
|
|
102550
|
+
ToolAssistanceInputMethod: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ToolAssistanceInputMethod"],
|
|
102439
102551
|
ToolSettings: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ToolSettings"],
|
|
102440
|
-
|
|
102441
|
-
|
|
102552
|
+
TwoWayViewportFrustumSync: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TwoWayViewportFrustumSync"],
|
|
102553
|
+
TwoWayViewportSync: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TwoWayViewportSync"],
|
|
102554
|
+
TxnAction: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["TxnAction"],
|
|
102555
|
+
TypeOfChange: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["TypeOfChange"],
|
|
102556
|
+
UniformType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["UniformType"],
|
|
102557
|
+
VaryingType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["VaryingType"],
|
|
102558
|
+
ViewClipClearTool: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewClipClearTool"],
|
|
102559
|
+
ViewClipDecorationProvider: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewClipDecorationProvider"],
|
|
102560
|
+
ViewClipTool: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewClipTool"],
|
|
102442
102561
|
ViewCreator2d: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewCreator2d"],
|
|
102443
102562
|
ViewCreator3d: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewCreator3d"],
|
|
102444
|
-
queryTerrainElevationOffset: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["queryTerrainElevationOffset"],
|
|
102445
|
-
ViewingSpace: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewingSpace"],
|
|
102446
102563
|
ViewManager: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewManager"],
|
|
102564
|
+
ViewManip: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewManip"],
|
|
102447
102565
|
ViewPose: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewPose"],
|
|
102448
102566
|
ViewRect: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewRect"],
|
|
102449
102567
|
ViewState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewState"],
|
|
102450
|
-
ViewState3d: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewState3d"],
|
|
102451
102568
|
ViewState2d: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewState2d"],
|
|
102452
|
-
|
|
102453
|
-
|
|
102454
|
-
|
|
102455
|
-
|
|
102456
|
-
|
|
102457
|
-
|
|
102458
|
-
|
|
102459
|
-
|
|
102460
|
-
|
|
102461
|
-
|
|
102462
|
-
|
|
102463
|
-
|
|
102464
|
-
|
|
102465
|
-
|
|
102466
|
-
|
|
102467
|
-
|
|
102468
|
-
|
|
102469
|
-
|
|
102470
|
-
|
|
102471
|
-
|
|
102472
|
-
|
|
102473
|
-
|
|
102474
|
-
GeometryStreamFlags: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["GeometryStreamFlags"],
|
|
102475
|
-
FillDisplay: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["FillDisplay"],
|
|
102476
|
-
BackgroundFill: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["BackgroundFill"],
|
|
102477
|
-
GeometryClass: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["GeometryClass"],
|
|
102478
|
-
GeometrySummaryVerbosity: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["GeometrySummaryVerbosity"],
|
|
102479
|
-
FillFlags: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["FillFlags"],
|
|
102480
|
-
HSVConstants: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["HSVConstants"],
|
|
102481
|
-
ImageBufferFormat: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ImageBufferFormat"],
|
|
102482
|
-
ImageSourceFormat: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ImageSourceFormat"],
|
|
102483
|
-
LinePixels: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["LinePixels"],
|
|
102484
|
-
MassPropertiesOperation: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["MassPropertiesOperation"],
|
|
102485
|
-
TextureMapUnits: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["TextureMapUnits"],
|
|
102486
|
-
PlanarClipMaskMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["PlanarClipMaskMode"],
|
|
102487
|
-
PlanarClipMaskPriority: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["PlanarClipMaskPriority"],
|
|
102488
|
-
SkyBoxImageType: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["SkyBoxImageType"],
|
|
102489
|
-
SpatialClassifierInsideDisplay: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["SpatialClassifierInsideDisplay"],
|
|
102490
|
-
SpatialClassifierOutsideDisplay: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["SpatialClassifierOutsideDisplay"],
|
|
102491
|
-
TerrainHeightOriginMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["TerrainHeightOriginMode"],
|
|
102492
|
-
ThematicGradientMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ThematicGradientMode"],
|
|
102493
|
-
ThematicGradientColorScheme: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ThematicGradientColorScheme"],
|
|
102494
|
-
ThematicDisplayMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ThematicDisplayMode"],
|
|
102495
|
-
TxnAction: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["TxnAction"],
|
|
102496
|
-
GridOrientationType: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["GridOrientationType"],
|
|
102497
|
-
RenderMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["RenderMode"],
|
|
102498
|
-
ColorByName: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ColorByName"],
|
|
102499
|
-
ColorDef: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ColorDef"],
|
|
102569
|
+
ViewState3d: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewState3d"],
|
|
102570
|
+
ViewStatus: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewStatus"],
|
|
102571
|
+
ViewTool: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewTool"],
|
|
102572
|
+
ViewingSpace: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewingSpace"],
|
|
102573
|
+
canvasToImageBuffer: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["canvasToImageBuffer"],
|
|
102574
|
+
canvasToResizedCanvasWithBars: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["canvasToResizedCanvasWithBars"],
|
|
102575
|
+
connectViewportFrusta: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["connectViewportFrusta"],
|
|
102576
|
+
connectViewportViews: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["connectViewportViews"],
|
|
102577
|
+
connectViewports: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["connectViewports"],
|
|
102578
|
+
extractImageSourceDimensions: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["extractImageSourceDimensions"],
|
|
102579
|
+
getCompressedJpegFromCanvas: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["getCompressedJpegFromCanvas"],
|
|
102580
|
+
getImageSourceFormatForMimeType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["getImageSourceFormatForMimeType"],
|
|
102581
|
+
getImageSourceMimeType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["getImageSourceMimeType"],
|
|
102582
|
+
imageBufferToBase64EncodedPng: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["imageBufferToBase64EncodedPng"],
|
|
102583
|
+
imageBufferToCanvas: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["imageBufferToCanvas"],
|
|
102584
|
+
imageBufferToPngDataUrl: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["imageBufferToPngDataUrl"],
|
|
102585
|
+
imageElementFromImageSource: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["imageElementFromImageSource"],
|
|
102586
|
+
imageElementFromUrl: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["imageElementFromUrl"],
|
|
102587
|
+
queryTerrainElevationOffset: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["queryTerrainElevationOffset"],
|
|
102588
|
+
readElementGraphics: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["readElementGraphics"],
|
|
102589
|
+
synchronizeViewportFrusta: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["synchronizeViewportFrusta"],
|
|
102590
|
+
synchronizeViewportViews: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["synchronizeViewportViews"],
|
|
102500
102591
|
};
|
|
102501
102592
|
// END GENERATED CODE
|
|
102502
102593
|
const getExtensionApi = (id) => {
|
|
@@ -102532,42 +102623,25 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
102532
102623
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
102533
102624
|
*--------------------------------------------------------------------------------------------*/
|
|
102534
102625
|
/**
|
|
102535
|
-
*
|
|
102536
|
-
* First attempts an ES6 dynamic import,
|
|
102537
|
-
* second attempts a dynamic import via a script element as a fallback.
|
|
102626
|
+
* Imports and executes a bundled javascript (esm) module.
|
|
102538
102627
|
* Used by remote and service Extensions.
|
|
102539
|
-
* Throws an error if
|
|
102628
|
+
* Throws an error if no function is found to execute.
|
|
102629
|
+
* Looks for a function in the following order:
|
|
102630
|
+
* - the module itself.
|
|
102631
|
+
* - the module's main export.
|
|
102632
|
+
* - the module's default export.
|
|
102540
102633
|
* @internal
|
|
102541
102634
|
*/
|
|
102542
102635
|
async function loadScript(jsUrl) {
|
|
102543
|
-
// Warning "Critical dependency: the request of a dependency is an expression"
|
|
102544
|
-
// until that is resolved, leave code commented:
|
|
102545
102636
|
// const module = await import(/* webpackIgnore: true */jsUrl);
|
|
102546
|
-
//
|
|
102547
|
-
|
|
102548
|
-
|
|
102549
|
-
|
|
102550
|
-
|
|
102551
|
-
|
|
102552
|
-
|
|
102553
|
-
|
|
102554
|
-
delete window[tempGlobal];
|
|
102555
|
-
scriptElement.remove();
|
|
102556
|
-
}
|
|
102557
|
-
window[tempGlobal] = async function (module) {
|
|
102558
|
-
await execute(module);
|
|
102559
|
-
cleanup();
|
|
102560
|
-
resolve(module);
|
|
102561
|
-
};
|
|
102562
|
-
scriptElement.type = "module";
|
|
102563
|
-
scriptElement.textContent = `import * as m from "${jsUrl}";window.${tempGlobal}(m);`;
|
|
102564
|
-
scriptElement.onerror = () => {
|
|
102565
|
-
reject(new Error(`Failed to load extension with URL ${jsUrl}`));
|
|
102566
|
-
cleanup();
|
|
102567
|
-
};
|
|
102568
|
-
head.insertBefore(scriptElement, head.lastChild);
|
|
102569
|
-
});
|
|
102570
|
-
}
|
|
102637
|
+
// Webpack gives a warning:
|
|
102638
|
+
// "Critical dependency: the request of a dependency is an expression"
|
|
102639
|
+
// Because tsc transpiles "await import" to "require" (when compiled to is CommonJS).
|
|
102640
|
+
// So use FunctionConstructor to avoid tsc.
|
|
102641
|
+
const module = await Function("x", "return import(x)")(jsUrl);
|
|
102642
|
+
return execute(module);
|
|
102643
|
+
}
|
|
102644
|
+
/** attempts to execute an extension module */
|
|
102571
102645
|
function execute(m) {
|
|
102572
102646
|
if (typeof m === "function")
|
|
102573
102647
|
return m();
|
|
@@ -102575,7 +102649,7 @@ function execute(m) {
|
|
|
102575
102649
|
return m.main();
|
|
102576
102650
|
if (m.default && typeof m.default === "function")
|
|
102577
102651
|
return m.default();
|
|
102578
|
-
throw new Error(`Failed to
|
|
102652
|
+
throw new Error(`Failed to execute extension. No default function was found to execute.`);
|
|
102579
102653
|
}
|
|
102580
102654
|
|
|
102581
102655
|
|
|
@@ -102891,9 +102965,9 @@ class ServiceExtensionProvider {
|
|
|
102891
102965
|
/** Fetches the extension from the ExtensionService.
|
|
102892
102966
|
*/
|
|
102893
102967
|
async _getExtensionFiles(props) {
|
|
102894
|
-
var _a;
|
|
102968
|
+
var _a, _b, _c;
|
|
102895
102969
|
const extensionClient = new _ExtensionServiceClient__WEBPACK_IMPORTED_MODULE_3__["ExtensionClient"]();
|
|
102896
|
-
const accessToken = await ((_a = _IModelApp__WEBPACK_IMPORTED_MODULE_1__["IModelApp"].authorizationClient) === null ||
|
|
102970
|
+
const accessToken = await ((_b = (_a = props.getAccessToken) === null || _a === void 0 ? void 0 : _a.call(props)) !== null && _b !== void 0 ? _b : (_c = _IModelApp__WEBPACK_IMPORTED_MODULE_1__["IModelApp"].authorizationClient) === null || _c === void 0 ? void 0 : _c.getAccessToken());
|
|
102897
102971
|
if (!accessToken)
|
|
102898
102972
|
return undefined;
|
|
102899
102973
|
let extensionProps;
|
|
@@ -109675,6 +109749,7 @@ class PrimitiveBuilder extends GeometryListBuilder {
|
|
|
109675
109749
|
this.primitives = [];
|
|
109676
109750
|
}
|
|
109677
109751
|
finishGraphic(accum) {
|
|
109752
|
+
var _a;
|
|
109678
109753
|
let meshes;
|
|
109679
109754
|
let range;
|
|
109680
109755
|
let featureTable;
|
|
@@ -109686,7 +109761,8 @@ class PrimitiveBuilder extends GeometryListBuilder {
|
|
|
109686
109761
|
const tolerance = this.computeTolerance(accum);
|
|
109687
109762
|
meshes = accum.saveToGraphicList(this.primitives, options, tolerance, this.pickable);
|
|
109688
109763
|
if (undefined !== meshes) {
|
|
109689
|
-
|
|
109764
|
+
if ((_a = meshes.features) === null || _a === void 0 ? void 0 : _a.anyDefined)
|
|
109765
|
+
featureTable = meshes.features;
|
|
109690
109766
|
range = meshes.range;
|
|
109691
109767
|
}
|
|
109692
109768
|
}
|
|
@@ -127759,14 +127835,14 @@ class Target extends _RenderTarget__WEBPACK_IMPORTED_MODULE_8__["RenderTarget"]
|
|
|
127759
127835
|
return new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Point2d"](curSize.x * bestRatio, curSize.y * bestRatio);
|
|
127760
127836
|
}
|
|
127761
127837
|
/** wantRectIn is in CSS pixels. Output ImageBuffer will be in device pixels.
|
|
127762
|
-
* If wantRect
|
|
127838
|
+
* If wantRect is null, that means "read the entire image".
|
|
127763
127839
|
*/
|
|
127764
127840
|
readImage(wantRectIn, targetSizeIn, flipVertically) {
|
|
127765
127841
|
if (!this.assignDC())
|
|
127766
127842
|
return undefined;
|
|
127767
127843
|
// Determine capture rect and validate
|
|
127768
127844
|
const actualViewRect = this.renderRect; // already has device pixel ratio applied
|
|
127769
|
-
const wantRect =
|
|
127845
|
+
const wantRect = wantRectIn.isNull ? actualViewRect : this.cssViewRectToDeviceViewRect(wantRectIn);
|
|
127770
127846
|
const lowerRight = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Point2d"].create(wantRect.right - 1, wantRect.bottom - 1);
|
|
127771
127847
|
if (!actualViewRect.containsPoint(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Point2d"].create(wantRect.left, wantRect.top)) || !actualViewRect.containsPoint(lowerRight))
|
|
127772
127848
|
return undefined;
|
|
@@ -136061,8 +136137,11 @@ function baseColorFromTextures(textureCount, applyFeatureColor) {
|
|
|
136061
136137
|
for (let i = 0; i < textureCount; i++)
|
|
136062
136138
|
applyTextureStrings.push(`if (applyTexture(col, s_texture${i}, u_texParams${i}, u_texMatrix${i})) doDiscard = false; `);
|
|
136063
136139
|
return `
|
|
136064
|
-
if (!u_texturesPresent)
|
|
136065
|
-
|
|
136140
|
+
if (!u_texturesPresent) {
|
|
136141
|
+
vec4 col = u_baseColor;
|
|
136142
|
+
${applyFeatureColor}
|
|
136143
|
+
return col;
|
|
136144
|
+
}
|
|
136066
136145
|
|
|
136067
136146
|
bool doDiscard = true;
|
|
136068
136147
|
vec4 col = u_baseColor;
|
|
@@ -145334,7 +145413,8 @@ class RealityTreeReference extends RealityModelTileTree.Reference {
|
|
|
145334
145413
|
return div;
|
|
145335
145414
|
}
|
|
145336
145415
|
addLogoCards(cards) {
|
|
145337
|
-
if (this._rdSourceKey.provider === _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["RealityDataProvider"].CesiumIonAsset) {
|
|
145416
|
+
if (this._rdSourceKey.provider === _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["RealityDataProvider"].CesiumIonAsset && !cards.dataset.openStreetMapLogoCard) {
|
|
145417
|
+
cards.dataset.openStreetMapLogoCard = "true";
|
|
145338
145418
|
cards.appendChild(_IModelApp__WEBPACK_IMPORTED_MODULE_4__["IModelApp"].makeLogoCard({ heading: "OpenStreetMap", notice: `©<a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> ${_IModelApp__WEBPACK_IMPORTED_MODULE_4__["IModelApp"].localization.getLocalizedString("iModelJs:BackgroundMap:OpenStreetMapContributors")}` }));
|
|
145339
145419
|
}
|
|
145340
145420
|
}
|
|
@@ -150848,8 +150928,12 @@ class CesiumTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_8__["Terr
|
|
|
150848
150928
|
const mapTile = tile;
|
|
150849
150929
|
return undefined !== this._metaDataAvailableLevel && mapTile.quadId.level === this._metaDataAvailableLevel && !mapTile.everLoaded;
|
|
150850
150930
|
}
|
|
150851
|
-
|
|
150852
|
-
|
|
150931
|
+
addLogoCards(cards) {
|
|
150932
|
+
if (cards.dataset.cesiumIonLogoCard)
|
|
150933
|
+
return;
|
|
150934
|
+
cards.dataset.cesiumIonLogoCard = "true";
|
|
150935
|
+
const card = _IModelApp__WEBPACK_IMPORTED_MODULE_6__["IModelApp"].makeLogoCard({ iconSrc: `${_IModelApp__WEBPACK_IMPORTED_MODULE_6__["IModelApp"].publicPath}images/cesium-ion.svg`, heading: "Cesium Ion", notice: _IModelApp__WEBPACK_IMPORTED_MODULE_6__["IModelApp"].localization.getLocalizedString("iModelJs:BackgroundMap.CesiumWorldTerrainAttribution") });
|
|
150936
|
+
cards.appendChild(card);
|
|
150853
150937
|
}
|
|
150854
150938
|
get maxDepth() { return this._maxDepth; }
|
|
150855
150939
|
get tilingScheme() { return this._tilingScheme; }
|
|
@@ -151394,8 +151478,11 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
151394
151478
|
}
|
|
151395
151479
|
}
|
|
151396
151480
|
}
|
|
151397
|
-
|
|
151398
|
-
|
|
151481
|
+
addLogoCards(cards) {
|
|
151482
|
+
if (!cards.dataset.arcGisLogoCard) {
|
|
151483
|
+
cards.dataset.arcGisLogoCard = "true";
|
|
151484
|
+
cards.appendChild(_IModelApp__WEBPACK_IMPORTED_MODULE_2__["IModelApp"].makeLogoCard({ heading: "ArcGIS", notice: this._copyrightText }));
|
|
151485
|
+
}
|
|
151399
151486
|
}
|
|
151400
151487
|
// Translates the provided Cartographic into a EPSG:3857 point, and retrieve information.
|
|
151401
151488
|
// tolerance is in pixels
|
|
@@ -151560,8 +151647,11 @@ class AzureMapsLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_1
|
|
|
151560
151647
|
return "";
|
|
151561
151648
|
return `${this._settings.url}&${this._settings.accessKey.key}=${this._settings.accessKey.value}&api-version=2.0&zoom=${zoom}&x=${x}&y=${y}`;
|
|
151562
151649
|
}
|
|
151563
|
-
|
|
151564
|
-
|
|
151650
|
+
addLogoCards(cards) {
|
|
151651
|
+
if (!cards.dataset.azureMapsLogoCard) {
|
|
151652
|
+
cards.dataset.azureMapsLogoCard = "true";
|
|
151653
|
+
cards.appendChild(_IModelApp__WEBPACK_IMPORTED_MODULE_0__["IModelApp"].makeLogoCard({ heading: "Azure Maps", notice: _IModelApp__WEBPACK_IMPORTED_MODULE_0__["IModelApp"].localization.getLocalizedString("iModelJs:BackgroundMap.AzureMapsCopyright") }));
|
|
151654
|
+
}
|
|
151565
151655
|
}
|
|
151566
151656
|
}
|
|
151567
151657
|
|
|
@@ -151703,7 +151793,7 @@ class BingMapsImageryLayerProvider extends _internal__WEBPACK_IMPORTED_MODULE_3_
|
|
|
151703
151793
|
}
|
|
151704
151794
|
return matchingAttributions;
|
|
151705
151795
|
}
|
|
151706
|
-
|
|
151796
|
+
addLogoCards(cards, vp) {
|
|
151707
151797
|
var _a;
|
|
151708
151798
|
const tiles = (_a = _IModelApp__WEBPACK_IMPORTED_MODULE_2__["IModelApp"].tileAdmin.getTilesForUser(vp)) === null || _a === void 0 ? void 0 : _a.selected;
|
|
151709
151799
|
const matchingAttributions = this.getMatchingAttributions(tiles);
|
|
@@ -151716,7 +151806,7 @@ class BingMapsImageryLayerProvider extends _internal__WEBPACK_IMPORTED_MODULE_3_
|
|
|
151716
151806
|
copyrightMsg += "<br>";
|
|
151717
151807
|
copyrightMsg += copyrights[i];
|
|
151718
151808
|
}
|
|
151719
|
-
|
|
151809
|
+
cards.appendChild(_IModelApp__WEBPACK_IMPORTED_MODULE_2__["IModelApp"].makeLogoCard({ iconSrc: `${_IModelApp__WEBPACK_IMPORTED_MODULE_2__["IModelApp"].publicPath}images/bing.svg`, heading: "Microsoft Bing", notice: copyrightMsg }));
|
|
151720
151810
|
}
|
|
151721
151811
|
// initializes the BingImageryProvider by reading the templateUrl, logo image, and attribution list.
|
|
151722
151812
|
async initialize() {
|
|
@@ -151815,8 +151905,11 @@ class MapBoxLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_1__[
|
|
|
151815
151905
|
url = url.concat(`?${this._settings.accessKey.key}=${this._settings.accessKey.value}`);
|
|
151816
151906
|
return url;
|
|
151817
151907
|
}
|
|
151818
|
-
|
|
151819
|
-
|
|
151908
|
+
addLogoCards(cards) {
|
|
151909
|
+
if (!cards.dataset.mapboxLogoCard) {
|
|
151910
|
+
cards.dataset.mapboxLogoCard = "true";
|
|
151911
|
+
cards.appendChild(_IModelApp__WEBPACK_IMPORTED_MODULE_0__["IModelApp"].makeLogoCard({ heading: "Mapbox", notice: _IModelApp__WEBPACK_IMPORTED_MODULE_0__["IModelApp"].localization.getLocalizedString("iModelJs:BackgroundMap.MapBoxCopyright") }));
|
|
151912
|
+
}
|
|
151820
151913
|
}
|
|
151821
151914
|
// no initialization needed for MapBoxImageryProvider.
|
|
151822
151915
|
async initialize() { }
|
|
@@ -152361,7 +152454,9 @@ class ImageryMapTileTree extends _internal__WEBPACK_IMPORTED_MODULE_4__["Reality
|
|
|
152361
152454
|
this._rootTile = new ImageryMapTile(params.rootTile, this, rootQuadId, this.getTileRectangle(rootQuadId));
|
|
152362
152455
|
}
|
|
152363
152456
|
get tilingScheme() { return this._imageryLoader.imageryProvider.tilingScheme; }
|
|
152364
|
-
|
|
152457
|
+
addLogoCards(cards, vp) {
|
|
152458
|
+
this._imageryLoader.addLogoCards(cards, vp);
|
|
152459
|
+
}
|
|
152365
152460
|
getTileRectangle(quadId) {
|
|
152366
152461
|
return this.tilingScheme.tileXYToRectangle(quadId.column, quadId.row, quadId.level);
|
|
152367
152462
|
}
|
|
@@ -152394,7 +152489,9 @@ class ImageryTileLoader extends _internal__WEBPACK_IMPORTED_MODULE_4__["RealityT
|
|
|
152394
152489
|
get maxDepth() { return this._imageryProvider.maximumZoomLevel; }
|
|
152395
152490
|
get minDepth() { return this._imageryProvider.minimumZoomLevel; }
|
|
152396
152491
|
get priority() { return _internal__WEBPACK_IMPORTED_MODULE_4__["TileLoadPriority"].Map; }
|
|
152397
|
-
|
|
152492
|
+
addLogoCards(cards, vp) {
|
|
152493
|
+
this._imageryProvider.addLogoCards(cards, vp);
|
|
152494
|
+
}
|
|
152398
152495
|
get maximumScreenSize() { return this._imageryProvider.maximumScreenSize; }
|
|
152399
152496
|
get imageryProvider() { return this._imageryProvider; }
|
|
152400
152497
|
async getToolTip(strings, quadId, carto, tree) { await this._imageryProvider.getToolTip(strings, quadId, carto, tree); }
|
|
@@ -152963,7 +153060,7 @@ class MapLayerImageryProvider {
|
|
|
152963
153060
|
});
|
|
152964
153061
|
}
|
|
152965
153062
|
get tilingScheme() { return this.useGeographicTilingScheme ? this._geographicTilingScheme : this._mercatorTilingScheme; }
|
|
152966
|
-
|
|
153063
|
+
addLogoCards(_cards, _viewport) { }
|
|
152967
153064
|
get transparentBackgroundString() { return this._settings.transparentBackground ? "true" : "false"; }
|
|
152968
153065
|
async _areChildrenAvailable(_tile) { return true; }
|
|
152969
153066
|
getPotentialChildIds(tile) {
|
|
@@ -155135,15 +155232,13 @@ class MapTileTreeReference extends _internal__WEBPACK_IMPORTED_MODULE_6__["TileT
|
|
|
155135
155232
|
/** Add logo cards to logo div. */
|
|
155136
155233
|
addLogoCards(cards, vp) {
|
|
155137
155234
|
const tree = this.treeOwner.tileTree;
|
|
155138
|
-
let logo;
|
|
155139
155235
|
if (tree) {
|
|
155140
|
-
|
|
155141
|
-
cards.appendChild(logo);
|
|
155236
|
+
tree.mapLoader.terrainProvider.addLogoCards(cards, vp);
|
|
155142
155237
|
for (const imageryTreeRef of this._layerTrees) {
|
|
155143
155238
|
if (imageryTreeRef.layerSettings.visible) {
|
|
155144
155239
|
const imageryTree = imageryTreeRef.treeOwner.tileTree;
|
|
155145
|
-
if (imageryTree
|
|
155146
|
-
|
|
155240
|
+
if (imageryTree instanceof _internal__WEBPACK_IMPORTED_MODULE_6__["ImageryMapTileTree"])
|
|
155241
|
+
imageryTree.addLogoCards(cards, vp);
|
|
155147
155242
|
}
|
|
155148
155243
|
}
|
|
155149
155244
|
}
|
|
@@ -155631,7 +155726,7 @@ class TerrainMeshProvider {
|
|
|
155631
155726
|
this._modelId = _modelId;
|
|
155632
155727
|
}
|
|
155633
155728
|
constructUrl(_row, _column, _zoomLevel) { Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(false); return ""; }
|
|
155634
|
-
|
|
155729
|
+
addLogoCards(_cards, _vp) { }
|
|
155635
155730
|
get requestOptions() { return { method: "GET", responseType: "arraybuffer" }; }
|
|
155636
155731
|
async getMesh(_tile, _data) { return undefined; }
|
|
155637
155732
|
forceTileLoad(_tile) { return false; }
|
|
@@ -169713,7 +169808,7 @@ SetupWalkCameraTool.iconSpec = "icon-camera-location";
|
|
|
169713
169808
|
/*! exports provided: name, version, description, main, module, typings, license, scripts, repository, keywords, author, peerDependencies, //devDependencies, devDependencies, //dependencies, dependencies, nyc, eslintConfig, default */
|
|
169714
169809
|
/***/ (function(module) {
|
|
169715
169810
|
|
|
169716
|
-
module.exports = JSON.parse("{\"name\":\"@itwin/core-frontend\",\"version\":\"3.3.0-dev.
|
|
169811
|
+
module.exports = JSON.parse("{\"name\":\"@itwin/core-frontend\",\"version\":\"3.3.0-dev.20\",\"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\",\"build:ci\":\"npm run -s build && npm run -s build:esm\",\"build:cjs\":\"tsc 1>&2 --outDir lib/cjs\",\"build:esm\":\"tsc 1>&2 --module ES2020 --outDir lib/esm\",\"clean\":\"rimraf lib .rush/temp/package-deps*.json\",\"copy:public\":\"cpx \\\"./src/public/**/*\\\" ./lib/public\",\"docs\":\"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/primitives,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts\",\"extract-api\":\"betools extract-api --entry=core-frontend && npm run extract-extension-api\",\"extract-extension-api\":\"eslint --no-eslintrc -c \\\"../../tools/eslint-plugin/dist/configs/extension-exports-config.js\\\" \\\"./src/**/*.ts\\\" 1>&2\",\"lint\":\"eslint -f visualstudio \\\"./src/**/*.ts\\\" 1>&2\",\"pseudolocalize\":\"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO\",\"test\":\"npm run -s webpackTests && certa -r chrome\",\"cover\":\"npm -s test\",\"test:debug\":\"certa -r chrome --debug\",\"webpackTests\":\"webpack --config ./src/test/utils/webpack.config.js 1>&2\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/iTwin/itwinjs-core/tree/master/core/frontend\"},\"keywords\":[\"Bentley\",\"BIM\",\"iModel\",\"digital-twin\",\"iTwin\"],\"author\":{\"name\":\"Bentley Systems, Inc.\",\"url\":\"http://www.bentley.com\"},\"peerDependencies\":{\"@itwin/appui-abstract\":\"workspace:^3.3.0-dev.20\",\"@itwin/core-bentley\":\"workspace:^3.3.0-dev.20\",\"@itwin/core-common\":\"workspace:^3.3.0-dev.20\",\"@itwin/core-geometry\":\"workspace:^3.3.0-dev.20\",\"@itwin/core-orbitgt\":\"workspace:^3.3.0-dev.20\",\"@itwin/core-quantity\":\"workspace:^3.3.0-dev.20\",\"@itwin/webgl-compatibility\":\"workspace:^3.3.0-dev.20\"},\"//devDependencies\":[\"NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install\",\"NOTE: All tools used by scripts in this package must be listed as devDependencies\"],\"devDependencies\":{\"@itwin/appui-abstract\":\"workspace:*\",\"@itwin/build-tools\":\"workspace:*\",\"@itwin/core-bentley\":\"workspace:*\",\"@itwin/core-common\":\"workspace:*\",\"@itwin/core-geometry\":\"workspace:*\",\"@itwin/core-orbitgt\":\"workspace:*\",\"@itwin/core-quantity\":\"workspace:*\",\"@itwin/certa\":\"workspace:*\",\"@itwin/eslint-plugin\":\"workspace:*\",\"@itwin/webgl-compatibility\":\"workspace:*\",\"@types/chai\":\"^4.1.4\",\"@types/chai-as-promised\":\"^7\",\"@types/deep-assign\":\"^0.1.0\",\"@types/lodash\":\"^4.14.0\",\"@types/mocha\":\"^8.2.2\",\"@types/node\":\"16.11.7\",\"@types/qs\":\"^6.5.0\",\"@types/semver\":\"^5.5.0\",\"@types/superagent\":\"^4.1.14\",\"@types/sinon\":\"^9.0.0\",\"chai\":\"^4.1.2\",\"chai-as-promised\":\"^7\",\"cpx2\":\"^3.0.0\",\"eslint\":\"^7.11.0\",\"glob\":\"^7.1.2\",\"mocha\":\"^10.0.0\",\"nyc\":\"^15.1.0\",\"rimraf\":\"^3.0.2\",\"sinon\":\"^9.0.2\",\"source-map-loader\":\"^1.0.0\",\"typescript\":\"~4.4.0\",\"webpack\":\"4.42.0\"},\"//dependencies\":[\"NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API\",\"NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed\"],\"dependencies\":{\"@itwin/core-i18n\":\"workspace:*\",\"@itwin/core-telemetry\":\"workspace:*\",\"@loaders.gl/core\":\"^3.1.6\",\"@loaders.gl/draco\":\"^3.1.6\",\"deep-assign\":\"^2.0.0\",\"fuse.js\":\"^3.3.0\",\"lodash\":\"^4.17.10\",\"qs\":\"^6.5.1\",\"semver\":\"^5.5.0\",\"superagent\":\"^7.0.1\",\"wms-capabilities\":\"0.4.0\",\"xml-js\":\"~1.6.11\"},\"nyc\":{\"extends\":\"./node_modules/@itwin/build-tools/.nycrc\"},\"eslintConfig\":{\"plugins\":[\"@itwin\"],\"extends\":\"plugin:@itwin/itwinjs-recommended\",\"rules\":{\"@itwin/no-internal-barrel-imports\":[\"error\",{\"required-barrel-modules\":[\"./src/tile/internal.ts\"]}],\"@itwin/public-extension-exports\":[\"error\",{\"releaseTags\":[\"public\",\"preview\"],\"outputApiFile\":false}]},\"overrides\":[{\"files\":[\"*.test.ts\",\"*.test.tsx\",\"**/test/**/*.ts\"],\"rules\":{\"@itwin/no-internal-barrel-imports\":\"off\"}}]}}");
|
|
169717
169812
|
|
|
169718
169813
|
/***/ }),
|
|
169719
169814
|
|
|
@@ -267905,6 +268000,7 @@ const buggyIntelMatchers = [
|
|
|
267905
268000
|
// Regexes to match Mali GPUs known to suffer from GraphicsDriverBugs.msaaWillHang.
|
|
267906
268001
|
const buggyMaliMatchers = [
|
|
267907
268002
|
/Mali-G71/,
|
|
268003
|
+
/Mali-G72/,
|
|
267908
268004
|
/Mali-G76/,
|
|
267909
268005
|
];
|
|
267910
268006
|
// Regexes to match as many Intel integrated GPUs as possible.
|
|
@@ -268094,7 +268190,8 @@ class Capabilities {
|
|
|
268094
268190
|
&& !_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["ProcessDetector"].isIOSBrowser
|
|
268095
268191
|
// Samsung Galaxy Note 8 exhibits same issue as described above for iOS >= 15.
|
|
268096
268192
|
// It uses specifically Mali-G71 MP20 but reports its renderer as follows.
|
|
268097
|
-
|
|
268193
|
+
// Samsung Galaxy A50 and S9 exhibits same issue; they use Mali-G72.
|
|
268194
|
+
&& unmaskedRenderer !== "Mali-G71" && unmaskedRenderer !== "Mali-G72";
|
|
268098
268195
|
if (allowFloatRender && undefined !== this.queryExtensionObject("EXT_float_blend") && this.isTextureRenderable(gl, gl.FLOAT)) {
|
|
268099
268196
|
this._maxRenderType = RenderType.TextureFloat;
|
|
268100
268197
|
}
|
|
@@ -283163,7 +283260,7 @@ class TestContext {
|
|
|
283163
283260
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
283164
283261
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${(_a = process.env.IMJS_URL_PREFIX) !== null && _a !== void 0 ? _a : ""}api.bentley.com/imodels` } });
|
|
283165
283262
|
await core_frontend_1.NoRenderApp.startup({
|
|
283166
|
-
applicationVersion: "3.3.0-dev.
|
|
283263
|
+
applicationVersion: "3.3.0-dev.20",
|
|
283167
283264
|
applicationId: this.settings.gprid,
|
|
283168
283265
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
283169
283266
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|