| import { Form } from '../../e2elib/lib/src/pageobjects/form.component'; | 
| import { ListBase } from '../../libappbase/listbase'; | 
| import { ListRow } from '../../e2elib/lib/src/pageobjects/list/listrow.component'; | 
|   | 
| export class FormInventoryAccounts extends Form { | 
|   public lstAccounts = new ListAccounts(); | 
|   | 
|   public constructor() { | 
|     super('FormInventoryAccounts'); | 
|   } | 
| } | 
|   | 
| export class ListAccounts extends ListBase { | 
|   public constructor() { | 
|     super('ListAccounts'); | 
|   } | 
|   | 
|   public async getAccountByName(account: string): Promise<ListRow> { | 
|     return this.getRowByValue([{ columnID: ListAccountColumn.Account, value: account }]); | 
|   } | 
| } | 
|   | 
| export enum ListAccountColumn { | 
|   Account = 'Account', | 
|   DefaultValue = 'Default value', | 
|   DefaultUoM = 'Default UoM', | 
| } |