Files
prop-data-guard/frontend/node_modules/element-plus/es/components/roving-focus-group/src/roving-focus-group.mjs
T
2026-04-22 17:07:33 +08:00

28 lines
1.0 KiB
JavaScript

import { buildProps, definePropType } from "../../../utils/vue/props/runtime.mjs";
import { createCollectionWithScope } from "../../collection/src/collection.mjs";
//#region ../../packages/components/roving-focus-group/src/roving-focus-group.ts
const rovingFocusGroupProps = buildProps({
style: { type: definePropType([
String,
Array,
Object
]) },
currentTabId: { type: definePropType(String) },
defaultCurrentTabId: String,
loop: Boolean,
dir: {
type: String,
values: ["ltr", "rtl"],
default: "ltr"
},
orientation: { type: definePropType(String) },
onBlur: Function,
onFocus: Function,
onMousedown: Function
});
const { ElCollection, ElCollectionItem, COLLECTION_INJECTION_KEY, COLLECTION_ITEM_INJECTION_KEY } = createCollectionWithScope("RovingFocusGroup");
//#endregion
export { ElCollection, ElCollectionItem, COLLECTION_INJECTION_KEY as ROVING_FOCUS_COLLECTION_INJECTION_KEY, COLLECTION_ITEM_INJECTION_KEY as ROVING_FOCUS_ITEM_COLLECTION_INJECTION_KEY, rovingFocusGroupProps };
//# sourceMappingURL=roving-focus-group.mjs.map