mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-04-10 09:51:08 +00:00
1 line
No EOL
4.8 KiB
JavaScript
1 line
No EOL
4.8 KiB
JavaScript
!function(t,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports.VueMaterial=o():t.VueMaterial=o()}(this,function(){return function(t){function o(m){if(e[m])return e[m].exports;var d=e[m]={exports:{},id:m,loaded:!1};return t[m].call(d.exports,d,d.exports,o),d.loaded=!0,d.exports}var e={};return o.m=t,o.c=e,o.p="/",o(0)}({0:function(t,o,e){t.exports=e(3)},3:function(t,o,e){"use strict";function m(t){return t&&t.__esModule?t:{"default":t}}function d(t){t.component("md-bottom-bar",t.extend(a["default"])),t.component("md-bottom-bar-item",t.extend(n["default"])),t.material.styles.push(s["default"])}Object.defineProperty(o,"__esModule",{value:!0}),o["default"]=d;var r=e(86),a=m(r),i=e(87),n=m(i),c=e(69),s=m(c)},25:function(t,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o["default"]={props:{mdShift:Boolean},computed:{classes:function(){return this.mdShift?"md-shift":"md-fixed"}}}},26:function(t,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o["default"]={props:{mdIcon:String,mdActive:Boolean},data:function(){return{active:!1}},computed:{classes:function(){return{"md-active":this.active}}},watch:{mdActive:function(t){this.setActive(t)}},methods:{setActive:function(t){this.$parent.$children.forEach(function(t){t.active=!1}),this.active=!!t,this.$emit("click")}},mounted:function(){if(!this.$parent.$el.classList.contains("md-bottom-bar"))throw this.$destroy(),new Error("You should wrap the md-bottom-bar-item in a md-bottom-bar");this.mdActive&&(this.active=!0)}}},62:function(t,o){},69:function(t,o){t.exports=".THEME_NAME .md-bottom-bar.md-fixed,.THEME_NAME.md-bottom-bar.md-fixed{background-color:BACKGROUND-COLOR}.THEME_NAME .md-bottom-bar.md-fixed .md-bottom-bar-item,.THEME_NAME.md-bottom-bar.md-fixed .md-bottom-bar-item{color:BACKGROUND-CONTRAST-0.54}.THEME_NAME .md-bottom-bar.md-fixed .md-bottom-bar-item.md-active,.THEME_NAME.md-bottom-bar.md-fixed .md-bottom-bar-item.md-active{color:PRIMARY-COLOR}.THEME_NAME .md-bottom-bar.md-shift,.THEME_NAME.md-bottom-bar.md-shift{background-color:PRIMARY-COLOR;color:PRIMARY-CONTRAST}.THEME_NAME .md-bottom-bar.md-shift .md-bottom-bar-item,.THEME_NAME.md-bottom-bar.md-shift .md-bottom-bar-item{color:PRIMARY-CONTRAST-0.54}.THEME_NAME .md-bottom-bar.md-shift .md-bottom-bar-item.md-active,.THEME_NAME.md-bottom-bar.md-shift .md-bottom-bar-item.md-active{color:PRIMARY-CONTRAST}.THEME_NAME .md-bottom-bar.md-shift.md-accent,.THEME_NAME.md-bottom-bar.md-shift.md-accent{background-color:ACCENT-COLOR}.THEME_NAME .md-bottom-bar.md-shift.md-accent .md-bottom-bar-item,.THEME_NAME.md-bottom-bar.md-shift.md-accent .md-bottom-bar-item{color:ACCENT-CONTRAST-0.54}.THEME_NAME .md-bottom-bar.md-shift.md-accent .md-bottom-bar-item.md-active,.THEME_NAME.md-bottom-bar.md-shift.md-accent .md-bottom-bar-item.md-active{color:ACCENT-CONTRAST}.THEME_NAME .md-bottom-bar.md-shift.md-warn,.THEME_NAME.md-bottom-bar.md-shift.md-warn{background-color:WARN-COLOR}.THEME_NAME .md-bottom-bar.md-shift.md-warn .md-bottom-bar-item,.THEME_NAME.md-bottom-bar.md-shift.md-warn .md-bottom-bar-item{color:WARN-CONTRAST-0.54}.THEME_NAME .md-bottom-bar.md-shift.md-warn .md-bottom-bar-item.md-active,.THEME_NAME.md-bottom-bar.md-shift.md-warn .md-bottom-bar-item.md-active{color:WARN-CONTRAST}.THEME_NAME .md-bottom-bar.md-shift.md-transparent,.THEME_NAME.md-bottom-bar.md-shift.md-transparent{background-color:transparent}.THEME_NAME .md-bottom-bar.md-shift.md-transparent .md-bottom-bar-item,.THEME_NAME.md-bottom-bar.md-shift.md-transparent .md-bottom-bar-item{color:BACKGROUND-CONTRAST-0.54}.THEME_NAME .md-bottom-bar.md-shift.md-transparent .md-bottom-bar-item.md-active,.THEME_NAME.md-bottom-bar.md-shift.md-transparent .md-bottom-bar-item.md-active{color:BACKGROUND-CONTRAST}\n"},86:function(t,o,e){var m,d;e(62),m=e(25);var r=e(127);d=m=m||{},"object"!=typeof m["default"]&&"function"!=typeof m["default"]||(d=m=m["default"]),"function"==typeof d&&(d=d.options),d.render=r.render,d.staticRenderFns=r.staticRenderFns,t.exports=m},87:function(t,o,e){var m,d;m=e(26);var r=e(129);d=m=m||{},"object"!=typeof m["default"]&&"function"!=typeof m["default"]||(d=m=m["default"]),"function"==typeof d&&(d=d.options),d.render=r.render,d.staticRenderFns=r.staticRenderFns,t.exports=m},127:function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"md-bottom-bar","class":classes},[_t("default")])},staticRenderFns:[]}},129:function(module,exports){module.exports={render:function(){with(this)return _h("button",{directives:[{name:"md-ink-ripple",rawName:"v-md-ink-ripple"}],staticClass:"md-bottom-bar-item","class":classes,attrs:{type:"button"},on:{click:setActive}},[_h("md-icon",[_s(mdIcon)])," ",_h("span",{staticClass:"md-text"},[_t("default")])])},staticRenderFns:[]}}})}); |