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/mixins/activatable/index.js.map

1 line
6.3 KiB
Text
Raw Normal View History

2019-08-11 18:48:02 +00:00
{"version":3,"sources":["../../../src/mixins/activatable/index.ts"],"names":[],"mappings":";;;;;;;AACA;;AACA;;AAGA;;AACA;;AACA;;;;;;AAMA,IAAM,UAAU,GAAG,qBACjB,kBADiB,EAEjB,mBAFiB,CAAnB;AAKA;;eACe,UAAU,CAAC,MAAX,CAAkB;AAC/B,EAAA,IAAI,EAAE,aADyB;AAG/B,EAAA,KAAK,EAAE;AACL,IAAA,SAAS,EAAE;AACT,MAAA,OAAO,EAAE,IADA;AAET,MAAA,SAAS,EAAE,mBAAC,GAAD,EAAyB;AAClC,eAAO,CAAC,QAAD,EAAW,QAAX,EAAqB,QAArB,SAAqC,GAArC,EAAP;AACD;AAJQ,KADN;AAOL,IAAA,QAAQ,EAAE,OAPL;AAQL,IAAA,iBAAiB,EAAE,OARd;AASL,IAAA,WAAW,EAAE;AATR,GAHwB;AAe/B,EAAA,IAAI,EAAE;AAAA,WAAO;AACX,MAAA,gBAAgB,EAAE,IADP;AAEX,MAAA,aAAa,EAAE;AAFJ,KAAP;AAAA,GAfyB;AAoB/B,EAAA,KAAK,EAAE;AACL,IAAA,SADK,uBACI;AACP,WAAK,gBAAL,GAAwB,IAAxB;AACA,WAAK,YAAL;AACD;AAJI,GApBwB;AA2B/B,EAAA,OA3B+B,qBA2BxB;AACL,QAAM,QAAQ,GAAG,0BAAY,IAAZ,EAAkB,WAAlB,EAA+B,IAA/B,CAAjB;;AAEA,QAAI,QAAQ,IAAI,CAAC,QAAD,EAAW,QAAX,EAAqB,QAArB,CAA8B,QAA9B,CAAhB,EAAyD;AACvD,sIAA8G,IAA9G;AACD;AACF,GAjC8B;AAmC/B,EAAA,OAAO,EAAE;AACP,IAAA,aADO,2BACM;AACX,UAAM,IAAI,GAAG,IAAb;AACA,aAAO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OATD,MASO;AACL,QAAA,SAAS,CAAC,KAAV,GAAkB,UAAC,CAAD,EAAkB;AAClC,cAAM,SAAS,GAAG,KAAI,CAAC,YAAL,CAAkB,CAAlB,CAAlB;;AAEA,cAAI,SAAJ,EAAe,SAAS,CAAC,KAAV;AAEf,UAAA,KAAI,CAAC,QAAL,GAAgB,CAAC,KAAI,CAAC,QAAtB;AACD,SAND;AAOD;;AAED,aAAO,SAAP;AACD,KAzDM;AA0DP,IAAA,YA1DO,wBA0DO,CA1DP,EA0DgB;AACrB;AACA,UAAI,KAAK,gBAAT,EAA2B,OAAO,KAAK,gBAAZ;AAE3B,UAAI,SAAS,GAAG,IAAhB;;AAEA,UAAI,KAAK,SAAT,EAAoB;AAClB,YAAM,MAAM,GAAG,KAAK,iBAAL,GAAyB,KAAK,GAA9B,GAAoC,QAAnD;AAEA,QAAA,SAAS,GAAG,OAAO,KAAK,SAAZ,KAA0B,QAA1B,GACR,MAAM,CAAC,aAAP,CAAqB,KAAK,SAA1B,CADQ,GAER,KAAK,SAFT;AAGD,OAND,MAMO,IAAI,CAAJ,EAAO;AACZ,QAAA,SAAS,GAAG,CAAC,CAAC,aAAF,IAAmB,CAAC,CAAC,MAAjC;AACD,OAFM,MAEA,IAAI,KAAK,aAAL,CAAmB,MAAvB,EAA+B;AACpC,QAAA,SAAS,GAAG,KAAK,aAAL,CAAmB,CAAnB,EAAsB,GAAlC;AACD;;AAED,WAAK,gBAAL,GAAwB,SAAxB;AAEA,aAAO,KAAK,gBAAZ;AACD;AA/EM;AAnCsB,CAAlB,C","sourcesContent":["// Mixins\nimport Delayable from '../delayable'\nimport Toggleable from '../toggleable'\n\n// Utilities\nimport mixins from '../../util/mixins'\nimport { getSlot, getSlotType } from '../../util/helpers'\nimport { consoleError } from '../../util/console'\n\n// Types\nimport { PropValidator } from 'vue/types/options'\nimport { VNode } from 'vue'\n\nconst baseMixins = mixins(\n Delayable,\n Toggleable\n)\n\n/* @vue/component */\nexport default baseMixins.extend({\n name: 'activatable',\n\n props: {\n activator: {\n default: null,\n validator: (val: string | object) => {\n return ['string', 'object'].includes(typeof val)\n },\n } as PropValidator<string | HTMLElement>,\n disabled: Boolean,\n internalActivator: Boolean,\n openOnHover: Boolean,\n },\n\n data: () => ({\n activatorElement: null as null | HTMLElement,\n activatorNode: [] as VNode[],\n }),\n\n watch: {\n activator () {\n this.activatorElement = null\n this.getActivator()\n },\n },\n\n mounted () {\n const slotType = getSlotType(this, 'activator', true)\n\n if (slotType && ['v-slot', 'normal'].includes(slotType)) {\n consoleError(`The activator slot must be bound, try '<templat