content.mjs 973 B

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