element-plus
Version:
A Component Library for Vue 3
1 lines • 916 B
Source Map (JSON)
{"version":3,"file":"bar.mjs","names":[],"sources":["../../../../../../packages/components/scrollbar/src/bar.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\n\nimport type { ExtractPublicPropTypes } from 'vue'\nimport type Bar from './bar.vue'\n\nexport interface BarProps {\n always?: boolean\n minSize: number\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `BarProps` instead.\n */\nexport const barProps = buildProps({\n always: {\n type: Boolean,\n default: true,\n },\n minSize: {\n type: Number,\n required: true,\n },\n} as const)\n\n/**\n * @deprecated Removed after 3.0.0, Use `BarProps` instead.\n */\nexport type BarPropsPublic = ExtractPublicPropTypes<typeof barProps>\n\nexport type BarInstance = InstanceType<typeof Bar> & unknown\n"],"mappings":";;;;;;AAaA,MAAa,WAAW,WAAW;CACjC,QAAQ;EACN,MAAM;EACN,SAAS;EACV;CACD,SAAS;EACP,MAAM;EACN,UAAU;EACX;CACF,CAAU"}