1 line
No EOL
1.6 KiB
Text
1 line
No EOL
1.6 KiB
Text
{"version":3,"sources":["../../../src/components/VDivider/VDivider.ts"],"names":[],"mappings":";;;;;;;AACA;;AAMA;;;;;;;;;;eAEe,mBAAU,MAAV,CAAiB;AAC9B,EAAA,IAAI,EAAE,WADwB;AAG9B,EAAA,KAAK,EAAE;AACL,IAAA,KAAK,EAAE,OADF;AAEL,IAAA,QAAQ,EAAE;AAFL,GAHuB;AAQ9B,EAAA,MAR8B,kBAQtB,CARsB,EAQrB;AACP;AACA,QAAI,WAAJ;;AACA,QAAI,CAAC,KAAK,MAAL,CAAY,IAAb,IAAqB,KAAK,MAAL,CAAY,IAAZ,KAAqB,WAA9C,EAA2D;AACzD,MAAA,WAAW,GAAG,KAAK,QAAL,GAAgB,UAAhB,GAA6B,YAA3C;AACD;;AACD,WAAO,CAAC,CAAC,IAAD,EAAO;AACb,MAAA,KAAK;AACH,qBAAa,IADV;AAEH,4BAAoB,KAAK,KAFtB;AAGH,+BAAuB,KAAK;AAHzB,SAIA,KAAK,YAJL,CADQ;AAOb,MAAA,KAAK;AACH,QAAA,IAAI,EAAE,WADH;AAEH,4BAAoB;AAFjB,SAGA,KAAK,MAHL,CAPQ;AAYb,MAAA,EAAE,EAAE,KAAK;AAZI,KAAP,CAAR;AAcD;AA5B6B,CAAjB,C","sourcesContent":["// Styles\nimport './VDivider.sass'\n\n// Types\nimport { VNode } from 'vue'\n\n// Mixins\nimport Themeable from '../../mixins/themeable'\n\nexport default Themeable.extend({\n name: 'v-divider',\n\n props: {\n inset: Boolean,\n vertical: Boolean,\n },\n\n render (h): VNode {\n // WAI-ARIA attributes\n let orientation\n if (!this.$attrs.role || this.$attrs.role === 'separator') {\n orientation = this.vertical ? 'vertical' : 'horizontal'\n }\n return h('hr', {\n class: {\n 'v-divider': true,\n 'v-divider--inset': this.inset,\n 'v-divider--vertical': this.vertical,\n ...this.themeClasses,\n },\n attrs: {\n role: 'separator',\n 'aria-orientation': orientation,\n ...this.$attrs,\n },\n on: this.$listeners,\n })\n },\n})\n"],"sourceRoot":"","file":"VDivider.js"} |