common.mjs 1.1 KB

12345678910111213141516171819202122232425262728
  1. import { buildProps } from '../../../utils/vue/props/runtime.mjs';
  2. const tooltipV2CommonProps = buildProps({
  3. nowrap: Boolean
  4. });
  5. var TooltipV2Sides = /* @__PURE__ */ ((TooltipV2Sides2) => {
  6. TooltipV2Sides2["top"] = "top";
  7. TooltipV2Sides2["bottom"] = "bottom";
  8. TooltipV2Sides2["left"] = "left";
  9. TooltipV2Sides2["right"] = "right";
  10. return TooltipV2Sides2;
  11. })(TooltipV2Sides || {});
  12. const tooltipV2Sides = Object.values(TooltipV2Sides);
  13. const tooltipV2OppositeSide = {
  14. ["top" /* top */]: "bottom" /* bottom */,
  15. ["bottom" /* bottom */]: "top" /* top */,
  16. ["left" /* left */]: "right" /* right */,
  17. ["right" /* right */]: "left" /* left */
  18. };
  19. const tooltipV2ArrowBorders = {
  20. ["top" /* top */]: ["left" /* left */, "top" /* top */],
  21. ["bottom" /* bottom */]: ["bottom" /* bottom */, "right" /* right */],
  22. ["left" /* left */]: ["bottom" /* bottom */, "left" /* left */],
  23. ["right" /* right */]: ["top" /* top */, "right" /* right */]
  24. };
  25. export { TooltipV2Sides, tooltipV2ArrowBorders, tooltipV2CommonProps, tooltipV2OppositeSide, tooltipV2Sides };
  26. //# sourceMappingURL=common.mjs.map