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/VSnackbar/VSnackbar.js.map

1 line
4.1 KiB
Text
Raw Permalink Normal View History

2019-08-11 18:48:02 +00:00
{"version":3,"sources":["../../../src/components/VSnackbar/VSnackbar.ts"],"names":[],"mappings":";;;;;;;AACA;;AAGA;;AACA;;AACA;;AAGA;;AAEA;;;;AAXA;AAGA;AAKA;eAKe,qBACb,kBADa,EAEb,mBAFa,EAGb,2BAAoB,CAAC,UAAD,EAAa,KAAb,EAAoB,QAApB,EAA8B,MAA9B,EAAsC,OAAtC,CAApB;AACF;AAJe,EAKb,MALa,CAKN;AACP,EAAA,IAAI,EAAE,YADC;AAGP,EAAA,KAAK,EAAE;AACL,IAAA,SAAS,EAAE,OADN;AAEL;AACA,IAAA,OAAO,EAAE;AACP,MAAA,IAAI,EAAE,MADC;AAEP,MAAA,OAAO,EAAE;AAFF,KAHJ;AAOL,IAAA,QAAQ,EAAE;AAPL,GAHA;AAaP,EAAA,IAAI,EAAE;AAAA,WAAO;AACX,MAAA,aAAa,EAAE,CAAC;AADL,KAAP;AAAA,GAbC;AAiBP,EAAA,QAAQ,EAAE;AACR,IAAA,OADQ,qBACD;AACL,aAAO;AACL,2BAAmB,KAAK,QADnB;AAEL,6BAAqB,KAAK,QAFrB;AAGL,2BAAmB,KAAK,MAAL,IAAe,CAAC,KAAK,GAHnC;AAIL,yBAAiB,KAAK,IAJjB;AAKL,+BAAuB,KAAK,SAAL,IAAkB,CAAC,KAAK,QAL1C;AAML,0BAAkB,KAAK,KANlB;AAOL,wBAAgB,KAAK,GAPhB;AAQL,6BAAqB,KAAK;AARrB,OAAP;AAUD;AAZO,GAjBH;AAgCP,EAAA,KAAK,EAAE;AACL,IAAA,QADK,sBACG;AACN,WAAK,UAAL;AACD;AAHI,GAhCA;AAsCP,EAAA,OAtCO,qBAsCA;AACL,QAAI,KAAK,MAAL,CAAY,cAAZ,CAA2B,aAA3B,CAAJ,EAA+C;AAC7C,4BAAQ,aAAR,EAAuB,IAAvB;AACD;AACF,GA1CM;AA4CP,EAAA,OA5CO,qBA4CA;AACL,SAAK,UAAL;AACD,GA9CM;AAgDP,EAAA,OAAO,EAAE;AACP,IAAA,UADO,wBACG;AAAA;;AACR,MAAA,MAAM,CAAC,YAAP,CAAoB,KAAK,aAAzB;;AAEA,UAAI,KAAK,QAAL,IAAiB,KAAK,OAA1B,EAAmC;AACjC,aAAK,aAAL,GAAqB,MAAM,CAAC,UAAP,CAAkB,YAAK;AAC1C,UAAA,KAAI,CAAC,QAAL,GAAgB,KAAhB;AACD,SAFoB,EAElB,KAAK,OAFa,CAArB;AAGD;AACF;AATM,GAhDF;AA4DP,EAAA,MA5DO,kBA4DC,CA5DD,EA4DE;AACP,WAAO,CAAC,CAAC,YAAD,EAAe;AACrB,MAAA,KAAK,EAAE;AAAE,QAAA,IAAI,EAAE;AAAR;AADc,KAAf,EAEL,CACD,KAAK,QAAL,IAAiB,CAAC,CAAC,KAAD,EAAQ;AACxB,MAAA,WAAW,EAAE,SADW;AAExB,MAAA,KAAK,EAAE,KAAK,OAFY;AAGxB,MAAA,EAAE,EAAE,KAAK;AAHe,KAAR,EAIf,CACD,CAAC,CAAC,KAAD,EAAQ,KAAK,kBAAL,CAAwB,KAAK,KAA7B,EAAoC;AAC3C,MAAA,WAAW,EAAE;AAD8B,KAApC,CAAR,EAEG,CACF,CAAC,CAAC,KAAD,EAAQ;AACP,MAAA,WAAW,EAAE;AADN,KAAR,EAEE,KAAK,MAAL,CAAY,OAFd,CADC,CAFH,CADA,CAJe,CADjB,CAFK,CAAR;AAiBD;AA9EM,CALM,C","sourcesContent":["// Styles\nimport './VSnackbar.sass'\n\n// Mixins\nimport Colorable from '../../mixins/colorable'\nimport Toggleable from '../../mixins/toggleable'\nimport { factory as PositionableFactory } from '../../mixins/positionable'\n\n// Types\nimport mixins from '../../util/mixins'\nimport { VNode } from 'vue'\nimport { removed } from '../../util/console'\n\nexport default mixins(\n Colorable,\n Toggleable,\n PositionableFactory(['absolute', 'top', 'bottom', 'left', 'right'])\n/* @vue/component */\n).extend({\n name: 'v-snackbar',\n\n props: {\n multiLine: Boolean,\n // TODO: change this to closeDelay to match other API in delayable.js\n timeout: {\n type: Number,\n default: 6000,\n },\n vertical: Boolean,\n },\n\n data: () => ({\n activeTimeout: -1,\n }),\n\n computed: {\n classes (): object {\n return {\n 'v-snack--active': this.isActive,\n 'v-snack--absolute': this.absolute,\n 'v-snack--bottom': this.bottom || !this.top,\n 'v-snack--left': this.left,\n 'v-snack--multi-line': this.multiLine && !this.vertical,\n 'v-snack--right': this.right,\n 'v-snack--top': this.top,\n 'v-snack--vertical': this.vertical,\n }\n },\n },\n\n watch: {\n isActive () {\n this.setTimeout()\n },\n },\n\n created () {\n if (this.$attrs.hasOwnProperty('auto-height')) {\n removed('auto-height', this)\n }\n },\n\n mounted () {\n this.setTimeout()\n },\n\n methods: {\n setTimeout () {\n window.clearTimeout(this.activeTimeout)\n\n if (this.isActive && this.timeout) {\n this.activeTimeout = window.setTimeout(() => {\n this.isActive = false\n }, this.timeout)\n }\n },\n },\n\n render (h): VNode {\n return h('transition', {\n attrs: { name: 'v-snack-transition' },\n }, [\n this.isActive && h('div', {\n staticClass: 'v-snack',\n class: this.classes,\n on: this.$listeners,\n }, [\n h('div', this.setBackgroundColor(this.color, {\n staticClass: 'v-snack__wrapper',\n }), [\n h('div', {\n staticClass: 'v-snack__content',\n }, this.$slots.defaul