Skip to content

Commit

Permalink
changelog + api sig
Browse files Browse the repository at this point in the history
  • Loading branch information
roopksaini committed Feb 18, 2021
1 parent ef49b66 commit 13c3a0e
Show file tree
Hide file tree
Showing 16 changed files with 90 additions and 111 deletions.
9 changes: 1 addition & 8 deletions common/api/geometry-core.api.md
Expand Up @@ -155,10 +155,7 @@ export type AngleSweepProps = AngleSweep | {
degrees: [number, number];
} | {
radians: [number, number];
} | [
number,
number
];
} | [number, number];

// @internal
export class AnnotatedLineString3d {
Expand Down Expand Up @@ -3983,8 +3980,6 @@ export abstract class Polyface extends GeometryQuery {
static areIndicesValid(indices: number[] | undefined, indexPositionA: number, indexPositionB: number, data: any | undefined, dataLength: number): boolean;
abstract createVisitor(_numWrap: number): PolyfaceVisitor;
data: PolyfaceData;
get expectedClosure(): number;
set expectedClosure(value: number);
readonly geometryCategory = "polyface";
abstract get isEmpty(): boolean;
get twoSided(): boolean;
Expand Down Expand Up @@ -4101,8 +4096,6 @@ export class PolyfaceData {
copyParamTo(i: number, dest: Point2d): void;
copyPointTo(i: number, dest: Point3d): void;
edgeVisible: boolean[];
get expectedClosure(): number;
set expectedClosure(value: number);
face: FacetFaceData[];
get faceCount(): number;
gatherIndexedData(other: PolyfaceData, index0: number, index1: number, numWrap: number): void;
Expand Down
14 changes: 7 additions & 7 deletions common/api/imodeljs-common.api.md
Expand Up @@ -984,7 +984,7 @@ export class Code implements CodeProps {
toJSON(): CodeProps;
get value(): string;
set value(val: string);
}
}

// @public
export interface CodeProps {
Expand Down Expand Up @@ -1831,15 +1831,15 @@ export class DisplayStyleSettings {
readonly onLightsChanged: BeEvent<(newLights: LightSettings) => void>;
// @alpha
readonly onMapImageryChanged: BeEvent<(newImagery: Readonly<MapImagerySettings>) => void>;
readonly onModelAppearanceOverrideChanged: BeEvent<(modelId: Id64String, newAppearance: FeatureAppearance | undefined) => void>;
readonly onModelAppearanceOverrideChanged: BeEvent<(modelId: string, newAppearance: FeatureAppearance | undefined) => void>;
readonly onMonochromeColorChanged: BeEvent<(newColor: ColorDef) => void>;
readonly onMonochromeModeChanged: BeEvent<(newMode: MonochromeMode) => void>;
// @beta
readonly onOverridesApplied: BeEvent<(overrides: Readonly<DisplayStyleSettingsProps>) => void>;
// @beta
readonly onPlanProjectionSettingsChanged: BeEvent<(modelId: Id64String, newSettings: PlanProjectionSettings | undefined) => void>;
readonly onPlanProjectionSettingsChanged: BeEvent<(modelId: string, newSettings: PlanProjectionSettings | undefined) => void>;
// @internal
readonly onScheduleScriptPropsChanged: BeEvent<(newProps: Readonly<RenderSchedule.ModelTimelineProps[]> | undefined) => void>;
readonly onScheduleScriptPropsChanged: BeEvent<(newProps: readonly RenderSchedule.ModelTimelineProps[] | undefined) => void>;
readonly onSolarShadowsChanged: BeEvent<(newSettings: SolarShadowSettings) => void>;
readonly onSubCategoryOverridesChanged: BeEvent<() => void>;
// @beta
Expand Down Expand Up @@ -6369,13 +6369,13 @@ export abstract class RpcRequest<TResponse = any> {
get pending(): boolean;
readonly protocol: RpcProtocol;
// (undocumented)
protected _rawPromise: Promise<Response | undefined>;
get rawResponse(): Promise<Response | undefined>;
protected _rawPromise: Promise<Response>;
get rawResponse(): Promise<Response>;
// (undocumented)
protected reject(reason: any): void;
// (undocumented)
protected _resolveRaw: (value?: Response | PromiseLike<Response> | undefined) => void;
readonly response: Promise<TResponse | undefined>;
readonly response: Promise<TResponse>;
// (undocumented)
protected _response: Response | undefined;
retryInterval: number;
Expand Down
9 changes: 4 additions & 5 deletions common/api/imodeljs-frontend.api.md
Expand Up @@ -6244,7 +6244,7 @@ export class NativeApp {
// (undocumented)
static onUserStateChanged: BeEvent<(_arg: {
accessToken: any;
err?: string;
err?: string | undefined;
}) => void>;
static openStorage(name: string): Promise<Storage>;
// (undocumented)
Expand Down Expand Up @@ -6859,8 +6859,7 @@ export abstract class PrimitiveTool extends InteractiveTool {
// (undocumented)
targetIsLocked: boolean;
// (undocumented)
get targetModelId(): string | undefined;
set targetModelId(v: string | undefined);
targetModelId?: string;
// (undocumented)
targetView?: Viewport;
// @internal (undocumented)
Expand Down Expand Up @@ -10339,7 +10338,7 @@ export class ToolAdmin {
get primitiveTool(): PrimitiveTool | undefined;
// @internal
processEvent(): Promise<void>;
processShortcutKey(_keyEvent: KeyboardEvent, _wentDown: boolean): boolean;
processShortcutKey(keyEvent: KeyboardEvent, wentDown: boolean): boolean;
processWheelEvent(ev: BeWheelEvent, doUpdate: boolean): Promise<EventHandled>;
// @internal
get reloadToolSettingsHandler(): (() => void) | undefined;
Expand Down Expand Up @@ -11175,7 +11174,7 @@ export class ViewClipTool extends PrimitiveTool {
// @beta
export class ViewCreator2d {
constructor(_imodel: IModelConnection);
createViewForModel(modelId: Id64String, modelType: string, options?: ViewCreator2dOptions): Promise<ViewState>;
createViewForModel(modelId: Id64String, options?: ViewCreator2dOptions, modelType?: string): Promise<ViewState>;
static isDrawingModelClass(modelType: string): boolean;
static isSheetModelClass(modelType: string): boolean;
}
Expand Down
56 changes: 28 additions & 28 deletions common/api/imodeljs-markup.api.md
Expand Up @@ -258,37 +258,37 @@ export class MarkupApp {
size: number;
stretch: {
"fill-opacity": number;
stroke: string;
fill: string;
"stroke": string;
"fill": string;
};
rotateLine: {
stroke: string;
"stroke": string;
"fill-opacity": number;
};
rotate: {
cursor: string;
"cursor": string;
"fill-opacity": number;
stroke: string;
fill: string;
"stroke": string;
"fill": string;
};
moveOutline: {
cursor: string;
"cursor": string;
"stroke-dasharray": string;
fill: string;
"fill": string;
"stroke-opacity": number;
stroke: string;
"stroke": string;
};
move: {
cursor: string;
opacity: number;
"cursor": string;
"opacity": number;
"stroke-width": number;
stroke: string;
"stroke": string;
};
vertex: {
cursor: string;
"cursor": string;
"fill-opacity": number;
stroke: string;
fill: string;
"stroke": string;
"fill": string;
};
};
hilite: {
Expand All @@ -298,27 +298,27 @@ export class MarkupApp {
dropShadow: {
enable: boolean;
attr: {
stdDeviation: number;
dx: number;
dy: number;
"stdDeviation": number;
"dx": number;
"dy": number;
"flood-color": string;
};
};
active: {
text: {
"font-family": string;
"font-size": string;
stroke: string;
fill: string;
"stroke": string;
"fill": string;
};
element: {
stroke: string;
"stroke": string;
"stroke-opacity": number;
"stroke-width": number;
"stroke-dasharray": number;
"stroke-linecap": string;
"stroke-linejoin": string;
fill: string;
"fill": string;
"fill-opacity": number;
};
arrow: {
Expand All @@ -339,24 +339,24 @@ export class MarkupApp {
};
fontSize: string;
textBox: {
fill: string;
"fill": string;
"fill-opacity": number;
"stroke-opacity": number;
stroke: string;
"stroke": string;
};
};
};
borderOutline: {
stroke: string;
"stroke": string;
"stroke-width": number;
"stroke-opacity": number;
fill: string;
"fill": string;
};
borderCorners: {
stroke: string;
"stroke": string;
"stroke-width": number;
"stroke-opacity": number;
fill: string;
"fill": string;
"fill-opacity": number;
};
result: {
Expand Down
2 changes: 1 addition & 1 deletion common/api/orbitgt-core.api.md
Expand Up @@ -132,7 +132,7 @@ export class OPCReader extends PointCloudReader {
// @internal (undocumented)
export class OrbitGtAList<T> {
[Symbol.iterator](): {
next(): IteratorResult<T>;
next(): IteratorResult<T, any>;
};
constructor(capacity?: number);
// (undocumented)
Expand Down
4 changes: 2 additions & 2 deletions common/api/presentation-components.api.md
Expand Up @@ -167,10 +167,10 @@ export interface DataProvidersFactoryProps {
export const DEFAULT_PROPERTY_GRID_RULESET: Ruleset;

// @beta @deprecated
export function DEPRECATED_controlledTreeWithFilteringSupport<P extends ControlledTreeWithVisibleNodesProps>(TreeComponent: React.FC<P>): React.FC<Pick<P & ControlledTreeWithFilteringSupportProps, "filter" | "onFilterApplied" | "onMatchesCounted" | "activeMatchIndex" | "nodeLoader" | "onNodeLoaderChanged" | Exclude<keyof P, "visibleNodes">>>;
export function DEPRECATED_controlledTreeWithFilteringSupport<P extends ControlledTreeWithVisibleNodesProps>(TreeComponent: React.FC<P>): React.FC<Pick<P & ControlledTreeWithFilteringSupportProps, "filter" | "nodeLoader" | "onFilterApplied" | "onMatchesCounted" | "onNodeLoaderChanged" | "activeMatchIndex" | Exclude<keyof P, "visibleNodes">>>;

// @beta @deprecated
export function DEPRECATED_controlledTreeWithVisibleNodes<P extends ControlledTreeProps>(TreeComponent: React.FC<P>): React.FC<Pick<P & ControlledTreeWithVisibleNodesProps, "style" | "className" | "selectionMode" | "nodeHighlightingProps" | "nodeLoader" | "treeEvents" | "descriptionsEnabled" | "iconsEnabled" | "treeRenderer" | "spinnerRenderer" | "noDataRenderer" | Exclude<keyof P, "visibleNodes">>>;
export function DEPRECATED_controlledTreeWithVisibleNodes<P extends ControlledTreeProps>(TreeComponent: React.FC<P>): React.FC<Pick<P & ControlledTreeWithVisibleNodesProps, "className" | "style" | "selectionMode" | "nodeHighlightingProps" | "nodeLoader" | "treeEvents" | "descriptionsEnabled" | "iconsEnabled" | "treeRenderer" | "spinnerRenderer" | "noDataRenderer" | Exclude<keyof P, "visibleNodes">>>;

// @public @deprecated
export function DEPRECATED_treeWithFilteringSupport<P extends TreeProps>(TreeComponent: React.ComponentType<P>): React.ComponentType<P & TreeWithFilteringSupportProps>;
Expand Down
2 changes: 1 addition & 1 deletion common/api/presentation-frontend.api.md
Expand Up @@ -99,7 +99,7 @@ export enum FavoritePropertiesScope {
}

// @internal (undocumented)
export const getFieldInfos: (field: Field) => Set<PropertyFullName>;
export const getFieldInfos: (field: Field) => Set<string>;

// @public
export function getScopeId(scope: SelectionScope | string | undefined): string;
Expand Down
1 change: 1 addition & 0 deletions common/api/summary/ui-components.exports.csv
Expand Up @@ -259,6 +259,7 @@ beta;LoadedNodeHierarchy
beta;LoadedNodeHierarchyItem
internal;MapMode
public;MapPayloadToInspireNodeCallback
public;matchLinks: (text: string) =>
internal;MenuItem
alpha;Milestone
alpha;MilestoneRange
Expand Down
4 changes: 2 additions & 2 deletions common/api/summary/ui-framework.exports.csv
Expand Up @@ -229,7 +229,7 @@ internal;getBadgeClassName(badgeType: BadgeType | undefined): "uifw-badge-new" |
alpha;getCategories(imodel: IModelConnection, viewport?: Viewport, filteredProvider?: IPresentationTreeDataProvider): Promise
internal;getExtendedZone: (zoneId: WidgetZoneId, zones: ZonesManagerProps, defProvider: ZoneDefProvider) => ZoneManagerProps
beta;getFeatureOverrideSyncEventIds(): string[]
internal;getFirstItem: (groupItemDef: GroupItemDef) => AnyItemDef | undefined
internal;getFirstItem: (groupItemDef: GroupItemDef) => import("../shared/CommandItemDef").CommandItemDef | ActionButtonItemDef | import("../shared/ToolItemDef").ToolItemDef | GroupItemDef | undefined
internal;getFirstItemId: (groupItemDef: GroupItemDef) => string
internal;getFloatingZoneBounds: (props: ZoneManagerProps) => RectangleProps
internal;getFloatingZoneStyle: (props: ZoneManagerProps) =>
Expand Down Expand Up @@ -607,7 +607,7 @@ beta;useDefaultStatusBarItems: (manager: StatusBarItemsManager_2) => readonly Co
beta;useDefaultToolbarItems: (manager: ToolbarItemsManager) => readonly CommonToolbarItem[]
internal;useFrameworkVersion(): FrameworkVersion
internal;useFrontstageManager(frontstageDef: FrontstageDef): void
internal;useGroupedItems: (items: ReadonlyArray
internal;useGroupedItems: (items: readonly BackstageItem[]) => GroupedItems
internal;useHorizontalToolSettingNodes(): ToolSettingsEntry[] | undefined
beta;useIsBackstageOpen: (manager: BackstageManager) => boolean
internal;useItemsManager(frontstageDef: FrontstageDef): void
Expand Down
4 changes: 4 additions & 0 deletions common/api/summary/ui-ninezone.exports.csv
Expand Up @@ -420,16 +420,20 @@ internal;useIsDraggedType(type: DragItem["type"]): boolean
internal;useIsMainPanelWidget(): boolean
internal;useLabel(labelKey: keyof NineZoneLabels): string | undefined
internal;useMode(widgetId: string): "fit" | "fill" | "minimized"
internal;useOverflow(children: React.ReactNode, activeChildIndex?: number): [ReadonlyArray
internal;usePanelsAutoCollapse
internal;usePanelTarget
internal;UsePanelTargetArgs
internal;usePointerCaptor:
internal;useResizeGrip:
beta;UserProfile
beta;UserProfileProps
internal;useTabTarget
internal;UseTabTargetArgs
internal;useTabTransientState(tabId: string, onSave?: () => void, onRestore?: () => void): void
internal;useToolSettingsEntry(): DockedToolSettingsEntryContextArgs
internal;useTransientState(onSave?: () => void, onRestore?: () => void): void
internal;useWidgetTarget
internal;UseWidgetTargetArgs
beta;VerticalAnchor
internal;VerticalAnchorHelpers
Expand Down
2 changes: 1 addition & 1 deletion common/api/ui-abstract.api.md
Expand Up @@ -1936,7 +1936,7 @@ export class ToolbarItemsManager {
// @beta
export class ToolbarItemUtilities {
static createActionButton: (id: string, itemPriority: number, icon: string | ConditionalStringValue, label: string | ConditionalStringValue, execute: () => void, overrides?: Partial<ActionButton> | undefined) => ActionButton;
static createGroupButton: (id: string, itemPriority: number, icon: string | ConditionalStringValue, label: string | ConditionalStringValue, items: ReadonlyArray<ActionButton | GroupButton>, overrides?: Partial<GroupButton> | undefined) => GroupButton;
static createGroupButton: (id: string, itemPriority: number, icon: string | ConditionalStringValue, label: string | ConditionalStringValue, items: readonly (ActionButton | GroupButton)[], overrides?: Partial<GroupButton> | undefined) => GroupButton;
static isActionButton(item: CommonToolbarItem): item is ActionButton;
static isCustomDefinition(item: CommonToolbarItem): item is CustomButtonDefinition;
static isGroupButton(item: CommonToolbarItem): item is GroupButton;
Expand Down

0 comments on commit 13c3a0e

Please sign in to comment.