"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const props = require("../utils/props.js");
const popupSharedProps = {
  // whether to show popup
  show: Boolean,
  // z-index
  zIndex: props.numericProp,
  // whether to show overlay
  overlay: props.truthProp,
  // transition duration
  duration: props.numericProp,
  // teleport
  teleport: [String, Object],
  // prevent body scroll
  lockScroll: props.truthProp,
  // whether to lazy render
  lazyRender: props.truthProp,
  // callback function before close
  beforeClose: Function,
  // overlay props
  overlayProps: Object,
  // overlay custom style
  overlayStyle: Object,
  // overlay custom class name
  overlayClass: props.unknownProp,
  // Initial rendering animation
  transitionAppear: Boolean,
  // whether to close popup when overlay is clicked
  closeOnClickOverlay: props.truthProp
};
const popupSharedPropKeys = Object.keys(
  popupSharedProps
);
exports.popupSharedPropKeys = popupSharedPropKeys;
exports.popupSharedProps = popupSharedProps;
