{"version":3,"file":"inline-stepper.mjs","sources":["../../../../../../packages/components/inline-stepper/src/inline-stepper.ts"],"sourcesContent":["import { buildProps, definePropType } from '@ll-plus/utils'\r\n\r\nimport type { ExtractPropTypes } from 'vue'\r\nimport type InlineStepper from './inline-stepper.vue'\r\n\r\ninterface InlineStepperItem {\r\n  title?: string\r\n  key?: any\r\n  tip?: string\r\n  [key: string]: any\r\n}\r\n\r\n// 定义组件props\r\nexport const inlineStepperProps = buildProps({\r\n  current: {\r\n    type: Number,\r\n    default: 0,\r\n  },\r\n  items: {\r\n    type: definePropType<InlineStepperItem[]>(Array),\r\n    default: () => [],\r\n  },\r\n  mode: {\r\n    type: String,\r\n    values: ['flow-wizard', 'progress-log'],\r\n    default: 'flow-wizard',\r\n  },\r\n} as const)\r\n\r\n// props\r\nexport type InlineStepperProps = ExtractPropTypes<typeof inlineStepperProps>\r\n\r\n// instance\r\nexport type InlineStepperInstance = InstanceType<typeof InlineStepper>\r\n"],"names":[],"mappings":";;;;AAaO,MAAM,qBAAqB,UAAA,CAAW;AAAA,EAC3C,OAAA,EAAS;AAAA,IACP,IAAA,EAAM,MAAA;AAAA,IACN,OAAA,EAAS;AAAA,GACX;AAAA,EACA,KAAA,EAAO;AAAA,IACL,IAAA,EAAM,eAAoC,KAAK,CAAA;AAAA,IAC/C,OAAA,EAAS,MAAM;AAAC,GAClB;AAAA,EACA,IAAA,EAAM;AAAA,IACJ,IAAA,EAAM,MAAA;AAAA,IACN,MAAA,EAAQ,CAAC,aAAA,EAAe,cAAc,CAAA;AAAA,IACtC,OAAA,EAAS;AAAA;AAEb,CAAU;;;;"}