'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var vue = require('vue');
require('../../../../utils/index.js');
var elementPlus = require('element-plus');
var colorPicker = require('./colorPicker.js');
var event = require('../../../../utils/src/elementPlus/event.js');
var exports$1 = require('../../../../utils/src/elementPlus/exports.js');

var _sfc_main = /* @__PURE__ */ vue.defineComponent({
  ...{
    name: "GmColorPicker"
  },
  __name: "ColorPicker",
  props: colorPicker.colorPickerProps,
  emits: colorPicker.colorPickerEmits,
  setup(__props, { expose: __expose, emit: __emit }) {
    const props = __props;
    const emit = __emit;
    const elEvents = event.getGmEvent(elementPlus.colorPickerEmits, emit);
    const elRef = vue.ref();
    const exposeEvents = ["color", "show", "hide", "focus", "blur"];
    const { exposeFns } = exports$1.getGmExports(elRef, exposeEvents);
    __expose({
      elRef,
      ...exposeFns
    });
    return (_ctx, _cache) => {
      const _component_el_color_picker = vue.resolveComponent("el-color-picker");
      return vue.openBlock(), vue.createBlock(
        _component_el_color_picker,
        vue.mergeProps({
          ref_key: "elRef",
          ref: elRef
        }, props, vue.toHandlers(vue.unref(elEvents))),
        null,
        16
        /* FULL_PROPS */
      );
    };
  }
});

exports.default = _sfc_main;
//# sourceMappingURL=ColorPicker.vue2.js.map
