@itwin/ecschema-rpcinterface-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 +22 -5
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +16 -16
|
@@ -36300,7 +36300,10 @@ class MapImagerySettings {
|
|
|
36300
36300
|
}
|
|
36301
36301
|
/** @internal */
|
|
36302
36302
|
static createFromJSON(imageryJson, mapProps) {
|
|
36303
|
-
const
|
|
36303
|
+
const backgroundBase = imageryJson?.backgroundBase;
|
|
36304
|
+
const baseLayer = undefined !== backgroundBase ?
|
|
36305
|
+
BaseLayerSettings.fromJSON(backgroundBase) :
|
|
36306
|
+
_MapLayerSettings__WEBPACK_IMPORTED_MODULE_1__.BaseMapLayerSettings.fromBackgroundMapProps(mapProps ?? {});
|
|
36304
36307
|
return new MapImagerySettings(baseLayer, imageryJson?.backgroundLayers, imageryJson?.overlayLayers);
|
|
36305
36308
|
}
|
|
36306
36309
|
toJSON() {
|
|
@@ -55593,8 +55596,7 @@ const formatters = {
|
|
|
55593
55596
|
"datetime": (v, o) => formatString(formatDateTime(v, o?.dateTime), o),
|
|
55594
55597
|
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
55595
55598
|
"quantity": (v, o) => formatString(v.toString(), o),
|
|
55596
|
-
|
|
55597
|
-
"coordinate": (v, o) => formatString(v.toString(), o),
|
|
55599
|
+
"coordinate": (v, o) => formatString(formatPointBasic(v), o),
|
|
55598
55600
|
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
55599
55601
|
"boolean": (v, o) => formatString(v.toString(), o),
|
|
55600
55602
|
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
@@ -55635,6 +55637,18 @@ function formatDateTime(v, o) {
|
|
|
55635
55637
|
}
|
|
55636
55638
|
return undefined;
|
|
55637
55639
|
}
|
|
55640
|
+
// ###TODO replace this with actual quantity coordinate formatting.
|
|
55641
|
+
function formatPointBasic(v) {
|
|
55642
|
+
if (typeof v === "object" && "x" in v && "y" in v) {
|
|
55643
|
+
const parts = [v.x, v.y];
|
|
55644
|
+
const z = v.z;
|
|
55645
|
+
if (undefined !== z) {
|
|
55646
|
+
parts.push(z);
|
|
55647
|
+
}
|
|
55648
|
+
return `(${parts.join(", ")})`;
|
|
55649
|
+
}
|
|
55650
|
+
return undefined;
|
|
55651
|
+
}
|
|
55638
55652
|
/** @internal */
|
|
55639
55653
|
function formatFieldValue(value, options) {
|
|
55640
55654
|
const formatter = formatters[value.type];
|
|
@@ -169245,7 +169259,10 @@ class MapLayerImageryProvider {
|
|
|
169245
169259
|
onFirstRequestCompleted = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
169246
169260
|
/** @internal */
|
|
169247
169261
|
_firstRequestPromise;
|
|
169248
|
-
/**
|
|
169262
|
+
/**
|
|
169263
|
+
* The status of the map layer imagery provider.
|
|
169264
|
+
* @public @preview
|
|
169265
|
+
*/
|
|
169249
169266
|
get status() { return this._status; }
|
|
169250
169267
|
/** Determine if this provider supports map feature info.
|
|
169251
169268
|
* For example, this can be used to show the map feature info tool only when a provider is registered to support it.
|
|
@@ -321854,7 +321871,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
321854
321871
|
/***/ ((module) => {
|
|
321855
321872
|
|
|
321856
321873
|
"use strict";
|
|
321857
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.4.0-dev.
|
|
321874
|
+
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"}}');
|
|
321858
321875
|
|
|
321859
321876
|
/***/ })
|
|
321860
321877
|
|