ideaz-element
Version:
<p align="center"> <a href="" target="_blank" rel="noopener noreferrer"> <img src="./docs/public/logo.svg" alt="Ideaz Element" width="180" style="width: 180px;" /> </a> </p>
1 lines • 1.61 kB
Source Map (JSON)
{"version":3,"file":"props.cjs","sources":["../../../../../packages/element/select/src/props.ts"],"sourcesContent":["import type { ExtractPropTypes, VNode } from 'vue'\nimport type { Alias, OptionsItem } from '../../types'\n\nexport interface SelectOptionsItem extends OptionsItem {\n options?: OptionsItem[]\n render?: string | (({ option }: { option: SelectOptionsItem }) => VNode)\n}\n\nexport const selectProps = {\n value: {\n type: [String, Number, Array, Boolean],\n default: '',\n required: false,\n },\n modelValue: {\n type: [String, Number, Array, Boolean],\n default: '',\n required: false,\n },\n options: {\n type: Array as PropType<SelectOptionsItem[]>,\n default: () => [],\n },\n alias: {\n type: Object as PropType<Alias>,\n },\n prefix: {\n type: [String, Function],\n },\n empty: {\n type: [String, Function],\n },\n all: {\n type: Boolean,\n },\n multiple: {\n type: Boolean,\n },\n}\n\nexport const SELECT_SLOTS = ['prefix', 'empty', 'header', 'footer', 'tag', 'loading', 'label']\n\nexport type SelectProps = ExtractPropTypes<typeof selectProps>\n"],"names":["selectProps","SELECT_SLOTS"],"mappings":"gFAQO,MAAAA,EAAA,CAAoB,MAAA,CAClB,KAAA,CAAA,OAAA,OAAA,MAAA,OAAA,EACgC,QAAA,GAC5B,SAAA,EACC,EACZ,WAAA,CACY,KAAA,CAAA,OAAA,OAAA,MAAA,OAAA,EAC2B,QAAA,GAC5B,SAAA,EACC,EACZ,QAAA,CACS,KAAA,MACD,QAAA,IAAA,CAAA,CACU,EAClB,MAAA,CACO,KAAA,MACC,EACR,OAAA,CACQ,KAAA,CAAA,OAAA,QAAA,CACiB,EACzB,MAAA,CACO,KAAA,CAAA,OAAA,QAAA,CACkB,EACzB,IAAA,CACK,KAAA,OACG,EACR,SAAA,CACU,KAAA,OACF,CAEV,EAEaC,EAAA,CAAA,SAAA,QAAA,SAAA,SAAA,MAAA,UAAA,OAAA"}