oak-general-business/es/components/passport/web.pc.d.ts

20 lines
796 B
TypeScript

import React from 'react';
import { WebComponentProps } from 'oak-frontend-base';
import { EntityDict } from '../../oak-app-domain';
import { SmsConfig, EmailConfig, PfwConfig, MfwConfig } from '../../entities/Passport';
export default function render(props: WebComponentProps<EntityDict, 'passport', true, {
passports: EntityDict['passport']['OpSchema'][];
systemId: string;
systemName: string;
mpAppIds: string[];
publicAppIds: string[];
}, {
updateConfig: (id: string, config: SmsConfig | EmailConfig | PfwConfig | MfwConfig, path: string, value: any) => void;
checkConfrim: () => {
id: string;
type: EntityDict['passport']['Schema']['type'];
tip: string;
}[];
myConfirm: (ids: string[]) => void;
}>): React.JSX.Element | undefined;