mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-14 18:46:34 -05:00
* Transition to withProps in arc * Transition to withProps inputbox * Transition to withProps in checkbox * Transition to withProps text * Transition to withProps in declarative table * Transition to withProps hyperlink * Transition to withProps in button * Transition to withProps radiobutton * Transition to withProps in input * Transition to withProps button * Transition to withProps in text * Transition to withProps image * Transition to withProps declare table * Transition to withProps in table * Transition to withProps radio button * Transition to withProps in image * Transition to withProps radio button * Transition to withProps in commit * Transition to withProps div cont * Transition to withProps in comp * Transition to withProps radio card * Transition to withProps in comp icon * Transition to withProps card * Transition to withProps list
27 lines
930 B
TypeScript
27 lines
930 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
import * as azdata from 'azdata';
|
|
|
|
export class SqlAssessmentResultList {
|
|
async createComponent(view: azdata.ModelView): Promise<azdata.Component> {
|
|
|
|
return view.modelBuilder.divContainer().withItems([
|
|
this.createListComponent(view)
|
|
]
|
|
).component();
|
|
}
|
|
|
|
private createListComponent(view: azdata.ModelView): azdata.ListBoxComponent {
|
|
const list = view.modelBuilder.listBox().withProps({
|
|
values: [
|
|
'Filestream not supported in Azure SQL Managed Instance',
|
|
'Number of Log files per database something something',
|
|
]
|
|
});
|
|
|
|
return list.component();
|
|
}
|
|
}
|