UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 296 kB
var EI=Object.create;var gd=Object.defineProperty;var YI=Object.getOwnPropertyDescriptor;var PI=Object.getOwnPropertyNames;var GI=Object.getPrototypeOf,KI=Object.prototype.hasOwnProperty;var DI=(e,t)=>{for(var a in t)gd(e,a,{get:t[a],enumerable:!0})},eg=(e,t,a,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of PI(t))!KI.call(e,s)&&s!==a&&gd(e,s,{get:()=>t[s],enumerable:!(r=YI(t,s))||r.enumerable});return e};var tg=(e,t,a)=>(a=e!=null?EI(GI(e)):{},eg(t||!e||!e.__esModule?gd(a,"default",{value:e,enumerable:!0}):a,e)),FI=e=>eg(gd({},"__esModule",{value:!0}),e);var UH={};DI(UH,{MapNormal:()=>jH});module.exports=FI(UH);var o=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?o(...t):typeof t=="object"?Object.keys(t).map((a,r)=>t[r]||t[a]&&a||null).filter(a=>a!==null).join(" "):t).filter(t=>!!t).join(" ");var C=(e,t)=>o({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.fillMode}-${t.themeColor}`]:t.fillMode&&t.themeColor},{[`${e}-${t.themeColor}`]:t.themeColor&&t.fillMode===void 0},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full"}),v=(e,t)=>o({"k-valid":t.valid,"k-invalid":t.invalid,"k-hover":t.hover,"k-focus":t.focus,"k-checked":t.checked,"k-active":t.active,"k-selected":t.selected,"k-disabled":t.disabled,"k-indeterminate":t.indeterminate&&!t.checked,"k-loading":t.loading,"k-empty":t.empty,"k-readonly":t.readonly,"k-highlighted":t.highlighted});var d={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},h={small:"small",medium:"medium",large:"large",full:"full"},b={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},u={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},l={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted"},Ot={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var bi=require("react/jsx-runtime"),pp="k-icon k-font-icon",RI=[],zI={size:[d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},HI={},vi=e=>{let{size:t,themeColor:a,icon:r,rotate:s,flip:i,...n}=e;return r?(0,bi.jsx)("span",{...n,className:o(e.className,pp,C(pp,{size:t}),{[`k-i-${r}`]:r,[`k-color-${a}`]:a,[`k-rotate-${s}`]:s,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"})}):(0,bi.jsx)(bi.Fragment,{})};vi.states=RI;vi.options=zI;vi.className=pp;vi.defaultOptions=HI;var og=vi;var El=require("react/jsx-runtime"),mp="k-icon k-svg-icon",OI=[],WI={size:[d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},ag={viewBox:"0 0 24 24"},yi=e=>{let{size:t,themeColor:a,rotate:r,flip:s,viewBox:i=ag.viewBox,icon:n,...c}=e;if(!n)return(0,El.jsx)(El.Fragment,{});n==="none"&&{...c,className:o(e.className,mp,"k-none")};let m=typeof n=="object"&&n.name&&n.name;return(0,El.jsx)("span",{...c,className:o(e.className,mp,C("k-icon",{size:t}),{[`k-svg-i-${m}`]:m,[`k-color-${a}`]:a,[`k-rotate-${r}`]:r,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),children:(0,El.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof n=="object"?n.viewBox:i,dangerouslySetInnerHTML:typeof n=="object"?{__html:n.content}:void 0,children:n?void 0:e.children})})};yi.states=OI;yi.options=WI;yi.className=mp;yi.defaultOptions=ag;var up=yi;var lg=tg(require("@progress/kendo-svg-icons")),xa=require("react/jsx-runtime"),QI=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),VI=[],XI={size:[d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark]},kp={viewBox:"0 0 24 24",type:"svg"},x=e=>{let{size:t,themeColor:a,icon:r,type:s=kp.type,rotate:i,flip:n,viewBox:c=kp.viewBox,...m}=e;if(!r)return(0,xa.jsx)(xa.Fragment,{});if(s==="svg"){if(r==="none")return(0,xa.jsx)(up,{...m,icon:r,size:t});let k=QI(`${r}-icon`);return lg[k]?(0,xa.jsx)(up,{...m,icon:lg[k],size:t,themeColor:a,rotate:i,flip:n,viewBox:c}):(0,xa.jsx)(xa.Fragment,{})}return(0,xa.jsx)(og,{...m,icon:r,size:t,themeColor:a,rotate:i,flip:n})};x.states=VI;x.options=XI;x.defaultOptions=kp;var fp=x;var He=require("react/jsx-runtime"),rg="k-map",ZI=[],JI={},jI=(0,He.jsxs)(He.Fragment,{children:["\xA9 ",(0,He.jsx)("a",{href:"#",children:"Attribution"})]}),Er={attribution:jI,markerStyle:{zIndex:"1000",left:"500px",top:"300px"},scrollContainerStyle:{transformOrigin:"left top 0px"},horizontalScrollbarStyle:{transformOrigin:"left top 0px",width:"24px"},verticalScrollbarStyle:{transformOrigin:"left top 0px",height:"239px"}},Yr=e=>{let{attribution:t=Er.attribution,markerStyle:a=Er.markerStyle,scrollContainerStyle:r=Er.scrollContainerStyle,horizontalScrollbarStyle:s=Er.horizontalScrollbarStyle,verticalScrollbarStyle:i=Er.verticalScrollbarStyle,children:n,...c}=e;return(0,He.jsxs)("div",{...c,className:o(e.className,rg),children:[(0,He.jsxs)("div",{className:"km-scroll-wrapper",style:{overflow:"hidden"},children:[(0,He.jsx)("div",{className:"km-scroll-header"}),(0,He.jsxs)("div",{className:"km-scroll-container",style:r,children:[(0,He.jsx)("div",{className:"k-layer",style:{zIndex:"1000"},children:(0,He.jsx)(x,{className:"k-marker",icon:"map-marker-target",size:"xxlarge",style:a})}),(0,He.jsx)("div",{className:"k-layer",children:n})]}),(0,He.jsx)("div",{className:"km-touch-scrollbar km-horizontal-scrollbar",style:s}),(0,He.jsx)("div",{className:"km-touch-scrollbar km-vertical-scrollbar",style:i})]}),(0,He.jsx)("div",{className:"k-map-controls k-pos-bottom k-pos-right",children:(0,He.jsx)("div",{className:"k-attribution",children:t})}),(0,He.jsxs)("div",{className:"k-map-controls k-pos-top k-pos-left",children:[(0,He.jsx)(Pr,{}),(0,He.jsx)(Gr,{})]})]})};Yr.states=ZI;Yr.options=JI;Yr.className=rg;Yr.defaultOptions=Er;var ig=require("react/jsx-runtime"),UI=[],qI={},sg=e=>{let{type:t,...a}=e,r=t==="p"?"paragraph":t,s=t.includes("display")?"div":t;return(0,ig.jsx)(s,{...a,className:o(e.className,{[`k-${r}`]:t}),children:e.children})};sg.states=UI;sg.options=qI;var dg=require("react/jsx-runtime"),xd="k-actions",_I=[],$I={},hp={alignment:"start",orientation:"horizontal"},Z=e=>{let{alignment:t=hp.alignment,orientation:a=hp.orientation,...r}=e;return(0,dg.jsx)("div",{...r,className:o(xd,{[`${xd}-${t}`]:t,[`${xd}-${a}`]:a},e.className),children:e.children})};Z.states=_I;Z.options=$I;Z.className=xd;Z.defaultOptions=hp;var ng=Z;var cg=require("react/jsx-runtime"),bd="k-input",eB=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],tB={size:[d.small,d.medium,d.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},vd={size:d.medium,rounded:d.medium,fillMode:b.solid},M=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:c,size:m=vd.size,rounded:k=vd.rounded,fillMode:y=vd.fillMode,...T}=e;return(0,cg.jsx)("span",{...T,className:o(e.className,bd,C(bd,{size:m,rounded:k,fillMode:y}),v(bd,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:c}))})};M.states=eB;M.options=tB;M.className=bd;M.defaultOptions=vd;var pg=require("react/jsx-runtime"),yd="k-picker",oB=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],aB={size:[d.small,d.medium,d.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},wd={size:d.medium,rounded:h.medium,fillMode:b.solid},Wt=e=>{let{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:c,size:m=wd.size,rounded:k=wd.rounded,fillMode:y=wd.fillMode,...T}=e;return(0,pg.jsx)("span",{...T,className:o(e.className,yd,C(yd,{size:m,rounded:k,fillMode:y}),v(yd,{hover:t,focus:a,disabled:r,invalid:s,valid:i,loading:n,readonly:c})),children:e.children})};Wt.states=oB;Wt.options=aB;Wt.className=yd;Wt.defaultOptions=wd;var Kr=require("react/jsx-runtime"),mg="k-clear-value",lB=[l.disabled,l.loading,l.readonly],rB={},re=e=>{let{disabled:t,loading:a,readonly:r,value:s}=e;return t||r||a||!s?(0,Kr.jsx)(Kr.Fragment,{}):(0,Kr.jsx)("span",{className:o(e.className,mg),children:(0,Kr.jsx)(x,{icon:"x"})})};re.states=lB;re.options=rB;re.className=mg;var ug=require("react/jsx-runtime"),gp="k-input-inner",sB=[],iB={},Td={type:"text",autocomplete:"off",value:"",placeholder:""},ce=e=>{let{value:t=Td.value,type:a=Td.type,placeholder:r=Td.placeholder,autocomplete:s=Td.autocomplete,...i}=e;return(0,ug.jsx)("input",{...i,type:a,className:o(e.className,gp,C(gp,e)),placeholder:r,autoComplete:s,defaultValue:t})};ce.states=sB;ce.options=iB;ce.className=gp;var wi=require("react/jsx-runtime"),xp="k-input-inner",nB=[],dB={},ba=e=>{let{value:t,placeholder:a,showValue:r,valueIcon:s,valueIconName:i,...n}=e;return(0,wi.jsxs)("span",{...n,className:o(e.className,xp,C(xp,e)),children:[s,!s&&i&&(0,wi.jsx)(x,{className:"k-input-value-icon",icon:i}),r&&!t&&a,r&&t&&(0,wi.jsx)("span",{className:"k-input-value-text",children:t})]})};ba.states=nB;ba.options=dB;ba.className=xp;var fg=require("react/jsx-runtime"),bp="k-input-inner",cB=[],pB={},kg={value:"",placeholder:""},Ti=e=>{let{value:t=kg.value,placeholder:a=kg.placeholder,rows:r,...s}=e;return(0,fg.jsx)("textarea",{...s,className:o(e.className,bp,C(bp,e)),placeholder:a,rows:r,defaultValue:t})};Ti.states=cB;Ti.options=pB;Ti.className=bp;var Ai=require("react/jsx-runtime"),hg="k-input-loading-icon",mB=[l.disabled,l.loading],_=e=>{let{disabled:t,loading:a}=e;return t||!a?(0,Ai.jsx)(Ai.Fragment,{}):(0,Ai.jsx)("span",{className:o(e.className,hg,"k-icon k-i-loading")})};_.states=mB;_.className=hg;var Ni=require("react/jsx-runtime"),gg="k-input-validation-icon",uB=[l.valid,l.invalid,l.disabled,l.loading],kB={},U=e=>{let{valid:t,invalid:a,disabled:r,loading:s}=e,i=a?"warning-circle":"check-circle";return r||s||!!!(t||a)?(0,Ni.jsx)(Ni.Fragment,{}):(0,Ni.jsx)(x,{className:o(gg),icon:i})};U.states=uB;U.options=kB;U.className=gg;var Ci=require("react/jsx-runtime"),fB="k-input-prefix",hB={direction:"horizontal"},ae=e=>{let{direction:t=hB.direction,...a}=e;return e.children?(0,Ci.jsx)("span",{...a,className:o(fB,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Ci.jsx)(Ci.Fragment,{})};var Si=require("react/jsx-runtime"),gB="k-input-suffix",xB={direction:"horizontal"},le=e=>{let{direction:t=xB.direction,...a}=e;return e.children?(0,Si.jsx)("span",{...a,className:o(gB,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Si.jsx)(Si.Fragment,{})};var bB=require("react/jsx-runtime");var vB=require("react/jsx-runtime");var bg=require("react/jsx-runtime"),xg="k-input-separator",yB={direction:"vertical"},Ce=e=>{let{direction:t=yB.direction,...a}=e;return(0,bg.jsx)("span",{...a,className:o(xg,e.className,{[`${xg}-${t}`]:t})})};var vp=require("react/jsx-runtime"),vg="k-animation-container",wB=[],TB={},yg={positionMode:"absolute"},Fa=e=>{let{positionMode:t=yg.positionMode,animationStyle:a,offset:r,...s}=e;return(0,vp.jsx)("div",{...s,style:{...r,...e.style},className:o(e.className,vg,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,vp.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};Fa.states=wB;Fa.options=TB;Fa.className=vg;Fa.defaultOptions=yg;var yp=require("react/jsx-runtime"),wg="k-popup",AB=[],NB={},Tg={positionMode:"absolute"},H=e=>{let{offset:t,positionMode:a=Tg.positionMode,animationStyle:r,...s}=e;return(0,yp.jsx)(Fa,{positionMode:a,offset:t,animationStyle:r,children:(0,yp.jsx)("div",{...s,className:o(e.className,wg),children:e.children})})};H.states=AB;H.options=NB;H.className=wg;H.defaultOptions=Tg;var Ag=require("react/jsx-runtime"),CB="k-no-data",Ii=e=>(0,Ag.jsx)("span",{className:o(CB,e.className),children:e.children});var Fo=require("react/jsx-runtime"),wp="k-list",SB=[],IB={size:[d.small,d.medium,d.large]},Ng={size:d.medium},J=e=>{let{size:t=Ng.size,virtualization:a,children:r,optionLabel:s,customValue:i,screenReaders:n,...c}=e,m,k,y,T,g=[];return r?r.map((A,N)=>{A.type===Be?(A.props.root===!0?(m=A.props.label,A.props.children.map((S,B)=>{g.push((0,Fo.jsx)(K,{...S.props},`optChild-${B}-${new Date().getTime()}`))})):A.props.children.forEach((S,B)=>{let L="";B===0&&(L=A.props.label),g.push((0,Fo.jsx)(K,{className:B===0?"k-first":"",...S.props,groupLabel:L},`groupLabel-${B}-${new Date().getTime()}`))}),k=(0,Fo.jsx)(Be,{label:m,virtualization:a,children:g})):A.type===K&&(g.push((0,Fo.jsx)(K,{...A.props},`${A.type}-${N}`)),y=(0,Fo.jsx)(Dr,{virtualization:a,children:g}),n&&(T=(0,Fo.jsxs)(Ii,{className:"k-sr-only",children:[g.length," items found."]})))}):T=(0,Fo.jsx)(Ii,{children:"No data found."}),(0,Fo.jsxs)("div",{...c,className:o(e.className,wp,C(wp,{size:t}),{"k-virtual-list":a}),children:[s,i,k,y,T]})};J.states=SB;J.options=IB;J.className=wp;J.defaultOptions=Ng;var Ro=require("react/jsx-runtime"),Tp="k-list",BB=[],MB={size:[d.small,d.medium,d.large]},Cg={size:d.medium},Yl=e=>{let{size:t=Cg.size,virtualization:a,children:r,...s}=e,i,n,c,m=[];return r?r.map((k,y)=>{k.type===Be?(k.props.root===!0?(i=k.props.label,k.props.children.map((T,g)=>{m.push((0,Ro.jsx)(K,{...T.props},`optChild-${g}-${new Date().getTime()}`))})):(m.push((0,Ro.jsx)(Sg,{...k.props,children:k.props.label},`listChild-${y}`)),k.props.children.map((T,g)=>{m.push((0,Ro.jsx)(K,{...T.props},`fwOptChild-${g}-${new Date().getTime()}`))})),n=(0,Ro.jsx)(Be,{label:i,virtualization:a,children:m})):k.type===K&&(m.push((0,Ro.jsx)(K,{...k.props},`${k.type}-${y}`)),c=(0,Ro.jsx)(Dr,{virtualization:a,children:m}))}):c=(0,Ro.jsx)(Ii,{children:"No data found."}),(0,Ro.jsxs)("div",{...s,className:o(e.className,Tp,C(Tp,{size:t}),{"k-virtual-list":a}),children:[n,c]})};Yl.states=BB;Yl.options=MB;Yl.className=Tp;Yl.defaultOptions=Cg;var Np=require("react/jsx-runtime"),Ad="k-checkbox",LB=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked,l.indeterminate],EB={size:[d.small,d.medium,d.large],rounded:[h.small,h.medium,h.large,h.full]},Ap={size:d.medium,rounded:h.medium},ct=e=>{let{id:t,checked:a,indeterminate:r,hover:s,focus:i,disabled:n,invalid:c,valid:m,required:k,size:y=Ap.size,rounded:T=Ap.rounded,...g}=e;return(0,Np.jsx)("span",{className:"k-checkbox-wrap",children:(0,Np.jsx)("input",{...g,id:t,type:"checkbox",defaultChecked:a,required:k,className:o(e.className,Ad,C(Ad,{size:y,rounded:T}),v(Ad,{hover:s,focus:i,disabled:n,invalid:c,valid:m,indeterminate:r,checked:a}))})})};ct.states=LB;ct.options=EB;ct.className=Ad;ct.defaultOptions=Ap;var Mg=require("react/jsx-runtime"),Ig="k-checkbox-list",YB=[],PB={},Bg={layout:"vertical"},Fr=e=>{let{layout:t=Bg.layout,...a}=e;return(0,Mg.jsx)("ul",{...a,className:o(e.className,Ig,{[`k-list-${t}`]:t}),children:e.children})};Fr.states=YB;Fr.options=PB;Fr.className=Ig;Fr.defaultOptions=Bg;var Eg=require("react/jsx-runtime"),Lg="k-checkbox-list-item",GB=[],KB={},DB={},Rr=e=>{let{...t}=e;return(0,Eg.jsx)("li",{...t,className:o(e.className,Lg),children:e.children})};Rr.states=GB;Rr.options=KB;Rr.className=Lg;Rr.defaultOptions=DB;var Sp=require("react/jsx-runtime");var Ip=require("react/jsx-runtime");var Bp=require("react/jsx-runtime");var Mp=require("react/jsx-runtime");var FB=require("react/jsx-runtime");var RB=require("react/jsx-runtime");var Pl=require("react/jsx-runtime"),Lp="k-list-item",zB=[l.hover,l.focus,l.selected,l.disabled],HB={},OB={},K=e=>{let{text:t,groupLabel:a,group:r,showIcon:s,iconName:i,showCheckbox:n,checked:c,hover:m,focus:k,selected:y,disabled:T,...g}=e,A=t||e.children;return(0,Pl.jsxs)("li",{...g,className:o(e.className,r?"k-list-group-item":Lp,v(Lp,{hover:m,focus:k,disabled:T,selected:y})),children:[n&&(0,Pl.jsx)(ct,{checked:c}),s&&(0,Pl.jsx)(x,{icon:i}),(0,Pl.jsx)("span",{className:"k-list-item-text",children:A}),a&&a!==""&&(0,Pl.jsx)("div",{className:"k-list-item-group-label",children:a})]})};K.states=zB;K.options=HB;K.className=Lp;K.defaultOptions=OB;var zr=require("react/jsx-runtime"),WB="k-list-content",Dr=e=>{let{virtualization:t,...a}=e;return(0,zr.jsxs)("div",{...a,className:o(WB,e.className),children:[(0,zr.jsx)("ul",{className:o("k-list-ul"),children:e.children}),t&&(0,zr.jsx)("div",{className:"k-height-container",children:(0,zr.jsx)("div",{})})]})};var Ep=require("react/jsx-runtime"),QB="k-list-group-sticky-header",Yg=e=>(0,Ep.jsx)("div",{className:o(QB,e.className),children:(0,Ep.jsx)("div",{className:"k-list-header-text",children:e.children})});var Gl=require("react/jsx-runtime"),Be=e=>{let{virtualization:t,label:a}=e;return(0,Gl.jsxs)(Gl.Fragment,{children:[a&&(0,Gl.jsx)(Yg,{children:a}),e.children&&(0,Gl.jsx)(Dr,{virtualization:t,children:e.children})]})};var Yp=require("react/jsx-runtime"),VB="k-list-group-item",Sg=e=>(0,Yp.jsx)("li",{className:o(VB,e.className),children:(0,Yp.jsx)("span",{className:"k-list-item-text",children:e.children})});var Pg=require("react/jsx-runtime"),Pp="k-list-optionlabel",XB=[l.hover,l.focus,l.selected,l.disabled],ZB={},JB={},Nd=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...n}=e;return(0,Pg.jsx)("div",{...n,className:o(Pp,v(Pp,{hover:a,focus:r,selected:s,disabled:i})),children:t})};Nd.states=XB;Nd.options=ZB;Nd.className=Pp;Nd.defaultOptions=JB;var Gg=require("react/jsx-runtime"),Gp="k-list-custom-value",jB=[l.hover,l.focus,l.selected,l.disabled],UB={},qB={},xt=e=>{let{text:t,hover:a,focus:r,selected:s,disabled:i,...n}=e;return(0,Gg.jsx)("div",{...n,className:o(Gp,v(Gp,{hover:a,focus:r,selected:s,disabled:i})),children:t})};xt.states=jB;xt.options=UB;xt.className=Gp;xt.defaultOptions=qB;var _B=require("react/jsx-runtime");var $B=require("react/jsx-runtime");var Kg=require("react/jsx-runtime");var Dg=require("react/jsx-runtime");var eM=require("react/jsx-runtime");var Fg=require("react/jsx-runtime");var Rg=require("react/jsx-runtime");var wo=require("react/jsx-runtime"),Cd="k-button",tM=[l.hover,l.focus,l.active,l.selected,l.disabled],oM={size:[d.small,d.medium,d.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Kl={size:d.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,showArrow:!1,arrowIconName:"caret-alt-down"},p=e=>{let{size:t=Kl.size,rounded:a=Kl.rounded,fillMode:r=Kl.fillMode,themeColor:s=Kl.themeColor,showArrow:i=Kl.showArrow,arrowIconName:n=Kl.arrowIconName,hover:c,focus:m,active:k,selected:y,disabled:T,icon:g,text:A,iconClassName:N,...S}=e,B=g!==void 0,L=e.children!==void 0;return(0,wo.jsxs)("button",{...S,className:o(e.className,Cd,C(Cd,{size:t,rounded:a,fillMode:r,themeColor:s}),v(Cd,{hover:c,focus:m,active:k,disabled:T,selected:y}),{"k-icon-button":!A&&!L&&B}),children:[g&&(0,wo.jsx)(x,{className:o(N,"k-button-icon"),icon:g}),A?(0,wo.jsxs)(wo.Fragment,{children:[A&&(0,wo.jsx)("span",{className:"k-button-text",children:A}),e.children]}):e.children&&(0,wo.jsx)("span",{className:"k-button-text",children:e.children}),i&&(0,wo.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,wo.jsx)(x,{icon:n})})]})};p.states=tM;p.options=oM;p.className=Cd;p.defaultOptions=Kl;var zg=require("react/jsx-runtime"),Oe=e=>(0,zg.jsx)(p,{icon:"folder",...e,children:void 0});var Hg=require("react/jsx-runtime"),To=e=>(0,Hg.jsx)(p,{icon:"folder",children:"Button",...e});var aM=require("react/jsx-runtime");var Hr=require("react/jsx-runtime"),Og="k-suggestion-group",lM=[],rM={},Wg={scrollable:!0},Dl=e=>{let{scrollable:t=Wg.scrollable,...a}=e,r=(0,Hr.jsx)("div",{...a,className:o(Og,e.className),children:e.children});return t?(0,Hr.jsxs)("div",{className:"k-suggestion-scrollwrap",children:[(0,Hr.jsx)(p,{icon:"chevron-left"}),r,(0,Hr.jsx)(p,{icon:"chevron-right"})]}):r};Dl.states=lM;Dl.options=rM;Dl.className=Og;Dl.defaultOptions=Wg;var Qg=require("react/jsx-runtime"),Sd="k-suggestion",sM=[l.active,l.hover,l.focus],iM={themeColor:[u.base,u.primary,u.secondary]},nM={text:"Suggestion"},Fl=e=>{let{themeColor:t,active:a,hover:r,focus:s,text:i,...n}=e;return(0,Qg.jsx)("span",{...n,className:o(e.className,Sd,v(Sd,{hover:r,active:a,focus:s}),C(Sd,{themeColor:t})),children:i})};Fl.states=sM;Fl.options=iM;Fl.className=Sd;Fl.item=nM;var Kp=require("react/jsx-runtime");var Dp=require("react/jsx-runtime");var Fp=require("react/jsx-runtime"),Bi="k-avatar";var dM=[l.hover,l.focus,l.active,l.selected,l.disabled],cM={size:[d.small,d.medium,d.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Rl={type:"text",size:d.medium,rounded:h.full,fillMode:b.solid,themeColor:u.primary,border:!1},zo=e=>{let{size:t=Rl.size,rounded:a=Rl.rounded,fillMode:r=Rl.fillMode,themeColor:s=Rl.themeColor,type:i=Rl.type,border:n=Rl.border,...c}=e;return(0,Fp.jsx)("div",{...c,className:o(e.className,Bi,C(Bi,{size:t,rounded:a,fillMode:r,themeColor:s}),{[`${Bi}-bordered`]:n}),children:(0,Fp.jsx)("span",{className:`${Bi}-${i}`,children:e.children})})};zo.states=dM;zo.options=cM;zo.className=Bi;zo.defaultOptions=Rl;var pM=require("react/jsx-runtime");var mM=require("react/jsx-runtime");var uM=require("react/jsx-runtime");var Xg=require("react/jsx-runtime"),Mi="k-badge",kM=[],fM={size:[d.small,d.medium,d.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.outline],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Li={size:d.medium,fillMode:b.solid,themeColor:u.primary,cutoutBorder:!1},Or=e=>{let{size:t=Li.size,fillMode:a=Li.fillMode,themeColor:r=Li.themeColor,cutoutBorder:s=Li.cutoutBorder,rounded:i,position:n,align:c,...m}=e;return(0,Xg.jsx)("span",{...m,className:o(e.className,Mi,C(Mi,{size:t,rounded:i,fillMode:a,themeColor:r}),{[`${Mi}-${n}`]:n,[`k-${c}`]:c,[`${Mi}-border-cutout`]:s}),children:e.children})};Or.states=kM;Or.options=fM;Or.className=Mi;Or.defaultOptions=Li;var hM=require("react/jsx-runtime");var gM=require("react/jsx-runtime");var xM=require("react/jsx-runtime");var va=require("react/jsx-runtime"),Id="k-chip",bM=[l.hover,l.focus,l.active,l.selected,l.disabled],vM={size:[d.small,d.medium,d.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.outline],themeColor:[u.base,u.success,u.warning,u.error,u.info]},Wr={size:d.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,avatarImage:"/packages/html/assets/avatar.jpg"},Ao=e=>{let{size:t=Wr.size,rounded:a=Wr.rounded,fillMode:r=Wr.fillMode,themeColor:s=Wr.themeColor,text:i,icon:n,actions:c,showAvatar:m,avatarImage:k=Wr.avatarImage,hover:y,focus:T,active:g,selected:A,disabled:N,...S}=e;return(0,va.jsxs)("div",{...S,className:o(e.className,Id,C(Id,{size:t,rounded:a,fillMode:r,themeColor:s}),v(Id,{hover:y,focus:T,active:g,disabled:N,selected:A})),children:[n&&(0,va.jsx)(x,{className:"k-chip-icon",icon:n,size:"small"}),m&&(0,va.jsx)(zo,{className:"k-chip-avatar",type:"image",children:(0,va.jsx)("img",{src:k})}),(0,va.jsx)("span",{className:"k-chip-content",children:e.children?e.children:i&&(0,va.jsx)("span",{className:"k-chip-label",children:i})}),c&&(0,va.jsx)("span",{className:"k-chip-actions",children:c})]})};Ao.states=bM;Ao.options=vM;Ao.className=Id;Ao.defaultOptions=Wr;var Jg=require("react/jsx-runtime"),Rp="k-chip-list",yM=[],wM={size:[d.small,d.medium,d.large]},Zg={size:d.medium},No=e=>{let{size:t=Zg.size,...a}=e;return(0,Jg.jsx)("div",{...a,className:o(e.className,Rp,C(Rp,{size:t})),children:e.children})};No.states=yM;No.options=wM;No.className=Rp;No.defaultOptions=Zg;var TM=require("react/jsx-runtime");var AM=require("react/jsx-runtime");var NM=require("react/jsx-runtime");var CM=require("react/jsx-runtime");var zp=require("react/jsx-runtime");var Ei=require("react/jsx-runtime"),jg="k-color-preview",SM=[],IM={},Ra=e=>{let{color:t,iconName:a,...r}=e;return(0,Ei.jsxs)("span",{...r,className:o(e.className,jg,{"k-icon-color-preview":a,"k-no-color":!t}),children:[a&&(0,Ei.jsx)(x,{icon:a,className:"k-color-preview-icon"}),(0,Ei.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ra.states=SM;Ra.options=IM;Ra.className=jg;var ro=require("react/jsx-runtime"),Hp="k-loader",BM={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},MM=[],LM={size:[d.small,d.medium,d.large],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Md={size:d.medium,themeColor:u.primary,animation:"pulsing"},za=e=>{let{size:t=Md.size,themeColor:a=Md.themeColor,animation:r=Md.animation,...s}=e,i=(0,ro.jsx)("span",{className:"k-loader-segment"});return(0,ro.jsx)("div",{...s,className:o(e.className,Hp,{[`k-loader-${BM[r]||r}`]:r},C(Hp,{size:t,themeColor:a})),children:(0,ro.jsxs)("div",{className:"k-loader-canvas",children:[r==="pulsing"&&(0,ro.jsxs)(ro.Fragment,{children:[i,i]}),r==="infinite-spinner"&&(0,ro.jsxs)(ro.Fragment,{children:[i,i,i]}),r==="converging-spinner"&&(0,ro.jsxs)(ro.Fragment,{children:[i,i,i,i]})]})})};za.states=MM;za.options=LM;za.className=Hp;za.defaultOptions=Md;var Ug=za;var Ol=require("react/jsx-runtime"),Op="k-loader-container",EM=[],YM={size:[d.small,d.medium,d.large],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Hl={size:d.medium,themeColor:u.primary,loaderType:"pulsing",position:"top",overlay:"dark",panel:!1},Yi=e=>{let{size:t=Hl.size,themeColor:a=Hl.themeColor,loaderType:r=Hl.loaderType,position:s=Hl.position,overlay:i=Hl.overlay,panel:n=Hl.panel,...c}=e;return(0,Ol.jsxs)("div",{...c,className:o(e.className,Op,C(Op,{size:t}),{[`k-loader-${s}`]:s}),children:[(0,Ol.jsx)("div",{className:`k-loader-container-overlay k-overlay-${i}`}),(0,Ol.jsxs)("div",{className:o("k-loader-container-inner",{"k-loader-container-panel":n}),children:[(0,Ol.jsx)(Ug,{size:t,themeColor:a,animation:r}),(0,Ol.jsx)("div",{className:`k-loader-container-label !k-text-${a}`,children:"Loading..."})]})]})};Yi.states=EM;Yi.options=YM;Yi.className=Op;Yi.defaultOptions=Hl;var PM=require("react/jsx-runtime");var GM=require("react/jsx-runtime");var KM=require("react/jsx-runtime");var DM=require("react/jsx-runtime");var _g=require("react/jsx-runtime"),qg="k-skeleton",FM=[],RM={},Wp={shape:"text",animation:"pulse"},Ha=e=>{let{shape:t=Wp.shape,animation:a=Wp.animation,...r}=e;return(0,_g.jsx)("span",{...r,className:o(e.className,qg,{[`k-skeleton-${t}`]:t,[`k-skeleton-${a}`]:a}),style:e.style})};Ha.states=FM;Ha.options=RM;Ha.className=qg;Ha.defaultOptions=Wp;var zM=require("react/jsx-runtime");var $g=require("react/jsx-runtime"),Qp=e=>(0,$g.jsx)(Ha,{shape:"rect",...e});var HM=require("react/jsx-runtime");var Ho=require("react/jsx-runtime"),Vp="k-form-field",OM=[l.disabled],pt=e=>{let{label:t,orientation:a,optional:r,editor:s,hint:i,error:n,info:c,disabled:m,dir:k,colSpan:y}=e;return(0,Ho.jsxs)("div",{className:o(Vp,e.className,v(Vp,{disabled:m}),{[`k-col-span-${y}`]:y}),dir:k,children:[t&&(0,Ho.jsxs)("label",{className:o("k-label","k-form-label"),children:[t,r&&(0,Ho.jsx)("span",{className:"k-label-optional",children:"(Optional)"}),c&&(0,Ho.jsx)("span",{className:"k-field-info",children:"(field info)"})]}),a==="horizontal"&&!t&&(0,Ho.jsx)("span",{className:"k-label k-form-label k-label-empty"}),(0,Ho.jsxs)("div",{className:"k-form-field-wrap",children:[s,i&&(0,Ho.jsx)("div",{className:"k-form-hint",children:i}),n&&(0,Ho.jsx)("div",{className:"k-form-error",children:n})]})]})};pt.states=OM;pt.className=Vp;var Oa=require("react/jsx-runtime"),ex="k-form-fieldset",Oo=e=>{let{legend:t,layout:a,cols:r,gutters:s,colSpan:i}=e;return(0,Oa.jsxs)("fieldset",{className:o(ex,{[`k-col-span-${i}`]:i}),children:[t&&(0,Oa.jsx)("legend",{className:"k-form-legend",children:t}),a==="grid"?(0,Oa.jsx)("div",{className:o("k-form-layout","k-d-grid",{[`k-grid-cols-${r}`]:r}),style:{...typeof s=="string"&&{gap:s},...typeof s=="object"&&s.rows&&{rowGap:s.rows},...typeof s=="object"&&s.cols&&{columnGap:s.cols}},children:e.children}):(0,Oa.jsx)(Oa.Fragment,{children:e.children})]})};Oo.className=ex;var Wo=require("react/jsx-runtime"),Yd=require("react"),Ld="k-form",WM=[],QM={size:[d.small,d.medium,d.large]},Ed={size:d.medium,layout:"basic",tag:"form"},ya=e=>{let{size:t=Ed.size,orientation:a,layout:r=Ed.layout,formButtons:s,cols:i,gutters:n,tag:c=Ed.tag,children:m}=e,k=({tag:T,className:g,children:A})=>T==="form"?(0,Wo.jsx)("form",{className:g,children:A}):(0,Wo.jsx)("div",{className:g,children:A}),y=[];return m&&(Array.isArray(m)?m.map((T,g)=>{T.type===pt?y.push((0,Yd.createElement)(pt,{...T.props,orientation:a,key:g})):y.push(T)}):m.type===pt?y.push((0,Yd.createElement)(pt,{...m.props,orientation:a,key:`${new Date().getTime()}`})):m.type===Oo&&y.push((0,Yd.createElement)(Oo,{...m.props,key:`${new Date().getTime()}`}))),(0,Wo.jsxs)(k,{tag:c,className:o(e.className,Ld,C(Ld,{size:t}),{[`${Ld}-${a}`]:a}),children:[r==="grid"?(0,Wo.jsx)("div",{className:o("k-form-layout","k-d-grid",{[`k-grid-cols-${i}`]:i}),style:{...typeof n=="string"&&{gap:n},...typeof n=="object"&&n.rows&&{rowGap:n.rows},...typeof n=="object"&&n.cols&&{columnGap:n.cols}},children:y}):(0,Wo.jsx)(Wo.Fragment,{children:y}),s&&(0,Wo.jsx)("div",{className:"k-form-buttons",children:s})]})};ya.states=WM;ya.options=QM;ya.className=Ld;ya.defaultOptions=Ed;var ox=require("react/jsx-runtime"),VM="k-actionsheet-footer",tx={alignment:"stretched",orientation:"horizontal"},Co=e=>{let{alignment:t=tx.alignment,orientation:a=tx.orientation,template:r,as:s=r?"div":Z,...i}=e;return(0,ox.jsx)(s,{...i,...!r&&{alignment:t,orientation:a},className:o(e.className,VM),children:e.children})};var Wa=require("react/jsx-runtime"),ax="k-searchbox",XM=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],ZM={size:[d.small,d.medium,d.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Xp={showIcon:!0,icon:"search",size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode},rt=e=>{let{value:t,placeholder:a,size:r,rounded:s,fillMode:i,hover:n,focus:c,valid:m,invalid:k,required:y,loading:T,disabled:g,showIcon:A=Xp.showIcon,icon:N=Xp.icon,...S}=e;return(0,Wa.jsxs)(M,{...S,size:r,rounded:s,fillMode:i,hover:n,focus:c,valid:m,invalid:k,required:y,loading:T,disabled:g,className:o(e.className,ax),children:[A&&(0,Wa.jsx)(x,{className:"k-input-icon",icon:N}),(0,Wa.jsx)(ce,{placeholder:a,value:t}),(0,Wa.jsx)(_,{...e}),(0,Wa.jsx)(U,{...e}),(0,Wa.jsx)(re,{...e})]})};rt.states=XM;rt.options=ZM;rt.className=ax;rt.defaultOptions=Xp;var JM=require("react/jsx-runtime");var bt=require("react/jsx-runtime"),lx="k-textbox",jM=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],UM={size:[d.small,d.medium,d.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Wl={showClearButton:!0,showValidationIcon:!0,size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode,separators:!0},ee=e=>{let{size:t=Wl.size,rounded:a=Wl.rounded,fillMode:r=Wl.fillMode,separators:s=Wl.separators,showClearButton:i=Wl.showClearButton,showValidationIcon:n=Wl.showValidationIcon,prefix:c,suffix:m,type:k,value:y,placeholder:T,hover:g,focus:A,valid:N,invalid:S,required:B,loading:L,disabled:P,readonly:z,...X}=e;return(0,bt.jsxs)(M,{...X,size:t,rounded:a,fillMode:r,hover:g,focus:A,valid:N,invalid:S,required:B,loading:L,disabled:P,readonly:z,className:o(e.className,lx),children:[c&&(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(ae,{children:c}),s&&(0,bt.jsx)(Ce,{})]}),(0,bt.jsx)(ce,{placeholder:T,value:y,type:k}),n&&(0,bt.jsx)(U,{valid:N,invalid:S,loading:L,disabled:P}),(0,bt.jsx)(_,{loading:L,disabled:P}),i&&(0,bt.jsx)(re,{loading:L,disabled:P,readonly:z,value:y}),m&&(0,bt.jsxs)(bt.Fragment,{children:[s&&(0,bt.jsx)(Ce,{}),(0,bt.jsx)(le,{children:m})]})]})};ee.states=jM;ee.options=UM;ee.className=lx;ee.defaultOptions=Wl;var qM=require("react/jsx-runtime");var sx=require("react/jsx-runtime");var nx=require("react/jsx-runtime");var Qt=require("react/jsx-runtime"),dx="k-actionsheet-titlebar",_M={},se=e=>{let{title:t,subtitle:a,actionsStart:r,actionsEnd:s,filter:i,input:n,inputValue:c,inputPlaceholder:m,adaptive:k,children:y,...T}=e;return(0,Qt.jsxs)("div",{...T,className:o(e.className,dx),children:[(0,Qt.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[r&&(0,Qt.jsx)("div",{className:"k-actionsheet-actions",children:r}),!y&&(0,Qt.jsxs)("div",{className:"k-actionsheet-title",children:[t&&(0,Qt.jsx)("div",{className:"k-text-center",children:t}),a&&(0,Qt.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:a})]}),y&&(0,Qt.jsx)("div",{className:"k-actionsheet-title",children:y}),s&&(0,Qt.jsx)("div",{className:"k-actionsheet-actions",children:s})]}),(n||i)&&(0,Qt.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:n?(0,Qt.jsx)(ee,{value:c,placeholder:m,size:k?"large":"medium"}):(0,Qt.jsx)(rt,{placeholder:"Filter",size:k?"large":"medium"})})]})};se.className=dx;se.defaultOptions=_M;var Qr=require("react/jsx-runtime"),Zp="k-actionsheet-view",$M=[],eL={},tL={},Vr=e=>{let{adaptive:t,animated:a,children:r,header:s,footer:i,...n}=e,c=(s==null?void 0:s.type)===se&&(0,Qr.jsx)(se,{adaptive:t,...s==null?void 0:s.props}),m=(i==null?void 0:i.type)===Co&&(0,Qr.jsx)(Co,{...i==null?void 0:i.props});return(0,Qr.jsxs)("div",{...n,className:o(e.className,Zp,{[`${Zp}-animated`]:a}),children:[c,(0,Qr.jsx)("div",{className:"k-actionsheet-content",children:r}),m]})};Vr.states=$M;Vr.options=eL;Vr.className=Zp;Vr.defaultOptions=tL;var Ql=require("react/jsx-runtime"),cx="k-actionsheet",oL=[],aL={},Pi={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},pe=e=>{let{side:t=Pi.side,fullscreen:a=Pi.fullscreen,adaptive:r=Pi.adaptive,overlay:s=Pi.overlay,template:i,children:n,header:c,footer:m,...k}=e;return(0,Ql.jsxs)("div",{className:"k-actionsheet-container",children:[s&&(0,Ql.jsx)("div",{className:"k-overlay"}),(0,Ql.jsx)(Fa,{animationStyle:{[`${a===!0?"top":t}`]:0,[`${a===!0?"width":null}`]:"100%",[`${a===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:(0,Ql.jsx)("div",{...k,className:o(e.className,cx,{[`k-actionsheet-${t}`]:a===!1,"k-actionsheet-fullscreen":a===!0,"k-adaptive-actionsheet":r}),children:i||(0,Ql.jsx)(Vr,{header:c,footer:m,adaptive:r,...e,children:n})})})]})};pe.states=oL;pe.options=aL;pe.className=cx;pe.defaultOptions=Pi;var lL=require("react/jsx-runtime");var so=require("react/jsx-runtime"),Jp="k-actionsheet-item",rL=[l.hover,l.focus,l.selected,l.disabled],jp=e=>{let{iconName:t,text:a,description:r,hover:s,focus:i,selected:n,disabled:c,...m}=e;return(0,so.jsxs)("span",{...m,className:o(e.className,Jp,v(Jp,{hover:s,focus:i,selected:n,disabled:c})),children:[!e.children&&(0,so.jsx)(so.Fragment,{children:(0,so.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,so.jsx)("span",{className:"k-icon-wrap",children:(0,so.jsx)(x,{className:"k-actionsheet-item-icon",icon:t})}),(0,so.jsxs)("span",{className:"k-actionsheet-item-text",children:[a&&(0,so.jsx)("span",{className:"k-actionsheet-item-title",children:a}),r&&(0,so.jsx)("span",{className:"k-actionsheet-item-description",children:r})]})]})}),e.children]})};jp.states=rL;jp.className=Jp;var px=require("react/jsx-runtime");var sL=require("react/jsx-runtime");var iL=require("react/jsx-runtime");var nL=require("react/jsx-runtime");var De=require("react/jsx-runtime"),ux="k-dropdownlist",dL=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],cL={size:[d.small,d.medium,d.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Xr={showValue:!0,arrowIconName:"caret-alt-down",size:d.medium,rounded:h.medium,fillMode:b.solid},ie=e=>{let{size:t=Xr.size,rounded:a=Xr.rounded,fillMode:r=Xr.fillMode,arrowIconName:s=Xr.arrowIconName,showValue:i=Xr.showValue,valueIconName:n,prefix:c,suffix:m,value:k,placeholder:y,hover:T,focus:g,valid:A,invalid:N,required:S,loading:B,disabled:L,readonly:P,popup:z,opened:X,adaptive:Ne,adaptiveSettings:Ue,adaptiveTitle:Ct,adaptiveSubtitle:yo,adaptiveFilter:Ll,...Lr}=e;return(0,De.jsxs)(De.Fragment,{children:[(0,De.jsxs)(Wt,{...Lr,size:t,rounded:a,fillMode:r,hover:T,focus:g,valid:A,invalid:N,required:S,loading:B,disabled:L,readonly:P,className:o(e.className,ux,{"k-icon-picker":!i&&n}),children:[(0,De.jsx)(ae,{children:c}),(0,De.jsx)(ba,{placeholder:y,value:k,showValue:i,valueIconName:n}),(0,De.jsx)(U,{valid:A,invalid:N,loading:B,disabled:L}),(0,De.jsx)(_,{loading:B,disabled:L}),(0,De.jsx)(le,{children:m}),(0,De.jsx)(p,{className:"k-input-button",icon:s,rounded:null,size:e.size,fillMode:e.fillMode})]}),X&&z&&(0,De.jsx)(H,{className:"k-list-container k-dropdownlist-popup",children:z}),Ne&&(0,De.jsx)(pe,{adaptive:!0,...Ue,header:(0,De.jsx)(se,{actionsEnd:(0,De.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Ll,inputValue:k,inputPlaceholder:y,title:Ct,subtitle:yo}),children:(0,De.jsx)("div",{className:"k-list-container",children:(0,De.jsxs)(J,{size:"large",children:[(0,De.jsx)(K,{text:"List item"}),(0,De.jsx)(K,{text:"List item"}),(0,De.jsx)(K,{text:"List item"})]})})})]})};ie.states=dL;ie.options=cL;ie.className=ux;ie.defaultOptions=Xr;var pL=require("react/jsx-runtime");var kx=require("react/jsx-runtime");var Up=require("react/jsx-runtime");var mL=require("react/jsx-runtime");var fx=require("react/jsx-runtime");var hx=require("react/jsx-runtime");var qp=require("react/jsx-runtime");var _p=require("react/jsx-runtime");var $p=require("react/jsx-runtime"),Pd="k-radio",uL=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.checked],kL={size:[d.small,d.medium,d.large]},gx={size:d.medium},wa=e=>{let{id:t,checked:a,hover:r,focus:s,disabled:i,invalid:n,valid:c,required:m,size:k=gx.size,...y}=e;return(0,$p.jsx)("span",{className:"k-radio-wrap",children:(0,$p.jsx)("input",{...y,id:t,type:"radio",checked:a,required:m,className:o(e.className,Pd,C(Pd,{size:k}),v(Pd,{hover:r,focus:s,disabled:i,invalid:n,valid:c,checked:a}))})})};wa.states=uL;wa.options=kL;wa.className=Pd;wa.defaultOptions=gx;var vx=require("react/jsx-runtime"),xx="k-radio-list",fL=[],hL={},bx={layout:"vertical"},Zr=e=>{let{layout:t=bx.layout,...a}=e;return(0,vx.jsx)("ul",{...a,className:o(e.className,xx,{[`k-list-${t}`]:t}),children:e.children})};Zr.states=fL;Zr.options=hL;Zr.className=xx;Zr.defaultOptions=bx;var wx=require("react/jsx-runtime"),yx="k-radio-list-item",gL=[],xL={},bL={},Jr=e=>{let{...t}=e;return(0,wx.jsx)("li",{...t,className:o(e.className,yx),children:e.children})};Jr.states=gL;Jr.options=xL;Jr.className=yx;Jr.defaultOptions=bL;var vL=require("react/jsx-runtime");var tm=require("react/jsx-runtime");var om=require("react/jsx-runtime");var am=require("react/jsx-runtime");var lm=require("react/jsx-runtime");var rm=require("react/jsx-runtime");var Se=require("react/jsx-runtime"),Gd=({size:e,...t})=>(0,Se.jsx)(ya,{formButtons:(0,Se.jsxs)(Se.Fragment,{children:[(0,Se.jsx)(p,{className:"k-form-submit",themeColor:"primary",size:e,children:"Submit"}),(0,Se.jsx)(p,{className:"k-form-clear",size:e,children:"Clear"})]}),children:(0,Se.jsxs)(Oo,{legend:"Form Legend",children:[(0,Se.jsx)(pt,{label:"Label",editor:(0,Se.jsx)(ee,{size:e})}),(0,Se.jsx)(pt,{label:"Label",hint:"Hint text",editor:(0,Se.jsx)(ie,{value:"Dropdown List",size:e})}),(0,Se.jsx)(pt,{label:"City",editor:(0,Se.jsxs)("ul",{className:"k-radio-list k-list-horizontal",children:[(0,Se.jsxs)("li",{className:"k-radio-list-item",children:[(0,Se.jsx)(wa,{checked:!0,size:e}),(0,Se.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,Se.jsxs)("li",{className:"k-radio-list-item",children:[(0,Se.jsx)(wa,{size:e}),(0,Se.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,Se.jsxs)("li",{className:"k-radio-list-item",children:[(0,Se.jsx)(wa,{size:e}),(0,Se.jsx)("label",{className:"k-radio-label",children:"Label"})]})]})})]}),size:e,...t});var sm=require("react/jsx-runtime");var im=require("react/jsx-runtime");var Ax=require("react/jsx-runtime"),Gi="k-button-group",wL=[l.disabled],TL={fillMode:[b.solid,b.flat,b.outline,b.clear,b.link]},Tx={fillMode:b.solid},G=e=>{let{fillMode:t=Tx.fillMode,disabled:a,stretched:r,...s}=e;return(0,Ax.jsx)("div",{...s,className:o(e.className,Gi,C(Gi,{fillMode:t}),v(Gi,{disabled:a}),{[`${Gi}-stretched`]:r}),children:e.children})};G.states=wL;G.options=TL;G.className=Gi;G.defaultOptions=Tx;var nm=require("react/jsx-runtime");var dm=require("react/jsx-runtime");var cm=require("react/jsx-runtime");var pm=require("react/jsx-runtime");var Zl=require("react/jsx-runtime"),Nx="k-menu-button",AL=[l.hover,l.focus,l.active,l.selected,l.disabled],NL={size:[d.small,d.medium,d.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},Xl={size:d.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,showArrow:!0,arrowIconName:"caret-alt-down"},q=e=>{let{size:t=Xl.size,rounded:a=Xl.rounded,fillMode:r=Xl.fillMode,themeColor:s=Xl.themeColor,hover:i,focus:n,active:c,selected:m,disabled:k,icon:y,text:T,showArrow:g=Xl.showArrow,arrowIconName:A=Xl.arrowIconName,popup:N,opened:S,...B}=e;return(0,Zl.jsxs)(Zl.Fragment,{children:[(0,Zl.jsx)(p,{...B,className:o(e.className,Nx),text:T,size:t,rounded:a,fillMode:r,themeColor:s,hover:i,focus:n,active:c,selected:m,disabled:k,icon:y,showArrow:g,arrowIconName:A}),S&&N&&(0,Zl.jsx)(H,{className:"k-menu-popup",children:N})]})};q.states=AL;q.options=NL;q.className=Nx;q.defaultOptions=Xl;var CL=require("react/jsx-runtime");var SL=require("react/jsx-runtime");var IL=require("react/jsx-runtime");var io=require("react/jsx-runtime"),um="k-menu-item",BL=[l.hover,l.focus,l.active,l.selected,l.disabled],ML={},Cx={iconPosition:"before"},mt=e=>{let{hover:t,focus:a,active:r,selected:s,disabled:i,icon:n,text:c,first:m,last:k,showArrow:y,arrowIconName:T,iconPosition:g=Cx.iconPosition,dir:A,children:N,...S}=e,B=(0,io.jsx)(io.Fragment,{});N&&N.forEach(P=>{if(P.type==="MenuItemContent"){B.props.children.push(P);return}});let L=T;return L||(L=A==="rtl"?"caret-alt-left":"caret-alt-right"),(0,io.jsxs)("li",{...S,className:o(e.className,um,"k-item",v(um,{focus:a,disabled:i,hover:t,active:r,selected:s}),{"k-first":m,"k-last":k}),children:[(0,io.jsxs)("span",{className:o("k-link k-menu-link"),children:[n&&g==="before"&&(0,io.jsx)(x,{className:"k-menu-link-icon",icon:n}),(0,io.jsx)("span",{className:"k-menu-link-text",children:c}),n&&g==="after"&&(0,io.jsx)(x,{className:"k-menu-link-icon",icon:n}),y&&(0,io.jsx)("span",{className:"k-menu-expand-arrow",children:(0,io.jsx)(x,{icon:L})})]}),B]})};mt.states=BL;mt.options=ML;mt.className=um;mt.defaultOptions=Cx;var no=require("react/jsx-runtime"),km="k-menu-item",LL=[l.hover,l.focus,l.active,l.selected,l.disabled],EL={},fm={dir:"ltr",iconPosition:"before"},So=e=>{let{hover:t,focus:a,active:r,selected:s,disabled:i,icon:n,text:c,first:m,last:k,showArrow:y,arrowIconName:T,iconPosition:g=fm.iconPosition,dir:A=fm.dir,children:N,popup:S,...B}=e,L=(0,no.jsx)(no.Fragment,{});N&&N.forEach(z=>{if(z.type==="MenuListItemContent"){L.props.children.push(z);return}});let P=T;return P||(P=A==="rtl"?"caret-alt-left":"caret-alt-right"),(0,no.jsxs)("li",{...B,className:o(e.className,km,"k-item",v(km,{focus:a,disabled:i}),{"k-first":m,"k-last":k}),children:[(0,no.jsxs)("span",{className:o("k-link k-menu-link",v("k-menu-link",{hover:t,active:r,selected:s,disabled:i})),children:[n&&g==="before"&&(0,no.jsx)(x,{className:"k-menu-link-icon",icon:n}),(0,no.jsx)("span",{className:"k-menu-link-text",children:c}),n&&g==="after"&&(0,no.jsx)(x,{className:"k-menu-link-icon",icon:n}),y&&(0,no.jsx)("span",{className:"k-menu-expand-arrow",children:(0,no.jsx)(x,{icon:P})})]}),L,S]})};So.states=LL;So.options=EL;So.className=km;So.defaultOptions=fm;var Bx=require("react/jsx-runtime"),Sx="k-menu-scroll-wrapper",YL=[],PL={},GL={},Ki=e=>{let{className:t,children:a,orientation:r,...s}=e;return(0,Bx.jsx)("div",{...s,className:o(t,Sx,{"k-menu-scroll-wrapper-vertical":r==="vertical"}),children:a})};Ki.states=YL;Ki.options=PL;Ki.className=Sx;Ki.defaultOptions=GL;var Ix=Ki;var ut=require("react/jsx-runtime"),hm="k-menu",KL=[],DL={},Kd={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Io=e=>{let{children:t,orientation:a=Kd.orientation,header:r=Kd.header,scrollable:s,scrollButtonsPosition:i=Kd.scrollButtonsPosition,wrapperStyles:n,dir:c,popup:m,...k}=e,y={horizontal:{prev:c!=="rtl"?"left":"right",next:c!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},T=(0,ut.jsx)("ul",{dir:c,...k,className:o(e.className,"k-reset",hm,{[`${hm}-${a}`]:a,"k-header":r}),children:t});return(0,ut.jsxs)(ut.Fragment,{children:[s?(0,ut.jsxs)(Ix,{orientation:a,style:n,dir:e.dir,children:[i==="start"&&(0,ut.jsxs)(ut.Fragment,{children:[(0,ut.jsx)(p,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),(0,ut.jsx)(p,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),i==="around"&&(0,ut.jsx)(p,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),T,i==="end"&&(0,ut.jsxs)(ut.Fragment,{children:[(0,ut.jsx)(p,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),(0,ut.jsx)(p,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),i==="around"&&(0,ut.jsx)(p,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${y[a].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}):T,m]})};Io.states=KL;Io.options=DL;Io.className=hm;Io.defaultOptions=Kd;var Lx=require("react/jsx-runtime"),gm="k-separator",Mx={orientation:"horizontal"},Di=e=>{let{orientation:t=Mx.orientation,...a}=e;return(0,Lx.jsx)("li",{...a,className:o(e.className,"k-item",gm,{[`${gm}-${t}`]:t})})};Di.className=gm;Di.defaultOptions=Mx;var Ex=require("react/jsx-runtime");var vm=require("react/jsx-runtime"),Yx=require("react"),xm="k-menu-group",FL=[],RL={size:[d.small,d.medium,d.large]},bm={size:d.medium,dir:"ltr"},Ta=e=>{let{children:t,size:a=bm.size,dir:r=bm.dir,...s}=e,i=[];return t&&Array.isArray(t)&&t.map((n,c)=>{n.type===So?i.push((0,Yx.createElement)(So,{...n.props,dir:r,key:c})):n.type===Di?i.push((0,vm.jsx)(Di,{})):i.push(n)}),(0,vm.jsx)("ul",{...s,className:o(e.className,xm,C(xm,{size:a})),children:i})};Ta.states=FL;Ta.options=RL;Ta.className=xm;Ta.defaultOptions=bm;var ym=require("react/jsx-runtime");var wm=require("react/jsx-runtime");var Tm=require("react/jsx-runtime");var Am=require("react/jsx-runtime");var Nm=require("react/jsx-runtime");var Px=require("react/jsx-runtime");var Aa=require("react/jsx-runtime"),Cm="k-split-button",zL=[l.hover,l.focus,l.active,l.selected,l.disabled],HL={size:[d.small,d.medium,d.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[u.base,u.primary,u.secondary,u.tertiary,u.success,u.warning,u.error,u.info,u.light,u.dark,u.inverse]},jr={size:d.medium,rounded:h.medium,fillMode:b.solid,themeColor:u.base,arrowIconName:"caret-alt-down"},We=e=>{let{size:t=jr.size,rounded:a=jr.rounded,fillMode:r=jr.fillMode,themeColor:s=jr.themeColor,hover:i,focus:n,active:c,selected:m,disabled:k,icon:y,text:T,arrowIconName:g=jr.arrowIconName,popup:A,opened:N,...S}=e;return(0,Aa.jsxs)(Aa.Fragment,{children:[(0,Aa.jsxs)("div",{...S,className:o(e.className,Cm,"k-button-group",C(Cm,{rounded:a})),children:[(0,Aa.jsx)(p,{text:T,icon:y,size:t,rounded:a,fillMode:r,themeColor:s,hover:i,focus:n,active:c,selected:m,disabled:k,children:e.children}),(0,Aa.jsx)(p,{className:"k-split-button-arrow",icon:g,size:t,rounded:a,fillMode:r,disabled:k})]}),N&&A&&(0,Aa.jsx)(H,{className:"k-menu-popup",children:A})]})};We.states=zL;We.options=HL;We.className=Cm;We.defaultOptions=jr;var Sm=We;var OL=require("react/jsx-runtime");var WL=require("react/jsx-runtime");var QL=require("react/jsx-runtime");var Gx=require("react/jsx-runtime");var Fx=require("react/jsx-runtime"),Kx="k-speech-to-text-button",Dx={icon:"microphone-outline"},Et=e=>{let{listening:t=!1,icon:a=Dx.icon,...r}=e;return(0,Fx.jsx)(p,{...r,icon:t?"stop-sm":a,className:o(e.className,Kx,{"k-listening":t})})};Et.states=p.states;Et.options=p.options;Et.className=Kx;Et.defaultOptions=Dx;var VL=require("react/jsx-runtime");var XL=require("react/jsx-runtime");var Vt=require("react/jsx-runtime"),Rx="k-textarea",ZL=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled],JL={size:[d.small,d.medium,d.large],rounded:[h.small,h.medium,h.large,h.full],fillMode:[b.solid,b.flat,b.outline]},Na={size:M.defaultOptions.size,rounded:M.defaultOptions.rounded,fillMode:M.defaultOptions.fillMode,flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},co=e=>{let{size:t=Na.size,rounded:a=Na.rounded,fillMode:r=Na.fillMode,pr