'use strict';

require('../../../../utils/index.js');
var runtime = require('../../../../utils/props/runtime.js');

"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 = runtime.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: runtime.definePropType(String),
    default: "javascript"
  },
  theme: {
    type: runtime.definePropType(String),
    default: "vs"
  },
  options: {
    type: runtime.definePropType(Object),
    default: () => ({})
  }
});
const codeEditorEmits = {
  "update:value": (value) => !!value,
  change: (value) => !!value,
  "editor-mounted": (editor) => !!editor
};

exports.codeEditorEmits = codeEditorEmits;
exports.codeEditorProps = codeEditorProps;
exports.defaultOptions = defaultOptions;
//# sourceMappingURL=code-editor.js.map
