You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.1 KiB
59 lines
1.1 KiB
'use strict';
|
|
|
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
|
require('../../../utils/index.js');
|
|
var runtime = require('../../../utils/vue/props/runtime.js');
|
|
|
|
const tooltipV2Strategies = ["absolute", "fixed"];
|
|
const tooltipV2Placements = [
|
|
"top-start",
|
|
"top-end",
|
|
"top",
|
|
"bottom-start",
|
|
"bottom-end",
|
|
"bottom",
|
|
"left-start",
|
|
"left-end",
|
|
"left",
|
|
"right-start",
|
|
"right-end",
|
|
"right"
|
|
];
|
|
const tooltipV2ContentProps = runtime.buildProps({
|
|
ariaLabel: String,
|
|
arrowPadding: {
|
|
type: runtime.definePropType(Number),
|
|
default: 5
|
|
},
|
|
effect: {
|
|
type: String,
|
|
default: ""
|
|
},
|
|
contentClass: String,
|
|
placement: {
|
|
type: runtime.definePropType(String),
|
|
values: tooltipV2Placements,
|
|
default: "bottom"
|
|
},
|
|
reference: {
|
|
type: runtime.definePropType(Object),
|
|
default: null
|
|
},
|
|
offset: {
|
|
type: Number,
|
|
default: 8
|
|
},
|
|
strategy: {
|
|
type: runtime.definePropType(String),
|
|
values: tooltipV2Strategies,
|
|
default: "absolute"
|
|
},
|
|
showArrow: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
});
|
|
|
|
exports.tooltipV2ContentProps = tooltipV2ContentProps;
|
|
//# sourceMappingURL=content.js.map
|
|
|