var __defProp = Object.defineProperty;
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __propIsEnum = Object.prototype.propertyIsEnumerable;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __spreadValues = (a, b) => {
  for (var prop in b || (b = {}))
    if (__hasOwnProp.call(b, prop))
      __defNormalProp(a, prop, b[prop]);
  if (__getOwnPropSymbols)
    for (var prop of __getOwnPropSymbols(b)) {
      if (__propIsEnum.call(b, prop))
        __defNormalProp(a, prop, b[prop]);
    }
  return a;
};
import { Fragment as _Fragment, createVNode as _createVNode } from "vue";
import { CopyrightOutlined } from "@ant-design/icons-vue";
import { oneOfType, stringType } from "@antdv/pro-utils";
import { Layout } from "ant-design-vue";
import { defineComponent } from "vue";
import { GlobalFooter } from "./GlobalFooter/index.mjs";
const {
  Footer
} = Layout;
const DefaultFooter = defineComponent({
  name: "DefaultFooter",
  inheritAttrs: false,
  props: {
    links: oneOfType([Boolean, Array]).def(void 0),
    copyright: oneOfType([Boolean, String]).def(void 0),
    prefixCls: stringType()
  },
  setup(props, {
    attrs
  }) {
    return () => {
      _createVNode(Footer, {
        "class": attrs.class,
        "style": __spreadValues({
          padding: 0
        }, attrs.style || {})
      }, {
        default: () => [_createVNode(GlobalFooter, {
          "links": props.links,
          "prefixCls": props.prefixCls,
          "copyright": props.copyright === false ? null : _createVNode(_Fragment, null, [_createVNode(CopyrightOutlined, null, null), " ", props.copyright])
        }, null)]
      });
    };
  }
});
export {
  DefaultFooter
};
