2 lines
57 KiB
JavaScript
2 lines
57 KiB
JavaScript
|
/*! Wiki.js - wiki.js.org - Licensed under AGPL */
|
|||
|
(this.webpackJsonp=this.webpackJsonp||[]).push([["theme0"],{"./client/themes/default/components/nav-footer.vue":function(e,t,s){"use strict";s.r(t);var i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("v-footer",{staticClass:"justify-center",attrs:{color:e.bgColor,inset:""}},[s("div",{staticClass:"caption grey--text",class:e.$vuetify.theme.dark?"text--lighten-1":"text--darken-1"},[e.footerOverride?[s("span",{domProps:{innerHTML:e._s(e.footerOverrideRender+" | ")}})]:e.company&&e.company.length>0&&""!==e.contentLicense?["alr"===e.contentLicense?s("span",[e._v(e._s(e.$t("common:footer.copyright",{company:e.company,year:e.currentYear,interpolation:{escapeValue:!1}}))+" | ")]):s("span",[e._v(e._s(e.$t("common:footer.license",{company:e.company,license:e.$t("common:license."+e.contentLicense),interpolation:{escapeValue:!1}}))+" | ")])]:e._e(),s("span",[e._v(e._s(e.$t("common:footer.poweredBy"))+" "),s("a",{ref:"nofollow",attrs:{href:"https://wiki.js.org"}},[e._v("Wiki.js")])])],2)])};i._withStripped=!0;var o=s("./node_modules/vuex-pathify/dist/vuex-pathify.js"),n=s("./node_modules/markdown-it/index.js");const a=new(s.n(n).a)({html:!1,breaks:!1,linkify:!0});var l={props:{color:{type:String,default:"grey lighten-3"},darkColor:{type:String,default:"grey darken-3"}},data:()=>({currentYear:(new Date).getFullYear()}),computed:{company:Object(o.get)("site/company"),contentLicense:Object(o.get)("site/contentLicense"),footerOverride:Object(o.get)("site/footerOverride"),footerOverrideRender(){return this.footerOverride?a.renderInline(this.footerOverride):""},bgColor(){return this.$vuetify.theme.dark?this.darkColor:this.color}}},r=(s("./client/themes/default/components/nav-footer.vue?vue&type=style&index=0&lang=scss&"),s("./node_modules/vue-loader/lib/runtime/componentNormalizer.js")),d=s("./node_modules/vuetify-loader/lib/runtime/installComponents.js"),c=s.n(d),u=(s("./node_modules/vuetify/src/components/VFooter/VFooter.sass"),s("./node_modules/vuetify/lib/components/VSheet/VSheet.js")),m=s("./node_modules/vuetify/lib/mixins/applicationable/index.js"),p=s("./node_modules/vuetify/lib/mixins/ssr-bootable/index.js"),v=s("./node_modules/vuetify/lib/util/mixins.js"),h=s("./node_modules/vuetify/lib/util/helpers.js"),f=Object(v.a)(u.a,Object(m.a)("footer",["height","inset"]),p.a).extend({name:"v-footer",props:{height:{default:"auto",type:[Number,String]},inset:Boolean,padless:Boolean,tag:{type:String,default:"footer"}},computed:{applicationProperty(){return this.inset?"insetFooter":"footer"},classes(){return{...u.a.options.computed.classes.call(this),"v-footer--absolute":this.absolute,"v-footer--fixed":!this.absolute&&(this.app||this.fixed),"v-footer--padless":this.padless,"v-footer--inset":this.inset}},computedBottom(){if(this.isPositioned)return this.app?this.$vuetify.application.bottom:0},computedLeft(){if(this.isPositioned)return this.app&&this.inset?this.$vuetify.application.left:0},computedRight(){if(this.isPositioned)return this.app&&this.inset?this.$vuetify.application.right:0},isPositioned(){return Boolean(this.absolute||this.fixed||this.app)},styles(){const e=parseInt(this.height);return{...u.a.options.computed.styles.call(this),height:isNaN(e)?e:Object(h.h)(e),left:Object(h.h)(this.computedLeft),right:Object(h.h)(this.computedRight),bottom:Object(h.h)(this.computedBottom)}}},methods:{updateApplication(){const e=parseInt(this.height);return isNaN(e)?this.$el?this.$el.clientHeight:0:e}},render(e){const t=this.setBackgroundColor(this.color,{staticClass:"v-footer",class:this.classes,style:this.styles});return e(this.tag,t,this.$slots.default)}}),g=Object(r.a)(l,i,[],!1,null,null,null);c()(g,{VFooter:f}),g.options.__file="client/themes/default/components/nav-footer.vue";t.default=g.exports},"./client/themes/default/components/nav-footer.vue?vue&type=style&index=0&lang=scss&":function(e,t,s){"use strict";s("./node_modules/cache-loader/dist/cjs.js?!./node_modules/style-loader/dist/cjs.js!./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/load
|