import { ComponentInterface, PickOption, Record, ColumnConfig } from "../../type"; import React from "react"; import { AddressData } from "@kmkf-fe-packages/kmkf-utils"; declare type Value = (string | number)[] | undefined; declare class Address implements ComponentInterface { name: string; id: string; sortField: string; type: string; rules: any[]; isCombinationComponent: boolean; formField: string; canSort: boolean; children: ComponentInterface[]; componentConfig: ComponentInterface["componentConfig"]; addressDateInstance: InstanceType; dataType: ComponentInterface["dataType"]; constructor(options: PickOption); /** * 通过值计算展示内容 * @param value * @returns */ getValues: (value: Value) => string | undefined; transTextToNumber: (value?: string) => string | number | undefined; renderClient: (record: any) => React.JSX.Element | null; renderPc: (value: any, record: Record) => React.JSX.Element; renderLog: (r: Record) => string; getComponentValue: (r: Record) => any[]; renderExport: (value: any, record: any) => string; editRender: (p: any) => React.JSX.Element; filterConfig: (item: ColumnConfig) => { searchDefaultConditions: "eq"; type: string; id: string; name: string; filterComponentType: "Cascader"; props: { options: any; fieldNames: { label: string; value: string; children: string; }; }; filterFn: (value: string) => (i: Record) => boolean; formatFilterValue: (val: Array) => number | undefined; }; } export default Address;