@itwin/ecschema-rpcinterface-tests 5.3.0-dev.24 → 5.3.0-dev.26
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 +40 -4
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +15 -15
|
@@ -44825,6 +44825,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
44825
44825
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
44826
44826
|
/* harmony export */ ListMarkerEnumerator: () => (/* binding */ ListMarkerEnumerator),
|
|
44827
44827
|
/* harmony export */ TextStyleSettings: () => (/* binding */ TextStyleSettings),
|
|
44828
|
+
/* harmony export */ terminatorShapes: () => (/* binding */ terminatorShapes),
|
|
44828
44829
|
/* harmony export */ textAnnotationFrameShapes: () => (/* binding */ textAnnotationFrameShapes)
|
|
44829
44830
|
/* harmony export */ });
|
|
44830
44831
|
/* harmony import */ var _ColorDef__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../ColorDef */ "../../core/common/lib/esm/ColorDef.js");
|
|
@@ -44858,6 +44859,10 @@ var ListMarkerEnumerator;
|
|
|
44858
44859
|
* @beta
|
|
44859
44860
|
*/
|
|
44860
44861
|
const textAnnotationFrameShapes = ["none", "line", "rectangle", "circle", "equilateralTriangle", "diamond", "square", "pentagon", "hexagon", "octagon", "capsule", "roundedRectangle"];
|
|
44862
|
+
/** Set of predefined shapes that can be used as terminators for leaders in a [[TextAnnotation]]
|
|
44863
|
+
* @beta
|
|
44864
|
+
*/
|
|
44865
|
+
const terminatorShapes = ["openArrow", "closedArrow", "closedArrowFilled", "circle", "circleFilled", "slash", "none"];
|
|
44861
44866
|
;
|
|
44862
44867
|
;
|
|
44863
44868
|
function deepFreeze(obj) {
|
|
@@ -44974,6 +44979,7 @@ class TextStyleSettings {
|
|
|
44974
44979
|
color: "inherit",
|
|
44975
44980
|
wantElbow: false,
|
|
44976
44981
|
elbowLength: 1.0,
|
|
44982
|
+
terminatorShape: terminatorShapes[0],
|
|
44977
44983
|
terminatorHeightFactor: 1.0,
|
|
44978
44984
|
terminatorWidthFactor: 1.0,
|
|
44979
44985
|
},
|
|
@@ -45023,6 +45029,7 @@ class TextStyleSettings {
|
|
|
45023
45029
|
color: props.leader?.color ?? defaults.leader.color,
|
|
45024
45030
|
wantElbow: props.leader?.wantElbow ?? defaults.leader.wantElbow,
|
|
45025
45031
|
elbowLength: props.leader?.elbowLength ?? defaults.leader.elbowLength,
|
|
45032
|
+
terminatorShape: props.leader?.terminatorShape ?? defaults.leader.terminatorShape,
|
|
45026
45033
|
terminatorHeightFactor: props.leader?.terminatorHeightFactor ?? defaults.leader.terminatorHeightFactor,
|
|
45027
45034
|
terminatorWidthFactor: props.leader?.terminatorWidthFactor ?? defaults.leader.terminatorWidthFactor,
|
|
45028
45035
|
};
|
|
@@ -45063,7 +45070,7 @@ class TextStyleSettings {
|
|
|
45063
45070
|
*/
|
|
45064
45071
|
leaderEquals(other) {
|
|
45065
45072
|
return this.leader.color === other.color && this.leader.wantElbow === other.wantElbow
|
|
45066
|
-
&& this.leader.elbowLength === other.elbowLength && this.leader.terminatorHeightFactor === other.terminatorHeightFactor
|
|
45073
|
+
&& this.leader.elbowLength === other.elbowLength && this.leader.terminatorShape === other.terminatorShape && this.leader.terminatorHeightFactor === other.terminatorHeightFactor
|
|
45067
45074
|
&& this.leader.terminatorWidthFactor === other.terminatorWidthFactor;
|
|
45068
45075
|
}
|
|
45069
45076
|
frameEquals(other) {
|
|
@@ -45527,6 +45534,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
45527
45534
|
/* harmony export */ readElementMeshes: () => (/* reexport safe */ _ElementMesh__WEBPACK_IMPORTED_MODULE_30__.readElementMeshes),
|
|
45528
45535
|
/* harmony export */ readTileContentDescription: () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_158__.readTileContentDescription),
|
|
45529
45536
|
/* harmony export */ rpcOverIpcStrings: () => (/* reexport safe */ _ipc_IpcSession__WEBPACK_IMPORTED_MODULE_76__.rpcOverIpcStrings),
|
|
45537
|
+
/* harmony export */ terminatorShapes: () => (/* reexport safe */ _annotation_TextStyle__WEBPACK_IMPORTED_MODULE_7__.terminatorShapes),
|
|
45530
45538
|
/* harmony export */ textAnnotationFrameShapes: () => (/* reexport safe */ _annotation_TextStyle__WEBPACK_IMPORTED_MODULE_7__.textAnnotationFrameShapes),
|
|
45531
45539
|
/* harmony export */ tileFormatFromNumber: () => (/* reexport safe */ _tile_TileIO__WEBPACK_IMPORTED_MODULE_157__.tileFormatFromNumber),
|
|
45532
45540
|
/* harmony export */ traverseTextBlockComponent: () => (/* reexport safe */ _annotation_TextBlock__WEBPACK_IMPORTED_MODULE_3__.traverseTextBlockComponent)
|
|
@@ -88494,7 +88502,7 @@ class IModelApp {
|
|
|
88494
88502
|
static makeIModelJsLogoCard() {
|
|
88495
88503
|
return this.makeLogoCard({
|
|
88496
88504
|
iconSrc: `${this.publicPath}images/about-imodeljs.svg`,
|
|
88497
|
-
heading: `<span
|
|
88505
|
+
heading: `<span class="itwinjs-header-lead">${this.localization.getLocalizedString("iModelJs:Notices.PoweredBy")}</span> iTwin.js`,
|
|
88498
88506
|
notice: `${ITWINJS_CORE_VERSION}<br>${COPYRIGHT_NOTICE}`,
|
|
88499
88507
|
});
|
|
88500
88508
|
}
|
|
@@ -89919,6 +89927,10 @@ let iModelJsCss = `
|
|
|
89919
89927
|
opacity:.7
|
|
89920
89928
|
}
|
|
89921
89929
|
|
|
89930
|
+
.itwinjs-header-lead {
|
|
89931
|
+
font-weight:normal;
|
|
89932
|
+
}
|
|
89933
|
+
|
|
89922
89934
|
.logo-card-header {
|
|
89923
89935
|
margin:auto;
|
|
89924
89936
|
font-size:18px;
|
|
@@ -169253,7 +169265,31 @@ class MapLayerImageryProvider {
|
|
|
169253
169265
|
get mutualExclusiveSubLayer() { return false; }
|
|
169254
169266
|
/** @internal */
|
|
169255
169267
|
get useGeographicTilingScheme() { return false; }
|
|
169256
|
-
|
|
169268
|
+
_cartoRange;
|
|
169269
|
+
/** Validates a cartographic range for NaN and infinite values.
|
|
169270
|
+
* @param range The cartographic range to validate.
|
|
169271
|
+
* @returns true if the range is valid, false otherwise.
|
|
169272
|
+
* @internal
|
|
169273
|
+
*/
|
|
169274
|
+
static isRangeValid(range) {
|
|
169275
|
+
if (!range) {
|
|
169276
|
+
return false;
|
|
169277
|
+
}
|
|
169278
|
+
return !Number.isNaN(range.low.x) && !Number.isNaN(range.low.y) &&
|
|
169279
|
+
!Number.isNaN(range.high.x) && !Number.isNaN(range.high.y) &&
|
|
169280
|
+
Number.isFinite(range.low.x) && Number.isFinite(range.low.y) &&
|
|
169281
|
+
Number.isFinite(range.high.x) && Number.isFinite(range.high.y);
|
|
169282
|
+
}
|
|
169283
|
+
/** Gets or sets the cartographic range for this provider.
|
|
169284
|
+
* When setting, if the range is invalid (contains NaN or infinite values), it will be stored as undefined.
|
|
169285
|
+
* When getting, returns undefined if the range was set to an invalid value.
|
|
169286
|
+
*/
|
|
169287
|
+
get cartoRange() {
|
|
169288
|
+
return this._cartoRange;
|
|
169289
|
+
}
|
|
169290
|
+
set cartoRange(range) {
|
|
169291
|
+
this._cartoRange = MapLayerImageryProvider.isRangeValid(range) ? range : undefined;
|
|
169292
|
+
}
|
|
169257
169293
|
/**
|
|
169258
169294
|
* This value is used internally for various computations, this should not get overriden.
|
|
169259
169295
|
* @internal
|
|
@@ -321818,7 +321854,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
321818
321854
|
/***/ ((module) => {
|
|
321819
321855
|
|
|
321820
321856
|
"use strict";
|
|
321821
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.3.0-dev.
|
|
321857
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.3.0-dev.26","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"}}');
|
|
321822
321858
|
|
|
321823
321859
|
/***/ })
|
|
321824
321860
|
|