@rucire/jxson-vue
Version:
A powerful JSON editor component for Vue 3 by Rucire
36 lines (35 loc) • 1.16 kB
TypeScript
import { Component } from 'vue';
import { Field } from '../types';
type __VLS_Props = {
field: Field;
level: number;
showTypeLabel?: boolean;
showFieldCount?: boolean;
showArrayCount?: boolean;
placeholder?: {
name?: string;
value?: string;
};
disabled?: boolean;
readOnly?: boolean;
allowDelete?: boolean;
allowEdit?: boolean;
allowAdd?: boolean;
allowExpand?: boolean;
hasDuplicateName?: boolean;
customIcons?: {
edit?: Component;
delete?: Component;
add?: Component;
expand?: Component;
collapse?: Component;
save?: Component;
cancel?: Component;
};
};
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:field": (field: Field | null) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
"onUpdate:field"?: ((field: Field | null) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
export default _default;