@itwin/rpcinterface-full-stack-tests 3.4.0-dev.36 → 3.4.0-dev.40
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/_fc1f.bundled-tests.js.map +1 -1
- package/lib/dist/bundled-tests.js +52 -5
- 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_9_node_modules_loaders_gl_draco_di-01256f.bundled-tests.js.map +1 -1
- package/package.json +14 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_fc1f.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\
|
|
1
|
+
{"version":3,"file":"_fc1f.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\1\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.2.9\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
|
|
@@ -94439,7 +94439,6 @@ class AccuDraw {
|
|
|
94439
94439
|
let distance;
|
|
94440
94440
|
let projectionVector = new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Vector3d();
|
|
94441
94441
|
if (perpendicular) {
|
|
94442
|
-
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
94443
94442
|
if (AccuDraw.useACSContextRotation(vp, true)) { // Project along ACS axis to AccuDraw plane...
|
|
94444
94443
|
const rMatrix = vp.getAuxCoordRotation(AccuDraw._tempRot);
|
|
94445
94444
|
const axes = ThreeAxes.createFromMatrix3d(rMatrix);
|
|
@@ -94921,7 +94920,6 @@ class AccuDraw {
|
|
|
94921
94920
|
if (!vp || 1.0 !== vp.view.getAspectRatioSkew())
|
|
94922
94921
|
return false; // Disallow AccuDraw being enabled for exaggerated views...
|
|
94923
94922
|
// NOTE: If ACS Plane lock setup initial and base rotation to ACS...
|
|
94924
|
-
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
94925
94923
|
if (vp && AccuDraw.useACSContextRotation(vp, false)) {
|
|
94926
94924
|
this.setRotationMode(RotationMode.ACS);
|
|
94927
94925
|
this.flags.baseRotation = RotationMode.ACS;
|
|
@@ -287688,7 +287686,7 @@ class TestContext {
|
|
|
287688
287686
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
287689
287687
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${(_a = process.env.IMJS_URL_PREFIX) !== null && _a !== void 0 ? _a : ""}api.bentley.com/imodels` } });
|
|
287690
287688
|
await core_frontend_1.NoRenderApp.startup({
|
|
287691
|
-
applicationVersion: "3.4.0-dev.
|
|
287689
|
+
applicationVersion: "3.4.0-dev.40",
|
|
287692
287690
|
applicationId: this.settings.gprid,
|
|
287693
287691
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
287694
287692
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -287861,6 +287859,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
287861
287859
|
/* harmony export */ "VariableValueTypes": () => (/* reexport safe */ _presentation_common_RulesetVariables__WEBPACK_IMPORTED_MODULE_8__.VariableValueTypes),
|
|
287862
287860
|
/* harmony export */ "addFieldHierarchy": () => (/* reexport safe */ _presentation_common_content_ContentTraverser__WEBPACK_IMPORTED_MODULE_29__.addFieldHierarchy),
|
|
287863
287861
|
/* harmony export */ "applyOptionalPrefix": () => (/* reexport safe */ _presentation_common_content_ContentTraverser__WEBPACK_IMPORTED_MODULE_29__.applyOptionalPrefix),
|
|
287862
|
+
/* harmony export */ "combineDiagnosticsSeverities": () => (/* reexport safe */ _presentation_common_Diagnostics__WEBPACK_IMPORTED_MODULE_1__.combineDiagnosticsSeverities),
|
|
287863
|
+
/* harmony export */ "compareDiagnosticsSeverities": () => (/* reexport safe */ _presentation_common_Diagnostics__WEBPACK_IMPORTED_MODULE_1__.compareDiagnosticsSeverities),
|
|
287864
287864
|
/* harmony export */ "createFieldHierarchies": () => (/* reexport safe */ _presentation_common_content_ContentTraverser__WEBPACK_IMPORTED_MODULE_29__.createFieldHierarchies),
|
|
287865
287865
|
/* harmony export */ "getFieldByName": () => (/* reexport safe */ _presentation_common_content_Fields__WEBPACK_IMPORTED_MODULE_23__.getFieldByName),
|
|
287866
287866
|
/* harmony export */ "getInstancesCount": () => (/* reexport safe */ _presentation_common_Utils__WEBPACK_IMPORTED_MODULE_11__.getInstancesCount),
|
|
@@ -288152,7 +288152,9 @@ var PresentationCommonLoggerCategory;
|
|
|
288152
288152
|
"use strict";
|
|
288153
288153
|
__webpack_require__.r(__webpack_exports__);
|
|
288154
288154
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
288155
|
-
/* harmony export */ "DiagnosticsLogEntry": () => (/* binding */ DiagnosticsLogEntry)
|
|
288155
|
+
/* harmony export */ "DiagnosticsLogEntry": () => (/* binding */ DiagnosticsLogEntry),
|
|
288156
|
+
/* harmony export */ "combineDiagnosticsSeverities": () => (/* binding */ combineDiagnosticsSeverities),
|
|
288157
|
+
/* harmony export */ "compareDiagnosticsSeverities": () => (/* binding */ compareDiagnosticsSeverities)
|
|
288156
288158
|
/* harmony export */ });
|
|
288157
288159
|
/*---------------------------------------------------------------------------------------------
|
|
288158
288160
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -288161,6 +288163,51 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
288161
288163
|
/** @packageDocumentation
|
|
288162
288164
|
* @module Core
|
|
288163
288165
|
*/
|
|
288166
|
+
/**
|
|
288167
|
+
* Returns lower severity of the given two. Examples:
|
|
288168
|
+
* ```
|
|
288169
|
+
* combineDiagnosticsSeverities("error", "error") === "error"
|
|
288170
|
+
* combineDiagnosticsSeverities("error", "debug") === "debug"
|
|
288171
|
+
* combineDiagnosticsSeverities("debug", "error") === "debug"
|
|
288172
|
+
* ```
|
|
288173
|
+
* @internal
|
|
288174
|
+
*/
|
|
288175
|
+
function combineDiagnosticsSeverities(lhs, rhs) {
|
|
288176
|
+
if (!lhs && !rhs)
|
|
288177
|
+
return undefined;
|
|
288178
|
+
const combinedSeverity = (lhs === "trace" || rhs === "trace") ? "trace" :
|
|
288179
|
+
(lhs === "debug" || lhs === true || rhs === "debug" || rhs === true) ? "debug" :
|
|
288180
|
+
(lhs === "info" || rhs === "info") ? "info" :
|
|
288181
|
+
(lhs === "warning" || rhs === "warning") ? "warning" : "error";
|
|
288182
|
+
return combinedSeverity;
|
|
288183
|
+
}
|
|
288184
|
+
/**
|
|
288185
|
+
* Returns 0 if the given severities are equal after normalization, negative if `lhs` is lower, positive if higher. Examples:
|
|
288186
|
+
* ```
|
|
288187
|
+
* compareDiagnosticsSeverities("error", "error") === 0
|
|
288188
|
+
* compareDiagnosticsSeverities("error", false) === 0
|
|
288189
|
+
* compareDiagnosticsSeverities("error", undefined) === 0
|
|
288190
|
+
* compareDiagnosticsSeverities("debug", true) === 0
|
|
288191
|
+
* compareDiagnosticsSeverities("debug", "error") < 0
|
|
288192
|
+
* compareDiagnosticsSeverities("error", "debug") > 0
|
|
288193
|
+
* ```
|
|
288194
|
+
* @internal
|
|
288195
|
+
*/
|
|
288196
|
+
function compareDiagnosticsSeverities(lhs, rhs) {
|
|
288197
|
+
const normalizedLhs = (lhs === undefined || lhs === false) ? "error" : lhs === true ? "debug" : lhs;
|
|
288198
|
+
const normalizedRhs = (rhs === undefined || rhs === false) ? "error" : rhs === true ? "debug" : rhs;
|
|
288199
|
+
if (normalizedLhs === normalizedRhs)
|
|
288200
|
+
return 0;
|
|
288201
|
+
if (normalizedLhs === "error")
|
|
288202
|
+
return 1;
|
|
288203
|
+
if (normalizedLhs === "warning")
|
|
288204
|
+
return normalizedRhs === "error" ? -1 : 1;
|
|
288205
|
+
if (normalizedLhs === "info")
|
|
288206
|
+
return normalizedRhs === "warning" || normalizedRhs === "error" ? -1 : 1;
|
|
288207
|
+
if (normalizedLhs === "debug")
|
|
288208
|
+
return normalizedRhs === "info" || normalizedRhs === "warning" || normalizedRhs === "error" ? -1 : 1;
|
|
288209
|
+
return -1;
|
|
288210
|
+
}
|
|
288164
288211
|
/**
|
|
288165
288212
|
* Functions related to diagnostics log entry.
|
|
288166
288213
|
* @beta
|
|
@@ -306206,7 +306253,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
306206
306253
|
/***/ ((module) => {
|
|
306207
306254
|
|
|
306208
306255
|
"use strict";
|
|
306209
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.0-dev.
|
|
306256
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.0-dev.40","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.40","@itwin/core-bentley":"workspace:^3.4.0-dev.40","@itwin/core-common":"workspace:^3.4.0-dev.40","@itwin/core-geometry":"workspace:^3.4.0-dev.40","@itwin/core-orbitgt":"workspace:^3.4.0-dev.40","@itwin/core-quantity":"workspace:^3.4.0-dev.40","@itwin/webgl-compatibility":"workspace:^3.4.0-dev.40"},"//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.10","@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"}}]}}');
|
|
306210
306257
|
|
|
306211
306258
|
/***/ }),
|
|
306212
306259
|
|