vdrag-topo-ui
Version:
54 lines (53 loc) • 1.78 kB
TypeScript
import * as monaco from "monaco-editor";
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
modelValue: {
type: null;
required: true;
};
showFullScreen: {
type: BooleanConstructor;
required: true;
};
readOnly: {
type: BooleanConstructor;
required: false;
};
language: {
type: StringConstructor;
required: false;
};
}>, {
vsEditor: monaco.editor.IStandaloneCodeEditor | null;
timer: import("vue").Ref<any, any>;
dialogVisible: import("vue").WritableComputedRef<any, any>;
props: any;
emit: (event: "update:modelValue" | "update:showFullScreen", ...args: any[]) => void;
language: import("vue").Ref<string, string>;
initEditor: () => void;
getEditorValue: () => string | undefined;
onEditorValueChange: () => void;
formatContent: () => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:showFullScreen")[], "update:modelValue" | "update:showFullScreen", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
modelValue: {
type: null;
required: true;
};
showFullScreen: {
type: BooleanConstructor;
required: true;
};
readOnly: {
type: BooleanConstructor;
required: false;
};
language: {
type: StringConstructor;
required: false;
};
}>> & Readonly<{
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
"onUpdate:showFullScreen"?: ((...args: any[]) => any) | undefined;
}>, {
readOnly: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _sfc_main;