{"version":3,"file":"steps2.mjs","sources":["../../../../../../packages/components/steps/src/steps.ts"],"sourcesContent":["import { buildProps, definePropType } from \"@xplus/utils/props\";\nimport type { StepItem } from \"./step\";\nimport type { ExtractPropTypes } from \"vue\";\nexport const stepsProps = buildProps({\n  // modelValue: {\n  //   type: [Number, String]\n  // },\n  active: {\n    type: Number,\n    default: 0,\n  },\n  /** 方向 默认水平 */\n  direction: {\n    type: String,\n    default: \"horizontal\",\n    values: [\"horizontal\", \"vertical\"],\n  },\n  space: {\n    type: [Number, String],\n  },\n  /** 步骤条数据\n   * 一般有id,title步骤名称 slot插槽 desc 简单的描述\n   */\n  list: {\n    type: definePropType<StepItem[]>(Array),\n    default: () => [],\n  },\n} as const);\n\nexport type StepsProps = ExtractPropTypes<typeof stepsProps>;\n"],"names":[],"mappings":";;AACY,MAAC,UAAU,GAAG,UAAU,CAAC;AACrC,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,YAAY;AACzB,IAAI,MAAM,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC;AACtC,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,cAAc,CAAC,KAAK,CAAC;AAC/B,IAAI,OAAO,EAAE,MAAM,EAAE;AACrB,GAAG;AACH,CAAC;;;;"}