@itwin/rpcinterface-full-stack-tests 4.6.0-dev.27 → 4.6.0-dev.28
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 +14 -40
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +14 -14
|
@@ -44633,7 +44633,8 @@ class QPoint2d {
|
|
|
44633
44633
|
return pt;
|
|
44634
44634
|
}
|
|
44635
44635
|
}
|
|
44636
|
-
/**
|
|
44636
|
+
/**
|
|
44637
|
+
* @public
|
|
44637
44638
|
* @extensions
|
|
44638
44639
|
*/
|
|
44639
44640
|
var QPoint2dBuffer;
|
|
@@ -50371,8 +50372,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
50371
50372
|
* [TextAnnotation2d]($backend) and [TextAnnotation3d]($backend) elements store a TextAnnotation from which their geometric representation is generated.
|
|
50372
50373
|
* @see [produceTextAnnotationGeometry]($backend) to decompose the annotation into a set of geometric primitives suitable for use with [[GeometryStreamBuilder.appendTextBlock]].
|
|
50373
50374
|
* @beta
|
|
50374
|
-
* @preview
|
|
50375
|
-
* @extensions
|
|
50376
50375
|
*/
|
|
50377
50376
|
class TextAnnotation {
|
|
50378
50377
|
constructor(angles, textBlock, anchor) {
|
|
@@ -50480,8 +50479,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
50480
50479
|
/** Abstract representation of any of the building blocks that make up a [[TextBlock]] document - namely [[Run]]s, [[Paragraph]]s, and [[TextBlock]] itself.
|
|
50481
50480
|
* Each component can specify a [[TextStyle]] that formats its contents and optional [[styleOverrides]] to customize that formatting.
|
|
50482
50481
|
* @beta
|
|
50483
|
-
* @preview
|
|
50484
|
-
* @extensions
|
|
50485
50482
|
*/
|
|
50486
50483
|
class TextBlockComponent {
|
|
50487
50484
|
/** @internal */
|
|
@@ -50551,8 +50548,6 @@ class TextBlockComponent {
|
|
|
50551
50548
|
* multiple lines, but it will never contain different styling.
|
|
50552
50549
|
* Use the `type` field to discriminate between the different kinds of runs.
|
|
50553
50550
|
* @beta
|
|
50554
|
-
* @preview
|
|
50555
|
-
* @extensions
|
|
50556
50551
|
*/
|
|
50557
50552
|
var Run;
|
|
50558
50553
|
(function (Run) {
|
|
@@ -50570,8 +50565,6 @@ var Run;
|
|
|
50570
50565
|
})(Run || (Run = {}));
|
|
50571
50566
|
/** The most common type of [[Run]], containing a sequence of characters to be displayed using a single style.
|
|
50572
50567
|
* @beta
|
|
50573
|
-
* @preview
|
|
50574
|
-
* @extensions
|
|
50575
50568
|
*/
|
|
50576
50569
|
class TextRun extends TextBlockComponent {
|
|
50577
50570
|
constructor(props) {
|
|
@@ -50606,8 +50599,6 @@ class TextRun extends TextBlockComponent {
|
|
|
50606
50599
|
/** A [[Run]] containing a numeric ratio to be displayed as a numerator and denominator separated by a horizontal or diagonal bar.
|
|
50607
50600
|
* @note The [[numerator]] and [[denominator]] are stored as strings. They are not technically required to contain a numeric representation.
|
|
50608
50601
|
* @beta
|
|
50609
|
-
* @preview
|
|
50610
|
-
* @extensions
|
|
50611
50602
|
*/
|
|
50612
50603
|
class FractionRun extends TextBlockComponent {
|
|
50613
50604
|
constructor(props) {
|
|
@@ -50642,8 +50633,6 @@ class FractionRun extends TextBlockComponent {
|
|
|
50642
50633
|
}
|
|
50643
50634
|
/** A [[Run]] that represents the end of a line of text within a [[Paragraph]]. It contains no content of its own - it simply causes subsequent content to display on a new line.
|
|
50644
50635
|
* @beta
|
|
50645
|
-
* @preview
|
|
50646
|
-
* @extensions
|
|
50647
50636
|
*/
|
|
50648
50637
|
class LineBreakRun extends TextBlockComponent {
|
|
50649
50638
|
constructor(props) {
|
|
@@ -50673,8 +50662,6 @@ class LineBreakRun extends TextBlockComponent {
|
|
|
50673
50662
|
}
|
|
50674
50663
|
/** A collection of [[Run]]s within a [[TextBlock]]. Each paragraph within a text block is laid out on a separate line.
|
|
50675
50664
|
* @beta
|
|
50676
|
-
* @preview
|
|
50677
|
-
* @extensions
|
|
50678
50665
|
*/
|
|
50679
50666
|
class Paragraph extends TextBlockComponent {
|
|
50680
50667
|
constructor(props) {
|
|
@@ -50722,8 +50709,6 @@ class Paragraph extends TextBlockComponent {
|
|
|
50722
50709
|
* No word-wrapping is applied to the document unless a [[width]] greater than zero is specified.
|
|
50723
50710
|
* @see [[TextAnnotation]] to position a text block as an annotation in 2d or 3d space.
|
|
50724
50711
|
* @beta
|
|
50725
|
-
* @preview
|
|
50726
|
-
* @extensions
|
|
50727
50712
|
*/
|
|
50728
50713
|
class TextBlock extends TextBlockComponent {
|
|
50729
50714
|
constructor(props) {
|
|
@@ -50846,8 +50831,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
50846
50831
|
* @note This is an immutable type. Use [[clone]] to create a modified copy.
|
|
50847
50832
|
* @see [[TextStyleSettingsProps]] for documentation of each of the settings.
|
|
50848
50833
|
* @beta
|
|
50849
|
-
* @preview
|
|
50850
|
-
* @extensions
|
|
50851
50834
|
*/
|
|
50852
50835
|
class TextStyleSettings {
|
|
50853
50836
|
constructor(props, defaults) {
|
|
@@ -50914,8 +50897,6 @@ Object.freeze(TextStyleSettings.defaults);
|
|
|
50914
50897
|
* @see [[TextBlockComponent.styleName]] to define the text style for a component of a [[TextBlock]].
|
|
50915
50898
|
* @note This is an immutable type. Use [[clone]] to create a modified copy.
|
|
50916
50899
|
* @beta
|
|
50917
|
-
* @preview
|
|
50918
|
-
* @extensions
|
|
50919
50900
|
*/
|
|
50920
50901
|
class TextStyle {
|
|
50921
50902
|
constructor(name, settings) {
|
|
@@ -53040,10 +53021,8 @@ var ElementGeometry;
|
|
|
53040
53021
|
return true;
|
|
53041
53022
|
}
|
|
53042
53023
|
/** Append a series of entries representing a [[TextBlock]] to the [[ElementGeometryDataEntry]] array.
|
|
53043
|
-
|
|
53044
|
-
|
|
53045
|
-
* @preview
|
|
53046
|
-
*/
|
|
53024
|
+
* @beta
|
|
53025
|
+
*/
|
|
53047
53026
|
appendTextBlock(block) {
|
|
53048
53027
|
for (const entry of block.entries) {
|
|
53049
53028
|
let result;
|
|
@@ -59382,8 +59361,6 @@ class GeometryStreamBuilder {
|
|
|
59382
59361
|
}
|
|
59383
59362
|
/** Append a series of entries representing a [[TextBlock]] to the [[GeometryStreamProps]] array.
|
|
59384
59363
|
* @beta
|
|
59385
|
-
* @extensions
|
|
59386
|
-
* @preview
|
|
59387
59364
|
*/
|
|
59388
59365
|
appendTextBlock(block) {
|
|
59389
59366
|
for (const entry of block.entries) {
|
|
@@ -107014,7 +106991,6 @@ const extensionExports = {
|
|
|
107014
106991
|
FlashMode: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.FlashMode,
|
|
107015
106992
|
FlashSettings: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.FlashSettings,
|
|
107016
106993
|
FontType: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.FontType,
|
|
107017
|
-
FractionRun: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.FractionRun,
|
|
107018
106994
|
FrontendLoggerCategory: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.FrontendLoggerCategory,
|
|
107019
106995
|
FrustumAnimator: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.FrustumAnimator,
|
|
107020
106996
|
FrustumPlanes: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.FrustumPlanes,
|
|
@@ -107049,7 +107025,6 @@ const extensionExports = {
|
|
|
107049
107025
|
InteractiveTool: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.InteractiveTool,
|
|
107050
107026
|
IntersectDetail: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.IntersectDetail,
|
|
107051
107027
|
KeyinParseError: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.KeyinParseError,
|
|
107052
|
-
LineBreakRun: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.LineBreakRun,
|
|
107053
107028
|
LinePixels: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.LinePixels,
|
|
107054
107029
|
LocateAction: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.LocateAction,
|
|
107055
107030
|
LocateFilterStatus: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.LocateFilterStatus,
|
|
@@ -107075,7 +107050,6 @@ const extensionExports = {
|
|
|
107075
107050
|
OutputMessageAlert: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.OutputMessageAlert,
|
|
107076
107051
|
OutputMessagePriority: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.OutputMessagePriority,
|
|
107077
107052
|
OutputMessageType: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.OutputMessageType,
|
|
107078
|
-
Paragraph: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.Paragraph,
|
|
107079
107053
|
ParseAndRunResult: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.ParseAndRunResult,
|
|
107080
107054
|
ParticleCollectionBuilder: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.ParticleCollectionBuilder,
|
|
107081
107055
|
PerModelCategoryVisibility: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.PerModelCategoryVisibility,
|
|
@@ -107103,7 +107077,6 @@ const extensionExports = {
|
|
|
107103
107077
|
RenderGraphicOwner: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.RenderGraphicOwner,
|
|
107104
107078
|
RenderMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.RenderMode,
|
|
107105
107079
|
RenderSystem: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.RenderSystem,
|
|
107106
|
-
Run: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.Run,
|
|
107107
107080
|
Scene: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.Scene,
|
|
107108
107081
|
ScreenViewport: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.ScreenViewport,
|
|
107109
107082
|
SectionDrawingModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.SectionDrawingModelState,
|
|
@@ -107132,12 +107105,6 @@ const extensionExports = {
|
|
|
107132
107105
|
SyncMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.SyncMode,
|
|
107133
107106
|
TentativePoint: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.TentativePoint,
|
|
107134
107107
|
TerrainHeightOriginMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TerrainHeightOriginMode,
|
|
107135
|
-
TextAnnotation: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TextAnnotation,
|
|
107136
|
-
TextBlock: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TextBlock,
|
|
107137
|
-
TextBlockComponent: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TextBlockComponent,
|
|
107138
|
-
TextRun: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TextRun,
|
|
107139
|
-
TextStyle: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TextStyle,
|
|
107140
|
-
TextStyleSettings: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TextStyleSettings,
|
|
107141
107108
|
TextureMapUnits: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TextureMapUnits,
|
|
107142
107109
|
ThematicDisplayMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.ThematicDisplayMode,
|
|
107143
107110
|
ThematicGradientColorScheme: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.ThematicGradientColorScheme,
|
|
@@ -156894,7 +156861,13 @@ async function getCesiumTerrainProvider(opts) {
|
|
|
156894
156861
|
}
|
|
156895
156862
|
const tilingScheme = new _internal__WEBPACK_IMPORTED_MODULE_8__.GeographicTilingScheme();
|
|
156896
156863
|
let tileAvailability;
|
|
156897
|
-
|
|
156864
|
+
// When collecting tiles, only the highest resolution tiles are downloaded.
|
|
156865
|
+
// Because of that, the tile availability is often only populated by the
|
|
156866
|
+
// "layer" metadata. (i.e. not from higher resolution tiles metadata).
|
|
156867
|
+
// Unfortunately the "layer" metadata only cover the first 16 levels,
|
|
156868
|
+
// preventing the geometry collector from accessing to higher resolution tiles.
|
|
156869
|
+
// For now, the solution is to turn off tile availability check when collecting geometries.
|
|
156870
|
+
if (undefined !== layers.available && !opts.produceGeometry) {
|
|
156898
156871
|
const availableTiles = layers.available;
|
|
156899
156872
|
tileAvailability = new _internal__WEBPACK_IMPORTED_MODULE_8__.TileAvailability(tilingScheme, availableTiles.length);
|
|
156900
156873
|
for (let level = 0; level < layers.available.length; level++) {
|
|
@@ -162396,6 +162369,7 @@ class MapTreeSupplier {
|
|
|
162396
162369
|
exaggeration: id.terrainExaggeration,
|
|
162397
162370
|
wantNormals: id.wantNormals,
|
|
162398
162371
|
dataSource: id.terrainDataSource,
|
|
162372
|
+
produceGeometry: id.produceGeometry,
|
|
162399
162373
|
};
|
|
162400
162374
|
if (id.applyTerrain) {
|
|
162401
162375
|
await _ApproximateTerrainHeights__WEBPACK_IMPORTED_MODULE_3__.ApproximateTerrainHeights.instance.initialize();
|
|
@@ -290008,7 +289982,7 @@ class TestContext {
|
|
|
290008
289982
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
290009
289983
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
290010
289984
|
await core_frontend_1.NoRenderApp.startup({
|
|
290011
|
-
applicationVersion: "4.6.0-dev.
|
|
289985
|
+
applicationVersion: "4.6.0-dev.28",
|
|
290012
289986
|
applicationId: this.settings.gprid,
|
|
290013
289987
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
290014
289988
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -314045,7 +314019,7 @@ function __disposeResources(env) {
|
|
|
314045
314019
|
/***/ ((module) => {
|
|
314046
314020
|
|
|
314047
314021
|
"use strict";
|
|
314048
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.6.0-dev.
|
|
314022
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.6.0-dev.28","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.6.0-dev.28","@itwin/core-bentley":"workspace:^4.6.0-dev.28","@itwin/core-common":"workspace:^4.6.0-dev.28","@itwin/core-geometry":"workspace:^4.6.0-dev.28","@itwin/core-orbitgt":"workspace:^4.6.0-dev.28","@itwin/core-quantity":"workspace:^4.6.0-dev.28"},"//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.44.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.1.0","@itwin/object-storage-core":"^2.2.2","@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"}}');
|
|
314049
314023
|
|
|
314050
314024
|
/***/ }),
|
|
314051
314025
|
|