|
1 |
- {"version":3,"sources":["../../../src/components/VBtnToggle/VBtnToggle.ts"],"names":[],"mappings":";;;AACA,OAAO,oDAAP;AAEA;AACA,OAAO,WAAP,MAAwB,2BAAxB;AAEA;AACA,eAAe,YAAY,MAAZ,CAAmB;AAChC,UAAM,cAD0B;AAGhC,WAAO;AACL,qBAAa;AACX,kBAAM,MADK;AAEX,qBAAS;AAFE;AADR,KAHyB;AAUhC,cAAU;AACR,eADQ,qBACD;AACL,gCACK,YAAY,OAAZ,CAAoB,QAApB,CAA6B,OAA7B,CAAqC,IAArC,CAA0C,IAA1C,CADL;AAEE,gCAAgB,IAFlB;AAGE,4CAA4B,KAAK,aAAL,CAAmB,MAAnB,KAA8B,CAH5D;AAIE,0CAA0B,KAAK,aAAL,CAAmB,MAAnB,GAA4B;AAJxD;AAMD;AARO;AAVsB,CAAnB,CAAf","sourcesContent":["// Styles\nimport '../../stylus/components/_button-toggle.styl'\n\n// Mixins\nimport ButtonGroup from '../../mixins/button-group'\n\n/* @vue/component */\nexport default ButtonGroup.extend({\n name: 'v-btn-toggle',\n\n props: {\n activeClass: {\n type: String,\n default: 'v-btn--active'\n }\n },\n\n computed: {\n classes (): object {\n return {\n ...ButtonGroup.options.computed.classes.call(this),\n 'v-btn-toggle': true,\n 'v-btn-toggle--only-child': this.selectedItems.length === 1,\n 'v-btn-toggle--selected': this.selectedItems.length > 0\n }\n }\n }\n})\n"],"sourceRoot":""}
|