@itwin/ecschema-rpcinterface-tests 3.6.0-dev.1 → 3.6.0-dev.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/_cb67.bundled-tests.js.map +1 -1
- package/lib/dist/bundled-tests.js +27 -18
- 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_12_node_modules_loaders_gl_draco_d-b19815.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":"_cb67.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\
|
|
1
|
+
{"version":3,"file":"_cb67.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\3\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.2.12\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
|
|
@@ -113813,6 +113813,7 @@ class GraphicalEditingScope extends _BriefcaseTxns__WEBPACK_IMPORTED_MODULE_2__.
|
|
|
113813
113813
|
notifyGeometryChanged(props) {
|
|
113814
113814
|
const changes = _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.ModelGeometryChanges.iterable(props);
|
|
113815
113815
|
const modelIds = [];
|
|
113816
|
+
let deletedIds;
|
|
113816
113817
|
for (const modelChanges of changes) {
|
|
113817
113818
|
// ###TODO do we care about the model range?
|
|
113818
113819
|
let list = this._geometryChanges.get(modelChanges.id);
|
|
@@ -113827,11 +113828,16 @@ class GraphicalEditingScope extends _BriefcaseTxns__WEBPACK_IMPORTED_MODULE_2__.
|
|
|
113827
113828
|
}
|
|
113828
113829
|
list.insert(elementChange);
|
|
113829
113830
|
if (_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.DbOpcode.Delete === elementChange.type) {
|
|
113830
|
-
|
|
113831
|
-
|
|
113831
|
+
if (undefined === deletedIds)
|
|
113832
|
+
deletedIds = new Set();
|
|
113833
|
+
deletedIds.add(elementChange.id);
|
|
113832
113834
|
}
|
|
113833
113835
|
}
|
|
113834
113836
|
}
|
|
113837
|
+
if (deletedIds) {
|
|
113838
|
+
this.iModel.selectionSet.remove(deletedIds);
|
|
113839
|
+
this.iModel.hilited.setHilite(deletedIds, false);
|
|
113840
|
+
}
|
|
113835
113841
|
this.onGeometryChanges.raiseEvent(changes, this);
|
|
113836
113842
|
}
|
|
113837
113843
|
}
|
|
@@ -119631,13 +119637,15 @@ class HiliteSet {
|
|
|
119631
119637
|
* @param onOff True to add the elements to the hilited set, false to remove them.
|
|
119632
119638
|
*/
|
|
119633
119639
|
setHilite(arg, onOff) {
|
|
119640
|
+
const oldSize = this.elements.size;
|
|
119634
119641
|
for (const id of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(arg)) {
|
|
119635
119642
|
if (onOff)
|
|
119636
119643
|
this.elements.addId(id);
|
|
119637
119644
|
else
|
|
119638
119645
|
this.elements.deleteId(id);
|
|
119639
119646
|
}
|
|
119640
|
-
|
|
119647
|
+
if (oldSize !== this.elements.size)
|
|
119648
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.viewManager.onSelectionSetChanged(this.iModel);
|
|
119641
119649
|
}
|
|
119642
119650
|
}
|
|
119643
119651
|
/** A set of *currently selected* elements for an IModelConnection.
|
|
@@ -201829,34 +201837,35 @@ class BSplineCurve3d extends BSplineCurve3dBase {
|
|
|
201829
201837
|
return _BSplineCurveOps__WEBPACK_IMPORTED_MODULE_16__.BSplineCurveOps.createThroughPoints(options.fitPoints, 4); // temporary
|
|
201830
201838
|
}
|
|
201831
201839
|
/** Create a bspline with given knots.
|
|
201832
|
-
*
|
|
201833
|
-
*
|
|
201834
|
-
*
|
|
201835
|
-
* ** If poleArray.length + order == knotArray.length, the first and last are assumed to be the
|
|
201836
|
-
* extraneous knots of classic clamping.
|
|
201837
|
-
* ** If poleArray.length + order == knotArray.length + 2, the knots are in modern form.
|
|
201838
|
-
*
|
|
201840
|
+
* * Only two knot count conditions are recognized; all others return undefined:
|
|
201841
|
+
* * If poleArray.length + order === knotArray.length, the first and last are assumed to be the extraneous knots of classic clamping.
|
|
201842
|
+
* * If poleArray.length + order === knotArray.length + 2, the knots are in modern form.
|
|
201839
201843
|
*/
|
|
201840
201844
|
static create(poleArray, knotArray, order) {
|
|
201845
|
+
if (order < 2)
|
|
201846
|
+
return undefined;
|
|
201841
201847
|
let numPoles = poleArray.length;
|
|
201842
201848
|
if (poleArray instanceof Float64Array) {
|
|
201843
201849
|
numPoles /= 3; // blocked as xyz
|
|
201844
201850
|
}
|
|
201851
|
+
if (numPoles < order)
|
|
201852
|
+
return undefined;
|
|
201845
201853
|
const numKnots = knotArray.length;
|
|
201846
|
-
|
|
201847
|
-
|
|
201848
|
-
|
|
201854
|
+
let skipFirstAndLast;
|
|
201855
|
+
if (numPoles + order === numKnots)
|
|
201856
|
+
skipFirstAndLast = true; // classic (first/last knots extraneous)
|
|
201857
|
+
else if (numPoles + order === numKnots + 2)
|
|
201858
|
+
skipFirstAndLast = false; // modern
|
|
201859
|
+
else
|
|
201849
201860
|
return undefined;
|
|
201850
201861
|
const knots = _KnotVector__WEBPACK_IMPORTED_MODULE_3__.KnotVector.create(knotArray, order - 1, skipFirstAndLast);
|
|
201851
201862
|
const curve = new BSplineCurve3d(numPoles, order, knots);
|
|
201863
|
+
let i = 0;
|
|
201852
201864
|
if (poleArray instanceof Float64Array) {
|
|
201853
|
-
|
|
201854
|
-
for (const coordinate of poleArray) {
|
|
201865
|
+
for (const coordinate of poleArray)
|
|
201855
201866
|
curve._bcurve.packedData[i++] = coordinate;
|
|
201856
|
-
}
|
|
201857
201867
|
}
|
|
201858
201868
|
else {
|
|
201859
|
-
let i = 0;
|
|
201860
201869
|
for (const p of poleArray) {
|
|
201861
201870
|
curve._bcurve.packedData[i++] = p.x;
|
|
201862
201871
|
curve._bcurve.packedData[i++] = p.y;
|
|
@@ -311666,7 +311675,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
311666
311675
|
/***/ ((module) => {
|
|
311667
311676
|
|
|
311668
311677
|
"use strict";
|
|
311669
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.6.0-dev.
|
|
311678
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.6.0-dev.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.6.0-dev.3","@itwin/core-bentley":"workspace:^3.6.0-dev.3","@itwin/core-common":"workspace:^3.6.0-dev.3","@itwin/core-geometry":"workspace:^3.6.0-dev.3","@itwin/core-orbitgt":"workspace:^3.6.0-dev.3","@itwin/core-quantity":"workspace:^3.6.0-dev.3","@itwin/webgl-compatibility":"workspace:^3.6.0-dev.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":"18.11.5","@types/qs":"^6.5.0","@types/semver":"7.3.10","@types/superagent":"^4.1.14","@types/sinon":"^9.0.0","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","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"}}]}}');
|
|
311670
311679
|
|
|
311671
311680
|
/***/ })
|
|
311672
311681
|
|