@tuoyuan/json-schema
Version:
json-schema编辑器及表单组件
70 lines (69 loc) • 1.86 kB
TypeScript
import type { PropType } from "vue";
import type { EditorWidgetArray } from "./type";
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
showToolbar: {
type: BooleanConstructor;
default: boolean;
};
custom: {
type: ArrayConstructor;
default: () => never[];
};
widgets: {
type: PropType<EditorWidgetArray>;
default: () => never[];
};
showMock: {
type: BooleanConstructor;
};
showForm: {
type: BooleanConstructor;
};
modalSize: {
type: PropType<"small" | "middle" | "large">;
default: string;
};
modelValue: {
type: PropType<any>;
required: true;
};
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
change: (...args: any[]) => void;
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
showToolbar: {
type: BooleanConstructor;
default: boolean;
};
custom: {
type: ArrayConstructor;
default: () => never[];
};
widgets: {
type: PropType<EditorWidgetArray>;
default: () => never[];
};
showMock: {
type: BooleanConstructor;
};
showForm: {
type: BooleanConstructor;
};
modalSize: {
type: PropType<"small" | "middle" | "large">;
default: string;
};
modelValue: {
type: PropType<any>;
required: true;
};
}>> & Readonly<{
onChange?: ((...args: any[]) => any) | undefined;
}>, {
widgets: EditorWidgetArray;
custom: unknown[];
modalSize: "small" | "middle" | "large";
showToolbar: boolean;
showMock: boolean;
showForm: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;