UNPKG

@velis/dynamicforms

Version:

Data entry boilerplate components and a RESTful API consumer

18 lines 911 B
import FormPayload from '../form/definitions/form-payload'; import ConsumerLogicBase from './consumer-logic-base'; import { APIConsumer } from './namespace'; declare class ConsumerLogicArray extends ConsumerLogicBase implements APIConsumer.ConsumerLogicArrayInterface { protected readonly records: any[]; protected readonly default_record: APIConsumer.FormPayloadJSON | null; constructor(UXDefinition: APIConsumer.TableUXDefinition, records: any[]); get internalRecords(): any[]; order(): any[]; reload(filter?: boolean): Promise<void>; getFormDefinition(pkValue?: APIConsumer.PKValueType): Promise<APIConsumer.FormDefinition>; private getRecord; private getFormUXDefinition; dialogForm(pk: APIConsumer.PKValueType): Promise<any>; deleteRow(tableRow: FormPayload): Promise<void>; } export default ConsumerLogicArray; //# sourceMappingURL=consumer-logic-array.d.ts.map