1 |
- System.register(["./index-legacy-e1ea41b7.js","./Checker-legacy-f2b46109.js"],(function(e,a){"use strict";var o,l,t,r,n,d,u,s,i,c,m,p,g,V;return{setters:[e=>{o=e.c,l=e.d,t=e.aa,r=e.w,n=e.a3,d=e.a,u=e.n,s=e.a4,i=e.k,c=e.ad,m=e.ae,p=e.h},e=>{g=e.c,V=e.s}],execute:function(){const[a,h]=o("radio-group"),v={disabled:Boolean,iconSize:u,direction:String,modelValue:s,checkedColor:String},k=Symbol(a);var S=l({name:a,props:v,emits:["change","update:modelValue"],setup(e,{emit:a,slots:o}){const{linkChildren:l}=t(k);return r((()=>e.modelValue),(e=>a("change",e))),l({props:e,updateValue:e=>a("update:modelValue",e)}),n((()=>e.modelValue)),()=>{var a;return d("div",{class:h([e.direction]),role:"radiogroup"},[null==(a=o.default)?void 0:a.call(o)])}}});e("R",i(S));const[f,y]=o("radio");var b=l({name:f,props:g,emits:["update:modelValue"],setup(e,{emit:a,slots:o}){const{parent:l}=c(k),t=()=>{l?l.updateValue(e.name):a("update:modelValue",e.name)};return()=>d(V,p({bem:y,role:"radio",parent:l,checked:(l?l.props.modelValue:e.modelValue)===e.name,onToggle:t},e),m(o,["default","icon"]))}});e("a",i(b))}}}));
|