content2.mjs 939 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
  2. const tourStrategies = ["absolute", "fixed"];
  3. const tourPlacements = [
  4. "top-start",
  5. "top-end",
  6. "top",
  7. "bottom-start",
  8. "bottom-end",
  9. "bottom",
  10. "left-start",
  11. "left-end",
  12. "left",
  13. "right-start",
  14. "right-end",
  15. "right"
  16. ];
  17. const tourContentProps = buildProps({
  18. placement: {
  19. type: definePropType(String),
  20. values: tourPlacements,
  21. default: "bottom"
  22. },
  23. reference: {
  24. type: definePropType(Object),
  25. default: null
  26. },
  27. strategy: {
  28. type: definePropType(String),
  29. values: tourStrategies,
  30. default: "absolute"
  31. },
  32. offset: {
  33. type: Number,
  34. default: 10
  35. },
  36. showArrow: Boolean,
  37. zIndex: {
  38. type: Number,
  39. default: 2001
  40. }
  41. });
  42. const tourContentEmits = {
  43. close: () => true
  44. };
  45. export { tourContentEmits, tourContentProps, tourPlacements, tourStrategies };
  46. //# sourceMappingURL=content2.mjs.map