@itwin/ecschema-rpcinterface-tests 3.3.0-dev.83 → 3.4.0-dev.0
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/_c41d.bundled-tests.js.map +1 -1
- package/lib/dist/bundled-tests.js +25 -21
- 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_2_5_node_modules_loaders_gl_draco_di-e0b0bc.bundled-tests.js.map +1 -1
- package/package.json +16 -16
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_c41d.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_b\\
|
|
1
|
+
{"version":3,"file":"_c41d.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_b\\6\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.2.5\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
|
|
@@ -96626,13 +96626,13 @@ class Constant extends SchemaItem_1.SchemaItem {
|
|
|
96626
96626
|
super(schema, name);
|
|
96627
96627
|
this.schemaItemType = ECObjects_1.SchemaItemType.Constant;
|
|
96628
96628
|
this._definition = "";
|
|
96629
|
-
this._denominator = 1.0;
|
|
96630
|
-
this._numerator = 1.0;
|
|
96631
96629
|
}
|
|
96632
96630
|
get phenomenon() { return this._phenomenon; }
|
|
96633
96631
|
get definition() { return this._definition; }
|
|
96634
|
-
get numerator() { return this._numerator; }
|
|
96635
|
-
get denominator() { return this._denominator; }
|
|
96632
|
+
get numerator() { var _a; return (_a = this._numerator) !== null && _a !== void 0 ? _a : 1.0; }
|
|
96633
|
+
get denominator() { var _a; return (_a = this._denominator) !== null && _a !== void 0 ? _a : 1.0; }
|
|
96634
|
+
get hasNumerator() { return (this._numerator !== undefined); }
|
|
96635
|
+
get hasDenominator() { return (this._denominator !== undefined); }
|
|
96636
96636
|
/**
|
|
96637
96637
|
* Save this Constants properties to an object for serializing to JSON.
|
|
96638
96638
|
* @param standalone Serialization includes only this object (as opposed to the full schema).
|
|
@@ -96643,18 +96643,19 @@ class Constant extends SchemaItem_1.SchemaItem {
|
|
|
96643
96643
|
if (this.phenomenon !== undefined)
|
|
96644
96644
|
schemaJson.phenomenon = this.phenomenon.fullName;
|
|
96645
96645
|
schemaJson.definition = this.definition;
|
|
96646
|
-
if (this.
|
|
96646
|
+
if (this.hasNumerator)
|
|
96647
96647
|
schemaJson.numerator = this.numerator;
|
|
96648
|
-
|
|
96648
|
+
if (this.hasDenominator)
|
|
96649
|
+
schemaJson.denominator = this.denominator;
|
|
96649
96650
|
return schemaJson;
|
|
96650
96651
|
}
|
|
96651
96652
|
/** @internal */
|
|
96652
96653
|
async toXml(schemaXml) {
|
|
96653
96654
|
const itemElement = await super.toXml(schemaXml);
|
|
96654
96655
|
itemElement.setAttribute("definition", this.definition);
|
|
96655
|
-
if (
|
|
96656
|
+
if (this.hasNumerator)
|
|
96656
96657
|
itemElement.setAttribute("numerator", this.numerator.toString());
|
|
96657
|
-
if (
|
|
96658
|
+
if (this.hasDenominator)
|
|
96658
96659
|
itemElement.setAttribute("denominator", this.denominator.toString());
|
|
96659
96660
|
const phenomenon = await this.phenomenon;
|
|
96660
96661
|
if (undefined !== phenomenon) {
|
|
@@ -99790,16 +99791,16 @@ class Unit extends SchemaItem_1.SchemaItem {
|
|
|
99790
99791
|
super(schema, name);
|
|
99791
99792
|
this.schemaItemType = ECObjects_1.SchemaItemType.Unit;
|
|
99792
99793
|
this._definition = "";
|
|
99793
|
-
this._numerator = 1.0;
|
|
99794
|
-
this._denominator = 1.0;
|
|
99795
|
-
this._offset = 0.0;
|
|
99796
99794
|
}
|
|
99797
99795
|
get phenomenon() { return this._phenomenon; }
|
|
99798
99796
|
get unitSystem() { return this._unitSystem; }
|
|
99799
99797
|
get definition() { return this._definition; }
|
|
99800
|
-
get numerator() { return this._numerator; }
|
|
99801
|
-
get offset() { return this._offset; }
|
|
99802
|
-
get denominator() { return this._denominator; }
|
|
99798
|
+
get numerator() { var _a; return (_a = this._numerator) !== null && _a !== void 0 ? _a : 1.0; }
|
|
99799
|
+
get offset() { var _a; return (_a = this._offset) !== null && _a !== void 0 ? _a : 0.0; }
|
|
99800
|
+
get denominator() { var _a; return (_a = this._denominator) !== null && _a !== void 0 ? _a : 1.0; }
|
|
99801
|
+
get hasNumerator() { return (this._numerator !== undefined); }
|
|
99802
|
+
get hasOffset() { return (this._offset !== undefined); }
|
|
99803
|
+
get hasDenominator() { return (this._denominator !== undefined); }
|
|
99803
99804
|
/**
|
|
99804
99805
|
* Returns true if a conversion can be calculated between the input units
|
|
99805
99806
|
* @alpha
|
|
@@ -99827,11 +99828,11 @@ class Unit extends SchemaItem_1.SchemaItem {
|
|
|
99827
99828
|
schemaJson.phenomenon = this.phenomenon.fullName;
|
|
99828
99829
|
schemaJson.unitSystem = this.unitSystem.fullName;
|
|
99829
99830
|
schemaJson.definition = this.definition;
|
|
99830
|
-
if (
|
|
99831
|
+
if (this.hasNumerator)
|
|
99831
99832
|
schemaJson.numerator = this.numerator;
|
|
99832
|
-
if (
|
|
99833
|
+
if (this.hasDenominator)
|
|
99833
99834
|
schemaJson.denominator = this.denominator;
|
|
99834
|
-
if (
|
|
99835
|
+
if (this.hasOffset)
|
|
99835
99836
|
schemaJson.offset = this.offset;
|
|
99836
99837
|
return schemaJson;
|
|
99837
99838
|
}
|
|
@@ -99849,9 +99850,12 @@ class Unit extends SchemaItem_1.SchemaItem {
|
|
|
99849
99850
|
itemElement.setAttribute("unitSystem", unitSystemName);
|
|
99850
99851
|
}
|
|
99851
99852
|
itemElement.setAttribute("definition", this.definition);
|
|
99852
|
-
|
|
99853
|
-
|
|
99854
|
-
|
|
99853
|
+
if (this.hasNumerator)
|
|
99854
|
+
itemElement.setAttribute("numerator", this.numerator.toString());
|
|
99855
|
+
if (this.hasDenominator)
|
|
99856
|
+
itemElement.setAttribute("denominator", this.denominator.toString());
|
|
99857
|
+
if (this.hasOffset)
|
|
99858
|
+
itemElement.setAttribute("offset", this.offset.toString());
|
|
99855
99859
|
return itemElement;
|
|
99856
99860
|
}
|
|
99857
99861
|
fromJSONSync(unitProps) {
|
|
@@ -305202,7 +305206,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
305202
305206
|
/***/ ((module) => {
|
|
305203
305207
|
|
|
305204
305208
|
"use strict";
|
|
305205
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.
|
|
305209
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.0-dev.0","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":"tsc 1>&2 --outDir lib/cjs","build:esm":"tsc 1>&2 --module ES2020 --outDir lib/esm","clean":"rimraf lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","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.4.0-dev.0","@itwin/core-bentley":"workspace:^3.4.0-dev.0","@itwin/core-common":"workspace:^3.4.0-dev.0","@itwin/core-geometry":"workspace:^3.4.0-dev.0","@itwin/core-orbitgt":"workspace:^3.4.0-dev.0","@itwin/core-quantity":"workspace:^3.4.0-dev.0","@itwin/webgl-compatibility":"workspace:^3.4.0-dev.0"},"//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":"16.11.7","@types/qs":"^6.5.0","@types/semver":"^7.3.9","@types/superagent":"^4.1.14","@types/sinon":"^9.0.0","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/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"},"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"}}]}}');
|
|
305206
305210
|
|
|
305207
305211
|
/***/ })
|
|
305208
305212
|
|