import type { App } from 'vue' ; import type { ArcoOptions } from '../_utils/types' ; import { setGlobalConfig , getComponentPrefix } from '../_utils/global-config' ; import _Steps from './steps' ; import _StepsStep from './step.vue' ; const Steps = Object . assign ( _Steps , { Step : _StepsStep , install : ( app , options ? ) => { setGlobalConfig ( app , options ) ; const componentPrefix = getComponentPrefix ( options ) ; app . component ( componentPrefix + _Steps . name , _Steps ) ; app . component ( componentPrefix + _StepsStep . name , _StepsStep ) ; } } ) ; export type StepsInstance = InstanceType < typeof _Steps > ; export type StepsStepInstance = InstanceType < typeof _StepsStep > ; export { _StepsStep as Step } ; export default Steps ;