{"version":3,"file":"divider.mjs","names":[],"sources":["../../../../../../packages/components/divider/src/divider.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\n\nimport type { ExtractPublicPropTypes } from 'vue'\nimport type Divider from './divider.vue'\n\nexport type BorderStyle = CSSStyleDeclaration['borderStyle']\n\nexport interface DividerProps {\n  /**\n   * @description Set divider's direction\n   */\n  direction?: 'horizontal' | 'vertical'\n  /**\n   * @description Set the style of divider\n   */\n  contentPosition?: 'left' | 'center' | 'right'\n  /**\n   * @description the position of the customized content on the divider line\n   */\n  borderStyle?: BorderStyle\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `DividerProps` instead.\n */\nexport const dividerProps = buildProps({\n  /**\n   * @description Set divider's direction\n   */\n  direction: {\n    type: String,\n    values: ['horizontal', 'vertical'],\n    default: 'horizontal',\n  },\n  /**\n   * @description Set the style of divider\n   */\n  contentPosition: {\n    type: String,\n    values: ['left', 'center', 'right'],\n    default: 'center',\n  },\n  /**\n   * @description the position of the customized content on the divider line\n   */\n  borderStyle: {\n    type: definePropType<BorderStyle>(String),\n    default: 'solid',\n  },\n} as const)\n\n/**\n * @deprecated Removed after 3.0.0, Use `DividerProps` instead.\n */\nexport type DividerPropsPublic = ExtractPublicPropTypes<typeof dividerProps>\n\nexport type DividerInstance = InstanceType<typeof Divider> & unknown\n"],"mappings":";;;;;;AAyBA,MAAa,eAAe,WAAW;CAIrC,WAAW;EACT,MAAM;EACN,QAAQ,CAAC,cAAc,WAAW;EAClC,SAAS;EACV;CAID,iBAAiB;EACf,MAAM;EACN,QAAQ;GAAC;GAAQ;GAAU;GAAQ;EACnC,SAAS;EACV;CAID,aAAa;EACX,MAAM,eAA4B,OAAO;EACzC,SAAS;EACV;CACF,CAAU"}