@itwin/ecschema-rpcinterface-tests 5.0.0-dev.97 → 5.0.0-dev.99
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 +37 -24
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +16 -16
|
@@ -27393,6 +27393,7 @@ var QueryRowFormat;
|
|
|
27393
27393
|
QueryRowFormat[QueryRowFormat["UseECSqlPropertyIndexes"] = 1] = "UseECSqlPropertyIndexes";
|
|
27394
27394
|
/** Each row is an object in which each non-null column value can be accessed by a [remapped property name]($docs/learning/ECSqlRowFormat.md).
|
|
27395
27395
|
* This format is backwards-compatible with the format produced by iTwin.js 2.x. Null values are omitted.
|
|
27396
|
+
* @depreacted in 4.11. Switch to UseECSqlPropertyIndexes for best performance, and UseECSqlPropertyNames if you want a JSON object as the result.
|
|
27396
27397
|
*/
|
|
27397
27398
|
QueryRowFormat[QueryRowFormat["UseJsPropertyNames"] = 2] = "UseJsPropertyNames";
|
|
27398
27399
|
})(QueryRowFormat || (QueryRowFormat = {}));
|
|
@@ -27463,8 +27464,10 @@ class QueryOptionsBuilder {
|
|
|
27463
27464
|
* If set ECClassId, SourceECClassId and TargetECClassId system properties will return qualified name of class instead of a @typedef Id64String.
|
|
27464
27465
|
* @param val A boolean value.
|
|
27465
27466
|
* @returns @type QueryOptionsBuilder for fluent interface.
|
|
27467
|
+
* @deprecated in 4.11 Use ecsql function ec_classname to get class name instead.
|
|
27466
27468
|
*/
|
|
27467
27469
|
setConvertClassIdsToNames(val) {
|
|
27470
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
27468
27471
|
this._options.convertClassIdsToClassNames = val;
|
|
27469
27472
|
return this;
|
|
27470
27473
|
}
|
|
@@ -268706,10 +268709,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
268706
268709
|
|
|
268707
268710
|
|
|
268708
268711
|
/**
|
|
268709
|
-
* A
|
|
268710
|
-
* * A planar contour (any Loop, Path, or parityRegion)
|
|
268712
|
+
* A RotationalSweep is
|
|
268713
|
+
* * A planar contour (any Loop, Path, or parityRegion).
|
|
268711
268714
|
* * An axis vector.
|
|
268712
|
-
* * The planar contour is expected to be in the plane of the axis vector
|
|
268715
|
+
* * The planar contour is expected to be in the plane of the axis vector.
|
|
268713
268716
|
* * The contour may have points and/or lines that are on the axis, but otherwise is entirely on one side of the axis.
|
|
268714
268717
|
* * A sweep angle.
|
|
268715
268718
|
* @public
|
|
@@ -268724,14 +268727,14 @@ class RotationalSweep extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.Solid
|
|
|
268724
268727
|
super(capped);
|
|
268725
268728
|
this._contour = contour;
|
|
268726
268729
|
this._normalizedAxis = normalizedAxis;
|
|
268727
|
-
this.capped = capped;
|
|
268728
268730
|
this._sweepAngle = sweepAngle;
|
|
268729
268731
|
}
|
|
268730
|
-
/**
|
|
268731
|
-
*
|
|
268732
|
-
* @param
|
|
268733
|
-
* @param
|
|
268734
|
-
* @param
|
|
268732
|
+
/**
|
|
268733
|
+
* Create a rotational sweep.
|
|
268734
|
+
* @param contour profile to sweep, coplanar with axis (CAPTURED).
|
|
268735
|
+
* @param axis rotation axis.
|
|
268736
|
+
* @param sweepAngle signed angular sweep.
|
|
268737
|
+
* @param capped whether to cap the surface to make a solid.
|
|
268735
268738
|
*/
|
|
268736
268739
|
static create(contour, axis, sweepAngle, capped) {
|
|
268737
268740
|
if (!axis.direction.normalizeInPlace())
|
|
@@ -268741,10 +268744,11 @@ class RotationalSweep extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.Solid
|
|
|
268741
268744
|
return undefined;
|
|
268742
268745
|
return new RotationalSweep(sweepable, axis, sweepAngle.clone(), capped);
|
|
268743
268746
|
}
|
|
268744
|
-
/**
|
|
268745
|
-
*
|
|
268747
|
+
/**
|
|
268748
|
+
* Return a coordinate frame (right handed unit vectors).
|
|
268749
|
+
* * origin at origin of rotation ray.
|
|
268746
268750
|
* * z direction along the rotation ray.
|
|
268747
|
-
* * y direction perpendicular to the base contour plane
|
|
268751
|
+
* * y direction perpendicular to the base contour plane.
|
|
268748
268752
|
*/
|
|
268749
268753
|
getConstructiveFrame() {
|
|
268750
268754
|
const contourPerpendicular = this._contour.localToWorld.matrix.columnZ();
|
|
@@ -268754,26 +268758,37 @@ class RotationalSweep extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.Solid
|
|
|
268754
268758
|
}
|
|
268755
268759
|
return undefined;
|
|
268756
268760
|
}
|
|
268757
|
-
/**
|
|
268758
|
-
cloneAxisRay() {
|
|
268761
|
+
/** Return clone of (not reference to) the axis vector. */
|
|
268762
|
+
cloneAxisRay() {
|
|
268763
|
+
return this._normalizedAxis.clone();
|
|
268764
|
+
}
|
|
268759
268765
|
/** Return (REFERENCE TO) the swept curves. */
|
|
268760
|
-
getCurves() {
|
|
268766
|
+
getCurves() {
|
|
268767
|
+
return this._contour.curves;
|
|
268768
|
+
}
|
|
268761
268769
|
/** Return (REFERENCE TO) the swept curves with containing plane markup. */
|
|
268762
|
-
getSweepContourRef() {
|
|
268770
|
+
getSweepContourRef() {
|
|
268771
|
+
return this._contour;
|
|
268772
|
+
}
|
|
268763
268773
|
/** Return the sweep angle. */
|
|
268764
|
-
getSweep() {
|
|
268774
|
+
getSweep() {
|
|
268775
|
+
return this._sweepAngle.clone();
|
|
268776
|
+
}
|
|
268765
268777
|
/** Test if `other` is a `RotationalSweep` */
|
|
268766
|
-
isSameGeometryClass(other) {
|
|
268778
|
+
isSameGeometryClass(other) {
|
|
268779
|
+
return other instanceof RotationalSweep;
|
|
268780
|
+
}
|
|
268767
268781
|
/** Test for same axis, capping, and swept geometry. */
|
|
268768
268782
|
isAlmostEqual(other) {
|
|
268769
268783
|
if (other instanceof RotationalSweep) {
|
|
268770
268784
|
return this._contour.isAlmostEqual(other._contour)
|
|
268771
268785
|
&& this._normalizedAxis.isAlmostEqual(other._normalizedAxis)
|
|
268786
|
+
&& this._sweepAngle.isAlmostEqual(other._sweepAngle)
|
|
268772
268787
|
&& this.capped === other.capped;
|
|
268773
268788
|
}
|
|
268774
268789
|
return false;
|
|
268775
268790
|
}
|
|
268776
|
-
/**
|
|
268791
|
+
/** Return a deep clone */
|
|
268777
268792
|
clone() {
|
|
268778
268793
|
return new RotationalSweep(this._contour.clone(), this._normalizedAxis.clone(), this._sweepAngle.clone(), this.capped);
|
|
268779
268794
|
}
|
|
@@ -268800,7 +268815,7 @@ class RotationalSweep extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.Solid
|
|
|
268800
268815
|
const result = this.clone();
|
|
268801
268816
|
return result.tryTransformInPlace(transform) ? result : undefined;
|
|
268802
268817
|
}
|
|
268803
|
-
/** Dispatch to strongly typed handler
|
|
268818
|
+
/** Dispatch to strongly typed handler `handler.handleRotationalSweep(this)`. */
|
|
268804
268819
|
dispatchToGeometryHandler(handler) {
|
|
268805
268820
|
return handler.handleRotationalSweep(this);
|
|
268806
268821
|
}
|
|
@@ -268841,9 +268856,7 @@ class RotationalSweep extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.Solid
|
|
|
268841
268856
|
strokes.extendRange(range, this.getFractionalRotationTransform(i / numStep, stepTransform));
|
|
268842
268857
|
}
|
|
268843
268858
|
}
|
|
268844
|
-
/**
|
|
268845
|
-
* @return true if this is a closed volume.
|
|
268846
|
-
*/
|
|
268859
|
+
/** Specify if the sweep forms a closed volume. */
|
|
268847
268860
|
get isClosedVolume() {
|
|
268848
268861
|
return this.capped || this._sweepAngle.isFullCircle;
|
|
268849
268862
|
}
|
|
@@ -311047,7 +311060,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
311047
311060
|
/***/ ((module) => {
|
|
311048
311061
|
|
|
311049
311062
|
"use strict";
|
|
311050
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.0.0-dev.
|
|
311063
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.0.0-dev.99","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","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","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","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:*"},"//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/eslint-plugin":"5.0.0-dev.1","@types/chai-as-promised":"^7","@vitest/browser":"^3.0.6","@vitest/coverage-v8":"^3.0.6","cpx2":"^8.0.0","eslint":"^9.13.0","glob":"^10.3.12","playwright":"~1.47.1","rimraf":"^6.0.1","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/cloud-agnostic-core":"^2.2.4","@itwin/object-storage-core":"^2.3.0","@itwin/core-i18n":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
|
|
311051
311064
|
|
|
311052
311065
|
/***/ })
|
|
311053
311066
|
|