@itwin/ecschema-rpcinterface-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 +408 -302
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +17 -17
|
@@ -70496,9 +70496,11 @@ DevToolsRpcInterface.interfaceVersion = "0.6.0";
|
|
|
70496
70496
|
__webpack_require__.r(__webpack_exports__);
|
|
70497
70497
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IModelNotFoundResponse", function() { return IModelNotFoundResponse; });
|
|
70498
70498
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IModelReadRpcInterface", function() { return IModelReadRpcInterface; });
|
|
70499
|
-
/* harmony import */ var
|
|
70500
|
-
/* harmony import */ var
|
|
70501
|
-
/* harmony import */ var
|
|
70499
|
+
/* harmony import */ var _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core/RpcConstants */ "../../core/common/lib/esm/rpc/core/RpcConstants.js");
|
|
70500
|
+
/* harmony import */ var _core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./core/RpcOperation */ "../../core/common/lib/esm/rpc/core/RpcOperation.js");
|
|
70501
|
+
/* harmony import */ var _RpcInterface__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../RpcInterface */ "../../core/common/lib/esm/RpcInterface.js");
|
|
70502
|
+
/* harmony import */ var _RpcManager__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../RpcManager */ "../../core/common/lib/esm/RpcManager.js");
|
|
70503
|
+
/* harmony import */ var _core_RpcControl__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./core/RpcControl */ "../../core/common/lib/esm/rpc/core/RpcControl.js");
|
|
70502
70504
|
/*---------------------------------------------------------------------------------------------
|
|
70503
70505
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
70504
70506
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -70506,6 +70508,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
70506
70508
|
/** @packageDocumentation
|
|
70507
70509
|
* @module RpcInterface
|
|
70508
70510
|
*/
|
|
70511
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
70512
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
70513
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
70514
|
+
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;
|
|
70515
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
70516
|
+
};
|
|
70517
|
+
|
|
70518
|
+
|
|
70509
70519
|
|
|
70510
70520
|
|
|
70511
70521
|
|
|
@@ -70513,7 +70523,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
70513
70523
|
* (if the service has moved)
|
|
70514
70524
|
* @public
|
|
70515
70525
|
*/
|
|
70516
|
-
class IModelNotFoundResponse extends
|
|
70526
|
+
class IModelNotFoundResponse extends _core_RpcControl__WEBPACK_IMPORTED_MODULE_4__["RpcNotFoundResponse"] {
|
|
70517
70527
|
constructor() {
|
|
70518
70528
|
super(...arguments);
|
|
70519
70529
|
this.isIModelNotFoundResponse = true;
|
|
@@ -70524,11 +70534,11 @@ class IModelNotFoundResponse extends _core_RpcControl__WEBPACK_IMPORTED_MODULE_2
|
|
|
70524
70534
|
* This interface is not normally used directly. See IModelConnection for higher-level and more convenient API for accessing iModels from a frontend.
|
|
70525
70535
|
* @internal
|
|
70526
70536
|
*/
|
|
70527
|
-
class IModelReadRpcInterface extends
|
|
70537
|
+
class IModelReadRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_2__["RpcInterface"] {
|
|
70528
70538
|
/** Returns the IModelReadRpcInterface instance for the frontend. */
|
|
70529
|
-
static getClient() { return
|
|
70539
|
+
static getClient() { return _RpcManager__WEBPACK_IMPORTED_MODULE_3__["RpcManager"].getClientForInterface(IModelReadRpcInterface); }
|
|
70530
70540
|
/** Returns the IModelReadRpcInterface instance for a custom RPC routing configuration. */
|
|
70531
|
-
static getClientForRouting(token) { return
|
|
70541
|
+
static getClientForRouting(token) { return _RpcManager__WEBPACK_IMPORTED_MODULE_3__["RpcManager"].getClientForInterface(IModelReadRpcInterface, token); }
|
|
70532
70542
|
/*===========================================================================================
|
|
70533
70543
|
NOTE: Any add/remove/change to the methods below requires an update of the interface version.
|
|
70534
70544
|
NOTE: Please consult the README in this folder for the semantic versioning rules.
|
|
@@ -70568,7 +70578,31 @@ class IModelReadRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_0__[
|
|
|
70568
70578
|
/** The immutable name of the interface. */
|
|
70569
70579
|
IModelReadRpcInterface.interfaceName = "IModelReadRpcInterface";
|
|
70570
70580
|
/** The semantic version of the interface. */
|
|
70571
|
-
IModelReadRpcInterface.interfaceVersion = "3.
|
|
70581
|
+
IModelReadRpcInterface.interfaceVersion = "3.2.0";
|
|
70582
|
+
__decorate([
|
|
70583
|
+
_core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__["RpcOperation"].allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__["RpcResponseCacheControl"].Immutable)
|
|
70584
|
+
], IModelReadRpcInterface.prototype, "getConnectionProps", null);
|
|
70585
|
+
__decorate([
|
|
70586
|
+
_core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__["RpcOperation"].allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__["RpcResponseCacheControl"].Immutable)
|
|
70587
|
+
], IModelReadRpcInterface.prototype, "queryModelRanges", null);
|
|
70588
|
+
__decorate([
|
|
70589
|
+
_core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__["RpcOperation"].allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__["RpcResponseCacheControl"].Immutable)
|
|
70590
|
+
], IModelReadRpcInterface.prototype, "getClassHierarchy", null);
|
|
70591
|
+
__decorate([
|
|
70592
|
+
_core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__["RpcOperation"].allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__["RpcResponseCacheControl"].Immutable)
|
|
70593
|
+
], IModelReadRpcInterface.prototype, "getViewStateData", null);
|
|
70594
|
+
__decorate([
|
|
70595
|
+
_core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__["RpcOperation"].allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__["RpcResponseCacheControl"].Immutable)
|
|
70596
|
+
], IModelReadRpcInterface.prototype, "getDefaultViewId", null);
|
|
70597
|
+
__decorate([
|
|
70598
|
+
_core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__["RpcOperation"].allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__["RpcResponseCacheControl"].Immutable)
|
|
70599
|
+
], IModelReadRpcInterface.prototype, "getCustomViewState3dData", null);
|
|
70600
|
+
__decorate([
|
|
70601
|
+
_core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__["RpcOperation"].allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__["RpcResponseCacheControl"].Immutable)
|
|
70602
|
+
], IModelReadRpcInterface.prototype, "hydrateViewState", null);
|
|
70603
|
+
__decorate([
|
|
70604
|
+
_core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__["RpcOperation"].allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__["RpcResponseCacheControl"].Immutable)
|
|
70605
|
+
], IModelReadRpcInterface.prototype, "getGeoCoordinatesFromIModelCoordinates", null);
|
|
70572
70606
|
|
|
70573
70607
|
|
|
70574
70608
|
/***/ }),
|
|
@@ -70583,8 +70617,10 @@ IModelReadRpcInterface.interfaceVersion = "3.1.0";
|
|
|
70583
70617
|
"use strict";
|
|
70584
70618
|
__webpack_require__.r(__webpack_exports__);
|
|
70585
70619
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IModelTileRpcInterface", function() { return IModelTileRpcInterface; });
|
|
70586
|
-
/* harmony import */ var
|
|
70587
|
-
/* harmony import */ var
|
|
70620
|
+
/* harmony import */ var _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core/RpcConstants */ "../../core/common/lib/esm/rpc/core/RpcConstants.js");
|
|
70621
|
+
/* harmony import */ var _core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./core/RpcOperation */ "../../core/common/lib/esm/rpc/core/RpcOperation.js");
|
|
70622
|
+
/* harmony import */ var _RpcInterface__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../RpcInterface */ "../../core/common/lib/esm/RpcInterface.js");
|
|
70623
|
+
/* harmony import */ var _RpcManager__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../RpcManager */ "../../core/common/lib/esm/RpcManager.js");
|
|
70588
70624
|
/*---------------------------------------------------------------------------------------------
|
|
70589
70625
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
70590
70626
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -70592,11 +70628,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
70592
70628
|
/** @packageDocumentation
|
|
70593
70629
|
* @module RpcInterface
|
|
70594
70630
|
*/
|
|
70631
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
70632
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
70633
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
70634
|
+
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;
|
|
70635
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
70636
|
+
};
|
|
70637
|
+
|
|
70638
|
+
|
|
70595
70639
|
|
|
70596
70640
|
|
|
70597
70641
|
/** @public */
|
|
70598
|
-
class IModelTileRpcInterface extends
|
|
70599
|
-
static getClient() { return
|
|
70642
|
+
class IModelTileRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_2__["RpcInterface"] {
|
|
70643
|
+
static getClient() { return _RpcManager__WEBPACK_IMPORTED_MODULE_3__["RpcManager"].getClientForInterface(IModelTileRpcInterface); }
|
|
70600
70644
|
/*===========================================================================================
|
|
70601
70645
|
NOTE: Any add/remove/change to the methods below requires an update of the interface version.
|
|
70602
70646
|
NOTE: Please consult the README in this folder for the semantic versioning rules.
|
|
@@ -70652,7 +70696,13 @@ class IModelTileRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_0__[
|
|
|
70652
70696
|
/** The immutable name of the interface. */
|
|
70653
70697
|
IModelTileRpcInterface.interfaceName = "IModelTileRpcInterface";
|
|
70654
70698
|
/** The semantic version of the interface. */
|
|
70655
|
-
IModelTileRpcInterface.interfaceVersion = "3.
|
|
70699
|
+
IModelTileRpcInterface.interfaceVersion = "3.1.0";
|
|
70700
|
+
__decorate([
|
|
70701
|
+
_core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__["RpcOperation"].allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__["RpcResponseCacheControl"].Immutable)
|
|
70702
|
+
], IModelTileRpcInterface.prototype, "getTileCacheContainerUrl", null);
|
|
70703
|
+
__decorate([
|
|
70704
|
+
_core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__["RpcOperation"].allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__["RpcResponseCacheControl"].Immutable)
|
|
70705
|
+
], IModelTileRpcInterface.prototype, "requestTileTreeProps", null);
|
|
70656
70706
|
|
|
70657
70707
|
|
|
70658
70708
|
/***/ }),
|
|
@@ -72098,6 +72148,8 @@ class RpcProtocol {
|
|
|
72098
72148
|
async fulfill(request) {
|
|
72099
72149
|
return new (this.invocationType)(this, request).fulfillment;
|
|
72100
72150
|
}
|
|
72151
|
+
/** @internal */
|
|
72152
|
+
async initialize(_token) { }
|
|
72101
72153
|
/** Serializes a request. */
|
|
72102
72154
|
async serialize(request) {
|
|
72103
72155
|
const serializedContext = await _RpcConfiguration__WEBPACK_IMPORTED_MODULE_1__["RpcConfiguration"].requestContext.serialize(request);
|
|
@@ -72712,6 +72764,7 @@ class RpcRequest {
|
|
|
72712
72764
|
this._connecting = true;
|
|
72713
72765
|
RpcRequest._activeRequests.set(this.id, this);
|
|
72714
72766
|
this.protocol.events.raiseEvent(_RpcConstants__WEBPACK_IMPORTED_MODULE_3__["RpcProtocolEvent"].RequestCreated, this);
|
|
72767
|
+
await this.protocol.initialize(this.operation.policy.token(this));
|
|
72715
72768
|
this._sending = new Cancellable(this.setHeaders().then(async () => this.send()));
|
|
72716
72769
|
this.operation.policy.sentCallback(this);
|
|
72717
72770
|
const response = await this._sending.promise;
|
|
@@ -73601,8 +73654,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
73601
73654
|
|
|
73602
73655
|
|
|
73603
73656
|
class InitializeInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_8__["RpcInterface"] {
|
|
73604
|
-
async initialize() { return this.forward(arguments); }
|
|
73605
|
-
static createRequest(protocol) {
|
|
73657
|
+
async initialize(_token) { return this.forward(arguments); }
|
|
73658
|
+
static createRequest(protocol, token) {
|
|
73606
73659
|
const routing = _core_RpcRoutingToken__WEBPACK_IMPORTED_MODULE_10__["RpcRoutingToken"].generate();
|
|
73607
73660
|
const config = class extends _core_RpcConfiguration__WEBPACK_IMPORTED_MODULE_1__["RpcConfiguration"] {
|
|
73608
73661
|
constructor() {
|
|
@@ -73615,7 +73668,7 @@ class InitializeInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_8__["Rp
|
|
|
73615
73668
|
const instance = _core_RpcConfiguration__WEBPACK_IMPORTED_MODULE_1__["RpcConfiguration"].obtain(config);
|
|
73616
73669
|
_core_RpcConfiguration__WEBPACK_IMPORTED_MODULE_1__["RpcConfiguration"].initializeInterfaces(instance);
|
|
73617
73670
|
const client = _RpcManager__WEBPACK_IMPORTED_MODULE_9__["RpcManager"].getClientForInterface(InitializeInterface, routing);
|
|
73618
|
-
return new (protocol.requestType)(client, "initialize", []);
|
|
73671
|
+
return new (protocol.requestType)(client, "initialize", [token]);
|
|
73619
73672
|
}
|
|
73620
73673
|
}
|
|
73621
73674
|
InitializeInterface.interfaceName = "InitializeInterface";
|
|
@@ -73638,13 +73691,13 @@ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_3__["
|
|
|
73638
73691
|
this.events.addListener(_WebAppRpcLogging__WEBPACK_IMPORTED_MODULE_5__["WebAppRpcLogging"].logProtocolEvent);
|
|
73639
73692
|
}
|
|
73640
73693
|
/** @internal */
|
|
73641
|
-
async initialize() {
|
|
73694
|
+
async initialize(token) {
|
|
73642
73695
|
if (this._initialized) {
|
|
73643
73696
|
return this._initialized;
|
|
73644
73697
|
}
|
|
73645
73698
|
return this._initialized = new Promise(async (resolve) => {
|
|
73646
73699
|
try {
|
|
73647
|
-
const request = InitializeInterface.createRequest(this);
|
|
73700
|
+
const request = InitializeInterface.createRequest(this, token);
|
|
73648
73701
|
const response = await request.preflight();
|
|
73649
73702
|
if (response && response.ok) {
|
|
73650
73703
|
(response.headers.get("Access-Control-Allow-Headers") || "").split(",").forEach((v) => this.allowedHeaders.add(v.trim()));
|
|
@@ -73901,9 +73954,6 @@ class WebAppRpcRequest extends _core_RpcRequest__WEBPACK_IMPORTED_MODULE_6__["Rp
|
|
|
73901
73954
|
}
|
|
73902
73955
|
/** Sends the request. */
|
|
73903
73956
|
async send() {
|
|
73904
|
-
if (this.method !== "options") {
|
|
73905
|
-
await this.protocol.initialize();
|
|
73906
|
-
}
|
|
73907
73957
|
this._loading = true;
|
|
73908
73958
|
await this.setupTransport();
|
|
73909
73959
|
return new Promise(async (resolve, reject) => {
|
|
@@ -73990,8 +74040,29 @@ class WebAppRpcRequest extends _core_RpcRequest__WEBPACK_IMPORTED_MODULE_6__["Rp
|
|
|
73990
74040
|
}
|
|
73991
74041
|
static configureResponse(protocol, request, fulfillment, res) {
|
|
73992
74042
|
const success = protocol.getStatus(fulfillment.status) === _core_RpcConstants__WEBPACK_IMPORTED_MODULE_3__["RpcRequestStatus"].Resolved;
|
|
74043
|
+
// TODO: Use stale-while-revalidate in cache headers. This needs to be tested, and does not currently have support in the router/caching-service.
|
|
74044
|
+
// This will allow browsers to use stale cached responses while also revalidating with the router, allowing us to start up a backend if necessary.
|
|
74045
|
+
// RPC Caching Service uses the s-maxage header to determine the TTL for the redis cache.
|
|
74046
|
+
const oneHourInSeconds = 3600;
|
|
73993
74047
|
if (success && request.caching === _core_RpcConstants__WEBPACK_IMPORTED_MODULE_3__["RpcResponseCacheControl"].Immutable) {
|
|
73994
|
-
|
|
74048
|
+
// If response size is > 50 MB, do not cache it.
|
|
74049
|
+
if (fulfillment.result.objects.length > (50 * 10 ** 7)) {
|
|
74050
|
+
res.set("Cache-Control", "no-store");
|
|
74051
|
+
}
|
|
74052
|
+
else if (request.operation.operationName === "generateTileContent") {
|
|
74053
|
+
res.set("Cache-Control", "no-store");
|
|
74054
|
+
}
|
|
74055
|
+
else if (request.operation.operationName === "getConnectionProps") {
|
|
74056
|
+
// 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.
|
|
74057
|
+
res.set("Cache-Control", `s-maxage=${oneHourInSeconds * 24}, max-age=1, immutable`);
|
|
74058
|
+
}
|
|
74059
|
+
else if (request.operation.operationName === "getTileCacheContainerUrl") {
|
|
74060
|
+
// getTileCacheContainerUrl returns a SAS with an expiry of 23:59:59. We can't exceed that time when setting the max-age.
|
|
74061
|
+
res.set("Cache-Control", `s-maxage=${oneHourInSeconds * 23}, max-age=${oneHourInSeconds * 23}, immutable`);
|
|
74062
|
+
}
|
|
74063
|
+
else {
|
|
74064
|
+
res.set("Cache-Control", `s-maxage=${oneHourInSeconds * 24}, max-age=${oneHourInSeconds * 48}, immutable`);
|
|
74065
|
+
}
|
|
73995
74066
|
}
|
|
73996
74067
|
if (fulfillment.retry) {
|
|
73997
74068
|
res.set("Retry-After", fulfillment.retry);
|
|
@@ -74112,9 +74183,11 @@ class WebAppRpcRequest extends _core_RpcRequest__WEBPACK_IMPORTED_MODULE_6__["Rp
|
|
|
74112
74183
|
}
|
|
74113
74184
|
}
|
|
74114
74185
|
/** The maximum size permitted for an encoded component in a URL.
|
|
74186
|
+
* Note that some backends limit the total cumulative request size. Our current node backends accept requests with a max size of 16 kb.
|
|
74187
|
+
* In addition to the url size, an authorization header may also add considerably to the request size.
|
|
74115
74188
|
* @note This is used for features like encoding the payload of a cacheable request in the URL.
|
|
74116
74189
|
*/
|
|
74117
|
-
WebAppRpcRequest.maxUrlComponentSize =
|
|
74190
|
+
WebAppRpcRequest.maxUrlComponentSize = 1024 * 8;
|
|
74118
74191
|
|
|
74119
74192
|
|
|
74120
74193
|
/***/ }),
|
|
@@ -85213,6 +85286,12 @@ exports.SchemaGraph = SchemaGraph;
|
|
|
85213
85286
|
|
|
85214
85287
|
"use strict";
|
|
85215
85288
|
|
|
85289
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
85290
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
85291
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
85292
|
+
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;
|
|
85293
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
85294
|
+
};
|
|
85216
85295
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
85217
85296
|
exports.ECSchemaRpcInterface = void 0;
|
|
85218
85297
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -85254,11 +85333,14 @@ class ECSchemaRpcInterface extends core_common_1.RpcInterface {
|
|
|
85254
85333
|
return this.forward.apply(this, [arguments]);
|
|
85255
85334
|
}
|
|
85256
85335
|
}
|
|
85257
|
-
exports.ECSchemaRpcInterface = ECSchemaRpcInterface;
|
|
85258
85336
|
/** The version of the RPC Interface. */
|
|
85259
85337
|
ECSchemaRpcInterface.version = "2.0.0";
|
|
85260
85338
|
ECSchemaRpcInterface.interfaceName = "ECSchemaRpcInterface";
|
|
85261
85339
|
ECSchemaRpcInterface.interfaceVersion = ECSchemaRpcInterface.version;
|
|
85340
|
+
__decorate([
|
|
85341
|
+
core_common_1.RpcOperation.setPolicy({ allowResponseCompression: true })
|
|
85342
|
+
], ECSchemaRpcInterface.prototype, "getSchemaJSON", null);
|
|
85343
|
+
exports.ECSchemaRpcInterface = ECSchemaRpcInterface;
|
|
85262
85344
|
|
|
85263
85345
|
|
|
85264
85346
|
/***/ }),
|
|
@@ -88897,56 +88979,63 @@ class AccuSnap {
|
|
|
88897
88979
|
return undefined; // Don't make back end request when only doing intersection snap when we don't have another hit to intersect with...
|
|
88898
88980
|
}
|
|
88899
88981
|
}
|
|
88900
|
-
|
|
88901
|
-
|
|
88902
|
-
out
|
|
88903
|
-
|
|
88904
|
-
|
|
88905
|
-
|
|
88906
|
-
const
|
|
88907
|
-
|
|
88908
|
-
|
|
88909
|
-
|
|
88910
|
-
|
|
88911
|
-
|
|
88912
|
-
|
|
88913
|
-
|
|
88914
|
-
|
|
88915
|
-
|
|
88916
|
-
|
|
88917
|
-
|
|
88918
|
-
|
|
88919
|
-
|
|
88920
|
-
|
|
88921
|
-
|
|
88922
|
-
|
|
88923
|
-
|
|
88924
|
-
|
|
88925
|
-
|
|
88926
|
-
|
|
88927
|
-
|
|
88928
|
-
|
|
88929
|
-
|
|
88930
|
-
|
|
88931
|
-
|
|
88932
|
-
|
|
88933
|
-
|
|
88934
|
-
|
|
88935
|
-
|
|
88936
|
-
|
|
88937
|
-
|
|
88938
|
-
|
|
88939
|
-
|
|
88940
|
-
|
|
88941
|
-
|
|
88942
|
-
|
|
88943
|
-
|
|
88944
|
-
|
|
88945
|
-
|
|
88946
|
-
|
|
88982
|
+
try {
|
|
88983
|
+
const result = await thisHit.iModel.requestSnap(requestProps);
|
|
88984
|
+
if (out)
|
|
88985
|
+
out.snapStatus = result.status;
|
|
88986
|
+
if (result.status !== _ElementLocateManager__WEBPACK_IMPORTED_MODULE_2__["SnapStatus"].Success)
|
|
88987
|
+
return undefined;
|
|
88988
|
+
const parseCurve = (json) => {
|
|
88989
|
+
const parsed = undefined !== json ? _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["IModelJson"].Reader.parse(json) : undefined;
|
|
88990
|
+
return parsed instanceof _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["GeometryQuery"] && "curvePrimitive" === parsed.geometryCategory ? parsed : undefined;
|
|
88991
|
+
};
|
|
88992
|
+
// If this hit is from a plan projection model, apply the model's elevation to the snap point for display.
|
|
88993
|
+
// Likewise, if it is a hit on a model with a display transform, apply the model's transform to the snap point.
|
|
88994
|
+
let snapPoint = result.snapPoint;
|
|
88995
|
+
const elevation = undefined !== thisHit.modelId ? thisHit.viewport.view.getModelElevation(thisHit.modelId) : 0;
|
|
88996
|
+
if (0 !== elevation || undefined !== thisHit.viewport.view.modelDisplayTransformProvider) {
|
|
88997
|
+
const adjustedSnapPoint = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Point3d"].fromJSON(snapPoint);
|
|
88998
|
+
thisHit.viewport.view.transformPointByModelDisplayTransform(thisHit.modelId, adjustedSnapPoint, false);
|
|
88999
|
+
adjustedSnapPoint.z += elevation;
|
|
89000
|
+
snapPoint = adjustedSnapPoint;
|
|
89001
|
+
}
|
|
89002
|
+
const snap = new _HitDetail__WEBPACK_IMPORTED_MODULE_3__["SnapDetail"](thisHit, result.snapMode, result.heat, snapPoint);
|
|
89003
|
+
// Apply model's elevation and display transform to curve for display.
|
|
89004
|
+
let transform;
|
|
89005
|
+
if (undefined !== thisHit.modelId && undefined !== thisHit.viewport.view.modelDisplayTransformProvider) {
|
|
89006
|
+
transform = thisHit.viewport.view.getModelDisplayTransform(thisHit.modelId, _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Transform"].createIdentity());
|
|
89007
|
+
if (0 !== elevation)
|
|
89008
|
+
transform.origin.set(0, 0, elevation);
|
|
89009
|
+
}
|
|
89010
|
+
else if (0 !== elevation) {
|
|
89011
|
+
transform = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Transform"].createTranslationXYZ(0, 0, elevation);
|
|
89012
|
+
}
|
|
89013
|
+
snap.setCurvePrimitive(parseCurve(result.curve), transform, result.geomType);
|
|
89014
|
+
if (undefined !== result.parentGeomType)
|
|
89015
|
+
snap.parentGeomType = result.parentGeomType;
|
|
89016
|
+
if (undefined !== result.hitPoint) {
|
|
89017
|
+
snap.hitPoint.setFromJSON(result.hitPoint); // Update hitPoint from readPixels with exact point location corrected to surface/edge geometry...
|
|
89018
|
+
thisHit.viewport.view.transformPointByModelDisplayTransform(thisHit.modelId, snap.hitPoint, false);
|
|
89019
|
+
}
|
|
89020
|
+
if (undefined !== result.normal) {
|
|
89021
|
+
snap.normal = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Vector3d"].fromJSON(result.normal);
|
|
89022
|
+
thisHit.viewport.view.transformNormalByModelDisplayTransform(thisHit.modelId, snap.normal);
|
|
89023
|
+
}
|
|
89024
|
+
if (_HitDetail__WEBPACK_IMPORTED_MODULE_3__["SnapMode"].Intersection !== snap.snapMode)
|
|
89025
|
+
return snap;
|
|
89026
|
+
if (undefined === result.intersectId)
|
|
89027
|
+
return undefined;
|
|
89028
|
+
const otherPrimitive = parseCurve(result.intersectCurve);
|
|
89029
|
+
if (undefined === otherPrimitive)
|
|
89030
|
+
return undefined;
|
|
89031
|
+
const intersect = new _HitDetail__WEBPACK_IMPORTED_MODULE_3__["IntersectDetail"](snap, snap.heat, snap.snapPoint, otherPrimitive, result.intersectId);
|
|
89032
|
+
return intersect;
|
|
89033
|
+
}
|
|
89034
|
+
catch (_err) {
|
|
89035
|
+
if (out)
|
|
89036
|
+
out.snapStatus = _ElementLocateManager__WEBPACK_IMPORTED_MODULE_2__["SnapStatus"].Aborted;
|
|
88947
89037
|
return undefined;
|
|
88948
|
-
|
|
88949
|
-
return intersect;
|
|
89038
|
+
}
|
|
88950
89039
|
}
|
|
88951
89040
|
async getAccuSnapDetail(hitList, out) {
|
|
88952
89041
|
const thisHit = hitList.getNextHit();
|
|
@@ -95867,7 +95956,7 @@ class IModelApp {
|
|
|
95867
95956
|
applicationId: this.applicationId,
|
|
95868
95957
|
applicationVersion: this.applicationVersion,
|
|
95869
95958
|
sessionId: this.sessionId,
|
|
95870
|
-
authorization: await this.getAccessToken(),
|
|
95959
|
+
authorization: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_2__["ProcessDetector"].isMobileAppFrontend ? "" : await this.getAccessToken(),
|
|
95871
95960
|
};
|
|
95872
95961
|
const csrf = IModelApp.securityOptions.csrfProtection;
|
|
95873
95962
|
if (csrf && csrf.enabled) {
|
|
@@ -104448,27 +104537,31 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
104448
104537
|
/** @packageDocumentation
|
|
104449
104538
|
* @module Views
|
|
104450
104539
|
*/
|
|
104451
|
-
/** A rectangle in integer view coordinates with (0,0) corresponding to the top-left corner of the view.
|
|
104452
|
-
*
|
|
104540
|
+
/** A rectangle in unsigned integer view coordinates with (0,0) corresponding to the top-left corner of the view.
|
|
104453
104541
|
* Increasing **x** moves from left to right, and increasing **y** moves from top to bottom.
|
|
104542
|
+
* [[left]], [[top]], [[right]], and [[bottom]] are required to be non-negative integers; any negative inputs are treated as
|
|
104543
|
+
* zero and any non-integer inputs are rounded down to the nearest integer.
|
|
104454
104544
|
* @public
|
|
104455
104545
|
* @extensions
|
|
104456
104546
|
*/
|
|
104457
104547
|
class ViewRect {
|
|
104458
104548
|
/** Construct a new ViewRect. */
|
|
104459
104549
|
constructor(left = 0, top = 0, right = 0, bottom = 0) { this.init(left, top, right, bottom); }
|
|
104460
|
-
|
|
104550
|
+
_set(key, value) {
|
|
104551
|
+
this[key] = Math.max(0, Math.floor(value));
|
|
104552
|
+
}
|
|
104553
|
+
/** The leftmost side of this ViewRect. */
|
|
104461
104554
|
get left() { return this._left; }
|
|
104462
|
-
set left(val) { this._left
|
|
104555
|
+
set left(val) { this._set("_left", val); }
|
|
104463
104556
|
/** The topmost side of this ViewRect. */
|
|
104464
104557
|
get top() { return this._top; }
|
|
104465
|
-
set top(val) { this._top
|
|
104558
|
+
set top(val) { this._set("_top", val); }
|
|
104466
104559
|
/** The rightmost side of this ViewRect. */
|
|
104467
104560
|
get right() { return this._right; }
|
|
104468
|
-
set right(val) { this._right
|
|
104561
|
+
set right(val) { this._set("_right", val); }
|
|
104469
104562
|
/** The bottommost side of this ViewRect. */
|
|
104470
104563
|
get bottom() { return this._bottom; }
|
|
104471
|
-
set bottom(val) { this._bottom
|
|
104564
|
+
set bottom(val) { this._set("_bottom", val); }
|
|
104472
104565
|
/** True if this ViewRect has an area > 0. */
|
|
104473
104566
|
get isNull() { return this.right <= this.left || this.bottom <= this.top; }
|
|
104474
104567
|
/** True if `!isNull` */
|
|
@@ -108909,7 +109002,7 @@ class Viewport {
|
|
|
108909
109002
|
return false; // Reality Models not selectable
|
|
108910
109003
|
return undefined === this.mapLayerFromIds(pixel.featureTable.modelId, pixel.elementId); // Maps no selectable.
|
|
108911
109004
|
}
|
|
108912
|
-
/** Read the current image from this viewport from the rendering system. If a
|
|
109005
|
+
/** 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.
|
|
108913
109006
|
* @param rect The area of the view to read. The origin of a viewRect must specify the upper left corner.
|
|
108914
109007
|
* @param targetSize The size of the image to be returned. The size can be larger or smaller than the original view.
|
|
108915
109008
|
* @param flipVertically If true, the image is flipped along the x-axis.
|
|
@@ -108917,7 +109010,7 @@ class Viewport {
|
|
|
108917
109010
|
* @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.
|
|
108918
109011
|
* @deprecated Use readImageBuffer.
|
|
108919
109012
|
*/
|
|
108920
|
-
readImage(rect = new _ViewRect__WEBPACK_IMPORTED_MODULE_25__["ViewRect"](
|
|
109013
|
+
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) {
|
|
108921
109014
|
// eslint-disable-next-line deprecation/deprecation
|
|
108922
109015
|
return this.target.readImage(rect, targetSize, flipVertically);
|
|
108923
109016
|
}
|
|
@@ -111514,226 +111607,233 @@ if (globalThis[globalSymbol])
|
|
|
111514
111607
|
|
|
111515
111608
|
|
|
111516
111609
|
const extensionExports = {
|
|
111517
|
-
ContextRotationId: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ContextRotationId"],
|
|
111518
|
-
ACSType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ACSType"],
|
|
111519
111610
|
ACSDisplayOptions: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ACSDisplayOptions"],
|
|
111520
|
-
|
|
111521
|
-
LocateAction: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["LocateAction"],
|
|
111522
|
-
LocateFilterStatus: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["LocateFilterStatus"],
|
|
111523
|
-
SnapStatus: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SnapStatus"],
|
|
111524
|
-
FlashMode: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["FlashMode"],
|
|
111525
|
-
FrontendLoggerCategory: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["FrontendLoggerCategory"],
|
|
111526
|
-
SnapMode: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SnapMode"],
|
|
111527
|
-
SnapHeat: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SnapHeat"],
|
|
111528
|
-
HitSource: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HitSource"],
|
|
111529
|
-
HitGeomType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HitGeomType"],
|
|
111530
|
-
HitParentGeomType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HitParentGeomType"],
|
|
111531
|
-
HitPriority: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HitPriority"],
|
|
111532
|
-
HitDetailType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HitDetailType"],
|
|
111533
|
-
OutputMessageType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["OutputMessageType"],
|
|
111534
|
-
OutputMessagePriority: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["OutputMessagePriority"],
|
|
111535
|
-
OutputMessageAlert: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["OutputMessageAlert"],
|
|
111536
|
-
ActivityMessageEndReason: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ActivityMessageEndReason"],
|
|
111537
|
-
MessageBoxType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["MessageBoxType"],
|
|
111538
|
-
MessageBoxIconType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["MessageBoxIconType"],
|
|
111539
|
-
MessageBoxValue: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["MessageBoxValue"],
|
|
111540
|
-
GraphicType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["GraphicType"],
|
|
111541
|
-
UniformType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["UniformType"],
|
|
111542
|
-
VaryingType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["VaryingType"],
|
|
111543
|
-
SelectionSetEventType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SelectionSetEventType"],
|
|
111544
|
-
StandardViewId: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["StandardViewId"],
|
|
111545
|
-
TileLoadStatus: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileLoadStatus"],
|
|
111546
|
-
TileVisibility: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileVisibility"],
|
|
111547
|
-
TileLoadPriority: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileLoadPriority"],
|
|
111548
|
-
TileBoundingBoxes: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileBoundingBoxes"],
|
|
111549
|
-
TileTreeLoadStatus: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileTreeLoadStatus"],
|
|
111550
|
-
TileGraphicType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileGraphicType"],
|
|
111551
|
-
ClipEventType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ClipEventType"],
|
|
111552
|
-
SelectionMethod: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SelectionMethod"],
|
|
111553
|
-
SelectionMode: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SelectionMode"],
|
|
111554
|
-
SelectionProcessing: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SelectionProcessing"],
|
|
111555
|
-
BeButton: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BeButton"],
|
|
111556
|
-
CoordinateLockOverrides: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["CoordinateLockOverrides"],
|
|
111557
|
-
InputSource: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["InputSource"],
|
|
111558
|
-
CoordSource: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["CoordSource"],
|
|
111559
|
-
BeModifierKeys: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BeModifierKeys"],
|
|
111560
|
-
EventHandled: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["EventHandled"],
|
|
111561
|
-
ParseAndRunResult: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ParseAndRunResult"],
|
|
111562
|
-
KeyinParseError: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["KeyinParseError"],
|
|
111563
|
-
StartOrResume: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["StartOrResume"],
|
|
111564
|
-
ManipulatorToolEvent: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ManipulatorToolEvent"],
|
|
111565
|
-
ToolAssistanceImage: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ToolAssistanceImage"],
|
|
111566
|
-
ToolAssistanceInputMethod: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ToolAssistanceInputMethod"],
|
|
111567
|
-
ViewStatus: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewStatus"],
|
|
111611
|
+
ACSType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ACSType"],
|
|
111568
111612
|
AccuDrawHintBuilder: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["AccuDrawHintBuilder"],
|
|
111569
111613
|
AccuSnap: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["AccuSnap"],
|
|
111570
|
-
|
|
111614
|
+
ActivityMessageDetails: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ActivityMessageDetails"],
|
|
111615
|
+
ActivityMessageEndReason: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ActivityMessageEndReason"],
|
|
111571
111616
|
AuxCoordSystem2dState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["AuxCoordSystem2dState"],
|
|
111572
111617
|
AuxCoordSystem3dState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["AuxCoordSystem3dState"],
|
|
111573
111618
|
AuxCoordSystemSpatialState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["AuxCoordSystemSpatialState"],
|
|
111619
|
+
AuxCoordSystemState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["AuxCoordSystemState"],
|
|
111620
|
+
BackgroundFill: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["BackgroundFill"],
|
|
111621
|
+
BackgroundMapType: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["BackgroundMapType"],
|
|
111622
|
+
BatchType: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["BatchType"],
|
|
111623
|
+
BeButton: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BeButton"],
|
|
111624
|
+
BeButtonEvent: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BeButtonEvent"],
|
|
111625
|
+
BeButtonState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BeButtonState"],
|
|
111626
|
+
BeModifierKeys: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BeModifierKeys"],
|
|
111627
|
+
BeTouchEvent: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BeTouchEvent"],
|
|
111628
|
+
BeWheelEvent: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BeWheelEvent"],
|
|
111629
|
+
BingElevationProvider: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BingElevationProvider"],
|
|
111574
111630
|
BingLocationProvider: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BingLocationProvider"],
|
|
111631
|
+
BisCodeSpec: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["BisCodeSpec"],
|
|
111632
|
+
BriefcaseIdValue: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["BriefcaseIdValue"],
|
|
111575
111633
|
CategorySelectorState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["CategorySelectorState"],
|
|
111576
111634
|
ChangeFlags: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ChangeFlags"],
|
|
111635
|
+
ChangeOpCode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ChangeOpCode"],
|
|
111636
|
+
ChangedValueState: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ChangedValueState"],
|
|
111637
|
+
ChangesetType: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ChangesetType"],
|
|
111638
|
+
ClipEventType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ClipEventType"],
|
|
111639
|
+
Cluster: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["Cluster"],
|
|
111640
|
+
ColorByName: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ColorByName"],
|
|
111641
|
+
ColorDef: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ColorDef"],
|
|
111642
|
+
CommonLoggerCategory: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["CommonLoggerCategory"],
|
|
111577
111643
|
ContextRealityModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ContextRealityModelState"],
|
|
111578
|
-
|
|
111644
|
+
ContextRotationId: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ContextRotationId"],
|
|
111645
|
+
CoordSource: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["CoordSource"],
|
|
111646
|
+
CoordSystem: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["CoordSystem"],
|
|
111647
|
+
CoordinateLockOverrides: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["CoordinateLockOverrides"],
|
|
111648
|
+
Decorations: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["Decorations"],
|
|
111649
|
+
DisclosedTileTreeSet: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["DisclosedTileTreeSet"],
|
|
111579
111650
|
DisplayStyle2dState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["DisplayStyle2dState"],
|
|
111580
111651
|
DisplayStyle3dState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["DisplayStyle3dState"],
|
|
111652
|
+
DisplayStyleState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["DisplayStyleState"],
|
|
111653
|
+
DrawingModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["DrawingModelState"],
|
|
111581
111654
|
DrawingViewState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["DrawingViewState"],
|
|
111582
|
-
|
|
111583
|
-
|
|
111584
|
-
|
|
111655
|
+
ECSqlSystemProperty: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ECSqlSystemProperty"],
|
|
111656
|
+
ECSqlValueType: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ECSqlValueType"],
|
|
111657
|
+
EditManipulator: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["EditManipulator"],
|
|
111658
|
+
ElementGeometryOpcode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ElementGeometryOpcode"],
|
|
111585
111659
|
ElementLocateManager: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ElementLocateManager"],
|
|
111660
|
+
ElementPicker: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ElementPicker"],
|
|
111661
|
+
ElementState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ElementState"],
|
|
111586
111662
|
EmphasizeElements: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["EmphasizeElements"],
|
|
111587
111663
|
EntityState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["EntityState"],
|
|
111588
|
-
|
|
111664
|
+
EventController: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["EventController"],
|
|
111665
|
+
EventHandled: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["EventHandled"],
|
|
111666
|
+
FeatureOverrideType: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["FeatureOverrideType"],
|
|
111667
|
+
FeatureSymbology: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["FeatureSymbology"],
|
|
111668
|
+
FillDisplay: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["FillDisplay"],
|
|
111669
|
+
FillFlags: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["FillFlags"],
|
|
111670
|
+
FlashMode: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["FlashMode"],
|
|
111589
111671
|
FlashSettings: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["FlashSettings"],
|
|
111672
|
+
FontType: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["FontType"],
|
|
111673
|
+
FrontendLoggerCategory: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["FrontendLoggerCategory"],
|
|
111590
111674
|
FrustumAnimator: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["FrustumAnimator"],
|
|
111675
|
+
GeoCoordStatus: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["GeoCoordStatus"],
|
|
111676
|
+
GeometricModel2dState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["GeometricModel2dState"],
|
|
111677
|
+
GeometricModel3dState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["GeometricModel3dState"],
|
|
111678
|
+
GeometricModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["GeometricModelState"],
|
|
111679
|
+
GeometryClass: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["GeometryClass"],
|
|
111680
|
+
GeometryStreamFlags: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["GeometryStreamFlags"],
|
|
111681
|
+
GeometrySummaryVerbosity: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["GeometrySummaryVerbosity"],
|
|
111591
111682
|
GlobeAnimator: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["GlobeAnimator"],
|
|
111683
|
+
GlobeMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["GlobeMode"],
|
|
111684
|
+
GraphicBranch: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["GraphicBranch"],
|
|
111685
|
+
GraphicBuilder: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["GraphicBuilder"],
|
|
111686
|
+
GraphicType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["GraphicType"],
|
|
111687
|
+
GridOrientationType: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["GridOrientationType"],
|
|
111688
|
+
HSVConstants: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["HSVConstants"],
|
|
111689
|
+
HiliteSet: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HiliteSet"],
|
|
111592
111690
|
HitDetail: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HitDetail"],
|
|
111593
|
-
|
|
111594
|
-
|
|
111691
|
+
HitDetailType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HitDetailType"],
|
|
111692
|
+
HitGeomType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HitGeomType"],
|
|
111595
111693
|
HitList: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HitList"],
|
|
111596
|
-
|
|
111597
|
-
|
|
111598
|
-
|
|
111599
|
-
getImageSourceMimeType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["getImageSourceMimeType"],
|
|
111600
|
-
getImageSourceFormatForMimeType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["getImageSourceFormatForMimeType"],
|
|
111601
|
-
imageElementFromImageSource: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["imageElementFromImageSource"],
|
|
111602
|
-
imageElementFromUrl: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["imageElementFromUrl"],
|
|
111603
|
-
extractImageSourceDimensions: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["extractImageSourceDimensions"],
|
|
111604
|
-
imageBufferToPngDataUrl: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["imageBufferToPngDataUrl"],
|
|
111605
|
-
imageBufferToBase64EncodedPng: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["imageBufferToBase64EncodedPng"],
|
|
111606
|
-
getCompressedJpegFromCanvas: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["getCompressedJpegFromCanvas"],
|
|
111694
|
+
HitParentGeomType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HitParentGeomType"],
|
|
111695
|
+
HitPriority: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HitPriority"],
|
|
111696
|
+
HitSource: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["HitSource"],
|
|
111607
111697
|
IModelConnection: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["IModelConnection"],
|
|
111608
|
-
|
|
111698
|
+
IconSprites: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["IconSprites"],
|
|
111699
|
+
ImageBufferFormat: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ImageBufferFormat"],
|
|
111700
|
+
ImageSourceFormat: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ImageSourceFormat"],
|
|
111701
|
+
InputCollector: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["InputCollector"],
|
|
111702
|
+
InputSource: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["InputSource"],
|
|
111703
|
+
InteractiveTool: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["InteractiveTool"],
|
|
111704
|
+
IntersectDetail: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["IntersectDetail"],
|
|
111705
|
+
KeyinParseError: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["KeyinParseError"],
|
|
111706
|
+
LinePixels: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["LinePixels"],
|
|
111707
|
+
LocateAction: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["LocateAction"],
|
|
111708
|
+
LocateFilterStatus: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["LocateFilterStatus"],
|
|
111709
|
+
LocateOptions: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["LocateOptions"],
|
|
111710
|
+
LocateResponse: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["LocateResponse"],
|
|
111711
|
+
ManipulatorToolEvent: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ManipulatorToolEvent"],
|
|
111609
111712
|
MarginPercent: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["MarginPercent"],
|
|
111610
111713
|
Marker: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["Marker"],
|
|
111611
|
-
Cluster: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["Cluster"],
|
|
111612
111714
|
MarkerSet: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["MarkerSet"],
|
|
111715
|
+
MassPropertiesOperation: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["MassPropertiesOperation"],
|
|
111716
|
+
MessageBoxIconType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["MessageBoxIconType"],
|
|
111717
|
+
MessageBoxType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["MessageBoxType"],
|
|
111718
|
+
MessageBoxValue: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["MessageBoxValue"],
|
|
111613
111719
|
ModelSelectorState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ModelSelectorState"],
|
|
111614
111720
|
ModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ModelState"],
|
|
111615
|
-
|
|
111616
|
-
|
|
111617
|
-
GeometricModel3dState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["GeometricModel3dState"],
|
|
111618
|
-
SheetModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SheetModelState"],
|
|
111619
|
-
SpatialModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SpatialModelState"],
|
|
111620
|
-
PhysicalModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["PhysicalModelState"],
|
|
111621
|
-
SpatialLocationModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SpatialLocationModelState"],
|
|
111622
|
-
DrawingModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["DrawingModelState"],
|
|
111623
|
-
SectionDrawingModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SectionDrawingModelState"],
|
|
111624
|
-
NotifyMessageDetails: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["NotifyMessageDetails"],
|
|
111625
|
-
ActivityMessageDetails: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ActivityMessageDetails"],
|
|
111721
|
+
MonochromeMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["MonochromeMode"],
|
|
111722
|
+
NotificationHandler: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["NotificationHandler"],
|
|
111626
111723
|
NotificationManager: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["NotificationManager"],
|
|
111724
|
+
NotifyMessageDetails: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["NotifyMessageDetails"],
|
|
111725
|
+
Npc: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["Npc"],
|
|
111726
|
+
OrthographicViewState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["OrthographicViewState"],
|
|
111727
|
+
OutputMessageAlert: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["OutputMessageAlert"],
|
|
111728
|
+
OutputMessagePriority: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["OutputMessagePriority"],
|
|
111729
|
+
OutputMessageType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["OutputMessageType"],
|
|
111730
|
+
ParseAndRunResult: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ParseAndRunResult"],
|
|
111627
111731
|
PerModelCategoryVisibility: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["PerModelCategoryVisibility"],
|
|
111628
|
-
|
|
111629
|
-
FeatureSymbology: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["FeatureSymbology"],
|
|
111630
|
-
GraphicBranch: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["GraphicBranch"],
|
|
111631
|
-
GraphicBuilder: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["GraphicBuilder"],
|
|
111732
|
+
PhysicalModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["PhysicalModelState"],
|
|
111632
111733
|
Pixel: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["Pixel"],
|
|
111734
|
+
PlanarClipMaskMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["PlanarClipMaskMode"],
|
|
111735
|
+
PlanarClipMaskPriority: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["PlanarClipMaskPriority"],
|
|
111736
|
+
PrimitiveTool: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["PrimitiveTool"],
|
|
111737
|
+
QueryRowFormat: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["QueryRowFormat"],
|
|
111738
|
+
Rank: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["Rank"],
|
|
111633
111739
|
RenderClipVolume: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["RenderClipVolume"],
|
|
111634
111740
|
RenderGraphic: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["RenderGraphic"],
|
|
111635
111741
|
RenderGraphicOwner: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["RenderGraphicOwner"],
|
|
111742
|
+
RenderMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["RenderMode"],
|
|
111636
111743
|
RenderSystem: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["RenderSystem"],
|
|
111637
111744
|
Scene: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["Scene"],
|
|
111638
|
-
|
|
111745
|
+
SectionDrawingModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SectionDrawingModelState"],
|
|
111746
|
+
SectionType: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["SectionType"],
|
|
111747
|
+
SelectionMethod: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SelectionMethod"],
|
|
111748
|
+
SelectionMode: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SelectionMode"],
|
|
111749
|
+
SelectionProcessing: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SelectionProcessing"],
|
|
111639
111750
|
SelectionSet: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SelectionSet"],
|
|
111751
|
+
SelectionSetEventType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SelectionSetEventType"],
|
|
111752
|
+
SheetModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SheetModelState"],
|
|
111640
111753
|
SheetViewState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SheetViewState"],
|
|
111754
|
+
SkyBoxImageType: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["SkyBoxImageType"],
|
|
111755
|
+
SnapDetail: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SnapDetail"],
|
|
111756
|
+
SnapHeat: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SnapHeat"],
|
|
111757
|
+
SnapMode: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SnapMode"],
|
|
111758
|
+
SnapStatus: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SnapStatus"],
|
|
111759
|
+
SpatialClassifierInsideDisplay: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["SpatialClassifierInsideDisplay"],
|
|
111760
|
+
SpatialClassifierOutsideDisplay: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["SpatialClassifierOutsideDisplay"],
|
|
111761
|
+
SpatialLocationModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SpatialLocationModelState"],
|
|
111762
|
+
SpatialModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SpatialModelState"],
|
|
111641
111763
|
SpatialViewState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SpatialViewState"],
|
|
111642
|
-
OrthographicViewState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["OrthographicViewState"],
|
|
111643
111764
|
Sprite: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["Sprite"],
|
|
111644
|
-
IconSprites: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["IconSprites"],
|
|
111645
111765
|
SpriteLocation: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["SpriteLocation"],
|
|
111766
|
+
StandardViewId: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["StandardViewId"],
|
|
111767
|
+
StartOrResume: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["StartOrResume"],
|
|
111768
|
+
SyncMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["SyncMode"],
|
|
111646
111769
|
TentativePoint: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TentativePoint"],
|
|
111647
|
-
|
|
111648
|
-
|
|
111649
|
-
|
|
111770
|
+
TerrainHeightOriginMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["TerrainHeightOriginMode"],
|
|
111771
|
+
TextureMapUnits: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["TextureMapUnits"],
|
|
111772
|
+
ThematicDisplayMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ThematicDisplayMode"],
|
|
111773
|
+
ThematicGradientColorScheme: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ThematicGradientColorScheme"],
|
|
111774
|
+
ThematicGradientMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ThematicGradientMode"],
|
|
111650
111775
|
Tile: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["Tile"],
|
|
111651
111776
|
TileAdmin: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileAdmin"],
|
|
111777
|
+
TileBoundingBoxes: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileBoundingBoxes"],
|
|
111652
111778
|
TileDrawArgs: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileDrawArgs"],
|
|
111779
|
+
TileGraphicType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileGraphicType"],
|
|
111780
|
+
TileLoadPriority: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileLoadPriority"],
|
|
111781
|
+
TileLoadStatus: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileLoadStatus"],
|
|
111653
111782
|
TileRequest: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileRequest"],
|
|
111654
|
-
TileRequestChannelStatistics: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileRequestChannelStatistics"],
|
|
111655
111783
|
TileRequestChannel: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileRequestChannel"],
|
|
111784
|
+
TileRequestChannelStatistics: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileRequestChannelStatistics"],
|
|
111656
111785
|
TileRequestChannels: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileRequestChannels"],
|
|
111657
111786
|
TileTree: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileTree"],
|
|
111787
|
+
TileTreeLoadStatus: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileTreeLoadStatus"],
|
|
111658
111788
|
TileTreeReference: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileTreeReference"],
|
|
111659
111789
|
TileUsageMarker: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileUsageMarker"],
|
|
111790
|
+
TileVisibility: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TileVisibility"],
|
|
111660
111791
|
Tiles: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["Tiles"],
|
|
111661
|
-
ViewClipTool: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewClipTool"],
|
|
111662
|
-
ViewClipClearTool: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewClipClearTool"],
|
|
111663
|
-
ViewClipDecorationProvider: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewClipDecorationProvider"],
|
|
111664
|
-
EditManipulator: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["EditManipulator"],
|
|
111665
|
-
EventController: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["EventController"],
|
|
111666
|
-
PrimitiveTool: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["PrimitiveTool"],
|
|
111667
|
-
BeButtonState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BeButtonState"],
|
|
111668
|
-
BeButtonEvent: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BeButtonEvent"],
|
|
111669
|
-
BeTouchEvent: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BeTouchEvent"],
|
|
111670
|
-
BeWheelEvent: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["BeWheelEvent"],
|
|
111671
111792
|
Tool: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["Tool"],
|
|
111672
|
-
InteractiveTool: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["InteractiveTool"],
|
|
111673
|
-
InputCollector: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["InputCollector"],
|
|
111674
111793
|
ToolAdmin: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ToolAdmin"],
|
|
111675
111794
|
ToolAssistance: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ToolAssistance"],
|
|
111795
|
+
ToolAssistanceImage: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ToolAssistanceImage"],
|
|
111796
|
+
ToolAssistanceInputMethod: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ToolAssistanceInputMethod"],
|
|
111676
111797
|
ToolSettings: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ToolSettings"],
|
|
111677
|
-
|
|
111678
|
-
|
|
111798
|
+
TwoWayViewportFrustumSync: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TwoWayViewportFrustumSync"],
|
|
111799
|
+
TwoWayViewportSync: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["TwoWayViewportSync"],
|
|
111800
|
+
TxnAction: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["TxnAction"],
|
|
111801
|
+
TypeOfChange: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["TypeOfChange"],
|
|
111802
|
+
UniformType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["UniformType"],
|
|
111803
|
+
VaryingType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["VaryingType"],
|
|
111804
|
+
ViewClipClearTool: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewClipClearTool"],
|
|
111805
|
+
ViewClipDecorationProvider: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewClipDecorationProvider"],
|
|
111806
|
+
ViewClipTool: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewClipTool"],
|
|
111679
111807
|
ViewCreator2d: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewCreator2d"],
|
|
111680
111808
|
ViewCreator3d: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewCreator3d"],
|
|
111681
|
-
queryTerrainElevationOffset: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["queryTerrainElevationOffset"],
|
|
111682
|
-
ViewingSpace: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewingSpace"],
|
|
111683
111809
|
ViewManager: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewManager"],
|
|
111810
|
+
ViewManip: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewManip"],
|
|
111684
111811
|
ViewPose: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewPose"],
|
|
111685
111812
|
ViewRect: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewRect"],
|
|
111686
111813
|
ViewState: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewState"],
|
|
111687
|
-
ViewState3d: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewState3d"],
|
|
111688
111814
|
ViewState2d: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewState2d"],
|
|
111689
|
-
|
|
111690
|
-
|
|
111691
|
-
|
|
111692
|
-
|
|
111693
|
-
|
|
111694
|
-
|
|
111695
|
-
|
|
111696
|
-
|
|
111697
|
-
|
|
111698
|
-
|
|
111699
|
-
|
|
111700
|
-
|
|
111701
|
-
|
|
111702
|
-
|
|
111703
|
-
|
|
111704
|
-
|
|
111705
|
-
|
|
111706
|
-
|
|
111707
|
-
|
|
111708
|
-
|
|
111709
|
-
|
|
111710
|
-
|
|
111711
|
-
GeometryStreamFlags: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["GeometryStreamFlags"],
|
|
111712
|
-
FillDisplay: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["FillDisplay"],
|
|
111713
|
-
BackgroundFill: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["BackgroundFill"],
|
|
111714
|
-
GeometryClass: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["GeometryClass"],
|
|
111715
|
-
GeometrySummaryVerbosity: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["GeometrySummaryVerbosity"],
|
|
111716
|
-
FillFlags: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["FillFlags"],
|
|
111717
|
-
HSVConstants: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["HSVConstants"],
|
|
111718
|
-
ImageBufferFormat: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ImageBufferFormat"],
|
|
111719
|
-
ImageSourceFormat: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ImageSourceFormat"],
|
|
111720
|
-
LinePixels: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["LinePixels"],
|
|
111721
|
-
MassPropertiesOperation: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["MassPropertiesOperation"],
|
|
111722
|
-
TextureMapUnits: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["TextureMapUnits"],
|
|
111723
|
-
PlanarClipMaskMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["PlanarClipMaskMode"],
|
|
111724
|
-
PlanarClipMaskPriority: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["PlanarClipMaskPriority"],
|
|
111725
|
-
SkyBoxImageType: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["SkyBoxImageType"],
|
|
111726
|
-
SpatialClassifierInsideDisplay: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["SpatialClassifierInsideDisplay"],
|
|
111727
|
-
SpatialClassifierOutsideDisplay: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["SpatialClassifierOutsideDisplay"],
|
|
111728
|
-
TerrainHeightOriginMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["TerrainHeightOriginMode"],
|
|
111729
|
-
ThematicGradientMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ThematicGradientMode"],
|
|
111730
|
-
ThematicGradientColorScheme: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ThematicGradientColorScheme"],
|
|
111731
|
-
ThematicDisplayMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ThematicDisplayMode"],
|
|
111732
|
-
TxnAction: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["TxnAction"],
|
|
111733
|
-
GridOrientationType: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["GridOrientationType"],
|
|
111734
|
-
RenderMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["RenderMode"],
|
|
111735
|
-
ColorByName: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ColorByName"],
|
|
111736
|
-
ColorDef: _itwin_core_common__WEBPACK_IMPORTED_MODULE_3__["ColorDef"],
|
|
111815
|
+
ViewState3d: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewState3d"],
|
|
111816
|
+
ViewStatus: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewStatus"],
|
|
111817
|
+
ViewTool: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewTool"],
|
|
111818
|
+
ViewingSpace: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["ViewingSpace"],
|
|
111819
|
+
canvasToImageBuffer: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["canvasToImageBuffer"],
|
|
111820
|
+
canvasToResizedCanvasWithBars: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["canvasToResizedCanvasWithBars"],
|
|
111821
|
+
connectViewportFrusta: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["connectViewportFrusta"],
|
|
111822
|
+
connectViewportViews: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["connectViewportViews"],
|
|
111823
|
+
connectViewports: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["connectViewports"],
|
|
111824
|
+
extractImageSourceDimensions: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["extractImageSourceDimensions"],
|
|
111825
|
+
getCompressedJpegFromCanvas: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["getCompressedJpegFromCanvas"],
|
|
111826
|
+
getImageSourceFormatForMimeType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["getImageSourceFormatForMimeType"],
|
|
111827
|
+
getImageSourceMimeType: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["getImageSourceMimeType"],
|
|
111828
|
+
imageBufferToBase64EncodedPng: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["imageBufferToBase64EncodedPng"],
|
|
111829
|
+
imageBufferToCanvas: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["imageBufferToCanvas"],
|
|
111830
|
+
imageBufferToPngDataUrl: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["imageBufferToPngDataUrl"],
|
|
111831
|
+
imageElementFromImageSource: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["imageElementFromImageSource"],
|
|
111832
|
+
imageElementFromUrl: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["imageElementFromUrl"],
|
|
111833
|
+
queryTerrainElevationOffset: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["queryTerrainElevationOffset"],
|
|
111834
|
+
readElementGraphics: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["readElementGraphics"],
|
|
111835
|
+
synchronizeViewportFrusta: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["synchronizeViewportFrusta"],
|
|
111836
|
+
synchronizeViewportViews: _core_frontend__WEBPACK_IMPORTED_MODULE_2__["synchronizeViewportViews"],
|
|
111737
111837
|
};
|
|
111738
111838
|
// END GENERATED CODE
|
|
111739
111839
|
const getExtensionApi = (id) => {
|
|
@@ -111769,42 +111869,25 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
111769
111869
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
111770
111870
|
*--------------------------------------------------------------------------------------------*/
|
|
111771
111871
|
/**
|
|
111772
|
-
*
|
|
111773
|
-
* First attempts an ES6 dynamic import,
|
|
111774
|
-
* second attempts a dynamic import via a script element as a fallback.
|
|
111872
|
+
* Imports and executes a bundled javascript (esm) module.
|
|
111775
111873
|
* Used by remote and service Extensions.
|
|
111776
|
-
* Throws an error if
|
|
111874
|
+
* Throws an error if no function is found to execute.
|
|
111875
|
+
* Looks for a function in the following order:
|
|
111876
|
+
* - the module itself.
|
|
111877
|
+
* - the module's main export.
|
|
111878
|
+
* - the module's default export.
|
|
111777
111879
|
* @internal
|
|
111778
111880
|
*/
|
|
111779
111881
|
async function loadScript(jsUrl) {
|
|
111780
|
-
// Warning "Critical dependency: the request of a dependency is an expression"
|
|
111781
|
-
// until that is resolved, leave code commented:
|
|
111782
111882
|
// const module = await import(/* webpackIgnore: true */jsUrl);
|
|
111783
|
-
//
|
|
111784
|
-
|
|
111785
|
-
|
|
111786
|
-
|
|
111787
|
-
|
|
111788
|
-
|
|
111789
|
-
|
|
111790
|
-
|
|
111791
|
-
delete window[tempGlobal];
|
|
111792
|
-
scriptElement.remove();
|
|
111793
|
-
}
|
|
111794
|
-
window[tempGlobal] = async function (module) {
|
|
111795
|
-
await execute(module);
|
|
111796
|
-
cleanup();
|
|
111797
|
-
resolve(module);
|
|
111798
|
-
};
|
|
111799
|
-
scriptElement.type = "module";
|
|
111800
|
-
scriptElement.textContent = `import * as m from "${jsUrl}";window.${tempGlobal}(m);`;
|
|
111801
|
-
scriptElement.onerror = () => {
|
|
111802
|
-
reject(new Error(`Failed to load extension with URL ${jsUrl}`));
|
|
111803
|
-
cleanup();
|
|
111804
|
-
};
|
|
111805
|
-
head.insertBefore(scriptElement, head.lastChild);
|
|
111806
|
-
});
|
|
111807
|
-
}
|
|
111883
|
+
// Webpack gives a warning:
|
|
111884
|
+
// "Critical dependency: the request of a dependency is an expression"
|
|
111885
|
+
// Because tsc transpiles "await import" to "require" (when compiled to is CommonJS).
|
|
111886
|
+
// So use FunctionConstructor to avoid tsc.
|
|
111887
|
+
const module = await Function("x", "return import(x)")(jsUrl);
|
|
111888
|
+
return execute(module);
|
|
111889
|
+
}
|
|
111890
|
+
/** attempts to execute an extension module */
|
|
111808
111891
|
function execute(m) {
|
|
111809
111892
|
if (typeof m === "function")
|
|
111810
111893
|
return m();
|
|
@@ -111812,7 +111895,7 @@ function execute(m) {
|
|
|
111812
111895
|
return m.main();
|
|
111813
111896
|
if (m.default && typeof m.default === "function")
|
|
111814
111897
|
return m.default();
|
|
111815
|
-
throw new Error(`Failed to
|
|
111898
|
+
throw new Error(`Failed to execute extension. No default function was found to execute.`);
|
|
111816
111899
|
}
|
|
111817
111900
|
|
|
111818
111901
|
|
|
@@ -112128,9 +112211,9 @@ class ServiceExtensionProvider {
|
|
|
112128
112211
|
/** Fetches the extension from the ExtensionService.
|
|
112129
112212
|
*/
|
|
112130
112213
|
async _getExtensionFiles(props) {
|
|
112131
|
-
var _a;
|
|
112214
|
+
var _a, _b, _c;
|
|
112132
112215
|
const extensionClient = new _ExtensionServiceClient__WEBPACK_IMPORTED_MODULE_3__["ExtensionClient"]();
|
|
112133
|
-
const accessToken = await ((_a = _IModelApp__WEBPACK_IMPORTED_MODULE_1__["IModelApp"].authorizationClient) === null ||
|
|
112216
|
+
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());
|
|
112134
112217
|
if (!accessToken)
|
|
112135
112218
|
return undefined;
|
|
112136
112219
|
let extensionProps;
|
|
@@ -118912,6 +118995,7 @@ class PrimitiveBuilder extends GeometryListBuilder {
|
|
|
118912
118995
|
this.primitives = [];
|
|
118913
118996
|
}
|
|
118914
118997
|
finishGraphic(accum) {
|
|
118998
|
+
var _a;
|
|
118915
118999
|
let meshes;
|
|
118916
119000
|
let range;
|
|
118917
119001
|
let featureTable;
|
|
@@ -118923,7 +119007,8 @@ class PrimitiveBuilder extends GeometryListBuilder {
|
|
|
118923
119007
|
const tolerance = this.computeTolerance(accum);
|
|
118924
119008
|
meshes = accum.saveToGraphicList(this.primitives, options, tolerance, this.pickable);
|
|
118925
119009
|
if (undefined !== meshes) {
|
|
118926
|
-
|
|
119010
|
+
if ((_a = meshes.features) === null || _a === void 0 ? void 0 : _a.anyDefined)
|
|
119011
|
+
featureTable = meshes.features;
|
|
118927
119012
|
range = meshes.range;
|
|
118928
119013
|
}
|
|
118929
119014
|
}
|
|
@@ -136996,14 +137081,14 @@ class Target extends _RenderTarget__WEBPACK_IMPORTED_MODULE_8__["RenderTarget"]
|
|
|
136996
137081
|
return new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Point2d"](curSize.x * bestRatio, curSize.y * bestRatio);
|
|
136997
137082
|
}
|
|
136998
137083
|
/** wantRectIn is in CSS pixels. Output ImageBuffer will be in device pixels.
|
|
136999
|
-
* If wantRect
|
|
137084
|
+
* If wantRect is null, that means "read the entire image".
|
|
137000
137085
|
*/
|
|
137001
137086
|
readImage(wantRectIn, targetSizeIn, flipVertically) {
|
|
137002
137087
|
if (!this.assignDC())
|
|
137003
137088
|
return undefined;
|
|
137004
137089
|
// Determine capture rect and validate
|
|
137005
137090
|
const actualViewRect = this.renderRect; // already has device pixel ratio applied
|
|
137006
|
-
const wantRect =
|
|
137091
|
+
const wantRect = wantRectIn.isNull ? actualViewRect : this.cssViewRectToDeviceViewRect(wantRectIn);
|
|
137007
137092
|
const lowerRight = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Point2d"].create(wantRect.right - 1, wantRect.bottom - 1);
|
|
137008
137093
|
if (!actualViewRect.containsPoint(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__["Point2d"].create(wantRect.left, wantRect.top)) || !actualViewRect.containsPoint(lowerRight))
|
|
137009
137094
|
return undefined;
|
|
@@ -145298,8 +145383,11 @@ function baseColorFromTextures(textureCount, applyFeatureColor) {
|
|
|
145298
145383
|
for (let i = 0; i < textureCount; i++)
|
|
145299
145384
|
applyTextureStrings.push(`if (applyTexture(col, s_texture${i}, u_texParams${i}, u_texMatrix${i})) doDiscard = false; `);
|
|
145300
145385
|
return `
|
|
145301
|
-
if (!u_texturesPresent)
|
|
145302
|
-
|
|
145386
|
+
if (!u_texturesPresent) {
|
|
145387
|
+
vec4 col = u_baseColor;
|
|
145388
|
+
${applyFeatureColor}
|
|
145389
|
+
return col;
|
|
145390
|
+
}
|
|
145303
145391
|
|
|
145304
145392
|
bool doDiscard = true;
|
|
145305
145393
|
vec4 col = u_baseColor;
|
|
@@ -154571,7 +154659,8 @@ class RealityTreeReference extends RealityModelTileTree.Reference {
|
|
|
154571
154659
|
return div;
|
|
154572
154660
|
}
|
|
154573
154661
|
addLogoCards(cards) {
|
|
154574
|
-
if (this._rdSourceKey.provider === _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["RealityDataProvider"].CesiumIonAsset) {
|
|
154662
|
+
if (this._rdSourceKey.provider === _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__["RealityDataProvider"].CesiumIonAsset && !cards.dataset.openStreetMapLogoCard) {
|
|
154663
|
+
cards.dataset.openStreetMapLogoCard = "true";
|
|
154575
154664
|
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")}` }));
|
|
154576
154665
|
}
|
|
154577
154666
|
}
|
|
@@ -160085,8 +160174,12 @@ class CesiumTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_8__["Terr
|
|
|
160085
160174
|
const mapTile = tile;
|
|
160086
160175
|
return undefined !== this._metaDataAvailableLevel && mapTile.quadId.level === this._metaDataAvailableLevel && !mapTile.everLoaded;
|
|
160087
160176
|
}
|
|
160088
|
-
|
|
160089
|
-
|
|
160177
|
+
addLogoCards(cards) {
|
|
160178
|
+
if (cards.dataset.cesiumIonLogoCard)
|
|
160179
|
+
return;
|
|
160180
|
+
cards.dataset.cesiumIonLogoCard = "true";
|
|
160181
|
+
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") });
|
|
160182
|
+
cards.appendChild(card);
|
|
160090
160183
|
}
|
|
160091
160184
|
get maxDepth() { return this._maxDepth; }
|
|
160092
160185
|
get tilingScheme() { return this._tilingScheme; }
|
|
@@ -160631,8 +160724,11 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
160631
160724
|
}
|
|
160632
160725
|
}
|
|
160633
160726
|
}
|
|
160634
|
-
|
|
160635
|
-
|
|
160727
|
+
addLogoCards(cards) {
|
|
160728
|
+
if (!cards.dataset.arcGisLogoCard) {
|
|
160729
|
+
cards.dataset.arcGisLogoCard = "true";
|
|
160730
|
+
cards.appendChild(_IModelApp__WEBPACK_IMPORTED_MODULE_2__["IModelApp"].makeLogoCard({ heading: "ArcGIS", notice: this._copyrightText }));
|
|
160731
|
+
}
|
|
160636
160732
|
}
|
|
160637
160733
|
// Translates the provided Cartographic into a EPSG:3857 point, and retrieve information.
|
|
160638
160734
|
// tolerance is in pixels
|
|
@@ -160797,8 +160893,11 @@ class AzureMapsLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_1
|
|
|
160797
160893
|
return "";
|
|
160798
160894
|
return `${this._settings.url}&${this._settings.accessKey.key}=${this._settings.accessKey.value}&api-version=2.0&zoom=${zoom}&x=${x}&y=${y}`;
|
|
160799
160895
|
}
|
|
160800
|
-
|
|
160801
|
-
|
|
160896
|
+
addLogoCards(cards) {
|
|
160897
|
+
if (!cards.dataset.azureMapsLogoCard) {
|
|
160898
|
+
cards.dataset.azureMapsLogoCard = "true";
|
|
160899
|
+
cards.appendChild(_IModelApp__WEBPACK_IMPORTED_MODULE_0__["IModelApp"].makeLogoCard({ heading: "Azure Maps", notice: _IModelApp__WEBPACK_IMPORTED_MODULE_0__["IModelApp"].localization.getLocalizedString("iModelJs:BackgroundMap.AzureMapsCopyright") }));
|
|
160900
|
+
}
|
|
160802
160901
|
}
|
|
160803
160902
|
}
|
|
160804
160903
|
|
|
@@ -160940,7 +161039,7 @@ class BingMapsImageryLayerProvider extends _internal__WEBPACK_IMPORTED_MODULE_3_
|
|
|
160940
161039
|
}
|
|
160941
161040
|
return matchingAttributions;
|
|
160942
161041
|
}
|
|
160943
|
-
|
|
161042
|
+
addLogoCards(cards, vp) {
|
|
160944
161043
|
var _a;
|
|
160945
161044
|
const tiles = (_a = _IModelApp__WEBPACK_IMPORTED_MODULE_2__["IModelApp"].tileAdmin.getTilesForUser(vp)) === null || _a === void 0 ? void 0 : _a.selected;
|
|
160946
161045
|
const matchingAttributions = this.getMatchingAttributions(tiles);
|
|
@@ -160953,7 +161052,7 @@ class BingMapsImageryLayerProvider extends _internal__WEBPACK_IMPORTED_MODULE_3_
|
|
|
160953
161052
|
copyrightMsg += "<br>";
|
|
160954
161053
|
copyrightMsg += copyrights[i];
|
|
160955
161054
|
}
|
|
160956
|
-
|
|
161055
|
+
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 }));
|
|
160957
161056
|
}
|
|
160958
161057
|
// initializes the BingImageryProvider by reading the templateUrl, logo image, and attribution list.
|
|
160959
161058
|
async initialize() {
|
|
@@ -161052,8 +161151,11 @@ class MapBoxLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_1__[
|
|
|
161052
161151
|
url = url.concat(`?${this._settings.accessKey.key}=${this._settings.accessKey.value}`);
|
|
161053
161152
|
return url;
|
|
161054
161153
|
}
|
|
161055
|
-
|
|
161056
|
-
|
|
161154
|
+
addLogoCards(cards) {
|
|
161155
|
+
if (!cards.dataset.mapboxLogoCard) {
|
|
161156
|
+
cards.dataset.mapboxLogoCard = "true";
|
|
161157
|
+
cards.appendChild(_IModelApp__WEBPACK_IMPORTED_MODULE_0__["IModelApp"].makeLogoCard({ heading: "Mapbox", notice: _IModelApp__WEBPACK_IMPORTED_MODULE_0__["IModelApp"].localization.getLocalizedString("iModelJs:BackgroundMap.MapBoxCopyright") }));
|
|
161158
|
+
}
|
|
161057
161159
|
}
|
|
161058
161160
|
// no initialization needed for MapBoxImageryProvider.
|
|
161059
161161
|
async initialize() { }
|
|
@@ -161598,7 +161700,9 @@ class ImageryMapTileTree extends _internal__WEBPACK_IMPORTED_MODULE_4__["Reality
|
|
|
161598
161700
|
this._rootTile = new ImageryMapTile(params.rootTile, this, rootQuadId, this.getTileRectangle(rootQuadId));
|
|
161599
161701
|
}
|
|
161600
161702
|
get tilingScheme() { return this._imageryLoader.imageryProvider.tilingScheme; }
|
|
161601
|
-
|
|
161703
|
+
addLogoCards(cards, vp) {
|
|
161704
|
+
this._imageryLoader.addLogoCards(cards, vp);
|
|
161705
|
+
}
|
|
161602
161706
|
getTileRectangle(quadId) {
|
|
161603
161707
|
return this.tilingScheme.tileXYToRectangle(quadId.column, quadId.row, quadId.level);
|
|
161604
161708
|
}
|
|
@@ -161631,7 +161735,9 @@ class ImageryTileLoader extends _internal__WEBPACK_IMPORTED_MODULE_4__["RealityT
|
|
|
161631
161735
|
get maxDepth() { return this._imageryProvider.maximumZoomLevel; }
|
|
161632
161736
|
get minDepth() { return this._imageryProvider.minimumZoomLevel; }
|
|
161633
161737
|
get priority() { return _internal__WEBPACK_IMPORTED_MODULE_4__["TileLoadPriority"].Map; }
|
|
161634
|
-
|
|
161738
|
+
addLogoCards(cards, vp) {
|
|
161739
|
+
this._imageryProvider.addLogoCards(cards, vp);
|
|
161740
|
+
}
|
|
161635
161741
|
get maximumScreenSize() { return this._imageryProvider.maximumScreenSize; }
|
|
161636
161742
|
get imageryProvider() { return this._imageryProvider; }
|
|
161637
161743
|
async getToolTip(strings, quadId, carto, tree) { await this._imageryProvider.getToolTip(strings, quadId, carto, tree); }
|
|
@@ -162200,7 +162306,7 @@ class MapLayerImageryProvider {
|
|
|
162200
162306
|
});
|
|
162201
162307
|
}
|
|
162202
162308
|
get tilingScheme() { return this.useGeographicTilingScheme ? this._geographicTilingScheme : this._mercatorTilingScheme; }
|
|
162203
|
-
|
|
162309
|
+
addLogoCards(_cards, _viewport) { }
|
|
162204
162310
|
get transparentBackgroundString() { return this._settings.transparentBackground ? "true" : "false"; }
|
|
162205
162311
|
async _areChildrenAvailable(_tile) { return true; }
|
|
162206
162312
|
getPotentialChildIds(tile) {
|
|
@@ -164372,15 +164478,13 @@ class MapTileTreeReference extends _internal__WEBPACK_IMPORTED_MODULE_6__["TileT
|
|
|
164372
164478
|
/** Add logo cards to logo div. */
|
|
164373
164479
|
addLogoCards(cards, vp) {
|
|
164374
164480
|
const tree = this.treeOwner.tileTree;
|
|
164375
|
-
let logo;
|
|
164376
164481
|
if (tree) {
|
|
164377
|
-
|
|
164378
|
-
cards.appendChild(logo);
|
|
164482
|
+
tree.mapLoader.terrainProvider.addLogoCards(cards, vp);
|
|
164379
164483
|
for (const imageryTreeRef of this._layerTrees) {
|
|
164380
164484
|
if (imageryTreeRef.layerSettings.visible) {
|
|
164381
164485
|
const imageryTree = imageryTreeRef.treeOwner.tileTree;
|
|
164382
|
-
if (imageryTree
|
|
164383
|
-
|
|
164486
|
+
if (imageryTree instanceof _internal__WEBPACK_IMPORTED_MODULE_6__["ImageryMapTileTree"])
|
|
164487
|
+
imageryTree.addLogoCards(cards, vp);
|
|
164384
164488
|
}
|
|
164385
164489
|
}
|
|
164386
164490
|
}
|
|
@@ -164868,7 +164972,7 @@ class TerrainMeshProvider {
|
|
|
164868
164972
|
this._modelId = _modelId;
|
|
164869
164973
|
}
|
|
164870
164974
|
constructUrl(_row, _column, _zoomLevel) { Object(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["assert"])(false); return ""; }
|
|
164871
|
-
|
|
164975
|
+
addLogoCards(_cards, _vp) { }
|
|
164872
164976
|
get requestOptions() { return { method: "GET", responseType: "arraybuffer" }; }
|
|
164873
164977
|
async getMesh(_tile, _data) { return undefined; }
|
|
164874
164978
|
forceTileLoad(_tile) { return false; }
|
|
@@ -178950,7 +179054,7 @@ SetupWalkCameraTool.iconSpec = "icon-camera-location";
|
|
|
178950
179054
|
/*! exports provided: name, version, description, main, module, typings, license, scripts, repository, keywords, author, peerDependencies, //devDependencies, devDependencies, //dependencies, dependencies, nyc, eslintConfig, default */
|
|
178951
179055
|
/***/ (function(module) {
|
|
178952
179056
|
|
|
178953
|
-
module.exports = JSON.parse("{\"name\":\"@itwin/core-frontend\",\"version\":\"3.3.0-dev.
|
|
179057
|
+
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\"}}]}}");
|
|
178954
179058
|
|
|
178955
179059
|
/***/ }),
|
|
178956
179060
|
|
|
@@ -277142,6 +277246,7 @@ const buggyIntelMatchers = [
|
|
|
277142
277246
|
// Regexes to match Mali GPUs known to suffer from GraphicsDriverBugs.msaaWillHang.
|
|
277143
277247
|
const buggyMaliMatchers = [
|
|
277144
277248
|
/Mali-G71/,
|
|
277249
|
+
/Mali-G72/,
|
|
277145
277250
|
/Mali-G76/,
|
|
277146
277251
|
];
|
|
277147
277252
|
// Regexes to match as many Intel integrated GPUs as possible.
|
|
@@ -277331,7 +277436,8 @@ class Capabilities {
|
|
|
277331
277436
|
&& !_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["ProcessDetector"].isIOSBrowser
|
|
277332
277437
|
// Samsung Galaxy Note 8 exhibits same issue as described above for iOS >= 15.
|
|
277333
277438
|
// It uses specifically Mali-G71 MP20 but reports its renderer as follows.
|
|
277334
|
-
|
|
277439
|
+
// Samsung Galaxy A50 and S9 exhibits same issue; they use Mali-G72.
|
|
277440
|
+
&& unmaskedRenderer !== "Mali-G71" && unmaskedRenderer !== "Mali-G72";
|
|
277335
277441
|
if (allowFloatRender && undefined !== this.queryExtensionObject("EXT_float_blend") && this.isTextureRenderable(gl, gl.FLOAT)) {
|
|
277336
277442
|
this._maxRenderType = RenderType.TextureFloat;
|
|
277337
277443
|
}
|