azure-devops-extension-api
Advanced tools
Comparing version 1.146.0 to 1.146.1
@@ -14,6 +14,2 @@ /** | ||
/** | ||
* Service for opening dialogs in the host frame | ||
*/ | ||
HostDialogService = "ms.vss-features.host-dialog-service", | ||
/** | ||
* Service for interacting with the host window's navigation (URLs, new windows, etc.) | ||
@@ -23,5 +19,6 @@ */ | ||
/** | ||
* Service for opening panels in the host frame | ||
* Service for interacting with the layout of the page: managing full-screen mode, | ||
* opening dialogs and panels | ||
*/ | ||
HostPanelService = "ms.vss-features.host-panel-service", | ||
HostPageLayoutService = "ms.vss-features.host-page-layout-service", | ||
/** | ||
@@ -166,21 +163,2 @@ * Service for getting URLs/locations from the host context | ||
/** | ||
* Service for external content to show dialogs in the host frame | ||
*/ | ||
export interface IHostDialogService { | ||
/** | ||
* Open a dialog in the host frame, showing custom external content | ||
* | ||
* @param contentContributionId - Id of the dialog content contribution that specifies the content to display in the dialog. | ||
* @param options - Dialog options | ||
*/ | ||
openCustomDialog: <TResult>(contentContributionId: string, options?: IDialogOptions<TResult>) => void; | ||
/** | ||
* Open a dialog in the host frame, showing the specified text message, an OK and optional Cancel button | ||
* | ||
* @param message - Dialog message text | ||
* @param options - Dialog options | ||
*/ | ||
openMessageDialog: (message: string, options?: IMessageDialogOptions) => void; | ||
} | ||
/** | ||
* Size (width) options for panel | ||
@@ -219,6 +197,25 @@ */ | ||
/** | ||
* Service for external content to show a panel in the host frame | ||
* Service for interacting with the layout of the page: managing full-screen mode, | ||
* opening dialogs and panels | ||
*/ | ||
export interface IHostPanelService { | ||
export interface IHostPageLayoutService { | ||
/** | ||
* Gets whether the page is currently in full screen mode | ||
*/ | ||
getFullScreenMode(): Promise<boolean>; | ||
/** | ||
* Open a dialog in the host frame, showing custom external content | ||
* | ||
* @param contentContributionId - Id of the dialog content contribution that specifies the content to display in the dialog. | ||
* @param options - Dialog options | ||
*/ | ||
openCustomDialog: <TResult>(contentContributionId: string, options?: IDialogOptions<TResult>) => void; | ||
/** | ||
* Open a dialog in the host frame, showing the specified text message, an OK and optional Cancel button | ||
* | ||
* @param message - Dialog message text | ||
* @param options - Dialog options | ||
*/ | ||
openMessageDialog: (message: string, options?: IMessageDialogOptions) => void; | ||
/** | ||
* Open a panel in the host frame, showing custom external content | ||
@@ -230,2 +227,8 @@ * | ||
openPanel: <TResult>(contentContributionId: string, options: IPanelOptions<TResult>) => void; | ||
/** | ||
* Enter or exit full screen mode | ||
* | ||
* @param fullScreenMode True to enter full-screen mode, false to exit. | ||
*/ | ||
setFullScreenMode(fullScreenMode: boolean): void; | ||
} | ||
@@ -232,0 +235,0 @@ /** |
{ | ||
"name": "azure-devops-extension-api", | ||
"version": "1.146.0", | ||
"version": "1.146.1", | ||
"description": "REST client libraries and contracts for Azure DevOps web extension developers.", | ||
@@ -5,0 +5,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3587209
77220