<<<<<<<< HEAD:dist/assets/Checker-legacy-294e9829.js
System.register(["./index-legacy-dacf2886.js"],(function(e,l){"use strict";var o,n,a,i,c,t,r,s,d,u,b,k;return{setters:[e=>{o=e.ab,n=e.m,a=e.n,i=e.d,c=e.ai,t=e.b9,r=e.t,s=e.r,d=e.e,u=e.a,b=e.I,k=e.o}],execute:function(){const l=e("c",{name:o,shape:n("round"),disabled:Boolean,iconSize:a,modelValue:o,checkedColor:String,labelPosition:String,labelDisabled:Boolean});e("s",i({props:c({},l,{bem:t(Function),role:String,parent:Object,checked:Boolean,bindGroup:r}),emits:["click","toggle"],setup(e,{emit:l,slots:o}){const n=s(),a=l=>{if(e.parent&&e.bindGroup)return e.parent.props[l]},i=d((()=>{if(e.parent&&e.bindGroup){const l=a("disabled")||e.disabled;if("checkbox"===e.role){const o=a("modelValue").length,n=a("max");return l||n&&o>=+n&&!e.checked}return l}return e.disabled})),c=d((()=>a("direction"))),t=d((()=>{const l=e.checkedColor||a("checkedColor");if(l&&e.checked&&!i.value)return{borderColor:l,backgroundColor:l}})),r=o=>{const{target:a}=o,c=n.value,t=c===a||(null==c?void 0:c.contains(a));i.value||!t&&e.labelDisabled||l("toggle"),l("click",o)},h=()=>{const{bem:l,shape:c,checked:r}=e,s=e.iconSize||a("iconSize");return u("div",{ref:n,class:l("icon",[c,{disabled:i.value,checked:r}]),style:{fontSize:k(s)}},[o.icon?o.icon({checked:r,disabled:i.value}):u(b,{name:"success",style:t.value},null)])},p=()=>{if(o.default)return u("span",{class:e.bem("label",[e.labelPosition,{disabled:i.value}])},[o.default()])};return()=>{const l="left"===e.labelPosition?[p(),h()]:[h(),p()];return u("div",{role:e.role,class:e.bem([{disabled:i.value,"label-disabled":e.labelDisabled},c.value]),tabindex:i.value?void 0:0,"aria-checked":e.checked,onClick:r},[l])}}}))}}}));
========
System.register(["./index-legacy-cc1c21a0.js"],(function(e,l){"use strict";var o,n,a,i,c,t,r,s,d,u,b,k;return{setters:[e=>{o=e.ab,n=e.m,a=e.n,i=e.d,c=e.ai,t=e.b9,r=e.t,s=e.r,d=e.e,u=e.a,b=e.I,k=e.o}],execute:function(){const l=e("c",{name:o,shape:n("round"),disabled:Boolean,iconSize:a,modelValue:o,checkedColor:String,labelPosition:String,labelDisabled:Boolean});e("s",i({props:c({},l,{bem:t(Function),role:String,parent:Object,checked:Boolean,bindGroup:r}),emits:["click","toggle"],setup(e,{emit:l,slots:o}){const n=s(),a=l=>{if(e.parent&&e.bindGroup)return e.parent.props[l]},i=d((()=>{if(e.parent&&e.bindGroup){const l=a("disabled")||e.disabled;if("checkbox"===e.role){const o=a("modelValue").length,n=a("max");return l||n&&o>=+n&&!e.checked}return l}return e.disabled})),c=d((()=>a("direction"))),t=d((()=>{const l=e.checkedColor||a("checkedColor");if(l&&e.checked&&!i.value)return{borderColor:l,backgroundColor:l}})),r=o=>{const{target:a}=o,c=n.value,t=c===a||(null==c?void 0:c.contains(a));i.value||!t&&e.labelDisabled||l("toggle"),l("click",o)},h=()=>{const{bem:l,shape:c,checked:r}=e,s=e.iconSize||a("iconSize");return u("div",{ref:n,class:l("icon",[c,{disabled:i.value,checked:r}]),style:{fontSize:k(s)}},[o.icon?o.icon({checked:r,disabled:i.value}):u(b,{name:"success",style:t.value},null)])},p=()=>{if(o.default)return u("span",{class:e.bem("label",[e.labelPosition,{disabled:i.value}])},[o.default()])};return()=>{const l="left"===e.labelPosition?[p(),h()]:[h(),p()];return u("div",{role:e.role,class:e.bem([{disabled:i.value,"label-disabled":e.labelDisabled},c.value]),tabindex:i.value?void 0:0,"aria-checked":e.checked,onClick:r},[l])}}}))}}}));
>>>>>>>> 0f2588f61580675e1c866dc0769d4ceb917efcec:dist/assets/Checker-legacy-e70a6af0.js
