import '../../../../utils/index.mjs';
import { buildProps, definePropType } from '../../../../utils/props/runtime.mjs';

"use strict";
const defaultOptions = {
  automaticLayout: true,
  foldingStrategy: "indentation",
  renderLineHighlight: "all",
  selectOnLineNumbers: true,
  minimap: {
    enabled: true
  },
  readOnly: false,
  fontSize: 16,
  scrollBeyondLastLine: false,
  overviewRulerBorder: false
};
const codeEditorProps = buildProps({
  value: {
    type: String,
    default: null
  },
  disabled: {
    type: Boolean,
    default: () => false
  },
  width: {
    type: [String, Number],
    default: "100%"
  },
  height: {
    type: [String, Number],
    default: "100%"
  },
  language: {
    type: definePropType(String),
    default: "javascript"
  },
  theme: {
    type: definePropType(String),
    default: "vs"
  },
  options: {
    type: definePropType(Object),
    default: () => ({})
  }
});
const codeEditorEmits = {
  "update:value": (value) => !!value,
  change: (value) => !!value,
  "editor-mounted": (editor) => !!editor
};

export { codeEditorEmits, codeEditorProps, defaultOptions };
//# sourceMappingURL=code-editor.mjs.map
