21 lines
798 B
TypeScript
21 lines
798 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'] & {
|
|
appIdStr: string;
|
|
stateColor: string;
|
|
})[];
|
|
systemId: string;
|
|
systemName: 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;
|