49 lines
938 B
JavaScript
49 lines
938 B
JavaScript
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
|
|
|
|
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"
|
|
];
|
|
const tourContentProps = buildProps({
|
|
placement: {
|
|
type: definePropType(String),
|
|
values: tourPlacements,
|
|
default: "bottom"
|
|
},
|
|
reference: {
|
|
type: definePropType(Object),
|
|
default: null
|
|
},
|
|
strategy: {
|
|
type: definePropType(String),
|
|
values: tourStrategies,
|
|
default: "absolute"
|
|
},
|
|
offset: {
|
|
type: Number,
|
|
default: 10
|
|
},
|
|
showArrow: Boolean,
|
|
zIndex: {
|
|
type: Number,
|
|
default: 2001
|
|
}
|
|
});
|
|
const tourContentEmits = {
|
|
close: () => true
|
|
};
|
|
|
|
export { tourContentEmits, tourContentProps, tourPlacements, tourStrategies };
|
|
//# sourceMappingURL=content.mjs.map
|