export default Eticket; /** * - 奥创组件数据 */ export type UltronProps = { /** * - 组件实例数据 */ componentData: any; /** * - 异步提交 */ onChange: Function; /** * - 外层异步提交 */ onChangeData: Function; /** * - 表单提交 */ onSubmit: Function; /** * - 定制点 */ customization: any; /** * - 表单数据 */ fields: Fields; /** * - uuid */ uuid: string; /** * - events */ events: any; }; /** * - 输入数据 */ export type Fields = { /** * - 电子凭证列表 */ data: Item[]; }; /** * - 电子凭证列表项 */ export type Item = { /** * - 凭证信息 */ certificate: Certificate; /** * - 服务信息 */ serviceInfo: ServiceInfo[]; }; /** * - 凭证信息 */ export type Certificate = { /** * - 二维码 */ QRCode: any; /** * - 二维码替代图片 */ QRCodeCoverUrl: string; /** * - 码信息 */ barCode: string; /** * - 是否无效 */ isInvalid: boolean; /** * - 标题 */ title: string; /** * - 核销码 */ titleCode: string; }; /** * - 服务信息 */ export type ServiceInfo = { /** * - 信息列表 */ content: ContentItem[]; /** * - 信息标题 */ title: string; }; /** * - 信息列表项 */ export type ContentItem = { /** * - 信息列表 */ data: any[]; /** * - 服务类型 */ type: string; }; /** * 奥创组件协议传入类型 * @typedef {Object} UltronProps - 奥创组件数据 * @property {Object} componentData - 组件实例数据 * @property {Function} onChange - 异步提交 * @property {Function} onChangeData - 外层异步提交 * @property {Function} onSubmit - 表单提交 * @property {Customization} customization - 定制点 * @property {Fields} fields - 表单数据 * @property {String} uuid - uuid * @property {Object} events - events * * @typedef {Object} Fields - 输入数据 * @property {Item[]} data - 电子凭证列表 * * @typedef {Object} Item - 电子凭证列表项 * @property {Certificate} certificate - 凭证信息 * @property {ServiceInfo[]} serviceInfo - 服务信息 * * @typedef {Object} Certificate - 凭证信息 * @property {Object} QRCode - 二维码 * @property {String} QRCodeCoverUrl - 二维码替代图片 * @property {String} barCode - 码信息 * @property {Boolean} isInvalid - 是否无效 * @property {String} title - 标题 * @property {String} titleCode - 核销码 * * @typedef {Object} ServiceInfo - 服务信息 * @property {ContentItem[]} content - 信息列表 * @property {String} title - 信息标题 * * @typedef {Object} ContentItem - 信息列表项 * @property {Any[]} data - 信息列表 * @property {String} type - 服务类型 * * @param {UltronProps} props */ declare function Eticket(props: UltronProps): JSX.Element; import ServiceInfo from "./serviceInfo";