30 lines
1004 B
TypeScript
30 lines
1004 B
TypeScript
import React from 'react';
|
|
import { RowWithActions, WebComponentProps } from 'oak-frontend-base';
|
|
import { EntityDict } from '../../../oak-app-domain';
|
|
type ColoredOffline = EntityDict['offlineAccount']['OpSchema'] & {
|
|
color: string;
|
|
};
|
|
export declare function RenderOffline(props: {
|
|
pay: RowWithActions<EntityDict, 'pay'>;
|
|
t: (key: string) => string;
|
|
offlines: ColoredOffline[];
|
|
offline: ColoredOffline;
|
|
updateOfflineId: (entityId: string) => void;
|
|
updateExternalId: (externalId: string) => void;
|
|
}): React.JSX.Element | null;
|
|
export default function Render(props: WebComponentProps<EntityDict, 'pay', false, {
|
|
pay?: RowWithActions<EntityDict, 'pay'>;
|
|
iStateColor?: string;
|
|
onClose: () => undefined;
|
|
closable: boolean;
|
|
startPayable: boolean;
|
|
notSameApp?: boolean;
|
|
type: string;
|
|
offlines?: ColoredOffline[];
|
|
offline?: ColoredOffline;
|
|
}, {
|
|
goBack: () => void;
|
|
startPay: () => Promise<void>;
|
|
}>): React.JSX.Element | null;
|
|
export {};
|