@mcwv/checkbox
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -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.checkbox=e():(t.wcmv=t.wcmv||{},t.wcmv.checkbox=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=41)}([function(t,e,n){"use strict";function i(t,e,n,i,r,a,s,o){var c,d="function"==typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=n,d._compiled=!0),i&&(d.functional=!0),a&&(d._scopeId="data-v-"+a),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__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},d._ssrRegister=c):r&&(c=o?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(d.functional){d._injectStyles=c;var u=d.render;d.render=function(t,e){return c.call(e),u(t,e)}}else{var l=d.beforeCreate;d.beforeCreate=l?[].concat(l,c):[c]}return{exports:t,options:d}}n.d(e,"a",function(){return i})},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 s}),n.d(e,"c",function(){return o}); | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.checkbox=e():(t.mcwv=t.mcwv||{},t.mcwv.checkbox=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=32)}({0: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 s}),n.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 s(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 o(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,a=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=a.next()).done;)s.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 s}},function(t,e,n){"use strict";n.d(e,"a",function(){return i}); | ||
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 s(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 o(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,a=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=a.next()).done;)s.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 s}},1:function(t,e,n){"use strict";function i(t,e,n,i,r,a,s,o){var c,d="function"==typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=n,d._compiled=!0),i&&(d.functional=!0),a&&(d._scopeId="data-v-"+a),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__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},d._ssrRegister=c):r&&(c=o?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(d.functional){d._injectStyles=c;var u=d.render;d.render=function(t,e){return c.call(e),u(t,e)}}else{var l=d.beforeCreate;d.beforeCreate=l?[].concat(l,c):[c]}return{exports:t,options:d}}n.d(e,"a",function(){return i})},100: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",{staticClass:"mdc-checkbox-wrapper",class:t.formFieldClasses},[n("div",{ref:"root",staticClass:"mdc-checkbox",class:t.classes,style:t.styles},[n("input",{ref:"control",staticClass:"mdc-checkbox__native-control",attrs:{id:t.vma_uid_,name:t.name,type:"checkbox"},domProps:{value:t.value},on:{change:t.onChange}}),t._v(" "),n("div",{staticClass:"mdc-checkbox__background"},[n("svg",{staticClass:"mdc-checkbox__checkmark",attrs:{viewBox:"0 0 24 24"}},[n("path",{staticClass:"mdc-checkbox__checkmark-path",attrs:{fill:"none",stroke:"white",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}})]),t._v(" "),n("div",{staticClass:"mdc-checkbox__mixedmark"})])]),t._v(" "),n("label",{ref:"label",attrs:{for:t.vma_uid_}},[t._t("default",[t._v(t._s(t.label))])],2)])};r._withStripped=!0;var a=n(0),s=n(2),o={ANIM_CHECKED_INDETERMINATE:"mdc-checkbox--anim-checked-indeterminate",ANIM_CHECKED_UNCHECKED:"mdc-checkbox--anim-checked-unchecked",ANIM_INDETERMINATE_CHECKED:"mdc-checkbox--anim-indeterminate-checked",ANIM_INDETERMINATE_UNCHECKED:"mdc-checkbox--anim-indeterminate-unchecked",ANIM_UNCHECKED_CHECKED:"mdc-checkbox--anim-unchecked-checked",ANIM_UNCHECKED_INDETERMINATE:"mdc-checkbox--anim-unchecked-indeterminate",CHECKED:"mdc-checkbox--checked",DISABLED:"mdc-checkbox--disabled",INDETERMINATE:"mdc-checkbox--indeterminate",UPGRADED:"mdc-checkbox--upgraded"},c={ARIA_CHECKED_ATTR:"aria-checked",ARIA_CHECKED_INDETERMINATE_VALUE:"mixed",NATIVE_CONTROL_SELECTOR:".mdc-checkbox__native-control",TRANSITION_STATE_CHECKED:"checked",TRANSITION_STATE_INDETERMINATE:"indeterminate",TRANSITION_STATE_INIT:"init",TRANSITION_STATE_UNCHECKED:"unchecked"},d={ANIM_END_LATCH_MS:250},u=function(t){function e(n){var i=t.call(this,a.a({},e.defaultAdapter,n))||this;return i.currentCheckState_=c.TRANSITION_STATE_INIT,i.currentAnimationClass_="",i.animEndLatchTimer_=0,i.enableAnimationEndHandler_=!1,i}return a.b(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return o},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return c},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return d},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},forceLayout:function(){},hasNativeControl:function(){return!1},isAttachedToDOM:function(){return!1},isChecked:function(){return!1},isIndeterminate:function(){return!1},removeClass:function(){},removeNativeControlAttr:function(){},setNativeControlAttr:function(){},setNativeControlDisabled:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){this.currentCheckState_=this.determineCheckState_(),this.updateAriaChecked_(),this.adapter_.addClass(o.UPGRADED)},e.prototype.destroy=function(){clearTimeout(this.animEndLatchTimer_)},e.prototype.setDisabled=function(t){this.adapter_.setNativeControlDisabled(t),t?this.adapter_.addClass(o.DISABLED):this.adapter_.removeClass(o.DISABLED)},e.prototype.handleAnimationEnd=function(){var t=this;this.enableAnimationEndHandler_&&(clearTimeout(this.animEndLatchTimer_),this.animEndLatchTimer_=setTimeout(function(){t.adapter_.removeClass(t.currentAnimationClass_),t.enableAnimationEndHandler_=!1},d.ANIM_END_LATCH_MS))},e.prototype.handleChange=function(){this.transitionCheckState_()},e.prototype.transitionCheckState_=function(){if(this.adapter_.hasNativeControl()){var t=this.currentCheckState_,e=this.determineCheckState_();t!==e&&(this.updateAriaChecked_(),this.currentAnimationClass_.length>0&&(clearTimeout(this.animEndLatchTimer_),this.adapter_.forceLayout(),this.adapter_.removeClass(this.currentAnimationClass_)),this.currentAnimationClass_=this.getTransitionAnimationClass_(t,e),this.currentCheckState_=e,this.adapter_.isAttachedToDOM()&&this.currentAnimationClass_.length>0&&(this.adapter_.addClass(this.currentAnimationClass_),this.enableAnimationEndHandler_=!0))}},e.prototype.determineCheckState_=function(){var t=c.TRANSITION_STATE_INDETERMINATE,e=c.TRANSITION_STATE_CHECKED,n=c.TRANSITION_STATE_UNCHECKED;return this.adapter_.isIndeterminate()?t:this.adapter_.isChecked()?e:n},e.prototype.getTransitionAnimationClass_=function(t,n){var i=c.TRANSITION_STATE_INIT,r=c.TRANSITION_STATE_CHECKED,a=c.TRANSITION_STATE_UNCHECKED,s=e.cssClasses,o=s.ANIM_UNCHECKED_CHECKED,d=s.ANIM_UNCHECKED_INDETERMINATE,u=s.ANIM_CHECKED_UNCHECKED,l=s.ANIM_CHECKED_INDETERMINATE,h=s.ANIM_INDETERMINATE_CHECKED,p=s.ANIM_INDETERMINATE_UNCHECKED;switch(t){case i:return n===a?"":n===r?h:p;case a:return n===r?o:d;case r:return n===a?u:l;default:return n===r?h:p}},e.prototype.updateAriaChecked_=function(){this.adapter_.isIndeterminate()?this.adapter_.setNativeControlAttr(c.ARIA_CHECKED_ATTR,c.ARIA_CHECKED_INDETERMINATE_VALUE):this.adapter_.removeNativeControlAttr(c.ARIA_CHECKED_ATTR)},e}(s.a),l=n(20),h=n(15),p=n(13),f=n(11),_=n(5),m=n(16);const v=["checked","indeterminate"];function E(t){return!!t&&"function"==typeof t.set}var A={name:"mdc-checkbox",mixins:[p.a,f.a],model:{prop:"checked",event:"change"},props:{checked:[Boolean,Array],indeterminate:Boolean,disabled:Boolean,label:String,"align-end":Boolean,value:{type:[String,Number],default:()=>"on"},name:String},data:()=>({styles:{},classes:{}}),computed:{hasLabel(){return this.label||this.$slots.default},formFieldClasses(){return{"mdc-form-field":this.hasLabel,"mdc-form-field--align-end":this.hasLabel&&this.alignEnd}}},watch:{checked:"setChecked",disabled(t){this.foundation.setDisabled(t)},indeterminate(t){this.setIndeterminate(t)}},mounted(){this.foundation=new u({addClass:t=>this.$set(this.classes,t,!0),removeClass:t=>this.$delete(this.classes,t),setNativeControlAttr:(t,e)=>{this.$refs.control.setAttribute(t,e)},removeNativeControlAttr:t=>{this.$refs.control.removeAttribute(t)},isIndeterminate:()=>this.$refs.control.indeterminate,isChecked:()=>this.checked,hasNativeControl:()=>!!this.$refs.control,setNativeControlDisabled:t=>this.$refs.control.disabled=t,forceLayout:()=>this.$refs.root.offsetWidth,isAttachedToDOM:()=>Boolean(this.$el.parentNode)}),this.handleAnimationEnd_=(()=>this.foundation.handleAnimationEnd()),this.$el.addEventListener(Object(h.a)(window,"animationend"),this.handleAnimationEnd_),this.installPropertyChangeHooks_(),this.ripple=new _.RippleBase(this,{isUnbounded:()=>!0,isSurfaceActive:()=>_.RippleBase.isSurfaceActive(this.$refs.control),registerInteractionHandler:(t,e)=>{this.$refs.control.addEventListener(t,e,Object(m.a)())},deregisterInteractionHandler:(t,e)=>{this.$refs.control.removeEventListener(t,e,Object(m.a)())},computeBoundingRect:()=>this.$refs.root.getBoundingClientRect()}),this.formField=new l.a({registerInteractionHandler:(t,e)=>{this.$refs.label.addEventListener(t,e)},deregisterInteractionHandler:(t,e)=>{this.$refs.label.removeEventListener(t,e)},activateInputRipple:()=>{this.ripple&&this.ripple.activate()},deactivateInputRipple:()=>{this.ripple&&this.ripple.deactivate()}}),this.foundation.init(),this.ripple.init(),this.formField.init(),this.setChecked(this.checked),this.foundation.setDisabled(this.disabled),this.setIndeterminate(this.indeterminate)},beforeDestroy(){this.$el.removeEventListener(Object(h.a)(window,"animationend"),this.handleAnimationEnd_),this.formField.destroy(),this.ripple.destroy(),this.uninstallPropertyChangeHooks_(),this.foundation.destroy()},methods:{setChecked(t){this.$refs.control.checked=Array.isArray(t)?t.indexOf(this.value)>-1:t},setIndeterminate(t){this.$refs.control.indeterminate=t},onChange(){this.$emit("update:indeterminate",this.indeterminate);const t=this.$refs.control.checked;if(Array.isArray(this.checked)){const e=this.checked.indexOf(this.value);t?e<0&&this.$emit("change",this.checked.concat(this.value)):e>-1&&this.$emit("change",this.checked.slice(0,e).concat(this.checked.slice(e+1)))}else this.$emit("change",t)},installPropertyChangeHooks_(){const t=this.$refs.control,e=Object.getPrototypeOf(t);v.forEach(n=>{const i=Object.getOwnPropertyDescriptor(e,n);if(E(i)){const e={get:i.get,set:e=>{i.set.call(t,e),this.foundation.handleChange()},configurable:i.configurable,enumerable:i.enumerable};Object.defineProperty(t,n,e)}})},uninstallPropertyChangeHooks_(){const t=this.$refs.control,e=Object.getPrototypeOf(t);v.forEach(n=>{const i=Object.getOwnPropertyDescriptor(e,n);E(i)&&Object.defineProperty(t,n,i)})}}},C=n(1),b=Object(C.a)(A,r,[],!1,null,null,null);b.options.__file="packages/mcwv-checkbox/mdc-checkbox.vue";var g=b.exports;n.d(e,"mdcCheckbox",function(){return g});e.default=Object(i.a)({mdcCheckbox:g})},11:function(t,e,n){"use strict";n.d(e,"a",function(){return r});const i=Math.floor(Math.random()*Math.floor(268435456)).toString()+"-",r={beforeCreate(){this.vma_uid_=i+this._uid}}},13:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i={data:()=>({hasFocus:!1}),methods:{onMouseDown(){this._active=!0},onMouseUp(){this._active=!1},onFocusEvent(){setTimeout(()=>this.dispatchFocusEvent(),0)},onBlurEvent(){this._active||setTimeout(()=>this.dispatchFocusEvent(),0)},dispatchFocusEvent(){let t=this.$el===document.activeElement||this.$el.contains(document.activeElement);t!=this.hasFocus&&(this.$emit(t?"focus":"blur"),this.hasFocus=t)}},mounted(){this.$el.addEventListener("focusin",this.onFocusEvent),this.$el.addEventListener("focusout",this.onBlurEvent),this.$el.addEventListener("mousedown",this.onMouseDown),this.$el.addEventListener("mouseup",this.onMouseUp)},beforeDestroy(){this.$el.removeEventListener("focusin",this.onFocusEvent),this.$el.removeEventListener("focusout",this.onBlurEvent),this.$el.removeEventListener("mousedown",this.onMouseDown),this.$el.removeEventListener("mouseup",this.onMouseUp)}}},15:function(t,e,n){"use strict";n.d(e,"b",function(){return s}),n.d(e,"a",function(){return o}); | ||
/** | ||
@@ -40,6 +40,6 @@ * @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}()},,function(t,e,n){"use strict"; | ||
var i={animation:{prefixed:"-webkit-animation",standard:"animation"},transform:{prefixed:"-webkit-transform",standard:"transform"},transition:{prefixed:"-webkit-transition",standard:"transition"}},r={animationend:{cssProperty:"animation",prefixed:"webkitAnimationEnd",standard:"animationend"},animationiteration:{cssProperty:"animation",prefixed:"webkitAnimationIteration",standard:"animationiteration"},animationstart:{cssProperty:"animation",prefixed:"webkitAnimationStart",standard:"animationstart"},transitionend:{cssProperty:"transition",prefixed:"webkitTransitionEnd",standard:"transitionend"}};function a(t){return Boolean(t.document)&&"function"==typeof t.document.createElement}function s(t,e){if(a(t)&&e in i){var n=t.document.createElement("div"),r=i[e],s=r.standard,o=r.prefixed;return s in n.style?s:o}return e}function o(t,e){if(a(t)&&e in r){var n=t.document.createElement("div"),i=r[e],s=i.standard,o=i.prefixed;return i.cssProperty in n.style?s:o}return e}},16:function(t,e,n){"use strict";let i;function r(t=window,e=!1){if(void 0===i||e){let e=!1;try{t.document.addEventListener("test",null,{get passive(){return e={passive:!0}}})}catch(t){}i=e}return i}n.d(e,"a",function(){return r})},2:function(t,e,n){"use strict";n.d(e,"a",function(){return i}); | ||
/** | ||
* @license | ||
* Copyright 2018 Google Inc. | ||
* Copyright 2016 Google Inc. | ||
* | ||
@@ -64,6 +64,6 @@ * Permission is hereby granted, free of charge, to any person obtaining a copy | ||
*/ | ||
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})},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,s,o=n(8),c=n(1),d=n(2),u={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"},h={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300};function p(t,e){if(void 0===t&&(t=window),void 0===e&&(e=!1),void 0===s||e){var n=!1;try{t.document.addEventListener("test",function(){},{get passive(){return n=!0}})}catch(t){}s=n}return!!s&&{passive:!0}} | ||
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}()},20:function(t,e,n){"use strict";var i=n(0),r=n(2),a={ROOT:"mdc-form-field"},s={LABEL_SELECTOR:".mdc-form-field > label"},o=function(t){function e(n){var r=t.call(this,i.a({},e.defaultAdapter,n))||this;return r.clickHandler_=function(){return r.handleClick_()},r}return i.b(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return a},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return s},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{activateInputRipple:function(){},deactivateInputRipple:function(){},deregisterInteractionHandler:function(){},registerInteractionHandler:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){this.adapter_.registerInteractionHandler("click",this.clickHandler_)},e.prototype.destroy=function(){this.adapter_.deregisterInteractionHandler("click",this.clickHandler_)},e.prototype.handleClick_=function(){var t=this;this.adapter_.activateInputRipple(),requestAnimationFrame(function(){return t.adapter_.deactivateInputRipple()})},e}(r.a);e.a=o},32:function(t,e,n){n(100),t.exports=n(33)},33:function(t,e,n){},4:function(t,e,n){"use strict"; | ||
/** | ||
* @license | ||
* Copyright 2016 Google Inc. | ||
* Copyright 2018 Google Inc. | ||
* | ||
@@ -88,3 +88,3 @@ * Permission is hereby granted, free of charge, to any person obtaining a copy | ||
*/ | ||
var f=["touchstart","pointerdown","mousedown","keydown"],_=["touchend","pointerup","mouseup","contextmenu"],m=[],v=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 u},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return l},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return h},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&&(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,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&&m.length>0&&m.some(function(t){return e.adapter_.containsEventTarget(t)})?this.resetActivationState_():(void 0!==t&&(m.push(t.target),this.registerDeactivationHandlers_(t)),n.wasElementMadeActive=this.checkElementMadeActive_(t),n.wasElementMadeActive&&this.animateActivation_(),requestAnimationFrame(function(){m=[],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,s=a.FG_DEACTIVATION,o=a.FG_ACTIVATION,c=e.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal_();var d="",u="";if(!this.adapter_.isUnbounded()){var l=this.getFgTranslationCoordinates_(),h=l.startPoint,p=l.endPoint;d=h.x+"px, "+h.y+"px",u=p.x+"px, "+p.y+"px"}this.adapter_.updateCssVariable(i,d),this.adapter_.updateCssVariable(r,u),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_,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,s=e.y,o=a+n.left,c=s+n.top;if("touchstart"===t.type){var d=t;i=d.changedTouches[0].pageX-o,r=d.changedTouches[0].pageY-c}else{var u=t;i=u.pageX-o,r=u.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)},h.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}(d.a),E=n(4);class A extends v{static get MATCHES(){return A._matches||(A._matches=Object(E.b)(HTMLElement.prototype))}static isSurfaceActive(t){return t[A.MATCHES](":active")}constructor(t,e){super(Object.assign({browserSupportsCssVars:()=>(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"),s=n.supports("(--css-vars: yes)")&&n.supports("color","#00000000");return i=!(!r&&!s||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:()=>!1,isSurfaceActive:()=>t.$el[A.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,n)=>{t.$el.addEventListener(e,n,p())},deregisterInteractionHandler:(e,n)=>{t.$el.removeEventListener(e,n,p())},registerDocumentInteractionHandler:(t,e)=>document.documentElement.addEventListener(t,e,p()),deregisterDocumentInteractionHandler:(t,e)=>document.documentElement.removeEventListener(t,e,p()),registerResizeHandler:t=>window.addEventListener("resize",t),deregisterResizeHandler:t=>window.removeEventListener("resize",t),updateCssVariable:(e,n)=>{t.$set(t.styles,e,n)},computeBoundingRect:()=>t.$el.getBoundingClientRect(),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset})},e))}}const C={data:()=>({classes:{},styles:{}}),mounted(){this.ripple=new A(this),this.ripple.init()},beforeDestroy(){this.ripple.destroy()}};var b={name:"mdc-ripple",mixins:[o.b,C],props:{tag:String}},g=n(0),y=Object(g.a)(b,r,[],!1,null,null,null);y.options.__file="packages/mcwv-ripple/mdc-ripple.vue";var T=y.exports;n.d(e,"RippleBase",function(){return A}),n.d(e,"RippleMixin",function(){return C}),n.d(e,"mdcRipple",function(){return T});e.default=Object(i.a)({mdcRipple:T})},function(t,e,n){"use strict";function i(t){return{version:"__VERSION__",install:e=>{for(let n in t){let i=t[n];e.component(i.name,i)}},components:t}}n.d(e,"a",function(){return i})},,function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r});const i={functional:!0,render:(t,e)=>t(e.props.is||e.props.tag||"div",e.data,e.children)},r={components:{CustomElement:i}}},,,function(t,e,n){"use strict";n.d(e,"a",function(){return r});const i=Math.floor(Math.random()*Math.floor(268435456)).toString()+"-",r={beforeCreate(){this.vma_uid_=i+this._uid}}},,function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i={data:()=>({hasFocus:!1}),methods:{onMouseDown(){this._active=!0},onMouseUp(){this._active=!1},onFocusEvent(){setTimeout(()=>this.dispatchFocusEvent(),0)},onBlurEvent(){this._active||setTimeout(()=>this.dispatchFocusEvent(),0)},dispatchFocusEvent(){let t=this.$el===document.activeElement||this.$el.contains(document.activeElement);t!=this.hasFocus&&(this.$emit(t?"focus":"blur"),this.hasFocus=t)}},mounted(){this.$el.addEventListener("focusin",this.onFocusEvent),this.$el.addEventListener("focusout",this.onBlurEvent),this.$el.addEventListener("mousedown",this.onMouseDown),this.$el.addEventListener("mouseup",this.onMouseUp)},beforeDestroy(){this.$el.removeEventListener("focusin",this.onFocusEvent),this.$el.removeEventListener("focusout",this.onBlurEvent),this.$el.removeEventListener("mousedown",this.onMouseDown),this.$el.removeEventListener("mouseup",this.onMouseUp)}}},,function(t,e,n){"use strict";n.d(e,"b",function(){return s}),n.d(e,"a",function(){return o}); | ||
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,s,o=n(8),c=n(0),d=n(2),u={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"},h={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300};function p(t,e){if(void 0===t&&(t=window),void 0===e&&(e=!1),void 0===s||e){var n=!1;try{t.document.addEventListener("test",function(){},{get passive(){return n=!0}})}catch(t){}s=n}return!!s&&{passive:!0}} | ||
/** | ||
@@ -112,3 +112,3 @@ * @license | ||
*/ | ||
var i={animation:{prefixed:"-webkit-animation",standard:"animation"},transform:{prefixed:"-webkit-transform",standard:"transform"},transition:{prefixed:"-webkit-transition",standard:"transition"}},r={animationend:{cssProperty:"animation",prefixed:"webkitAnimationEnd",standard:"animationend"},animationiteration:{cssProperty:"animation",prefixed:"webkitAnimationIteration",standard:"animationiteration"},animationstart:{cssProperty:"animation",prefixed:"webkitAnimationStart",standard:"animationstart"},transitionend:{cssProperty:"transition",prefixed:"webkitTransitionEnd",standard:"transitionend"}};function a(t){return Boolean(t.document)&&"function"==typeof t.document.createElement}function s(t,e){if(a(t)&&e in i){var n=t.document.createElement("div"),r=i[e],s=r.standard,o=r.prefixed;return s in n.style?s:o}return e}function o(t,e){if(a(t)&&e in r){var n=t.document.createElement("div"),i=r[e],s=i.standard,o=i.prefixed;return i.cssProperty in n.style?s:o}return e}},,function(t,e,n){"use strict";let i;function r(t=window,e=!1){if(void 0===i||e){let e=!1;try{t.document.addEventListener("test",null,{get passive(){return e={passive:!0}}})}catch(t){}i=e}return i}n.d(e,"a",function(){return r})},,,function(t,e,n){"use strict";var i=n(1),r=n(2),a={ROOT:"mdc-form-field"},s={LABEL_SELECTOR:".mdc-form-field > label"},o=function(t){function e(n){var r=t.call(this,i.a({},e.defaultAdapter,n))||this;return r.clickHandler_=function(){return r.handleClick_()},r}return i.b(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return a},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return s},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{activateInputRipple:function(){},deactivateInputRipple:function(){},deregisterInteractionHandler:function(){},registerInteractionHandler:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){this.adapter_.registerInteractionHandler("click",this.clickHandler_)},e.prototype.destroy=function(){this.adapter_.deregisterInteractionHandler("click",this.clickHandler_)},e.prototype.handleClick_=function(){var t=this;this.adapter_.activateInputRipple(),requestAnimationFrame(function(){return t.adapter_.deactivateInputRipple()})},e}(r.a);e.a=o},,,,,,,,,,,,,,,,,,,,,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",{staticClass:"mdc-checkbox-wrapper",class:t.formFieldClasses},[n("div",{ref:"root",staticClass:"mdc-checkbox",class:t.classes,style:t.styles},[n("input",{ref:"control",staticClass:"mdc-checkbox__native-control",attrs:{id:t.vma_uid_,name:t.name,type:"checkbox"},domProps:{value:t.value},on:{change:t.onChange}}),t._v(" "),n("div",{staticClass:"mdc-checkbox__background"},[n("svg",{staticClass:"mdc-checkbox__checkmark",attrs:{viewBox:"0 0 24 24"}},[n("path",{staticClass:"mdc-checkbox__checkmark-path",attrs:{fill:"none",stroke:"white",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}})]),t._v(" "),n("div",{staticClass:"mdc-checkbox__mixedmark"})])]),t._v(" "),n("label",{ref:"label",attrs:{for:t.vma_uid_}},[t._t("default",[t._v(t._s(t.label))])],2)])};r._withStripped=!0;var a=n(1),s=n(2),o={ANIM_CHECKED_INDETERMINATE:"mdc-checkbox--anim-checked-indeterminate",ANIM_CHECKED_UNCHECKED:"mdc-checkbox--anim-checked-unchecked",ANIM_INDETERMINATE_CHECKED:"mdc-checkbox--anim-indeterminate-checked",ANIM_INDETERMINATE_UNCHECKED:"mdc-checkbox--anim-indeterminate-unchecked",ANIM_UNCHECKED_CHECKED:"mdc-checkbox--anim-unchecked-checked",ANIM_UNCHECKED_INDETERMINATE:"mdc-checkbox--anim-unchecked-indeterminate",CHECKED:"mdc-checkbox--checked",DISABLED:"mdc-checkbox--disabled",INDETERMINATE:"mdc-checkbox--indeterminate",UPGRADED:"mdc-checkbox--upgraded"},c={ARIA_CHECKED_ATTR:"aria-checked",ARIA_CHECKED_INDETERMINATE_VALUE:"mixed",NATIVE_CONTROL_SELECTOR:".mdc-checkbox__native-control",TRANSITION_STATE_CHECKED:"checked",TRANSITION_STATE_INDETERMINATE:"indeterminate",TRANSITION_STATE_INIT:"init",TRANSITION_STATE_UNCHECKED:"unchecked"},d={ANIM_END_LATCH_MS:250},u=function(t){function e(n){var i=t.call(this,a.a({},e.defaultAdapter,n))||this;return i.currentCheckState_=c.TRANSITION_STATE_INIT,i.currentAnimationClass_="",i.animEndLatchTimer_=0,i.enableAnimationEndHandler_=!1,i}return a.b(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return o},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return c},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return d},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},forceLayout:function(){},hasNativeControl:function(){return!1},isAttachedToDOM:function(){return!1},isChecked:function(){return!1},isIndeterminate:function(){return!1},removeClass:function(){},removeNativeControlAttr:function(){},setNativeControlAttr:function(){},setNativeControlDisabled:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){this.currentCheckState_=this.determineCheckState_(),this.updateAriaChecked_(),this.adapter_.addClass(o.UPGRADED)},e.prototype.destroy=function(){clearTimeout(this.animEndLatchTimer_)},e.prototype.setDisabled=function(t){this.adapter_.setNativeControlDisabled(t),t?this.adapter_.addClass(o.DISABLED):this.adapter_.removeClass(o.DISABLED)},e.prototype.handleAnimationEnd=function(){var t=this;this.enableAnimationEndHandler_&&(clearTimeout(this.animEndLatchTimer_),this.animEndLatchTimer_=setTimeout(function(){t.adapter_.removeClass(t.currentAnimationClass_),t.enableAnimationEndHandler_=!1},d.ANIM_END_LATCH_MS))},e.prototype.handleChange=function(){this.transitionCheckState_()},e.prototype.transitionCheckState_=function(){if(this.adapter_.hasNativeControl()){var t=this.currentCheckState_,e=this.determineCheckState_();t!==e&&(this.updateAriaChecked_(),this.currentAnimationClass_.length>0&&(clearTimeout(this.animEndLatchTimer_),this.adapter_.forceLayout(),this.adapter_.removeClass(this.currentAnimationClass_)),this.currentAnimationClass_=this.getTransitionAnimationClass_(t,e),this.currentCheckState_=e,this.adapter_.isAttachedToDOM()&&this.currentAnimationClass_.length>0&&(this.adapter_.addClass(this.currentAnimationClass_),this.enableAnimationEndHandler_=!0))}},e.prototype.determineCheckState_=function(){var t=c.TRANSITION_STATE_INDETERMINATE,e=c.TRANSITION_STATE_CHECKED,n=c.TRANSITION_STATE_UNCHECKED;return this.adapter_.isIndeterminate()?t:this.adapter_.isChecked()?e:n},e.prototype.getTransitionAnimationClass_=function(t,n){var i=c.TRANSITION_STATE_INIT,r=c.TRANSITION_STATE_CHECKED,a=c.TRANSITION_STATE_UNCHECKED,s=e.cssClasses,o=s.ANIM_UNCHECKED_CHECKED,d=s.ANIM_UNCHECKED_INDETERMINATE,u=s.ANIM_CHECKED_UNCHECKED,l=s.ANIM_CHECKED_INDETERMINATE,h=s.ANIM_INDETERMINATE_CHECKED,p=s.ANIM_INDETERMINATE_UNCHECKED;switch(t){case i:return n===a?"":n===r?h:p;case a:return n===r?o:d;case r:return n===a?u:l;default:return n===r?h:p}},e.prototype.updateAriaChecked_=function(){this.adapter_.isIndeterminate()?this.adapter_.setNativeControlAttr(c.ARIA_CHECKED_ATTR,c.ARIA_CHECKED_INDETERMINATE_VALUE):this.adapter_.removeNativeControlAttr(c.ARIA_CHECKED_ATTR)},e}(s.a),l=n(20),h=n(15),p=n(13),f=n(11),_=n(5),m=n(17);const v=["checked","indeterminate"];function E(t){return!!t&&"function"==typeof t.set}var A={name:"mdc-checkbox",mixins:[p.a,f.a],model:{prop:"checked",event:"change"},props:{checked:[Boolean,Array],indeterminate:Boolean,disabled:Boolean,label:String,"align-end":Boolean,value:{type:[String,Number],default:()=>"on"},name:String},data:()=>({styles:{},classes:{}}),computed:{hasLabel(){return this.label||this.$slots.default},formFieldClasses(){return{"mdc-form-field":this.hasLabel,"mdc-form-field--align-end":this.hasLabel&&this.alignEnd}}},watch:{checked:"setChecked",disabled(t){this.foundation.setDisabled(t)},indeterminate(t){this.setIndeterminate(t)}},mounted(){this.foundation=new u({addClass:t=>this.$set(this.classes,t,!0),removeClass:t=>this.$delete(this.classes,t),setNativeControlAttr:(t,e)=>{this.$refs.control.setAttribute(t,e)},removeNativeControlAttr:t=>{this.$refs.control.removeAttribute(t)},isIndeterminate:()=>this.$refs.control.indeterminate,isChecked:()=>this.checked,hasNativeControl:()=>!!this.$refs.control,setNativeControlDisabled:t=>this.$refs.control.disabled=t,forceLayout:()=>this.$refs.root.offsetWidth,isAttachedToDOM:()=>Boolean(this.$el.parentNode)}),this.handleAnimationEnd_=(()=>this.foundation.handleAnimationEnd()),this.$el.addEventListener(Object(h.a)(window,"animationend"),this.handleAnimationEnd_),this.installPropertyChangeHooks_(),this.ripple=new _.RippleBase(this,{isUnbounded:()=>!0,isSurfaceActive:()=>_.RippleBase.isSurfaceActive(this.$refs.control),registerInteractionHandler:(t,e)=>{this.$refs.control.addEventListener(t,e,Object(m.a)())},deregisterInteractionHandler:(t,e)=>{this.$refs.control.removeEventListener(t,e,Object(m.a)())},computeBoundingRect:()=>this.$refs.root.getBoundingClientRect()}),this.formField=new l.a({registerInteractionHandler:(t,e)=>{this.$refs.label.addEventListener(t,e)},deregisterInteractionHandler:(t,e)=>{this.$refs.label.removeEventListener(t,e)},activateInputRipple:()=>{this.ripple&&this.ripple.activate()},deactivateInputRipple:()=>{this.ripple&&this.ripple.deactivate()}}),this.foundation.init(),this.ripple.init(),this.formField.init(),this.setChecked(this.checked),this.foundation.setDisabled(this.disabled),this.setIndeterminate(this.indeterminate)},beforeDestroy(){this.$el.removeEventListener(Object(h.a)(window,"animationend"),this.handleAnimationEnd_),this.formField.destroy(),this.ripple.destroy(),this.uninstallPropertyChangeHooks_(),this.foundation.destroy()},methods:{setChecked(t){this.$refs.control.checked=Array.isArray(t)?t.indexOf(this.value)>-1:t},setIndeterminate(t){this.$refs.control.indeterminate=t},onChange(){this.$emit("update:indeterminate",this.indeterminate);const t=this.$refs.control.checked;if(Array.isArray(this.checked)){const e=this.checked.indexOf(this.value);t?e<0&&this.$emit("change",this.checked.concat(this.value)):e>-1&&this.$emit("change",this.checked.slice(0,e).concat(this.checked.slice(e+1)))}else this.$emit("change",t)},installPropertyChangeHooks_(){const t=this.$refs.control,e=Object.getPrototypeOf(t);v.forEach(n=>{const i=Object.getOwnPropertyDescriptor(e,n);if(E(i)){const e={get:i.get,set:e=>{i.set.call(t,e),this.foundation.handleChange()},configurable:i.configurable,enumerable:i.enumerable};Object.defineProperty(t,n,e)}})},uninstallPropertyChangeHooks_(){const t=this.$refs.control,e=Object.getPrototypeOf(t);v.forEach(n=>{const i=Object.getOwnPropertyDescriptor(e,n);E(i)&&Object.defineProperty(t,n,i)})}}},C=n(0),b=Object(C.a)(A,r,[],!1,null,null,null);b.options.__file="packages/mcwv-checkbox/mdc-checkbox.vue";var g=b.exports;n.d(e,"mdcCheckbox",function(){return g});e.default=Object(i.a)({mdcCheckbox:g})}])}); | ||
var f=["touchstart","pointerdown","mousedown","keydown"],_=["touchend","pointerup","mouseup","contextmenu"],m=[],v=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 u},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return l},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return h},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&&(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,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&&m.length>0&&m.some(function(t){return e.adapter_.containsEventTarget(t)})?this.resetActivationState_():(void 0!==t&&(m.push(t.target),this.registerDeactivationHandlers_(t)),n.wasElementMadeActive=this.checkElementMadeActive_(t),n.wasElementMadeActive&&this.animateActivation_(),requestAnimationFrame(function(){m=[],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,s=a.FG_DEACTIVATION,o=a.FG_ACTIVATION,c=e.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal_();var d="",u="";if(!this.adapter_.isUnbounded()){var l=this.getFgTranslationCoordinates_(),h=l.startPoint,p=l.endPoint;d=h.x+"px, "+h.y+"px",u=p.x+"px, "+p.y+"px"}this.adapter_.updateCssVariable(i,d),this.adapter_.updateCssVariable(r,u),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_,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,s=e.y,o=a+n.left,c=s+n.top;if("touchstart"===t.type){var d=t;i=d.changedTouches[0].pageX-o,r=d.changedTouches[0].pageY-c}else{var u=t;i=u.pageX-o,r=u.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)},h.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}(d.a),E=n(4);class A extends v{static get MATCHES(){return A._matches||(A._matches=Object(E.b)(HTMLElement.prototype))}static isSurfaceActive(t){return t[A.MATCHES](":active")}constructor(t,e){super(Object.assign({browserSupportsCssVars:()=>(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"),s=n.supports("(--css-vars: yes)")&&n.supports("color","#00000000");return i=!(!r&&!s||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:()=>!1,isSurfaceActive:()=>t.$el[A.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,n)=>{t.$el.addEventListener(e,n,p())},deregisterInteractionHandler:(e,n)=>{t.$el.removeEventListener(e,n,p())},registerDocumentInteractionHandler:(t,e)=>document.documentElement.addEventListener(t,e,p()),deregisterDocumentInteractionHandler:(t,e)=>document.documentElement.removeEventListener(t,e,p()),registerResizeHandler:t=>window.addEventListener("resize",t),deregisterResizeHandler:t=>window.removeEventListener("resize",t),updateCssVariable:(e,n)=>{t.$set(t.styles,e,n)},computeBoundingRect:()=>t.$el.getBoundingClientRect(),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset})},e))}}const C={data:()=>({classes:{},styles:{}}),mounted(){this.ripple=new A(this),this.ripple.init()},beforeDestroy(){this.ripple.destroy()}};var b={name:"mdc-ripple",mixins:[o.b,C],props:{tag:String}},g=n(1),y=Object(g.a)(b,r,[],!1,null,null,null);y.options.__file="packages/mcwv-ripple/mdc-ripple.vue";var T=y.exports;n.d(e,"RippleBase",function(){return A}),n.d(e,"RippleMixin",function(){return C}),n.d(e,"mdcRipple",function(){return T});e.default=Object(i.a)({mdcRipple:T})},6:function(t,e,n){"use strict";function i(t){return{version:"__VERSION__",install:e=>{for(let n in t){let 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});const i={functional:!0,render:(t,e)=>t(e.props.is||e.props.tag||"div",e.data,e.children)},r={components:{CustomElement:i}}}})}); | ||
//# sourceMappingURL=mcwv.checkbox.min.js.map |
{ | ||
"name": "@mcwv/checkbox", | ||
"description": "The Vue Material Adapter for the web checkbox component", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"license": "MIT", | ||
@@ -18,5 +18,5 @@ "keywords": [ | ||
"@mcwv/base": "^0.1.2", | ||
"@mcwv/ripple": "^0.1.2" | ||
"@mcwv/ripple": "^0.1.3" | ||
}, | ||
"gitHead": "ea9652c4b2e84843a94b7fdba14a7965651409e1" | ||
"gitHead": "af3698c293fd23d265b5ec0e3221e507f3d12f52" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
193026
10
274
Updated@mcwv/ripple@^0.1.3