'use strict';

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

"use strict";
const codemirrorEditorVue3Props = runtime.buildProps({
  // buildProps和defineprops一样
  /**
   * @description code
   */
  value: {
    type: String,
    default: ""
  },
  /**
   * @description 语言/主题等配置
   */
  options: {
    type: runtime.definePropType(Object)
  },
  /**
   * @description 内容为空的占位符
   */
  placeholder: {
    type: String,
    default: ""
  },
  /**
   * @description 是否显示边框
   */
  border: {
    type: Boolean,
    default: false
  },
  /**
   * @description 宽度
   */
  width: {
    type: String,
    default: "100%"
  },
  /**
   * @description 高度
   */
  height: {
    type: String,
    default: "100%"
  },
  /**
   * @description 使用原来的样式，禁用该组件的样式的第二次修改（但不影响宽度、高度和边框）
   */
  originalStyle: {
    type: Boolean,
    default: false
  },
  /**
   * @description 始终将鼠标位置保持在最后一行
   */
  KeepCursorInEnd: {
    type: Boolean,
    default: false
  },
  /**
   * @description 合并模式，也可以用作 diff 模式
   */
  merge: {
    type: Boolean,
    default: false
  }
});
const codemirrorEditorVue3Emits = {
  "update:value": (v) => !!v,
  change: (v) => !!v,
  blur: (codeMirror, e) => codeMirror && e,
  focus: (codeMirror, e) => codeMirror && e,
  scroll: (codeMirror) => !!codeMirror,
  keyup: (codeMirror, e) => codeMirror && e
};

exports.codemirrorEditorVue3Emits = codemirrorEditorVue3Emits;
exports.codemirrorEditorVue3Props = codemirrorEditorVue3Props;
//# sourceMappingURL=codemirror-editor-vue3.js.map
