@rucire/jxson-vue
Version:
A powerful JSON editor component for Vue 3 by Rucire
43 lines (42 loc) • 1.3 kB
TypeScript
import { Component } from 'vue';
type __VLS_Props = {
modelValue: any;
showTypeLabel?: boolean;
showFieldCount?: boolean;
showArrayCount?: boolean;
placeholder?: {
name?: string;
value?: string;
};
disabled?: boolean;
readOnly?: boolean;
allowDelete?: boolean;
allowEdit?: boolean;
allowAdd?: boolean;
allowExpand?: 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:modelValue": (value: any) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
}>, {
showTypeLabel: boolean;
disabled: boolean;
readOnly: boolean;
showFieldCount: boolean;
showArrayCount: boolean;
allowDelete: boolean;
allowEdit: boolean;
allowAdd: boolean;
allowExpand: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
export default _default;