var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
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;
};
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var stdin_exports = {};
__export(stdin_exports, {
  DefaultFooter: () => DefaultFooter
});
module.exports = __toCommonJS(stdin_exports);
var import_vue = require("vue");
var import_icons_vue = require("@ant-design/icons-vue");
var import_pro_utils = require("@antdv/pro-utils");
var import_ant_design_vue = require("ant-design-vue");
var import_vue2 = require("vue");
var import_GlobalFooter = require("./GlobalFooter");
const {
  Footer
} = import_ant_design_vue.Layout;
const DefaultFooter = (0, import_vue2.defineComponent)({
  name: "DefaultFooter",
  inheritAttrs: false,
  props: {
    links: (0, import_pro_utils.oneOfType)([Boolean, Array]).def(void 0),
    copyright: (0, import_pro_utils.oneOfType)([Boolean, String]).def(void 0),
    prefixCls: (0, import_pro_utils.stringType)()
  },
  setup(props, {
    attrs
  }) {
    return () => {
      (0, import_vue.createVNode)(Footer, {
        "class": attrs.class,
        "style": __spreadValues({
          padding: 0
        }, attrs.style || {})
      }, {
        default: () => [(0, import_vue.createVNode)(import_GlobalFooter.GlobalFooter, {
          "links": props.links,
          "prefixCls": props.prefixCls,
          "copyright": props.copyright === false ? null : (0, import_vue.createVNode)(import_vue.Fragment, null, [(0, import_vue.createVNode)(import_icons_vue.CopyrightOutlined, null, null), " ", props.copyright])
        }, null)]
      });
    };
  }
});
