@itwin/ecschema-rpcinterface-tests 3.6.0-dev.55 → 3.6.0-dev.60
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/{_cb67.bundled-tests.js → _07c5.bundled-tests.js} +3 -3
- package/lib/dist/_07c5.bundled-tests.js.map +1 -0
- package/lib/dist/bundled-tests.js +382 -254
- package/lib/dist/bundled-tests.js.map +1 -1
- package/lib/dist/core_frontend_lib_esm_ApproximateTerrainHeightsProps_js.bundled-tests.js.map +1 -1
- package/lib/dist/object-storage.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_itwin_object-storage-azure_1_4_0_node_modules_itwin_obj-3576c6.bundled-tests.js.map +1 -1
- package/lib/dist/{vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_12_node_modules_loaders_gl_draco_d-b19815.bundled-tests.js → vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_13_node_modules_loaders_gl_draco_d-e0d984.bundled-tests.js} +72 -72
- package/lib/dist/{vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_12_node_modules_loaders_gl_draco_d-b19815.bundled-tests.js.map → vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_13_node_modules_loaders_gl_draco_d-e0d984.bundled-tests.js.map} +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_reflect-metadata_0_1_13_node_modules_reflect-metadata_R-610cb3.bundled-tests.js.map +1 -1
- package/package.json +16 -16
- package/lib/dist/_cb67.bundled-tests.js.map +0 -1
|
@@ -7391,7 +7391,7 @@ module.exports = {
|
|
|
7391
7391
|
"use strict";
|
|
7392
7392
|
|
|
7393
7393
|
|
|
7394
|
-
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../common/temp/node_modules/.pnpm/get-intrinsic@1.
|
|
7394
|
+
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../common/temp/node_modules/.pnpm/get-intrinsic@1.2.0/node_modules/get-intrinsic/index.js");
|
|
7395
7395
|
|
|
7396
7396
|
var callBind = __webpack_require__(/*! ./ */ "../../common/temp/node_modules/.pnpm/call-bind@1.0.2/node_modules/call-bind/index.js");
|
|
7397
7397
|
|
|
@@ -7418,7 +7418,7 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
|
7418
7418
|
|
|
7419
7419
|
|
|
7420
7420
|
var bind = __webpack_require__(/*! function-bind */ "../../common/temp/node_modules/.pnpm/function-bind@1.1.1/node_modules/function-bind/index.js");
|
|
7421
|
-
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../common/temp/node_modules/.pnpm/get-intrinsic@1.
|
|
7421
|
+
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../common/temp/node_modules/.pnpm/get-intrinsic@1.2.0/node_modules/get-intrinsic/index.js");
|
|
7422
7422
|
|
|
7423
7423
|
var $apply = GetIntrinsic('%Function.prototype.apply%');
|
|
7424
7424
|
var $call = GetIntrinsic('%Function.prototype.call%');
|
|
@@ -18753,9 +18753,9 @@ module.exports = getFuncName;
|
|
|
18753
18753
|
|
|
18754
18754
|
/***/ }),
|
|
18755
18755
|
|
|
18756
|
-
/***/ "../../common/temp/node_modules/.pnpm/get-intrinsic@1.
|
|
18756
|
+
/***/ "../../common/temp/node_modules/.pnpm/get-intrinsic@1.2.0/node_modules/get-intrinsic/index.js":
|
|
18757
18757
|
/*!****************************************************************************************************!*\
|
|
18758
|
-
!*** ../../common/temp/node_modules/.pnpm/get-intrinsic@1.
|
|
18758
|
+
!*** ../../common/temp/node_modules/.pnpm/get-intrinsic@1.2.0/node_modules/get-intrinsic/index.js ***!
|
|
18759
18759
|
\****************************************************************************************************/
|
|
18760
18760
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
18761
18761
|
|
|
@@ -18824,6 +18824,8 @@ var INTRINSICS = {
|
|
|
18824
18824
|
'%AsyncIteratorPrototype%': needsEval,
|
|
18825
18825
|
'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
|
|
18826
18826
|
'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
|
|
18827
|
+
'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,
|
|
18828
|
+
'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,
|
|
18827
18829
|
'%Boolean%': Boolean,
|
|
18828
18830
|
'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
|
|
18829
18831
|
'%Date%': Date,
|
|
@@ -18879,6 +18881,14 @@ var INTRINSICS = {
|
|
|
18879
18881
|
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
|
18880
18882
|
};
|
|
18881
18883
|
|
|
18884
|
+
try {
|
|
18885
|
+
null.error; // eslint-disable-line no-unused-expressions
|
|
18886
|
+
} catch (e) {
|
|
18887
|
+
// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
|
|
18888
|
+
var errorProto = getProto(getProto(e));
|
|
18889
|
+
INTRINSICS['%Error.prototype%'] = errorProto;
|
|
18890
|
+
}
|
|
18891
|
+
|
|
18882
18892
|
var doEval = function doEval(name) {
|
|
18883
18893
|
var value;
|
|
18884
18894
|
if (name === '%AsyncFunction%') {
|
|
@@ -19202,8 +19212,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
19202
19212
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19203
19213
|
/* harmony export */ "default": () => (/* binding */ Browser)
|
|
19204
19214
|
/* harmony export */ });
|
|
19205
|
-
/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
19206
|
-
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
19215
|
+
/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
|
|
19216
|
+
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/createClass.js");
|
|
19207
19217
|
|
|
19208
19218
|
|
|
19209
19219
|
|
|
@@ -42892,7 +42902,7 @@ module.exports = validRange
|
|
|
42892
42902
|
"use strict";
|
|
42893
42903
|
|
|
42894
42904
|
|
|
42895
|
-
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../common/temp/node_modules/.pnpm/get-intrinsic@1.
|
|
42905
|
+
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../common/temp/node_modules/.pnpm/get-intrinsic@1.2.0/node_modules/get-intrinsic/index.js");
|
|
42896
42906
|
var callBound = __webpack_require__(/*! call-bind/callBound */ "../../common/temp/node_modules/.pnpm/call-bind@1.0.2/node_modules/call-bind/callBound.js");
|
|
42897
42907
|
var inspect = __webpack_require__(/*! object-inspect */ "../../common/temp/node_modules/.pnpm/object-inspect@1.12.3/node_modules/object-inspect/index.js");
|
|
42898
42908
|
|
|
@@ -54142,14 +54152,15 @@ var CodeScopeSpec;
|
|
|
54142
54152
|
/** The Code value must be unique among other elements also scoped by the same element */
|
|
54143
54153
|
Type[Type["RelatedElement"] = 4] = "RelatedElement";
|
|
54144
54154
|
})(Type = CodeScopeSpec.Type || (CodeScopeSpec.Type = {}));
|
|
54145
|
-
/**
|
|
54155
|
+
/**
|
|
54156
|
+
* Requirements for how the CodeScope Element is identified.
|
|
54146
54157
|
* @public
|
|
54147
54158
|
*/
|
|
54148
54159
|
let ScopeRequirement;
|
|
54149
54160
|
(function (ScopeRequirement) {
|
|
54150
|
-
/** The
|
|
54161
|
+
/** The ElementId of CodeScope element identifies its scope. Used for Codes that are unique only within a single iModel. */
|
|
54151
54162
|
ScopeRequirement[ScopeRequirement["ElementId"] = 1] = "ElementId";
|
|
54152
|
-
/** The
|
|
54163
|
+
/** The FederationGuid of the CodeScope element identifies its scope. Used for Codes that are globally unique. */
|
|
54153
54164
|
ScopeRequirement[ScopeRequirement["FederationGuid"] = 2] = "FederationGuid";
|
|
54154
54165
|
})(ScopeRequirement = CodeScopeSpec.ScopeRequirement || (CodeScopeSpec.ScopeRequirement = {}));
|
|
54155
54166
|
})(CodeScopeSpec || (CodeScopeSpec = {}));
|
|
@@ -104764,11 +104775,6 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
104764
104775
|
* @beta
|
|
104765
104776
|
*/
|
|
104766
104777
|
this.onClose = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
104767
|
-
/** Event called immediately after *this* IModelConnection has its displayed extents expanded.
|
|
104768
|
-
* @note This event is called only for this IModelConnection.
|
|
104769
|
-
* @internal
|
|
104770
|
-
*/
|
|
104771
|
-
this.onDisplayedExtentsExpansion = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
104772
104778
|
this._snapRpc = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.OneAtATimeAction(async (props) => _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelReadRpcInterface.getClientForRouting(this.routingContext.token).requestSnap(this.getRpcProps(), _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.sessionId, props));
|
|
104773
104779
|
this._toolTipRpc = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.OneAtATimeAction(async (id) => _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelReadRpcInterface.getClientForRouting(this.routingContext.token).getToolTipMessage(this.getRpcProps(), id));
|
|
104774
104780
|
/** Event called immediately after map elevation request is completed. This occurs only in the case where background map terrain is displayed
|
|
@@ -104787,9 +104793,11 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
104787
104793
|
this.hilited = new _SelectionSet__WEBPACK_IMPORTED_MODULE_8__.HiliteSet(this);
|
|
104788
104794
|
this.tiles = new _Tiles__WEBPACK_IMPORTED_MODULE_11__.Tiles(this);
|
|
104789
104795
|
this.geoServices = new _GeoServices__WEBPACK_IMPORTED_MODULE_4__.GeoServices(this);
|
|
104796
|
+
/* eslint-disable-next-line deprecation/deprecation */
|
|
104790
104797
|
this.displayedExtents = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Range3d.fromJSON(this.projectExtents);
|
|
104791
104798
|
this.onProjectExtentsChanged.addListener(() => {
|
|
104792
104799
|
// Compute new displayed extents as the union of the ranges we previously expanded by with the new project extents.
|
|
104800
|
+
/* eslint-disable-next-line deprecation/deprecation */
|
|
104793
104801
|
this.expandDisplayedExtents(this._extentsExpansion);
|
|
104794
104802
|
});
|
|
104795
104803
|
this.hilited.onModelSubCategoryModeChanged.addListener(() => {
|
|
@@ -105100,12 +105108,14 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
105100
105108
|
/** Expand this iModel's [[displayedExtents]] to include the specified range.
|
|
105101
105109
|
* This is done automatically when reality models are added to a spatial view. In some cases a [[TiledGraphicsProvider]] may wish to expand
|
|
105102
105110
|
* the extents explicitly to include its geometry.
|
|
105111
|
+
* @deprecated in 3.6. See [[displayedExtents]].
|
|
105103
105112
|
*/
|
|
105104
105113
|
expandDisplayedExtents(range) {
|
|
105105
105114
|
this._extentsExpansion.extendRange(range);
|
|
105115
|
+
/* eslint-disable-next-line deprecation/deprecation */
|
|
105106
105116
|
this.displayedExtents.setFrom(this.projectExtents);
|
|
105117
|
+
/* eslint-disable-next-line deprecation/deprecation */
|
|
105107
105118
|
this.displayedExtents.extendRange(this._extentsExpansion);
|
|
105108
|
-
this.onDisplayedExtentsExpansion.raiseEvent();
|
|
105109
105119
|
}
|
|
105110
105120
|
/** @internal */
|
|
105111
105121
|
getMapEcefToDb(bimElevationBias) {
|
|
@@ -110513,28 +110523,42 @@ class SpatialViewState extends _ViewState__WEBPACK_IMPORTED_MODULE_6__.ViewState
|
|
|
110513
110523
|
markModelSelectorChanged() {
|
|
110514
110524
|
this._treeRefs.update();
|
|
110515
110525
|
}
|
|
110516
|
-
/** Get world-space viewed extents based on the iModel's project extents.
|
|
110526
|
+
/** Get world-space viewed extents based on the iModel's project extents.
|
|
110527
|
+
* @deprecated in 3.6. These extents are based on [[IModelConnection.displayedExtents]], which is deprecated. Consider using [[computeFitRange]] or [[getViewedExtents]] instead.
|
|
110528
|
+
*/
|
|
110517
110529
|
getDisplayedExtents() {
|
|
110530
|
+
/* eslint-disable-next-line deprecation/deprecation */
|
|
110518
110531
|
const extents = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Range3d.fromJSON(this.iModel.displayedExtents);
|
|
110519
110532
|
extents.scaleAboutCenterInPlace(1.0001); // projectExtents. lying smack up against the extents is not excluded by frustum...
|
|
110520
110533
|
extents.extendRange(this.getGroundExtents());
|
|
110521
110534
|
return extents;
|
|
110522
110535
|
}
|
|
110536
|
+
computeBaseExtents() {
|
|
110537
|
+
const extents = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Range3d.fromJSON(this.iModel.projectExtents);
|
|
110538
|
+
// Ensure geometry coincident with planes of the project extents is not clipped.
|
|
110539
|
+
extents.scaleAboutCenterInPlace(1.0001);
|
|
110540
|
+
// Ensure ground plane is not clipped, if it's being drawn.
|
|
110541
|
+
extents.extendRange(this.getGroundExtents());
|
|
110542
|
+
return extents;
|
|
110543
|
+
}
|
|
110523
110544
|
/** Compute world-space range appropriate for fitting the view. If that range is null, use the displayed extents. */
|
|
110524
110545
|
computeFitRange() {
|
|
110525
|
-
//
|
|
110546
|
+
// Fit to the union of the ranges of all loaded tile trees.
|
|
110526
110547
|
const range = new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Range3d();
|
|
110527
110548
|
this.forEachTileTreeRef((ref) => {
|
|
110528
110549
|
ref.unionFitRange(range);
|
|
110529
110550
|
});
|
|
110551
|
+
// Fall back to the project extents if necessary.
|
|
110530
110552
|
if (range.isNull)
|
|
110531
|
-
range.setFrom(this.
|
|
110553
|
+
range.setFrom(this.computeBaseExtents());
|
|
110554
|
+
// Avoid ridiculously small extents.
|
|
110532
110555
|
range.ensureMinLengths(1.0);
|
|
110533
110556
|
return range;
|
|
110534
110557
|
}
|
|
110535
110558
|
getViewedExtents() {
|
|
110536
|
-
|
|
110537
|
-
|
|
110559
|
+
// Encompass the project extents and ground plane.
|
|
110560
|
+
const extents = this.computeBaseExtents();
|
|
110561
|
+
// Include any tile trees that extend outside the project extents.
|
|
110538
110562
|
extents.extendRange(this.computeFitRange());
|
|
110539
110563
|
return extents;
|
|
110540
110564
|
}
|
|
@@ -116744,9 +116768,6 @@ class Viewport {
|
|
|
116744
116768
|
removals.push(this.iModel.onMapElevationLoaded.addListener((_iModel) => {
|
|
116745
116769
|
this.synchWithView();
|
|
116746
116770
|
}));
|
|
116747
|
-
removals.push(this.iModel.onDisplayedExtentsExpansion.addListener(() => {
|
|
116748
|
-
this.invalidateController();
|
|
116749
|
-
}));
|
|
116750
116771
|
}
|
|
116751
116772
|
}
|
|
116752
116773
|
registerDisplayStyleListeners(style) {
|
|
@@ -160767,7 +160788,7 @@ class GltfReader {
|
|
|
160767
160788
|
if (dracoMeshes.length === 0)
|
|
160768
160789
|
return;
|
|
160769
160790
|
try {
|
|
160770
|
-
const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-
|
|
160791
|
+
const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_13_node_modules_loaders_gl_draco_d-e0d984"), __webpack_require__.e("_07c5")]).then(__webpack_require__.bind(__webpack_require__, /*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@3.2.13/node_modules/@loaders.gl/draco/dist/esm/index.js"))).DracoLoader;
|
|
160771
160792
|
await Promise.all(dracoMeshes.map(async (x) => this.decodeDracoMesh(x, dracoLoader)));
|
|
160772
160793
|
}
|
|
160773
160794
|
catch (err) {
|
|
@@ -160914,14 +160935,16 @@ class GltfReader {
|
|
|
160914
160935
|
}
|
|
160915
160936
|
let nMap;
|
|
160916
160937
|
if (normalMap) {
|
|
160938
|
+
const greenUp = true;
|
|
160917
160939
|
if (texture) {
|
|
160918
160940
|
nMap = {
|
|
160919
160941
|
normalMap,
|
|
160942
|
+
greenUp,
|
|
160920
160943
|
};
|
|
160921
160944
|
}
|
|
160922
160945
|
else {
|
|
160923
160946
|
texture = normalMap;
|
|
160924
|
-
nMap = {};
|
|
160947
|
+
nMap = { greenUp };
|
|
160925
160948
|
}
|
|
160926
160949
|
}
|
|
160927
160950
|
if (!texture)
|
|
@@ -163602,6 +163625,7 @@ class OrbitGtTileTree extends _internal__WEBPACK_IMPORTED_MODULE_8__.TileTree {
|
|
|
163602
163625
|
this.viewFlagOverrides = {};
|
|
163603
163626
|
this._tileGraphics = new Map();
|
|
163604
163627
|
const worldContentRange = this.iModelTransform.multiplyRange(cloudRange);
|
|
163628
|
+
/* eslint-disable-next-line deprecation/deprecation */
|
|
163605
163629
|
this.iModel.expandDisplayedExtents(worldContentRange);
|
|
163606
163630
|
this._tileParams = { contentId: "0", range: cloudRange, maximumSize: 256 };
|
|
163607
163631
|
this.rootTile = new OrbitGtRootTile(this._tileParams, this);
|
|
@@ -163953,7 +163977,7 @@ function readPnts(stream, dataOffset, pnts) {
|
|
|
163953
163977
|
async function decodeDracoPointCloud(buf) {
|
|
163954
163978
|
var _a, _b, _c, _d, _e, _f;
|
|
163955
163979
|
try {
|
|
163956
|
-
const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-
|
|
163980
|
+
const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_13_node_modules_loaders_gl_draco_d-e0d984"), __webpack_require__.e("_07c5")]).then(__webpack_require__.bind(__webpack_require__, /*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@3.2.13/node_modules/@loaders.gl/draco/dist/esm/index.js"))).DracoLoader;
|
|
163957
163981
|
const mesh = await dracoLoader.parse(buf, {});
|
|
163958
163982
|
if (mesh.topology !== "point-list")
|
|
163959
163983
|
return undefined;
|
|
@@ -165104,6 +165128,7 @@ class RealityModelTileTree extends _internal__WEBPACK_IMPORTED_MODULE_7__.Realit
|
|
|
165104
165128
|
this._isContentUnbounded = this.rootTile.contentRange.diagonal().magnitude() > 2 * _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Constant.earthRadiusWGS84.equator;
|
|
165105
165129
|
if (!this.isContentUnbounded && !this.rootTile.contentRange.isNull) {
|
|
165106
165130
|
const worldContentRange = this.iModelTransform.multiplyRange(this.rootTile.contentRange);
|
|
165131
|
+
/* eslint-disable-next-line deprecation/deprecation */
|
|
165107
165132
|
this.iModel.expandDisplayedExtents(worldContentRange);
|
|
165108
165133
|
}
|
|
165109
165134
|
}
|
|
@@ -167358,12 +167383,20 @@ class TileAdmin {
|
|
|
167358
167383
|
this.contextPreloadParentDepth = Math.max(0, Math.min((options.contextPreloadParentDepth === undefined ? 2 : options.contextPreloadParentDepth), 8));
|
|
167359
167384
|
// If unspecified skip one level before preloading of parents of context tiles.
|
|
167360
167385
|
this.contextPreloadParentSkip = Math.max(0, Math.min((options.contextPreloadParentSkip === undefined ? 1 : options.contextPreloadParentSkip), 5));
|
|
167361
|
-
|
|
167362
|
-
this.
|
|
167363
|
-
|
|
167364
|
-
|
|
167365
|
-
|
|
167366
|
-
|
|
167386
|
+
const removals = [
|
|
167387
|
+
this.onTileLoad.addListener(() => this.invalidateAllScenes()),
|
|
167388
|
+
this.onTileChildrenLoad.addListener(() => this.invalidateAllScenes()),
|
|
167389
|
+
this.onTileTreeLoad.addListener(() => {
|
|
167390
|
+
// A reality model tile tree's range may extend outside of the project extents - we'll want to recompute the extents
|
|
167391
|
+
// of any spatial view's that may be displaying the reality model.
|
|
167392
|
+
for (const user of this.tileUsers)
|
|
167393
|
+
if (user instanceof _Viewport__WEBPACK_IMPORTED_MODULE_5__.Viewport && user.view.isSpatialView())
|
|
167394
|
+
user.invalidateController();
|
|
167395
|
+
}),
|
|
167396
|
+
];
|
|
167397
|
+
this._cleanup = () => {
|
|
167398
|
+
removals.forEach((removal) => removal());
|
|
167399
|
+
};
|
|
167367
167400
|
}
|
|
167368
167401
|
/** Create a TileAdmin suitable for passing to [[IModelApp.startup]] via [[IModelAppOptions.tileAdmin]] to customize aspects of
|
|
167369
167402
|
* its behavior.
|
|
@@ -170611,7 +170644,8 @@ class ArcGisUtilities {
|
|
|
170611
170644
|
* @return Validation Status. If successful, a list of available sub-layers will also be returned.
|
|
170612
170645
|
*/
|
|
170613
170646
|
static async validateSource(url, formatId, capabilitiesFilter, userName, password, ignoreCache) {
|
|
170614
|
-
const
|
|
170647
|
+
const metadata = await this.getServiceJson(url, formatId, userName, password, ignoreCache);
|
|
170648
|
+
const json = metadata === null || metadata === void 0 ? void 0 : metadata.content;
|
|
170615
170649
|
if (json === undefined) {
|
|
170616
170650
|
return { status: _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSourceStatus.InvalidUrl };
|
|
170617
170651
|
}
|
|
@@ -170627,18 +170661,20 @@ class ArcGisUtilities {
|
|
|
170627
170661
|
}
|
|
170628
170662
|
// Check this service support the expected queries
|
|
170629
170663
|
let hasCapabilities = false;
|
|
170630
|
-
|
|
170631
|
-
|
|
170632
|
-
|
|
170633
|
-
|
|
170634
|
-
|
|
170635
|
-
|
|
170636
|
-
}
|
|
170664
|
+
let capsArray = [];
|
|
170665
|
+
if (json.capabilities && typeof json.capabilities === "string") {
|
|
170666
|
+
const capabilities = json.capabilities;
|
|
170667
|
+
capsArray = capabilities.split(",").map((entry) => entry.toLowerCase());
|
|
170668
|
+
const filtered = capsArray.filter((element, _index, _array) => capabilitiesFilter.includes(element));
|
|
170669
|
+
hasCapabilities = (filtered.length === capabilitiesFilter.length);
|
|
170637
170670
|
}
|
|
170638
|
-
catch { }
|
|
170639
170671
|
if (!hasCapabilities) {
|
|
170640
170672
|
return { status: _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSourceStatus.InvalidFormat };
|
|
170641
170673
|
}
|
|
170674
|
+
// Only EPSG:3857 is supported with pre-rendered tiles.
|
|
170675
|
+
if (json.tileInfo && capsArray.includes("tilesonly") && !ArcGisUtilities.isEpsg3857Compatible(json.tileInfo)) {
|
|
170676
|
+
return { status: _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSourceStatus.InvalidCoordinateSystem };
|
|
170677
|
+
}
|
|
170642
170678
|
let subLayers;
|
|
170643
170679
|
if (json.layers) {
|
|
170644
170680
|
subLayers = new Array();
|
|
@@ -170650,35 +170686,62 @@ class ArcGisUtilities {
|
|
|
170650
170686
|
}
|
|
170651
170687
|
return { status: _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSourceStatus.Valid, subLayers };
|
|
170652
170688
|
}
|
|
170689
|
+
/**
|
|
170690
|
+
* Validate MapService tiling metadata and checks if the tile tree is 'Google Maps' compatible.
|
|
170691
|
+
*/
|
|
170692
|
+
static isEpsg3857Compatible(tileInfo) {
|
|
170693
|
+
var _a;
|
|
170694
|
+
if (((_a = tileInfo.spatialReference) === null || _a === void 0 ? void 0 : _a.latestWkid) !== 3857 || !Array.isArray(tileInfo.lods))
|
|
170695
|
+
return false;
|
|
170696
|
+
const zeroLod = tileInfo.lods[0];
|
|
170697
|
+
return zeroLod.level === 0 && Math.abs(zeroLod.resolution - 156543.03392800014) < .001;
|
|
170698
|
+
}
|
|
170653
170699
|
/**
|
|
170654
170700
|
* Fetch an ArcGIS service metadata, and returns its JSON representation.
|
|
170655
170701
|
* If an access client has been configured for the specified formatId,
|
|
170656
170702
|
* it will be used to apply required security token.
|
|
170657
170703
|
* By default, response for each URL are cached.
|
|
170658
170704
|
*/
|
|
170659
|
-
static async getServiceJson(url, formatId, userName, password, ignoreCache) {
|
|
170705
|
+
static async getServiceJson(url, formatId, userName, password, ignoreCache, requireToken) {
|
|
170660
170706
|
if (!ignoreCache) {
|
|
170661
170707
|
const cached = ArcGisUtilities._serviceCache.get(url);
|
|
170662
170708
|
if (cached !== undefined)
|
|
170663
170709
|
return cached;
|
|
170664
170710
|
}
|
|
170711
|
+
let accessTokenRequired = false;
|
|
170665
170712
|
try {
|
|
170666
|
-
|
|
170713
|
+
let tmpUrl = new URL(url);
|
|
170667
170714
|
tmpUrl.searchParams.append("f", "json");
|
|
170668
|
-
|
|
170669
|
-
if (
|
|
170670
|
-
|
|
170715
|
+
// In some cases, caller might already know token is required, so append it immediately
|
|
170716
|
+
if (requireToken) {
|
|
170717
|
+
const accessClient = _IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.mapLayerFormatRegistry.getAccessClient(formatId);
|
|
170718
|
+
if (accessClient) {
|
|
170719
|
+
accessTokenRequired = true;
|
|
170720
|
+
await ArcGisUtilities.appendSecurityToken(tmpUrl, accessClient, { mapLayerUrl: new URL(url), userName, password });
|
|
170721
|
+
}
|
|
170722
|
+
}
|
|
170723
|
+
let response = await fetch(tmpUrl.toString(), { method: "GET" });
|
|
170724
|
+
// Append security token when corresponding error code is returned by ArcGIS service
|
|
170725
|
+
let errorCode = await ArcGisUtilities.checkForResponseErrorCode(response);
|
|
170726
|
+
if (!accessTokenRequired
|
|
170727
|
+
&& errorCode !== undefined
|
|
170728
|
+
&& errorCode === ArcGisErrorCode.TokenRequired) {
|
|
170729
|
+
accessTokenRequired = true;
|
|
170730
|
+
// If token required
|
|
170731
|
+
const accessClient = _IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.mapLayerFormatRegistry.getAccessClient(formatId);
|
|
170732
|
+
if (accessClient) {
|
|
170733
|
+
tmpUrl = new URL(url);
|
|
170734
|
+
tmpUrl.searchParams.append("f", "json");
|
|
170735
|
+
await ArcGisUtilities.appendSecurityToken(tmpUrl, accessClient, { mapLayerUrl: new URL(url), userName, password });
|
|
170736
|
+
response = await fetch(tmpUrl.toString(), { method: "GET" });
|
|
170737
|
+
errorCode = await ArcGisUtilities.checkForResponseErrorCode(response);
|
|
170738
|
+
}
|
|
170671
170739
|
}
|
|
170672
|
-
const response = await fetch(tmpUrl.toString(), { method: "GET" });
|
|
170673
|
-
const errorCode = await ArcGisUtilities.checkForResponseErrorCode(response);
|
|
170674
170740
|
const json = await response.json();
|
|
170675
|
-
|
|
170676
|
-
|
|
170677
|
-
|
|
170678
|
-
|
|
170679
|
-
ArcGisUtilities._serviceCache.set(url, undefined);
|
|
170680
|
-
}
|
|
170681
|
-
return json; // Always return json, even though it contains an error code.
|
|
170741
|
+
const info = { content: json, accessTokenRequired };
|
|
170742
|
+
// Cache the response only if it doesn't contain any error.
|
|
170743
|
+
ArcGisUtilities._serviceCache.set(url, (errorCode === undefined ? info : undefined));
|
|
170744
|
+
return info; // Always return json, even though it contains an error code.
|
|
170682
170745
|
}
|
|
170683
170746
|
catch (_error) {
|
|
170684
170747
|
ArcGisUtilities._serviceCache.set(url, undefined);
|
|
@@ -170689,19 +170752,19 @@ class ArcGisUtilities {
|
|
|
170689
170752
|
*/
|
|
170690
170753
|
static async checkForResponseErrorCode(response) {
|
|
170691
170754
|
var _a, _b, _c;
|
|
170692
|
-
|
|
170755
|
+
const tmpResponse = response;
|
|
170756
|
+
if (response.headers && ((_a = tmpResponse.headers.get("content-type")) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes("json"))) {
|
|
170693
170757
|
try {
|
|
170694
170758
|
// Note:
|
|
170695
170759
|
// Since response stream can only be read once (i.e. calls to .json() method)
|
|
170696
170760
|
// we have to clone the response object in order to check for potential error code,
|
|
170697
170761
|
// but still keep the response stream as unread.
|
|
170698
|
-
const clonedResponse =
|
|
170762
|
+
const clonedResponse = tmpResponse.clone();
|
|
170699
170763
|
const json = await clonedResponse.json();
|
|
170700
170764
|
if (((_b = json === null || json === void 0 ? void 0 : json.error) === null || _b === void 0 ? void 0 : _b.code) !== undefined)
|
|
170701
170765
|
return (_c = json === null || json === void 0 ? void 0 : json.error) === null || _c === void 0 ? void 0 : _c.code;
|
|
170702
170766
|
}
|
|
170703
|
-
catch {
|
|
170704
|
-
}
|
|
170767
|
+
catch { }
|
|
170705
170768
|
}
|
|
170706
170769
|
return undefined;
|
|
170707
170770
|
}
|
|
@@ -171545,8 +171608,53 @@ class ArcGISImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_0__.MapLa
|
|
|
171545
171608
|
constructor(settings, usesCachedTiles) {
|
|
171546
171609
|
var _a;
|
|
171547
171610
|
super(settings, usesCachedTiles);
|
|
171611
|
+
/** Flag indicating if access token should be added to request.
|
|
171612
|
+
* @note We assume a service to require access token for the entire viewing session.
|
|
171613
|
+
*/
|
|
171614
|
+
this._accessTokenRequired = false;
|
|
171548
171615
|
this._accessClient = (_a = _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.mapLayerFormatRegistry) === null || _a === void 0 ? void 0 : _a.getAccessClient(settings.formatId);
|
|
171549
171616
|
}
|
|
171617
|
+
/** Updates the accessClient token state whenever the status of the provider change.
|
|
171618
|
+
* @internal
|
|
171619
|
+
* */
|
|
171620
|
+
onStatusUpdated(status) {
|
|
171621
|
+
var _a;
|
|
171622
|
+
if (status === _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerImageryProviderStatus.RequireAuth) {
|
|
171623
|
+
// Invalidate the token, so a new one get generated
|
|
171624
|
+
if (((_a = this._accessClient) === null || _a === void 0 ? void 0 : _a.invalidateToken) !== undefined && this._lastAccessToken !== undefined) {
|
|
171625
|
+
this._accessClient.invalidateToken(this._lastAccessToken);
|
|
171626
|
+
}
|
|
171627
|
+
// Make sure we don't re-use this token again (i.e force login process)
|
|
171628
|
+
this._lastAccessToken = undefined;
|
|
171629
|
+
}
|
|
171630
|
+
}
|
|
171631
|
+
/**
|
|
171632
|
+
* Fetch an ArcGIS service metadata, and returns its JSON representation.
|
|
171633
|
+
* This wrapper maintains token state and should be used instead of the the ArcGisUtilities version.
|
|
171634
|
+
*/
|
|
171635
|
+
async getServiceJson() {
|
|
171636
|
+
let metadata;
|
|
171637
|
+
try {
|
|
171638
|
+
metadata = await _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.getServiceJson(this._settings.url, this._settings.formatId, this._settings.userName, this._settings.password);
|
|
171639
|
+
}
|
|
171640
|
+
catch (_e) {
|
|
171641
|
+
}
|
|
171642
|
+
if (metadata && metadata.accessTokenRequired) {
|
|
171643
|
+
const accessClient = _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.mapLayerFormatRegistry.getAccessClient(this._settings.formatId);
|
|
171644
|
+
if (accessClient) {
|
|
171645
|
+
try {
|
|
171646
|
+
// Keep track of last used access token, so we can invalidate it later when an errors occurs
|
|
171647
|
+
const accessToken = await accessClient.getAccessToken({ mapLayerUrl: new URL(this._settings.url) });
|
|
171648
|
+
this._lastAccessToken = accessToken;
|
|
171649
|
+
}
|
|
171650
|
+
catch {
|
|
171651
|
+
}
|
|
171652
|
+
}
|
|
171653
|
+
// By turning this ON, tiles requests will include security token
|
|
171654
|
+
this._accessTokenRequired = metadata.accessTokenRequired;
|
|
171655
|
+
}
|
|
171656
|
+
return metadata;
|
|
171657
|
+
}
|
|
171550
171658
|
/**
|
|
171551
171659
|
* Make a request to an ArcGIS service using the provided URL and init parameters.
|
|
171552
171660
|
* @param url URL to query
|
|
@@ -171555,28 +171663,35 @@ class ArcGISImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_0__.MapLa
|
|
|
171555
171663
|
*/
|
|
171556
171664
|
async fetch(url, options) {
|
|
171557
171665
|
var _a, _b;
|
|
171666
|
+
let errorCode;
|
|
171558
171667
|
const urlObj = new URL(url);
|
|
171559
|
-
|
|
171560
|
-
|
|
171561
|
-
|
|
171562
|
-
|
|
171563
|
-
|
|
171564
|
-
|
|
171565
|
-
});
|
|
171566
|
-
}
|
|
171567
|
-
}
|
|
171568
|
-
catch {
|
|
171668
|
+
if (this._accessTokenRequired && this._accessClient) {
|
|
171669
|
+
this._lastAccessToken = await _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.appendSecurityToken(urlObj, this._accessClient, {
|
|
171670
|
+
mapLayerUrl: new URL(this._settings.url),
|
|
171671
|
+
userName: this._settings.userName,
|
|
171672
|
+
password: this._settings.password
|
|
171673
|
+
});
|
|
171569
171674
|
}
|
|
171570
171675
|
let response = await fetch(urlObj.toString(), options);
|
|
171571
|
-
|
|
171676
|
+
if ((this._lastAccessToken && response.status === 400)
|
|
171677
|
+
|| ((_a = response.headers.get("content-type")) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes("htm"))) {
|
|
171678
|
+
// For some reasons when we make a request with the fetch() api and there is a token error
|
|
171679
|
+
// we receive a status 400 instead of proper json response. (i.e doing the same request in the browser gives a different response)
|
|
171680
|
+
// For some other request, we also seen error message in html.
|
|
171681
|
+
// When it occurs, we fall back to root service request so we get a proper JSON response with error code.
|
|
171682
|
+
const tmpUrl = new URL(this._settings.url);
|
|
171683
|
+
if (this._lastAccessToken && this._accessTokenRequired)
|
|
171684
|
+
tmpUrl.searchParams.append("token", this._lastAccessToken.token);
|
|
171685
|
+
tmpUrl.searchParams.append("f", "json");
|
|
171686
|
+
response = await fetch(tmpUrl.toString(), options);
|
|
171687
|
+
}
|
|
171688
|
+
errorCode = await _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.checkForResponseErrorCode(response.clone());
|
|
171572
171689
|
if (errorCode !== undefined &&
|
|
171573
171690
|
(errorCode === _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisErrorCode.TokenRequired || errorCode === _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisErrorCode.InvalidToken)) {
|
|
171574
|
-
let hasTokenError = true;
|
|
171575
|
-
// **** Legacy token ONLY ***
|
|
171576
|
-
// Token might have expired, make a second attempt by forcing new token.
|
|
171577
171691
|
if (this._settings.userName && this._settings.userName.length > 0 && this._lastAccessToken) {
|
|
171578
|
-
//
|
|
171579
|
-
|
|
171692
|
+
// **** Legacy token ONLY ***
|
|
171693
|
+
// Token might have expired, make a second attempt by forcing new token.
|
|
171694
|
+
if (((_b = this._accessClient) === null || _b === void 0 ? void 0 : _b.invalidateToken) !== undefined && this._lastAccessToken !== undefined)
|
|
171580
171695
|
this._accessClient.invalidateToken(this._lastAccessToken);
|
|
171581
171696
|
const urlObj2 = new URL(url);
|
|
171582
171697
|
if (this._accessClient) {
|
|
@@ -171589,32 +171704,21 @@ class ArcGISImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_0__.MapLa
|
|
|
171589
171704
|
// Make a second attempt with refreshed token
|
|
171590
171705
|
response = await fetch(urlObj2.toString(), options);
|
|
171591
171706
|
errorCode = await _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.checkForResponseErrorCode(response.clone());
|
|
171592
|
-
if (errorCode !== undefined &&
|
|
171593
|
-
(errorCode === _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisErrorCode.TokenRequired || errorCode === _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisErrorCode.InvalidToken)) {
|
|
171594
|
-
// OK at this point, if response still contain a token error, we assume end-user will
|
|
171595
|
-
// have to provide credentials again. Change the layer status so we
|
|
171596
|
-
// don't make additional invalid requests..
|
|
171597
|
-
if (((_b = this._accessClient) === null || _b === void 0 ? void 0 : _b.invalidateToken) !== undefined && this._lastAccessToken !== undefined) {
|
|
171598
|
-
this._accessClient.invalidateToken(this._lastAccessToken);
|
|
171599
|
-
this._lastAccessToken = undefined;
|
|
171600
|
-
}
|
|
171601
|
-
}
|
|
171602
|
-
else {
|
|
171603
|
-
hasTokenError = false;
|
|
171604
|
-
}
|
|
171605
171707
|
}
|
|
171606
|
-
if (
|
|
171607
|
-
|
|
171608
|
-
|
|
171609
|
-
|
|
171610
|
-
|
|
171611
|
-
|
|
171708
|
+
if (errorCode === _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisErrorCode.TokenRequired || errorCode === _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisErrorCode.InvalidToken) {
|
|
171709
|
+
// Looks like the initially generated token has expired.
|
|
171710
|
+
if (this.status === _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerImageryProviderStatus.Valid) {
|
|
171711
|
+
// Only report new status change to avoid spamming the UI
|
|
171712
|
+
this.setStatus(_internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerImageryProviderStatus.RequireAuth);
|
|
171713
|
+
this.onStatusChanged.raiseEvent(this);
|
|
171714
|
+
const msg = _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.localization.getLocalizedString("iModelJs:MapLayers.Messages.FetchTooltipTokenError", { layerName: this._settings.name });
|
|
171715
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.notifications.outputMessage(new _NotificationManager__WEBPACK_IMPORTED_MODULE_2__.NotifyMessageDetails(_NotificationManager__WEBPACK_IMPORTED_MODULE_2__.OutputMessagePriority.Warning, msg));
|
|
171716
|
+
}
|
|
171612
171717
|
}
|
|
171613
171718
|
}
|
|
171614
171719
|
return response;
|
|
171615
171720
|
}
|
|
171616
171721
|
}
|
|
171617
|
-
ArcGISImageryProvider._serviceCache = new Map();
|
|
171618
171722
|
|
|
171619
171723
|
|
|
171620
171724
|
/***/ }),
|
|
@@ -171637,6 +171741,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
171637
171741
|
/* harmony import */ var _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @itwin/core-geometry */ "../../core/geometry/lib/esm/core-geometry.js");
|
|
171638
171742
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! lodash */ "../../common/temp/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js");
|
|
171639
171743
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_5__);
|
|
171744
|
+
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
171640
171745
|
/*---------------------------------------------------------------------------------------------
|
|
171641
171746
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
171642
171747
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -171650,6 +171755,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
171650
171755
|
|
|
171651
171756
|
|
|
171652
171757
|
|
|
171758
|
+
|
|
171759
|
+
const loggerCategory = "MapLayerImageryProvider.ArcGISMapLayerImageryProvider";
|
|
171653
171760
|
/** @internal */
|
|
171654
171761
|
class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_2__.ArcGISImageryProvider {
|
|
171655
171762
|
constructor(settings) {
|
|
@@ -171659,6 +171766,8 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_2
|
|
|
171659
171766
|
this._copyrightText = "Copyright";
|
|
171660
171767
|
this._querySupported = false;
|
|
171661
171768
|
this._tileMapSupported = false;
|
|
171769
|
+
this._mapSupported = false;
|
|
171770
|
+
this._tilesOnly = false;
|
|
171662
171771
|
this._accessClient = _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.mapLayerFormatRegistry.getAccessClient(settings.formatId);
|
|
171663
171772
|
}
|
|
171664
171773
|
get _filterByCartoRange() { return false; } // Can't trust footprint ranges (USGS Hydro)
|
|
@@ -171687,6 +171796,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_2
|
|
|
171687
171796
|
return await this.getImageFromTileResponse(tileResponse, zoomLevel);
|
|
171688
171797
|
}
|
|
171689
171798
|
catch (error) {
|
|
171799
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_6__.Logger.logError(loggerCategory, `Error occurred when loading tile(${row},${column},${zoomLevel}) : ${error}`);
|
|
171690
171800
|
return undefined;
|
|
171691
171801
|
}
|
|
171692
171802
|
}
|
|
@@ -171723,18 +171833,12 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_2
|
|
|
171723
171833
|
resolveChildren(childIds); // Resolve all children
|
|
171724
171834
|
}
|
|
171725
171835
|
}
|
|
171726
|
-
isEpsg3857Compatible(tileInfo) {
|
|
171727
|
-
var _a;
|
|
171728
|
-
if (((_a = tileInfo.spatialReference) === null || _a === void 0 ? void 0 : _a.latestWkid) !== 3857 || !Array.isArray(tileInfo.lods))
|
|
171729
|
-
return false;
|
|
171730
|
-
const zeroLod = tileInfo.lods[0];
|
|
171731
|
-
return zeroLod.level === 0 && Math.abs(zeroLod.resolution - 156543.03392800014) < .001;
|
|
171732
|
-
}
|
|
171733
171836
|
async initialize() {
|
|
171734
171837
|
var _a, _b, _c, _d, _e;
|
|
171735
|
-
const
|
|
171736
|
-
if (
|
|
171838
|
+
const metadata = await this.getServiceJson();
|
|
171839
|
+
if ((metadata === null || metadata === void 0 ? void 0 : metadata.content) === undefined)
|
|
171737
171840
|
throw new _itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.ServerError(_itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.ValidationFailed, "");
|
|
171841
|
+
const json = metadata.content;
|
|
171738
171842
|
if (((_a = json === null || json === void 0 ? void 0 : json.error) === null || _a === void 0 ? void 0 : _a.code) === _internal__WEBPACK_IMPORTED_MODULE_2__.ArcGisErrorCode.TokenRequired || ((_b = json === null || json === void 0 ? void 0 : json.error) === null || _b === void 0 ? void 0 : _b.code) === _internal__WEBPACK_IMPORTED_MODULE_2__.ArcGisErrorCode.InvalidToken) {
|
|
171739
171843
|
// Check again layer status, it might have change during await.
|
|
171740
171844
|
if (this.status === _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerImageryProviderStatus.Valid) {
|
|
@@ -171742,54 +171846,68 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_2
|
|
|
171742
171846
|
return; // By returning (i.e not throwing), we ensure the tileTree get created and current provider is preserved to report status.
|
|
171743
171847
|
}
|
|
171744
171848
|
}
|
|
171745
|
-
|
|
171746
|
-
|
|
171747
|
-
|
|
171748
|
-
|
|
171749
|
-
|
|
171750
|
-
|
|
171751
|
-
|
|
171752
|
-
|
|
171753
|
-
|
|
171754
|
-
|
|
171755
|
-
|
|
171756
|
-
|
|
171849
|
+
this.serviceJson = json;
|
|
171850
|
+
if (json.capabilities) {
|
|
171851
|
+
const capabilities = json.capabilities.split(",");
|
|
171852
|
+
this._querySupported = capabilities.includes("Query");
|
|
171853
|
+
this._tileMapSupported = capabilities.includes("Tilemap");
|
|
171854
|
+
this._mapSupported = capabilities.includes("Map");
|
|
171855
|
+
this._tilesOnly = capabilities.includes("TilesOnly");
|
|
171856
|
+
}
|
|
171857
|
+
if (json.copyrightText)
|
|
171858
|
+
this._copyrightText = json.copyrightText;
|
|
171859
|
+
this._usesCachedTiles = !!json.tileInfo;
|
|
171860
|
+
if (this._usesCachedTiles) {
|
|
171861
|
+
// Only EPSG:3857 is supported with pre-rendered tiles. Fall back to 'Export' queries if possible otherwise throw.
|
|
171862
|
+
if (!_internal__WEBPACK_IMPORTED_MODULE_2__.ArcGisUtilities.isEpsg3857Compatible(json.tileInfo)) {
|
|
171863
|
+
if (this._mapSupported && !this._tilesOnly) {
|
|
171864
|
+
this._usesCachedTiles = false;
|
|
171865
|
+
}
|
|
171866
|
+
else {
|
|
171867
|
+
throw new _itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.ServerError(_itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.ValidationFailed, "Invalid coordinate system");
|
|
171757
171868
|
}
|
|
171758
171869
|
}
|
|
171870
|
+
}
|
|
171871
|
+
if (this._usesCachedTiles) {
|
|
171872
|
+
// Read max LOD
|
|
171873
|
+
if (json.maxScale !== undefined && json.maxScale !== 0 && Array.isArray(json.tileInfo.lods)) {
|
|
171874
|
+
for (; this._maxDepthFromLod < json.tileInfo.lods.length && json.tileInfo.lods[this._maxDepthFromLod].scale > json.maxScale; this._maxDepthFromLod++)
|
|
171875
|
+
;
|
|
171876
|
+
}
|
|
171759
171877
|
// Create tile map object only if we are going to request tiles from this server and it support tilemap requests.
|
|
171760
|
-
if (this.
|
|
171878
|
+
if (this._tileMapSupported) {
|
|
171761
171879
|
this._tileMap = new _internal__WEBPACK_IMPORTED_MODULE_2__.ArcGISTileMap(this._settings.url, this._settings, (_d = (_c = json.tileInfo) === null || _c === void 0 ? void 0 : _c.lods) === null || _d === void 0 ? void 0 : _d.length, this._accessClient);
|
|
171762
171880
|
}
|
|
171763
|
-
|
|
171764
|
-
|
|
171765
|
-
|
|
171766
|
-
|
|
171767
|
-
|
|
171768
|
-
|
|
171769
|
-
}
|
|
171770
|
-
|
|
171771
|
-
|
|
171772
|
-
|
|
171773
|
-
|
|
171774
|
-
|
|
171775
|
-
|
|
171776
|
-
}
|
|
171777
|
-
|
|
171778
|
-
|
|
171779
|
-
|
|
171780
|
-
|
|
171781
|
-
|
|
171782
|
-
|
|
171783
|
-
}
|
|
171784
|
-
|
|
171785
|
-
|
|
171786
|
-
|
|
171787
|
-
|
|
171788
|
-
|
|
171789
|
-
|
|
171790
|
-
|
|
171791
|
-
|
|
171792
|
-
|
|
171881
|
+
}
|
|
171882
|
+
// Read range using fullextent from service metadata
|
|
171883
|
+
if (json.fullExtent) {
|
|
171884
|
+
if (json.fullExtent.spatialReference.latestWkid === 3857 || json.fullExtent.spatialReference.wkid === 102100) {
|
|
171885
|
+
const range3857 = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_4__.Range2d.createFrom({
|
|
171886
|
+
low: { x: json.fullExtent.xmin, y: json.fullExtent.ymin },
|
|
171887
|
+
high: { x: json.fullExtent.xmax, y: json.fullExtent.ymax }
|
|
171888
|
+
});
|
|
171889
|
+
const west = this.getEPSG4326Lon(range3857.xLow);
|
|
171890
|
+
const south = this.getEPSG4326Lat(range3857.yLow);
|
|
171891
|
+
const east = this.getEPSG4326Lon(range3857.xHigh);
|
|
171892
|
+
const north = this.getEPSG4326Lat(range3857.yHigh);
|
|
171893
|
+
this.cartoRange = _internal__WEBPACK_IMPORTED_MODULE_2__.MapCartoRectangle.fromDegrees(west, south, east, north);
|
|
171894
|
+
}
|
|
171895
|
+
}
|
|
171896
|
+
// Read minLOD if available
|
|
171897
|
+
if (json.minLOD !== undefined) {
|
|
171898
|
+
const minLod = parseInt(json.minLOD, 10);
|
|
171899
|
+
if (!Number.isNaN(minLod)) {
|
|
171900
|
+
this._minDepthFromLod = minLod;
|
|
171901
|
+
}
|
|
171902
|
+
}
|
|
171903
|
+
else if (json.minScale) {
|
|
171904
|
+
// Read min LOD using minScale
|
|
171905
|
+
const minScale = json.minScale;
|
|
171906
|
+
if (((_e = json.tileInfo) === null || _e === void 0 ? void 0 : _e.lods) !== undefined && (0,lodash__WEBPACK_IMPORTED_MODULE_5__.isArray)(json.tileInfo.lods)) {
|
|
171907
|
+
for (const lod of json.tileInfo.lods) {
|
|
171908
|
+
if (lod.scale < minScale) {
|
|
171909
|
+
this._minDepthFromLod = lod.level;
|
|
171910
|
+
break;
|
|
171793
171911
|
}
|
|
171794
171912
|
}
|
|
171795
171913
|
}
|
|
@@ -173376,7 +173494,7 @@ class WmtsMapLayerFormat extends ImageryMapLayerFormat {
|
|
|
173376
173494
|
}
|
|
173377
173495
|
if (supportedTms.length === 0) {
|
|
173378
173496
|
// This WMTS server doesn't support either GoogleMaps or WSG84
|
|
173379
|
-
return { status: _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerSourceStatus.
|
|
173497
|
+
return { status: _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerSourceStatus.InvalidCoordinateSystem };
|
|
173380
173498
|
}
|
|
173381
173499
|
let subLayerId = 0;
|
|
173382
173500
|
(_c = capabilities === null || capabilities === void 0 ? void 0 : capabilities.contents) === null || _c === void 0 ? void 0 : _c.layers.forEach((layer) => {
|
|
@@ -173409,7 +173527,8 @@ class WmtsMapLayerFormat extends ImageryMapLayerFormat {
|
|
|
173409
173527
|
WmtsMapLayerFormat.formatId = "WMTS";
|
|
173410
173528
|
class ArcGISMapLayerFormat extends ImageryMapLayerFormat {
|
|
173411
173529
|
static async validateSource(url, userName, password, ignoreCache) {
|
|
173412
|
-
|
|
173530
|
+
// Some Map service supporting only tiles don't include the 'Map' capabilities, thus we can't make it mandatory.
|
|
173531
|
+
return _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.validateSource(url, this.formatId, [], userName, password, ignoreCache);
|
|
173413
173532
|
}
|
|
173414
173533
|
static createImageryProvider(settings) {
|
|
173415
173534
|
return new _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGISMapLayerImageryProvider(settings);
|
|
@@ -173509,13 +173628,6 @@ class MapLayerImageryProvider {
|
|
|
173509
173628
|
this._mercatorTilingScheme = new _internal__WEBPACK_IMPORTED_MODULE_5__.WebMercatorTilingScheme();
|
|
173510
173629
|
this._geographicTilingScheme = new _internal__WEBPACK_IMPORTED_MODULE_5__.GeographicTilingScheme(2, 1, true);
|
|
173511
173630
|
}
|
|
173512
|
-
/** @internal */
|
|
173513
|
-
setStatus(status) {
|
|
173514
|
-
if (this.status !== status) {
|
|
173515
|
-
this._status = status;
|
|
173516
|
-
this.onStatusChanged.raiseEvent(this);
|
|
173517
|
-
}
|
|
173518
|
-
}
|
|
173519
173631
|
get status() { return this._status; }
|
|
173520
173632
|
resetStatus() { this.setStatus(MapLayerImageryProviderStatus.Valid); }
|
|
173521
173633
|
get tileSize() { return this._usesCachedTiles ? tileImageSize : untiledImageSize; }
|
|
@@ -173587,6 +173699,21 @@ class MapLayerImageryProvider {
|
|
|
173587
173699
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(false, "Invalid tile content type");
|
|
173588
173700
|
return undefined;
|
|
173589
173701
|
}
|
|
173702
|
+
/** Change the status of this provider.
|
|
173703
|
+
* Sub-classes should override 'onStatusUpdated' instead of this method.
|
|
173704
|
+
* @internal */
|
|
173705
|
+
setStatus(status) {
|
|
173706
|
+
if (this._status !== status) {
|
|
173707
|
+
this.onStatusUpdated(status);
|
|
173708
|
+
this._status = status;
|
|
173709
|
+
this.onStatusChanged.raiseEvent(this);
|
|
173710
|
+
}
|
|
173711
|
+
}
|
|
173712
|
+
/** Method called whenever the status changes, giving the opportunity to sub-classes to have a custom behavior.
|
|
173713
|
+
* @internal
|
|
173714
|
+
* */
|
|
173715
|
+
onStatusUpdated(_newStatus) {
|
|
173716
|
+
}
|
|
173590
173717
|
/** @internal */
|
|
173591
173718
|
setRequestAuthorization(headers) {
|
|
173592
173719
|
if (this._settings.userName && this._settings.password) {
|
|
@@ -173774,6 +173901,8 @@ var MapLayerSourceStatus;
|
|
|
173774
173901
|
MapLayerSourceStatus[MapLayerSourceStatus["InvalidUrl"] = 4] = "InvalidUrl";
|
|
173775
173902
|
/** Authorization is required to access this map layer source. */
|
|
173776
173903
|
MapLayerSourceStatus[MapLayerSourceStatus["RequireAuth"] = 5] = "RequireAuth";
|
|
173904
|
+
/** Map-layer coordinate system is not supported */
|
|
173905
|
+
MapLayerSourceStatus[MapLayerSourceStatus["InvalidCoordinateSystem"] = 6] = "InvalidCoordinateSystem";
|
|
173777
173906
|
})(MapLayerSourceStatus || (MapLayerSourceStatus = {}));
|
|
173778
173907
|
/** A source for map layers. These may be catalogued for convenient use by users or applications.
|
|
173779
173908
|
* @public
|
|
@@ -174436,7 +174565,6 @@ class MapTile extends _internal__WEBPACK_IMPORTED_MODULE_7__.RealityTile {
|
|
|
174436
174565
|
if (undefined !== this._graphic && this.imageryIsReady)
|
|
174437
174566
|
return this._graphic;
|
|
174438
174567
|
const geometry = this.renderGeometry;
|
|
174439
|
-
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== geometry);
|
|
174440
174568
|
if (undefined === geometry)
|
|
174441
174569
|
return undefined;
|
|
174442
174570
|
const textures = this.getDrapeTextures();
|
|
@@ -293264,7 +293392,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
293264
293392
|
|
|
293265
293393
|
|
|
293266
293394
|
/** Action taken by the application on item provided by a UiItemsProvider
|
|
293267
|
-
* @public @deprecated
|
|
293395
|
+
* @public @deprecated in 3.2. This was only used by the previously removed UiItemsArbiter.
|
|
293268
293396
|
*/
|
|
293269
293397
|
var UiItemsApplicationAction;
|
|
293270
293398
|
(function (UiItemsApplicationAction) {
|
|
@@ -295883,7 +296011,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
295883
296011
|
class IconSpecUtilities {
|
|
295884
296012
|
/** Create an IconSpec for an SVG loaded into web component with sprite loader
|
|
295885
296013
|
* This method is deprecated -- use createWebComponentIconSpec()
|
|
295886
|
-
* @public @deprecated
|
|
296014
|
+
* @public @deprecated in 3.2.
|
|
295887
296015
|
*/
|
|
295888
296016
|
static createSvgIconSpec(svgSrc) {
|
|
295889
296017
|
return `${IconSpecUtilities.SVG_PREFIX}${svgSrc}`;
|
|
@@ -295896,7 +296024,7 @@ class IconSpecUtilities {
|
|
|
295896
296024
|
}
|
|
295897
296025
|
/** Get the SVG Source from an sprite IconSpec
|
|
295898
296026
|
* This method is deprecated -- use getWebComponentSource()
|
|
295899
|
-
* @public @deprecated
|
|
296027
|
+
* @public @deprecated in 3.2.
|
|
295900
296028
|
*/
|
|
295901
296029
|
static getSvgSource(iconSpec) {
|
|
295902
296030
|
if (iconSpec.startsWith(IconSpecUtilities.SVG_PREFIX) && iconSpec.length > 4) {
|
|
@@ -297531,7 +297659,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
297531
297659
|
* @module Widget
|
|
297532
297660
|
*/
|
|
297533
297661
|
/** Enum for AppUi 1 `Zone` locations that can have widgets added to them at run-time via [[UiItemsProvider]].
|
|
297534
|
-
* @public @deprecated
|
|
297662
|
+
* @public @deprecated in 3.0.
|
|
297535
297663
|
*/
|
|
297536
297664
|
var AbstractZoneLocation;
|
|
297537
297665
|
(function (AbstractZoneLocation) {
|
|
@@ -297558,7 +297686,7 @@ var StagePanelLocation;
|
|
|
297558
297686
|
var StagePanelSection;
|
|
297559
297687
|
(function (StagePanelSection) {
|
|
297560
297688
|
StagePanelSection[StagePanelSection["Start"] = 0] = "Start";
|
|
297561
|
-
/** @deprecated - all widgets that a targeted for Middle will be placed in `End` section */
|
|
297689
|
+
/** @deprecated in 3.2. - all widgets that a targeted for Middle will be placed in `End` section */
|
|
297562
297690
|
StagePanelSection[StagePanelSection["Middle"] = 1] = "Middle";
|
|
297563
297691
|
StagePanelSection[StagePanelSection["End"] = 2] = "End";
|
|
297564
297692
|
})(StagePanelSection || (StagePanelSection = {}));
|
|
@@ -299266,10 +299394,10 @@ const gBase64 = {
|
|
|
299266
299394
|
|
|
299267
299395
|
/***/ }),
|
|
299268
299396
|
|
|
299269
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299270
|
-
|
|
299271
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299272
|
-
|
|
299397
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
|
|
299398
|
+
/*!*******************************************************************************************************************************!*\
|
|
299399
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
|
|
299400
|
+
\*******************************************************************************************************************************/
|
|
299273
299401
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299274
299402
|
|
|
299275
299403
|
"use strict";
|
|
@@ -299285,10 +299413,10 @@ function _arrayLikeToArray(arr, len) {
|
|
|
299285
299413
|
|
|
299286
299414
|
/***/ }),
|
|
299287
299415
|
|
|
299288
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299289
|
-
|
|
299290
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299291
|
-
|
|
299416
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
|
|
299417
|
+
/*!*****************************************************************************************************************************!*\
|
|
299418
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
|
|
299419
|
+
\*****************************************************************************************************************************/
|
|
299292
299420
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299293
299421
|
|
|
299294
299422
|
"use strict";
|
|
@@ -299302,10 +299430,10 @@ function _arrayWithHoles(arr) {
|
|
|
299302
299430
|
|
|
299303
299431
|
/***/ }),
|
|
299304
299432
|
|
|
299305
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299306
|
-
|
|
299307
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299308
|
-
|
|
299433
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
|
|
299434
|
+
/*!************************************************************************************************************************************!*\
|
|
299435
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
|
|
299436
|
+
\************************************************************************************************************************************/
|
|
299309
299437
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299310
299438
|
|
|
299311
299439
|
"use strict";
|
|
@@ -299322,10 +299450,10 @@ function _assertThisInitialized(self) {
|
|
|
299322
299450
|
|
|
299323
299451
|
/***/ }),
|
|
299324
299452
|
|
|
299325
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299326
|
-
|
|
299327
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299328
|
-
|
|
299453
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
|
|
299454
|
+
/*!*****************************************************************************************************************************!*\
|
|
299455
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
|
|
299456
|
+
\*****************************************************************************************************************************/
|
|
299329
299457
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299330
299458
|
|
|
299331
299459
|
"use strict";
|
|
@@ -299341,10 +299469,10 @@ function _classCallCheck(instance, Constructor) {
|
|
|
299341
299469
|
|
|
299342
299470
|
/***/ }),
|
|
299343
299471
|
|
|
299344
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299345
|
-
|
|
299346
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299347
|
-
|
|
299472
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/createClass.js":
|
|
299473
|
+
/*!**************************************************************************************************************************!*\
|
|
299474
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
|
|
299475
|
+
\**************************************************************************************************************************/
|
|
299348
299476
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299349
299477
|
|
|
299350
299478
|
"use strict";
|
|
@@ -299352,7 +299480,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
299352
299480
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
299353
299481
|
/* harmony export */ "default": () => (/* binding */ _createClass)
|
|
299354
299482
|
/* harmony export */ });
|
|
299355
|
-
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299483
|
+
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
|
|
299356
299484
|
|
|
299357
299485
|
function _defineProperties(target, props) {
|
|
299358
299486
|
for (var i = 0; i < props.length; i++) {
|
|
@@ -299374,10 +299502,10 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
299374
299502
|
|
|
299375
299503
|
/***/ }),
|
|
299376
299504
|
|
|
299377
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299378
|
-
|
|
299379
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299380
|
-
|
|
299505
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
|
|
299506
|
+
/*!*****************************************************************************************************************************!*\
|
|
299507
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
|
|
299508
|
+
\*****************************************************************************************************************************/
|
|
299381
299509
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299382
299510
|
|
|
299383
299511
|
"use strict";
|
|
@@ -299385,7 +299513,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
299385
299513
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
299386
299514
|
/* harmony export */ "default": () => (/* binding */ _defineProperty)
|
|
299387
299515
|
/* harmony export */ });
|
|
299388
|
-
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299516
|
+
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
|
|
299389
299517
|
|
|
299390
299518
|
function _defineProperty(obj, key, value) {
|
|
299391
299519
|
key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
|
|
@@ -299404,10 +299532,10 @@ function _defineProperty(obj, key, value) {
|
|
|
299404
299532
|
|
|
299405
299533
|
/***/ }),
|
|
299406
299534
|
|
|
299407
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299408
|
-
|
|
299409
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299410
|
-
|
|
299535
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
|
|
299536
|
+
/*!*****************************************************************************************************************************!*\
|
|
299537
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
|
|
299538
|
+
\*****************************************************************************************************************************/
|
|
299411
299539
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299412
299540
|
|
|
299413
299541
|
"use strict";
|
|
@@ -299424,10 +299552,10 @@ function _getPrototypeOf(o) {
|
|
|
299424
299552
|
|
|
299425
299553
|
/***/ }),
|
|
299426
299554
|
|
|
299427
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299428
|
-
|
|
299429
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299430
|
-
|
|
299555
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/inherits.js":
|
|
299556
|
+
/*!***********************************************************************************************************************!*\
|
|
299557
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/inherits.js ***!
|
|
299558
|
+
\***********************************************************************************************************************/
|
|
299431
299559
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299432
299560
|
|
|
299433
299561
|
"use strict";
|
|
@@ -299435,7 +299563,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
299435
299563
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
299436
299564
|
/* harmony export */ "default": () => (/* binding */ _inherits)
|
|
299437
299565
|
/* harmony export */ });
|
|
299438
|
-
/* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299566
|
+
/* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");
|
|
299439
299567
|
|
|
299440
299568
|
function _inherits(subClass, superClass) {
|
|
299441
299569
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -299456,10 +299584,10 @@ function _inherits(subClass, superClass) {
|
|
|
299456
299584
|
|
|
299457
299585
|
/***/ }),
|
|
299458
299586
|
|
|
299459
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299460
|
-
|
|
299461
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299462
|
-
|
|
299587
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
|
|
299588
|
+
/*!******************************************************************************************************************************!*\
|
|
299589
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
|
|
299590
|
+
\******************************************************************************************************************************/
|
|
299463
299591
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299464
299592
|
|
|
299465
299593
|
"use strict";
|
|
@@ -299473,10 +299601,10 @@ function _iterableToArray(iter) {
|
|
|
299473
299601
|
|
|
299474
299602
|
/***/ }),
|
|
299475
299603
|
|
|
299476
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299477
|
-
|
|
299478
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299479
|
-
|
|
299604
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
|
|
299605
|
+
/*!******************************************************************************************************************************!*\
|
|
299606
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
|
|
299607
|
+
\******************************************************************************************************************************/
|
|
299480
299608
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299481
299609
|
|
|
299482
299610
|
"use strict";
|
|
@@ -299490,10 +299618,10 @@ function _nonIterableRest() {
|
|
|
299490
299618
|
|
|
299491
299619
|
/***/ }),
|
|
299492
299620
|
|
|
299493
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299494
|
-
|
|
299495
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299496
|
-
|
|
299621
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
|
|
299622
|
+
/*!****************************************************************************************************************************************!*\
|
|
299623
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
|
|
299624
|
+
\****************************************************************************************************************************************/
|
|
299497
299625
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299498
299626
|
|
|
299499
299627
|
"use strict";
|
|
@@ -299501,8 +299629,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
299501
299629
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
299502
299630
|
/* harmony export */ "default": () => (/* binding */ _possibleConstructorReturn)
|
|
299503
299631
|
/* harmony export */ });
|
|
299504
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299505
|
-
/* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299632
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
299633
|
+
/* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
|
|
299506
299634
|
|
|
299507
299635
|
|
|
299508
299636
|
function _possibleConstructorReturn(self, call) {
|
|
@@ -299516,10 +299644,10 @@ function _possibleConstructorReturn(self, call) {
|
|
|
299516
299644
|
|
|
299517
299645
|
/***/ }),
|
|
299518
299646
|
|
|
299519
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299520
|
-
|
|
299521
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299522
|
-
|
|
299647
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
|
|
299648
|
+
/*!*****************************************************************************************************************************!*\
|
|
299649
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
|
|
299650
|
+
\*****************************************************************************************************************************/
|
|
299523
299651
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299524
299652
|
|
|
299525
299653
|
"use strict";
|
|
@@ -299537,10 +299665,10 @@ function _setPrototypeOf(o, p) {
|
|
|
299537
299665
|
|
|
299538
299666
|
/***/ }),
|
|
299539
299667
|
|
|
299540
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299541
|
-
|
|
299542
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299543
|
-
|
|
299668
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/toArray.js":
|
|
299669
|
+
/*!**********************************************************************************************************************!*\
|
|
299670
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/toArray.js ***!
|
|
299671
|
+
\**********************************************************************************************************************/
|
|
299544
299672
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299545
299673
|
|
|
299546
299674
|
"use strict";
|
|
@@ -299548,10 +299676,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
299548
299676
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
299549
299677
|
/* harmony export */ "default": () => (/* binding */ _toArray)
|
|
299550
299678
|
/* harmony export */ });
|
|
299551
|
-
/* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299552
|
-
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299553
|
-
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299554
|
-
/* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299679
|
+
/* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js");
|
|
299680
|
+
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/iterableToArray.js");
|
|
299681
|
+
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");
|
|
299682
|
+
/* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");
|
|
299555
299683
|
|
|
299556
299684
|
|
|
299557
299685
|
|
|
@@ -299562,10 +299690,10 @@ function _toArray(arr) {
|
|
|
299562
299690
|
|
|
299563
299691
|
/***/ }),
|
|
299564
299692
|
|
|
299565
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299566
|
-
|
|
299567
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299568
|
-
|
|
299693
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
|
|
299694
|
+
/*!**************************************************************************************************************************!*\
|
|
299695
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
|
|
299696
|
+
\**************************************************************************************************************************/
|
|
299569
299697
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299570
299698
|
|
|
299571
299699
|
"use strict";
|
|
@@ -299573,7 +299701,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
299573
299701
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
299574
299702
|
/* harmony export */ "default": () => (/* binding */ _toPrimitive)
|
|
299575
299703
|
/* harmony export */ });
|
|
299576
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299704
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
299577
299705
|
|
|
299578
299706
|
function _toPrimitive(input, hint) {
|
|
299579
299707
|
if ((0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(input) !== "object" || input === null) return input;
|
|
@@ -299588,10 +299716,10 @@ function _toPrimitive(input, hint) {
|
|
|
299588
299716
|
|
|
299589
299717
|
/***/ }),
|
|
299590
299718
|
|
|
299591
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299592
|
-
|
|
299593
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299594
|
-
|
|
299719
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
|
|
299720
|
+
/*!****************************************************************************************************************************!*\
|
|
299721
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
|
|
299722
|
+
\****************************************************************************************************************************/
|
|
299595
299723
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299596
299724
|
|
|
299597
299725
|
"use strict";
|
|
@@ -299599,8 +299727,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
299599
299727
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
299600
299728
|
/* harmony export */ "default": () => (/* binding */ _toPropertyKey)
|
|
299601
299729
|
/* harmony export */ });
|
|
299602
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299603
|
-
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299730
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
299731
|
+
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/toPrimitive.js");
|
|
299604
299732
|
|
|
299605
299733
|
|
|
299606
299734
|
function _toPropertyKey(arg) {
|
|
@@ -299610,10 +299738,10 @@ function _toPropertyKey(arg) {
|
|
|
299610
299738
|
|
|
299611
299739
|
/***/ }),
|
|
299612
299740
|
|
|
299613
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299614
|
-
|
|
299615
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299616
|
-
|
|
299741
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/typeof.js":
|
|
299742
|
+
/*!*********************************************************************************************************************!*\
|
|
299743
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
|
|
299744
|
+
\*********************************************************************************************************************/
|
|
299617
299745
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299618
299746
|
|
|
299619
299747
|
"use strict";
|
|
@@ -299633,10 +299761,10 @@ function _typeof(obj) {
|
|
|
299633
299761
|
|
|
299634
299762
|
/***/ }),
|
|
299635
299763
|
|
|
299636
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299637
|
-
|
|
299638
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299639
|
-
|
|
299764
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
|
|
299765
|
+
/*!*****************************************************************************************************************************************!*\
|
|
299766
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
|
|
299767
|
+
\*****************************************************************************************************************************************/
|
|
299640
299768
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299641
299769
|
|
|
299642
299770
|
"use strict";
|
|
@@ -299644,7 +299772,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
299644
299772
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
299645
299773
|
/* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
|
|
299646
299774
|
/* harmony export */ });
|
|
299647
|
-
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
299775
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");
|
|
299648
299776
|
|
|
299649
299777
|
function _unsupportedIterableToArray(o, minLen) {
|
|
299650
299778
|
if (!o) return;
|
|
@@ -300078,15 +300206,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300078
300206
|
/* harmony export */ "t": () => (/* binding */ t),
|
|
300079
300207
|
/* harmony export */ "use": () => (/* binding */ use)
|
|
300080
300208
|
/* harmony export */ });
|
|
300081
|
-
/* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
300082
|
-
/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
300083
|
-
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
300084
|
-
/* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
300085
|
-
/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
300086
|
-
/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
300087
|
-
/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
300088
|
-
/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
300089
|
-
/* harmony import */ var _babel_runtime_helpers_esm_toArray__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
300209
|
+
/* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
300210
|
+
/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
|
|
300211
|
+
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/createClass.js");
|
|
300212
|
+
/* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
|
|
300213
|
+
/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/inherits.js");
|
|
300214
|
+
/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
|
|
300215
|
+
/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
|
|
300216
|
+
/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
|
|
300217
|
+
/* harmony import */ var _babel_runtime_helpers_esm_toArray__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/toArray.js");
|
|
300090
300218
|
|
|
300091
300219
|
|
|
300092
300220
|
|
|
@@ -302966,7 +303094,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
302966
303094
|
/***/ ((module) => {
|
|
302967
303095
|
|
|
302968
303096
|
"use strict";
|
|
302969
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.6.0-dev.
|
|
303097
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.6.0-dev.60","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":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2020 --outDir lib/esm","clean":"rimraf lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","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.6.0-dev.60","@itwin/core-bentley":"workspace:^3.6.0-dev.60","@itwin/core-common":"workspace:^3.6.0-dev.60","@itwin/core-geometry":"workspace:^3.6.0-dev.60","@itwin/core-orbitgt":"workspace:^3.6.0-dev.60","@itwin/core-quantity":"workspace:^3.6.0-dev.60","@itwin/webgl-compatibility":"workspace:^3.6.0-dev.60"},"//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.3.1","@types/chai-as-promised":"^7","@types/deep-assign":"^0.1.0","@types/lodash":"^4.14.0","@types/mocha":"^8.2.2","@types/node":"18.11.5","@types/qs":"^6.5.0","@types/semver":"7.3.10","@types/superagent":"^4.1.14","@types/sinon":"^9.0.0","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","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":"^4.0.0","typescript":"~4.4.0","webpack":"^5.64.4"},"//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/object-storage-azure":"~1.4.0","@itwin/cloud-agnostic-core":"~1.4.0","@itwin/object-storage-core":"~1.4.0","@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.3","semver":"^7.3.5","superagent":"^7.1.5","wms-capabilities":"0.4.0","reflect-metadata":"0.1.13"},"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"}}]}}');
|
|
302970
303098
|
|
|
302971
303099
|
/***/ })
|
|
302972
303100
|
|