@itwin/rpcinterface-full-stack-tests 5.7.0-dev.6 → 5.7.0-dev.8
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/bundled-tests.js +22 -10
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +15 -15
|
@@ -211101,11 +211101,13 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
|
|
|
211101
211101
|
/** Settings specific to text input fields. */
|
|
211102
211102
|
input: {
|
|
211103
211103
|
/** Font color to use for text input field values. */
|
|
211104
|
-
color: "var(--iui-color-
|
|
211104
|
+
color: "var(--iui-color-text-muted, white)",
|
|
211105
211105
|
/** Padding applied to text input fields. */
|
|
211106
211106
|
padding: "0 var(--iui-size-s, 0.5rem)",
|
|
211107
211107
|
/** Settings applied to text input fields when they have focus. */
|
|
211108
211108
|
focused: {
|
|
211109
|
+
/** Font color for focused text input fields. */
|
|
211110
|
+
color: "hsla(0, 0%, 100%, 1)",
|
|
211109
211111
|
/** Background color for focused text input fields. */
|
|
211110
211112
|
backgroundColor: "hsl(var(--iui-color-accent-hsl, 166 96% 30.7%) / var(--iui-opacity-2, 85%))",
|
|
211111
211113
|
/** Inner stroke for focused text input fields. */
|
|
@@ -211134,7 +211136,7 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
|
|
|
211134
211136
|
/** Settings applied to lock buttons when they are unlocked. */
|
|
211135
211137
|
unlocked: {
|
|
211136
211138
|
/** Text color for unlocked lock buttons. */
|
|
211137
|
-
color: "var(--iui-color-text
|
|
211139
|
+
color: "var(--iui-color-text, #cccccc)",
|
|
211138
211140
|
/** Background color for unlocked lock buttons. */
|
|
211139
211141
|
backgroundColor: "hsl(var(--iui-color-background-hsl, 203 6% 21.25%) / var(--iui-opacity-2, 85%))",
|
|
211140
211142
|
/** Border settings for unlocked lock buttons. */
|
|
@@ -211584,7 +211586,13 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
|
|
|
211584
211586
|
break;
|
|
211585
211587
|
case false:
|
|
211586
211588
|
style.backgroundColor = controlProps.input.unfocused.backgroundColor;
|
|
211587
|
-
|
|
211589
|
+
/**
|
|
211590
|
+
* StrataKit resets the `outline` style here: https://github.com/iTwin/stratakit/blob/d08ecb28ca4e304094489522eb8e17c9a10865b3/packages/foundations/src/~unlayered.css#L10
|
|
211591
|
+
* This causes the input to have a white outline when focused unless we override it again with `!important`.
|
|
211592
|
+
* Note: `style.outline = "none !important"` does not work because the CSSOM property setter ignores the `!important` flag; the `priority` must be passed via `CSSStyleDeclaration.setProperty`.
|
|
211593
|
+
* See MDN: https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/setProperty
|
|
211594
|
+
*/
|
|
211595
|
+
style.setProperty("outline", "none", "important");
|
|
211588
211596
|
style.padding = controlProps.input.padding;
|
|
211589
211597
|
style.border = baseBorder + controlProps.input.unfocused.border.color;
|
|
211590
211598
|
style.color = controlProps.input.color;
|
|
@@ -211789,6 +211797,9 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
|
|
|
211789
211797
|
itemField.style.boxShadow = focusIn
|
|
211790
211798
|
? AccuDrawViewportUI.controlProps.input.focused.innerStroke
|
|
211791
211799
|
: "none";
|
|
211800
|
+
itemField.style.color = focusIn
|
|
211801
|
+
? AccuDrawViewportUI.controlProps.input.focused.color
|
|
211802
|
+
: AccuDrawViewportUI.controlProps.input.color;
|
|
211792
211803
|
this.updateItemFieldKeyinStatus(itemField, item);
|
|
211793
211804
|
if (!focusIn)
|
|
211794
211805
|
this.setDynamicKeyinStatus(item);
|
|
@@ -342460,7 +342471,7 @@ class Formatter {
|
|
|
342460
342471
|
}
|
|
342461
342472
|
const azBaseQuantity = new _Quantity__WEBPACK_IMPORTED_MODULE_4__.Quantity(spec.format.azimuthBaseUnit, spec.format.azimuthBase);
|
|
342462
342473
|
const azBaseConverted = azBaseQuantity.convertTo(spec.persistenceUnit, spec.azimuthBaseConversion);
|
|
342463
|
-
if (
|
|
342474
|
+
if (!azBaseConverted.isValid) {
|
|
342464
342475
|
throw new _Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityError(_Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityStatus.UnsupportedUnit, `Failed to convert azimuth base unit to ${spec.persistenceUnit.name}.`);
|
|
342465
342476
|
}
|
|
342466
342477
|
azimuthBase = this.normalizeAngle(azBaseConverted.magnitude, revolution);
|
|
@@ -342490,7 +342501,7 @@ class Formatter {
|
|
|
342490
342501
|
}
|
|
342491
342502
|
const revolution = new _Quantity__WEBPACK_IMPORTED_MODULE_4__.Quantity(spec.format.revolutionUnit, 1.0);
|
|
342492
342503
|
const converted = revolution.convertTo(spec.persistenceUnit, spec.revolutionConversion);
|
|
342493
|
-
if (
|
|
342504
|
+
if (!converted.isValid) {
|
|
342494
342505
|
throw new _Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityError(_Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityStatus.UnsupportedUnit, `Failed to convert revolution unit to ${spec.persistenceUnit.name}.`);
|
|
342495
342506
|
}
|
|
342496
342507
|
return converted.magnitude;
|
|
@@ -343615,7 +343626,7 @@ class Parser {
|
|
|
343615
343626
|
}
|
|
343616
343627
|
const azBaseQuantity = new _Quantity__WEBPACK_IMPORTED_MODULE_3__.Quantity(spec.format.azimuthBaseUnit, spec.format.azimuthBase);
|
|
343617
343628
|
const azBaseConverted = azBaseQuantity.convertTo(spec.outUnit, spec.azimuthBaseConversion);
|
|
343618
|
-
if (
|
|
343629
|
+
if (!azBaseConverted.isValid) {
|
|
343619
343630
|
throw new _Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityError(_Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityStatus.UnsupportedUnit, `Failed to convert azimuth base unit to ${spec.outUnit.name}.`);
|
|
343620
343631
|
}
|
|
343621
343632
|
azimuthBase = this.normalizeAngle(azBaseConverted.magnitude, revolution);
|
|
@@ -343746,8 +343757,9 @@ class Parser {
|
|
|
343746
343757
|
if (err instanceof _Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityError && err.errorNumber === _Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityStatus.InvertingZero) {
|
|
343747
343758
|
return { ok: false, error: ParseError.InvalidMathResult };
|
|
343748
343759
|
}
|
|
343760
|
+
throw err;
|
|
343749
343761
|
}
|
|
343750
|
-
if (
|
|
343762
|
+
if (!converted.isValid) {
|
|
343751
343763
|
throw new _Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityError(_Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityStatus.UnsupportedUnit, `Failed to convert from ${spec.format.units[0][0].name} to ${spec.outUnit.name} On format ${spec.format.name}.`);
|
|
343752
343764
|
}
|
|
343753
343765
|
return { ok: true, value: converted.magnitude };
|
|
@@ -343765,7 +343777,7 @@ class Parser {
|
|
|
343765
343777
|
}
|
|
343766
343778
|
const revolution = new _Quantity__WEBPACK_IMPORTED_MODULE_3__.Quantity(spec.format.revolutionUnit, 1.0);
|
|
343767
343779
|
const converted = revolution.convertTo(spec.outUnit, spec.revolutionConversion);
|
|
343768
|
-
if (
|
|
343780
|
+
if (!converted.isValid) {
|
|
343769
343781
|
throw new _Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityError(_Exception__WEBPACK_IMPORTED_MODULE_1__.QuantityStatus.UnsupportedUnit, `Failed to convert revolution unit to ${spec.outUnit.name} On format ${spec.format.name}.`);
|
|
343770
343782
|
}
|
|
343771
343783
|
return converted.magnitude;
|
|
@@ -345165,7 +345177,7 @@ class TestContext {
|
|
|
345165
345177
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
345166
345178
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
345167
345179
|
await core_frontend_1.NoRenderApp.startup({
|
|
345168
|
-
applicationVersion: "5.7.0-dev.
|
|
345180
|
+
applicationVersion: "5.7.0-dev.8",
|
|
345169
345181
|
applicationId: this.settings.gprid,
|
|
345170
345182
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.serviceAuthToken),
|
|
345171
345183
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -371831,7 +371843,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
371831
371843
|
/***/ ((module) => {
|
|
371832
371844
|
|
|
371833
371845
|
"use strict";
|
|
371834
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.7.0-dev.
|
|
371846
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.7.0-dev.8","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 && npm run -s copy:draco","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 ES2022 --outDir lib/esm","clean":"rimraf -g 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","copy:draco":"cpx \\"./node_modules/@loaders.gl/draco/dist/libs/*\\" ./lib/public/scripts","docs":"betools docs --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 \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-deprecation":"eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \\"./src/**/*.ts\\"","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run","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:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*"},"//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/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*","@itwin/object-storage-core":"^3.0.4","@itwin/eslint-plugin":"^6.0.0","@types/chai-as-promised":"^7","@types/draco3d":"^1.4.10","@types/sinon":"^17.0.2","@vitest/browser":"^3.0.6","@vitest/coverage-v8":"^3.0.6","cpx2":"^8.0.0","eslint":"^9.31.0","glob":"^10.5.0","playwright":"~1.56.1","rimraf":"^6.0.1","sinon":"^17.0.2","source-map-loader":"^5.0.0","typescript":"~5.6.2","vitest":"^3.0.6","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"2.2.0","webpack":"^5.97.1"},"//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/webgl-compatibility":"workspace:*","@loaders.gl/core":"^4.3.4","@loaders.gl/draco":"^4.3.4","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
|
|
371835
371847
|
|
|
371836
371848
|
/***/ }),
|
|
371837
371849
|
|