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

1 line
3 KiB
Text
Raw Permalink Normal View History

2019-08-11 18:48:02 +00:00
{"version":3,"sources":["../src/install.ts"],"names":[],"mappings":"AAAA,OAAO,MAAP,MAAuC,KAAvC;AAEA,SAAS,YAAT,QAA6B,gBAA7B;AAEA,OAAM,SAAU,OAAV,CAAmB,GAAnB,EAAwC,IAAA,GAA0B,EAAlE,EAAoE;AACxE,MAAK,OAAe,CAAC,SAArB,EAAgC;AAC/B,EAAA,OAAe,CAAC,SAAhB,GAA4B,IAA5B;;AAED,MAAI,MAAM,KAAK,GAAf,EAAoB;AAClB,IAAA,YAAY,CAAC,0JAAD,CAAZ;AACD;;AAED,QAAM,UAAU,GAAG,IAAI,CAAC,UAAL,IAAmB,EAAtC;AACA,QAAM,UAAU,GAAG,IAAI,CAAC,UAAL,IAAmB,EAAtC;;AAEA,OAAK,MAAM,IAAX,IAAmB,UAAnB,EAA+B;AAC7B,UAAM,SAAS,GAAG,UAAU,CAAC,IAAD,CAA5B;AAEA,IAAA,GAAG,CAAC,SAAJ,CAAc,IAAd,EAAoB,SAApB;AACD;;AAED,GAAC,SAAS,kBAAT,CAA6B,UAA7B,EAA4C;AAC3C,QAAI,UAAJ,EAAgB;AACd,WAAK,MAAM,GAAX,IAAkB,UAAlB,EAA8B;AAC5B,cAAM,SAAS,GAAG,UAAU,CAAC,GAAD,CAA5B;;AACA,YAAI,SAAS,IAAI,CAAC,kBAAkB,CAAC,SAAS,CAAC,uBAAX,CAApC,EAAyE;AACvE,UAAA,GAAG,CAAC,SAAJ,CAAc,GAAd,EAAmB,SAAnB;AACD;AACF;;AACD,aAAO,IAAP;AACD;;AACD,WAAO,KAAP;AACD,GAXD,EAWG,UAXH,EAjBwE,CA8BxE;AACA;AACA;;;AACA,MAAI,GAAG,CAAC,mBAAR,EAA6B;AAC7B,EAAA,GAAG,CAAC,mBAAJ,GAA0B,IAA1B;AAEA,EAAA,GAAG,CAAC,KAAJ,CAAU;AACR,IAAA,YAAY,GAAA;AACV,YAAM,OAAO,GAAG,KAAK,QAArB;;AAEA,UAAI,OAAO,CAAC,OAAZ,EAAqB;AACnB,QAAA,OAAO,CAAC,OAAR,CAAgB,IAAhB,CAAqB,IAArB,EAA2B,OAAO,CAAC,UAAnC;AACA,aAAK,QAAL,GAAgB,GAAG,CAAC,UAAJ,CAAe,OAAO,CAAC,OAAR,CAAgB,SAA/B,CAAhB;AACD,OAHD,MAGO;AACL,aAAK,QAAL,GAAiB,OAAO,CAAC,MAAR,IAAkB,OAAO,CAAC,MAAR,CAAe,QAAlC,IAA+C,IAA/D;AACD;AACF;;AAVO,GAAV;AAYD","sourcesContent":["import OurVue, { VueConstructor } from 'vue'\nimport { VuetifyUseOptions } from 'types'\nimport { consoleError } from './util/console'\n\nexport function install (Vue: VueConstructor, args: VuetifyUseOptions = {}) {\n if ((install as any).installed) return\n (install as any).installed = true\n\n if (OurVue !== Vue) {\n consoleError('Multiple instances of Vue detected\\nSee https://github.com/vuetifyjs/vuetify/issues/4068\\n\\nIf you\\'re seeing \"$attrs is readonly\", it\\'s caused by this')\n }\n\n const components = args.components || {}\n const directives = args.directives || {}\n\n for (const name in directives) {\n const directive = directives[name]\n\n Vue.directive(name, directive)\n }\n\n (function registerComponents (components: any) {\n if (components) {\n for (const key in components) {\n const component = components[key]\n if (component && !registerComponents(component.$_vuetify_subcomponents)) {\n Vue.component(key, component as typeof Vue)\n }\n }\n return true\n }\n return false\n })(components)\n\n // Used to avoid multiple mixins being setup\n // when in dev mode and hot module reload\n // https://github.com/vuejs/vue/issues/5089#issuecomment-284260111\n if (Vue.$_vuetify_installed) return\n Vue.$_vuetify_installed = true\n\n Vue.mixin({\n beforeCreate () {\n const options = this.$options as any\n\n if (options.vuetify) {\n options.vuetify.init(this, options.ssrContext)\n this.$vuetify = Vue.observable(options.vuetify.framework)\n } else {\n this.$vuetify = (options.parent && options.parent.$vuetify) || this\n }\n },\n })\n}\n"],"sourceRoot":"","file":"install.js"}