{"version":3,"sources":["webpack:///../../../src/mixins/applicationable/index.ts","webpack:///../../../src/components/VFooter/VFooter.ts","webpack:///./src/components/layout/AppFooter.vue","webpack:///./src/components/layout/AppFooter.vue?2983"],"names":["applicationable","value","events","arguments","length","undefined","mixins","PositionableFactory","extend","name","props","app","Boolean","computed","applicationProperty","watch","x","prev","this","removeApplication","callUpdate","newVal","oldVal","$vuetify","application","unregister","_uid","activated","created","i","$watch","mounted","deactivated","destroyed","methods","register","updateApplication","force","VSheet","Applicationable","SSRBootable","height","default","type","Number","String","inset","padless","tag","classes","_objectSpread","options","call","absolute","fixed","computedBottom","isPositioned","bottom","computedLeft","left","computedRight","right","styles","parseInt","isNaN","convertToUnit","$el","clientHeight","render","h","data","setBackgroundColor","color","staticClass","class","style","getSlot","attrs","_vm","staticRenderFns","script","component"],"mappings":"kHAAA,8DAMc,SAAUA,EAAiBC,GAAwC,IAArBC,EAAAC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAmB,GAE7E,OAAOG,eAAOC,eAAoB,CAAC,WAAY,WAAWC,OAAO,CAC/DC,KAAM,kBAENC,MAAO,CACLC,IAAKC,SAGPC,SAAU,CACRC,oBAAmB,WACjB,OAAOb,IAIXc,MAAO,CAGLJ,IAAG,SAAEK,EAAYC,GACfA,EACIC,KAAKC,mBAAkB,GACvBD,KAAKE,cAEXN,oBAAmB,SAAEO,EAAQC,GAC3BJ,KAAKK,SAASC,YAAYC,WAAWP,KAAKQ,KAAMJ,KAIpDK,UAAS,WACPT,KAAKE,cAGPQ,QAAO,WACL,IAAK,IAAIC,EAAI,EAAGzB,EAASF,EAAOE,OAAQyB,EAAIzB,EAAQyB,IAClDX,KAAKY,OAAO5B,EAAO2B,GAAIX,KAAKE,YAE9BF,KAAKE,cAGPW,QAAO,WACLb,KAAKE,cAGPY,YAAW,WACTd,KAAKC,qBAGPc,UAAS,WACPf,KAAKC,qBAGPe,QAAS,CACPd,WAAU,WACHF,KAAKP,KAEVO,KA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a,QAAQtC,SAASiD,OAAOV,KAAKlC,OADlC,IAELuB,OAAQuB,MAAMvB,GAAUA,EAASwB,eAAcxB,GAC/CkB,KAAMM,eAAc/C,KAAKwC,cACzBG,MAAOI,eAAc/C,KAAK0C,eAC1BH,OAAQQ,eAAc/C,KAAKqC,oBAKjCrB,QAAS,CACPE,kBAAiB,WACf,IAAMK,EAASsB,SAAS7C,KAAKuB,QAE7B,OAAOuB,MAAMvB,GACTvB,KAAKgD,IAAMhD,KAAKgD,IAAIC,aAAe,EACnC1B,IAIR2B,OAAM,SAAEC,GACN,IAAMC,EAAOpD,KAAKqD,mBAAmBrD,KAAKsD,MAAO,CAC/CC,YAAa,WACbC,MAAOxD,KAAK+B,QACZ0B,MAAOzD,KAAK4C,SAGd,OAAOO,EAAEnD,KAAK8B,IAAKsB,EAAMM,eAAQ1D,UChH2C2D,EAAM,W,IAAC,OAAa,aAAC,OAAM,SAAU,CAAEJ,OAAiCI,OAAM,O,CAA6B,IAAW,CAAE,iCAAE,MAAK,CAASJ,MAAW,oBAAcI,SAAM,KAAY,WAAE,YAAY,aAACJ,OAAiCK,KAAO,OAEtTC,WAEJ,YAAiBA,oB,mKCHbC,EAAS,GAKTC,EAAY,eACdD,EACA,EACAD,GACA,EACA,KACA,KACA,MAIa,aAAAE,E","file":"js/chunk-033e89c0.f3f5b5c2.js","sourcesContent":["import { factory as PositionableFactory } from '../positionable'\nimport { TargetProp } from 'vuetify/types/services/application'\n\n// Util\nimport mixins from '../../util/mixins'\n\nexport default function applicationable (value: TargetProp, events: string[] = []) {\n /* @vue/component */\n return mixins(PositionableFactory(['absolute', 'fixed'])).extend({\n name: 'applicationable',\n\n props: {\n app: Boolean,\n },\n\n computed: {\n applicationProperty (): TargetProp {\n return value\n },\n },\n\n watch: {\n // If previous value was app\n // reset the provided prop\n app (x: boolean, prev: boolean) {\n prev\n ? this.removeApplication(true)\n : this.callUpdate()\n },\n applicationProperty (newVal, oldVal) {\n this.$vuetify.application.unregister(this._uid, oldVal)\n },\n },\n\n activated () {\n this.callUpdate()\n },\n\n created () {\n for (let i = 0, length = events.length; i < length; i++) {\n this.$watch(events[i], this.callUpdate)\n }\n this.callUpdate()\n },\n\n mounted () {\n this.callUpdate()\n },\n\n deactivated () {\n this.removeApplication()\n },\n\n destroyed () {\n this.removeApplication()\n },\n\n methods: {\n callUpdate () {\n if (!this.app) return\n\n this.$vuetify.application.register(\n this._uid,\n this.applicationProperty,\n this.updateApplication()\n )\n },\n removeApplication (force = false) {\n if (!force && !this.app) return\n\n this.$vuetify.application.unregister(\n this._uid,\n this.applicationProperty\n )\n },\n updateApplication: () => 0,\n },\n })\n}\n","// Styles\nimport './VFooter.sass'\n\n// Components\nimport VSheet from '../VSheet/VSheet'\n\n// Mixins\nimport Applicationable from '../../mixins/applicationable'\nimport SSRBootable from '../../mixins/ssr-bootable'\n\n// Utilities\nimport mixins from '../../util/mixins'\nimport { convertToUnit, getSlot } from '../../util/helpers'\n\n// Types\nimport { VNode } from 'vue/types/vnode'\n\n/* @vue/component */\nexport default mixins(\n VSheet,\n Applicationable('footer', [\n 'height',\n 'inset',\n ]),\n SSRBootable\n).extend({\n name: 'v-footer',\n\n props: {\n height: {\n default: 'auto',\n type: [Number, String],\n },\n inset: Boolean,\n padless: Boolean,\n tag: {\n type: String,\n default: 'footer',\n },\n },\n\n computed: {\n applicationProperty (): string {\n return this.inset ? 'insetFooter' : 'footer'\n },\n classes (): object {\n return {\n ...VSheet.options.computed.classes.call(this),\n 'v-footer--absolute': this.absolute,\n 'v-footer--fixed': !this.absolute && (this.app || this.fixed),\n 'v-footer--padless': this.padless,\n 'v-footer--inset': this.inset,\n }\n },\n computedBottom (): number | undefined {\n if (!this.isPositioned) return undefined\n\n return this.app\n ? this.$vuetify.application.bottom\n : 0\n },\n computedLeft (): number | undefined {\n if (!this.isPositioned) return undefined\n\n return this.app && this.inset\n ? this.$vuetify.application.left\n : 0\n },\n computedRight (): number | undefined {\n if (!this.isPositioned) return undefined\n\n return this.app && this.inset\n ? this.$vuetify.application.right\n : 0\n },\n isPositioned (): boolean {\n return Boolean(\n this.absolute ||\n this.fixed ||\n this.app\n )\n },\n styles (): object {\n const height = parseInt(this.height)\n\n return {\n ...VSheet.options.computed.styles.call(this),\n height: isNaN(height) ? height : convertToUnit(height),\n left: convertToUnit(this.computedLeft),\n right: convertToUnit(this.computedRight),\n bottom: convertToUnit(this.computedBottom),\n }\n },\n },\n\n methods: {\n updateApplication () {\n const height = parseInt(this.height)\n\n return isNaN(height)\n ? this.$el ? this.$el.clientHeight : 0\n : height\n },\n },\n\n render (h): VNode {\n const data = this.setBackgroundColor(this.color, {\n staticClass: 'v-footer',\n class: this.classes,\n style: this.styles,\n })\n\n return h(this.tag, data, getSlot(this))\n },\n})\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-card',{attrs:{\"height\":\"80\"}},[_c('v-footer',{staticClass:\"font-weight-medium\",attrs:{\"color\":\"primary lighten-5\",\"absolute\":\"\"}},[_c('v-col',{staticClass:\"text-right\",attrs:{\"cols\":\"12\"}},[_c('span',{staticClass:\"font-weight-thin\"},[_vm._v(\"\\n TODO: Put app folder here\"),_c('br'),_vm._v(\"\\n TODO: Put config or other info here\\n \")])])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./AppFooter.vue?vue&type=template&id=1497fd01\"\nvar script = {}\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}