1 |
- {"version":3,"sources":["../../../src/components/VGrid/VContent.js"],"names":[],"mappings":";AACA,OAAO,8CAAP;AAEA;AACA,OAAO,WAAP,MAAwB,2BAAxB;AAEA;AACA,eAAe;AACb,UAAM,WADO;AAGb,YAAQ,CAAC,WAAD,CAHK;AAKb,WAAO;AACL,aAAK;AACH,kBAAM,MADH;AAEH,qBAAS;AAFN;AADA,KALM;AAYb,cAAU;AACR,cADQ,oBACF;AAAA,wCAGA,KAAK,QAAL,CAAc,WAHd;AAAA,gBAEF,GAFE,yBAEF,GAFE;AAAA,gBAEG,GAFH,yBAEG,GAFH;AAAA,gBAEQ,KAFR,yBAEQ,KAFR;AAAA,gBAEe,MAFf,yBAEe,MAFf;AAAA,gBAEuB,WAFvB,yBAEuB,WAFvB;AAAA,gBAEoC,MAFpC,yBAEoC,MAFpC;AAAA,gBAE4C,IAF5C,yBAE4C,IAF5C;;AAKJ,mBAAO;AACL,4BAAe,MAAM,GAArB,OADK;AAEL,8BAAiB,KAAjB,OAFK;AAGL,+BAAkB,SAAS,WAAT,GAAuB,MAAzC,OAHK;AAIL,6BAAgB,IAAhB;AAJK,aAAP;AAMD;AAZO,KAZG;AA2Bb,UA3Ba,kBA2BL,CA3BK,EA2BJ;AACP,YAAM,OAAO;AACX,yBAAa,WADF;AAEX,mBAAO,KAAK,MAFD;AAGX,iBAAK;AAHM,SAAb;AAMA,eAAO,EAAE,KAAK,GAAP,EAAY,IAAZ,EAAkB,CACvB,EACE,KADF,EAEE,EAAE,aAAa,iBAAf,EAFF,EAGE,KAAK,MAAL,CAAY,OAHd,CADuB,CAAlB,CAAP;AAOD;AAzCY,CAAf","sourcesContent":["// Styles\nimport '../../stylus/components/_content.styl'\n\n// Mixins\nimport SSRBootable from '../../mixins/ssr-bootable'\n\n/* @vue/component */\nexport default {\n name: 'v-content',\n\n mixins: [SSRBootable],\n\n props: {\n tag: {\n type: String,\n default: 'main'\n }\n },\n\n computed: {\n styles () {\n const {\n bar, top, right, footer, insetFooter, bottom, left\n } = this.$vuetify.application\n\n return {\n paddingTop: `${top + bar}px`,\n paddingRight: `${right}px`,\n paddingBottom: `${footer + insetFooter + bottom}px`,\n paddingLeft: `${left}px`\n }\n }\n },\n\n render (h) {\n const data = {\n staticClass: 'v-content',\n style: this.styles,\n ref: 'content'\n }\n\n return h(this.tag, data, [\n h(\n 'div',\n { staticClass: 'v-content__wrap' },\n this.$slots.default\n )\n ])\n }\n}\n"],"sourceRoot":""}
|