Skip to content

Commit

Permalink
Merge master into imodel02 (#3255)
Browse files Browse the repository at this point in the history
* Fix dpta signin when env vars undefined. (#3200)

* Autohide popups from the toolbar (#3201)

* Add context to allow popup toolbar items to autohide

* Add auto-hide login to the toolbar
overflow popup.

* Remove the left, rgith, and top borders from
dockt tool setttings (requested by
UX Standards).

* Add tests for setting hidden attribute
on overflow and tool popup.

* Rush change

* Lint errors

* Extract-api

* Remove unnecessary spaces from SCSS

* Removed unnecessary spaces.

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

* Presentation: Content customization doc enhancements (#3078)

* Content customization doc enhancements

* Update docs/presentation/Content/PropertyCategorySpecification.md

Co-authored-by: Saulius Skliutas <24278440+saskliutas@users.noreply.github.com>

* Update docs/presentation/Content/RendererSpecification.md

Co-authored-by: Saulius Skliutas <24278440+saskliutas@users.noreply.github.com>

* Clarify the `PropertyCategorySpecification.id` description

* Update docs/presentation/Content/DefaultPropertyCategoryOverride.md

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

* Update docs/presentation/Content/DefaultPropertyCategoryOverride.md

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

* Update docs/presentation/Content/PropertySpecification.md

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

* Update docs/presentation/Content/RelatedPropertiesSpecification.md

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

* Update docs/presentation/Content/PropertyCategorySpecification.md

* Update docs/presentation/Content/PropertySpecification.md

* Update docs/presentation/Content/RelatedPropertiesSpecification.md

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

* Update docs/presentation/Content/RelatedPropertiesSpecification.md

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

* Improvements for `RelatedPropertiesSpecification.propertiesSource` docs

* Update docs/presentation/Content/PropertySpecification.md

Co-authored-by: karolisab <89905873+karolisab@users.noreply.github.com>

Co-authored-by: Saulius Skliutas <24278440+saskliutas@users.noreply.github.com>
Co-authored-by: Robert Lukasonok <70327485+roluk@users.noreply.github.com>
Co-authored-by: karolisab <89905873+karolisab@users.noreply.github.com>

* only expose IModelAppForDebugger in development (#3209)

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

* Query units schema (#3145)

* Check if base units matches for unit conversion and moved conversion tests to test folder

* Added checking base units matches for conversion tests

* Move expected parser data to json file for linting and use deserialize helper method

* Ran rush change and extract-api

* Initial querying units schema

* Changed querying phenomenon to check all schemas in context, added tests

* Changed from passing a filter function to Context to a forEach function for more generalize purposes

* Added initial finding units by display label and alternate display label

* Combined finding units by display label and alternate display label, changed to always return one unit instead of array

* Refactored findUnitByDisplayLabel to be more concise, added some comments, and removed other comments

* Created UnitsProvider using Unit Query and Converter classes, need to address comments

* Adding ecschema-metadata as peer dependency of frontend

* Renamed UnitQuery to UnitProvider, changed to use generator to iterate over schema items, use matchesFullName for full name comparison, added tests for getAlternateDisplayLabels, and added method to check if schemaItem is Unit

* add imodeljs-quantity as devDependency

* move formatEnums to quantity package

* remove duplicate utilities functions from Format

* update imports

* update dependencies versions

* Made common interface for UnitExtraData, added quantity as dependency to ecschema-metadata, and changed NewUnitsProvider to take in UnitExtraData

* remove some unnecessary checks for "undefined"

* add FormatBase class

* update tests errors messages

* Initial integrating new units provider to frontend

* Taking in SchemaContext in QuantityFormatter and IModelApp opts and added mock Units Schema in frontend tests

* Cleaned up linting errors

* Added comments and refactored NewUnitsProvider

* Replaced taking in SchemaContext with taking in UnitsProvider in QuantityFormatter and IModelApp

* Removed ecschema-metadata dependency from frontend and seperated alternate display labels from Unit Definition in BasicUnitsProvider

* Minor tweaks and refactorings

* fix build error

* Moved change made to file prior to relocation

* fixing issues after merge

* Reverting unwanted changes after merge

* reverting unwanted change after merge

* revert files

* Rename UnitProvider and implement interface

* wip

* wip

* wip

* merge with master

* lock file

* added fullstack test

* test failure fix

* test fix

* lint fixes

* api extraction

* lock file

* change logs

* fix dependency errors

* lock file

* docs fix

* use existing test bim for fullstack test

* lock file

* fix for intermittent test failure

* remove before/aftereach

* fixing case issue on linux build

* add way to reset to BasicUnitsProvider (#3167)

* run extract-api

* remove old comment

* remove unneeded imodeljsShardLibrary entry

* remove error prop from UnitConversionSpec

* make ecschema-metadata an optional dependency

* import schema and locater as types

* Eliminate need for caller to reinitialize when setting UnitsProvider

* extrackt-api

* update change log message

* alphabetize packages

* alphabetize more deps and other clean up

Co-authored-by: Ivan Kok <Ivan.Kok@bentley.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Daumantas Jankauskas <47949861+DaumantasJankauskas@users.noreply.github.com>
Co-authored-by: Bill Steinbock <65047615+bsteinbk@users.noreply.github.com>
Co-authored-by: Caleb Shafer <31107829+calebmshafer@users.noreply.github.com>

* Update Timeline to use dropdown menu from itwinui-react (#3213)

* Update Timeline to use DropDownMen from itwin-ui instead of ContextMenu.

* extract api

* Edl/tangent booleans (#3210)

* WIP first round curvature sort step.

* WIP tangent booleans work for test case, but still have problems if rotated.   Starting full circle issue

* Graph construction code after computing intersections did not account for curve portions before and after first and last intersection.

* api

* it.only

* console ok in test

* Enable code that was disabled for debugging

* Remove TODO

* eliminate fixed boolean

* Offset XY curve improvements (#3205)

* offset circles & ellipses

* B-spline curve xy-offset

* add offset distance spot-checks

* extract-api, it.only

* new CurvePrimitive.constructOffsetXY

* avoid circular ref when compiling tests

* it.only, skip test of clonePartialCurve on Bspline

* simplify changes

* Transform spatial view attachment's clip from drawing to sheet. (#3218)

* Do not produce illegal filenames on windows. (#3221)

* Do not produce illegal filenames on windows.

* lint

* 3.1.0-dev.28

* Promote quantity formatter to public (#3206)

* Promote QuantityFormatter to public

* update to mention caching of specs

* Update documentation

* More doc updates and promoting QuantityFormatter to public.

* Update Document

* Suggested edits toi quantity docs. (#3207)

* Add nextversion entry for SchemaUnitProvider

* Update NextVersion

* Add missing doc from public methods of quantityformatter.

* Add doc for all protected entries in QuantityFormatter

* rush change

* Add documentation for each QuantityType enum entry.

* Add documentation for a couple more interfaces used in quantity formatting.

Co-authored-by: NancyMcCallB <45079789+NancyMcCallB@users.noreply.github.com>

* Define all ci and pr triggers in yaml pipelines (#3216)

* UI/check widget visibility (#3220)

* Add frontstageDef.isWidgetDisplayed() to allow
apps to query the visibility of widgets (for data loading)
Undeprecate wrongly-deprecated PanelStateChangedEventArgs
Return WidgetState.Floating from frontstageDef.getCurrentWidgetState()
if the widget is floating

* Rush change

* rush extract-api

* rerun extract-api on branch

* Test coverage

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

* Run integration tests on all platforms (#3208)

* Run integration tests on all platforms
* separate pr validation pipeline and add pipeline for full integration test validation
* add autocancel to core ci build

* Supply missing 'iModelJs' namespace in some calls to getLocalizedString (#3185)

* Fix missing 'iModelJs' namespaces in localization keys.
* Remove call to getLocalizeStringWithNamespace in favor of getLocalizedString.
* Remove second occurrence of getLocalizedStringWithNamespace.

* Suppress npm audit failure (#3230)

* 3.1.0-dev.29

* Model map layers (#2881)

* WIP - Initial settings

* Initial map tile tree changes for BIM layers

* Layer planar classifier creation

* Working version.

* Viewflags for map layers

* Map layer picking WI:

* WIP: Feature id support.

* Fix map layer classifier view falgs

* Set range corners on map tiles tp optimize culling

* Working version with features

* WIP - Working features

* Remove comment

* Fix clip mask

* Handle map layers above max with seperate meshes

* WIP - Layering with interleaved imagery and BIM

* Refine BIM layer tile clipping

* Transparency support for BIM map layers

* Force creation of map layer classifier texture

* Handle BIM layers when base is not imagery

* Remove debugging

* Model layer setting support

* model layer name cleanup

* Revert to single model for map layer

* Fix imports

* Documentation

* Model layer tests

* Fix test -- don't include subLayers if undefined.

* implement getMapLayerRange for model map layers

* Find map layers by source (which may be model id) rather than url

* extract-api

* extract-api

* NextVersion.md WIP -- fix findMapLayerByNameAndSource

* Added Model maplayers support to maplayers widget.

* Fix precision problem with matrix stored as Float32

* extract-api

* Reduce unnecessary allocations - tolerance model map layer overlap

* extract-api

* stop-gap Matrix4d inversion fix

* refine scaling to fix Matrix4d inverse failure

* refine scaling to fix Matrix4d inverse failure

* Fix test for model map layers

* Simplify MapLayerSettings - remove MapLayerSettingBase.  MapLayerProps still needs work

* Remove MapLayerPropsBase

* whitespace

* extract-api

* extract-api

* Remove isBase property.

* Use DialogButtonType from @itwin/appui-abstract instead of @itwin/core-react

* WIP - model map layers documentation

* Ensure v_eyeSpace is available.

* Only set credentials if available.  Always setting it to null will make deep object comparaison fails (i.e. typemoq)

* Handle preemultiplied texture RGB

* Set dimensions of classification texture to match viewport.

* No premultiplied alpha for imagery (non classified) tiles.

* Add map layer images

* Switch map layer images to JPEG

* Make sure the access keys are set to run PlanProjection tests.

* Revert "Make sure the access keys are set to run PlanProjection tests."

This reverts commit 6fc95a2.

* Tests that require bing access key must be integration tests.

* set map layer options; remove unused electronApp options.

* .only

* lint

* docs

Co-authored-by: Ray.Bentley <rbbentley@users.noreply.github.com>
Co-authored-by: Michel Dastous <mdastous-bentley@users.noreply.github.com>
Co-authored-by: dassaf4 <68340676+dassaf4@users.noreply.github.com>
Co-authored-by: Paul Connelly <22944042+pmconne@users.noreply.github.com>

* create extended spirals beyond [0,1] (#3134)

* create spirals beyond [0,1], move clothoid test

* create spirals beyond [0,1], move clothoid test

* PolyfaceBuilder.addMiteredPipes now handles elliptical cross sections (#3117)

* addMiteredPipes now handles elliptical sections

* extract-api

* extract-api

* Transparency+shadows workaround for Galaxy Note 8 (#3234)

* Marc.bedard8/reality data error (#3236)

* Return RealityDataError on invalid reality data source file

* extract-api

* fix node versions and conditions in integration tests (#3239)

* Fix effective fps to be in sync with effective total time (#3173)

* Fix namespace for geoNames extension (#3204)

* @bentley/imodeljs-native 3.1.6

* 3.1.0-dev.30

* 3.1.0-dev.31

* 3.1.0-dev.32

* support Azure Government tile cache (#3222)

* support Azure Government tile cache

* changelog

* add unit tests and fix bug

* oops

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

* 3.1.0-dev.33

* Rush change.

* simplify SchemaUnitProvider implementation (#3242)

* simplify SchemaUnitProvider implementation

* change log and api extraction

* remove or since a context is a locater

* add log message

* update logger category

* another api extraction attempt

* lint fixes

Co-authored-by: Paul Connelly <22944042+pmconne@users.noreply.github.com>
Co-authored-by: NancyMcCallB <45079789+NancyMcCallB@users.noreply.github.com>
Co-authored-by: bsteinbk <65047615+bsteinbk@users.noreply.github.com>
Co-authored-by: Grigas <35135765+grigasp@users.noreply.github.com>
Co-authored-by: Saulius Skliutas <24278440+saskliutas@users.noreply.github.com>
Co-authored-by: Robert Lukasonok <70327485+roluk@users.noreply.github.com>
Co-authored-by: karolisab <89905873+karolisab@users.noreply.github.com>
Co-authored-by: Arun George <11051042+aruniverse@users.noreply.github.com>
Co-authored-by: Arun George <aruniverse@users.noreply.github.com>
Co-authored-by: christophermlawson <32881725+christophermlawson@users.noreply.github.com>
Co-authored-by: Ivan Kok <Ivan.Kok@bentley.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Daumantas Jankauskas <47949861+DaumantasJankauskas@users.noreply.github.com>
Co-authored-by: Caleb Shafer <31107829+calebmshafer@users.noreply.github.com>
Co-authored-by: EarlinLutz <69321059+EarlinLutz@users.noreply.github.com>
Co-authored-by: dassaf4 <68340676+dassaf4@users.noreply.github.com>
Co-authored-by: imodeljs-admin <38288322+imodeljs-admin@users.noreply.github.com>
Co-authored-by: Seamus Kirby <32379572+skirby1996@users.noreply.github.com>
Co-authored-by: RBBentley <ray.bentley@bentley.com>
Co-authored-by: Ray.Bentley <rbbentley@users.noreply.github.com>
Co-authored-by: Michel Dastous <mdastous-bentley@users.noreply.github.com>
Co-authored-by: MarcBedard8 <31048177+MarcBedard8@users.noreply.github.com>
Co-authored-by: MarcNeely <36053767+MarcNeely@users.noreply.github.com>
Co-authored-by: Stuart P. Bentley <s@stuartpb.com>
Co-authored-by: Paulius Valiūnas <66480813+paulius-valiunas@users.noreply.github.com>
  • Loading branch information
2 parents 269d2e4 + d698388 commit 17ac67e
Show file tree
Hide file tree
Showing 389 changed files with 16,638 additions and 12,173 deletions.
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.27",
"version": "3.1.0-dev.33",
"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.27"
"@itwin/core-bentley": "workspace:^3.1.0-dev.33"
},
"devDependencies": {
"@itwin/core-backend": "workspace:*",
Expand Down
7 changes: 4 additions & 3 deletions common/api/appui-react.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2722,6 +2722,7 @@ export class FrontstageDef {
get isReady(): boolean;
// (undocumented)
get isStageClosing(): boolean;
isWidgetDisplayed(widgetId: string): boolean;
// @beta (undocumented)
get leftPanel(): StagePanelDef | undefined;
// @internal (undocumented)
Expand Down Expand Up @@ -4266,7 +4267,7 @@ export class OpenMessageCenterEvent extends UiEvent<{}> {
export function packNineZoneState(state: NineZoneState): SavedNineZoneState;

// @internal (undocumented)
export class PanelSizeChangedEvent extends UiEvent_2<PanelSizeChangedEventArgs> {
export class PanelSizeChangedEvent extends UiEvent<PanelSizeChangedEventArgs> {
}

// @internal (undocumented)
Expand All @@ -4278,10 +4279,10 @@ export interface PanelSizeChangedEventArgs {
}

// @beta
export class PanelStateChangedEvent extends UiEvent_2<PanelStateChangedEventArgs> {
export class PanelStateChangedEvent extends UiEvent<PanelStateChangedEventArgs> {
}

// @public @deprecated
// @public
export interface PanelStateChangedEventArgs {
// (undocumented)
panelDef: StagePanelDef;
Expand Down
6 changes: 6 additions & 0 deletions common/api/components-react.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3683,6 +3683,9 @@ export class ToolbarPanelAlignmentHelpers {
static readonly START_CLASS_NAME = "components-panel-alignment-start";
}

// @public
export const ToolbarPopupAutoHideContext: React.Context<boolean>;

// @public
export const ToolbarPopupContext: React.Context<ToolbarPopupContextProps>;

Expand Down Expand Up @@ -4211,6 +4214,9 @@ export function useRenderedStringValue(record: PropertyRecord, stringValueCalcul
element: React.ReactNode;
};

// @public
export function useToolbarPopupAutoHideContext(): boolean;

// @public
export function useToolbarPopupContext(): ToolbarPopupContextProps;

Expand Down
2 changes: 2 additions & 0 deletions common/api/core-backend.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,8 @@ export interface AzureBlobStorageCredentials {
accessKey: string;
// (undocumented)
account: string;
// (undocumented)
baseUrl?: string;
}

// @beta
Expand Down
10 changes: 10 additions & 0 deletions common/api/core-bentley.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1428,6 +1428,16 @@ export class ReadonlySortedArray<T> implements Iterable<T> {
protected _remove(value: T): number;
}

// @alpha
export enum RealityDataStatus {
// (undocumented)
InvalidData = 151553,
// (undocumented)
REALITYDATA_ERROR_BASE = 151552,
// (undocumented)
Success = 0
}

// @beta
export enum RepositoryStatus {
CannotCreateChangeSet = 86023,
Expand Down
146 changes: 104 additions & 42 deletions common/api/core-common.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -482,16 +482,16 @@ export namespace BaseLayerSettings {
}

// @beta
export interface BaseMapLayerProps extends MapLayerProps {
export interface BaseMapLayerProps extends ImageMapLayerProps {
// (undocumented)
provider?: BackgroundMapProviderProps;
}

// @beta
export class BaseMapLayerSettings extends MapLayerSettings {
clone(changedProps: Partial<MapLayerProps>): BaseMapLayerSettings;
export class BaseMapLayerSettings extends ImageMapLayerSettings {
clone(changedProps: Partial<BaseMapLayerProps>): BaseMapLayerSettings;
// @internal (undocumented)
cloneProps(changedProps: Partial<MapLayerProps>): BaseMapLayerProps;
cloneProps(changedProps: Partial<BaseMapLayerProps>): BaseMapLayerProps;
// @alpha (undocumented)
cloneWithProvider(provider: BackgroundMapProvider): BaseMapLayerSettings;
// @internal (undocumented)
Expand Down Expand Up @@ -1655,6 +1655,14 @@ export enum CommonLoggerCategory {
RpcInterfaceFrontend = "core-frontend.RpcInterface"
}

// @beta
export interface CommonMapLayerProps {
name: string;
transparency?: number;
transparentBackground?: boolean;
visible?: boolean;
}

// @internal
export function compareIModelTileTreeIds(lhs: IModelTileTreeId, rhs: IModelTileTreeId): number;

Expand Down Expand Up @@ -4372,6 +4380,52 @@ export interface ImageGraphicProps {
textureId: Id64String;
}

// @beta
export interface ImageMapLayerProps extends CommonMapLayerProps {
accessKey?: MapLayerKey;
formatId: string;
// @internal (undocumented)
modelId?: never;
subLayers?: MapSubLayerProps[];
url: string;
}

// @beta
export class ImageMapLayerSettings extends MapLayerSettings {
// @internal
protected constructor(props: ImageMapLayerProps);
// (undocumented)
accessKey?: MapLayerKey;
get allSubLayersInvisible(): boolean;
clone(changedProps: Partial<ImageMapLayerProps>): ImageMapLayerSettings;
// @internal (undocumented)
protected cloneProps(changedProps: Partial<ImageMapLayerProps>): ImageMapLayerProps;
// @internal (undocumented)
displayMatches(other: MapLayerSettings): boolean;
// (undocumented)
readonly formatId: string;
// (undocumented)
static fromJSON(props: ImageMapLayerProps): ImageMapLayerSettings;
getSubLayerChildren(subLayer: MapSubLayerSettings): MapSubLayerSettings[] | undefined;
isSubLayerVisible(subLayer: MapSubLayerSettings): boolean;
// @internal (undocumented)
protected static mapTypeName(type: BackgroundMapType): "Aerial Imagery" | "Aerial Imagery with labels" | "Streets";
// (undocumented)
password?: string;
// (undocumented)
setCredentials(userName?: string, password?: string): void;
// (undocumented)
get source(): string;
subLayerById(id?: SubLayerId): MapSubLayerSettings | undefined;
// (undocumented)
readonly subLayers: MapSubLayerSettings[];
toJSON(): ImageMapLayerProps;
// (undocumented)
readonly url: string;
// (undocumented)
userName?: string;
}

// @public
export interface ImagePrimitive {
// (undocumented)
Expand Down Expand Up @@ -5130,60 +5184,35 @@ export interface MapLayerKey {
}

// @beta
export interface MapLayerProps {
accessKey?: MapLayerKey;
formatId: string;
isBase?: boolean;
name: string;
subLayers?: MapSubLayerProps[];
transparency?: number;
transparentBackground?: boolean;
url: string;
visible?: boolean;
}
export type MapLayerProps = ImageMapLayerProps | ModelMapLayerProps;

// @beta
export class MapLayerSettings {
export abstract class MapLayerSettings {
// @internal
protected constructor(url: string, name: string, formatId: string, visible?: boolean, jsonSubLayers?: MapSubLayerProps[] | undefined, transparency?: number, transparentBackground?: boolean, isBase?: boolean, userName?: string, password?: string, accessKey?: MapLayerKey);
protected constructor(name: string, visible?: boolean, transparency?: number, transparentBackground?: boolean);
// (undocumented)
accessKey?: MapLayerKey;
get allSubLayersInvisible(): boolean;
clone(changedProps: Partial<MapLayerProps>): MapLayerSettings;
abstract get allSubLayersInvisible(): boolean;
// (undocumented)
abstract clone(changedProps: Partial<MapLayerProps>): MapLayerSettings;
// @internal (undocumented)
protected cloneProps(changedProps: Partial<MapLayerProps>): MapLayerProps;
protected cloneProps(changedProps: Partial<MapLayerProps>): CommonMapLayerProps;
// @internal (undocumented)
displayMatches(other: MapLayerSettings): boolean;
// (undocumented)
readonly formatId: string;
static fromJSON(json: MapLayerProps): MapLayerSettings;
getSubLayerChildren(subLayer: MapSubLayerSettings): MapSubLayerSettings[] | undefined;
// (undocumented)
readonly isBase: boolean;
isSubLayerVisible(subLayer: MapSubLayerSettings): boolean;
// @internal (undocumented)
protected static mapTypeName(type: BackgroundMapType): "Aerial Imagery" | "Aerial Imagery with labels" | "Streets";
static fromJSON(props: MapLayerProps): MapLayerSettings;
// @internal (undocumented)
matchesNameAndUrl(name: string, url: string): boolean;
matchesNameAndSource(name: string, source: string): boolean;
// (undocumented)
readonly name: string;
abstract get source(): string;
// (undocumented)
password?: string;
// (undocumented)
setCredentials(userName?: string, password?: string): void;
subLayerById(id?: SubLayerId): MapSubLayerSettings | undefined;
// (undocumented)
readonly subLayers: MapSubLayerSettings[];
toJSON(): MapLayerProps;
abstract toJSON(): MapLayerProps;
// @internal (undocumented)
protected _toJSON(): CommonMapLayerProps;
// (undocumented)
readonly transparency: number;
// (undocumented)
readonly transparentBackground: boolean;
// (undocumented)
readonly url: string;
// (undocumented)
userName?: string;
// (undocumented)
readonly visible: boolean;
}

Expand Down Expand Up @@ -5402,6 +5431,37 @@ export interface ModelLoadProps {
id?: Id64String;
}

// @beta
export interface ModelMapLayerProps extends CommonMapLayerProps {
// @internal (undocumented)
accessKey?: never;
// @internal (undocumented)
formatId?: never;
modelId: Id64String;
// @internal (undocumented)
subLayers?: never;
// @internal (undocumented)
url?: never;
}

// @beta
export class ModelMapLayerSettings extends MapLayerSettings {
// @internal
protected constructor(modelId: Id64String, name: string, visible?: boolean, transparency?: number, transparentBackground?: boolean);
get allSubLayersInvisible(): boolean;
clone(changedProps: Partial<ModelMapLayerProps>): ModelMapLayerSettings;
// @internal (undocumented)
protected cloneProps(changedProps: Partial<ModelMapLayerProps>): ModelMapLayerProps;
// @internal (undocumented)
displayMatches(other: MapLayerSettings): boolean;
static fromJSON(json: ModelMapLayerProps): ModelMapLayerSettings;
// (undocumented)
readonly modelId: Id64String;
// (undocumented)
get source(): string;
toJSON(): ModelMapLayerProps;
}

// @public
export interface ModelPlanarClipMaskArgs extends BasicPlanarClipMaskArgs {
// @internal (undocumented)
Expand Down Expand Up @@ -8298,6 +8358,8 @@ export class SpatialClassifier {
readonly expand: number;
readonly flags: SpatialClassifierFlags;
static fromJSON(props: SpatialClassifierProps): SpatialClassifier;
// @beta
static fromModelMapLayer(mapLayer: ModelMapLayerSettings): SpatialClassifier;
readonly modelId: Id64String;
readonly name: string;
toJSON(): SpatialClassifierProps;
Expand Down
Loading

0 comments on commit 17ac67e

Please sign in to comment.