完全跑通1.0版本
This commit is contained in:
72
frontend/node_modules/element-plus/lib/components/tour/src/content.js
generated
vendored
Normal file
72
frontend/node_modules/element-plus/lib/components/tour/src/content.js
generated
vendored
Normal file
@@ -0,0 +1,72 @@
|
||||
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
|
||||
Reference in New Issue
Block a user