@rei/cdr-checkbox
Advanced tools
Comparing version 1.0.3-alpha.0 to 1.0.3
@@ -1,1 +0,1 @@ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("CdrCheckbox",[],e):"object"==typeof exports?exports.CdrCheckbox=e():t.CdrCheckbox=e()}("undefined"!=typeof self?self:this,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},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)}([function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){t.exports=!n(6)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(8),o=n(22),u=n(11),i=Object.defineProperty;e.f=n(2)?Object.defineProperty:function(t,e,n){if(r(t),e=u(e,!0),r(n),o)try{return i(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(46),o=n(47);t.exports=function(t){return r(o(t))}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(3),o=n(12);t.exports=n(2)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(7),o=n(0),u=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return u[t]||(u[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(14)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!0},function(t,e,n){var r=n(13)("wks"),o=n(9),u=n(0).Symbol,i="function"==typeof u;(t.exports=function(t){return r[t]||(r[t]=i&&u[t]||(i?u:o)("Symbol."+t))}).store=r},function(t,e,n){var r=n(0),o=n(7),u=n(14),i=n(24),c=n(3).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=u?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||c(e,t,{value:i.f(t)})}},function(t,e,n){var r=n(25),o=n(18);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";var r=n(21);e.a=r.a},function(t,e,n){"use strict";var r=n(36),o=n.n(r),u=n(60);e.a={name:"CdrCheckbox",mixins:[u.a],inheritAttrs:!1,props:{labelClass:String,inputClass:String,contentClass:String,indeterminate:{type:Boolean,default:!1},trueValue:{type:[String,Number,Boolean,Object,Array,o.a,Function],default:!0},falseValue:{type:[String,Number,Boolean,Object,Array,o.a,Function],default:!1},customValue:[String,Number,Boolean,Object,Array,o.a,Function],value:{type:[String,Number,Boolean,Object,Array,o.a,Function]}},data:function(){return{newValue:this.value}},computed:{baseClass:function(){return"cdr-checkbox"}},watch:{value:function(t){this.newValue=t},newValue:function(t){this.$emit("input",t)}},methods:{updateValue:function(t,e){this.newValue=t,this.$emit("change",t,e)}}}},function(t,e,n){t.exports=!n(2)&&!n(6)(function(){return 7!=Object.defineProperty(n(23)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(4),o=n(0).document,u=r(o)&&r(o.createElement);t.exports=function(t){return u?o.createElement(t):{}}},function(t,e,n){e.f=n(15)},function(t,e,n){var r=n(1),o=n(5),u=n(48)(!1),i=n(28)("IE_PROTO");t.exports=function(t,e){var n,c=o(t),a=0,f=[];for(n in c)n!=i&&r(c,n)&&f.push(n);for(;e.length>a;)r(c,n=e[a++])&&(~u(f,n)||f.push(n));return f}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(13)("keys"),o=n(9);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(25),o=n(18).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e){t.exports={"cdr-checkbox":"cdr-checkbox_1.0.3-alpha.0","cdr-checkbox__wrap":"cdr-checkbox__wrap_1.0.3-alpha.0","cdr-checkbox__input":"cdr-checkbox__input_1.0.3-alpha.0","cdr-checkbox__figure":"cdr-checkbox__figure_1.0.3-alpha.0","cdr-checkbox__content":"cdr-checkbox__content_1.0.3-alpha.0","cdr-checkbox--compact":"cdr-checkbox--compact_1.0.3-alpha.0","cdr-checkbox--hide-figure":"cdr-checkbox--hide-figure_1.0.3-alpha.0"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(33);n.d(e,"CdrCheckbox",function(){return r.a})},function(t,e,n){"use strict";var r=n(34),o=n(20),u=n(62),i=n(63);var c=Object(i.a)(o.a,r.a,r.b,!1,function(t){this.$style=u.default.locals||u.default},null,null);e.a=c.exports},function(t,e,n){"use strict";var r=n(35);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b})},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.$style["cdr-checkbox__wrap"]},[n("label",{ref:"label",class:[t.modifierClass,t.labelClass]},[n("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.newValue,expression:"newValue"}],ref:"checkbox",class:[t.$style["cdr-checkbox__input"],t.inputClass],attrs:{type:"checkbox","true-value":t.customValue?null:t.trueValue,"false-value":t.customValue?null:t.falseValue,indeterminate:t.indeterminate},domProps:{value:t.customValue,checked:Array.isArray(t.newValue)?t._i(t.newValue,t.customValue)>-1:t._q(t.newValue,t.customValue?null:t.trueValue)},on:{change:[function(e){var n=t.newValue,r=e.target,o=r.checked?t.customValue?null:t.trueValue:t.customValue?null:t.falseValue;if(Array.isArray(n)){var u=t.customValue,i=t._i(n,u);r.checked?i<0&&(t.newValue=n.concat([u])):i>-1&&(t.newValue=n.slice(0,i).concat(n.slice(i+1)))}else t.newValue=o},function(e){t.updateValue(t.newValue,e)}]}},"input",t.$attrs,!1)),t._v(" "),n("span",{class:t.$style["cdr-checkbox__figure"]}),t._v(" "),n("div",{class:[t.$style["cdr-checkbox__content"],t.contentClass]},[t._t("default")],2)])])},o=[]},function(t,e,n){t.exports={default:n(37),__esModule:!0}},function(t,e,n){n(38),n(57),n(58),n(59),t.exports=n(7).Symbol},function(t,e,n){"use strict";var r=n(0),o=n(1),u=n(2),i=n(39),c=n(42),a=n(43).KEY,f=n(6),s=n(13),l=n(44),p=n(9),d=n(15),h=n(24),y=n(16),v=n(45),b=n(51),m=n(8),x=n(4),_=n(5),g=n(11),w=n(12),O=n(52),S=n(55),j=n(56),C=n(3),k=n(17),V=j.f,E=C.f,P=S.f,N=r.Symbol,F=r.JSON,$=F&&F.stringify,M=d("_hidden"),T=d("toPrimitive"),A={}.propertyIsEnumerable,I=s("symbol-registry"),R=s("symbols"),B=s("op-symbols"),W=Object.prototype,D="function"==typeof N,J=r.QObject,z=!J||!J.prototype||!J.prototype.findChild,G=u&&f(function(){return 7!=O(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=V(W,e);r&&delete W[e],E(t,e,n),r&&t!==W&&E(W,e,r)}:E,K=function(t){var e=R[t]=O(N.prototype);return e._k=t,e},U=D&&"symbol"==typeof N.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof N},X=function(t,e,n){return t===W&&X(B,e,n),m(t),e=g(e,!0),m(n),o(R,e)?(n.enumerable?(o(t,M)&&t[M][e]&&(t[M][e]=!1),n=O(n,{enumerable:w(0,!1)})):(o(t,M)||E(t,M,w(1,{})),t[M][e]=!0),G(t,e,n)):E(t,e,n)},Y=function(t,e){m(t);for(var n,r=v(e=_(e)),o=0,u=r.length;u>o;)X(t,n=r[o++],e[n]);return t},q=function(t){var e=A.call(this,t=g(t,!0));return!(this===W&&o(R,t)&&!o(B,t))&&(!(e||!o(this,t)||!o(R,t)||o(this,M)&&this[M][t])||e)},L=function(t,e){if(t=_(t),e=g(e,!0),t!==W||!o(R,e)||o(B,e)){var n=V(t,e);return!n||!o(R,e)||o(t,M)&&t[M][e]||(n.enumerable=!0),n}},Q=function(t){for(var e,n=P(_(t)),r=[],u=0;n.length>u;)o(R,e=n[u++])||e==M||e==a||r.push(e);return r},H=function(t){for(var e,n=t===W,r=P(n?B:_(t)),u=[],i=0;r.length>i;)!o(R,e=r[i++])||n&&!o(W,e)||u.push(R[e]);return u};D||(c((N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===W&&e.call(B,n),o(this,M)&&o(this[M],t)&&(this[M][t]=!1),G(this,t,w(1,n))};return u&&z&&G(W,t,{configurable:!0,set:e}),K(t)}).prototype,"toString",function(){return this._k}),j.f=L,C.f=X,n(30).f=S.f=Q,n(19).f=q,n(29).f=H,u&&!n(14)&&c(W,"propertyIsEnumerable",q,!0),h.f=function(t){return K(d(t))}),i(i.G+i.W+i.F*!D,{Symbol:N});for(var Z="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;Z.length>tt;)d(Z[tt++]);for(var et=k(d.store),nt=0;et.length>nt;)y(et[nt++]);i(i.S+i.F*!D,"Symbol",{for:function(t){return o(I,t+="")?I[t]:I[t]=N(t)},keyFor:function(t){if(!U(t))throw TypeError(t+" is not a symbol!");for(var e in I)if(I[e]===t)return e},useSetter:function(){z=!0},useSimple:function(){z=!1}}),i(i.S+i.F*!D,"Object",{create:function(t,e){return void 0===e?O(t):Y(O(t),e)},defineProperty:X,defineProperties:Y,getOwnPropertyDescriptor:L,getOwnPropertyNames:Q,getOwnPropertySymbols:H}),F&&i(i.S+i.F*(!D||f(function(){var t=N();return"[null]"!=$([t])||"{}"!=$({a:t})||"{}"!=$(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(x(e)||void 0!==t)&&!U(t))return b(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!U(e))return e}),r[1]=e,$.apply(F,r)}}),N.prototype[T]||n(10)(N.prototype,T,N.prototype.valueOf),l(N,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,e,n){var r=n(0),o=n(7),u=n(40),i=n(10),c=n(1),a=function(t,e,n){var f,s,l,p=t&a.F,d=t&a.G,h=t&a.S,y=t&a.P,v=t&a.B,b=t&a.W,m=d?o:o[e]||(o[e]={}),x=m.prototype,_=d?r:h?r[e]:(r[e]||{}).prototype;for(f in d&&(n=e),n)(s=!p&&_&&void 0!==_[f])&&c(m,f)||(l=s?_[f]:n[f],m[f]=d&&"function"!=typeof _[f]?n[f]:v&&s?u(l,r):b&&_[f]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):y&&"function"==typeof l?u(Function.call,l):l,y&&((m.virtual||(m.virtual={}))[f]=l,t&a.R&&x&&!x[f]&&i(x,f,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,e,n){var r=n(41);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){t.exports=n(10)},function(t,e,n){var r=n(9)("meta"),o=n(4),u=n(1),i=n(3).f,c=0,a=Object.isExtensible||function(){return!0},f=!n(6)(function(){return a(Object.preventExtensions({}))}),s=function(t){i(t,r,{value:{i:"O"+ ++c,w:{}}})},l=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!u(t,r)){if(!a(t))return"F";if(!e)return"E";s(t)}return t[r].i},getWeak:function(t,e){if(!u(t,r)){if(!a(t))return!0;if(!e)return!1;s(t)}return t[r].w},onFreeze:function(t){return f&&l.NEED&&a(t)&&!u(t,r)&&s(t),t}}},function(t,e,n){var r=n(3).f,o=n(1),u=n(15)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,u)&&r(t,u,{configurable:!0,value:e})}},function(t,e,n){var r=n(17),o=n(29),u=n(19);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var i,c=n(t),a=u.f,f=0;c.length>f;)a.call(t,i=c[f++])&&e.push(i);return e}},function(t,e,n){var r=n(26);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(5),o=n(49),u=n(50);t.exports=function(t){return function(e,n,i){var c,a=r(e),f=o(a.length),s=u(i,f);if(t&&n!=n){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}}},function(t,e,n){var r=n(27),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(27),o=Math.max,u=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):u(t,e)}},function(t,e,n){var r=n(26);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(8),o=n(53),u=n(18),i=n(28)("IE_PROTO"),c=function(){},a=function(){var t,e=n(23)("iframe"),r=u.length;for(e.style.display="none",n(54).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[u[r]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=r(t),n=new c,c.prototype=null,n[i]=t):n=a(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(3),o=n(8),u=n(17);t.exports=n(2)?Object.defineProperties:function(t,e){o(t);for(var n,i=u(e),c=i.length,a=0;c>a;)r.f(t,n=i[a++],e[n]);return t}},function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(5),o=n(30).f,u={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return i&&"[object Window]"==u.call(t)?function(t){try{return o(t)}catch(t){return i.slice()}}(t):o(r(t))}},function(t,e,n){var r=n(19),o=n(12),u=n(5),i=n(11),c=n(1),a=n(22),f=Object.getOwnPropertyDescriptor;e.f=n(2)?f:function(t,e){if(t=u(t),e=i(e,!0),a)try{return f(t,e)}catch(t){}if(c(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e){},function(t,e,n){n(16)("asyncIterator")},function(t,e,n){n(16)("observable")},function(t,e,n){"use strict";var r=n(61);e.a={mixins:[r.a],props:{modifier:String},computed:{modifierClass:function(){return this.buildClass("modifier")}}}},function(t,e,n){"use strict";e.a={methods:{buildClass:function(t){var e=this,n="cdr";this.baseClass&&(n=this.baseClass);var r=n,o=this[t]?this[t].split(" "):[],u=[];return this.$style?(u.push(this.moduleClass(r)),u=u.concat(o.map(function(t){return e.modifyClassName(r,t)}))):(u.push(""+r),u=u.concat(o.map(function(t){return e.modifyClassName(r,t)}))),u.join(" ")},moduleClass:function(t){return this.$style[""+t]},modifyClassName:function(t,e){return this.$style?this.moduleClass(t+"--"+e):t+"--"+e}}}},function(t,e,n){"use strict";var r=n(31),o=n.n(r);e.default=o.a},function(t,e,n){"use strict";e.a=function(t,e,n,r,o,u,i,c){var a,f="function"==typeof t?t.options:t;e&&(f.render=e,f.staticRenderFns=n,f._compiled=!0);r&&(f.functional=!0);u&&(f._scopeId="data-v-"+u);i?(a=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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},f._ssrRegister=a):o&&(a=c?function(){o.call(this,this.$root.$options.shadowRoot)}:o);if(a)if(f.functional){f._injectStyles=a;var s=f.render;f.render=function(t,e){return a.call(e),s(t,e)}}else{var l=f.beforeCreate;f.beforeCreate=l?[].concat(l,a):[a]}return{exports:t,options:f}}}])}); | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("CdrCheckbox",[],e):"object"==typeof exports?exports.CdrCheckbox=e():t.CdrCheckbox=e()}("undefined"!=typeof self?self:this,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},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)}([function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){t.exports=!n(6)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(8),o=n(22),u=n(11),i=Object.defineProperty;e.f=n(2)?Object.defineProperty:function(t,e,n){if(r(t),e=u(e,!0),r(n),o)try{return i(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(46),o=n(47);t.exports=function(t){return r(o(t))}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(3),o=n(12);t.exports=n(2)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(7),o=n(0),u=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return u[t]||(u[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(14)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!0},function(t,e,n){var r=n(13)("wks"),o=n(9),u=n(0).Symbol,i="function"==typeof u;(t.exports=function(t){return r[t]||(r[t]=i&&u[t]||(i?u:o)("Symbol."+t))}).store=r},function(t,e,n){var r=n(0),o=n(7),u=n(14),i=n(24),c=n(3).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=u?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||c(e,t,{value:i.f(t)})}},function(t,e,n){var r=n(25),o=n(18);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";var r=n(21);e.a=r.a},function(t,e,n){"use strict";var r=n(36),o=n.n(r),u=n(60);e.a={name:"CdrCheckbox",mixins:[u.a],inheritAttrs:!1,props:{labelClass:String,inputClass:String,contentClass:String,indeterminate:{type:Boolean,default:!1},trueValue:{type:[String,Number,Boolean,Object,Array,o.a,Function],default:!0},falseValue:{type:[String,Number,Boolean,Object,Array,o.a,Function],default:!1},customValue:[String,Number,Boolean,Object,Array,o.a,Function],value:{type:[String,Number,Boolean,Object,Array,o.a,Function]}},data:function(){return{newValue:this.value}},computed:{baseClass:function(){return"cdr-checkbox"}},watch:{value:function(t){this.newValue=t},newValue:function(t){this.$emit("input",t)}},methods:{updateValue:function(t,e){this.newValue=t,this.$emit("change",t,e)}}}},function(t,e,n){t.exports=!n(2)&&!n(6)(function(){return 7!=Object.defineProperty(n(23)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(4),o=n(0).document,u=r(o)&&r(o.createElement);t.exports=function(t){return u?o.createElement(t):{}}},function(t,e,n){e.f=n(15)},function(t,e,n){var r=n(1),o=n(5),u=n(48)(!1),i=n(28)("IE_PROTO");t.exports=function(t,e){var n,c=o(t),a=0,f=[];for(n in c)n!=i&&r(c,n)&&f.push(n);for(;e.length>a;)r(c,n=e[a++])&&(~u(f,n)||f.push(n));return f}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(13)("keys"),o=n(9);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(25),o=n(18).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e){t.exports={"cdr-checkbox":"cdr-checkbox_1.0.3","cdr-checkbox__wrap":"cdr-checkbox__wrap_1.0.3","cdr-checkbox__input":"cdr-checkbox__input_1.0.3","cdr-checkbox__figure":"cdr-checkbox__figure_1.0.3","cdr-checkbox__content":"cdr-checkbox__content_1.0.3","cdr-checkbox--compact":"cdr-checkbox--compact_1.0.3","cdr-checkbox--hide-figure":"cdr-checkbox--hide-figure_1.0.3"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(33);n.d(e,"CdrCheckbox",function(){return r.a})},function(t,e,n){"use strict";var r=n(34),o=n(20),u=n(62),i=n(63);var c=Object(i.a)(o.a,r.a,r.b,!1,function(t){this.$style=u.default.locals||u.default},null,null);e.a=c.exports},function(t,e,n){"use strict";var r=n(35);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b})},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.$style["cdr-checkbox__wrap"]},[n("label",{ref:"label",class:[t.modifierClass,t.labelClass]},[n("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.newValue,expression:"newValue"}],ref:"checkbox",class:[t.$style["cdr-checkbox__input"],t.inputClass],attrs:{type:"checkbox","true-value":t.customValue?null:t.trueValue,"false-value":t.customValue?null:t.falseValue,indeterminate:t.indeterminate},domProps:{value:t.customValue,checked:Array.isArray(t.newValue)?t._i(t.newValue,t.customValue)>-1:t._q(t.newValue,t.customValue?null:t.trueValue)},on:{change:[function(e){var n=t.newValue,r=e.target,o=r.checked?t.customValue?null:t.trueValue:t.customValue?null:t.falseValue;if(Array.isArray(n)){var u=t.customValue,i=t._i(n,u);r.checked?i<0&&(t.newValue=n.concat([u])):i>-1&&(t.newValue=n.slice(0,i).concat(n.slice(i+1)))}else t.newValue=o},function(e){t.updateValue(t.newValue,e)}]}},"input",t.$attrs,!1)),t._v(" "),n("span",{class:t.$style["cdr-checkbox__figure"]}),t._v(" "),n("div",{class:[t.$style["cdr-checkbox__content"],t.contentClass]},[t._t("default")],2)])])},o=[]},function(t,e,n){t.exports={default:n(37),__esModule:!0}},function(t,e,n){n(38),n(57),n(58),n(59),t.exports=n(7).Symbol},function(t,e,n){"use strict";var r=n(0),o=n(1),u=n(2),i=n(39),c=n(42),a=n(43).KEY,f=n(6),s=n(13),l=n(44),p=n(9),d=n(15),h=n(24),y=n(16),v=n(45),b=n(51),m=n(8),x=n(4),_=n(5),g=n(11),w=n(12),O=n(52),S=n(55),j=n(56),C=n(3),k=n(17),V=j.f,E=C.f,P=S.f,N=r.Symbol,F=r.JSON,$=F&&F.stringify,M=d("_hidden"),T=d("toPrimitive"),A={}.propertyIsEnumerable,I=s("symbol-registry"),R=s("symbols"),B=s("op-symbols"),W=Object.prototype,D="function"==typeof N,J=r.QObject,z=!J||!J.prototype||!J.prototype.findChild,G=u&&f(function(){return 7!=O(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=V(W,e);r&&delete W[e],E(t,e,n),r&&t!==W&&E(W,e,r)}:E,K=function(t){var e=R[t]=O(N.prototype);return e._k=t,e},U=D&&"symbol"==typeof N.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof N},X=function(t,e,n){return t===W&&X(B,e,n),m(t),e=g(e,!0),m(n),o(R,e)?(n.enumerable?(o(t,M)&&t[M][e]&&(t[M][e]=!1),n=O(n,{enumerable:w(0,!1)})):(o(t,M)||E(t,M,w(1,{})),t[M][e]=!0),G(t,e,n)):E(t,e,n)},Y=function(t,e){m(t);for(var n,r=v(e=_(e)),o=0,u=r.length;u>o;)X(t,n=r[o++],e[n]);return t},q=function(t){var e=A.call(this,t=g(t,!0));return!(this===W&&o(R,t)&&!o(B,t))&&(!(e||!o(this,t)||!o(R,t)||o(this,M)&&this[M][t])||e)},L=function(t,e){if(t=_(t),e=g(e,!0),t!==W||!o(R,e)||o(B,e)){var n=V(t,e);return!n||!o(R,e)||o(t,M)&&t[M][e]||(n.enumerable=!0),n}},Q=function(t){for(var e,n=P(_(t)),r=[],u=0;n.length>u;)o(R,e=n[u++])||e==M||e==a||r.push(e);return r},H=function(t){for(var e,n=t===W,r=P(n?B:_(t)),u=[],i=0;r.length>i;)!o(R,e=r[i++])||n&&!o(W,e)||u.push(R[e]);return u};D||(c((N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===W&&e.call(B,n),o(this,M)&&o(this[M],t)&&(this[M][t]=!1),G(this,t,w(1,n))};return u&&z&&G(W,t,{configurable:!0,set:e}),K(t)}).prototype,"toString",function(){return this._k}),j.f=L,C.f=X,n(30).f=S.f=Q,n(19).f=q,n(29).f=H,u&&!n(14)&&c(W,"propertyIsEnumerable",q,!0),h.f=function(t){return K(d(t))}),i(i.G+i.W+i.F*!D,{Symbol:N});for(var Z="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;Z.length>tt;)d(Z[tt++]);for(var et=k(d.store),nt=0;et.length>nt;)y(et[nt++]);i(i.S+i.F*!D,"Symbol",{for:function(t){return o(I,t+="")?I[t]:I[t]=N(t)},keyFor:function(t){if(!U(t))throw TypeError(t+" is not a symbol!");for(var e in I)if(I[e]===t)return e},useSetter:function(){z=!0},useSimple:function(){z=!1}}),i(i.S+i.F*!D,"Object",{create:function(t,e){return void 0===e?O(t):Y(O(t),e)},defineProperty:X,defineProperties:Y,getOwnPropertyDescriptor:L,getOwnPropertyNames:Q,getOwnPropertySymbols:H}),F&&i(i.S+i.F*(!D||f(function(){var t=N();return"[null]"!=$([t])||"{}"!=$({a:t})||"{}"!=$(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(x(e)||void 0!==t)&&!U(t))return b(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!U(e))return e}),r[1]=e,$.apply(F,r)}}),N.prototype[T]||n(10)(N.prototype,T,N.prototype.valueOf),l(N,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,e,n){var r=n(0),o=n(7),u=n(40),i=n(10),c=n(1),a=function(t,e,n){var f,s,l,p=t&a.F,d=t&a.G,h=t&a.S,y=t&a.P,v=t&a.B,b=t&a.W,m=d?o:o[e]||(o[e]={}),x=m.prototype,_=d?r:h?r[e]:(r[e]||{}).prototype;for(f in d&&(n=e),n)(s=!p&&_&&void 0!==_[f])&&c(m,f)||(l=s?_[f]:n[f],m[f]=d&&"function"!=typeof _[f]?n[f]:v&&s?u(l,r):b&&_[f]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):y&&"function"==typeof l?u(Function.call,l):l,y&&((m.virtual||(m.virtual={}))[f]=l,t&a.R&&x&&!x[f]&&i(x,f,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,e,n){var r=n(41);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){t.exports=n(10)},function(t,e,n){var r=n(9)("meta"),o=n(4),u=n(1),i=n(3).f,c=0,a=Object.isExtensible||function(){return!0},f=!n(6)(function(){return a(Object.preventExtensions({}))}),s=function(t){i(t,r,{value:{i:"O"+ ++c,w:{}}})},l=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!u(t,r)){if(!a(t))return"F";if(!e)return"E";s(t)}return t[r].i},getWeak:function(t,e){if(!u(t,r)){if(!a(t))return!0;if(!e)return!1;s(t)}return t[r].w},onFreeze:function(t){return f&&l.NEED&&a(t)&&!u(t,r)&&s(t),t}}},function(t,e,n){var r=n(3).f,o=n(1),u=n(15)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,u)&&r(t,u,{configurable:!0,value:e})}},function(t,e,n){var r=n(17),o=n(29),u=n(19);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var i,c=n(t),a=u.f,f=0;c.length>f;)a.call(t,i=c[f++])&&e.push(i);return e}},function(t,e,n){var r=n(26);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(5),o=n(49),u=n(50);t.exports=function(t){return function(e,n,i){var c,a=r(e),f=o(a.length),s=u(i,f);if(t&&n!=n){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}}},function(t,e,n){var r=n(27),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(27),o=Math.max,u=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):u(t,e)}},function(t,e,n){var r=n(26);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(8),o=n(53),u=n(18),i=n(28)("IE_PROTO"),c=function(){},a=function(){var t,e=n(23)("iframe"),r=u.length;for(e.style.display="none",n(54).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[u[r]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=r(t),n=new c,c.prototype=null,n[i]=t):n=a(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(3),o=n(8),u=n(17);t.exports=n(2)?Object.defineProperties:function(t,e){o(t);for(var n,i=u(e),c=i.length,a=0;c>a;)r.f(t,n=i[a++],e[n]);return t}},function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(5),o=n(30).f,u={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return i&&"[object Window]"==u.call(t)?function(t){try{return o(t)}catch(t){return i.slice()}}(t):o(r(t))}},function(t,e,n){var r=n(19),o=n(12),u=n(5),i=n(11),c=n(1),a=n(22),f=Object.getOwnPropertyDescriptor;e.f=n(2)?f:function(t,e){if(t=u(t),e=i(e,!0),a)try{return f(t,e)}catch(t){}if(c(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e){},function(t,e,n){n(16)("asyncIterator")},function(t,e,n){n(16)("observable")},function(t,e,n){"use strict";var r=n(61);e.a={mixins:[r.a],props:{modifier:String},computed:{modifierClass:function(){return this.buildClass("modifier")}}}},function(t,e,n){"use strict";e.a={methods:{buildClass:function(t){var e=this,n="cdr";this.baseClass&&(n=this.baseClass);var r=n,o=this[t]?this[t].split(" "):[],u=[];return this.$style?(u.push(this.moduleClass(r)),u=u.concat(o.map(function(t){return e.modifyClassName(r,t)}))):(u.push(""+r),u=u.concat(o.map(function(t){return e.modifyClassName(r,t)}))),u.join(" ")},moduleClass:function(t){return this.$style[""+t]},modifyClassName:function(t,e){return this.$style?this.moduleClass(t+"--"+e):t+"--"+e}}}},function(t,e,n){"use strict";var r=n(31),o=n.n(r);e.default=o.a},function(t,e,n){"use strict";e.a=function(t,e,n,r,o,u,i,c){var a,f="function"==typeof t?t.options:t;e&&(f.render=e,f.staticRenderFns=n,f._compiled=!0);r&&(f.functional=!0);u&&(f._scopeId="data-v-"+u);i?(a=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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},f._ssrRegister=a):o&&(a=c?function(){o.call(this,this.$root.$options.shadowRoot)}:o);if(a)if(f.functional){f._injectStyles=a;var s=f.render;f.render=function(t,e){return a.call(e),s(t,e)}}else{var l=f.beforeCreate;f.beforeCreate=l?[].concat(l,a):[a]}return{exports:t,options:f}}}])}); |
@@ -1,1 +0,1 @@ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("CdrCheckbox",[],e):"object"==typeof exports?exports.CdrCheckbox=e():t.CdrCheckbox=e()}("undefined"!=typeof self?self:this,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},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)}([function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){t.exports=!n(6)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(8),o=n(22),u=n(11),i=Object.defineProperty;e.f=n(2)?Object.defineProperty:function(t,e,n){if(r(t),e=u(e,!0),r(n),o)try{return i(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(46),o=n(47);t.exports=function(t){return r(o(t))}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(3),o=n(12);t.exports=n(2)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(7),o=n(0),u=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return u[t]||(u[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(14)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!0},function(t,e,n){var r=n(13)("wks"),o=n(9),u=n(0).Symbol,i="function"==typeof u;(t.exports=function(t){return r[t]||(r[t]=i&&u[t]||(i?u:o)("Symbol."+t))}).store=r},function(t,e,n){var r=n(0),o=n(7),u=n(14),i=n(24),c=n(3).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=u?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||c(e,t,{value:i.f(t)})}},function(t,e,n){var r=n(25),o=n(18);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";var r=n(21);e.a=r.a},function(t,e,n){"use strict";var r=n(36),o=n.n(r),u=n(60);e.a={name:"CdrCheckbox",mixins:[u.a],inheritAttrs:!1,props:{labelClass:String,inputClass:String,contentClass:String,indeterminate:{type:Boolean,default:!1},trueValue:{type:[String,Number,Boolean,Object,Array,o.a,Function],default:!0},falseValue:{type:[String,Number,Boolean,Object,Array,o.a,Function],default:!1},customValue:[String,Number,Boolean,Object,Array,o.a,Function],value:{type:[String,Number,Boolean,Object,Array,o.a,Function]}},data:function(){return{newValue:this.value}},computed:{baseClass:function(){return"cdr-checkbox"}},watch:{value:function(t){this.newValue=t},newValue:function(t){this.$emit("input",t)}},methods:{updateValue:function(t,e){this.newValue=t,this.$emit("change",t,e)}}}},function(t,e,n){t.exports=!n(2)&&!n(6)(function(){return 7!=Object.defineProperty(n(23)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(4),o=n(0).document,u=r(o)&&r(o.createElement);t.exports=function(t){return u?o.createElement(t):{}}},function(t,e,n){e.f=n(15)},function(t,e,n){var r=n(1),o=n(5),u=n(48)(!1),i=n(28)("IE_PROTO");t.exports=function(t,e){var n,c=o(t),a=0,f=[];for(n in c)n!=i&&r(c,n)&&f.push(n);for(;e.length>a;)r(c,n=e[a++])&&(~u(f,n)||f.push(n));return f}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(13)("keys"),o=n(9);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(25),o=n(18).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e){t.exports={"cdr-checkbox":"cdr-checkbox_1.0.3-alpha.0","cdr-checkbox__wrap":"cdr-checkbox__wrap_1.0.3-alpha.0","cdr-checkbox__input":"cdr-checkbox__input_1.0.3-alpha.0","cdr-checkbox__figure":"cdr-checkbox__figure_1.0.3-alpha.0","cdr-checkbox__content":"cdr-checkbox__content_1.0.3-alpha.0","cdr-checkbox--compact":"cdr-checkbox--compact_1.0.3-alpha.0","cdr-checkbox--hide-figure":"cdr-checkbox--hide-figure_1.0.3-alpha.0"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(33);function o(t){t.component("cdr-checkbox",r.a)}"undefined"!=typeof window&&window.Vue&&window.Vue.use(o),e.default=o},function(t,e,n){"use strict";var r=n(34),o=n(20),u=n(62),i=n(63);var c=Object(i.a)(o.a,r.a,r.b,!1,function(t){this.$style=u.default.locals||u.default},null,null);e.a=c.exports},function(t,e,n){"use strict";var r=n(35);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b})},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.$style["cdr-checkbox__wrap"]},[n("label",{ref:"label",class:[t.modifierClass,t.labelClass]},[n("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.newValue,expression:"newValue"}],ref:"checkbox",class:[t.$style["cdr-checkbox__input"],t.inputClass],attrs:{type:"checkbox","true-value":t.customValue?null:t.trueValue,"false-value":t.customValue?null:t.falseValue,indeterminate:t.indeterminate},domProps:{value:t.customValue,checked:Array.isArray(t.newValue)?t._i(t.newValue,t.customValue)>-1:t._q(t.newValue,t.customValue?null:t.trueValue)},on:{change:[function(e){var n=t.newValue,r=e.target,o=r.checked?t.customValue?null:t.trueValue:t.customValue?null:t.falseValue;if(Array.isArray(n)){var u=t.customValue,i=t._i(n,u);r.checked?i<0&&(t.newValue=n.concat([u])):i>-1&&(t.newValue=n.slice(0,i).concat(n.slice(i+1)))}else t.newValue=o},function(e){t.updateValue(t.newValue,e)}]}},"input",t.$attrs,!1)),t._v(" "),n("span",{class:t.$style["cdr-checkbox__figure"]}),t._v(" "),n("div",{class:[t.$style["cdr-checkbox__content"],t.contentClass]},[t._t("default")],2)])])},o=[]},function(t,e,n){t.exports={default:n(37),__esModule:!0}},function(t,e,n){n(38),n(57),n(58),n(59),t.exports=n(7).Symbol},function(t,e,n){"use strict";var r=n(0),o=n(1),u=n(2),i=n(39),c=n(42),a=n(43).KEY,f=n(6),s=n(13),l=n(44),p=n(9),d=n(15),h=n(24),y=n(16),v=n(45),b=n(51),m=n(8),x=n(4),_=n(5),g=n(11),w=n(12),O=n(52),S=n(55),j=n(56),C=n(3),k=n(17),V=j.f,E=C.f,P=S.f,N=r.Symbol,F=r.JSON,$=F&&F.stringify,M=d("_hidden"),T=d("toPrimitive"),A={}.propertyIsEnumerable,I=s("symbol-registry"),R=s("symbols"),B=s("op-symbols"),W=Object.prototype,D="function"==typeof N,J=r.QObject,z=!J||!J.prototype||!J.prototype.findChild,G=u&&f(function(){return 7!=O(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=V(W,e);r&&delete W[e],E(t,e,n),r&&t!==W&&E(W,e,r)}:E,K=function(t){var e=R[t]=O(N.prototype);return e._k=t,e},U=D&&"symbol"==typeof N.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof N},X=function(t,e,n){return t===W&&X(B,e,n),m(t),e=g(e,!0),m(n),o(R,e)?(n.enumerable?(o(t,M)&&t[M][e]&&(t[M][e]=!1),n=O(n,{enumerable:w(0,!1)})):(o(t,M)||E(t,M,w(1,{})),t[M][e]=!0),G(t,e,n)):E(t,e,n)},Y=function(t,e){m(t);for(var n,r=v(e=_(e)),o=0,u=r.length;u>o;)X(t,n=r[o++],e[n]);return t},q=function(t){var e=A.call(this,t=g(t,!0));return!(this===W&&o(R,t)&&!o(B,t))&&(!(e||!o(this,t)||!o(R,t)||o(this,M)&&this[M][t])||e)},L=function(t,e){if(t=_(t),e=g(e,!0),t!==W||!o(R,e)||o(B,e)){var n=V(t,e);return!n||!o(R,e)||o(t,M)&&t[M][e]||(n.enumerable=!0),n}},Q=function(t){for(var e,n=P(_(t)),r=[],u=0;n.length>u;)o(R,e=n[u++])||e==M||e==a||r.push(e);return r},H=function(t){for(var e,n=t===W,r=P(n?B:_(t)),u=[],i=0;r.length>i;)!o(R,e=r[i++])||n&&!o(W,e)||u.push(R[e]);return u};D||(c((N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===W&&e.call(B,n),o(this,M)&&o(this[M],t)&&(this[M][t]=!1),G(this,t,w(1,n))};return u&&z&&G(W,t,{configurable:!0,set:e}),K(t)}).prototype,"toString",function(){return this._k}),j.f=L,C.f=X,n(30).f=S.f=Q,n(19).f=q,n(29).f=H,u&&!n(14)&&c(W,"propertyIsEnumerable",q,!0),h.f=function(t){return K(d(t))}),i(i.G+i.W+i.F*!D,{Symbol:N});for(var Z="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;Z.length>tt;)d(Z[tt++]);for(var et=k(d.store),nt=0;et.length>nt;)y(et[nt++]);i(i.S+i.F*!D,"Symbol",{for:function(t){return o(I,t+="")?I[t]:I[t]=N(t)},keyFor:function(t){if(!U(t))throw TypeError(t+" is not a symbol!");for(var e in I)if(I[e]===t)return e},useSetter:function(){z=!0},useSimple:function(){z=!1}}),i(i.S+i.F*!D,"Object",{create:function(t,e){return void 0===e?O(t):Y(O(t),e)},defineProperty:X,defineProperties:Y,getOwnPropertyDescriptor:L,getOwnPropertyNames:Q,getOwnPropertySymbols:H}),F&&i(i.S+i.F*(!D||f(function(){var t=N();return"[null]"!=$([t])||"{}"!=$({a:t})||"{}"!=$(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(x(e)||void 0!==t)&&!U(t))return b(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!U(e))return e}),r[1]=e,$.apply(F,r)}}),N.prototype[T]||n(10)(N.prototype,T,N.prototype.valueOf),l(N,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,e,n){var r=n(0),o=n(7),u=n(40),i=n(10),c=n(1),a=function(t,e,n){var f,s,l,p=t&a.F,d=t&a.G,h=t&a.S,y=t&a.P,v=t&a.B,b=t&a.W,m=d?o:o[e]||(o[e]={}),x=m.prototype,_=d?r:h?r[e]:(r[e]||{}).prototype;for(f in d&&(n=e),n)(s=!p&&_&&void 0!==_[f])&&c(m,f)||(l=s?_[f]:n[f],m[f]=d&&"function"!=typeof _[f]?n[f]:v&&s?u(l,r):b&&_[f]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):y&&"function"==typeof l?u(Function.call,l):l,y&&((m.virtual||(m.virtual={}))[f]=l,t&a.R&&x&&!x[f]&&i(x,f,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,e,n){var r=n(41);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){t.exports=n(10)},function(t,e,n){var r=n(9)("meta"),o=n(4),u=n(1),i=n(3).f,c=0,a=Object.isExtensible||function(){return!0},f=!n(6)(function(){return a(Object.preventExtensions({}))}),s=function(t){i(t,r,{value:{i:"O"+ ++c,w:{}}})},l=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!u(t,r)){if(!a(t))return"F";if(!e)return"E";s(t)}return t[r].i},getWeak:function(t,e){if(!u(t,r)){if(!a(t))return!0;if(!e)return!1;s(t)}return t[r].w},onFreeze:function(t){return f&&l.NEED&&a(t)&&!u(t,r)&&s(t),t}}},function(t,e,n){var r=n(3).f,o=n(1),u=n(15)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,u)&&r(t,u,{configurable:!0,value:e})}},function(t,e,n){var r=n(17),o=n(29),u=n(19);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var i,c=n(t),a=u.f,f=0;c.length>f;)a.call(t,i=c[f++])&&e.push(i);return e}},function(t,e,n){var r=n(26);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(5),o=n(49),u=n(50);t.exports=function(t){return function(e,n,i){var c,a=r(e),f=o(a.length),s=u(i,f);if(t&&n!=n){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}}},function(t,e,n){var r=n(27),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(27),o=Math.max,u=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):u(t,e)}},function(t,e,n){var r=n(26);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(8),o=n(53),u=n(18),i=n(28)("IE_PROTO"),c=function(){},a=function(){var t,e=n(23)("iframe"),r=u.length;for(e.style.display="none",n(54).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[u[r]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=r(t),n=new c,c.prototype=null,n[i]=t):n=a(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(3),o=n(8),u=n(17);t.exports=n(2)?Object.defineProperties:function(t,e){o(t);for(var n,i=u(e),c=i.length,a=0;c>a;)r.f(t,n=i[a++],e[n]);return t}},function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(5),o=n(30).f,u={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return i&&"[object Window]"==u.call(t)?function(t){try{return o(t)}catch(t){return i.slice()}}(t):o(r(t))}},function(t,e,n){var r=n(19),o=n(12),u=n(5),i=n(11),c=n(1),a=n(22),f=Object.getOwnPropertyDescriptor;e.f=n(2)?f:function(t,e){if(t=u(t),e=i(e,!0),a)try{return f(t,e)}catch(t){}if(c(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e){},function(t,e,n){n(16)("asyncIterator")},function(t,e,n){n(16)("observable")},function(t,e,n){"use strict";var r=n(61);e.a={mixins:[r.a],props:{modifier:String},computed:{modifierClass:function(){return this.buildClass("modifier")}}}},function(t,e,n){"use strict";e.a={methods:{buildClass:function(t){var e=this,n="cdr";this.baseClass&&(n=this.baseClass);var r=n,o=this[t]?this[t].split(" "):[],u=[];return this.$style?(u.push(this.moduleClass(r)),u=u.concat(o.map(function(t){return e.modifyClassName(r,t)}))):(u.push(""+r),u=u.concat(o.map(function(t){return e.modifyClassName(r,t)}))),u.join(" ")},moduleClass:function(t){return this.$style[""+t]},modifyClassName:function(t,e){return this.$style?this.moduleClass(t+"--"+e):t+"--"+e}}}},function(t,e,n){"use strict";var r=n(31),o=n.n(r);e.default=o.a},function(t,e,n){"use strict";e.a=function(t,e,n,r,o,u,i,c){var a,f="function"==typeof t?t.options:t;e&&(f.render=e,f.staticRenderFns=n,f._compiled=!0);r&&(f.functional=!0);u&&(f._scopeId="data-v-"+u);i?(a=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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},f._ssrRegister=a):o&&(a=c?function(){o.call(this,this.$root.$options.shadowRoot)}:o);if(a)if(f.functional){f._injectStyles=a;var s=f.render;f.render=function(t,e){return a.call(e),s(t,e)}}else{var l=f.beforeCreate;f.beforeCreate=l?[].concat(l,a):[a]}return{exports:t,options:f}}}])}); | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("CdrCheckbox",[],e):"object"==typeof exports?exports.CdrCheckbox=e():t.CdrCheckbox=e()}("undefined"!=typeof self?self:this,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},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)}([function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){t.exports=!n(6)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(8),o=n(22),u=n(11),i=Object.defineProperty;e.f=n(2)?Object.defineProperty:function(t,e,n){if(r(t),e=u(e,!0),r(n),o)try{return i(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(46),o=n(47);t.exports=function(t){return r(o(t))}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(3),o=n(12);t.exports=n(2)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(7),o=n(0),u=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return u[t]||(u[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(14)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!0},function(t,e,n){var r=n(13)("wks"),o=n(9),u=n(0).Symbol,i="function"==typeof u;(t.exports=function(t){return r[t]||(r[t]=i&&u[t]||(i?u:o)("Symbol."+t))}).store=r},function(t,e,n){var r=n(0),o=n(7),u=n(14),i=n(24),c=n(3).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=u?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||c(e,t,{value:i.f(t)})}},function(t,e,n){var r=n(25),o=n(18);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";var r=n(21);e.a=r.a},function(t,e,n){"use strict";var r=n(36),o=n.n(r),u=n(60);e.a={name:"CdrCheckbox",mixins:[u.a],inheritAttrs:!1,props:{labelClass:String,inputClass:String,contentClass:String,indeterminate:{type:Boolean,default:!1},trueValue:{type:[String,Number,Boolean,Object,Array,o.a,Function],default:!0},falseValue:{type:[String,Number,Boolean,Object,Array,o.a,Function],default:!1},customValue:[String,Number,Boolean,Object,Array,o.a,Function],value:{type:[String,Number,Boolean,Object,Array,o.a,Function]}},data:function(){return{newValue:this.value}},computed:{baseClass:function(){return"cdr-checkbox"}},watch:{value:function(t){this.newValue=t},newValue:function(t){this.$emit("input",t)}},methods:{updateValue:function(t,e){this.newValue=t,this.$emit("change",t,e)}}}},function(t,e,n){t.exports=!n(2)&&!n(6)(function(){return 7!=Object.defineProperty(n(23)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(4),o=n(0).document,u=r(o)&&r(o.createElement);t.exports=function(t){return u?o.createElement(t):{}}},function(t,e,n){e.f=n(15)},function(t,e,n){var r=n(1),o=n(5),u=n(48)(!1),i=n(28)("IE_PROTO");t.exports=function(t,e){var n,c=o(t),a=0,f=[];for(n in c)n!=i&&r(c,n)&&f.push(n);for(;e.length>a;)r(c,n=e[a++])&&(~u(f,n)||f.push(n));return f}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(13)("keys"),o=n(9);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(25),o=n(18).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e){t.exports={"cdr-checkbox":"cdr-checkbox_1.0.3","cdr-checkbox__wrap":"cdr-checkbox__wrap_1.0.3","cdr-checkbox__input":"cdr-checkbox__input_1.0.3","cdr-checkbox__figure":"cdr-checkbox__figure_1.0.3","cdr-checkbox__content":"cdr-checkbox__content_1.0.3","cdr-checkbox--compact":"cdr-checkbox--compact_1.0.3","cdr-checkbox--hide-figure":"cdr-checkbox--hide-figure_1.0.3"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(33);function o(t){t.component("cdr-checkbox",r.a)}"undefined"!=typeof window&&window.Vue&&window.Vue.use(o),e.default=o},function(t,e,n){"use strict";var r=n(34),o=n(20),u=n(62),i=n(63);var c=Object(i.a)(o.a,r.a,r.b,!1,function(t){this.$style=u.default.locals||u.default},null,null);e.a=c.exports},function(t,e,n){"use strict";var r=n(35);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b})},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.$style["cdr-checkbox__wrap"]},[n("label",{ref:"label",class:[t.modifierClass,t.labelClass]},[n("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.newValue,expression:"newValue"}],ref:"checkbox",class:[t.$style["cdr-checkbox__input"],t.inputClass],attrs:{type:"checkbox","true-value":t.customValue?null:t.trueValue,"false-value":t.customValue?null:t.falseValue,indeterminate:t.indeterminate},domProps:{value:t.customValue,checked:Array.isArray(t.newValue)?t._i(t.newValue,t.customValue)>-1:t._q(t.newValue,t.customValue?null:t.trueValue)},on:{change:[function(e){var n=t.newValue,r=e.target,o=r.checked?t.customValue?null:t.trueValue:t.customValue?null:t.falseValue;if(Array.isArray(n)){var u=t.customValue,i=t._i(n,u);r.checked?i<0&&(t.newValue=n.concat([u])):i>-1&&(t.newValue=n.slice(0,i).concat(n.slice(i+1)))}else t.newValue=o},function(e){t.updateValue(t.newValue,e)}]}},"input",t.$attrs,!1)),t._v(" "),n("span",{class:t.$style["cdr-checkbox__figure"]}),t._v(" "),n("div",{class:[t.$style["cdr-checkbox__content"],t.contentClass]},[t._t("default")],2)])])},o=[]},function(t,e,n){t.exports={default:n(37),__esModule:!0}},function(t,e,n){n(38),n(57),n(58),n(59),t.exports=n(7).Symbol},function(t,e,n){"use strict";var r=n(0),o=n(1),u=n(2),i=n(39),c=n(42),a=n(43).KEY,f=n(6),s=n(13),l=n(44),p=n(9),d=n(15),h=n(24),y=n(16),v=n(45),b=n(51),m=n(8),x=n(4),_=n(5),g=n(11),w=n(12),O=n(52),S=n(55),j=n(56),C=n(3),k=n(17),V=j.f,E=C.f,P=S.f,N=r.Symbol,F=r.JSON,$=F&&F.stringify,M=d("_hidden"),T=d("toPrimitive"),A={}.propertyIsEnumerable,I=s("symbol-registry"),R=s("symbols"),B=s("op-symbols"),W=Object.prototype,D="function"==typeof N,J=r.QObject,z=!J||!J.prototype||!J.prototype.findChild,G=u&&f(function(){return 7!=O(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=V(W,e);r&&delete W[e],E(t,e,n),r&&t!==W&&E(W,e,r)}:E,K=function(t){var e=R[t]=O(N.prototype);return e._k=t,e},U=D&&"symbol"==typeof N.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof N},X=function(t,e,n){return t===W&&X(B,e,n),m(t),e=g(e,!0),m(n),o(R,e)?(n.enumerable?(o(t,M)&&t[M][e]&&(t[M][e]=!1),n=O(n,{enumerable:w(0,!1)})):(o(t,M)||E(t,M,w(1,{})),t[M][e]=!0),G(t,e,n)):E(t,e,n)},Y=function(t,e){m(t);for(var n,r=v(e=_(e)),o=0,u=r.length;u>o;)X(t,n=r[o++],e[n]);return t},q=function(t){var e=A.call(this,t=g(t,!0));return!(this===W&&o(R,t)&&!o(B,t))&&(!(e||!o(this,t)||!o(R,t)||o(this,M)&&this[M][t])||e)},L=function(t,e){if(t=_(t),e=g(e,!0),t!==W||!o(R,e)||o(B,e)){var n=V(t,e);return!n||!o(R,e)||o(t,M)&&t[M][e]||(n.enumerable=!0),n}},Q=function(t){for(var e,n=P(_(t)),r=[],u=0;n.length>u;)o(R,e=n[u++])||e==M||e==a||r.push(e);return r},H=function(t){for(var e,n=t===W,r=P(n?B:_(t)),u=[],i=0;r.length>i;)!o(R,e=r[i++])||n&&!o(W,e)||u.push(R[e]);return u};D||(c((N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===W&&e.call(B,n),o(this,M)&&o(this[M],t)&&(this[M][t]=!1),G(this,t,w(1,n))};return u&&z&&G(W,t,{configurable:!0,set:e}),K(t)}).prototype,"toString",function(){return this._k}),j.f=L,C.f=X,n(30).f=S.f=Q,n(19).f=q,n(29).f=H,u&&!n(14)&&c(W,"propertyIsEnumerable",q,!0),h.f=function(t){return K(d(t))}),i(i.G+i.W+i.F*!D,{Symbol:N});for(var Z="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;Z.length>tt;)d(Z[tt++]);for(var et=k(d.store),nt=0;et.length>nt;)y(et[nt++]);i(i.S+i.F*!D,"Symbol",{for:function(t){return o(I,t+="")?I[t]:I[t]=N(t)},keyFor:function(t){if(!U(t))throw TypeError(t+" is not a symbol!");for(var e in I)if(I[e]===t)return e},useSetter:function(){z=!0},useSimple:function(){z=!1}}),i(i.S+i.F*!D,"Object",{create:function(t,e){return void 0===e?O(t):Y(O(t),e)},defineProperty:X,defineProperties:Y,getOwnPropertyDescriptor:L,getOwnPropertyNames:Q,getOwnPropertySymbols:H}),F&&i(i.S+i.F*(!D||f(function(){var t=N();return"[null]"!=$([t])||"{}"!=$({a:t})||"{}"!=$(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(x(e)||void 0!==t)&&!U(t))return b(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!U(e))return e}),r[1]=e,$.apply(F,r)}}),N.prototype[T]||n(10)(N.prototype,T,N.prototype.valueOf),l(N,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,e,n){var r=n(0),o=n(7),u=n(40),i=n(10),c=n(1),a=function(t,e,n){var f,s,l,p=t&a.F,d=t&a.G,h=t&a.S,y=t&a.P,v=t&a.B,b=t&a.W,m=d?o:o[e]||(o[e]={}),x=m.prototype,_=d?r:h?r[e]:(r[e]||{}).prototype;for(f in d&&(n=e),n)(s=!p&&_&&void 0!==_[f])&&c(m,f)||(l=s?_[f]:n[f],m[f]=d&&"function"!=typeof _[f]?n[f]:v&&s?u(l,r):b&&_[f]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):y&&"function"==typeof l?u(Function.call,l):l,y&&((m.virtual||(m.virtual={}))[f]=l,t&a.R&&x&&!x[f]&&i(x,f,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,e,n){var r=n(41);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){t.exports=n(10)},function(t,e,n){var r=n(9)("meta"),o=n(4),u=n(1),i=n(3).f,c=0,a=Object.isExtensible||function(){return!0},f=!n(6)(function(){return a(Object.preventExtensions({}))}),s=function(t){i(t,r,{value:{i:"O"+ ++c,w:{}}})},l=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!u(t,r)){if(!a(t))return"F";if(!e)return"E";s(t)}return t[r].i},getWeak:function(t,e){if(!u(t,r)){if(!a(t))return!0;if(!e)return!1;s(t)}return t[r].w},onFreeze:function(t){return f&&l.NEED&&a(t)&&!u(t,r)&&s(t),t}}},function(t,e,n){var r=n(3).f,o=n(1),u=n(15)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,u)&&r(t,u,{configurable:!0,value:e})}},function(t,e,n){var r=n(17),o=n(29),u=n(19);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var i,c=n(t),a=u.f,f=0;c.length>f;)a.call(t,i=c[f++])&&e.push(i);return e}},function(t,e,n){var r=n(26);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(5),o=n(49),u=n(50);t.exports=function(t){return function(e,n,i){var c,a=r(e),f=o(a.length),s=u(i,f);if(t&&n!=n){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}}},function(t,e,n){var r=n(27),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(27),o=Math.max,u=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):u(t,e)}},function(t,e,n){var r=n(26);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(8),o=n(53),u=n(18),i=n(28)("IE_PROTO"),c=function(){},a=function(){var t,e=n(23)("iframe"),r=u.length;for(e.style.display="none",n(54).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[u[r]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=r(t),n=new c,c.prototype=null,n[i]=t):n=a(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(3),o=n(8),u=n(17);t.exports=n(2)?Object.defineProperties:function(t,e){o(t);for(var n,i=u(e),c=i.length,a=0;c>a;)r.f(t,n=i[a++],e[n]);return t}},function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(5),o=n(30).f,u={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return i&&"[object Window]"==u.call(t)?function(t){try{return o(t)}catch(t){return i.slice()}}(t):o(r(t))}},function(t,e,n){var r=n(19),o=n(12),u=n(5),i=n(11),c=n(1),a=n(22),f=Object.getOwnPropertyDescriptor;e.f=n(2)?f:function(t,e){if(t=u(t),e=i(e,!0),a)try{return f(t,e)}catch(t){}if(c(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e){},function(t,e,n){n(16)("asyncIterator")},function(t,e,n){n(16)("observable")},function(t,e,n){"use strict";var r=n(61);e.a={mixins:[r.a],props:{modifier:String},computed:{modifierClass:function(){return this.buildClass("modifier")}}}},function(t,e,n){"use strict";e.a={methods:{buildClass:function(t){var e=this,n="cdr";this.baseClass&&(n=this.baseClass);var r=n,o=this[t]?this[t].split(" "):[],u=[];return this.$style?(u.push(this.moduleClass(r)),u=u.concat(o.map(function(t){return e.modifyClassName(r,t)}))):(u.push(""+r),u=u.concat(o.map(function(t){return e.modifyClassName(r,t)}))),u.join(" ")},moduleClass:function(t){return this.$style[""+t]},modifyClassName:function(t,e){return this.$style?this.moduleClass(t+"--"+e):t+"--"+e}}}},function(t,e,n){"use strict";var r=n(31),o=n.n(r);e.default=o.a},function(t,e,n){"use strict";e.a=function(t,e,n,r,o,u,i,c){var a,f="function"==typeof t?t.options:t;e&&(f.render=e,f.staticRenderFns=n,f._compiled=!0);r&&(f.functional=!0);u&&(f._scopeId="data-v-"+u);i?(a=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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},f._ssrRegister=a):o&&(a=c?function(){o.call(this,this.$root.$options.shadowRoot)}:o);if(a)if(f.functional){f._injectStyles=a;var s=f.render;f.render=function(t,e){return a.call(e),s(t,e)}}else{var l=f.beforeCreate;f.beforeCreate=l?[].concat(l,a):[a]}return{exports:t,options:f}}}])}); |
{ | ||
"name": "@rei/cdr-checkbox", | ||
"version": "1.0.3-alpha.0", | ||
"version": "1.0.3", | ||
"author": "REI Software Engineering", | ||
@@ -5,0 +5,0 @@ "description": "REI Cedar Style Framework - Vue Component for Checkbox", |
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
44489
1