@itwin/ecschema-rpcinterface-tests 4.6.0-dev.7 → 4.6.0-dev.9
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 +43 -35
- 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 +16 -16
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_bea9.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\
|
|
1
|
+
{"version":3,"file":"_bea9.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\21\\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":""}
|
|
@@ -64245,23 +64245,25 @@ var ECClassModifier;
|
|
|
64245
64245
|
ECClassModifier[ECClassModifier["Abstract"] = 1] = "Abstract";
|
|
64246
64246
|
ECClassModifier[ECClassModifier["Sealed"] = 2] = "Sealed";
|
|
64247
64247
|
})(ECClassModifier = exports.ECClassModifier || (exports.ECClassModifier = {}));
|
|
64248
|
-
/**
|
|
64248
|
+
/**
|
|
64249
|
+
* An enumeration that has all the schema item type names as values
|
|
64250
|
+
* @beta */
|
|
64249
64251
|
var SchemaItemType;
|
|
64250
64252
|
(function (SchemaItemType) {
|
|
64251
|
-
SchemaItemType[
|
|
64252
|
-
SchemaItemType[
|
|
64253
|
-
SchemaItemType[
|
|
64254
|
-
SchemaItemType[
|
|
64255
|
-
SchemaItemType[
|
|
64256
|
-
SchemaItemType[
|
|
64257
|
-
SchemaItemType[
|
|
64258
|
-
SchemaItemType[
|
|
64259
|
-
SchemaItemType[
|
|
64260
|
-
SchemaItemType[
|
|
64261
|
-
SchemaItemType[
|
|
64262
|
-
SchemaItemType[
|
|
64263
|
-
SchemaItemType[
|
|
64264
|
-
SchemaItemType[
|
|
64253
|
+
SchemaItemType["EntityClass"] = "EntityClass";
|
|
64254
|
+
SchemaItemType["Mixin"] = "Mixin";
|
|
64255
|
+
SchemaItemType["StructClass"] = "StructClass";
|
|
64256
|
+
SchemaItemType["CustomAttributeClass"] = "CustomAttributeClass";
|
|
64257
|
+
SchemaItemType["RelationshipClass"] = "RelationshipClass";
|
|
64258
|
+
SchemaItemType["Enumeration"] = "Enumeration";
|
|
64259
|
+
SchemaItemType["KindOfQuantity"] = "KindOfQuantity";
|
|
64260
|
+
SchemaItemType["PropertyCategory"] = "PropertyCategory";
|
|
64261
|
+
SchemaItemType["Unit"] = "Unit";
|
|
64262
|
+
SchemaItemType["InvertedUnit"] = "InvertedUnit";
|
|
64263
|
+
SchemaItemType["Constant"] = "Constant";
|
|
64264
|
+
SchemaItemType["Phenomenon"] = "Phenomenon";
|
|
64265
|
+
SchemaItemType["UnitSystem"] = "UnitSystem";
|
|
64266
|
+
SchemaItemType["Format"] = "Format";
|
|
64265
64267
|
})(SchemaItemType = exports.SchemaItemType || (exports.SchemaItemType = {}));
|
|
64266
64268
|
/**
|
|
64267
64269
|
* Primitive data types for ECProperties.
|
|
@@ -64403,25 +64405,10 @@ exports.parseSchemaItemType = parseSchemaItemType;
|
|
|
64403
64405
|
* @param value The SchemaItemType to stringify.
|
|
64404
64406
|
* @return A string representing the provided SchemaItemType. If the type is not valid, an empty string is returned.
|
|
64405
64407
|
* @beta
|
|
64408
|
+
* @deprecated in 4.6.0 SchemaItemType is a string enum so just use it directly
|
|
64406
64409
|
*/
|
|
64407
64410
|
function schemaItemTypeToString(value) {
|
|
64408
|
-
|
|
64409
|
-
case SchemaItemType.EntityClass: return "EntityClass";
|
|
64410
|
-
case SchemaItemType.Mixin: return "Mixin";
|
|
64411
|
-
case SchemaItemType.StructClass: return "StructClass";
|
|
64412
|
-
case SchemaItemType.CustomAttributeClass: return "CustomAttributeClass";
|
|
64413
|
-
case SchemaItemType.RelationshipClass: return "RelationshipClass";
|
|
64414
|
-
case SchemaItemType.Enumeration: return "Enumeration";
|
|
64415
|
-
case SchemaItemType.KindOfQuantity: return "KindOfQuantity";
|
|
64416
|
-
case SchemaItemType.PropertyCategory: return "PropertyCategory";
|
|
64417
|
-
case SchemaItemType.Unit: return "Unit";
|
|
64418
|
-
case SchemaItemType.InvertedUnit: return "InvertedUnit";
|
|
64419
|
-
case SchemaItemType.Constant: return "Constant";
|
|
64420
|
-
case SchemaItemType.Phenomenon: return "Phenomenon";
|
|
64421
|
-
case SchemaItemType.UnitSystem: return "UnitSystem";
|
|
64422
|
-
case SchemaItemType.Format: return "Format";
|
|
64423
|
-
default: throw new Exception_1.ECObjectsError(Exception_1.ECObjectsStatus.InvalidSchemaItemType, "An invalid SchemaItemType has been provided.");
|
|
64424
|
-
}
|
|
64411
|
+
return value; // TODO: Remove
|
|
64425
64412
|
}
|
|
64426
64413
|
exports.schemaItemTypeToString = schemaItemTypeToString;
|
|
64427
64414
|
/** @internal */
|
|
@@ -65413,7 +65400,7 @@ class Constant extends SchemaItem_1.SchemaItem {
|
|
|
65413
65400
|
* @param standalone Serialization includes only this object (as opposed to the full schema).
|
|
65414
65401
|
* @param includeSchemaVersion Include the Schema's version information in the serialized object.
|
|
65415
65402
|
*/
|
|
65416
|
-
toJSON(standalone, includeSchemaVersion) {
|
|
65403
|
+
toJSON(standalone = false, includeSchemaVersion = false) {
|
|
65417
65404
|
const schemaJson = super.toJSON(standalone, includeSchemaVersion);
|
|
65418
65405
|
if (this.phenomenon !== undefined)
|
|
65419
65406
|
schemaJson.phenomenon = this.phenomenon.fullName;
|
|
@@ -66617,6 +66604,13 @@ class KindOfQuantity extends SchemaItem_1.SchemaItem {
|
|
|
66617
66604
|
if (undefined !== kindOfQuantityProps.presentationUnits)
|
|
66618
66605
|
await this.processPresentationUnits(kindOfQuantityProps.presentationUnits);
|
|
66619
66606
|
}
|
|
66607
|
+
/**
|
|
66608
|
+
* @alpha
|
|
66609
|
+
* Used for schema editing.
|
|
66610
|
+
*/
|
|
66611
|
+
setRelativeError(relativeError) {
|
|
66612
|
+
this._relativeError = relativeError;
|
|
66613
|
+
}
|
|
66620
66614
|
}
|
|
66621
66615
|
exports.KindOfQuantity = KindOfQuantity;
|
|
66622
66616
|
/**
|
|
@@ -68554,6 +68548,20 @@ class Schema {
|
|
|
68554
68548
|
const schema = object;
|
|
68555
68549
|
return schema !== undefined && schema.schemaKey !== undefined && schema.context !== undefined;
|
|
68556
68550
|
}
|
|
68551
|
+
/**
|
|
68552
|
+
* @alpha
|
|
68553
|
+
* Used for schema editing.
|
|
68554
|
+
*/
|
|
68555
|
+
setDisplayLabel(displayLabel) {
|
|
68556
|
+
this._label = displayLabel;
|
|
68557
|
+
}
|
|
68558
|
+
/**
|
|
68559
|
+
* @alpha
|
|
68560
|
+
* Used for schema editing.
|
|
68561
|
+
*/
|
|
68562
|
+
setDescription(description) {
|
|
68563
|
+
this._description = description;
|
|
68564
|
+
}
|
|
68557
68565
|
}
|
|
68558
68566
|
exports.Schema = Schema;
|
|
68559
68567
|
/**
|
|
@@ -68619,7 +68627,7 @@ class SchemaItem {
|
|
|
68619
68627
|
if (includeSchemaVersion) // check flag to see if we should output version
|
|
68620
68628
|
itemJson.schemaVersion = this.key.schemaKey.version.toString();
|
|
68621
68629
|
}
|
|
68622
|
-
itemJson.schemaItemType =
|
|
68630
|
+
itemJson.schemaItemType = this.schemaItemType;
|
|
68623
68631
|
if (undefined !== this.label)
|
|
68624
68632
|
itemJson.label = this.label;
|
|
68625
68633
|
if (undefined !== this.description)
|
|
@@ -293729,7 +293737,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
293729
293737
|
/***/ ((module) => {
|
|
293730
293738
|
|
|
293731
293739
|
"use strict";
|
|
293732
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.6.0-dev.
|
|
293740
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.6.0-dev.9","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 -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.6.0-dev.9","@itwin/core-bentley":"workspace:^4.6.0-dev.9","@itwin/core-common":"workspace:^4.6.0-dev.9","@itwin/core-geometry":"workspace:^4.6.0-dev.9","@itwin/core-orbitgt":"workspace:^4.6.0-dev.9","@itwin/core-quantity":"workspace:^4.6.0-dev.9"},"//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.0-dev.44","@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.44.0","glob":"^7.1.2","mocha":"^10.2.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^17.0.1","source-map-loader":"^4.0.0","typescript":"~5.0.2","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.1.0","@itwin/object-storage-core":"^2.2.2","@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"}}');
|
|
293733
293741
|
|
|
293734
293742
|
/***/ })
|
|
293735
293743
|
|