New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mcwv/chips

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mcwv/chips - npm Package Compare versions

Comparing version 0.1.0 to 0.1.2

12

dist/mcwv.chips.min.js

@@ -1,2 +0,2 @@

!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.chips=e():(t.wcmv=t.wcmv||{},t.wcmv.chips=e())}(window,function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=37)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,a,o,s){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),o?(c=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(o)},u._ssrRegister=c):r&&(c=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(u.functional){u._injectStyles=c;var d=u.render;u.render=function(t,e){return c.call(e),d(t,e)}}else{var l=u.beforeCreate;u.beforeCreate=l?[].concat(l,c):[c]}return{exports:t,options:u}}n.d(e,"a",function(){return i})},1:function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"a",function(){return a}),n.d(e,"d",function(){return o}),n.d(e,"c",function(){return s});
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.chips=e():(t.wcmv=t.wcmv||{},t.wcmv.chips=e())}(window,function(){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var a=e[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,i),a.l=!0,a.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)i.d(n,a,function(e){return t[e]}.bind(null,a));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=37)}({0:function(t,e,i){"use strict";function n(t,e,i,n,a,r,s,o){var c,d="function"==typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=i,d._compiled=!0),n&&(d.functional=!0),r&&(d._scopeId="data-v-"+r),s?(c=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__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},d._ssrRegister=c):a&&(c=o?function(){a.call(this,this.$root.$options.shadowRoot)}:a),c)if(d.functional){d._injectStyles=c;var l=d.render;d.render=function(t,e){return c.call(e),l(t,e)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:d}}i.d(e,"a",function(){return n})},1:function(t,e,i){"use strict";i.d(e,"b",function(){return a}),i.d(e,"a",function(){return r}),i.d(e,"d",function(){return s}),i.d(e,"c",function(){return o});
/*! *****************************************************************************

@@ -16,3 +16,3 @@ Copyright (c) Microsoft Corporation. All rights reserved.

***************************************************************************** */
var i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function r(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var a=function(){return(a=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function o(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function s(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,a=n.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(i=a.next()).done;)o.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o}},12:function(t,e,n){"use strict";function i(t,e,n){var i,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];"function"==typeof CustomEvent?i=new CustomEvent(e,{detail:n,bubbles:r}):(i=document.createEvent("CustomEvent")).initCustomEvent(e,r,!1,n),t.dispatchEvent(i)}n.d(e,"a",function(){return i})},18:function(t,e,n){"use strict";function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}n.d(e,"a",function(){return r}),n.d(e,"b",function(){return a});var r={name:"custom-link",functional:!0,props:{tag:{type:String,default:"a"},link:Object},render:function(t,e){var n,r=i({},e.data);return e.props.link&&e.parent.$router?(n=e.parent.$root.$options.components.RouterLink,r.props=i({tag:e.props.tag},e.props.link),r.on.click&&(r.nativeOn={click:r.on.click})):n=e.props.tag,t(n,r,e.children)}},a={props:{to:[String,Object],exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String},computed:{link:function(){return this.to&&{to:this.to,exact:this.exact,append:this.append,replace:this.replace,activeClass:this.activeClass,exactActiveClass:this.exactActiveClass}}},components:{CustomLink:r}}},2:function(t,e,n){"use strict";n.d(e,"a",function(){return i});
var n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)};function a(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}var r=function(){return(r=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var a in e=arguments[i])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t}).apply(this,arguments)};function s(t){var e="function"==typeof Symbol&&t[Symbol.iterator],i=0;return e?e.call(t):{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}}}function o(t,e){var i="function"==typeof Symbol&&t[Symbol.iterator];if(!i)return t;var n,a,r=i.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=r.next()).done;)s.push(n.value)}catch(t){a={error:t}}finally{try{n&&!n.done&&(i=r.return)&&i.call(r)}finally{if(a)throw a.error}}return s}},12:function(t,e,i){"use strict";function n(t,e,i,n=!1){let a;"function"==typeof CustomEvent?a=new CustomEvent(e,{detail:i,bubbles:n}):(a=document.createEvent("CustomEvent")).initCustomEvent(e,n,!1,i),t.dispatchEvent(a)}i.d(e,"a",function(){return n})},18:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return a});const n={name:"custom-link",functional:!0,props:{tag:{type:String,default:"a"},link:Object},render(t,e){let i,n=Object.assign({},e.data);return e.props.link&&e.parent.$router?(i=e.parent.$root.$options.components.RouterLink,n.props=Object.assign({tag:e.props.tag},e.props.link),n.on.click&&(n.nativeOn={click:n.on.click})):i=e.props.tag,t(i,n,e.children)}},a={props:{to:[String,Object],exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String},computed:{link(){return this.to&&{to:this.to,exact:this.exact,append:this.append,replace:this.replace,activeClass:this.activeClass,exactActiveClass:this.exactActiveClass}}},components:{CustomLink:n}}},2:function(t,e,i){"use strict";i.d(e,"a",function(){return n});
/**

@@ -40,3 +40,3 @@ * @license

*/
var i=function(){function t(t){void 0===t&&(t={}),this.adapter_=t}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}()},37:function(t,e,n){"use strict";n.r(e);var i=n(6),r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.classes,style:t.styles,attrs:{id:t.id,tabindex:"0"},on:{click:t.handleInteraction,keydown:t.handleInteraction,transitionend:t.handleTransitionEnd}},[t.haveleadingIcon?n("i",{ref:"leadingIcon",staticClass:"mdc-chip__icon mdc-chip__icon--leading",class:t.leadingClasses},[t._v(t._s(t.leadingIcon))]):t._e(),t._v(" "),t.isFilter?n("div",{ref:"checkmarkEl",staticClass:"mdc-chip__checkmark"},[n("svg",{staticClass:"mdc-chip__checkmark-svg",attrs:{viewBox:"-2 -3 30 30"}},[n("path",{staticClass:"mdc-chip__checkmark-path",attrs:{fill:"none",stroke:"black",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}})])]):t._e(),t._v(" "),n("div",{staticClass:"mdc-chip__text"},[t._t("default")],2),t._v(" "),t.havetrailingIcon?n("i",{ref:"trailingIcon",staticClass:"mdc-chip__icon mdc-chip__icon--trailing",class:t.trailingClasses,attrs:{tabindex:"0",role:"button"},on:{click:t.handleTrailingIconInteraction,keydown:t.handleTrailingIconInteraction}},[t._v(t._s(t.trailingIcon))]):t._e()])};r._withStripped=!0;var a=n(1),o=n(2),s={CHECKMARK_SELECTOR:".mdc-chip__checkmark",ENTRY_ANIMATION_NAME:"mdc-chip-entry",INTERACTION_EVENT:"MDCChip:interaction",LEADING_ICON_SELECTOR:".mdc-chip__icon--leading",REMOVAL_EVENT:"MDCChip:removal",SELECTION_EVENT:"MDCChip:selection",TRAILING_ICON_INTERACTION_EVENT:"MDCChip:trailingIconInteraction",TRAILING_ICON_SELECTOR:".mdc-chip__icon--trailing"},c={CHECKMARK:"mdc-chip__checkmark",CHIP_EXIT:"mdc-chip--exit",HIDDEN_LEADING_ICON:"mdc-chip__icon--leading-hidden",LEADING_ICON:"mdc-chip__icon--leading",SELECTED:"mdc-chip--selected",TRAILING_ICON:"mdc-chip__icon--trailing"},u={bottom:0,height:0,left:0,right:0,top:0,width:0},d=function(t){function e(n){var i=t.call(this,a.a({},e.defaultAdapter,n))||this;return i.shouldRemoveOnTrailingIconClick_=!0,i}return a.b(e,t),Object.defineProperty(e,"strings",{get:function(){return s},enumerable:!0,configurable:!0}),Object.defineProperty(e,"cssClasses",{get:function(){return c},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},addClassToLeadingIcon:function(){},eventTargetHasClass:function(){return!1},getCheckmarkBoundingClientRect:function(){return u},getComputedStyleValue:function(){return""},getRootBoundingClientRect:function(){return u},hasClass:function(){return!1},hasLeadingIcon:function(){return!1},notifyInteraction:function(){},notifyRemoval:function(){},notifySelection:function(){},notifyTrailingIconInteraction:function(){},removeClass:function(){},removeClassFromLeadingIcon:function(){},setStyleProperty:function(){}}},enumerable:!0,configurable:!0}),e.prototype.isSelected=function(){return this.adapter_.hasClass(c.SELECTED)},e.prototype.setSelected=function(t){t?this.adapter_.addClass(c.SELECTED):this.adapter_.removeClass(c.SELECTED),this.adapter_.notifySelection(t)},e.prototype.getShouldRemoveOnTrailingIconClick=function(){return this.shouldRemoveOnTrailingIconClick_},e.prototype.setShouldRemoveOnTrailingIconClick=function(t){this.shouldRemoveOnTrailingIconClick_=t},e.prototype.getDimensions=function(){var t=this,e=function(){return t.adapter_.getRootBoundingClientRect()};if(!this.adapter_.hasLeadingIcon()){var n=t.adapter_.getCheckmarkBoundingClientRect();if(n){var i=e(),r=i.height,o=n.height,s=i.width+o;return a.a({},i,{width:s,height:r})}}return e()},e.prototype.beginExit=function(){this.adapter_.addClass(c.CHIP_EXIT)},e.prototype.handleInteraction=function(t){var e="Enter"===t.key||13===t.keyCode;("click"===t.type||e)&&this.adapter_.notifyInteraction()},e.prototype.handleTransitionEnd=function(t){var e=this;if(this.adapter_.eventTargetHasClass(t.target,c.CHIP_EXIT)){if("width"===t.propertyName)this.adapter_.notifyRemoval();else if("opacity"===t.propertyName){var n=this.adapter_.getComputedStyleValue("width");requestAnimationFrame(function(){e.adapter_.setStyleProperty("width",n),e.adapter_.setStyleProperty("padding","0"),e.adapter_.setStyleProperty("margin","0"),requestAnimationFrame(function(){e.adapter_.setStyleProperty("width","0")})})}}else"opacity"===t.propertyName&&(this.adapter_.eventTargetHasClass(t.target,c.LEADING_ICON)&&this.adapter_.hasClass(c.SELECTED)?this.adapter_.addClassToLeadingIcon(c.HIDDEN_LEADING_ICON):this.adapter_.eventTargetHasClass(t.target,c.CHECKMARK)&&!this.adapter_.hasClass(c.SELECTED)&&this.adapter_.removeClassFromLeadingIcon(c.HIDDEN_LEADING_ICON))},e.prototype.handleTrailingIconInteraction=function(t){var e="Enter"===t.key||13===t.keyCode;t.stopPropagation(),("click"===t.type||e)&&(this.adapter_.notifyTrailingIconInteraction(),this.shouldRemoveOnTrailingIconClick_&&this.beginExit())},e}(o.a),l=n(18),p=n(12),f=n(5);function h(){return(h=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}var _={name:"mdc-chip",mixins:[l.b],props:{leadingIcon:[String],trailingIcon:[String],leadingIconClasses:[Object],trailingIconClasses:[Object]},inject:["mdcChipSet"],data:function(){return{classes:{"mdc-chip":!0},styles:{},id:""}},computed:{selected:{get:function(){return this.foundation.isSelected()},set:function(t){this.foundation.setSelected(t)}},isFilter:function(){return this.mdcChipSet&&this.mdcChipSet.filter},haveleadingIcon:function(){return!!this.leadingIcon||this.leadingIconClasses},havetrailingIcon:function(){return!!this.trailingIcon||this.trailingIconClasses},leadingClasses:function(){return h({},{"material-icons":!!this.leadingIcon},this.leadingIconClasses)},trailingClasses:function(){return h({},{"material-icons":!!this.trailingIcon},this.trailingIconClasses)}},created:function(){this.id=this.mdcChipSet.nextId()},mounted:function(){var t=this;this.foundation=new d({addClass:function(e){return t.$set(t.classes,e,!0)},removeClass:function(e){return t.$delete(t.classes,e)},hasClass:function(e){return t.$el.classList.contains(e)},addClassToLeadingIcon:function(e){t.haveleadingIcon&&t.$refs.leadingIcon.classList.add(e)},removeClassFromLeadingIcon:function(e){t.haveleadingIcon&&t.$refs.leadingIcon.classList.remove(e)},eventTargetHasClass:function(t,e){return t.classList.contains(e)},notifyInteraction:function(){Object(p.a)(t.$el,d.strings.INTERACTION_EVENT,{chipId:t.id},!0),t.mdcChipSet&&t.mdcChipSet.handleInteraction},notifySelection:function(e){return Object(p.a)(t.$el,d.strings.SELECTION_EVENT,{chipId:t.id,selected:e},!0)},notifyTrailingIconInteraction:function(){Object(p.a)(t.$el,d.strings.TRAILING_ICON_INTERACTION_EVENT,{chipId:t.id},!0)},notifyRemoval:function(){Object(p.a)(t.$el,d.strings.REMOVAL_EVENT,{chipId:t.id,root:t.$el},!0)},getComputedStyleValue:function(e){return window.getComputedStyle(t.$el).getPropertyValue(e)},setStyleProperty:function(e,n){return t.$set(t.styles,e,n)},hasLeadingIcon:function(){return!!t.haveleadingIcon},getRootBoundingClientRect:function(){return t.$el.getBoundingClientRect()},getCheckmarkBoundingClientRect:function(){return t.$refs.checkmarkEl?t.$refs.checkmarkEl.getBoundingClientRect():null}}),this.foundation.init(),this.mdcChipSet.chips.push(this),this.ripple=new f.RippleBase(this,{computeBoundingRect:function(){return t.foundation.getDimensions()}}),this.ripple.init()},beforeDestroy:function(){this.ripple.destroy(),this.foundation.destroy()},methods:{handleInteraction:function(t){this.foundation.handleInteraction(t)},handleTransitionEnd:function(t){this.foundation.handleTransitionEnd(t)},handleTrailingIconInteraction:function(t){this.foundation.handleTrailingIconInteraction(t)},toggleSelected:function(){this.foundation.toggleSelected()},isSelected:function(){return this.foundation.isSelected()}}},v=n(0),m=Object(v.a)(_,r,[],!1,null,null,null);m.options.__file="packages/mcwv-chips/mdc-chip.vue";var g=m.exports,C={CHIP_SELECTOR:".mdc-chip"},y={CHOICE:"mdc-chip-set--choice",FILTER:"mdc-chip-set--filter"},I=function(t){function e(n){var i=t.call(this,a.a({},e.defaultAdapter,n))||this;return i.selectedChipIds_=[],i}return a.b(e,t),Object.defineProperty(e,"strings",{get:function(){return C},enumerable:!0,configurable:!0}),Object.defineProperty(e,"cssClasses",{get:function(){return y},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{hasClass:function(){return!1},removeChip:function(){},setSelected:function(){}}},enumerable:!0,configurable:!0}),e.prototype.getSelectedChipIds=function(){return this.selectedChipIds_.slice()},e.prototype.select=function(t){if(!(this.selectedChipIds_.indexOf(t)>=0)){if(this.adapter_.hasClass(y.CHOICE)&&this.selectedChipIds_.length>0){var e=this.selectedChipIds_[0];this.selectedChipIds_.length=0,this.adapter_.setSelected(e,!1)}this.selectedChipIds_.push(t),this.adapter_.setSelected(t,!0)}},e.prototype.handleChipInteraction=function(t){(this.adapter_.hasClass(y.CHOICE)||this.adapter_.hasClass(y.FILTER))&&this.toggleSelect_(t)},e.prototype.handleChipSelection=function(t,e){var n=this.selectedChipIds_.indexOf(t)>=0;e&&!n?this.select(t):!e&&n&&this.deselect_(t)},e.prototype.handleChipRemoval=function(t){this.deselect_(t),this.adapter_.removeChip(t)},e.prototype.deselect_=function(t){var e=this.selectedChipIds_.indexOf(t);e>=0&&(this.selectedChipIds_.splice(e,1),this.adapter_.setSelected(t,!1))},e.prototype.toggleSelect_=function(t){this.selectedChipIds_.indexOf(t)>=0?this.deselect_(t):this.select(t)},e}(o.a);
var n=function(){function t(t){void 0===t&&(t={}),this.adapter_=t}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}()},37:function(t,e,i){"use strict";i.r(e);var n=i(6),a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:t.classes,style:t.styles,attrs:{id:t.id,tabindex:"0"},on:{click:t.handleInteraction,keydown:t.handleInteraction,transitionend:t.handleTransitionEnd}},[t.haveleadingIcon?i("i",{ref:"leadingIcon",staticClass:"mdc-chip__icon mdc-chip__icon--leading",class:t.leadingClasses},[t._v(t._s(t.leadingIcon))]):t._e(),t._v(" "),t.isFilter?i("div",{ref:"checkmarkEl",staticClass:"mdc-chip__checkmark"},[i("svg",{staticClass:"mdc-chip__checkmark-svg",attrs:{viewBox:"-2 -3 30 30"}},[i("path",{staticClass:"mdc-chip__checkmark-path",attrs:{fill:"none",stroke:"black",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}})])]):t._e(),t._v(" "),i("div",{staticClass:"mdc-chip__text"},[t._t("default")],2),t._v(" "),t.havetrailingIcon?i("i",{ref:"trailingIcon",staticClass:"mdc-chip__icon mdc-chip__icon--trailing",class:t.trailingClasses,attrs:{tabindex:"0",role:"button"},on:{click:t.handleTrailingIconInteraction,keydown:t.handleTrailingIconInteraction}},[t._v(t._s(t.trailingIcon))]):t._e()])};a._withStripped=!0;var r=i(1),s=i(2),o={CHECKMARK_SELECTOR:".mdc-chip__checkmark",ENTRY_ANIMATION_NAME:"mdc-chip-entry",INTERACTION_EVENT:"MDCChip:interaction",LEADING_ICON_SELECTOR:".mdc-chip__icon--leading",REMOVAL_EVENT:"MDCChip:removal",SELECTION_EVENT:"MDCChip:selection",TRAILING_ICON_INTERACTION_EVENT:"MDCChip:trailingIconInteraction",TRAILING_ICON_SELECTOR:".mdc-chip__icon--trailing"},c={CHECKMARK:"mdc-chip__checkmark",CHIP_EXIT:"mdc-chip--exit",HIDDEN_LEADING_ICON:"mdc-chip__icon--leading-hidden",LEADING_ICON:"mdc-chip__icon--leading",SELECTED:"mdc-chip--selected",TRAILING_ICON:"mdc-chip__icon--trailing"},d={bottom:0,height:0,left:0,right:0,top:0,width:0},l=function(t){function e(i){var n=t.call(this,r.a({},e.defaultAdapter,i))||this;return n.shouldRemoveOnTrailingIconClick_=!0,n}return r.b(e,t),Object.defineProperty(e,"strings",{get:function(){return o},enumerable:!0,configurable:!0}),Object.defineProperty(e,"cssClasses",{get:function(){return c},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},addClassToLeadingIcon:function(){},eventTargetHasClass:function(){return!1},getCheckmarkBoundingClientRect:function(){return d},getComputedStyleValue:function(){return""},getRootBoundingClientRect:function(){return d},hasClass:function(){return!1},hasLeadingIcon:function(){return!1},notifyInteraction:function(){},notifyRemoval:function(){},notifySelection:function(){},notifyTrailingIconInteraction:function(){},removeClass:function(){},removeClassFromLeadingIcon:function(){},setStyleProperty:function(){}}},enumerable:!0,configurable:!0}),e.prototype.isSelected=function(){return this.adapter_.hasClass(c.SELECTED)},e.prototype.setSelected=function(t){t?this.adapter_.addClass(c.SELECTED):this.adapter_.removeClass(c.SELECTED),this.adapter_.notifySelection(t)},e.prototype.getShouldRemoveOnTrailingIconClick=function(){return this.shouldRemoveOnTrailingIconClick_},e.prototype.setShouldRemoveOnTrailingIconClick=function(t){this.shouldRemoveOnTrailingIconClick_=t},e.prototype.getDimensions=function(){var t=this,e=function(){return t.adapter_.getRootBoundingClientRect()};if(!this.adapter_.hasLeadingIcon()){var i=t.adapter_.getCheckmarkBoundingClientRect();if(i){var n=e(),a=n.height,s=i.height,o=n.width+s;return r.a({},n,{width:o,height:a})}}return e()},e.prototype.beginExit=function(){this.adapter_.addClass(c.CHIP_EXIT)},e.prototype.handleInteraction=function(t){var e="Enter"===t.key||13===t.keyCode;("click"===t.type||e)&&this.adapter_.notifyInteraction()},e.prototype.handleTransitionEnd=function(t){var e=this;if(this.adapter_.eventTargetHasClass(t.target,c.CHIP_EXIT)){if("width"===t.propertyName)this.adapter_.notifyRemoval();else if("opacity"===t.propertyName){var i=this.adapter_.getComputedStyleValue("width");requestAnimationFrame(function(){e.adapter_.setStyleProperty("width",i),e.adapter_.setStyleProperty("padding","0"),e.adapter_.setStyleProperty("margin","0"),requestAnimationFrame(function(){e.adapter_.setStyleProperty("width","0")})})}}else"opacity"===t.propertyName&&(this.adapter_.eventTargetHasClass(t.target,c.LEADING_ICON)&&this.adapter_.hasClass(c.SELECTED)?this.adapter_.addClassToLeadingIcon(c.HIDDEN_LEADING_ICON):this.adapter_.eventTargetHasClass(t.target,c.CHECKMARK)&&!this.adapter_.hasClass(c.SELECTED)&&this.adapter_.removeClassFromLeadingIcon(c.HIDDEN_LEADING_ICON))},e.prototype.handleTrailingIconInteraction=function(t){var e="Enter"===t.key||13===t.keyCode;t.stopPropagation(),("click"===t.type||e)&&(this.adapter_.notifyTrailingIconInteraction(),this.shouldRemoveOnTrailingIconClick_&&this.beginExit())},e}(s.a),u=i(18),p=i(12),h=i(5),f={name:"mdc-chip",mixins:[u.b],props:{leadingIcon:[String],trailingIcon:[String],leadingIconClasses:[Object],trailingIconClasses:[Object]},inject:["mdcChipSet"],data:()=>({classes:{"mdc-chip":!0},styles:{},id:""}),computed:{selected:{get(){return this.foundation.isSelected()},set(t){this.foundation.setSelected(t)}},isFilter(){return this.mdcChipSet&&this.mdcChipSet.filter},haveleadingIcon(){return!!this.leadingIcon||this.leadingIconClasses},havetrailingIcon(){return!!this.trailingIcon||this.trailingIconClasses},leadingClasses(){return Object.assign({},{"material-icons":!!this.leadingIcon},this.leadingIconClasses)},trailingClasses(){return Object.assign({},{"material-icons":!!this.trailingIcon},this.trailingIconClasses)}},created(){this.id=this.mdcChipSet.nextId()},mounted(){this.foundation=new l({addClass:t=>this.$set(this.classes,t,!0),removeClass:t=>this.$delete(this.classes,t),hasClass:t=>this.$el.classList.contains(t),addClassToLeadingIcon:t=>{this.haveleadingIcon&&this.$refs.leadingIcon.classList.add(t)},removeClassFromLeadingIcon:t=>{this.haveleadingIcon&&this.$refs.leadingIcon.classList.remove(t)},eventTargetHasClass:(t,e)=>t.classList.contains(e),notifyInteraction:()=>{Object(p.a)(this.$el,l.strings.INTERACTION_EVENT,{chipId:this.id},!0),this.mdcChipSet&&this.mdcChipSet.handleInteraction},notifySelection:t=>Object(p.a)(this.$el,l.strings.SELECTION_EVENT,{chipId:this.id,selected:t},!0),notifyTrailingIconInteraction:()=>{Object(p.a)(this.$el,l.strings.TRAILING_ICON_INTERACTION_EVENT,{chipId:this.id},!0)},notifyRemoval:()=>{Object(p.a)(this.$el,l.strings.REMOVAL_EVENT,{chipId:this.id,root:this.$el},!0)},getComputedStyleValue:t=>window.getComputedStyle(this.$el).getPropertyValue(t),setStyleProperty:(t,e)=>this.$set(this.styles,t,e),hasLeadingIcon:()=>!!this.haveleadingIcon,getRootBoundingClientRect:()=>this.$el.getBoundingClientRect(),getCheckmarkBoundingClientRect:()=>this.$refs.checkmarkEl?this.$refs.checkmarkEl.getBoundingClientRect():null}),this.foundation.init(),this.mdcChipSet.chips.push(this),this.ripple=new h.RippleBase(this,{computeBoundingRect:()=>this.foundation.getDimensions()}),this.ripple.init()},beforeDestroy(){this.ripple.destroy(),this.foundation.destroy()},methods:{handleInteraction(t){this.foundation.handleInteraction(t)},handleTransitionEnd(t){this.foundation.handleTransitionEnd(t)},handleTrailingIconInteraction(t){this.foundation.handleTrailingIconInteraction(t)},toggleSelected(){this.foundation.toggleSelected()},isSelected(){return this.foundation.isSelected()}}},_=i(0),m=Object(_.a)(f,a,[],!1,null,null,null);m.options.__file="packages/mcwv-chips/mdc-chip.vue";var v=m.exports,g={CHIP_SELECTOR:".mdc-chip"},C={CHOICE:"mdc-chip-set--choice",FILTER:"mdc-chip-set--filter"},I=function(t){function e(i){var n=t.call(this,r.a({},e.defaultAdapter,i))||this;return n.selectedChipIds_=[],n}return r.b(e,t),Object.defineProperty(e,"strings",{get:function(){return g},enumerable:!0,configurable:!0}),Object.defineProperty(e,"cssClasses",{get:function(){return C},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{hasClass:function(){return!1},removeChip:function(){},setSelected:function(){}}},enumerable:!0,configurable:!0}),e.prototype.getSelectedChipIds=function(){return this.selectedChipIds_.slice()},e.prototype.select=function(t){if(!(this.selectedChipIds_.indexOf(t)>=0)){if(this.adapter_.hasClass(C.CHOICE)&&this.selectedChipIds_.length>0){var e=this.selectedChipIds_[0];this.selectedChipIds_.length=0,this.adapter_.setSelected(e,!1)}this.selectedChipIds_.push(t),this.adapter_.setSelected(t,!0)}},e.prototype.handleChipInteraction=function(t){(this.adapter_.hasClass(C.CHOICE)||this.adapter_.hasClass(C.FILTER))&&this.toggleSelect_(t)},e.prototype.handleChipSelection=function(t,e){var i=this.selectedChipIds_.indexOf(t)>=0;e&&!i?this.select(t):!e&&i&&this.deselect_(t)},e.prototype.handleChipRemoval=function(t){this.deselect_(t),this.adapter_.removeChip(t)},e.prototype.deselect_=function(t){var e=this.selectedChipIds_.indexOf(t);e>=0&&(this.selectedChipIds_.splice(e,1),this.adapter_.setSelected(t,!1))},e.prototype.toggleSelect_=function(t){this.selectedChipIds_.indexOf(t)>=0?this.deselect_(t):this.select(t)},e}(s.a);
/**

@@ -63,3 +63,3 @@ * @license

* THE SOFTWARE.
*/function E(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var b=0,T={name:"mdc-chip-set",props:{choice:[Boolean],filter:[Boolean],input:[Boolean]},provide:function(){return{mdcChipSet:this}},data:function(){return{classes:{"mdc-chip-set":!0,"mdc-chip-set--choice":this.choice,"mdc-chip-set--filter":this.filter,"mdc-chip-set--input":this.input},chips:[]}},mounted:function(){var t=this;this.foundation=new I({hasClass:function(e){return t.$el.classList.contains(e)},removeChip:function(e){var n=t.findChipIndex(e);n>0&&t.$nextTick(function(){t.chips.splice(n,1)})},setSelected:function(e,n){var i=t.findChipIndex(e);i>=0&&(t.chips[i].selected=n)}}),this.foundation.init()},beforeDestroy:function(){this.foundation.destroy()},methods:{nextId:function(){return"mdc-chip-".concat(++b)},findChipIndex:function(t){for(var e=0;e<this.chips.length;e++)if(this.chips[e].id===t)return e;return-1},handleChipInteraction:function(t){this.foundation.handleChipInteraction(t.detail.chipId)},handleChipRemoval:function(t){this.foundation.handleChipRemoval(t.detail.chipId)},handleChipSelection:function(t){this.foundation.handleChipSelection(t.detail.chipId,t.detail.selected)}},render:function(t){var e,n=this;return t("div",{class:this.classes,on:(e={},E(e,d.strings.INTERACTION_EVENT,function(t){return n.handleChipInteraction(t)}),E(e,d.strings.SELECTION_EVENT,function(t){return n.handleChipSelection(t)}),E(e,d.strings.REMOVAL_EVENT,function(t){return n.handleChipRemoval(t)}),e)},this.$slots.default)}},S=Object(v.a)(T,void 0,void 0,!1,null,null,null);S.options.__file="packages/mcwv-chips/mdc-chip-set.vue";var A=S.exports;n.d(e,"mdcChip",function(){return g}),n.d(e,"mdcChipSet",function(){return A});e.default=Object(i.a)({mdcChip:g,mdcChipSet:A})},4:function(t,e,n){"use strict";
*/let y=0;var E={name:"mdc-chip-set",props:{choice:[Boolean],filter:[Boolean],input:[Boolean]},provide(){return{mdcChipSet:this}},data(){return{classes:{"mdc-chip-set":!0,"mdc-chip-set--choice":this.choice,"mdc-chip-set--filter":this.filter,"mdc-chip-set--input":this.input},chips:[]}},mounted(){this.foundation=new I({hasClass:t=>this.$el.classList.contains(t),removeChip:t=>{const e=this.findChipIndex(t);e>0&&this.$nextTick(()=>{this.chips.splice(e,1)})},setSelected:(t,e)=>{const i=this.findChipIndex(t);i>=0&&(this.chips[i].selected=e)}}),this.foundation.init()},beforeDestroy(){this.foundation.destroy()},methods:{nextId:()=>`mdc-chip-${++y}`,findChipIndex(t){for(let e=0;e<this.chips.length;e++)if(this.chips[e].id===t)return e;return-1},handleChipInteraction(t){this.foundation.handleChipInteraction(t.detail.chipId)},handleChipRemoval(t){this.foundation.handleChipRemoval(t.detail.chipId)},handleChipSelection(t){this.foundation.handleChipSelection(t.detail.chipId,t.detail.selected)}},render(t){return t("div",{class:this.classes,on:{[l.strings.INTERACTION_EVENT]:t=>this.handleChipInteraction(t),[l.strings.SELECTION_EVENT]:t=>this.handleChipSelection(t),[l.strings.REMOVAL_EVENT]:t=>this.handleChipRemoval(t)}},this.$slots.default)}},T=Object(_.a)(E,void 0,void 0,!1,null,null,null);T.options.__file="packages/mcwv-chips/mdc-chip-set.vue";var b=T.exports;i.d(e,"mdcChip",function(){return v}),i.d(e,"mdcChipSet",function(){return b});e.default=Object(n.a)({mdcChip:v,mdcChipSet:b})},4:function(t,e,i){"use strict";
/**

@@ -87,3 +87,3 @@ * @license

*/
function i(t,e){if(t.closest)return t.closest(e);for(var n=t;n;){if(r(n,e))return n;n=n.parentElement}return null}function r(t,e){return(t.matches||t.webkitMatchesSelector||t.msMatchesSelector).call(t,e)}n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r})},5:function(t,e,n){"use strict";n.r(e);var i=n(6),r=function(){var t=this.$createElement;return(this._self._c||t)("custom-element",{staticClass:"mdc-ripple",attrs:{tag:this.tag,classes:this.classes,styles:this.styles}},[this._t("default")],2)};r._withStripped=!0;var a,o,s=n(8),c=n(1),u=n(2),d={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},l={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},p={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300};function f(t,e){if(void 0===t&&(t=window),void 0===e&&(e=!1),void 0===o||e){var n=!1;try{t.document.addEventListener("test",function(){},{get passive(){return n=!0}})}catch(t){}o=n}return!!o&&{passive:!0}}
function n(t,e){if(t.closest)return t.closest(e);for(var i=t;i;){if(a(i,e))return i;i=i.parentElement}return null}function a(t,e){return(t.matches||t.webkitMatchesSelector||t.msMatchesSelector).call(t,e)}i.d(e,"a",function(){return n}),i.d(e,"b",function(){return a})},5:function(t,e,i){"use strict";i.r(e);var n=i(6),a=function(){var t=this.$createElement;return(this._self._c||t)("custom-element",{staticClass:"mdc-ripple",attrs:{tag:this.tag,classes:this.classes,styles:this.styles}},[this._t("default")],2)};a._withStripped=!0;var r,s,o=i(8),c=i(1),d=i(2),l={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},u={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},p={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300};function h(t,e){if(void 0===t&&(t=window),void 0===e&&(e=!1),void 0===s||e){var i=!1;try{t.document.addEventListener("test",function(){},{get passive(){return i=!0}})}catch(t){}s=i}return!!s&&{passive:!0}}
/**

@@ -111,3 +111,3 @@ * @license

*/
var h=["touchstart","pointerdown","mousedown","keydown"],_=["touchend","pointerup","mouseup","contextmenu"],v=[],m=function(t){function e(n){var i=t.call(this,c.a({},e.defaultAdapter,n))||this;return i.activationAnimationHasEnded_=!1,i.activationTimer_=0,i.fgDeactivationRemovalTimer_=0,i.fgScale_="0",i.frame_={width:0,height:0},i.initialSize_=0,i.layoutFrame_=0,i.maxRadius_=0,i.unboundedCoords_={left:0,top:0},i.activationState_=i.defaultActivationState_(),i.activationTimerCallback_=function(){i.activationAnimationHasEnded_=!0,i.runDeactivationUXLogicIfReady_()},i.activateHandler_=function(t){return i.activate_(t)},i.deactivateHandler_=function(){return i.deactivate_()},i.focusHandler_=function(){return i.handleFocus()},i.blurHandler_=function(){return i.handleBlur()},i.resizeHandler_=function(){return i.layout()},i}return c.b(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return d},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return l},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return p},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){var t=this,n=this.supportsPressRipple_();if(this.registerRootHandlers_(n),n){var i=e.cssClasses,r=i.ROOT,a=i.UNBOUNDED;requestAnimationFrame(function(){t.adapter_.addClass(r),t.adapter_.isUnbounded()&&(t.adapter_.addClass(a),t.layoutInternal_())})}},e.prototype.destroy=function(){var t=this;if(this.supportsPressRipple_()){this.activationTimer_&&(clearTimeout(this.activationTimer_),this.activationTimer_=0,this.adapter_.removeClass(e.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer_&&(clearTimeout(this.fgDeactivationRemovalTimer_),this.fgDeactivationRemovalTimer_=0,this.adapter_.removeClass(e.cssClasses.FG_DEACTIVATION));var n=e.cssClasses,i=n.ROOT,r=n.UNBOUNDED;requestAnimationFrame(function(){t.adapter_.removeClass(i),t.adapter_.removeClass(r),t.removeCssVars_()})}this.deregisterRootHandlers_(),this.deregisterDeactivationHandlers_()},e.prototype.activate=function(t){this.activate_(t)},e.prototype.deactivate=function(){this.deactivate_()},e.prototype.layout=function(){var t=this;this.layoutFrame_&&cancelAnimationFrame(this.layoutFrame_),this.layoutFrame_=requestAnimationFrame(function(){t.layoutInternal_(),t.layoutFrame_=0})},e.prototype.setUnbounded=function(t){var n=e.cssClasses.UNBOUNDED;t?this.adapter_.addClass(n):this.adapter_.removeClass(n)},e.prototype.handleFocus=function(){var t=this;requestAnimationFrame(function(){return t.adapter_.addClass(e.cssClasses.BG_FOCUSED)})},e.prototype.handleBlur=function(){var t=this;requestAnimationFrame(function(){return t.adapter_.removeClass(e.cssClasses.BG_FOCUSED)})},e.prototype.supportsPressRipple_=function(){return this.adapter_.browserSupportsCssVars()},e.prototype.defaultActivationState_=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},e.prototype.registerRootHandlers_=function(t){var e=this;t&&(h.forEach(function(t){e.adapter_.registerInteractionHandler(t,e.activateHandler_)}),this.adapter_.isUnbounded()&&this.adapter_.registerResizeHandler(this.resizeHandler_)),this.adapter_.registerInteractionHandler("focus",this.focusHandler_),this.adapter_.registerInteractionHandler("blur",this.blurHandler_)},e.prototype.registerDeactivationHandlers_=function(t){var e=this;"keydown"===t.type?this.adapter_.registerInteractionHandler("keyup",this.deactivateHandler_):_.forEach(function(t){e.adapter_.registerDocumentInteractionHandler(t,e.deactivateHandler_)})},e.prototype.deregisterRootHandlers_=function(){var t=this;h.forEach(function(e){t.adapter_.deregisterInteractionHandler(e,t.activateHandler_)}),this.adapter_.deregisterInteractionHandler("focus",this.focusHandler_),this.adapter_.deregisterInteractionHandler("blur",this.blurHandler_),this.adapter_.isUnbounded()&&this.adapter_.deregisterResizeHandler(this.resizeHandler_)},e.prototype.deregisterDeactivationHandlers_=function(){var t=this;this.adapter_.deregisterInteractionHandler("keyup",this.deactivateHandler_),_.forEach(function(e){t.adapter_.deregisterDocumentInteractionHandler(e,t.deactivateHandler_)})},e.prototype.removeCssVars_=function(){var t=this,n=e.strings;Object.keys(n).forEach(function(e){0===e.indexOf("VAR_")&&t.adapter_.updateCssVariable(n[e],null)})},e.prototype.activate_=function(t){var e=this;if(!this.adapter_.isSurfaceDisabled()){var n=this.activationState_;if(!n.isActivated){var i=this.previousActivationEvent_;if(!(i&&void 0!==t&&i.type!==t.type))n.isActivated=!0,n.isProgrammatic=void 0===t,n.activationEvent=t,n.wasActivatedByPointer=!n.isProgrammatic&&(void 0!==t&&("mousedown"===t.type||"touchstart"===t.type||"pointerdown"===t.type)),void 0!==t&&v.length>0&&v.some(function(t){return e.adapter_.containsEventTarget(t)})?this.resetActivationState_():(void 0!==t&&(v.push(t.target),this.registerDeactivationHandlers_(t)),n.wasElementMadeActive=this.checkElementMadeActive_(t),n.wasElementMadeActive&&this.animateActivation_(),requestAnimationFrame(function(){v=[],n.wasElementMadeActive||void 0===t||" "!==t.key&&32!==t.keyCode||(n.wasElementMadeActive=e.checkElementMadeActive_(t),n.wasElementMadeActive&&e.animateActivation_()),n.wasElementMadeActive||(e.activationState_=e.defaultActivationState_())}))}}},e.prototype.checkElementMadeActive_=function(t){return void 0===t||"keydown"!==t.type||this.adapter_.isSurfaceActive()},e.prototype.animateActivation_=function(){var t=this,n=e.strings,i=n.VAR_FG_TRANSLATE_START,r=n.VAR_FG_TRANSLATE_END,a=e.cssClasses,o=a.FG_DEACTIVATION,s=a.FG_ACTIVATION,c=e.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal_();var u="",d="";if(!this.adapter_.isUnbounded()){var l=this.getFgTranslationCoordinates_(),p=l.startPoint,f=l.endPoint;u=p.x+"px, "+p.y+"px",d=f.x+"px, "+f.y+"px"}this.adapter_.updateCssVariable(i,u),this.adapter_.updateCssVariable(r,d),clearTimeout(this.activationTimer_),clearTimeout(this.fgDeactivationRemovalTimer_),this.rmBoundedActivationClasses_(),this.adapter_.removeClass(o),this.adapter_.computeBoundingRect(),this.adapter_.addClass(s),this.activationTimer_=setTimeout(function(){return t.activationTimerCallback_()},c)},e.prototype.getFgTranslationCoordinates_=function(){var t,e=this.activationState_,n=e.activationEvent;return{startPoint:t={x:(t=e.wasActivatedByPointer?function(t,e,n){if(!t)return{x:0,y:0};var i,r,a=e.x,o=e.y,s=a+n.left,c=o+n.top;if("touchstart"===t.type){var u=t;i=u.changedTouches[0].pageX-s,r=u.changedTouches[0].pageY-c}else{var d=t;i=d.pageX-s,r=d.pageY-c}return{x:i,y:r}}(n,this.adapter_.getWindowPageOffset(),this.adapter_.computeBoundingRect()):{x:this.frame_.width/2,y:this.frame_.height/2}).x-this.initialSize_/2,y:t.y-this.initialSize_/2},endPoint:{x:this.frame_.width/2-this.initialSize_/2,y:this.frame_.height/2-this.initialSize_/2}}},e.prototype.runDeactivationUXLogicIfReady_=function(){var t=this,n=e.cssClasses.FG_DEACTIVATION,i=this.activationState_,r=i.hasDeactivationUXRun,a=i.isActivated;(r||!a)&&this.activationAnimationHasEnded_&&(this.rmBoundedActivationClasses_(),this.adapter_.addClass(n),this.fgDeactivationRemovalTimer_=setTimeout(function(){t.adapter_.removeClass(n)},p.FG_DEACTIVATION_MS))},e.prototype.rmBoundedActivationClasses_=function(){var t=e.cssClasses.FG_ACTIVATION;this.adapter_.removeClass(t),this.activationAnimationHasEnded_=!1,this.adapter_.computeBoundingRect()},e.prototype.resetActivationState_=function(){var t=this;this.previousActivationEvent_=this.activationState_.activationEvent,this.activationState_=this.defaultActivationState_(),setTimeout(function(){return t.previousActivationEvent_=void 0},e.numbers.TAP_DELAY_MS)},e.prototype.deactivate_=function(){var t=this,e=this.activationState_;if(e.isActivated){var n=c.a({},e);e.isProgrammatic?(requestAnimationFrame(function(){return t.animateDeactivation_(n)}),this.resetActivationState_()):(this.deregisterDeactivationHandlers_(),requestAnimationFrame(function(){t.activationState_.hasDeactivationUXRun=!0,t.animateDeactivation_(n),t.resetActivationState_()}))}},e.prototype.animateDeactivation_=function(t){var e=t.wasActivatedByPointer,n=t.wasElementMadeActive;(e||n)&&this.runDeactivationUXLogicIfReady_()},e.prototype.layoutInternal_=function(){var t=this;this.frame_=this.adapter_.computeBoundingRect();var n=Math.max(this.frame_.height,this.frame_.width);this.maxRadius_=this.adapter_.isUnbounded()?n:Math.sqrt(Math.pow(t.frame_.width,2)+Math.pow(t.frame_.height,2))+e.numbers.PADDING,this.initialSize_=Math.floor(n*e.numbers.INITIAL_ORIGIN_SCALE),this.fgScale_=""+this.maxRadius_/this.initialSize_,this.updateLayoutCssVars_()},e.prototype.updateLayoutCssVars_=function(){var t=e.strings,n=t.VAR_FG_SIZE,i=t.VAR_LEFT,r=t.VAR_TOP,a=t.VAR_FG_SCALE;this.adapter_.updateCssVariable(n,this.initialSize_+"px"),this.adapter_.updateCssVariable(a,this.fgScale_),this.adapter_.isUnbounded()&&(this.unboundedCoords_={left:Math.round(this.frame_.width/2-this.initialSize_/2),top:Math.round(this.frame_.height/2-this.initialSize_/2)},this.adapter_.updateCssVariable(i,this.unboundedCoords_.left+"px"),this.adapter_.updateCssVariable(r,this.unboundedCoords_.top+"px"))},e}(u.a),g=n(4);function C(t){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(){return(y=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}function I(t,e){return!e||"object"!==C(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function b(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function T(t,e){return(T=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var S=function(t){var e,n,i;function r(t,e){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),I(this,E(r).call(this,y({browserSupportsCssVars:function(){return function(t,e){void 0===e&&(e=!1);var n=t.CSS,i=a;if("boolean"==typeof a&&!e)return a;if(!n||"function"!=typeof n.supports)return!1;var r=n.supports("--css-vars","yes"),o=n.supports("(--css-vars: yes)")&&n.supports("color","#00000000");return i=!(!r&&!o||function(t){var e=t.document,n=e.createElement("div");n.className="mdc-ripple-surface--test-edge-var-bug",e.body.appendChild(n);var i=t.getComputedStyle(n),r=null!==i&&"solid"===i.borderTopStyle;return n.remove(),r}(t)),e||(a=i),i}(window)},isUnbounded:function(){return!1},isSurfaceActive:function(){return t.$el[r.MATCHES](":active")},isSurfaceDisabled:function(){return t.disabled},addClass:function(e){t.$set(t.classes,e,!0)},removeClass:function(e){t.$delete(t.classes,e)},containsEventTarget:function(e){return t.$el.contains(e)},registerInteractionHandler:function(e,n){t.$el.addEventListener(e,n,f())},deregisterInteractionHandler:function(e,n){t.$el.removeEventListener(e,n,f())},registerDocumentInteractionHandler:function(t,e){return document.documentElement.addEventListener(t,e,f())},deregisterDocumentInteractionHandler:function(t,e){return document.documentElement.removeEventListener(t,e,f())},registerResizeHandler:function(t){return window.addEventListener("resize",t)},deregisterResizeHandler:function(t){return window.removeEventListener("resize",t)},updateCssVariable:function(e,n){t.$set(t.styles,e,n)},computeBoundingRect:function(){return t.$el.getBoundingClientRect()},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}}},e)))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&T(t,e)}(r,m),e=r,i=[{key:"isSurfaceActive",value:function(t){return t[r.MATCHES](":active")}},{key:"MATCHES",get:function(){return r._matches||(r._matches=Object(g.b)(HTMLElement.prototype))}}],(n=null)&&b(e.prototype,n),i&&b(e,i),r}(),A={data:function(){return{classes:{},styles:{}}},mounted:function(){this.ripple=new S(this),this.ripple.init()},beforeDestroy:function(){this.ripple.destroy()}},O={name:"mdc-ripple",mixins:[s.b,A],props:{tag:String}},R=n(0),w=Object(R.a)(O,r,[],!1,null,null,null);w.options.__file="packages/mcwv-ripple/mdc-ripple.vue";var N=w.exports;n.d(e,"RippleBase",function(){return S}),n.d(e,"RippleMixin",function(){return A}),n.d(e,"mdcRipple",function(){return N});e.default=Object(i.a)({mdcRipple:N})},6:function(t,e,n){"use strict";function i(t){return{version:"__VERSION__",install:function(e){for(var n in t){var i=t[n];e.component(i.name,i)}},components:t}}n.d(e,"a",function(){return i})},8:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r});var i={functional:!0,render:function(t,e){return t(e.props.is||e.props.tag||"div",e.data,e.children)}},r={components:{CustomElement:i}}}})});
var f=["touchstart","pointerdown","mousedown","keydown"],_=["touchend","pointerup","mouseup","contextmenu"],m=[],v=function(t){function e(i){var n=t.call(this,c.a({},e.defaultAdapter,i))||this;return n.activationAnimationHasEnded_=!1,n.activationTimer_=0,n.fgDeactivationRemovalTimer_=0,n.fgScale_="0",n.frame_={width:0,height:0},n.initialSize_=0,n.layoutFrame_=0,n.maxRadius_=0,n.unboundedCoords_={left:0,top:0},n.activationState_=n.defaultActivationState_(),n.activationTimerCallback_=function(){n.activationAnimationHasEnded_=!0,n.runDeactivationUXLogicIfReady_()},n.activateHandler_=function(t){return n.activate_(t)},n.deactivateHandler_=function(){return n.deactivate_()},n.focusHandler_=function(){return n.handleFocus()},n.blurHandler_=function(){return n.handleBlur()},n.resizeHandler_=function(){return n.layout()},n}return c.b(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return l},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return u},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return p},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){var t=this,i=this.supportsPressRipple_();if(this.registerRootHandlers_(i),i){var n=e.cssClasses,a=n.ROOT,r=n.UNBOUNDED;requestAnimationFrame(function(){t.adapter_.addClass(a),t.adapter_.isUnbounded()&&(t.adapter_.addClass(r),t.layoutInternal_())})}},e.prototype.destroy=function(){var t=this;if(this.supportsPressRipple_()){this.activationTimer_&&(clearTimeout(this.activationTimer_),this.activationTimer_=0,this.adapter_.removeClass(e.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer_&&(clearTimeout(this.fgDeactivationRemovalTimer_),this.fgDeactivationRemovalTimer_=0,this.adapter_.removeClass(e.cssClasses.FG_DEACTIVATION));var i=e.cssClasses,n=i.ROOT,a=i.UNBOUNDED;requestAnimationFrame(function(){t.adapter_.removeClass(n),t.adapter_.removeClass(a),t.removeCssVars_()})}this.deregisterRootHandlers_(),this.deregisterDeactivationHandlers_()},e.prototype.activate=function(t){this.activate_(t)},e.prototype.deactivate=function(){this.deactivate_()},e.prototype.layout=function(){var t=this;this.layoutFrame_&&cancelAnimationFrame(this.layoutFrame_),this.layoutFrame_=requestAnimationFrame(function(){t.layoutInternal_(),t.layoutFrame_=0})},e.prototype.setUnbounded=function(t){var i=e.cssClasses.UNBOUNDED;t?this.adapter_.addClass(i):this.adapter_.removeClass(i)},e.prototype.handleFocus=function(){var t=this;requestAnimationFrame(function(){return t.adapter_.addClass(e.cssClasses.BG_FOCUSED)})},e.prototype.handleBlur=function(){var t=this;requestAnimationFrame(function(){return t.adapter_.removeClass(e.cssClasses.BG_FOCUSED)})},e.prototype.supportsPressRipple_=function(){return this.adapter_.browserSupportsCssVars()},e.prototype.defaultActivationState_=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},e.prototype.registerRootHandlers_=function(t){var e=this;t&&(f.forEach(function(t){e.adapter_.registerInteractionHandler(t,e.activateHandler_)}),this.adapter_.isUnbounded()&&this.adapter_.registerResizeHandler(this.resizeHandler_)),this.adapter_.registerInteractionHandler("focus",this.focusHandler_),this.adapter_.registerInteractionHandler("blur",this.blurHandler_)},e.prototype.registerDeactivationHandlers_=function(t){var e=this;"keydown"===t.type?this.adapter_.registerInteractionHandler("keyup",this.deactivateHandler_):_.forEach(function(t){e.adapter_.registerDocumentInteractionHandler(t,e.deactivateHandler_)})},e.prototype.deregisterRootHandlers_=function(){var t=this;f.forEach(function(e){t.adapter_.deregisterInteractionHandler(e,t.activateHandler_)}),this.adapter_.deregisterInteractionHandler("focus",this.focusHandler_),this.adapter_.deregisterInteractionHandler("blur",this.blurHandler_),this.adapter_.isUnbounded()&&this.adapter_.deregisterResizeHandler(this.resizeHandler_)},e.prototype.deregisterDeactivationHandlers_=function(){var t=this;this.adapter_.deregisterInteractionHandler("keyup",this.deactivateHandler_),_.forEach(function(e){t.adapter_.deregisterDocumentInteractionHandler(e,t.deactivateHandler_)})},e.prototype.removeCssVars_=function(){var t=this,i=e.strings;Object.keys(i).forEach(function(e){0===e.indexOf("VAR_")&&t.adapter_.updateCssVariable(i[e],null)})},e.prototype.activate_=function(t){var e=this;if(!this.adapter_.isSurfaceDisabled()){var i=this.activationState_;if(!i.isActivated){var n=this.previousActivationEvent_;if(!(n&&void 0!==t&&n.type!==t.type))i.isActivated=!0,i.isProgrammatic=void 0===t,i.activationEvent=t,i.wasActivatedByPointer=!i.isProgrammatic&&(void 0!==t&&("mousedown"===t.type||"touchstart"===t.type||"pointerdown"===t.type)),void 0!==t&&m.length>0&&m.some(function(t){return e.adapter_.containsEventTarget(t)})?this.resetActivationState_():(void 0!==t&&(m.push(t.target),this.registerDeactivationHandlers_(t)),i.wasElementMadeActive=this.checkElementMadeActive_(t),i.wasElementMadeActive&&this.animateActivation_(),requestAnimationFrame(function(){m=[],i.wasElementMadeActive||void 0===t||" "!==t.key&&32!==t.keyCode||(i.wasElementMadeActive=e.checkElementMadeActive_(t),i.wasElementMadeActive&&e.animateActivation_()),i.wasElementMadeActive||(e.activationState_=e.defaultActivationState_())}))}}},e.prototype.checkElementMadeActive_=function(t){return void 0===t||"keydown"!==t.type||this.adapter_.isSurfaceActive()},e.prototype.animateActivation_=function(){var t=this,i=e.strings,n=i.VAR_FG_TRANSLATE_START,a=i.VAR_FG_TRANSLATE_END,r=e.cssClasses,s=r.FG_DEACTIVATION,o=r.FG_ACTIVATION,c=e.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal_();var d="",l="";if(!this.adapter_.isUnbounded()){var u=this.getFgTranslationCoordinates_(),p=u.startPoint,h=u.endPoint;d=p.x+"px, "+p.y+"px",l=h.x+"px, "+h.y+"px"}this.adapter_.updateCssVariable(n,d),this.adapter_.updateCssVariable(a,l),clearTimeout(this.activationTimer_),clearTimeout(this.fgDeactivationRemovalTimer_),this.rmBoundedActivationClasses_(),this.adapter_.removeClass(s),this.adapter_.computeBoundingRect(),this.adapter_.addClass(o),this.activationTimer_=setTimeout(function(){return t.activationTimerCallback_()},c)},e.prototype.getFgTranslationCoordinates_=function(){var t,e=this.activationState_,i=e.activationEvent;return{startPoint:t={x:(t=e.wasActivatedByPointer?function(t,e,i){if(!t)return{x:0,y:0};var n,a,r=e.x,s=e.y,o=r+i.left,c=s+i.top;if("touchstart"===t.type){var d=t;n=d.changedTouches[0].pageX-o,a=d.changedTouches[0].pageY-c}else{var l=t;n=l.pageX-o,a=l.pageY-c}return{x:n,y:a}}(i,this.adapter_.getWindowPageOffset(),this.adapter_.computeBoundingRect()):{x:this.frame_.width/2,y:this.frame_.height/2}).x-this.initialSize_/2,y:t.y-this.initialSize_/2},endPoint:{x:this.frame_.width/2-this.initialSize_/2,y:this.frame_.height/2-this.initialSize_/2}}},e.prototype.runDeactivationUXLogicIfReady_=function(){var t=this,i=e.cssClasses.FG_DEACTIVATION,n=this.activationState_,a=n.hasDeactivationUXRun,r=n.isActivated;(a||!r)&&this.activationAnimationHasEnded_&&(this.rmBoundedActivationClasses_(),this.adapter_.addClass(i),this.fgDeactivationRemovalTimer_=setTimeout(function(){t.adapter_.removeClass(i)},p.FG_DEACTIVATION_MS))},e.prototype.rmBoundedActivationClasses_=function(){var t=e.cssClasses.FG_ACTIVATION;this.adapter_.removeClass(t),this.activationAnimationHasEnded_=!1,this.adapter_.computeBoundingRect()},e.prototype.resetActivationState_=function(){var t=this;this.previousActivationEvent_=this.activationState_.activationEvent,this.activationState_=this.defaultActivationState_(),setTimeout(function(){return t.previousActivationEvent_=void 0},e.numbers.TAP_DELAY_MS)},e.prototype.deactivate_=function(){var t=this,e=this.activationState_;if(e.isActivated){var i=c.a({},e);e.isProgrammatic?(requestAnimationFrame(function(){return t.animateDeactivation_(i)}),this.resetActivationState_()):(this.deregisterDeactivationHandlers_(),requestAnimationFrame(function(){t.activationState_.hasDeactivationUXRun=!0,t.animateDeactivation_(i),t.resetActivationState_()}))}},e.prototype.animateDeactivation_=function(t){var e=t.wasActivatedByPointer,i=t.wasElementMadeActive;(e||i)&&this.runDeactivationUXLogicIfReady_()},e.prototype.layoutInternal_=function(){var t=this;this.frame_=this.adapter_.computeBoundingRect();var i=Math.max(this.frame_.height,this.frame_.width);this.maxRadius_=this.adapter_.isUnbounded()?i:Math.sqrt(Math.pow(t.frame_.width,2)+Math.pow(t.frame_.height,2))+e.numbers.PADDING,this.initialSize_=Math.floor(i*e.numbers.INITIAL_ORIGIN_SCALE),this.fgScale_=""+this.maxRadius_/this.initialSize_,this.updateLayoutCssVars_()},e.prototype.updateLayoutCssVars_=function(){var t=e.strings,i=t.VAR_FG_SIZE,n=t.VAR_LEFT,a=t.VAR_TOP,r=t.VAR_FG_SCALE;this.adapter_.updateCssVariable(i,this.initialSize_+"px"),this.adapter_.updateCssVariable(r,this.fgScale_),this.adapter_.isUnbounded()&&(this.unboundedCoords_={left:Math.round(this.frame_.width/2-this.initialSize_/2),top:Math.round(this.frame_.height/2-this.initialSize_/2)},this.adapter_.updateCssVariable(n,this.unboundedCoords_.left+"px"),this.adapter_.updateCssVariable(a,this.unboundedCoords_.top+"px"))},e}(d.a),g=i(4);class C extends v{static get MATCHES(){return C._matches||(C._matches=Object(g.b)(HTMLElement.prototype))}static isSurfaceActive(t){return t[C.MATCHES](":active")}constructor(t,e){super(Object.assign({browserSupportsCssVars:()=>(function(t,e){void 0===e&&(e=!1);var i=t.CSS,n=r;if("boolean"==typeof r&&!e)return r;if(!i||"function"!=typeof i.supports)return!1;var a=i.supports("--css-vars","yes"),s=i.supports("(--css-vars: yes)")&&i.supports("color","#00000000");return n=!(!a&&!s||function(t){var e=t.document,i=e.createElement("div");i.className="mdc-ripple-surface--test-edge-var-bug",e.body.appendChild(i);var n=t.getComputedStyle(i),a=null!==n&&"solid"===n.borderTopStyle;return i.remove(),a}(t)),e||(r=n),n})(window),isUnbounded:()=>!1,isSurfaceActive:()=>t.$el[C.MATCHES](":active"),isSurfaceDisabled:()=>t.disabled,addClass(e){t.$set(t.classes,e,!0)},removeClass(e){t.$delete(t.classes,e)},containsEventTarget:e=>t.$el.contains(e),registerInteractionHandler:(e,i)=>{t.$el.addEventListener(e,i,h())},deregisterInteractionHandler:(e,i)=>{t.$el.removeEventListener(e,i,h())},registerDocumentInteractionHandler:(t,e)=>document.documentElement.addEventListener(t,e,h()),deregisterDocumentInteractionHandler:(t,e)=>document.documentElement.removeEventListener(t,e,h()),registerResizeHandler:t=>window.addEventListener("resize",t),deregisterResizeHandler:t=>window.removeEventListener("resize",t),updateCssVariable:(e,i)=>{t.$set(t.styles,e,i)},computeBoundingRect:()=>t.$el.getBoundingClientRect(),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset})},e))}}const I={data:()=>({classes:{},styles:{}}),mounted(){this.ripple=new C(this),this.ripple.init()},beforeDestroy(){this.ripple.destroy()}};var y={name:"mdc-ripple",mixins:[o.b,I],props:{tag:String}},E=i(0),T=Object(E.a)(y,a,[],!1,null,null,null);T.options.__file="packages/mcwv-ripple/mdc-ripple.vue";var b=T.exports;i.d(e,"RippleBase",function(){return C}),i.d(e,"RippleMixin",function(){return I}),i.d(e,"mdcRipple",function(){return b});e.default=Object(n.a)({mdcRipple:b})},6:function(t,e,i){"use strict";function n(t){return{version:"__VERSION__",install:e=>{for(let i in t){let n=t[i];e.component(n.name,n)}},components:t}}i.d(e,"a",function(){return n})},8:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return a});const n={functional:!0,render:(t,e)=>t(e.props.is||e.props.tag||"div",e.data,e.children)},a={components:{CustomElement:n}}}})});
//# sourceMappingURL=mcwv.chips.min.js.map

@@ -1,6 +0,6 @@

import './styles.scss'
import { autoInit } from '../base'
import plugin from './index.js'
export default plugin
import './styles.scss';
import { autoInit } from '../base';
import plugin from './index.js';
export default plugin;
autoInit(plugin)
autoInit(plugin);

@@ -1,10 +0,10 @@

import { BasePlugin } from '@mcwv/base'
import mdcChip from './mdc-chip.vue'
import mdcChipSet from './mdc-chip-set.vue'
import { BasePlugin } from '@mcwv/base';
import mdcChip from './mdc-chip.vue';
import mdcChipSet from './mdc-chip-set.vue';
export { mdcChip, mdcChipSet }
export { mdcChip, mdcChipSet };
export default BasePlugin({
mdcChip,
mdcChipSet
})
mdcChipSet,
});
{
"name": "@mcwv/chips",
"description": "The Vue Material Adapter for the web chips component",
"version": "0.1.0",
"version": "0.1.2",
"license": "MIT",

@@ -17,6 +17,6 @@ "keywords": [

"dependencies": {
"@mcwv/base": "^0.1.0",
"@mcwv/ripple": "^0.1.0"
"@mcwv/base": "^0.1.2",
"@mcwv/ripple": "^0.1.2"
},
"gitHead": "04a7e19899423b2fc13608ad435b878ef5792faf"
"gitHead": "ea9652c4b2e84843a94b7fdba14a7965651409e1"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc