import { getNode } from '@xiaohaih/condition-core'; /** * @file 单选框 */ declare const _default: import('vue').DefineComponent<{ readonly labelKey: { readonly type: import('vue').PropType; readonly default: "label"; }; readonly valueKey: { readonly type: import('vue').PropType; readonly default: "value"; }; readonly type: { readonly type: import('vue').PropType<"radio" | "button">; }; readonly border: { readonly type: import('vue').PropType; readonly default: undefined; }; readonly cancelable: { readonly type: import('vue').PropType; readonly default: undefined; }; readonly disabledKey: { readonly type: import('vue').PropType; readonly default: "disabled"; }; readonly class: { type: import('vue').PropType | any[]>; }; readonly style: { type: import('vue').PropType | any[]>; }; readonly prop: { type: import('vue').PropType; }; readonly postfix: { type: import('vue').PropType import('vue').VNode)>; }; readonly as: { type: import('vue').PropType; }; readonly conditionSortIndex: { type: import('vue').PropType; }; readonly dynamicFields: { type: import('vue').PropType<(option: { query: Record; }) => Record | void>; }; readonly formDynamicFields: { type: import('vue').PropType<(option: { query: Record; }) => Record | void>; }; readonly slotDefault: { type: import('vue').PropType import('vue').VNode)>; }; readonly slotBefore: { type: import('vue').PropType import('vue').VNode)>; }; readonly slotAfter: { type: import('vue').PropType import('vue').VNode)>; }; readonly fields: { readonly type: import('vue').PropType; }; readonly backfillToValue: { readonly type: import('vue').PropType<(values: string | string[], fields: string | string[], backfill?: Record) => string | string[]>; readonly default: (v: any) => any; }; readonly options: { readonly type: import('vue').PropType[]>; readonly default: () => never[]; }; readonly getOptions: { readonly type: import('vue').PropType; }; readonly field: { readonly type: import('vue').PropType; readonly required: true; }; readonly multiple: { readonly type: import('vue').PropType; readonly default: undefined; }; readonly query: { readonly type: import('vue').PropType>; readonly required: true; }; readonly backfill: { readonly type: import('vue').PropType>; }; readonly disabled: { readonly type: import('vue').PropType; }; readonly hide: { readonly type: import('vue').PropType; }; readonly depend: { readonly type: import('vue').PropType; }; readonly resetByDependValueChange: { readonly type: import('vue').PropType) => boolean)>; readonly default: true; }; readonly dependFields: { readonly type: import('vue').PropType; }; readonly dependWatchOption: { readonly type: import('vue').PropType; }; readonly optionsDepend: { readonly type: import('vue').PropType; }; readonly optionsDependFields: { readonly type: import('vue').PropType; }; readonly resetToInitialValue: { readonly type: import('vue').PropType; }; readonly emptyValue: { readonly type: import('vue').PropType; readonly default: undefined; }; readonly validator: { readonly type: import('vue').PropType<((query: Record) => any) | ((query: Record) => Promise)>; }; readonly customGetQuery: { readonly type: import('vue').PropType; }; readonly defaultValue: { readonly type: import('vue').PropType, backfill?: Record) => import('@xiaohaih/condition-core').ValueType)>; readonly default: undefined; }; }, { formItemProps: import('vue').ComputedRef; readonly default: "label"; }; readonly valueKey: { readonly type: import('vue').PropType; readonly default: "value"; }; readonly type: { readonly type: import('vue').PropType<"radio" | "button">; }; readonly border: { readonly type: import('vue').PropType; readonly default: undefined; }; readonly cancelable: { readonly type: import('vue').PropType; readonly default: undefined; }; readonly disabledKey: { readonly type: import('vue').PropType; readonly default: "disabled"; }; readonly class: { type: import('vue').PropType | any[]>; }; readonly style: { type: import('vue').PropType | any[]>; }; readonly prop: { type: import('vue').PropType; }; readonly postfix: { type: import('vue').PropType import('vue').VNode)>; }; readonly as: { type: import('vue').PropType; }; readonly conditionSortIndex: { type: import('vue').PropType; }; readonly dynamicFields: { type: import('vue').PropType<(option: { query: Record; }) => Record | void>; }; readonly formDynamicFields: { type: import('vue').PropType<(option: { query: Record; }) => Record | void>; }; readonly slotDefault: { type: import('vue').PropType import('vue').VNode)>; }; readonly slotBefore: { type: import('vue').PropType import('vue').VNode)>; }; readonly slotAfter: { type: import('vue').PropType import('vue').VNode)>; }; readonly fields: { readonly type: import('vue').PropType; }; readonly backfillToValue: { readonly type: import('vue').PropType<(values: string | string[], fields: string | string[], backfill?: Record) => string | string[]>; readonly default: (v: any) => any; }; readonly options: { readonly type: import('vue').PropType[]>; readonly default: () => never[]; }; readonly getOptions: { readonly type: import('vue').PropType; }; readonly field: { readonly type: import('vue').PropType; readonly required: true; }; readonly multiple: { readonly type: import('vue').PropType; readonly default: undefined; }; readonly query: { readonly type: import('vue').PropType>; readonly required: true; }; readonly backfill: { readonly type: import('vue').PropType>; }; readonly disabled: { readonly type: import('vue').PropType; }; readonly hide: { readonly type: import('vue').PropType; }; readonly depend: { readonly type: import('vue').PropType; }; readonly resetByDependValueChange: { readonly type: import('vue').PropType) => boolean)>; readonly default: true; }; readonly dependFields: { readonly type: import('vue').PropType; }; readonly dependWatchOption: { readonly type: import('vue').PropType; }; readonly optionsDepend: { readonly type: import('vue').PropType; }; readonly optionsDependFields: { readonly type: import('vue').PropType; }; readonly resetToInitialValue: { readonly type: import('vue').PropType; }; readonly emptyValue: { readonly type: import('vue').PropType; readonly default: undefined; }; readonly validator: { readonly type: import('vue').PropType<((query: Record) => any) | ((query: Record) => Promise)>; }; readonly customGetQuery: { readonly type: import('vue').PropType; }; readonly defaultValue: { readonly type: import('vue').PropType, backfill?: Record) => import('@xiaohaih/condition-core').ValueType)>; readonly default: undefined; }; }>> & {}>>>; contentProps: import('vue').ComputedRef; readonly default: "label"; }; readonly valueKey: { readonly type: import('vue').PropType; readonly default: "value"; }; readonly type: { readonly type: import('vue').PropType<"radio" | "button">; }; readonly border: { readonly type: import('vue').PropType; readonly default: undefined; }; readonly cancelable: { readonly type: import('vue').PropType; readonly default: undefined; }; readonly disabledKey: { readonly type: import('vue').PropType; readonly default: "disabled"; }; readonly class: { type: import('vue').PropType | any[]>; }; readonly style: { type: import('vue').PropType | any[]>; }; readonly prop: { type: import('vue').PropType; }; readonly postfix: { type: import('vue').PropType import('vue').VNode)>; }; readonly as: { type: import('vue').PropType; }; readonly conditionSortIndex: { type: import('vue').PropType; }; readonly dynamicFields: { type: import('vue').PropType<(option: { query: Record; }) => Record | void>; }; readonly formDynamicFields: { type: import('vue').PropType<(option: { query: Record; }) => Record | void>; }; readonly slotDefault: { type: import('vue').PropType import('vue').VNode)>; }; readonly slotBefore: { type: import('vue').PropType import('vue').VNode)>; }; readonly slotAfter: { type: import('vue').PropType import('vue').VNode)>; }; readonly fields: { readonly type: import('vue').PropType; }; readonly backfillToValue: { readonly type: import('vue').PropType<(values: string | string[], fields: string | string[], backfill?: Record) => string | string[]>; readonly default: (v: any) => any; }; readonly options: { readonly type: import('vue').PropType[]>; readonly default: () => never[]; }; readonly getOptions: { readonly type: import('vue').PropType; }; readonly field: { readonly type: import('vue').PropType; readonly required: true; }; readonly multiple: { readonly type: import('vue').PropType; readonly default: undefined; }; readonly query: { readonly type: import('vue').PropType>; readonly required: true; }; readonly backfill: { readonly type: import('vue').PropType>; }; readonly disabled: { readonly type: import('vue').PropType; }; readonly hide: { readonly type: import('vue').PropType; }; readonly depend: { readonly type: import('vue').PropType; }; readonly resetByDependValueChange: { readonly type: import('vue').PropType) => boolean)>; readonly default: true; }; readonly dependFields: { readonly type: import('vue').PropType; }; readonly dependWatchOption: { readonly type: import('vue').PropType; }; readonly optionsDepend: { readonly type: import('vue').PropType; }; readonly optionsDependFields: { readonly type: import('vue').PropType; }; readonly resetToInitialValue: { readonly type: import('vue').PropType; }; readonly emptyValue: { readonly type: import('vue').PropType; readonly default: undefined; }; readonly validator: { readonly type: import('vue').PropType<((query: Record) => any) | ((query: Record) => Promise)>; }; readonly customGetQuery: { readonly type: import('vue').PropType; }; readonly defaultValue: { readonly type: import('vue').PropType, backfill?: Record) => import('@xiaohaih/condition-core').ValueType)>; readonly default: undefined; }; }>> & {}>>>; radioGroupRef: import('vue').Ref<({ $: import('vue').ComponentInternalInstance; $data: {}; $props: Partial<{ readonly disabled: boolean; readonly fill: string; readonly id: string; readonly name: string; readonly modelValue: string | number | boolean; readonly validateEvent: boolean; readonly textColor: string; }> & Omit; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; } & { readonly default: undefined; }; readonly size: { readonly type: import('vue').PropType<"" | "default" | "small" | "large">; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly disabled: BooleanConstructor; readonly modelValue: { readonly type: import('vue').PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; } & { readonly default: undefined; }; readonly fill: { readonly type: import('vue').PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; } & { readonly default: ""; }; readonly textColor: { readonly type: import('vue').PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; } & { readonly default: ""; }; readonly name: { readonly type: import('vue').PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; } & { readonly default: undefined; }; readonly validateEvent: { readonly type: import('vue').PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; } & { readonly default: true; }; }>> & { "onUpdate:modelValue"?: ((val: string | number | boolean | undefined) => any) | undefined; onChange?: ((val: string | number | boolean | undefined) => any) | undefined; } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "fill" | "modelValue" | "validateEvent" | "name" | "id" | "textColor">; $attrs: { [x: string]: unknown; }; $refs: { [x: string]: unknown; }; $slots: import('vue').Slots; $root: import('vue').ComponentPublicInstance | null; $parent: import('vue').ComponentPublicInstance | null; $emit: ((event: "change", val: string | number | boolean | undefined) => void) & ((event: "update:modelValue", val: string | number | boolean | undefined) => void); $el: any; $options: import('vue').ComponentOptionsBase; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; } & { readonly default: undefined; }; readonly size: { readonly type: import('vue').PropType<"" | "default" | "small" | "large">; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly disabled: BooleanConstructor; readonly modelValue: { readonly type: import('vue').PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; } & { readonly default: undefined; }; readonly fill: { readonly type: import('vue').PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; } & { readonly default: ""; }; readonly textColor: { readonly type: import('vue').PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; } & { readonly default: ""; }; readonly name: { readonly type: import('vue').PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; } & { readonly default: undefined; }; readonly validateEvent: { readonly type: import('vue').PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; } & { readonly default: true; }; }>> & { "onUpdate:modelValue"?: ((val: string | number | boolean | undefined) => any) | undefined; onChange?: ((val: string | number | boolean | undefined) => any) | undefined; }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:modelValue": (val: string | number | boolean | undefined) => void; change: (val: string | number | boolean | undefined) => void; }, string, { readonly disabled: boolean; readonly fill: string; readonly id: string; readonly name: string; readonly modelValue: string | number | boolean; readonly validateEvent: boolean; readonly textColor: string; }> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof import('vue').nextTick; $watch(source: string | Function, cb: Function, options?: import('vue').WatchOptions): import('vue').WatchStopHandle; } & Readonly; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; } & { readonly default: undefined; }; readonly size: { readonly type: import('vue').PropType<"" | "default" | "small" | "large">; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly disabled: BooleanConstructor; readonly modelValue: { readonly type: import('vue').PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; } & { readonly default: undefined; }; readonly fill: { readonly type: import('vue').PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; } & { readonly default: ""; }; readonly textColor: { readonly type: import('vue').PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; } & { readonly default: ""; }; readonly name: { readonly type: import('vue').PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; } & { readonly default: undefined; }; readonly validateEvent: { readonly type: import('vue').PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; } & { readonly default: true; }; }>> & { "onUpdate:modelValue"?: ((val: string | number | boolean | undefined) => any) | undefined; onChange?: ((val: string | number | boolean | undefined) => any) | undefined; } & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & { $slots: { default?(_: {}): any; }; }) | undefined>; radioType: import('vue').ComputedRef<"ElRadioButton" | "ElRadio">; eventName: import('vue').ComputedRef<"click" | null>; customChange: (newVal: string, currentVal: string, cb: (value: string | string[]) => void) => void; getNode: typeof getNode; slotProps: import('vue').ComputedRef<{ disabled: boolean; modelValue: (string | number | boolean | Record | null | undefined) | (string | number | boolean | Record | null | undefined)[]; source: Record[]; cancelableHandle: (newVal: string, currentVal: string, cb: (value: string | string[]) => void) => void; 'onUpdate:modelValue': (value: (string | number | boolean | Record | null | undefined) | (string | number | boolean | Record | null | undefined)[]) => void; class: string; extraOption: { query: Record; search: () => Promise; insetSearch: () => void; }; field: string; multiple: boolean | undefined; query: Record; backfill: Record | undefined; hide: import('@xiaohaih/condition-core').HideOption | undefined; depend: boolean | undefined; resetByDependValueChange: boolean | ((query: Record) => boolean); dependFields: string | string[] | undefined; dependWatchOption: import('vue').WatchOptions | undefined; optionsDepend: boolean | undefined; optionsDependFields: string | string[] | undefined; resetToInitialValue: boolean | undefined; emptyValue: string | number | boolean | null | undefined; validator: ((query: Record) => any) | ((query: Record) => Promise) | undefined; customGetQuery: import('@xiaohaih/condition-core').GetQuery | undefined; defaultValue: import('@xiaohaih/condition-core').ValueType | ((query: Record, backfill?: Record) => import('@xiaohaih/condition-core').ValueType) | undefined; type: "button" | "radio" | undefined; fields: string[] | undefined; backfillToValue: (values: string | string[], fields: string | string[], backfill?: Record) => string | string[]; options: Record[]; getOptions: import('@xiaohaih/condition-core').GetOptions | undefined; valueKey: string; prop: string | string[] | undefined; style: string | any[] | Record | undefined; postfix: string | import('vue').VNode | ((...args: any[]) => import('vue').VNode) | undefined; as: string | undefined; conditionSortIndex: number | undefined; dynamicFields: ((option: { query: Record; }) => Record | void) | undefined; formDynamicFields: ((option: { query: Record; }) => Record | void) | undefined; slotDefault: import('vue').VNode | ((option: import('../share').SlotQuery) => import('vue').VNode) | undefined; slotBefore: import('vue').VNode | ((option: import('../share').SlotQuery) => import('vue').VNode) | undefined; slotAfter: import('vue').VNode | ((option: import('../share').SlotQuery) => import('vue').VNode) | undefined; border: boolean | undefined; labelKey: string; disabledKey: string; cancelable: boolean | undefined; }>; wrapper: import('@xiaohaih/condition-core').ProvideValue | undefined; option: { reset(this: void): void; resetField(this: void, allowEmptyValue?: boolean): boolean; updateWrapperQuery(this: void): void; readonly validator: ((query: Record) => any) | ((query: Record) => Promise) | undefined; getQuery: () => Record; onChangeByBackfill: () => boolean; }; checked: import('vue').Ref<(string | number | boolean | Record | null | undefined) | (string | number | boolean | Record | null | undefined)[]>; getQuery: () => Record; insetDisabled: import('vue').Ref; insetHide: import('vue').Ref; finalOption: import('vue').ComputedRef[]>; updateCheckedValue: (value: (string | number | boolean | Record | null | undefined) | (string | number | boolean | Record | null | undefined)[]) => void; change: (value: (string | number | boolean | Record | null | undefined) | (string | number | boolean | Record | null | undefined)[]) => void; reset: (this: void) => void; }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly; readonly default: "label"; }; readonly valueKey: { readonly type: import('vue').PropType; readonly default: "value"; }; readonly type: { readonly type: import('vue').PropType<"radio" | "button">; }; readonly border: { readonly type: import('vue').PropType; readonly default: undefined; }; readonly cancelable: { readonly type: import('vue').PropType; readonly default: undefined; }; readonly disabledKey: { readonly type: import('vue').PropType; readonly default: "disabled"; }; readonly class: { type: import('vue').PropType | any[]>; }; readonly style: { type: import('vue').PropType | any[]>; }; readonly prop: { type: import('vue').PropType; }; readonly postfix: { type: import('vue').PropType import('vue').VNode)>; }; readonly as: { type: import('vue').PropType; }; readonly conditionSortIndex: { type: import('vue').PropType; }; readonly dynamicFields: { type: import('vue').PropType<(option: { query: Record; }) => Record | void>; }; readonly formDynamicFields: { type: import('vue').PropType<(option: { query: Record; }) => Record | void>; }; readonly slotDefault: { type: import('vue').PropType import('vue').VNode)>; }; readonly slotBefore: { type: import('vue').PropType import('vue').VNode)>; }; readonly slotAfter: { type: import('vue').PropType import('vue').VNode)>; }; readonly fields: { readonly type: import('vue').PropType; }; readonly backfillToValue: { readonly type: import('vue').PropType<(values: string | string[], fields: string | string[], backfill?: Record) => string | string[]>; readonly default: (v: any) => any; }; readonly options: { readonly type: import('vue').PropType[]>; readonly default: () => never[]; }; readonly getOptions: { readonly type: import('vue').PropType; }; readonly field: { readonly type: import('vue').PropType; readonly required: true; }; readonly multiple: { readonly type: import('vue').PropType; readonly default: undefined; }; readonly query: { readonly type: import('vue').PropType>; readonly required: true; }; readonly backfill: { readonly type: import('vue').PropType>; }; readonly disabled: { readonly type: import('vue').PropType; }; readonly hide: { readonly type: import('vue').PropType; }; readonly depend: { readonly type: import('vue').PropType; }; readonly resetByDependValueChange: { readonly type: import('vue').PropType) => boolean)>; readonly default: true; }; readonly dependFields: { readonly type: import('vue').PropType; }; readonly dependWatchOption: { readonly type: import('vue').PropType; }; readonly optionsDepend: { readonly type: import('vue').PropType; }; readonly optionsDependFields: { readonly type: import('vue').PropType; }; readonly resetToInitialValue: { readonly type: import('vue').PropType; }; readonly emptyValue: { readonly type: import('vue').PropType; readonly default: undefined; }; readonly validator: { readonly type: import('vue').PropType<((query: Record) => any) | ((query: Record) => Promise)>; }; readonly customGetQuery: { readonly type: import('vue').PropType; }; readonly defaultValue: { readonly type: import('vue').PropType, backfill?: Record) => import('@xiaohaih/condition-core').ValueType)>; readonly default: undefined; }; }>>, { readonly multiple: boolean; readonly resetByDependValueChange: boolean | ((query: Record) => boolean); readonly emptyValue: string | number | boolean | null | undefined; readonly defaultValue: import('@xiaohaih/condition-core').ValueType | ((query: Record, backfill?: Record) => import('@xiaohaih/condition-core').ValueType); readonly backfillToValue: (values: string | string[], fields: string | string[], backfill?: Record) => string | string[]; readonly options: Record[]; readonly valueKey: string; readonly border: boolean; readonly labelKey: string; readonly disabledKey: string; readonly cancelable: boolean; }>; export default _default;