@knockout-js/org
Version:
Knockout组织相关组件
53 lines (52 loc) • 1.13 kB
TypeScript
import { ProTableProps } from '@ant-design/pro-components';
import { App } from '@knockout-js/api/ucenter';
import { ModalProps } from '@knockout-js/layout';
export interface AppModalLocale {
name: string;
code: string;
type: string;
desc: string;
}
export declare const EnumAppKind: {
web: {
text: string;
};
native: {
text: string;
};
server: {
text: string;
};
};
export interface AppModalProps {
/**
* 弹框开关
*/
open: boolean;
/**
* orgId授权的应用
*/
orgId?: string;
/**
* 弹框标题
*/
title?: string;
/**
* 多选
*/
isMultiple?: boolean;
/**
* ant modal api
*/
modalProps?: ModalProps;
/**
* ProTable api
*/
proTableProps?: ProTableProps<App, Record<string, any>, 'text'>;
/**
* 关闭弹框 (data?:App[])=>void
*/
onClose: (data?: App[]) => void;
}
declare const _default: (props: AppModalProps) => import("react/jsx-runtime").JSX.Element;
export default _default;