Skip to content

Commit

Permalink
Merge master back into imodel02 (#3403)
Browse files Browse the repository at this point in the history
* transformer workaround memory leak when processing large models (#3253)

- see this issue report of the leak nodejs/node-addon-api#1140
- the leak appears to be a bug in node[-addon-api]. Tracing the gc shows JS heap size remains stable and old-generation garbage collection sweeps occur in parallel with the JS work, but objects that use `Napi::ObjectWrap` hold on to some memory until the thread yields. See the above issue for more details.
- the workaround is to force yield the javascript job in long loops
- the transformation service already employs this workaround to handle huge models

Co-authored-by: Michael Belousov <MichaelBelousov@users.noreply.github.com>

* Map GetFeatureInfo (#2830)

Co-authored-by: MarcBedard8 <31048177+MarcBedard8@users.noreply.github.com>
Co-authored-by: Arun George <11051042+aruniverse@users.noreply.github.com>

* Bug fix: Right click on the 'New maplayer' dialog would close it (#3247)

* Bug fix: Right click on the new layer dialog would close it.

* changelog

* 3.1.0-dev.34

* react to breaking change in 3.0 wrt ecsql query row format (#3257)

Co-authored-by: Arun George <aruniverse@users.noreply.github.com>

* Fix panel size (#3260)

* Respect min/max size when initializing a panel.

* Rush change.

* Replace setImmediate usage with yield manager (#3261)

* add YieldManager

* replace setImmediate with yieldmanager

Co-authored-by: Michael Belousov <MichaelBelousov@users.noreply.github.com>

* 3.1.0-dev.35

* Add new extension api (#2743)

* Added extensions project

* Added extension changes to core-frontend

* Added extension test placeholder

* Added extension ui-test-app

* Set new extension exports to alpha

* Change logs

* Added extension package documentation

* Updated code owners and removed unused test

* Extract-api

* Reverted changes to appui-react api

* Removed some common types from extension access

* Removed some frontend types from extensions

* Added real frontend functions

* Added more frontend exports

* Removed real ToolSettings

* Updated extensions to beta

* Removed broken link to extension docs

* Removed commented-out code

* Simplified extension test tool

* Merge fixes

* clean up API

* add kevin as codeowner for extensions

* cleanup core-extension

* core-frontend

* react to PR comments

* update lock file

* update lock

* update api docs

* pr comment + dont lint

* extract-api

* move enum to Extension.ts

* use proper types, cleanup tags

* fix gnarly comment

Co-authored-by: Caleb Shafer <31107829+calebmshafer@users.noreply.github.com>
Co-authored-by: Arun George <aruniverse@users.noreply.github.com>
Co-authored-by: kckst8 <6283674+kckst8@users.noreply.github.com>

* 3.1.0-dev.36

* Move Extensions to alpha (#3269)

* mark extension APIs as @Alpha

* changes

* delete unnecessary change file

* re-add empty changes

* Mark core-geometry barrel as having sideEffects. (#3270)

* 3.1.0-dev.37

* 3.1.0-dev.38

* 3.1.0-dev.39

* Presentation: Fix presentation rpc requests caching (#3275)

* Fix requests memoization

* Fix a false log message

* Change the type of ToolAdmin.idleTool from IdleTool to InteractiveTool (#3277)

* Upgrade iTwinUI-react version 1.32.0 (#3271)

* update to latest itwinui package

* rush change

* Presentation: Optimize ModelsTree search ruleset (#3274)

* Optimize ModelsTree search ruleset

* rush change

* update the pnpmfile.cjs (#3281)

Co-authored-by: Arun George <aruniverse@users.noreply.github.com>

* 3.1.0-dev.40

* 3.0.1 changelogs (#3285)

Co-authored-by: imodeljs-admin <38288322+imodeljs-admin@users.noreply.github.com>

* Refactor MapLayers UI (#3254)

Co-authored-by: Arun George <aruniverse@users.noreply.github.com>
Co-authored-by: Bill Steinbock <65047615+bsteinbk@users.noreply.github.com>

* 3.1.0-dev.41

* Allow blank connections applications use map-layers widget 's  UserPreferences (#3256)

* Allow blank connections applications use map-layers widget 's  UserPreferences

* Make MapLayerManager fetch preferences even though thre is no iTwinId / iModelId

* Made iTwinid mandatory.  Also renamed any instance of projectId to iTwinid.

* Removed no longer needed blank connections Map to UserPreferencesMock

* Removed UserPreferencesMock leftover

* More renaming projectId-ITwinId

* iTwinId now mandatory for replaceSource

* changelog

* UI: Deprecate broken `IMutableGridCategoryItem` methods (#3286)

* UI: Remove Checkbox bug workaround (#3283)

* Update to open collapsed containing panel when open widget request is made (#3289)

* Ensure that widgetDef set/get widgetState accounts for collapsed panel.

* Update test coverage

* rush change

* extract-api and add change info to NextVersion.md

* 3.1.0-dev.42

* 3.2.0-dev.0

* 3.2.0-dev.1

* Presentation: Common rule docs (#3186)

* Add `chai-string` dependency to presentation-full-stack-tests

* Doc enhancements for `RelatedInstanceSpecification`

* Doc enhancements for `RelationshipPathSpecification`

* Add docs for `RepeatableRelationshipPathSpecification`

* Move `MultiSchemaClasses` learning snippet test into `CommonRules.test.ts`. Add a result image for it.

* Move common rule docs into presentation docs root to avoid having to provide an index for them

* Update docs/presentation/RelatedInstanceSpecification.md

Co-authored-by: Robert Lukasonok <70327485+roluk@users.noreply.github.com>

* Update docs/presentation/RelatedInstanceSpecification.md

Co-authored-by: Robert Lukasonok <70327485+roluk@users.noreply.github.com>

* Remove unused `chai-string` dependency

* Update full-stack-tests/presentation/src/learning-snippets/CommonRules.test.ts

Co-authored-by: Robert Lukasonok <70327485+roluk@users.noreply.github.com>

* Extend the recursive relationship step step example

* Attempt to clarify `count: "*"`

* Restore unintentional changes

* Restore unintentional changes

* Update docs/presentation/RepeatableRelationshipPathSpecification.md

Co-authored-by: Robert Lukasonok <70327485+roluk@users.noreply.github.com>

* Update docs/presentation/RepeatableRelationshipPathSpecification.md

Co-authored-by: Robert Lukasonok <70327485+roluk@users.noreply.github.com>

* Update docs/presentation/RepeatableRelationshipPathSpecification.md

Co-authored-by: Robert Lukasonok <70327485+roluk@users.noreply.github.com>

* Update docs/presentation/RepeatableRelationshipPathSpecification.md

Co-authored-by: Robert Lukasonok <70327485+roluk@users.noreply.github.com>

* Update docs/presentation/RepeatableRelationshipPathSpecification.md

Co-authored-by: Robert Lukasonok <70327485+roluk@users.noreply.github.com>

Co-authored-by: Robert Lukasonok <70327485+roluk@users.noreply.github.com>

* implement clonePartialCurve for B-splines (#3294)

* addKnot, clone refactor

* impl Bezier/Bspline clonePartialCurve

* clone narrow, knot bracket/normalize, offset tests

* lint: CurvePrimitive.clone() narrowing

* missed a narrow

* missed another narrow

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* Use relative links instead of $docs syntax (#3291)

* Use relative links instead of $docs syntax

* Fix bad merge

* Support unquantized vertex tables (#3288)

* Remove obsolete unused BingElevation-based terrain.

* MeshPointList

* Option to quantize positions.

* Simplify graphic args pt 1: delete MeshGraphicArgs.

* Get stuff (mostly tests) compiling.

* Clean up (to an extent) MeshArgs and PolylineArgs. Tests are annoying.

* remove obsolete TODO.

* Quantized vertex table builders.

* unquantized vertex table builders.

* Mesh/PolylineArgs.points doesn't need an add method.

* Vertex comparison tolerance based on quantization params or chord tolerance.

* fix dumb test.

* fix a couple tests.

* fix vertex comparison.

* Clarify feature index is 24 bits and material index is not produced by frontend code.

* indentation

* ShaderBuilderFlags is an object.

We will need max rgba per vertex shortly.

* Read vertex table data up front.

* Use pre-sampled data for position.

* Use pre-sampled data for normals and color index.

* Use pre-sampled vertex data everywhere.

* Support decoding unquantized vertex position.

* Point3dList.range; qparams can be used for deriving range even if positions are not quantized.

* Flag specifying whether positions are quantized.

* consolidate normal computation.

* When reading vertex data conditionalize based on whether positions are quantized.

* Decode unquantized polyline/edge endpoints.

* PolylineTesselator.

* Turn on unquantized positions for decorations.

Test failures ensue.

* fix 3 tests.

the rest of the failures are from rendering.

* Test for unquantized vertex table (failing).

* Get test passing.

* unquantized geometry now renders correctly.

* update TODO. Probably won't address.

* Define unquantized positions relative to center of range.

* Update test.

* extract-api

* lint....

* please build my code.

* 3.2.0-dev.2

* 3.2.0-dev.3

* 3.2.0-dev.4

* 3.2.0-dev.5

* Reimplement deprecated getViewThumbnail function to resolve regression (#3306)

* Reimplement deprecated getViewThumbnail function to resolve regression

* allow LineString3d.clonePartialCurve() to extend the instance (#3315)

* allow extending LineString3d in clonePartialCurve

* testing, narrowing

* 3.2.0-dev.6

* Fixed issue that would close the new maplayer dialog when a new layer type was picked. (#3313)

* Fixed issue that would close the new maplayer dialog when a new layer type was picked.

* No need to resume outside click handling  when the whole panel is unloaded.

* changelog

* Fix background base color (#3318)

* 3.2.0-dev.7

* Improved validation of ESRI services before adding map layer (#3321)

* Validate  ESRI service supports 'Map' requests before making further tile requests.

* changelog

* Allow UI to initialize to old interface (#3322)

* Allow initial UI version to be set when UIFramework is initialized

* Rush change and add note about testing 1.0 mode.

* fix typo in ui-test-app

* Control active model/category in display-test-app (#3323)

* Fix 'ResizeObserver loop limit exceeded' error in MapLayers widget (#3305)

* Replaced useResizeDerector by UseLayoutResizeObserver

* changelog

* fixed CSS typo

* 3.2.0-dev.8

* Presentation: Customization rules documentation improvement (#3267)

* Update StyleOverride rule docs

* Update LabelOverride rule docs

* Update ImageIdOverride rule docs

* Update CheckBoxRule docs

* Add way to customize tree node items in data provider

* Deprecated some customization rules and corresponding node properties

* Add learning snippets for customization rules

* Add example snippets for SortingRule attributes

* Add example snippets for InstanceLabelOverride rule attributes

* Add example snippets for ExtendedDataRule attributes

* Restructure customization rules docs index

* Deprecated Item.imageId property

* Add docs for ExtendedDataRule usage

* Cleanup ExtendedDataUsage docs

* Add example images

* Fix node order check in hierarchies test

* Add links to attributes table

* Deprecate showImages attribute

* Make types referenced comment into links

* Sort imports

* Commit missing snapshot

* Fix typo in ExtendedDataRule ruleset snippet

* Fix typo

* Update instance label override class attribute snippet

* Fix identation

* Remove unnecessary suggestion to use InstanceLabelOverride

* Add more links to extended data usage page

* Update callouts in example images

* Improve sorting rule required schemas example

* extract-api

* Fix typos

* Fix typo

* Fix ruleset description

* Add better examples for disabled sorting rule

* Remove remark

* Rush change

* Add illustrations for requiredSchemas attribute

* Improve condition result value column naming

* Add missing comma

* Fix test

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* Remove limit for categories query in display-test-app (#3310)

* up  limit for categories

* removed limit altogether

* Presentation: Fix paged request result accumulation (#3329)

* Avoid infinite loop when building paged requests response

* Rush change

* Update presentation/frontend/src/test/PresentationManager.test.ts

Co-authored-by: Grigas <35135765+grigasp@users.noreply.github.com>

Co-authored-by: Grigas <35135765+grigasp@users.noreply.github.com>

* return 404 status in RPC when iModel is not open (#3330)

* return 404 status in RPC when iModel is not open

* change

* remove redundant throw

* remove unused import

* Tools for modifying path/region geometry. (#3335)

* Tools for modifying path/region geometry.

* extract-api

* 3.0.2 changelogs (#3336)

Co-authored-by: imodeljs-admin <38288322+imodeljs-admin@users.noreply.github.com>

* 3.2.0-dev.9

* Expose iTwin.js Core Version for extensions/embed-api (#3287)

Co-authored-by: Arun George <aruniverse@users.noreply.github.com>

* @bentley/imodeljs-native 3.2.0

* Pin reality-data-client to 0.7.0 due to bug in 0.7.1

* use relative links for md-> md linking

* Fix DisplayStyleState.changeBackgroundMapProvider (#3346)

* 3.2.0-dev.10

* 3.2.0-dev.11

* 3.2.0-dev.12

* BriefcaseConnection.activeSettings (#3341)

* Clean up nextversion.md

* Provide API to detect integrated graphics (#3324)

* first cut

* comment.

* NextVersion

* comment

* rush change

* rush extract-api

* Clean up changelog; add sample code.

* beta -> public

* fix doc link

* Add testing. Also tweak integrated detection logic - unmasked vendor is unreliable.  Detect Iris differently to work for cases in the wild.

* simplify conditional to test integrated.

Co-authored-by: Paul Connelly <22944042+pmconne@users.noreply.github.com>

* disable lint warning for deprecation

* Merge with master

* rush change

* 3.2.0-dev.13

* initial Webpack 5 support (#3320)

Co-authored-by: Arun George <aruniverse@users.noreply.github.com>

* ColorDef validation and ColorByName fix (#3360)

* ColorByName is an object not an enum

Add ColorDef validation.

* Test ColorDef.getName

* docs, types.

* lint, extract-api

* NextVersion.md

* why aren't integration tests running?

* so much casting.

* 3.2.0-dev.14

* @bentley/imodeljs-native 3.2.1

* 3.2.0-dev.15

* @bentley/imodeljs-native 3.2.1

* Remove dependency on sprite loader (#3369)

* WIP

* WIP

* Remove all sprite references from ui-items-providers-test

* Testing for IconComponent web component icons
Change IconComponent tests to react-teating-library
Remove unused code from IconComponent

* use import statement to load local svgs

* Remove sprite usage from teh core packages
Deprecate sprite functionality

* rush change

* Remove  most sprite reference from ui-test-app,
leaving some in for test coverage.

* Extract-api

* correct doc typo

* Edit docs for clarity.

* Fix lint errors
Update NextVersion with deprecations

* Doc correction

* Fix length in getWebComponentSource

* Fix bad docs links

* Fix UI provider bug and add new provider param to isSupportedStage callback (#3377)

* fix bug where the wrong number of parameters were being passed

* fix missing parameter in provide widgets

* rush change

* 3.2.0-dev.16

* Presentation: Fix tile links in the documentation index page (#3372)

* @bentley/imodeljs-native 3.2.1

* small comment change

* Improve custom property value renderers' docs (#3370)

* Add the ability to skip the cross origin check (#3385)

* Add the ability to skip the cross origin check

Update imageElementFromUrl and tryImageElementFromUrl to have a new optional parameter (default false) that when set to true will skip the cross origin check when loading the image.

* Document API changes.

* extract-api

* 3.2.0-dev.17

* 3.2.0-dev.18

* 3.2.0-dev.19

* Provide an error message when IModelHost.hubAccess is undefined (#3391)

* bump to reality-data-client@0.7.2 (#3376)

* bump to reality-data-client@0.7.2
* move form `onKeyPress` to `onKeyDown`

Co-authored-by: Arun George <aruniverse@users.noreply.github.com>

* 3.2.0-dev.20

* Remove 2.x extension api (#3353)

* kill off old extension api

Co-authored-by: Arun George <aruniverse@users.noreply.github.com>

* Fix for 3 new vulnerabilities. React to new @types/react version (#3399)

Update to fix a few build issues in the ui packages with new @types/react version.

Fix for 3 new vulnerabilities:

- minimist has a new vulnerability for the older versions of the package. Update display perf test app to the latest version of chrome-launcher to fix.
- node-forge has two new CVEs (here and here) and is a transitive dependency of webpack-dev-server and react-scripts. Unfortunately webpack-dev-server is locked down to a specific version of the selfsigned package, the package with a dependency on node-forge, which is on an old major version of the node-forge. The only way to fix this would be to either fork webpack-dev-server (which we don't want to do) or update to react-scripts@5 that is on the latest version.
- faker.js, a dev dependency used for testing, that is consumed by the presentation tests. There is no current fix so it has been added to the excluded list.

Co-authored-by: bsteinbk <65047615+bsteinbk@users.noreply.github.com>

* Show usage of itwin UI Menu and Dropdown menu in place of core-react ContextMenu (#3293)

* Allow default tool to be started on frontstage activation even if a defaultTool is not specified in stage

* working on using itwinui's menus to replace core-react components.

* Reinstate a couple boxshadow variables use in DatePicker.

* Deprecate ShowHideMenu used in deprcated table

* Add appendTo="parent" to DropdownMenu specification

* Add NextVersion entry about deprecations.

* 3.2.0-dev.21

* Make it easier to override display-test-app configuration. (#3400)

* Make it easier to override display-test-app configuration.

* clarify.

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* Presentation: Learning snippets cleanup (#3386)

* Move `printRuleset` function into a shared utils file

* Split learning snippets into separate files

* Prefix all learning snippets with `Presentation.` to avoid collisions with non-presentation snippets

* Fix mixed up content specification learning snippets

Co-authored-by: Michael Belousov <mike.belousov@bentley.com>
Co-authored-by: Michael Belousov <MichaelBelousov@users.noreply.github.com>
Co-authored-by: Michel D'Astous <mdastous-bentley@users.noreply.github.com>
Co-authored-by: MarcBedard8 <31048177+MarcBedard8@users.noreply.github.com>
Co-authored-by: Arun George <11051042+aruniverse@users.noreply.github.com>
Co-authored-by: imodeljs-admin <38288322+imodeljs-admin@users.noreply.github.com>
Co-authored-by: Arun George <aruniverse@users.noreply.github.com>
Co-authored-by: GerardasB <10091419+GerardasB@users.noreply.github.com>
Co-authored-by: Spencer Barnes <interstellarjumper@gmail.com>
Co-authored-by: Caleb Shafer <31107829+calebmshafer@users.noreply.github.com>
Co-authored-by: kckst8 <6283674+kckst8@users.noreply.github.com>
Co-authored-by: Bill Goehrig <33036725+wgoehrig@users.noreply.github.com>
Co-authored-by: Grigas <35135765+grigasp@users.noreply.github.com>
Co-authored-by: Paul Connelly <22944042+pmconne@users.noreply.github.com>
Co-authored-by: Bill Steinbock <65047615+bsteinbk@users.noreply.github.com>
Co-authored-by: Seamus Kirby <32379572+skirby1996@users.noreply.github.com>
Co-authored-by: Robert Lukasonok <70327485+roluk@users.noreply.github.com>
Co-authored-by: dassaf4 <68340676+dassaf4@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: williamkbentley <38542573+williamkbentley@users.noreply.github.com>
Co-authored-by: Saulius Skliutas <24278440+saskliutas@users.noreply.github.com>
Co-authored-by: MarcNeely <36053767+MarcNeely@users.noreply.github.com>
Co-authored-by: Paulius Valiūnas <66480813+paulius-valiunas@users.noreply.github.com>
Co-authored-by: bbastings <65233531+bbastings@users.noreply.github.com>
Co-authored-by: markschlosseratbentley <47000437+markschlosseratbentley@users.noreply.github.com>
Co-authored-by: AJMigliore <AJMigliore@users.noreply.github.com>
Co-authored-by: NancyMcCallB <45079789+NancyMcCallB@users.noreply.github.com>
Co-authored-by: Travis Cobbs <77415528+tcobbs-bentley@users.noreply.github.com>
Co-authored-by: mgooding <869053+mgooding@users.noreply.github.com>
  • Loading branch information
2 parents 50c3537 + 22fc7db commit 37bb070
Show file tree
Hide file tree
Showing 1,051 changed files with 29,473 additions and 13,856 deletions.
6 changes: 4 additions & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,9 @@ rush.json @iTwin/itwinjs-core-admins
/core/ecschema-* @calebmshafer @ColinKerr @wgoehrig
/core/electron @wgoehrig @ramanujam-raman
/core/express-server @calebmshafer @wgoehrig @ramanujam-raman
/core/extension @calebmshafer @wgoehrig @aruniverse @kckst8
/core/frontend @kabentley @bbastings @iTwin/itwinjs-core-display
/core/frontend/src/extension @calebmshafer @wgoehrig
/core/frontend/src/extension @calebmshafer @wgoehrig @aruniverse @kckst8
/core/frontend-devtools @iTwin/itwinjs-core-display @Ellord207
/core/geometry @bbastings @mgooding @dassaf4
/core/hypermodeling @bbastings @iTwin/itwinjs-core-display
Expand Down Expand Up @@ -134,6 +135,7 @@ rush.json @iTwin/itwinjs-core-admins
/example-code @iTwin/itwinjs-core-admins

/extensions @bsteinbk @calebmshafer
/extensions/test-extension @calebmshafer @wgoehrig @aruniverse @kckst8
/extensions/map-layers @bsteinbk @mdastous-bentley

/full-stack-tests/core @iTwin/itwinjs-core-admins
Expand Down Expand Up @@ -163,7 +165,7 @@ rush.json @iTwin/itwinjs-core-admins
/tools/backend-webpack @calebmshafer @wgoehrig
/tools/build @calebmshafer @wgoehrig
/tools/certa @calebmshafer @wgoehrig
/tools/webpack-core @calebmshafer @wgoehrig
/tools/webpack-core @calebmshafer @wgoehrig @aruniverse
/tools/ecschema2ts @calebmshafer @ColinKerr @wgoehrig
/tools/eslint-plugin @calebmshafer @paulius-valiunas
/tools/internal @calebmshafer @wgoehrig
Expand Down
12 changes: 12 additions & 0 deletions clients/imodelhub/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
{
"name": "@bentley/imodelbank-client",
"entries": [
{
"version": "3.0.2",
"tag": "@bentley/imodelbank-client_v3.0.2",
"date": "Thu, 10 Mar 2022 21:18:12 GMT",
"comments": {}
},
{
"version": "3.0.1",
"tag": "@bentley/imodelbank-client_v3.0.1",
"date": "Thu, 24 Feb 2022 15:26:55 GMT",
"comments": {}
},
{
"version": "3.0.0",
"tag": "@bentley/imodelbank-client_v3.0.0",
Expand Down
12 changes: 11 additions & 1 deletion clients/imodelhub/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Change Log - @bentley/imodelbank-client

This log was last generated on Mon, 24 Jan 2022 14:00:52 GMT and should not be manually modified.
This log was last generated on Thu, 10 Mar 2022 21:18:12 GMT and should not be manually modified.

## 3.0.2
Thu, 10 Mar 2022 21:18:12 GMT

_Version update only_

## 3.0.1
Thu, 24 Feb 2022 15:26:55 GMT

_Version update only_

## 3.0.0
Mon, 24 Jan 2022 14:00:52 GMT
Expand Down
4 changes: 2 additions & 2 deletions clients/imodelhub/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@bentley/imodelbank-client",
"private": true,
"version": "3.1.0-dev.33",
"version": "3.2.0-dev.21",
"description": "iModel.js iModelHub Client",
"main": "lib/cjs/imodelhub-client.js",
"modules": "lib/esm/imodelhub-client.js",
Expand Down Expand Up @@ -48,7 +48,7 @@
"superagent": "^7.0.1"
},
"peerDependencies": {
"@itwin/core-bentley": "workspace:^3.1.0-dev.33"
"@itwin/core-bentley": "workspace:^3.2.0-dev.21"
},
"devDependencies": {
"@itwin/core-backend": "workspace:*",
Expand Down
12 changes: 10 additions & 2 deletions common/api/appui-abstract.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,11 +253,11 @@ export abstract class BaseQuantityDescription implements PropertyDescription {

// @public
export class BaseUiItemsProvider implements UiItemsProvider {
constructor(_providerId: string, isSupportedStage?: ((stageId: string, stageUsage: string, stageAppData?: any) => boolean) | undefined);
constructor(_providerId: string, isSupportedStage?: ((stageId: string, stageUsage: string, stageAppData?: any, provider?: UiItemsProvider | undefined) => boolean) | undefined);
// (undocumented)
get id(): string;
// (undocumented)
isSupportedStage?: ((stageId: string, stageUsage: string, stageAppData?: any) => boolean) | undefined;
isSupportedStage?: ((stageId: string, stageUsage: string, stageAppData?: any, provider?: UiItemsProvider | undefined) => boolean) | undefined;
// (undocumented)
onUnregister(): void;
provideBackstageItems(): BackstageItem[];
Expand Down Expand Up @@ -1200,9 +1200,15 @@ export interface IconListEditorParams extends BasePropertyEditorParams {

// @public
export class IconSpecUtilities {
// @deprecated
static createSvgIconSpec(svgSrc: string): string;
static createWebComponentIconSpec(srcString: string): string;
// @deprecated
static getSvgSource(iconSpec: string): string | undefined;
static getWebComponentSource(iconSpec: string): string | undefined;
static readonly SVG_PREFIX = "svg:";
// (undocumented)
static readonly WEB_COMPONENT_PREFIX = "webSvg:";
}

// @internal
Expand Down Expand Up @@ -2099,6 +2105,8 @@ export enum UiItemsApplicationAction {

// @public
export class UiItemsManager {
// @internal
static clearAllProviders(): void;
static getBackstageItems(): BackstageItem[];
static getStatusBarItems(stageId: string, stageUsage: string, stageAppData?: any): CommonStatusBarItem[];
static getToolbarButtonItems(stageId: string, stageUsage: string, toolbarUsage: ToolbarUsage, toolbarOrientation: ToolbarOrientation, stageAppData?: any): CommonToolbarItem[];
Expand Down
4 changes: 2 additions & 2 deletions common/api/appui-react.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -6779,10 +6779,10 @@ export class UiFramework {
static getWidgetOpacity(): number;
// @alpha (undocumented)
static get hideIsolateEmphasizeActionHandler(): HideIsolateEmphasizeActionHandler;
static initialize(store: Store<any> | undefined, frameworkStateKey?: string): Promise<void>;
static initialize(store: Store<any> | undefined, frameworkStateKey?: string, startInUi1Mode?: boolean): Promise<void>;
static get initialized(): boolean;
// @internal
static initializeEx(store: Store<any> | undefined, frameworkStateKey?: string): Promise<void>;
static initializeEx(store: Store<any> | undefined, frameworkStateKey?: string, startInUi1Mode?: boolean): Promise<void>;
static initializeStateFromUserSettingsProviders(immediateSync?: boolean): Promise<void>;
// @alpha
static get isContextMenuOpen(): boolean;
Expand Down
20 changes: 10 additions & 10 deletions common/api/components-react.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1246,9 +1246,9 @@ export function getVisibleDescendants(model: TreeModel, parentNode: TreeModelNod
export interface GridCategoryItem extends FlatGridItemBase {
// (undocumented)
readonly derivedCategory: PropertyCategory;
// (undocumented)
// @deprecated (undocumented)
getChildCategories(): GridCategoryItem[];
// (undocumented)
// @deprecated (undocumented)
getDescendantCategoriesAndSelf(): GridCategoryItem[];
// (undocumented)
readonly name: string;
Expand Down Expand Up @@ -1493,9 +1493,9 @@ export interface IMutableFlatPropertyGridItem {
export interface IMutableGridCategoryItem extends IMutableFlatPropertyGridItem {
// (undocumented)
derivedCategory: PropertyCategory;
// (undocumented)
// @deprecated (undocumented)
getChildCategories(): IMutableGridCategoryItem[];
// (undocumented)
// @deprecated (undocumented)
getDescendantCategoriesAndSelf(): IMutableGridCategoryItem[];
// (undocumented)
isRootCategory: boolean;
Expand Down Expand Up @@ -2912,7 +2912,7 @@ export class ShortDateTypeConverter extends DateTimeTypeConverterBase {
protected getTimeFormat(): TimeFormat;
}

// @public
// @public @deprecated
export class ShowHideDialog<T extends ShowHideID> extends React.PureComponent<ShowHideDialogProps<T>, ShowHideDialogState<T>> {
constructor(props: ShowHideDialogProps<T>);
// @internal (undocumented)
Expand All @@ -2923,25 +2923,25 @@ export class ShowHideDialog<T extends ShowHideID> extends React.PureComponent<Sh
readonly state: ShowHideDialogState<T>;
}

// @public
// @public @deprecated
export interface ShowHideDialogProps<T extends ShowHideID> extends GlobalDialogProps {
initialHidden?: T[];
items: Array<ShowHideItem<T>>;
onShowHideChange?: (cols: T[]) => boolean | undefined;
}

// @public
// @public @deprecated
export type ShowHideID = string | number | symbol;

// @public
// @public @deprecated
export interface ShowHideItem<T extends ShowHideID> {
// (undocumented)
id: T;
// (undocumented)
label: string;
}

// @public
// @public @deprecated
export class ShowHideMenu<T extends ShowHideID> extends React.PureComponent<ShowHideMenuProps<T>, ShowHideMenuState<T>> {
// @internal
constructor(props: ShowHideMenuProps<T>);
Expand All @@ -2953,7 +2953,7 @@ export class ShowHideMenu<T extends ShowHideID> extends React.PureComponent<Show
readonly state: ShowHideMenuState<T>;
}

// @public
// @public @deprecated
export interface ShowHideMenuProps<T extends ShowHideID> extends GlobalContextMenuProps {
initialHidden?: T[];
items: Array<ShowHideItem<T>>;
Expand Down
17 changes: 17 additions & 0 deletions common/api/core-bentley.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1527,6 +1527,23 @@ export function utf8ToString(utf8: Uint8Array): string | undefined;
// @internal
export function utf8ToStringPolyfill(utf8: Uint8Array): string | undefined;

// @internal
export class YieldManager {
constructor(options?: YieldManagerOptions);
// (undocumented)
protected actualYield(): Promise<void>;
// (undocumented)
allowYield(): Promise<void>;
// (undocumented)
options: Readonly<Required<YieldManagerOptions>>;
}

// @internal
export interface YieldManagerOptions {
// (undocumented)
iterationsBeforeYield?: number;
}


// (No @packageDocumentation comment for this package)

Expand Down

0 comments on commit 37bb070

Please sign in to comment.