'use strict';

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

var vue = require('vue');
var result = require('./result.js');

var _sfc_main = /* @__PURE__ */ vue.defineComponent({
  ...{
    name: "GmResult"
  },
  __name: "Result",
  props: result.resultProps,
  setup(__props) {
    const slots = vue.useSlots();
    const props = __props;
    return (_ctx, _cache) => {
      const _component_el_result = vue.resolveComponent("el-result");
      return vue.openBlock(), vue.createBlock(
        _component_el_result,
        vue.normalizeProps(vue.guardReactiveProps(props)),
        vue.createSlots({
          _: 2
          /* DYNAMIC */
        }, [
          vue.unref(slots).icon ? {
            name: "icon",
            fn: vue.withCtx(() => [
              vue.renderSlot(_ctx.$slots, "icon")
            ]),
            key: "0"
          } : void 0,
          vue.unref(slots).title ? {
            name: "title",
            fn: vue.withCtx(() => [
              vue.renderSlot(_ctx.$slots, "title")
            ]),
            key: "1"
          } : void 0,
          vue.unref(slots)["sub-title"] ? {
            name: "sub-title",
            fn: vue.withCtx(() => [
              vue.renderSlot(_ctx.$slots, "sub-title")
            ]),
            key: "2"
          } : void 0,
          vue.unref(slots).extra ? {
            name: "extra",
            fn: vue.withCtx(() => [
              vue.renderSlot(_ctx.$slots, "extra")
            ]),
            key: "3"
          } : void 0
        ]),
        1040
        /* FULL_PROPS, DYNAMIC_SLOTS */
      );
    };
  }
});

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