UNPKG

@layui/json-schema-form

Version:

Json-schema-form is a high-level component encapsulated on the basis of @layui/layui-vue form.

63 lines (62 loc) 1.83 kB
import type { PropType } from "vue"; import type { CheckboxSize } from "@layui/component/component/checkbox/interface"; import type { Recordable } from "@layui/component/types"; interface CheckboxOptions { label: string; value: string | number; skin?: string; disabled?: boolean; size?: CheckboxSize; } declare const _default: import("vue").DefineComponent<{ modelValue: { type: PropType<Recordable[]>; default: () => never[]; }; name: { type: StringConstructor; default: string; }; disabled: { type: BooleanConstructor; default: boolean; }; options: { type: PropType<CheckboxOptions[]>; default: () => never[]; }; button: { type: BooleanConstructor; default: boolean; }; }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ modelValue: { type: PropType<Recordable[]>; default: () => never[]; }; name: { type: StringConstructor; default: string; }; disabled: { type: BooleanConstructor; default: boolean; }; options: { type: PropType<CheckboxOptions[]>; default: () => never[]; }; button: { type: BooleanConstructor; default: boolean; }; }>>, { button: boolean; name: string; disabled: boolean; options: CheckboxOptions[]; modelValue: Recordable[]; }, {}>; export default _default;