@itwin/rpcinterface-full-stack-tests 5.4.0-dev.4 → 5.4.0-dev.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/dist/bundled-tests.js +23 -6
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +15 -15
|
@@ -65935,7 +65935,10 @@ class MapImagerySettings {
|
|
|
65935
65935
|
}
|
|
65936
65936
|
/** @internal */
|
|
65937
65937
|
static createFromJSON(imageryJson, mapProps) {
|
|
65938
|
-
const
|
|
65938
|
+
const backgroundBase = imageryJson?.backgroundBase;
|
|
65939
|
+
const baseLayer = undefined !== backgroundBase ?
|
|
65940
|
+
BaseLayerSettings.fromJSON(backgroundBase) :
|
|
65941
|
+
_MapLayerSettings__WEBPACK_IMPORTED_MODULE_1__.BaseMapLayerSettings.fromBackgroundMapProps(mapProps ?? {});
|
|
65939
65942
|
return new MapImagerySettings(baseLayer, imageryJson?.backgroundLayers, imageryJson?.overlayLayers);
|
|
65940
65943
|
}
|
|
65941
65944
|
toJSON() {
|
|
@@ -85228,8 +85231,7 @@ const formatters = {
|
|
|
85228
85231
|
"datetime": (v, o) => formatString(formatDateTime(v, o?.dateTime), o),
|
|
85229
85232
|
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
85230
85233
|
"quantity": (v, o) => formatString(v.toString(), o),
|
|
85231
|
-
|
|
85232
|
-
"coordinate": (v, o) => formatString(v.toString(), o),
|
|
85234
|
+
"coordinate": (v, o) => formatString(formatPointBasic(v), o),
|
|
85233
85235
|
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
85234
85236
|
"boolean": (v, o) => formatString(v.toString(), o),
|
|
85235
85237
|
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
@@ -85270,6 +85272,18 @@ function formatDateTime(v, o) {
|
|
|
85270
85272
|
}
|
|
85271
85273
|
return undefined;
|
|
85272
85274
|
}
|
|
85275
|
+
// ###TODO replace this with actual quantity coordinate formatting.
|
|
85276
|
+
function formatPointBasic(v) {
|
|
85277
|
+
if (typeof v === "object" && "x" in v && "y" in v) {
|
|
85278
|
+
const parts = [v.x, v.y];
|
|
85279
|
+
const z = v.z;
|
|
85280
|
+
if (undefined !== z) {
|
|
85281
|
+
parts.push(z);
|
|
85282
|
+
}
|
|
85283
|
+
return `(${parts.join(", ")})`;
|
|
85284
|
+
}
|
|
85285
|
+
return undefined;
|
|
85286
|
+
}
|
|
85273
85287
|
/** @internal */
|
|
85274
85288
|
function formatFieldValue(value, options) {
|
|
85275
85289
|
const formatter = formatters[value.type];
|
|
@@ -198880,7 +198894,10 @@ class MapLayerImageryProvider {
|
|
|
198880
198894
|
onFirstRequestCompleted = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
198881
198895
|
/** @internal */
|
|
198882
198896
|
_firstRequestPromise;
|
|
198883
|
-
/**
|
|
198897
|
+
/**
|
|
198898
|
+
* The status of the map layer imagery provider.
|
|
198899
|
+
* @public @preview
|
|
198900
|
+
*/
|
|
198884
198901
|
get status() { return this._status; }
|
|
198885
198902
|
/** Determine if this provider supports map feature info.
|
|
198886
198903
|
* For example, this can be used to show the map feature info tool only when a provider is registered to support it.
|
|
@@ -338808,7 +338825,7 @@ class TestContext {
|
|
|
338808
338825
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
338809
338826
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
338810
338827
|
await core_frontend_1.NoRenderApp.startup({
|
|
338811
|
-
applicationVersion: "5.4.0-dev.
|
|
338828
|
+
applicationVersion: "5.4.0-dev.5",
|
|
338812
338829
|
applicationId: this.settings.gprid,
|
|
338813
338830
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.serviceAuthToken),
|
|
338814
338831
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -364081,7 +364098,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
364081
364098
|
/***/ ((module) => {
|
|
364082
364099
|
|
|
364083
364100
|
"use strict";
|
|
364084
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.4.0-dev.
|
|
364101
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.4.0-dev.5","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s webpackWorkers && npm run -s copy:workers && npm run -s copy:draco","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2022 --outDir lib/esm","clean":"rimraf -g lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","copy:draco":"cpx \\"./node_modules/@loaders.gl/draco/dist/libs/*\\" ./lib/public/scripts","docs":"betools docs --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-deprecation":"eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \\"./src/**/*.ts\\"","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2 && npm run -s webpackTestWorker","webpackTestWorker":"webpack --config ./src/test/worker/webpack.config.js 1>&2 && cpx \\"./lib/test/test-worker.js\\" ./lib/test","webpackWorkers":"webpack --config ./src/workers/ImdlParser/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*","@itwin/object-storage-core":"^3.0.4","@itwin/eslint-plugin":"5.2.2-dev.2","@types/chai-as-promised":"^7","@types/draco3d":"^1.4.10","@types/sinon":"^17.0.2","@vitest/browser":"^3.0.6","@vitest/coverage-v8":"^3.0.6","cpx2":"^8.0.0","eslint":"^9.31.0","glob":"^10.3.12","playwright":"~1.56.1","rimraf":"^6.0.1","sinon":"^17.0.2","source-map-loader":"^5.0.0","typescript":"~5.6.2","typemoq":"^2.1.0","vitest":"^3.0.6","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"2.2.0","webpack":"^5.97.1"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/core-i18n":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^4.3.4","@loaders.gl/draco":"^4.3.4","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
|
|
364085
364102
|
|
|
364086
364103
|
/***/ }),
|
|
364087
364104
|
|