@itwin/ecschema-rpcinterface-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 +13 -39
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +17 -17
|
@@ -38377,7 +38377,8 @@ class QPoint2d {
|
|
|
38377
38377
|
return pt;
|
|
38378
38378
|
}
|
|
38379
38379
|
}
|
|
38380
|
-
/**
|
|
38380
|
+
/**
|
|
38381
|
+
* @public
|
|
38381
38382
|
* @extensions
|
|
38382
38383
|
*/
|
|
38383
38384
|
var QPoint2dBuffer;
|
|
@@ -44115,8 +44116,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
44115
44116
|
* [TextAnnotation2d]($backend) and [TextAnnotation3d]($backend) elements store a TextAnnotation from which their geometric representation is generated.
|
|
44116
44117
|
* @see [produceTextAnnotationGeometry]($backend) to decompose the annotation into a set of geometric primitives suitable for use with [[GeometryStreamBuilder.appendTextBlock]].
|
|
44117
44118
|
* @beta
|
|
44118
|
-
* @preview
|
|
44119
|
-
* @extensions
|
|
44120
44119
|
*/
|
|
44121
44120
|
class TextAnnotation {
|
|
44122
44121
|
constructor(angles, textBlock, anchor) {
|
|
@@ -44224,8 +44223,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
44224
44223
|
/** Abstract representation of any of the building blocks that make up a [[TextBlock]] document - namely [[Run]]s, [[Paragraph]]s, and [[TextBlock]] itself.
|
|
44225
44224
|
* Each component can specify a [[TextStyle]] that formats its contents and optional [[styleOverrides]] to customize that formatting.
|
|
44226
44225
|
* @beta
|
|
44227
|
-
* @preview
|
|
44228
|
-
* @extensions
|
|
44229
44226
|
*/
|
|
44230
44227
|
class TextBlockComponent {
|
|
44231
44228
|
/** @internal */
|
|
@@ -44295,8 +44292,6 @@ class TextBlockComponent {
|
|
|
44295
44292
|
* multiple lines, but it will never contain different styling.
|
|
44296
44293
|
* Use the `type` field to discriminate between the different kinds of runs.
|
|
44297
44294
|
* @beta
|
|
44298
|
-
* @preview
|
|
44299
|
-
* @extensions
|
|
44300
44295
|
*/
|
|
44301
44296
|
var Run;
|
|
44302
44297
|
(function (Run) {
|
|
@@ -44314,8 +44309,6 @@ var Run;
|
|
|
44314
44309
|
})(Run || (Run = {}));
|
|
44315
44310
|
/** The most common type of [[Run]], containing a sequence of characters to be displayed using a single style.
|
|
44316
44311
|
* @beta
|
|
44317
|
-
* @preview
|
|
44318
|
-
* @extensions
|
|
44319
44312
|
*/
|
|
44320
44313
|
class TextRun extends TextBlockComponent {
|
|
44321
44314
|
constructor(props) {
|
|
@@ -44350,8 +44343,6 @@ class TextRun extends TextBlockComponent {
|
|
|
44350
44343
|
/** A [[Run]] containing a numeric ratio to be displayed as a numerator and denominator separated by a horizontal or diagonal bar.
|
|
44351
44344
|
* @note The [[numerator]] and [[denominator]] are stored as strings. They are not technically required to contain a numeric representation.
|
|
44352
44345
|
* @beta
|
|
44353
|
-
* @preview
|
|
44354
|
-
* @extensions
|
|
44355
44346
|
*/
|
|
44356
44347
|
class FractionRun extends TextBlockComponent {
|
|
44357
44348
|
constructor(props) {
|
|
@@ -44386,8 +44377,6 @@ class FractionRun extends TextBlockComponent {
|
|
|
44386
44377
|
}
|
|
44387
44378
|
/** 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.
|
|
44388
44379
|
* @beta
|
|
44389
|
-
* @preview
|
|
44390
|
-
* @extensions
|
|
44391
44380
|
*/
|
|
44392
44381
|
class LineBreakRun extends TextBlockComponent {
|
|
44393
44382
|
constructor(props) {
|
|
@@ -44417,8 +44406,6 @@ class LineBreakRun extends TextBlockComponent {
|
|
|
44417
44406
|
}
|
|
44418
44407
|
/** A collection of [[Run]]s within a [[TextBlock]]. Each paragraph within a text block is laid out on a separate line.
|
|
44419
44408
|
* @beta
|
|
44420
|
-
* @preview
|
|
44421
|
-
* @extensions
|
|
44422
44409
|
*/
|
|
44423
44410
|
class Paragraph extends TextBlockComponent {
|
|
44424
44411
|
constructor(props) {
|
|
@@ -44466,8 +44453,6 @@ class Paragraph extends TextBlockComponent {
|
|
|
44466
44453
|
* No word-wrapping is applied to the document unless a [[width]] greater than zero is specified.
|
|
44467
44454
|
* @see [[TextAnnotation]] to position a text block as an annotation in 2d or 3d space.
|
|
44468
44455
|
* @beta
|
|
44469
|
-
* @preview
|
|
44470
|
-
* @extensions
|
|
44471
44456
|
*/
|
|
44472
44457
|
class TextBlock extends TextBlockComponent {
|
|
44473
44458
|
constructor(props) {
|
|
@@ -44590,8 +44575,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
44590
44575
|
* @note This is an immutable type. Use [[clone]] to create a modified copy.
|
|
44591
44576
|
* @see [[TextStyleSettingsProps]] for documentation of each of the settings.
|
|
44592
44577
|
* @beta
|
|
44593
|
-
* @preview
|
|
44594
|
-
* @extensions
|
|
44595
44578
|
*/
|
|
44596
44579
|
class TextStyleSettings {
|
|
44597
44580
|
constructor(props, defaults) {
|
|
@@ -44658,8 +44641,6 @@ Object.freeze(TextStyleSettings.defaults);
|
|
|
44658
44641
|
* @see [[TextBlockComponent.styleName]] to define the text style for a component of a [[TextBlock]].
|
|
44659
44642
|
* @note This is an immutable type. Use [[clone]] to create a modified copy.
|
|
44660
44643
|
* @beta
|
|
44661
|
-
* @preview
|
|
44662
|
-
* @extensions
|
|
44663
44644
|
*/
|
|
44664
44645
|
class TextStyle {
|
|
44665
44646
|
constructor(name, settings) {
|
|
@@ -46784,10 +46765,8 @@ var ElementGeometry;
|
|
|
46784
46765
|
return true;
|
|
46785
46766
|
}
|
|
46786
46767
|
/** Append a series of entries representing a [[TextBlock]] to the [[ElementGeometryDataEntry]] array.
|
|
46787
|
-
|
|
46788
|
-
|
|
46789
|
-
* @preview
|
|
46790
|
-
*/
|
|
46768
|
+
* @beta
|
|
46769
|
+
*/
|
|
46791
46770
|
appendTextBlock(block) {
|
|
46792
46771
|
for (const entry of block.entries) {
|
|
46793
46772
|
let result;
|
|
@@ -53126,8 +53105,6 @@ class GeometryStreamBuilder {
|
|
|
53126
53105
|
}
|
|
53127
53106
|
/** Append a series of entries representing a [[TextBlock]] to the [[GeometryStreamProps]] array.
|
|
53128
53107
|
* @beta
|
|
53129
|
-
* @extensions
|
|
53130
|
-
* @preview
|
|
53131
53108
|
*/
|
|
53132
53109
|
appendTextBlock(block) {
|
|
53133
53110
|
for (const entry of block.entries) {
|
|
@@ -100927,7 +100904,6 @@ const extensionExports = {
|
|
|
100927
100904
|
FlashMode: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.FlashMode,
|
|
100928
100905
|
FlashSettings: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.FlashSettings,
|
|
100929
100906
|
FontType: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.FontType,
|
|
100930
|
-
FractionRun: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.FractionRun,
|
|
100931
100907
|
FrontendLoggerCategory: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.FrontendLoggerCategory,
|
|
100932
100908
|
FrustumAnimator: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.FrustumAnimator,
|
|
100933
100909
|
FrustumPlanes: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.FrustumPlanes,
|
|
@@ -100962,7 +100938,6 @@ const extensionExports = {
|
|
|
100962
100938
|
InteractiveTool: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.InteractiveTool,
|
|
100963
100939
|
IntersectDetail: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.IntersectDetail,
|
|
100964
100940
|
KeyinParseError: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.KeyinParseError,
|
|
100965
|
-
LineBreakRun: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.LineBreakRun,
|
|
100966
100941
|
LinePixels: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.LinePixels,
|
|
100967
100942
|
LocateAction: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.LocateAction,
|
|
100968
100943
|
LocateFilterStatus: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.LocateFilterStatus,
|
|
@@ -100988,7 +100963,6 @@ const extensionExports = {
|
|
|
100988
100963
|
OutputMessageAlert: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.OutputMessageAlert,
|
|
100989
100964
|
OutputMessagePriority: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.OutputMessagePriority,
|
|
100990
100965
|
OutputMessageType: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.OutputMessageType,
|
|
100991
|
-
Paragraph: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.Paragraph,
|
|
100992
100966
|
ParseAndRunResult: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.ParseAndRunResult,
|
|
100993
100967
|
ParticleCollectionBuilder: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.ParticleCollectionBuilder,
|
|
100994
100968
|
PerModelCategoryVisibility: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.PerModelCategoryVisibility,
|
|
@@ -101016,7 +100990,6 @@ const extensionExports = {
|
|
|
101016
100990
|
RenderGraphicOwner: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.RenderGraphicOwner,
|
|
101017
100991
|
RenderMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.RenderMode,
|
|
101018
100992
|
RenderSystem: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.RenderSystem,
|
|
101019
|
-
Run: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.Run,
|
|
101020
100993
|
Scene: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.Scene,
|
|
101021
100994
|
ScreenViewport: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.ScreenViewport,
|
|
101022
100995
|
SectionDrawingModelState: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.SectionDrawingModelState,
|
|
@@ -101045,12 +101018,6 @@ const extensionExports = {
|
|
|
101045
101018
|
SyncMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.SyncMode,
|
|
101046
101019
|
TentativePoint: _core_frontend__WEBPACK_IMPORTED_MODULE_1__.TentativePoint,
|
|
101047
101020
|
TerrainHeightOriginMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TerrainHeightOriginMode,
|
|
101048
|
-
TextAnnotation: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TextAnnotation,
|
|
101049
|
-
TextBlock: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TextBlock,
|
|
101050
|
-
TextBlockComponent: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TextBlockComponent,
|
|
101051
|
-
TextRun: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TextRun,
|
|
101052
|
-
TextStyle: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TextStyle,
|
|
101053
|
-
TextStyleSettings: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TextStyleSettings,
|
|
101054
101021
|
TextureMapUnits: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TextureMapUnits,
|
|
101055
101022
|
ThematicDisplayMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.ThematicDisplayMode,
|
|
101056
101023
|
ThematicGradientColorScheme: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.ThematicGradientColorScheme,
|
|
@@ -150807,7 +150774,13 @@ async function getCesiumTerrainProvider(opts) {
|
|
|
150807
150774
|
}
|
|
150808
150775
|
const tilingScheme = new _internal__WEBPACK_IMPORTED_MODULE_8__.GeographicTilingScheme();
|
|
150809
150776
|
let tileAvailability;
|
|
150810
|
-
|
|
150777
|
+
// When collecting tiles, only the highest resolution tiles are downloaded.
|
|
150778
|
+
// Because of that, the tile availability is often only populated by the
|
|
150779
|
+
// "layer" metadata. (i.e. not from higher resolution tiles metadata).
|
|
150780
|
+
// Unfortunately the "layer" metadata only cover the first 16 levels,
|
|
150781
|
+
// preventing the geometry collector from accessing to higher resolution tiles.
|
|
150782
|
+
// For now, the solution is to turn off tile availability check when collecting geometries.
|
|
150783
|
+
if (undefined !== layers.available && !opts.produceGeometry) {
|
|
150811
150784
|
const availableTiles = layers.available;
|
|
150812
150785
|
tileAvailability = new _internal__WEBPACK_IMPORTED_MODULE_8__.TileAvailability(tilingScheme, availableTiles.length);
|
|
150813
150786
|
for (let level = 0; level < layers.available.length; level++) {
|
|
@@ -156309,6 +156282,7 @@ class MapTreeSupplier {
|
|
|
156309
156282
|
exaggeration: id.terrainExaggeration,
|
|
156310
156283
|
wantNormals: id.wantNormals,
|
|
156311
156284
|
dataSource: id.terrainDataSource,
|
|
156285
|
+
produceGeometry: id.produceGeometry,
|
|
156312
156286
|
};
|
|
156313
156287
|
if (id.applyTerrain) {
|
|
156314
156288
|
await _ApproximateTerrainHeights__WEBPACK_IMPORTED_MODULE_3__.ApproximateTerrainHeights.instance.initialize();
|
|
@@ -297167,7 +297141,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
297167
297141
|
/***/ ((module) => {
|
|
297168
297142
|
|
|
297169
297143
|
"use strict";
|
|
297170
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.6.0-dev.
|
|
297144
|
+
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"}}');
|
|
297171
297145
|
|
|
297172
297146
|
/***/ })
|
|
297173
297147
|
|