'use strict';

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

var vue = require('vue');
require('../../../../utils/index.js');
var VNodeRenderer = require('../../common/VNodeRenderer.js');
var statistic = require('./statistic.js');
var exports$1 = require('../../../../utils/src/elementPlus/exports.js');

var _sfc_main = /* @__PURE__ */ vue.defineComponent({
  ...{
    name: "GmStatistic"
  },
  __name: "Statistic",
  props: statistic.statisticProps,
  setup(__props, { expose: __expose }) {
    const slots = vue.useSlots();
    const props = __props;
    const elRef = vue.ref();
    const exposeEvents = ["displayValue"];
    const { exposeFns } = exports$1.getGmExports(elRef, exposeEvents);
    __expose({
      elRef,
      ...exposeFns
    });
    return (_ctx, _cache) => {
      const _component_el_statistic = vue.resolveComponent("el-statistic");
      return vue.openBlock(), vue.createBlock(
        _component_el_statistic,
        vue.mergeProps({
          ref_key: "elRef",
          ref: elRef
        }, props),
        vue.createSlots({
          _: 2
          /* DYNAMIC */
        }, [
          vue.unref(slots).title ? {
            name: "title",
            fn: vue.withCtx(() => [
              vue.createVNode(vue.unref(VNodeRenderer.default), {
                vnode: vue.unref(slots).title?.()
              }, null, 8, ["vnode"])
            ]),
            key: "0"
          } : void 0,
          vue.unref(slots).suffix ? {
            name: "suffix",
            fn: vue.withCtx(() => [
              vue.createVNode(vue.unref(VNodeRenderer.default), {
                vnode: vue.unref(slots).suffix?.()
              }, null, 8, ["vnode"])
            ]),
            key: "1"
          } : void 0,
          vue.unref(slots).prefix ? {
            name: "prefix",
            fn: vue.withCtx(() => [
              vue.createVNode(vue.unref(VNodeRenderer.default), {
                vnode: vue.unref(slots).prefix?.()
              }, null, 8, ["vnode"])
            ]),
            key: "2"
          } : void 0
        ]),
        1040
        /* FULL_PROPS, DYNAMIC_SLOTS */
      );
    };
  }
});

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