@itwin/rpcinterface-full-stack-tests 4.9.0-dev.22 → 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|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":""}
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":""}
@@ -4778,41 +4778,6 @@ class MultiLevelSelectablesContainer {
4778
4778
  }
4779
4779
 
4780
4780
 
4781
- /***/ }),
4782
-
4783
- /***/ "../../common/temp/node_modules/.pnpm/almost-equal@1.1.0/node_modules/almost-equal/almost_equal.js":
4784
- /*!*********************************************************************************************************!*\
4785
- !*** ../../common/temp/node_modules/.pnpm/almost-equal@1.1.0/node_modules/almost-equal/almost_equal.js ***!
4786
- \*********************************************************************************************************/
4787
- /***/ ((module) => {
4788
-
4789
- "use strict";
4790
-
4791
-
4792
- var abs = Math.abs
4793
- , min = Math.min
4794
-
4795
- function almostEqual(a, b, absoluteError, relativeError) {
4796
- var d = abs(a - b)
4797
-
4798
- if (absoluteError == null) absoluteError = almostEqual.DBL_EPSILON;
4799
- if (relativeError == null) relativeError = absoluteError;
4800
-
4801
- if(d <= absoluteError) {
4802
- return true
4803
- }
4804
- if(d <= relativeError * min(abs(a), abs(b))) {
4805
- return true
4806
- }
4807
- return a === b
4808
- }
4809
-
4810
- almostEqual.FLT_EPSILON = 1.19209290e-7
4811
- almostEqual.DBL_EPSILON = 2.2204460492503131e-16
4812
-
4813
- module.exports = almostEqual
4814
-
4815
-
4816
4781
  /***/ }),
4817
4782
 
4818
4783
  /***/ "../../common/temp/node_modules/.pnpm/assertion-error@1.1.0/node_modules/assertion-error/index.js":
@@ -75893,13 +75858,8 @@ __webpack_require__.r(__webpack_exports__);
75893
75858
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
75894
75859
  /* harmony export */ "UnitConversion": () => (/* binding */ UnitConversion)
75895
75860
  /* harmony export */ });
75896
- /* 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");
75897
- /* harmony import */ var almost_equal__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(almost_equal__WEBPACK_IMPORTED_MODULE_0__);
75898
- /* harmony import */ var _ECObjects__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ECObjects */ "../../core/ecschema-metadata/lib/esm/ECObjects.js");
75899
- /*---------------------------------------------------------------------------------------------
75900
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
75901
- * See LICENSE.md in the project root for license terms and full copyright notice.
75902
- *--------------------------------------------------------------------------------------------*/
75861
+ /* harmony import */ var _ECObjects__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../ECObjects */ "../../core/ecschema-metadata/lib/esm/ECObjects.js");
75862
+ /* harmony import */ var _itwin_core_quantity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @itwin/core-quantity */ "../../core/quantity/lib/esm/core-quantity.js");
75903
75863
 
75904
75864
 
75905
75865
  /**
@@ -75940,7 +75900,7 @@ class UnitConversion {
75940
75900
  * @internal
75941
75901
  */
75942
75902
  multiply(conversion) {
75943
- if (almost_equal__WEBPACK_IMPORTED_MODULE_0__(conversion.offset, 0.0) && almost_equal__WEBPACK_IMPORTED_MODULE_0__(this.offset, 0.0))
75903
+ 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))
75944
75904
  return new UnitConversion(this.factor * conversion.factor, 0.0);
75945
75905
  throw new Error("Cannot multiply two maps with non-zero offsets");
75946
75906
  }
@@ -75949,11 +75909,11 @@ class UnitConversion {
75949
75909
  * @internal
75950
75910
  */
75951
75911
  raise(power) {
75952
- if (almost_equal__WEBPACK_IMPORTED_MODULE_0__(power, 1.0))
75912
+ if ((0,_itwin_core_quantity__WEBPACK_IMPORTED_MODULE_1__.almostEqual)(power, 1.0))
75953
75913
  return new UnitConversion(this.factor, this.offset);
75954
- else if (almost_equal__WEBPACK_IMPORTED_MODULE_0__(power, 0.0))
75914
+ else if ((0,_itwin_core_quantity__WEBPACK_IMPORTED_MODULE_1__.almostEqual)(power, 0.0))
75955
75915
  return new UnitConversion(1.0, 0.0);
75956
- if (almost_equal__WEBPACK_IMPORTED_MODULE_0__(this.offset, 0.0))
75916
+ if ((0,_itwin_core_quantity__WEBPACK_IMPORTED_MODULE_1__.almostEqual)(this.offset, 0.0))
75957
75917
  return new UnitConversion(this.factor ** power, 0.0);
75958
75918
  throw new Error("Cannot raise map with non-zero offset");
75959
75919
  }
@@ -75962,7 +75922,7 @@ class UnitConversion {
75962
75922
  * @internal
75963
75923
  */
75964
75924
  static from(unit) {
75965
- if (unit.schemaItemType === _ECObjects__WEBPACK_IMPORTED_MODULE_1__.SchemaItemType.Unit)
75925
+ if (unit.schemaItemType === _ECObjects__WEBPACK_IMPORTED_MODULE_0__.SchemaItemType.Unit)
75966
75926
  return new UnitConversion(unit.denominator / unit.numerator, -unit.offset);
75967
75927
  return new UnitConversion(unit.denominator / unit.numerator, 0.0);
75968
75928
  }
@@ -161669,7 +161629,11 @@ var MapLayerImageryProviderStatus;
161669
161629
  class MapLayerImageryProvider {
161670
161630
  /** @internal */
161671
161631
  get status() { return this._status; }
161672
- /** @alpha */
161632
+ /** Determine if this provider supports map feature info.
161633
+ * For example, this can be used to show the map feature info tool only when a provider is registered to support it.
161634
+ * @returns true if provider supports map feature info else return false.
161635
+ * @public
161636
+ */
161673
161637
  get supportsMapFeatureInfo() { return false; }
161674
161638
  resetStatus() { this.setStatus(MapLayerImageryProviderStatus.Valid); }
161675
161639
  /** @internal */
@@ -292911,7 +292875,8 @@ class ParserSpec {
292911
292875
  "use strict";
292912
292876
  __webpack_require__.r(__webpack_exports__);
292913
292877
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
292914
- /* harmony export */ "Quantity": () => (/* binding */ Quantity)
292878
+ /* harmony export */ "Quantity": () => (/* binding */ Quantity),
292879
+ /* harmony export */ "almostEqual": () => (/* binding */ almostEqual)
292915
292880
  /* harmony export */ });
292916
292881
  /*---------------------------------------------------------------------------------------------
292917
292882
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -292920,6 +292885,19 @@ __webpack_require__.r(__webpack_exports__);
292920
292885
  /** @packageDocumentation
292921
292886
  * @module Quantity
292922
292887
  */
292888
+ /**
292889
+ * Checks if two numbers are approximately equal within given relative tolerance.
292890
+ * @param a - The first number to compare.
292891
+ * @param b - The second number to compare.
292892
+ * @param tolerance - Tolerance, scales based on the input number values (multiplied by 1, abs(a) or abs(b), whichever is biggest).
292893
+ * @returns True if the numbers are approximately equal, false otherwise.
292894
+ * @internal
292895
+ */
292896
+ function almostEqual(a, b, tolerance = 2.2204460492503131e-16) {
292897
+ const absDiff = Math.abs(a - b);
292898
+ const scaledTolerance = Math.max(1, Math.abs(a), Math.abs(b)) * tolerance;
292899
+ return absDiff <= scaledTolerance;
292900
+ }
292923
292901
  /** The Quantity class is convenient container to specify both the magnitude and unit of a quantity. This class is commonly
292924
292902
  * returned as the result of parsing a string that represents a quantity.
292925
292903
  * @beta
@@ -293042,6 +293020,7 @@ __webpack_require__.r(__webpack_exports__);
293042
293020
  /* harmony export */ "QuantityStatus": () => (/* reexport safe */ _Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityStatus),
293043
293021
  /* harmony export */ "ScientificType": () => (/* reexport safe */ _Formatter_FormatEnums__WEBPACK_IMPORTED_MODULE_9__.ScientificType),
293044
293022
  /* harmony export */ "ShowSignOption": () => (/* reexport safe */ _Formatter_FormatEnums__WEBPACK_IMPORTED_MODULE_9__.ShowSignOption),
293023
+ /* harmony export */ "almostEqual": () => (/* reexport safe */ _Quantity__WEBPACK_IMPORTED_MODULE_5__.almostEqual),
293045
293024
  /* harmony export */ "formatStringRgx": () => (/* reexport safe */ _Formatter_FormatEnums__WEBPACK_IMPORTED_MODULE_9__.formatStringRgx),
293046
293025
  /* harmony export */ "formatTraitsToArray": () => (/* reexport safe */ _Formatter_FormatEnums__WEBPACK_IMPORTED_MODULE_9__.formatTraitsToArray),
293047
293026
  /* harmony export */ "formatTypeToString": () => (/* reexport safe */ _Formatter_FormatEnums__WEBPACK_IMPORTED_MODULE_9__.formatTypeToString),
@@ -294133,7 +294112,7 @@ class TestContext {
294133
294112
  this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
294134
294113
  const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
294135
294114
  await core_frontend_1.NoRenderApp.startup({
294136
- applicationVersion: "4.9.0-dev.22",
294115
+ applicationVersion: "4.9.0-dev.23",
294137
294116
  applicationId: this.settings.gprid,
294138
294117
  authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
294139
294118
  hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
@@ -318796,7 +318775,7 @@ function __disposeResources(env) {
318796
318775
  /***/ ((module) => {
318797
318776
 
318798
318777
  "use strict";
318799
- 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"}}');
318778
+ 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"}}');
318800
318779
 
318801
318780
  /***/ }),
318802
318781