@itwin/ecschema-rpcinterface-tests 4.9.0-dev.21 → 4.9.0-dev.23

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.
@@ -1 +1 @@
1
- {"version":3,"file":"_bea9.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\18\\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":""}
1
+ {"version":3,"file":"_bea9.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\14\\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":""}
@@ -4317,41 +4317,6 @@ __exportStar(__webpack_require__(/*! ./TestFrontendAuthorizationClient */ "../..
4317
4317
  __exportStar(__webpack_require__(/*! ./certa/certaCommon */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.3.5_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/certa/certaCommon.js"), exports);
4318
4318
  //# sourceMappingURL=frontend.js.map
4319
4319
 
4320
- /***/ }),
4321
-
4322
- /***/ "../../common/temp/node_modules/.pnpm/almost-equal@1.1.0/node_modules/almost-equal/almost_equal.js":
4323
- /*!*********************************************************************************************************!*\
4324
- !*** ../../common/temp/node_modules/.pnpm/almost-equal@1.1.0/node_modules/almost-equal/almost_equal.js ***!
4325
- \*********************************************************************************************************/
4326
- /***/ ((module) => {
4327
-
4328
- "use strict";
4329
-
4330
-
4331
- var abs = Math.abs
4332
- , min = Math.min
4333
-
4334
- function almostEqual(a, b, absoluteError, relativeError) {
4335
- var d = abs(a - b)
4336
-
4337
- if (absoluteError == null) absoluteError = almostEqual.DBL_EPSILON;
4338
- if (relativeError == null) relativeError = absoluteError;
4339
-
4340
- if(d <= absoluteError) {
4341
- return true
4342
- }
4343
- if(d <= relativeError * min(abs(a), abs(b))) {
4344
- return true
4345
- }
4346
- return a === b
4347
- }
4348
-
4349
- almostEqual.FLT_EPSILON = 1.19209290e-7
4350
- almostEqual.DBL_EPSILON = 2.2204460492503131e-16
4351
-
4352
- module.exports = almostEqual
4353
-
4354
-
4355
4320
  /***/ }),
4356
4321
 
4357
4322
  /***/ "../../common/temp/node_modules/.pnpm/assertion-error@1.1.0/node_modules/assertion-error/index.js":
@@ -69637,13 +69602,8 @@ __webpack_require__.r(__webpack_exports__);
69637
69602
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
69638
69603
  /* harmony export */ "UnitConversion": () => (/* binding */ UnitConversion)
69639
69604
  /* harmony export */ });
69640
- /* harmony import */ var almost_equal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! almost-equal */ "../../common/temp/node_modules/.pnpm/almost-equal@1.1.0/node_modules/almost-equal/almost_equal.js");
69641
- /* harmony import */ var almost_equal__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(almost_equal__WEBPACK_IMPORTED_MODULE_0__);
69642
- /* harmony import */ var _ECObjects__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ECObjects */ "../../core/ecschema-metadata/lib/esm/ECObjects.js");
69643
- /*---------------------------------------------------------------------------------------------
69644
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
69645
- * See LICENSE.md in the project root for license terms and full copyright notice.
69646
- *--------------------------------------------------------------------------------------------*/
69605
+ /* harmony import */ var _ECObjects__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../ECObjects */ "../../core/ecschema-metadata/lib/esm/ECObjects.js");
69606
+ /* harmony import */ var _itwin_core_quantity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @itwin/core-quantity */ "../../core/quantity/lib/esm/core-quantity.js");
69647
69607
 
69648
69608
 
69649
69609
  /**
@@ -69684,7 +69644,7 @@ class UnitConversion {
69684
69644
  * @internal
69685
69645
  */
69686
69646
  multiply(conversion) {
69687
- if (almost_equal__WEBPACK_IMPORTED_MODULE_0__(conversion.offset, 0.0) && almost_equal__WEBPACK_IMPORTED_MODULE_0__(this.offset, 0.0))
69647
+ if ((0,_itwin_core_quantity__WEBPACK_IMPORTED_MODULE_1__.almostEqual)(conversion.offset, 0.0) && (0,_itwin_core_quantity__WEBPACK_IMPORTED_MODULE_1__.almostEqual)(this.offset, 0.0))
69688
69648
  return new UnitConversion(this.factor * conversion.factor, 0.0);
69689
69649
  throw new Error("Cannot multiply two maps with non-zero offsets");
69690
69650
  }
@@ -69693,11 +69653,11 @@ class UnitConversion {
69693
69653
  * @internal
69694
69654
  */
69695
69655
  raise(power) {
69696
- if (almost_equal__WEBPACK_IMPORTED_MODULE_0__(power, 1.0))
69656
+ if ((0,_itwin_core_quantity__WEBPACK_IMPORTED_MODULE_1__.almostEqual)(power, 1.0))
69697
69657
  return new UnitConversion(this.factor, this.offset);
69698
- else if (almost_equal__WEBPACK_IMPORTED_MODULE_0__(power, 0.0))
69658
+ else if ((0,_itwin_core_quantity__WEBPACK_IMPORTED_MODULE_1__.almostEqual)(power, 0.0))
69699
69659
  return new UnitConversion(1.0, 0.0);
69700
- if (almost_equal__WEBPACK_IMPORTED_MODULE_0__(this.offset, 0.0))
69660
+ if ((0,_itwin_core_quantity__WEBPACK_IMPORTED_MODULE_1__.almostEqual)(this.offset, 0.0))
69701
69661
  return new UnitConversion(this.factor ** power, 0.0);
69702
69662
  throw new Error("Cannot raise map with non-zero offset");
69703
69663
  }
@@ -69706,7 +69666,7 @@ class UnitConversion {
69706
69666
  * @internal
69707
69667
  */
69708
69668
  static from(unit) {
69709
- if (unit.schemaItemType === _ECObjects__WEBPACK_IMPORTED_MODULE_1__.SchemaItemType.Unit)
69669
+ if (unit.schemaItemType === _ECObjects__WEBPACK_IMPORTED_MODULE_0__.SchemaItemType.Unit)
69710
69670
  return new UnitConversion(unit.denominator / unit.numerator, -unit.offset);
69711
69671
  return new UnitConversion(unit.denominator / unit.numerator, 0.0);
69712
69672
  }
@@ -155585,7 +155545,11 @@ var MapLayerImageryProviderStatus;
155585
155545
  class MapLayerImageryProvider {
155586
155546
  /** @internal */
155587
155547
  get status() { return this._status; }
155588
- /** @alpha */
155548
+ /** Determine if this provider supports map feature info.
155549
+ * For example, this can be used to show the map feature info tool only when a provider is registered to support it.
155550
+ * @returns true if provider supports map feature info else return false.
155551
+ * @public
155552
+ */
155589
155553
  get supportsMapFeatureInfo() { return false; }
155590
155554
  resetStatus() { this.setStatus(MapLayerImageryProviderStatus.Valid); }
155591
155555
  /** @internal */
@@ -286827,7 +286791,8 @@ class ParserSpec {
286827
286791
  "use strict";
286828
286792
  __webpack_require__.r(__webpack_exports__);
286829
286793
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
286830
- /* harmony export */ "Quantity": () => (/* binding */ Quantity)
286794
+ /* harmony export */ "Quantity": () => (/* binding */ Quantity),
286795
+ /* harmony export */ "almostEqual": () => (/* binding */ almostEqual)
286831
286796
  /* harmony export */ });
286832
286797
  /*---------------------------------------------------------------------------------------------
286833
286798
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -286836,6 +286801,19 @@ __webpack_require__.r(__webpack_exports__);
286836
286801
  /** @packageDocumentation
286837
286802
  * @module Quantity
286838
286803
  */
286804
+ /**
286805
+ * Checks if two numbers are approximately equal within given relative tolerance.
286806
+ * @param a - The first number to compare.
286807
+ * @param b - The second number to compare.
286808
+ * @param tolerance - Tolerance, scales based on the input number values (multiplied by 1, abs(a) or abs(b), whichever is biggest).
286809
+ * @returns True if the numbers are approximately equal, false otherwise.
286810
+ * @internal
286811
+ */
286812
+ function almostEqual(a, b, tolerance = 2.2204460492503131e-16) {
286813
+ const absDiff = Math.abs(a - b);
286814
+ const scaledTolerance = Math.max(1, Math.abs(a), Math.abs(b)) * tolerance;
286815
+ return absDiff <= scaledTolerance;
286816
+ }
286839
286817
  /** The Quantity class is convenient container to specify both the magnitude and unit of a quantity. This class is commonly
286840
286818
  * returned as the result of parsing a string that represents a quantity.
286841
286819
  * @beta
@@ -286958,6 +286936,7 @@ __webpack_require__.r(__webpack_exports__);
286958
286936
  /* harmony export */ "QuantityStatus": () => (/* reexport safe */ _Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityStatus),
286959
286937
  /* harmony export */ "ScientificType": () => (/* reexport safe */ _Formatter_FormatEnums__WEBPACK_IMPORTED_MODULE_9__.ScientificType),
286960
286938
  /* harmony export */ "ShowSignOption": () => (/* reexport safe */ _Formatter_FormatEnums__WEBPACK_IMPORTED_MODULE_9__.ShowSignOption),
286939
+ /* harmony export */ "almostEqual": () => (/* reexport safe */ _Quantity__WEBPACK_IMPORTED_MODULE_5__.almostEqual),
286961
286940
  /* harmony export */ "formatStringRgx": () => (/* reexport safe */ _Formatter_FormatEnums__WEBPACK_IMPORTED_MODULE_9__.formatStringRgx),
286962
286941
  /* harmony export */ "formatTraitsToArray": () => (/* reexport safe */ _Formatter_FormatEnums__WEBPACK_IMPORTED_MODULE_9__.formatTraitsToArray),
286963
286942
  /* harmony export */ "formatTypeToString": () => (/* reexport safe */ _Formatter_FormatEnums__WEBPACK_IMPORTED_MODULE_9__.formatTypeToString),
@@ -301955,7 +301934,7 @@ var loadLanguages = instance.loadLanguages;
301955
301934
  /***/ ((module) => {
301956
301935
 
301957
301936
  "use strict";
301958
- module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.9.0-dev.21","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.21","@itwin/core-bentley":"workspace:^4.9.0-dev.21","@itwin/core-common":"workspace:^4.9.0-dev.21","@itwin/core-geometry":"workspace:^4.9.0-dev.21","@itwin/core-orbitgt":"workspace:^4.9.0-dev.21","@itwin/core-quantity":"workspace:^4.9.0-dev.21"},"//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"}}');
301937
+ module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.9.0-dev.23","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.23","@itwin/core-bentley":"workspace:^4.9.0-dev.23","@itwin/core-common":"workspace:^4.9.0-dev.23","@itwin/core-geometry":"workspace:^4.9.0-dev.23","@itwin/core-orbitgt":"workspace:^4.9.0-dev.23","@itwin/core-quantity":"workspace:^4.9.0-dev.23"},"//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.2","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"}}');
301959
301938
 
301960
301939
  /***/ })
301961
301940