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.
31 lines
616 B
31 lines
616 B
|
2 years ago
|
import '../../../utils/index.mjs';
|
||
|
|
import { buildProps } from '../../../utils/vue/props/runtime.mjs';
|
||
|
|
|
||
|
|
const effects = ["light", "dark"];
|
||
|
|
const triggers = ["click", "contextmenu", "hover", "focus"];
|
||
|
|
const Effect = {
|
||
|
|
LIGHT: "light",
|
||
|
|
DARK: "dark"
|
||
|
|
};
|
||
|
|
const roleTypes = [
|
||
|
|
"dialog",
|
||
|
|
"grid",
|
||
|
|
"group",
|
||
|
|
"listbox",
|
||
|
|
"menu",
|
||
|
|
"navigation",
|
||
|
|
"tooltip",
|
||
|
|
"tree"
|
||
|
|
];
|
||
|
|
const popperProps = buildProps({
|
||
|
|
role: {
|
||
|
|
type: String,
|
||
|
|
values: roleTypes,
|
||
|
|
default: "tooltip"
|
||
|
|
}
|
||
|
|
});
|
||
|
|
const usePopperProps = popperProps;
|
||
|
|
|
||
|
|
export { Effect, popperProps, roleTypes, usePopperProps };
|
||
|
|
//# sourceMappingURL=popper.mjs.map
|