@itwin/ecschema-rpcinterface-tests 4.9.0-dev.20 → 4.9.0-dev.22
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/_bea9.bundled-tests.js.map +1 -1
- package/lib/dist/bundled-tests.js +19 -36
- 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/vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_1_6_node_modules_loaders_gl_draco_di-0642a6.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_meshoptimizer_0_20_0_node_modules_meshoptimizer_index_m-a5ae61.bundled-tests.js.map +1 -1
- package/package.json +15 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_bea9.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|
|
|
1
|
+
{"version":3,"file":"_bea9.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|E:\\vsts_b\\28\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.1.6\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
|
|
@@ -100036,23 +100036,6 @@ class GraphicDescriptionBuilderImpl extends _render_GraphicAssembler__WEBPACK_IM
|
|
|
100036
100036
|
if (meshes.length === 0) {
|
|
100037
100037
|
return description;
|
|
100038
100038
|
}
|
|
100039
|
-
const featureTable = this.pickable && meshes.features?.anyDefined ? meshes.features : undefined;
|
|
100040
|
-
if (featureTable) {
|
|
100041
|
-
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_5__.assert)(undefined !== this.pickable);
|
|
100042
|
-
const features = _itwin_core_common__WEBPACK_IMPORTED_MODULE_4__.PackedFeatureTable.pack(featureTable);
|
|
100043
|
-
const range = meshes.range ?? new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Range3d();
|
|
100044
|
-
description.batch = {
|
|
100045
|
-
...this.pickable,
|
|
100046
|
-
range: range.toJSON(),
|
|
100047
|
-
modelId: this.pickable.modelId ?? this.pickable.id,
|
|
100048
|
-
featureTable: {
|
|
100049
|
-
multiModel: false,
|
|
100050
|
-
data: features.data,
|
|
100051
|
-
numFeatures: features.numFeatures,
|
|
100052
|
-
animationNodeIds: features.animationNodeIds,
|
|
100053
|
-
},
|
|
100054
|
-
};
|
|
100055
|
-
}
|
|
100056
100039
|
// If the meshes contain quantized positions, they are all quantized to the same range. If that range is small relative to the distance
|
|
100057
100040
|
// from the origin, quantization errors can produce display artifacts. Remove the translation from the quantization parameters and apply
|
|
100058
100041
|
// it in the transform instead.
|
|
@@ -100072,7 +100055,7 @@ class GraphicDescriptionBuilderImpl extends _render_GraphicAssembler__WEBPACK_IM
|
|
|
100072
100055
|
// In this case we need to modify the qOrigin of the graphic that will get created later since we have translated the origin.
|
|
100073
100056
|
// We can't modify it directly, but if we temporarily modify the range of the mesh used to create it the qOrigin will get created properly.
|
|
100074
100057
|
// Range is shared (not cloned) by all meshes and the mesh list itself, so modifying the range of the meshlist will modify it for all meshes.
|
|
100075
|
-
//
|
|
100058
|
+
// This will become the range in local coordinates of the batch, if we are creating a batch.
|
|
100076
100059
|
transformOrigin = verts.range.center;
|
|
100077
100060
|
if (!meshesRangeOffset) {
|
|
100078
100061
|
meshes.range?.low.subtractInPlace(transformOrigin);
|
|
@@ -100098,31 +100081,31 @@ class GraphicDescriptionBuilderImpl extends _render_GraphicAssembler__WEBPACK_IM
|
|
|
100098
100081
|
type: "viewIndependentOrigin",
|
|
100099
100082
|
origin: { x: origin.x, y: origin.y, z: origin.z },
|
|
100100
100083
|
};
|
|
100101
|
-
/* ###TODO } else if (this._instances) {
|
|
100102
|
-
primitive.modifier = {
|
|
100103
|
-
...this._instances,
|
|
100104
|
-
type: "instances",
|
|
100105
|
-
transformCenter: { x: this._instances.transformCenter.x, y: this._instances.transformCenter.y, z: this._instances.transformCenter.z },
|
|
100106
|
-
range: this._instances.range ? {
|
|
100107
|
-
low: { x: this._instances.range.low.x, y: this._instances.range.low.y, z: this._instances.range.low.z },
|
|
100108
|
-
high: { x: this._instances.range.high.x, y: this._instances.range.high.y, z: this._instances.range.high.z },
|
|
100109
|
-
} : undefined,
|
|
100110
|
-
};
|
|
100111
|
-
*/
|
|
100112
100084
|
}
|
|
100113
100085
|
description.primitives.push(primitive);
|
|
100114
100086
|
}
|
|
100115
100087
|
}
|
|
100116
|
-
// Restore the meshes range if we modified it above.
|
|
100117
|
-
if (meshesRangeOffset) {
|
|
100118
|
-
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_5__.assert)(undefined !== transformOrigin);
|
|
100119
|
-
meshes.range?.low.addInPlace(transformOrigin);
|
|
100120
|
-
meshes.range?.high.addInPlace(transformOrigin);
|
|
100121
|
-
}
|
|
100122
100088
|
this[_Symbols__WEBPACK_IMPORTED_MODULE_10__._accumulator].clear();
|
|
100123
100089
|
if (transformOrigin) {
|
|
100124
100090
|
description.translation = { x: transformOrigin.x, y: transformOrigin.y, z: transformOrigin.z };
|
|
100125
100091
|
}
|
|
100092
|
+
const featureTable = this.pickable && meshes.features?.anyDefined ? meshes.features : undefined;
|
|
100093
|
+
if (featureTable) {
|
|
100094
|
+
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_5__.assert)(undefined !== this.pickable);
|
|
100095
|
+
const features = _itwin_core_common__WEBPACK_IMPORTED_MODULE_4__.PackedFeatureTable.pack(featureTable);
|
|
100096
|
+
const range = meshes.range ?? new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Range3d();
|
|
100097
|
+
description.batch = {
|
|
100098
|
+
...this.pickable,
|
|
100099
|
+
range: range.toJSON(),
|
|
100100
|
+
modelId: this.pickable.modelId ?? this.pickable.id,
|
|
100101
|
+
featureTable: {
|
|
100102
|
+
multiModel: false,
|
|
100103
|
+
data: features.data,
|
|
100104
|
+
numFeatures: features.numFeatures,
|
|
100105
|
+
animationNodeIds: features.animationNodeIds,
|
|
100106
|
+
},
|
|
100107
|
+
};
|
|
100108
|
+
}
|
|
100126
100109
|
return description;
|
|
100127
100110
|
}
|
|
100128
100111
|
createPrimitive(mesh) {
|
|
@@ -301972,7 +301955,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
301972
301955
|
/***/ ((module) => {
|
|
301973
301956
|
|
|
301974
301957
|
"use strict";
|
|
301975
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.9.0-dev.
|
|
301958
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.9.0-dev.22","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 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","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","docs":"betools docs --includes=../../generated-docs/extract --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 -f visualstudio \\"./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 -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 && 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:^4.9.0-dev.22","@itwin/core-bentley":"workspace:^4.9.0-dev.22","@itwin/core-common":"workspace:^4.9.0-dev.22","@itwin/core-geometry":"workspace:^4.9.0-dev.22","@itwin/core-orbitgt":"workspace:^4.9.0-dev.22","@itwin/core-quantity":"workspace:^4.9.0-dev.22"},"//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":"^4.0.2","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/mocha":"^10.0.6","@types/sinon":"^17.0.2","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","chai":"^4.3.10","chai-as-promised":"^7.1.1","cpx2":"^3.0.0","eslint":"^8.56.0","glob":"^10.3.12","mocha":"^10.2.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^17.0.1","source-map-loader":"^4.0.0","typescript":"~5.3.3","typemoq":"^2.1.0","webpack":"^5.76.0"},"//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.2.5","@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","meshoptimizer":"~0.20.0","wms-capabilities":"0.4.0"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"}}');
|
|
301976
301959
|
|
|
301977
301960
|
/***/ })
|
|
301978
301961
|
|