UNPKG

element-plus

Version:

A Component Library for Vue 3

72 lines (71 loc) 1.57 kB
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); const require_runtime = require("../../../utils/vue/props/runtime.js"); //#region ../../packages/components/tour/src/content.ts const tourStrategies = ["absolute", "fixed"]; const tourPlacements = [ "top-start", "top-end", "top", "bottom-start", "bottom-end", "bottom", "left-start", "left-end", "left", "right-start", "right-end", "right" ]; /** * @deprecated Removed after 3.0.0, Use `TourContentProps` instead. */ const tourContentProps = require_runtime.buildProps({ /** * @description position of the guide card relative to the target element */ placement: { type: require_runtime.definePropType(String), values: tourPlacements, default: "bottom" }, /** * @description the reference dom */ reference: { type: require_runtime.definePropType(Object), default: null }, /** * @description position strategy of the content */ strategy: { type: require_runtime.definePropType(String), values: tourStrategies, default: "absolute" }, /** * @description offset of the arrow */ offset: { type: Number, default: 10 }, /** * @description whether to show the arrow */ showArrow: Boolean, /** * @description content's zIndex */ zIndex: { type: Number, default: 2001 } }); const tourContentEmits = { close: () => true }; //#endregion exports.tourContentEmits = tourContentEmits; exports.tourContentProps = tourContentProps; exports.tourPlacements = tourPlacements; exports.tourStrategies = tourStrategies; //# sourceMappingURL=content.js.map