| import { DialogCurrencyRate } from '../dialogs/dialog.currencyrate'; | 
| import { Form } from '../../e2elib/lib/src/pageobjects/form.component'; | 
| import { ListSOP } from '../../libappsop/listsop'; | 
|   | 
| /** | 
|  * Currency rate form. | 
|  */ | 
| export class FormCurrencyRate extends Form { | 
|   public listCurrencyRate = new ListCurrencyRate(); | 
|   | 
|   public constructor() { | 
|     super('FormCurrencyRates'); | 
|   } | 
| } | 
|   | 
| /** | 
|  * Currency rate list in Currency rate form. | 
|  */ | 
| class ListCurrencyRate extends ListSOP<DialogCurrencyRate, ListCurrencyRateColumn> { | 
|   public constructor() { | 
|     super('ListCurrencyRate', new DialogCurrencyRate()); | 
|   | 
|     // Set primary key column name(s), to display in error message when assert fails | 
|     this.rowPrimaryColumnNames = {Start: ''}; | 
|   } | 
| } | 
|   | 
| export interface ListCurrencyRateColumn { | 
|   Start: string; | 
|   Rate?: string; | 
| } | 
|   | 
| const listCurrencyRateContextMenuItem = { | 
|   Create: { ContextMenu: 'listContextMenuCurrencyRate', Name: 'MenuNewCurrencyRate', Label: 'Create' }, | 
|   Delete: { ContextMenu: 'listContextMenuCurrencyRate', Name: 'MenuDeleteCurrencyRates', Label: 'Delete' }, | 
| }; | 
|   | 
| export { listCurrencyRateContextMenuItem as ListCurrencyRateContextMenuItem }; |