import { IAzureQuickPickItem } from "vscode-azureextensionui" ; import { BindingSettingValue } from "../../../funcConfig/function" ; import { IBindingWizardContext } from "../IBindingWizardContext" ; import { BindingSettingStepBase } from "./BindingSettingStepBase" ; export class EnumPromptStep extends BindingSettingStepBase { public async promptCore ( context ) { const picks = this . _setting . enums . map ( e => { return { data : e . value , label : e . displayName } ; } ) ; return ( await context . ui . showQuickPick ( picks , { placeHolder : this . _setting . label } ) ) . data ; } }