@itwin/ecschema-rpcinterface-tests 3.4.2 → 3.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/dist/_fc1f.bundled-tests.js.map +1 -1
- package/lib/dist/bundled-tests.js +20 -5
- 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_9_node_modules_loaders_gl_draco_di-01256f.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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_fc1f.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\
|
|
1
|
+
{"version":3,"file":"_fc1f.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\279\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.2.9\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
|
|
@@ -174151,7 +174151,7 @@ class RealityTileTree extends _internal__WEBPACK_IMPORTED_MODULE_6__.TileTree {
|
|
|
174151
174151
|
}
|
|
174152
174152
|
/** @internal */
|
|
174153
174153
|
doReprojectChildren(tile) {
|
|
174154
|
-
if (!(tile instanceof _internal__WEBPACK_IMPORTED_MODULE_6__.RealityTile) ||
|
|
174154
|
+
if (!(tile instanceof _internal__WEBPACK_IMPORTED_MODULE_6__.RealityTile) || this._gcsConverter === undefined || this._rootToEcef === undefined || undefined === this._ecefToDb)
|
|
174155
174155
|
return false;
|
|
174156
174156
|
const tileRange = this.iModelTransform.isIdentity ? tile.range : this.iModelTransform.multiplyRange(tile.range, scratchRange);
|
|
174157
174157
|
return this.cartesianRange.intersectsRange(tileRange);
|
|
@@ -178080,17 +178080,32 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
178080
178080
|
const nonVisibleChildren = [false, false, false, false];
|
|
178081
178081
|
/** @internal */
|
|
178082
178082
|
class ArcGISTileMap {
|
|
178083
|
-
constructor(restBaseUrl, nbLods) {
|
|
178083
|
+
constructor(restBaseUrl, settings, nbLods, accessClient) {
|
|
178084
178084
|
this.tileMapRequestSize = 32;
|
|
178085
178085
|
this.fallbackTileMapRequestSize = 2;
|
|
178086
178086
|
this._tilesCache = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_1__.Dictionary((lhs, rhs) => (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_1__.compareStrings)(lhs, rhs));
|
|
178087
178087
|
this._restBaseUrl = restBaseUrl;
|
|
178088
|
+
this._accessClient = accessClient;
|
|
178089
|
+
this._settings = settings;
|
|
178088
178090
|
if (nbLods !== undefined && nbLods > 0) {
|
|
178089
178091
|
this._callQueues = new Array(nbLods).fill(Promise.resolve(nonVisibleChildren));
|
|
178090
178092
|
}
|
|
178091
178093
|
}
|
|
178092
178094
|
async fetchTileMapFromServer(level, row, column, width, height) {
|
|
178093
|
-
const
|
|
178095
|
+
const tmpUrl = `${this._restBaseUrl}/tilemap/${level}/${row}/${column}/${width}/${height}?f=json`;
|
|
178096
|
+
const urlObj = new URL(tmpUrl);
|
|
178097
|
+
try {
|
|
178098
|
+
if (this._accessClient) {
|
|
178099
|
+
await _internal__WEBPACK_IMPORTED_MODULE_2__.ArcGisUtilities.appendSecurityToken(urlObj, this._accessClient, {
|
|
178100
|
+
mapLayerUrl: new URL(this._settings.url),
|
|
178101
|
+
userName: this._settings.userName,
|
|
178102
|
+
password: this._settings.password,
|
|
178103
|
+
});
|
|
178104
|
+
}
|
|
178105
|
+
}
|
|
178106
|
+
catch {
|
|
178107
|
+
}
|
|
178108
|
+
const data = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_0__.request)(urlObj.toString(), {
|
|
178094
178109
|
method: "GET",
|
|
178095
178110
|
responseType: "json",
|
|
178096
178111
|
});
|
|
@@ -179369,7 +179384,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
179369
179384
|
}
|
|
179370
179385
|
// Create tile map object only if we are going to request tiles from this server and it support tilemap requests.
|
|
179371
179386
|
if (this._usesCachedTiles && this._tileMapSupported) {
|
|
179372
|
-
this._tileMap = new _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGISTileMap(this._settings.url, (_d = (_c = json.tileInfo) === null || _c === void 0 ? void 0 : _c.lods) === null || _d === void 0 ? void 0 : _d.length);
|
|
179387
|
+
this._tileMap = new _internal__WEBPACK_IMPORTED_MODULE_4__.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);
|
|
179373
179388
|
}
|
|
179374
179389
|
// Read range using fullextent from service metadata
|
|
179375
179390
|
if (json.fullExtent) {
|
|
@@ -308824,7 +308839,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
308824
308839
|
/***/ ((module) => {
|
|
308825
308840
|
|
|
308826
308841
|
"use strict";
|
|
308827
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.
|
|
308842
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.3","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs","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.4.3","@itwin/core-bentley":"workspace:^3.4.3","@itwin/core-common":"workspace:^3.4.3","@itwin/core-geometry":"workspace:^3.4.3","@itwin/core-orbitgt":"workspace:^3.4.3","@itwin/core-quantity":"workspace:^3.4.3","@itwin/webgl-compatibility":"workspace:^3.4.3"},"//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":"16.11.59","@types/qs":"^6.5.0","@types/semver":"7.3.10","@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":"^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.1","semver":"^7.3.5","superagent":"7.1.3","wms-capabilities":"0.4.0","xml-js":"~1.6.11","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"}}]}}');
|
|
308828
308843
|
|
|
308829
308844
|
/***/ })
|
|
308830
308845
|
|