This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
keksAccountGUI/node_modulesOLD/vuetify/es5/components/VTimeline/VTimelineItem.js.map

1 line
5.3 KiB
Plaintext

{"version":3,"sources":["../../../src/components/VTimeline/VTimelineItem.ts"],"names":[],"mappings":";;;;;;;AACA;;AAKA;;AAGA;;AACA;;;;;;;;;;AAEA,IAAM,UAAU,GAAG,qBACjB,kBADiB,EAEjB;AACF;AAHmB,CAAnB;;eAYe,UAAU,CAAC,MAAX,GAA6B,MAA7B,CAAoC;AACjD,EAAA,IAAI,EAAE,iBAD2C;AAGjD,EAAA,MAAM,EAAE,CAAC,UAAD,CAHyC;AAKjD,EAAA,KAAK,EAAE;AACL,IAAA,KAAK,EAAE;AACL,MAAA,IAAI,EAAE,MADD;AAEL,MAAA,OAAO,EAAE;AAFJ,KADF;AAKL,IAAA,OAAO,EAAE,OALJ;AAML,IAAA,OAAO,EAAE,OANJ;AAOL,IAAA,IAAI,EAAE,MAPD;AAQL,IAAA,SAAS,EAAE,MARN;AASL,IAAA,KAAK,EAAE,OATF;AAUL,IAAA,IAAI,EAAE,OAVD;AAWL,IAAA,KAAK,EAAE,OAXF;AAYL,IAAA,KAAK,EAAE;AAZF,GAL0C;AAoBjD,EAAA,QAAQ,EAAE;AACR,IAAA,OADQ,qBACD;AACL,aAAO,CAAC,CAAC,KAAK,IAAP,IAAe,CAAC,CAAC,KAAK,MAAL,CAAY,IAApC;AACD;AAHO,GApBuC;AA0BjD,EAAA,OAAO,EAAE;AACP,IAAA,OADO,qBACA;AACL,aAAO,KAAK,cAAL,CAAoB,KAApB,EAA2B;AAChC,QAAA,WAAW,EAAE;AADmB,OAA3B,EAEJ,KAAK,MAAL,CAAY,OAFR,CAAP;AAGD,KALM;AAMP,IAAA,OANO,qBAMA;AACL,UAAI,KAAK,MAAL,CAAY,IAAhB,EAAsB;AACpB,eAAO,KAAK,MAAL,CAAY,IAAnB;AACD;;AAED,aAAO,KAAK,cAAL,CAAoB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AEf,KAAK,UAAL,EAFe,CAAjB;AAKA,QAAI,KAAK,MAAL,CAAY,QAAhB,EAA0B,QAAQ,CAAC,IAAT,CAAc,KAAK,WAAL,EAAd;AAE1B,WAAO,CAAC,CAAC,KAAD,EAAQ;AACd,MAAA,WAAW,EAAE,iBADC;AAEd,MAAA,KAAK;AACH,qCAA6B,KAAK,OAD/B;AAEH,mCAA2B,KAAK,QAAL,CAAc,OAAd,GAAwB,KAAK,KAA7B,GAAqC,KAAK,IAFlE;AAGH,kCAA0B,KAAK,QAAL,CAAc,OAAd,GAAwB,KAAK,IAA7B,GAAoC,KAAK;AAHhE,SAIA,KAAK,YAJL;AAFS,KAAR,EAQL,QARK,CAAR;AASD;AA/FgD,CAApC,C","sourcesContent":["// Types\nimport mixins, { ExtractVue } from '../../util/mixins'\nimport { VNode, VNodeData } from 'vue'\n\n// Components\nimport VTimeline from './VTimeline'\nimport VIcon from '../VIcon'\n\n// Mixins\nimport Themeable from '../../mixins/themeable'\nimport Colorable from '../../mixins/colorable'\n\nconst baseMixins = mixins(\n Colorable,\n Themeable\n/* @vue/component */\n)\n\ntype VTimelineInstance = InstanceType<typeof VTimeline>\n\ninterface options extends ExtractVue<typeof baseMixins> {\n timeline: VTimelineInstance\n}\n\nexport default baseMixins.extend<options>().extend({\n name: 'v-timeline-item',\n\n inject: ['timeline'],\n\n props: {\n color: {\n type: String,\n default: 'primary',\n },\n fillDot: Boolean,\n hideDot: Boolean,\n icon: String,\n iconColor: String,\n large: Boolean,\n left: Boolean,\n right: Boolean,\n small: Boolean,\n },\n\n computed: {\n hasIcon (): boolean {\n return !!this.icon || !!this.$slots.icon\n },\n },\n\n methods: {\n genBody () {\n return this.$createElement('div', {\n staticClass: 'v-timeline-item__body',\n }, this.$slots.default)\n },\n genIcon (): VNode | VNode[] {\n if (this.$slots.icon) {\n return this.$slots.icon\n }\n\n return this.$createElement(VIcon, {\n props: {\n color: this.iconColor,\n dark: !this.theme.isDark,\n small: this.small,\n },\n }, this.icon)\n },\n genInnerDot () {\n const data: VNodeData = this.setBackgroundColor(this.color)\n\n return this.$createElement('div', {\n staticClass: 'v-timeline-item__inner-dot',\n ...data,\n }, [this.hasIcon && this.genIcon()])\n },\n genDot () {\n return this.$createElement('div', {\n staticClass: 'v-timeline-item__dot',\n class: {\n 'v-timeline-item__dot--small': this.small,\n 'v-timeline-item__dot--large': this.large,\n },\n }, [this.genInnerDot()])\n },\n genDivider () {\n const children = []\n\n if (!this.hideDot) children.push(this.genDot())\n\n return this.$createElement('div', {\n staticClass: 'v-timeline-item__divider',\n }, children)\n },\n genOpposite () {\n return this.$createElement('div', {\n staticClass: 'v-timeline-item__opposite',\n }, this.$slots.opposite)\n },\n },\n\n render (h): VNode {\n const children = [\n this.genBody(),\n this.genDivider(),\n ]\n\n if (this.$slots.opposite) children.push(this.genOpposite())\n\n return h('div', {\n staticClass: 'v-timeline-item',\n class: {\n 'v-timeline-item--fill-dot': this.fillDot,\n 'v-timeline-item--before': this.timeline.reverse ? this.right : this.left,\n 'v-timeline-item--after': this.timeline.reverse ? this.left : this.right,\n ...this.themeClasses,\n },\n }, children)\n },\n})\n"],"sourceRoot":"","file":"VTimelineItem.js"}