Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

rippleable.js.map 1.6KB

1
  1. {"version":3,"sources":["../../src/mixins/rippleable.ts"],"names":[],"mappings":";AACA,OAAO,MAAP,MAAmB,sBAAnB;AAEA;AACA,OAAO,GAAP,MAAsD,KAAtD;AAEA,eAAe,IAAI,MAAJ,CAAW;AACxB,UAAM,YADkB;AAGxB,gBAAY,EAAE,cAAF,EAHY;AAKxB,WAAO;AACL,gBAAQ;AACN,kBAAM,CAAC,OAAD,EAAU,MAAV,CADA;AAEN,qBAAS;AAFH;AADH,KALiB;AAYxB,aAAS;AACP,iBADO,uBACwB;AAAA,gBAApB,IAAoB,uEAAF,EAAE;;AAC7B,gBAAI,CAAC,KAAK,MAAV,EAAkB,OAAO,IAAP;AAElB,iBAAK,WAAL,GAAmB,qCAAnB;AAEA,iBAAK,UAAL,GAAkB,KAAK,UAAL,IAAmB,EAArC;AACA,iBAAK,UAAL,CAAgB,IAAhB,CAAqB;AACnB,sBAAM,QADa;AAEnB,uBAAO,EAAE,QAAQ,IAAV;AAFY,aAArB;AAIA,iBAAK,EAAL,GAAU,OAAO,MAAP,CAAc;AACtB,uBAAO,KAAK;AADU,aAAd,EAEP,KAAK,UAFE,CAAV;AAIA,mBAAO,KAAK,cAAL,CAAoB,KAApB,EAA2B,IAA3B,CAAP;AACD,SAhBM;AAiBP,gBAjBO,sBAiBC,CAAM;AAjBP;AAZe,CAAX,CAAf","sourcesContent":["// Directives\nimport Ripple from '../directives/ripple'\n\n// Types\nimport Vue, { VNode, VNodeData, VNodeDirective } from 'vue'\n\nexport default Vue.extend({\n name: 'rippleable',\n\n directives: { Ripple },\n\n props: {\n ripple: {\n type: [Boolean, Object],\n default: true\n }\n },\n\n methods: {\n genRipple (data: VNodeData = {}): VNode | null {\n if (!this.ripple) return null\n\n data.staticClass = 'v-input--selection-controls__ripple'\n\n data.directives = data.directives || []\n data.directives.push({\n name: 'ripple',\n value: { center: true }\n } as VNodeDirective)\n data.on = Object.assign({\n click: this.onChange\n }, this.$listeners)\n\n return this.$createElement('div', data)\n },\n onChange () {}\n }\n})\n"],"sourceRoot":""}