@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 130 kB
JavaScript
var kl=Object.create;var jo=Object.defineProperty;var vl=Object.getOwnPropertyDescriptor;var gl=Object.getOwnPropertyNames;var Ll=Object.getPrototypeOf,Ml=Object.prototype.hasOwnProperty;var Sl=(e,t)=>{for(var o in t)jo(e,o,{get:t[o],enumerable:!0})},xr=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of gl(t))!Ml.call(e,n)&&n!==o&&jo(e,n,{get:()=>t[n],enumerable:!(a=vl(t,n))||a.enumerable});return e};var Nr=(e,t,o)=>(o=e!=null?kl(Ll(e)):{},xr(t||!e||!e.__esModule?jo(o,"default",{value:e,enumerable:!0}):o,e)),Il=e=>xr(jo({},"__esModule",{value:!0}),e);var Um={};Sl(Um,{EditorDemo:()=>Bt,default:()=>zm});module.exports=Il(Um);var s=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?s(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var A=(e,t)=>s({[`${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.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),E=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:l,checked:c,active:u,selected:h,disabled:x,indeterminate:f,loading:N,empty:p,readonly:M,highlighted:k,...C}=t;return s({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":l,"k-checked":c,"k-active":u,"k-selected":h,"k-disabled":x,"k-indeterminate":f&&!c,"k-loading":N,"k-empty":p,"k-readonly":M,"k-highlighted":k},Object.keys(C).reduce((T,y)=>(y.startsWith("k-")?T[y]=C[y]:T[`k-${y}`]=C[y],T),{}))};function kr(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},b={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},m={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},ot={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},v={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},r={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",generating:"generating",expanded:"expanded"};var wa={};function D(e){return wa[e]=(wa[e]||0)+1,`k-${e}-${wa[e]}`}var vr=require("react/jsx-runtime"),Pa="k-editor-content",Cl=[r.focus],ea=e=>{let{focus:t,readonly:o,"aria-label":a,...n}=e;return(0,vr.jsx)("div",{...n,className:s(e.className,Pa,E(Pa,{focus:t})),contentEditable:o?"false":"true",suppressContentEditableWarning:!0,role:"textbox","aria-label":a||"Editor content","aria-readonly":o?"true":void 0,children:e.children})};ea.states=Cl;ea.className=Pa;var Eo=require("react/jsx-runtime"),Ra="k-font-icon",yl=[],Tl={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},El={},Ao=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:l,...c}=e;return a?(0,Eo.jsx)("span",{...c,className:s(e.className,Ra,A(Ra,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true"}):(0,Eo.jsx)(Eo.Fragment,{})};Ao.states=yl;Ao.options=Tl;Ao.className=Ra;Ao.defaultOptions=El;var gr=Ao;var Pt=require("react/jsx-runtime"),Ka="k-svg-icon",Al=[],Ol={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info],variant:[ot.outline,ot.solid,ot.duotone]},_a={viewBox:"0 0 24 24",variant:ot.outline},Oo=e=>{var N,p;let{size:t,themeColor:o,rotate:a,flip:n,viewBox:l=_a.viewBox,variant:c=_a.variant,icon:u,...h}=e;if(!u)return(0,Pt.jsx)(Pt.Fragment,{});if(u==="none")return(0,Pt.jsx)("span",{...h,className:s(e.className,Ka,A("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof u=="object"&&u.name&&u.name,f=typeof u=="object"?c&&((N=u.variants)==null?void 0:N[c])||((p=u.variants)==null?void 0:p.outline)||u.content:void 0;return(0,Pt.jsx)("span",{...h,className:s(e.className,Ka,A("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:(0,Pt.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof u=="object"?u.viewBox:l,dangerouslySetInnerHTML:f!==void 0?{__html:f}:void 0,children:u?void 0:e.children})})};Oo.states=Al;Oo.options=Ol;Oo.className=Ka;Oo.defaultOptions=_a;var Da=Oo;var Ha=Nr(require("@progress/kendo-svg-icons"));var Lr="icon",Mr="icons";var Cr=require("react");var Sr=require("react"),Ir=(0,Sr.createContext)({iconsType:"svg"});var pt=require("react/jsx-runtime"),ta="k-icon",Bl=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),wl=[],Pl={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info],variant:[ot.outline,ot.solid,ot.duotone]},oa={viewBox:"0 0 24 24",type:"svg",variant:ot.outline},I=e=>{let{iconsType:t}=(0,Cr.useContext)(Ir),{size:o,themeColor:a,icon:n,type:l=t||oa.type,rotate:c,flip:u,viewBox:h=oa.viewBox,variant:x=oa.variant,...f}=e;if(!n)return(0,pt.jsx)(pt.Fragment,{});if((t||l)==="svg"){if(n==="none")return(0,pt.jsx)(Da,{...f,className:s(e.className,ta),icon:n,size:o,variant:x});let p=Ha[n]?n:Bl(`${n}-icon`);return Ha[p]?(0,pt.jsx)(Da,{...f,className:s(e.className,ta),icon:Ha[p],size:o,themeColor:a,rotate:c,flip:u,viewBox:h,variant:x}):(0,pt.jsx)(pt.Fragment,{})}return(0,pt.jsx)(gr,{...f,className:s(e.className,ta),icon:n,size:o,themeColor:a,rotate:c,flip:u})};I.states=wl;I.options=Pl;I.defaultOptions=oa;I.className=ta;I.moduleName=Lr;I.folderName=Mr;I.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var za="button",yr=za;var Ke=require("react/jsx-runtime"),Bo="k-button",Rl=["icon-button"],Kl=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],_l={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},Ua={showArrow:!1,arrowIconName:"chevron-down"},i=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:l,showArrow:c=Ua.showArrow,arrowIconName:u=Ua.arrowIconName,variant:h,hover:x,focus:f,active:N,selected:p,disabled:M,togglable:k,ariaDisabled:C,icon:T,iconSize:y,text:P,iconClassName:j,className:be,...Le}=e,Me=T!=null,Se=e.children!==void 0;return(0,Ke.jsxs)(t,{className:s(be,Bo,kr(Bo,h),A(Bo,{size:o,rounded:a,fillMode:n,themeColor:l}),E(Bo,{hover:x,focus:f,active:N,disabled:M||C,selected:p}),{"k-icon-button":!P&&!Se&&Me}),"aria-pressed":k?p?"true":"false":void 0,...Le,"aria-disabled":C?"true":void 0,disabled:M||void 0,children:[typeof T=="string"&&T&&(0,Ke.jsx)(I,{className:s(j,"k-button-icon"),icon:T,size:y}),T&&typeof T!="string"&&(0,Ke.jsx)(Ke.Fragment,{children:T}),P?(0,Ke.jsxs)(Ke.Fragment,{children:[P&&(0,Ke.jsx)("span",{className:"k-button-text",children:P}),e.children]}):e.children&&(0,Ke.jsx)("span",{className:"k-button-text",children:e.children}),c&&(0,Ke.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,Ke.jsx)(I,{icon:u})})]})};i.states=Kl;i.options=_l;i.variants=Rl;i.className=Bo;i.defaultOptions=Ua;i.moduleName=za;i.folderName=yr;i.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var Tr=require("react/jsx-runtime"),Lt=e=>(0,Tr.jsx)(i,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Er=require("react/jsx-runtime"),wo=e=>(0,Er.jsx)(i,{icon:"folder",children:"Button",...e});var Ar=require("react/jsx-runtime"),Rt=e=>(0,Ar.jsx)(i,{children:"Button",...e});var aa=require("react/jsx-runtime"),Dl=i.options,Hl=i.states,zl={...i.defaultOptions,variant:"text"},Ul=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Gl=[],Vt=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,aa.jsx)(Lt,{...o,icon:"star"});case"icon-and-text":return(0,aa.jsx)(wo,{...o,icon:"star",children:"Button"});default:return(0,aa.jsx)(Rt,{...o,children:"Button"})}};Vt.options=Dl;Vt.states=Hl;Vt.variants=Ul;Vt.defaultOptions=zl;Vt.modifiers=Gl;Vt.className=i.className;var Ga="button",Or=Ga;var Br=require("react/jsx-runtime"),Po="k-button-group",Fl=[r.disabled],Vl={fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link]},$l={},S=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return(0,Br.jsx)("div",{role:"group",...n,className:s(e.className,Po,A(Po,{fillMode:t}),E(Po,{disabled:o}),{[`${Po}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};S.states=Fl;S.options=Vl;S.className=Po;S.defaultOptions=$l;S.moduleName=Ga;S.folderName=Or;S.ariaSpec={selector:".k-button-group",rules:[{selector:".k-button-group:not(.k-split-button)",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-button-group.k-disabled",attribute:"aria-disabled=true",usage:"The attribute is rendered only when the entire button group is disabled."},{selector:".k-button-group:not(.k-split-button):not(.k-scheduler-navigation):not(.k-zoom-control) .k-button",attribute:"aria-pressed (when selected)",usage:"Specifies the current state of the ButtonGroup. Only the selected button within the group will have this attribute set to true."}]};var Fa=require("react/jsx-runtime");var Va=require("react/jsx-runtime");var $a=require("react/jsx-runtime");var Xa=require("react/jsx-runtime");var qa=require("react/jsx-runtime");var Ja=require("react/jsx-runtime");var Ae=require("react/jsx-runtime"),Xl={...i.options,...S.options},ql=i.states,Jl={...i.defaultOptions,...S.defaultOptions,variant:"text-button"},Wl=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Yl=[],$t=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,Ae.jsxs)(S,{fillMode:a.fillMode,className:o,children:[(0,Ae.jsx)(i,{...a,icon:"star"}),(0,Ae.jsx)(i,{...a,icon:"star"}),(0,Ae.jsx)(i,{...a,icon:"star"})]}):t==="icon-text-button"?(0,Ae.jsxs)(S,{fillMode:a.fillMode,className:o,children:[(0,Ae.jsx)(i,{...a,icon:"star",children:"First"}),(0,Ae.jsx)(i,{...a,icon:"star",children:"Middle"}),(0,Ae.jsx)(i,{...a,icon:"star",children:"Last"})]}):(0,Ae.jsxs)(S,{fillMode:a.fillMode,className:o,children:[(0,Ae.jsx)(i,{...a,children:"First"}),(0,Ae.jsx)(i,{...a,children:"Middle"}),(0,Ae.jsx)(i,{...a,children:"Last"})]})};$t.options=Xl;$t.states=ql;$t.variants=Wl;$t.defaultOptions=Jl;$t.modifiers=Yl;$t.className=S.className;var Ro="input",na=Ro;var wr=require("react/jsx-runtime"),ra="k-input",Ql=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Zl={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},jl={},ee=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:l,loading:c,readonly:u,size:h,rounded:x,fillMode:f,...N}=e;return(0,wr.jsx)("span",{...N,className:s(e.className,ra,A(ra,{size:h,rounded:x,fillMode:f}),E(ra,{hover:t,focus:o,disabled:a,invalid:n,valid:l,loading:c,readonly:u}))})};ee.states=Ql;ee.options=Zl;ee.className=ra;ee.defaultOptions=jl;ee.moduleName=Ro;ee.folderName=na;var Pr=require("react/jsx-runtime"),ia="k-picker",ed=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],td={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},od={},at=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:l,loading:c,readonly:u,size:h,rounded:x,fillMode:f,...N}=e;return(0,Pr.jsx)("span",{...N,className:s(e.className,ia,A(ia,{size:h,rounded:x,fillMode:f}),E(ia,{hover:t,focus:o,disabled:a,invalid:n,valid:l,loading:c,readonly:u})),children:e.children})};at.states=ed;at.options=td;at.className=ia;at.defaultOptions=od;at.moduleName=Ro;at.folderName=na;var Xt=require("react/jsx-runtime"),Rr="k-clear-value",ad=[r.disabled,r.loading,r.readonly],nd={},_e=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?(0,Xt.jsx)(Xt.Fragment,{}):(0,Xt.jsx)("span",{className:s(e.className,Rr),children:(0,Xt.jsx)(I,{icon:"x"})})};_e.states=ad;_e.options=nd;_e.className=Rr;var Kr=require("react/jsx-runtime"),Wa="k-input-inner",rd=[],id={},sa={type:"text",autocomplete:"off",value:"",placeholder:""},De=e=>{let{value:t=sa.value,type:o=sa.type,placeholder:a=sa.placeholder,autocomplete:n=sa.autocomplete,disabled:l,readOnly:c,...u}=e;return(0,Kr.jsx)("input",{...u,type:o,className:s(e.className,Wa,A(Wa,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:l||void 0,readOnly:c||void 0})};De.states=rd;De.options=id;De.className=Wa;var Ko=require("react/jsx-runtime"),Ya="k-input-inner",sd=[],ld={},Kt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:l,...c}=e;return(0,Ko.jsxs)("span",{...c,className:s(e.className,Ya,A(Ya,e)),children:[n,!n&&l&&(0,Ko.jsx)(I,{className:"k-input-value-icon",icon:l}),a&&!t&&o,a&&t&&(0,Ko.jsx)("span",{className:"k-input-value-text",children:t})]})};Kt.states=sd;Kt.options=ld;Kt.className=Ya;var Dr=require("react/jsx-runtime"),Qa="k-input-inner",dd=[],cd={},_r={value:"",placeholder:""},Za=e=>{let{value:t=_r.value,placeholder:o=_r.placeholder,rows:a,disabled:n,...l}=e;return(0,Dr.jsx)("textarea",{...l,className:s(e.className,Qa,A(Qa,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Za.states=dd;Za.options=cd;Za.className=Qa;var _o=require("react/jsx-runtime"),Hr="k-input-loading-icon",pd=[r.disabled,r.loading],Oe=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,_o.jsx)(_o.Fragment,{}):(0,_o.jsx)("span",{className:s(e.className,Hr,"k-icon k-i-loading")})};Oe.states=pd;Oe.className=Hr;var Do=require("react/jsx-runtime"),zr="k-input-validation-icon",ud=[r.valid,r.invalid,r.disabled,r.loading],md={},Ie=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,l=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?(0,Do.jsx)(Do.Fragment,{}):(0,Do.jsx)(I,{className:s(zr),icon:l})};Ie.states=ud;Ie.options=md;Ie.className=zr;var Ho=require("react/jsx-runtime"),bd="k-input-prefix",fd={direction:"horizontal"},Fe=e=>{let{direction:t=fd.direction,...o}=e;return e.children?(0,Ho.jsx)("span",{...o,className:s(bd,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Ho.jsx)(Ho.Fragment,{})};var zo=require("react/jsx-runtime"),hd="k-input-suffix",xd={direction:"horizontal"},Ve=e=>{let{direction:t=xd.direction,...o}=e;return e.children?(0,zo.jsx)("span",{...o,className:s(hd,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,zo.jsx)(zo.Fragment,{})};var Nd=require("react/jsx-runtime");var Ur=require("react/jsx-runtime"),kd="k-input-suffix-text",ja=e=>{let{children:t,...o}=e;return(0,Ur.jsx)("span",{...o,className:s(kd,e.className),children:t})};var Fr=require("react/jsx-runtime"),Gr="k-input-separator",vd={direction:"vertical"},$e=e=>{let{direction:t=vd.direction,...o}=e;return(0,Fr.jsx)("span",{...o,className:s(Gr,e.className,{[`${Gr}-${t}`]:t})})};var ne=require("react/jsx-runtime"),gd=ee.states,Ld=ee.defaultOptions,Md=ee.options,Sd=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Id=[],qt=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:l,readonly:c,...u}=e,h=t==null?void 0:t.prefix,x=t==null?void 0:t.suffix,f=t==null?void 0:t["clear-button"],N=t==null?void 0:t["validation-icon"],p=t==null?void 0:t.separators;return(0,ne.jsxs)(ee,{...u,valid:o,invalid:a,loading:n,disabled:l,readonly:c,style:{width:300},children:[h&&(0,ne.jsxs)(ne.Fragment,{children:[(0,ne.jsx)(Fe,{children:(0,ne.jsx)(I,{icon:"lock"})}),p&&(0,ne.jsx)($e,{})]}),(0,ne.jsx)(De,{placeholder:"Placeholder",value:"Value"}),N&&(0,ne.jsx)(Ie,{valid:o,invalid:a,loading:n,disabled:l}),(0,ne.jsx)(Oe,{loading:n,disabled:l}),f&&(0,ne.jsx)(_e,{loading:n,disabled:l,readonly:c,value:"Value"}),x&&(0,ne.jsxs)(ne.Fragment,{children:[p&&(0,ne.jsx)($e,{}),(0,ne.jsx)(Ve,{children:(0,ne.jsx)(Rt,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};qt.options=Md;qt.states=gd;qt.variants=Id;qt.defaultOptions=Ld;qt.modifiers=Sd;qt.className=ee.className;var Uo=require("react/jsx-runtime"),Vr="k-color-preview",Cd=[],yd={},Mt=e=>{let{color:t,iconName:o,...a}=e;return(0,Uo.jsxs)("span",{...a,className:s(e.className,Vr,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,Uo.jsx)(I,{icon:o,className:"k-color-preview-icon"}),(0,Uo.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Mt.states=Cd;Mt.options=yd;Mt.className=Vr;var en="popup",$r=en;var on=require("react/jsx-runtime"),Xr="k-animation-container",Td=[],Ed={},tn={positionMode:"absolute",shown:!0},nt=e=>{let{positionMode:t=tn.positionMode,shown:o=tn.shown,animationStyle:a,offset:n,...l}=e;return(0,on.jsx)("div",{...l,style:{...n,...e.style},className:s(e.className,Xr,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,on.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};nt.states=Td;nt.options=Ed;nt.className=Xr;nt.defaultOptions=tn;nt.moduleName=en;nt.folderName=$r;var an="popup",qr=an;var nn=require("react/jsx-runtime"),Jr="k-popup",Ad=[],Od={},Wr={positionMode:"absolute"},$=e=>{let{offset:t,positionMode:o=Wr.positionMode,animationStyle:a,containerClassName:n,containerRole:l,containerAriaLabel:c,...u}=e;return(0,nn.jsx)(nt,{positionMode:o,offset:t,animationStyle:a,className:n,role:l,"aria-label":c,children:(0,nn.jsx)("div",{...u,className:s(e.className,Jr),children:e.children})})};$.states=Ad;$.options=Od;$.className=Jr;$.defaultOptions=Wr;$.moduleName=an;$.folderName=qr;$.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var rn="action-buttons",Yr=rn;var Qr=require("react/jsx-runtime"),la="k-actions",Bd=[],wd={},sn={alignment:"start",orientation:"horizontal"},rt=e=>{let{alignment:t=sn.alignment,orientation:o=sn.orientation,...a}=e;return(0,Qr.jsx)("div",{...a,className:s(la,{[`${la}-${t}`]:t,[`${la}-${o}`]:o},e.className),children:e.children})};rt.states=Bd;rt.options=wd;rt.className=la;rt.defaultOptions=sn;rt.moduleName=rn;rt.folderName=Yr;var jr=require("react/jsx-runtime"),Pd="k-actionsheet-footer",Zr={alignment:"stretched",orientation:"horizontal"},St=e=>{let{alignment:t=Zr.alignment,orientation:o=Zr.orientation,template:a,as:n=a?"div":rt,...l}=e;return(0,jr.jsx)(n,{...l,...!a&&{alignment:t,orientation:o},className:s(e.className,Pd),children:e.children})};var ln="searchbox",ei=ln;var It=require("react/jsx-runtime"),ti="k-searchbox",Rd=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],Kd={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},dn={showIcon:!0,icon:"search"},Xe=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:l,hover:c,focus:u,valid:h,invalid:x,required:f,loading:N,disabled:p,showIcon:M=dn.showIcon,icon:k=dn.icon,"aria-label":C,...T}=e;return(0,It.jsxs)(ee,{...T,size:a,rounded:n,fillMode:l,hover:c,focus:u,valid:h,invalid:x,required:f,loading:N,disabled:p,className:s(e.className,ti),children:[M&&(0,It.jsx)(I,{className:"k-input-icon",icon:k}),(0,It.jsx)(De,{placeholder:o,value:t,"aria-label":C}),(0,It.jsx)(Oe,{...e}),(0,It.jsx)(Ie,{...e}),(0,It.jsx)(_e,{...e})]})};Xe.states=Rd;Xe.options=Kd;Xe.className=ti;Xe.defaultOptions=dn;Xe.moduleName=ln;Xe.folderName=ei;var _d=require("react/jsx-runtime");var cn="textbox",oi=cn;var fe=require("react/jsx-runtime"),ai="k-textbox",Dd=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Hd={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},da={showClearButton:!0,showValidationIcon:!0,separators:!0},se=e=>{let{size:t,rounded:o,fillMode:a,separators:n=da.separators,showClearButton:l=da.showClearButton,showValidationIcon:c=da.showValidationIcon,prefix:u,suffix:h,type:x,value:f,placeholder:N,hover:p,focus:M,valid:k,invalid:C,required:T,loading:y,disabled:P,readonly:j,id:be,"aria-label":Le,"aria-describedby":Me,...Se}=e;return(0,fe.jsxs)(ee,{...Se,size:t,rounded:o,fillMode:a,hover:p,focus:M,valid:k,invalid:C,required:T,loading:y,disabled:P,readonly:j,className:s(e.className,ai),children:[u&&(0,fe.jsxs)(fe.Fragment,{children:[(0,fe.jsx)(Fe,{children:u}),n&&(0,fe.jsx)($e,{})]}),(0,fe.jsx)(De,{id:be,placeholder:N,value:f,type:x,disabled:P,"aria-label":Le,"aria-describedby":Me,"aria-invalid":C?"true":void 0}),c&&(0,fe.jsx)(Ie,{valid:k,invalid:C,loading:y,disabled:P}),(0,fe.jsx)(Oe,{loading:y,disabled:P}),l&&(0,fe.jsx)(_e,{loading:y,disabled:P,readonly:j,value:f}),h&&(0,fe.jsxs)(fe.Fragment,{children:[n&&(0,fe.jsx)($e,{}),(0,fe.jsx)(Ve,{children:h})]})]})};se.states=Dd;se.options=Hd;se.className=ai;se.defaultOptions=da;se.moduleName=cn;se.folderName=oi;se.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var Go=se;var ri=require("react/jsx-runtime"),ni=e=>(0,ri.jsx)(Go,{...e});var ii=require("react/jsx-runtime");var si=require("react/jsx-runtime");var zd=require("react/jsx-runtime");var ca=require("react/jsx-runtime"),Ud=se.states,Gd=se.defaultOptions,Fd=se.options,Vd=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],$d=[],Jt=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,ca.jsx)(I,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,ca.jsx)(Rt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[n];break;default:break}}),(0,ca.jsx)(ni,{value:"Value",style:{width:300},...o,...a})};Jt.options=Fd;Jt.states=Ud;Jt.variants=$d;Jt.defaultOptions=Gd;Jt.modifiers=Vd;Jt.className=se.className;var He=require("react/jsx-runtime"),li="k-actionsheet-titlebar",Xd={},Ce=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:l,input:c,inputValue:u,inputPlaceholder:h,adaptive:x,titleId:f,children:N,...p}=e;return(0,He.jsxs)("div",{...p,className:s(e.className,li),children:[(0,He.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,He.jsx)("div",{className:"k-actionsheet-actions",children:a}),!N&&(0,He.jsxs)("div",{className:"k-actionsheet-title",id:f,children:[t&&(0,He.jsx)("div",{className:"k-text-center",children:t}),o&&(0,He.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&(0,He.jsx)("div",{className:"k-actionsheet-title",id:f,children:N}),n&&(0,He.jsx)("div",{className:"k-actionsheet-actions",children:n})]}),(c||l)&&(0,He.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?(0,He.jsx)(se,{value:u,placeholder:h,size:x?"large":"medium","aria-label":t||h||"Input"}):(0,He.jsx)(Xe,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};Ce.className=li;Ce.defaultOptions=Xd;var Wt=require("react/jsx-runtime"),pn="k-actionsheet-view",qd=[],Jd={},Wd={},Yt=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:l,titleId:c,...u}=e,h=(n==null?void 0:n.type)===Ce&&(0,Wt.jsx)(Ce,{adaptive:t,titleId:c,...n==null?void 0:n.props}),x=(l==null?void 0:l.type)===St&&(0,Wt.jsx)(St,{...l==null?void 0:l.props});return(0,Wt.jsxs)("div",{...u,className:s(e.className,pn,{[`${pn}-animated`]:o}),children:[h,(0,Wt.jsx)("div",{className:"k-actionsheet-content",children:a}),x]})};Yt.states=qd;Yt.options=Jd;Yt.className=pn;Yt.defaultOptions=Wd;var Fo="action-sheet",pa=Fo;var un="overlay",di=un;var pi=require("react/jsx-runtime"),ci="k-overlay",Yd=[],Qd={},Zd={},Ct=e=>{let{...t}=e;return(0,pi.jsx)("div",{...t,className:s(e.className,ci),children:e.children})};Ct.states=Yd;Ct.options=Qd;Ct.className=ci;Ct.defaultOptions=Zd;Ct.moduleName=un;Ct.folderName=di;var _t=require("react/jsx-runtime"),ui="k-actionsheet",jd=[],ec={},Vo={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Q=e=>{let{side:t=Vo.side,fullscreen:o=Vo.fullscreen,adaptive:a=Vo.adaptive,overlay:n=Vo.overlay,template:l,children:c,header:u,footer:h,id:x,...f}=e,N=x&&!l&&u?`${x}-title`:void 0;return(0,_t.jsxs)("div",{className:"k-actionsheet-container",children:[n&&(0,_t.jsx)(Ct,{}),(0,_t.jsx)(nt,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:(0,_t.jsx)("div",{...f,id:x,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":N,className:s(e.className,ui,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:l||(0,_t.jsx)(Yt,{header:u,footer:h,adaptive:a,titleId:N,...e,children:c})})})]})};Q.states=jd;Q.options=ec;Q.className=ui;Q.defaultOptions=Vo;Q.moduleName=Fo;Q.folderName=pa;Q.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};var bi=require("react/jsx-runtime"),mi="k-actionsheet-container",tc=[],oc={},ac={},Qt=e=>{let{children:t,...o}=e;return(0,bi.jsx)("div",{...o,className:mi,children:t})};Qt.states=tc;Qt.options=oc;Qt.className=mi;Qt.defaultOptions=ac;Qt.moduleName=Fo;Qt.folderName=pa;var fi=require("react/jsx-runtime"),mn=e=>{let{...t}=e;return(0,fi.jsx)("div",{...t,className:s(e.className,"k-list-ul"),children:e.children})};var qe=require("react/jsx-runtime"),bn="k-actionsheet-item",nc=[r.hover,r.focus,r.selected,r.disabled],yt=e=>{let{iconName:t,text:o,description:a,hover:n,focus:l,selected:c,disabled:u,...h}=e;return(0,qe.jsxs)("span",{...h,className:s(e.className,bn,E(bn,{hover:n,focus:l,selected:c,disabled:u})),children:[!e.children&&(0,qe.jsx)(qe.Fragment,{children:(0,qe.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,qe.jsx)("span",{className:"k-icon-wrap",children:(0,qe.jsx)(I,{className:"k-actionsheet-item-icon",icon:t})}),(0,qe.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,qe.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,qe.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};yt.states=nc;yt.className=bn;var hi=require("react/jsx-runtime");var rc=require("react/jsx-runtime");var ic=require("react/jsx-runtime");var sc=require("react/jsx-runtime");var q=require("react/jsx-runtime"),lc=Q.options,dc=Q.states,Ni={...Q.defaultOptions,variant:"normal"},cc=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],pc=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Zt=e=>{let{variant:t,modifiers:o,...a}={...Ni,...e},n={},l=(0,q.jsxs)(mn,{children:[(0,q.jsx)(yt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,q.jsx)(yt,{text:"Add to Favorites",iconName:"heart"}),(0,q.jsx)(yt,{text:"Upload New",iconName:"upload",disabled:!0}),(0,q.jsx)("hr",{className:"k-hr"}),(0,q.jsx)(yt,{text:"Cancel",iconName:"cancel"})]}),c="Choose from the items below",u="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(h=>{switch(h){case"actions":n.actionsStart=!!(o!=null&&o[h]),n.actionsEnd=!!(o!=null&&o[h]);break;case"subtitle":n.subtitle=o!=null&&o[h]?c:void 0;break;case"footer":n.footer=!!(o!=null&&o[h]);break;default:break}}),t==="adaptive"?(0,q.jsx)(Q,{...a,adaptive:!0,fullscreen:n.fullScreen,header:(0,q.jsx)(Ce,{actionsStart:n.actionsStart?(0,q.jsx)(i,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,q.jsx)(i,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:u,subtitle:n.subtitle}),footer:n.footer?(0,q.jsxs)(St,{alignment:"stretched",children:[(0,q.jsx)(i,{text:"Cancel",size:"large",themeColor:"base"}),(0,q.jsx)(i,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:l}):(0,q.jsx)(Q,{...a,fullscreen:n.fullScreen,header:(0,q.jsx)(Ce,{actionsStart:n.actionsStart?(0,q.jsx)(i,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,q.jsx)(i,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?(0,q.jsxs)(St,{alignment:"stretched",children:[(0,q.jsx)(i,{text:"Apply",themeColor:"primary"}),(0,q.jsx)(i,{text:"Cancel",themeColor:"base"})]}):void 0,children:l})};Zt.options=lc;Zt.states=dc;Zt.variants=cc;Zt.defaultOptions=Ni;Zt.modifiers=pc;Zt.className=Q.className;var fn="slider",ki=fn;var Qe=require("react/jsx-runtime"),$o="k-slider",uc=[r.hover,r.focus,r.active,r.disabled,r.readonly],mc={},Je={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},V=e=>{let{type:t=Je.type,orientation:o=Je.orientation,gradientType:a=Je.gradientType,readonly:n=Je.readonly,disabled:l=Je.disabled,handlePosition:c=Je.handlePosition,showButtons:u=Je.showButtons,showTicks:h=Je.showTicks,value:x=Je.value,min:f=Je.min,max:N=Je.max,startValue:p,endValue:M,hover:k,focus:C,active:T,trackStyle:y,dir:P,...j}=e,Le=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),Me,Se;return o==="horizontal"?(Me=P==="rtl"?"chevron-left":"chevron-right",Se=P==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(Me="chevron-up",Se="chevron-down"),(0,Qe.jsxs)("div",{...j,className:s($o,e.className,E($o,{readonly:n,disabled:l}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:P,children:[u&&(0,Qe.jsx)(i,{className:"k-button-decrease",rounded:"full",icon:Se,tabIndex:-1,title:"Decrease"}),(0,Qe.jsxs)("div",{className:"k-slider-track-wrap",children:[h&&(0,Qe.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,Qe.jsxs)("div",{className:"k-slider-track",style:y,children:[(0,Qe.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,Qe.jsx)("span",{className:s("k-draghandle","k-draghandle-start",E($o,{hover:k,focus:C,active:T})),role:"slider",tabIndex:l?void 0:0,"aria-valuenow":p??f,"aria-valuemin":f,"aria-valuemax":M??N,"aria-orientation":Le,"aria-disabled":l?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":j["aria-label"]?`${j["aria-label"]} start`:"Range start"}),(0,Qe.jsx)("span",{className:s("k-draghandle",`k-draghandle-${c}`,E($o,{hover:k,focus:C,active:T})),role:"slider",tabIndex:l?void 0:0,"aria-valuenow":t==="range"?M??N:x,"aria-valuemin":t==="range"?p??f:f,"aria-valuemax":N,"aria-orientation":Le,"aria-disabled":l?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?j["aria-label"]?`${j["aria-label"]} end`:"Range end":j["aria-label"]})]})]}),u&&(0,Qe.jsx)(i,{className:"k-button-increase",rounded:"full",icon:Me,tabIndex:-1,title:"Increase"})]})};V.states=uc;V.options=mc;V.className=$o;V.defaultOptions=Je;V.moduleName=fn;V.folderName=ki;V.ariaSpec={selector:".k-slider",rules:[{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"role=slider",usage:"Sets the proper role for Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-label or aria-labelledby or title",usage:"The Slider needs an accessible name to be assigned to it."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the Slider is in a form and announces the invalid state."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuenow",usage:"Specifies the currently selected value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemin",usage:"Specifies the minimum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemax",usage:"Specifies the maximum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuetext (when has text alternative)",usage:"Specifies a human-readable text alternative to the numeric value. Provided by consuming applications."},{selector:".k-slider:not(.k-disabled) .k-draghandle:not(.k-hsv-draghandle)",attribute:"tabindex=0",usage:"The element must be focusable. Disabled sliders are removed from tab order."},{selector:".k-slider-vertical .k-draghandle",attribute:"aria-orientation=vertical (when vertical)",usage:"Present only when slider is vertical."},{selector:".k-slider.k-disabled .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-disabled=true",usage:"Rendered only when the Slider is disabled."},{selector:".k-slider.k-readonly .k-draghandle",attribute:"aria-readonly=true (when readonly)",usage:"Rendered only when the Slider is readonly. Readonly sliders remain focusable but their value cannot be changed."},{selector:".k-slider .k-button",attribute:"tabindex=-1",usage:"Excludes the buttons from the natural tab order. Keyboard users use arrow keys on the drag handle."},{selector:".k-slider .k-button",attribute:"title",usage:'Provides a tooltip describing the button action (e.g., "Decrease" or "Increase").'},{selector:".k-slider .k-slider-items",attribute:"aria-hidden=true",usage:"Hides the tick list from assistive technologies. Tick values are redundant with the drag handle value attributes."},{selector:".k-slider .k-tick",attribute:"role=presentation",usage:"Removes semantic meaning from individual tick elements. Ticks are visual-only markers."},{selector:".k-slider .k-tick",attribute:"title",usage:"Represents the value associated with the respective tick."}]};var hn=require("react/jsx-runtime"),vi="k-tick",bc=[],fc={},gi={label:!1},O=e=>{let{style:t,label:o=gi.label,orientation:a,large:n,text:l,...c}=e;return(0,hn.jsx)("li",{...c,role:"presentation",title:l||"Tick",className:s(e.className,vi,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&(0,hn.jsx)("span",{className:"k-label",children:l})})};O.states=bc;O.options=fc;O.className=vi;O.defaultOptions=gi;var le=require("react/jsx-runtime"),Li=e=>(0,le.jsx)(V,{"aria-label":e["aria-label"]||"Slider",children:(0,le.jsxs)(le.Fragment,{children:[(0,le.jsx)(O,{className:"k-first",label:!0,large:!0,text:"0"}),(0,le.jsx)(O,{}),(0,le.jsx)(O,{}),(0,le.jsx)(O,{}),(0,le.jsx)(O,{}),(0,le.jsx)(O,{label:!0,large:!0,text:"5"}),(0,le.jsx)(O,{}),(0,le.jsx)(O,{}),(0,le.jsx)(O,{}),(0,le.jsx)(O,{}),(0,le.jsx)(O,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var de=require("react/jsx-runtime"),Mi=e=>(0,de.jsx)(V,{children:(0,de.jsxs)(de.Fragment,{children:[(0,de.jsx)(O,{className:"k-first",label:!0,large:!0,text:"0"}),(0,de.jsx)(O,{}),(0,de.jsx)(O,{}),(0,de.jsx)(O,{}),(0,de.jsx)(O,{}),(0,de.jsx)(O,{label:!0,large:!0,text:"5"}),(0,de.jsx)(O,{}),(0,de.jsx)(O,{}),(0,de.jsx)(O,{}),(0,de.jsx)(O,{}),(0,de.jsx)(O,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var xn=require("react/jsx-runtime");var Nn=require("react/jsx-runtime");var Si=require("react/jsx-runtime"),kn=e=>(0,Si.jsx)(V,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Ii=require("react/jsx-runtime"),vn=e=>(0,Ii.jsx)(V,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var gn=require("react/jsx-runtime");var Ln=require("react/jsx-runtime");var Be=require("react/jsx-runtime"),hc=V.options,xc=V.states,Ci={...V.defaultOptions,variant:"horizontal",label:!0},Nc=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],kc=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],jt=e=>{let{variant:t,modifiers:o,...a}=e,n=Ci.label,l={};Object.keys(o||{}).forEach(u=>{switch(u){case"button":{l.showButtons=!!(o!=null&&o[u]);break}case"label":{n=!!(o!=null&&o[u]);break}case"tick":{l.showTicks=!!(o!=null&&o[u]);break}}});let c={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,Be.jsxs)(Mi,{style:{height:"300px",...c},...a,...l,children:[(0,Be.jsx)(O,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,Be.jsx)(O,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,Be.jsx)(O,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,Be.jsx)(O,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,Be.jsx)(O,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,Be.jsxs)(Li,{style:{width:"400px",...c},...a,...l,children:[(0,Be.jsx)(O,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,Be.jsx)(O,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,Be.jsx)(O,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,Be.jsx)(O,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,Be.jsx)(O,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};jt.options=hc;jt.states=xc;jt.variants=Nc;jt.defaultOptions=Ci;jt.modifiers=kc;jt.className=V.className;var Xo=require("react/jsx-runtime"),yi="k-spin-button",Lc=[],Mc={size:[d.undefined,d.small,d.medium,d.large],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link]},Mn={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Tt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=Mn.increaseLabel,decreaseLabel:l=Mn.decreaseLabel,...c}=e;return(0,Xo.jsxs)("span",{...c,className:s(yi,e.className),children:[(0,Xo.jsx)(i,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),(0,Xo.jsx)(i,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":l})]})};Tt.states=Lc;Tt.options=Mc;Tt.className=yi;Tt.defaultOptions=Mn;Tt.moduleName=null;Tt.folderName=null;var Ti="numeric-textbox",Ei="numerictextbox";var ce=require("react/jsx-runtime"),Ai="k-numerictextbox",Sc=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],Ic={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},ua={showSpinButton:!0,showClearButton:!0,separators:!0},H=e=>{let{size:t,rounded:o,fillMode:a,separators:n=ua.separators,showClearButton:l=ua.showClearButton,showSpinButton:c=ua.showSpinButton,prefix:u,suffix:h,value:x,placeholder:f,hover:N,focus:p,valid:M,invalid:k,required:C,loading:T,disabled:y,readonly:P,id:j,"aria-label":be,"aria-describedby":Le,...Me}=e;return(0,ce.jsxs)(ee,{...Me,size:t,rounded:o,fillMode:a,hover:N,focus:p,valid:M,invalid:k,required:C,loading:T,disabled:y,readonly:P,className:s(e.className,Ai),children:[u&&(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)(Fe,{children:u}),n&&(0,ce.jsx)($e,{})]}),(0,ce.jsx)(De,{id:j,placeholder:f,value:x,role:"spinbutton",disabled:y,"aria-label":be,"aria-describedby":Le,"aria-invalid":k?"true":void 0}),(0,ce.jsx)(Ie,{valid:M,invalid:k,loading:T,disabled:y}),(0,ce.jsx)(Oe,{loading:T,disabled:y}),l&&(0,ce.jsx)(_e,{loading:T,disabled:y,readonly:P,value:x}),h&&(0,ce.jsxs)(ce.Fragment,{children:[n&&(0,ce.jsx)($e,{}),(0,ce.jsx)(Ve,{children:h})]}),c&&(0,ce.jsx)(Tt,{className:"k-input-spinner",size:t,fillMode:a,disabled:y})]})};H.states=Sc;H.options=Ic;H.className=Ai;H.defaultOptions=ua;H.moduleName=Ti;H.folderName=Ei;H.ariaSpec={selector:".k-numerictextbox",rules:[{selector:".k-numerictextbox > .k-input-inner",attribute:"role=spinbutton",usage:"Announces the spin button capabilities of the NumericTextBox."},{selector:".k-numerictextbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuenow (when has value)",usage:"Announces the current value of the component."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemin (when has min)",usage:"Announces the minimum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemax (when has max)",usage:"Announces the maximum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the NumericTextBox is in an invalid state."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message."},{selector:".k-numerictextbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"role=button or nodeName=button",usage:"Describes the role of the spin buttons."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"aria-label",usage:"The button element requires discernible text."},{selector:".k-numerictextbox.k-disabled .k-spin-button > .k-button",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."}]};var qo=H;var Bi=require("react/jsx-runtime"),Oi=e=>(0,Bi.jsx)(qo,{...e});var ba=Nr(require("react"));var Sn=require("react/jsx-runtime"),Cc="k-list-group-sticky-header",In=e=>(0,Sn.jsx)("div",{className:s(Cc,e.className),children:(0,Sn.jsx)("div",{className:"k-list-header-text",children:e.children})});var wi=require("react/jsx-runtime"),yc="k-no-data",ma=e=>{let{live:t,...o}=e;return(0,wi.jsx)("span",{...o,className:s(yc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Dt="list",eo=Dt;var to=require("react/jsx-runtime"),Cn="k-list",Tc=[],Ec={size:[d.undefined,d.small,d.medium,d.large]},Ac={},K=e=>{var k;let{size:t,virtualization:o,children:a,header:n,selectAll:l,optionLabel:c,customValue:u,noData:h,screenReaders:x,...f}=e,p=ba.default.Children.toArray(a)[0],M=(k=p==null?void 0:p.props)!=null&&k.children?ba.default.Children.count(p.props.children):ba.default.Children.count(a);return(0,to.jsxs)("div",{...f,className:s(e.className,Cn,A(Cn,{size:t}),{"k-virtual-list":o}),children:[c,l,u,n&&(0,to.jsx)(In,{children:n}),a||(h!==void 0?h:(0,to.jsx)(ma,{live:!0,children:"No data found."})),x&&a&&(0,to.jsxs)(ma,{className:"k-sr-only",live:!0,children:[M," items found."]})]})};K.states=Tc;K.options=Ec;K.className=Cn;K.defaultOptions=Ac;K.moduleName=Dt;K.folderName=eo;K.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var Ri=require("react/jsx-runtime"),Pi="k-list-container",Oc=[],Bc={},wc={},oo=e=>{let{...t}=e;return(0,Ri.jsx)("div",{...t,className:s(e.className,Pi),children:e.children})};oo.states=Oc;oo.options=Bc;oo.className=Pi;oo.defaultOptions=wc;oo.moduleName=Dt;oo.folderName=eo;var Ht="checkbox",ao=Ht;var yn=require("react/jsx-runtime"),fa="k-checkbox",Pc=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],Rc={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full]},Kc={},we=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:l,disabled:c,invalid:u,valid:h,required:x,size:f,rounded:N,wrapperRole:p,...M}=e;return(0,yn.jsx)("span",{className:"k-checkbox-wrap",role:p,children:(0,yn.jsx)("input",{...M,id:t,type:"checkbox",defaultChecked:o,required:x,disabled:c||void 0,"aria-invalid":u?"true":void 0,className:s(e.className,fa,A(fa,{size:f,rounded:N}),E(fa,{hover:n,focus:l,disabled:c,invalid:u,valid:h,indeterminate:a,checked:o}))})})};we.states=Pc;we.options=Rc;we.className=fa;we.defaultOptions=Kc;we.moduleName=Ht;we.folderName=ao;we.ariaSpec={selector:".k-checkbox",rules:[{selector:".k-checkbox",attribute:"role=checkbox or type=checkbox",usage:"Announces the checkbox role of the element."},{selector:".k-checkbox",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name to which it will be assigned."},{selector:".k-checkbox",attribute:"aria-checked=true/false/mixed or checked",usage:"For native checkboxes the checked state is handled by the browser. aria-checked is used for custom implementations."},{selector:".k-checkbox",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the checkbox."},{selector:".k-checkbox",attribute:"disabled or aria-disabled=true (when disabled)",usage:"For native checkboxes use the HTML disabled attribute. aria-disabled for custom implementations."},{selector:".k-invalid, .ng-invalid",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the CheckBox is in a form and announces the invalid state."}]};var Ze=we;var Di=require("react/jsx-runtime"),Ki="k-checkbox-list",_c=[],Dc={},_i={layout:"vertical"},ye=e=>{let{layout:t=_i.layout,...o}=e;return(0,Di.jsx)("ul",{...o,className:s(e.className,Ki,{[`k-list-${t}`]:t}),children:e.children})};ye.states=_c;ye.options=Dc;ye.className=Ki;ye.defaultOptions=_i;ye.moduleName=Ht;ye.folderName=ao;var zi=require("react/jsx-runtime"),Hi="k-checkbox-list-item",Hc=[],zc={},Uc={},Te=e=>{let{...t}=e;return(0,zi.jsx)("li",{...t,className:s(e.className,Hi),children:e.children})};Te.states=Hc;Te.options=zc;Te.className=Hi;Te.defaultOptions=Uc;Te.moduleName=Ht;Te.folderName=ao;var zt=require("react/jsx-runtime"),ut=({children:e="Label",id:t="cb-label-after",...o})=>(0,zt.jsxs)(zt.Fragment,{children:[(0,zt.jsx)(Ze,{id:t,...o}),(0,zt.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var Tn=require("react/jsx-runtime");var En=require("react/jsx-runtime");var An=require("react/jsx-runtime");var Gc=require("react/jsx-runtime");var Fc=require("react/jsx-runtime");var Vc=require("react/jsx-runtime");var he=require("react/jsx-runtime"),$c=ye.options,Xc=ye.states,qc={...ye.defaultOptions,variant:"vertical"},Jc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Wc=[],no=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,he.jsxs)(ye,{layout:"horizontal",...o,children:[(0,he.jsx)(Te,{children:(0,he.jsx)(ut,{id:D("cb"),defaultChecked:!0,children:"Label"})}),(0,he.jsx)(Te,{children:(0,he.jsx)(ut,{id:D("cb"),children:"Label"})}),(0,he.jsx)(Te,{children:(0,he.jsx)(ut,{id:D("cb"),children:"Label"})})]}):(0,he.jsxs)(ye,{...o,children:[(0,he.jsx)(Te,{children:(0,he.jsx)(ut,{id:D("cb"),defaultChecked:!0,children:"Label"})}),(0,he.jsx)(Te,{children:(0,he.jsx)(ut,{id:D("cb"),children:"Label"})}),(0,he.jsx)(Te,{children:(0,he.jsx)(ut,{id:D("cb"),children:"Label"})})]})};no.options=$c;no.states=Xc;no.variants=Jc;no.defaultOptions=qc;no.modifiers=