UNPKG

material-components-vue

Version:
1 lines 3.7 kB
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var o in n)("object"==typeof exports?exports:t)[o]=n[o]}}(window,(function(){return n={},t.m=e={2:function(t,e,n){"use strict";var o={inheritAttrs:!1},r=["primary","secondary","background","surface","on-primary","on-secondary","on-surface","primary-bg","secondary-bg","text-primary-on-light","text-secondary-on-light","text-hint-on-light","text-disabled-on-light","text-icon-on-light","text-primary-on-dark","text-secondary-on-dark","text-hint-on-dark","text-disabled-on-dark","text-icon-on-dark"],i={props:{theming:{type:String,default:""}},mounted:function(){-1<r.indexOf(this.theming)&&this.$el.classList.add("mdc-theme--"+this.theming)}};n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return i}))},4:function(t,e,n){"use strict";function o(t,e,n,o,r,i,a,c){var s,d="function"==typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=n,d._compiled=!0),o&&(d.functional=!0),i&&(d._scopeId="data-v-"+i),a?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},d._ssrRegister=s):r&&(s=c?function(){r.call(this,this.$root.$options.shadowRoot)}:r),s)if(d.functional){d._injectStyles=s;var u=d.render;d.render=function(t,e){return s.call(e),u(t,e)}}else{var f=d.beforeCreate;d.beforeCreate=f?[].concat(f,s):[s]}return{exports:t,options:d}}n.d(e,"a",(function(){return o}))},49:function(t,e,n){},7:function(t,e,n){"use strict";function o(t){"undefined"!=typeof window&&window.Vue&&window.Vue.use(t)}n.d(e,"a",(function(){return o}))},84:function(t,e,n){"use strict";n.r(e);var o=n(2),r={mixins:[o.a,o.b],props:{topLeft:{type:Boolean,default:!1},topRight:{type:Boolean,default:!1},bottomRight:{type:Boolean,default:!1},bottomLeft:{type:Boolean,default:!1}}},i=n(4),a=Object(i.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"mdc-shape-container"},[t._t("default"),t._v(" "),t.topLeft?n("div",{staticClass:"mdc-shape-container__corner mdc-shape-container__corner--top-left"}):t._e(),t._v(" "),t.topRight?n("div",{staticClass:"mdc-shape-container__corner mdc-shape-container__corner--top-right"}):t._e(),t._v(" "),t.bottomRight?n("div",{staticClass:"mdc-shape-container__corner mdc-shape-container__corner--bottom-right"}):t._e(),t._v(" "),t.bottomLeft?n("div",{staticClass:"mdc-shape-container__corner mdc-shape-container__corner--bottom-left"}):t._e()],2)}),[],!1,null,null,null).exports,c=(n(49),n(7)),s={install:function(t){t.component("m-shape",a)}};e.default=s,Object(c.a)(s)}},t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:o})},t.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)t.d(o,r,function(t){return e[t]}.bind(null,r));return o},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},t.p="",t(t.s=84);function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var e,n}));