UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 127 kB
var xl=Object.create;var jo=Object.defineProperty;var Nl=Object.getOwnPropertyDescriptor;var kl=Object.getOwnPropertyNames;var vl=Object.getPrototypeOf,gl=Object.prototype.hasOwnProperty;var Ll=(e,t)=>{for(var o in t)jo(e,o,{get:t[o],enumerable:!0})},br=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of kl(t))!gl.call(e,n)&&n!==o&&jo(e,n,{get:()=>t[n],enumerable:!(a=Nl(t,n))||a.enumerable});return e};var hr=(e,t,o)=>(o=e!=null?xl(vl(e)):{},br(t||!e||!e.__esModule?jo(o,"default",{value:e,enumerable:!0}):o,e)),Ml=e=>br(jo({},"__esModule",{value:!0}),e);var Gm={};Ll(Gm,{MediaplayerDemo:()=>wt,default:()=>Um});module.exports=Ml(Gm);var i=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?i(...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 C=(e,t)=>i({[`${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"}),A=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:s,checked:c,active:u,selected:h,disabled:x,indeterminate:b,loading:N,empty:p,readonly:L,highlighted:k,...S}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":s,"k-checked":c,"k-active":u,"k-selected":h,"k-disabled":x,"k-indeterminate":b&&!c,"k-loading":N,"k-empty":p,"k-readonly":L,"k-highlighted":k},Object.keys(S).reduce((y,I)=>(I.startsWith("k-")?y[I]=S[I]:y[`k-${I}`]=S[I],y),{}))};function xr(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={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"},tt={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 _(e){return wa[e]=(wa[e]||0)+1,`k-${e}-${wa[e]}`}var Oo=require("react/jsx-runtime"),Pa="k-font-icon",Sl=[],Il={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},yl={},wo=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...c}=e;return a?(0,Oo.jsx)("span",{...c,className:i(e.className,Pa,C(Pa,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):(0,Oo.jsx)(Oo.Fragment,{})};wo.states=Sl;wo.options=Il;wo.className=Pa;wo.defaultOptions=yl;var Nr=wo;var Bt=require("react/jsx-runtime"),Ba="k-svg-icon",Cl=[],Tl={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info],variant:[tt.outline,tt.solid,tt.duotone]},Ra={viewBox:"0 0 24 24",variant:tt.outline},Po=e=>{var N,p;let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=Ra.viewBox,variant:c=Ra.variant,icon:u,...h}=e;if(!u)return(0,Bt.jsx)(Bt.Fragment,{});if(u==="none")return(0,Bt.jsx)("span",{...h,className:i(e.className,Ba,C("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof u=="object"&&u.name&&u.name,b=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,Bt.jsx)("span",{...h,className:i(e.className,Ba,C("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,Bt.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof u=="object"?u.viewBox:s,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:u?void 0:e.children})})};Po.states=Cl;Po.options=Tl;Po.className=Ba;Po.defaultOptions=Ra;var Ka=Po;var _a=hr(require("@progress/kendo-svg-icons"));var kr="icon",vr="icons";var Mr=require("react");var gr=require("react"),Lr=(0,gr.createContext)({iconsType:"svg"});var dt=require("react/jsx-runtime"),ea="k-icon",El=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Al=[],Ol={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info],variant:[tt.outline,tt.solid,tt.duotone]},ta={viewBox:"0 0 24 24",type:"svg",variant:tt.outline},M=e=>{let{iconsType:t}=(0,Mr.useContext)(Lr),{size:o,themeColor:a,icon:n,type:s=t||ta.type,rotate:c,flip:u,viewBox:h=ta.viewBox,variant:x=ta.variant,...b}=e;if(!n)return(0,dt.jsx)(dt.Fragment,{});if((t||s)==="svg"){if(n==="none")return(0,dt.jsx)(Ka,{...b,className:i(e.className,ea),icon:n,size:o,variant:x});let p=_a[n]?n:El(`${n}-icon`);return _a[p]?(0,dt.jsx)(Ka,{...b,className:i(e.className,ea),icon:_a[p],size:o,themeColor:a,rotate:c,flip:u,viewBox:h,variant:x}):(0,dt.jsx)(dt.Fragment,{})}return(0,dt.jsx)(Nr,{...b,className:i(e.className,ea),icon:n,size:o,themeColor:a,rotate:c,flip:u})};M.states=Al;M.options=Ol;M.defaultOptions=ta;M.className=ea;M.moduleName=kr;M.folderName=vr;M.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 Da="button",Sr=Da;var Pe=require("react/jsx-runtime"),Bo="k-button",wl=["icon-button"],Pl=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],Bl={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.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]},Ha={showArrow:!1,arrowIconName:"chevron-down"},d=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:c=Ha.showArrow,arrowIconName:u=Ha.arrowIconName,variant:h,hover:x,focus:b,active:N,selected:p,disabled:L,togglable:k,ariaDisabled:S,icon:y,iconSize:I,text:P,iconClassName:Y,className:ue,...ve}=e,ge=y!=null,Le=e.children!==void 0;return(0,Pe.jsxs)(t,{className:i(ue,Bo,xr(Bo,h),C(Bo,{size:o,rounded:a,fillMode:n,themeColor:s}),A(Bo,{hover:x,focus:b,active:N,disabled:L||S,selected:p}),{"k-icon-button":!P&&!Le&&ge}),"aria-pressed":k?p?"true":"false":void 0,...ve,"aria-disabled":S?"true":void 0,disabled:L||void 0,children:[typeof y=="string"&&y&&(0,Pe.jsx)(M,{className:i(Y,"k-button-icon"),icon:y,size:I}),y&&typeof y!="string"&&(0,Pe.jsx)(Pe.Fragment,{children:y}),P?(0,Pe.jsxs)(Pe.Fragment,{children:[P&&(0,Pe.jsx)("span",{className:"k-button-text",children:P}),e.children]}):e.children&&(0,Pe.jsx)("span",{className:"k-button-text",children:e.children}),c&&(0,Pe.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,Pe.jsx)(M,{icon:u})})]})};d.states=Pl;d.options=Bl;d.variants=wl;d.className=Bo;d.defaultOptions=Ha;d.moduleName=Da;d.folderName=Sr;d.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 Ir=require("react/jsx-runtime"),gt=e=>(0,Ir.jsx)(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var yr=require("react/jsx-runtime"),Ro=e=>(0,yr.jsx)(d,{icon:"folder",children:"Button",...e});var Cr=require("react/jsx-runtime"),Rt=e=>(0,Cr.jsx)(d,{children:"Button",...e});var oa=require("react/jsx-runtime"),Rl=d.options,Kl=d.states,_l={...d.defaultOptions,variant:"text"},Dl=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Hl=[],Vt=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,oa.jsx)(gt,{...o,icon:"star"});case"icon-and-text":return(0,oa.jsx)(Ro,{...o,icon:"star",children:"Button"});default:return(0,oa.jsx)(Rt,{...o,children:"Button"})}};Vt.options=Rl;Vt.states=Kl;Vt.variants=Dl;Vt.defaultOptions=_l;Vt.modifiers=Hl;Vt.className=d.className;var za="slider",Tr=za;var We=require("react/jsx-runtime"),Ko="k-slider",zl=[r.hover,r.focus,r.active,r.disabled,r.readonly],Ul={},ze={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},G=e=>{let{type:t=ze.type,orientation:o=ze.orientation,gradientType:a=ze.gradientType,readonly:n=ze.readonly,disabled:s=ze.disabled,handlePosition:c=ze.handlePosition,showButtons:u=ze.showButtons,showTicks:h=ze.showTicks,value:x=ze.value,min:b=ze.min,max:N=ze.max,startValue:p,endValue:L,hover:k,focus:S,active:y,trackStyle:I,dir:P,...Y}=e,ve=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),ge,Le;return o==="horizontal"?(ge=P==="rtl"?"chevron-left":"chevron-right",Le=P==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(ge="chevron-up",Le="chevron-down"),(0,We.jsxs)("div",{...Y,className:i(Ko,e.className,A(Ko,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:P,children:[u&&(0,We.jsx)(d,{className:"k-button-decrease",rounded:"full",icon:Le,tabIndex:-1,title:"Decrease"}),(0,We.jsxs)("div",{className:"k-slider-track-wrap",children:[h&&(0,We.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,We.jsxs)("div",{className:"k-slider-track",style:I,children:[(0,We.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,We.jsx)("span",{className:i("k-draghandle","k-draghandle-start",A(Ko,{hover:k,focus:S,active:y})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":p??b,"aria-valuemin":b,"aria-valuemax":L??N,"aria-orientation":ve,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":Y["aria-label"]?`${Y["aria-label"]} start`:"Range start"}),(0,We.jsx)("span",{className:i("k-draghandle",`k-draghandle-${c}`,A(Ko,{hover:k,focus:S,active:y})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?L??N:x,"aria-valuemin":t==="range"?p??b:b,"aria-valuemax":N,"aria-orientation":ve,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?Y["aria-label"]?`${Y["aria-label"]} end`:"Range end":Y["aria-label"]})]})]}),u&&(0,We.jsx)(d,{className:"k-button-increase",rounded:"full",icon:ge,tabIndex:-1,title:"Increase"})]})};G.states=zl;G.options=Ul;G.className=Ko;G.defaultOptions=ze;G.moduleName=za;G.folderName=Tr;G.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 Ua=require("react/jsx-runtime"),Er="k-tick",Gl=[],Fl={},Ar={label:!1},T=e=>{let{style:t,label:o=Ar.label,orientation:a,large:n,text:s,...c}=e;return(0,Ua.jsx)("li",{...c,role:"presentation",title:s||"Tick",className:i(e.className,Er,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&(0,Ua.jsx)("span",{className:"k-label",children:s})})};T.states=Gl;T.options=Fl;T.className=Er;T.defaultOptions=Ar;var re=require("react/jsx-runtime"),$t=e=>(0,re.jsx)(G,{"aria-label":e["aria-label"]||"Slider",children:(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(T,{className:"k-first",label:!0,large:!0,text:"0"}),(0,re.jsx)(T,{}),(0,re.jsx)(T,{}),(0,re.jsx)(T,{}),(0,re.jsx)(T,{}),(0,re.jsx)(T,{label:!0,large:!0,text:"5"}),(0,re.jsx)(T,{}),(0,re.jsx)(T,{}),(0,re.jsx)(T,{}),(0,re.jsx)(T,{}),(0,re.jsx)(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var ie=require("react/jsx-runtime"),Or=e=>(0,ie.jsx)(G,{children:(0,ie.jsxs)(ie.Fragment,{children:[(0,ie.jsx)(T,{className:"k-first",label:!0,large:!0,text:"0"}),(0,ie.jsx)(T,{}),(0,ie.jsx)(T,{}),(0,ie.jsx)(T,{}),(0,ie.jsx)(T,{}),(0,ie.jsx)(T,{label:!0,large:!0,text:"5"}),(0,ie.jsx)(T,{}),(0,ie.jsx)(T,{}),(0,ie.jsx)(T,{}),(0,ie.jsx)(T,{}),(0,ie.jsx)(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var Ga=require("react/jsx-runtime");var Fa=require("react/jsx-runtime");var wr=require("react/jsx-runtime"),Va=e=>(0,wr.jsx)(G,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Pr=require("react/jsx-runtime"),$a=e=>(0,Pr.jsx)(G,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Xa=require("react/jsx-runtime");var qa=require("react/jsx-runtime");var Te=require("react/jsx-runtime"),Vl=G.options,$l=G.states,Br={...G.defaultOptions,variant:"horizontal",label:!0},Xl=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],ql=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Xt=e=>{let{variant:t,modifiers:o,...a}=e,n=Br.label,s={};Object.keys(o||{}).forEach(u=>{switch(u){case"button":{s.showButtons=!!(o!=null&&o[u]);break}case"label":{n=!!(o!=null&&o[u]);break}case"tick":{s.showTicks=!!(o!=null&&o[u]);break}}});let c={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,Te.jsxs)(Or,{style:{height:"300px",...c},...a,...s,children:[(0,Te.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,Te.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,Te.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,Te.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,Te.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,Te.jsxs)($t,{style:{width:"400px",...c},...a,...s,children:[(0,Te.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,Te.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,Te.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,Te.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,Te.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Xt.options=Vl;Xt.states=$l;Xt.variants=Xl;Xt.defaultOptions=Br;Xt.modifiers=ql;Xt.className=G.className;var Ja="button",Rr=Ja;var Kr=require("react/jsx-runtime"),_o="k-button-group",Jl=[r.disabled],Wl={fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link]},Yl={},O=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return(0,Kr.jsx)("div",{role:"group",...n,className:i(e.className,_o,C(_o,{fillMode:t}),A(_o,{disabled:o}),{[`${_o}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};O.states=Jl;O.options=Wl;O.className=_o;O.defaultOptions=Yl;O.moduleName=Ja;O.folderName=Rr;O.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 Wa=require("react/jsx-runtime");var Ya=require("react/jsx-runtime");var Qa=require("react/jsx-runtime");var Za=require("react/jsx-runtime");var ja=require("react/jsx-runtime");var en=require("react/jsx-runtime");var Ee=require("react/jsx-runtime"),Ql={...d.options,...O.options},Zl=d.states,jl={...d.defaultOptions,...O.defaultOptions,variant:"text-button"},ed=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],td=[],qt=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,Ee.jsxs)(O,{fillMode:a.fillMode,className:o,children:[(0,Ee.jsx)(d,{...a,icon:"star"}),(0,Ee.jsx)(d,{...a,icon:"star"}),(0,Ee.jsx)(d,{...a,icon:"star"})]}):t==="icon-text-button"?(0,Ee.jsxs)(O,{fillMode:a.fillMode,className:o,children:[(0,Ee.jsx)(d,{...a,icon:"star",children:"First"}),(0,Ee.jsx)(d,{...a,icon:"star",children:"Middle"}),(0,Ee.jsx)(d,{...a,icon:"star",children:"Last"})]}):(0,Ee.jsxs)(O,{fillMode:a.fillMode,className:o,children:[(0,Ee.jsx)(d,{...a,children:"First"}),(0,Ee.jsx)(d,{...a,children:"Middle"}),(0,Ee.jsx)(d,{...a,children:"Last"})]})};qt.options=Ql;qt.states=Zl;qt.variants=ed;qt.defaultOptions=jl;qt.modifiers=td;qt.className=O.className;var Do="input",aa=Do;var _r=require("react/jsx-runtime"),na="k-input",od=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],ad={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},nd={},Q=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:u,size:h,rounded:x,fillMode:b,...N}=e;return(0,_r.jsx)("span",{...N,className:i(e.className,na,C(na,{size:h,rounded:x,fillMode:b}),A(na,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:u}))})};Q.states=od;Q.options=ad;Q.className=na;Q.defaultOptions=nd;Q.moduleName=Do;Q.folderName=aa;var Dr=require("react/jsx-runtime"),ra="k-picker",rd=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],id={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},sd={},ot=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:u,size:h,rounded:x,fillMode:b,...N}=e;return(0,Dr.jsx)("span",{...N,className:i(e.className,ra,C(ra,{size:h,rounded:x,fillMode:b}),A(ra,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:c,readonly:u})),children:e.children})};ot.states=rd;ot.options=id;ot.className=ra;ot.defaultOptions=sd;ot.moduleName=Do;ot.folderName=aa;var Jt=require("react/jsx-runtime"),Hr="k-clear-value",ld=[r.disabled,r.loading,r.readonly],dd={},Be=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?(0,Jt.jsx)(Jt.Fragment,{}):(0,Jt.jsx)("span",{className:i(e.className,Hr),children:(0,Jt.jsx)(M,{icon:"x"})})};Be.states=ld;Be.options=dd;Be.className=Hr;var zr=require("react/jsx-runtime"),tn="k-input-inner",cd=[],pd={},ia={type:"text",autocomplete:"off",value:"",placeholder:""},Re=e=>{let{value:t=ia.value,type:o=ia.type,placeholder:a=ia.placeholder,autocomplete:n=ia.autocomplete,disabled:s,readOnly:c,...u}=e;return(0,zr.jsx)("input",{...u,type:o,className:i(e.className,tn,C(tn,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:c||void 0})};Re.states=cd;Re.options=pd;Re.className=tn;var Ho=require("react/jsx-runtime"),on="k-input-inner",ud=[],md={},Kt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...c}=e;return(0,Ho.jsxs)("span",{...c,className:i(e.className,on,C(on,e)),children:[n,!n&&s&&(0,Ho.jsx)(M,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&(0,Ho.jsx)("span",{className:"k-input-value-text",children:t})]})};Kt.states=ud;Kt.options=md;Kt.className=on;var Gr=require("react/jsx-runtime"),an="k-input-inner",fd=[],bd={},Ur={value:"",placeholder:""},nn=e=>{let{value:t=Ur.value,placeholder:o=Ur.placeholder,rows:a,disabled:n,...s}=e;return(0,Gr.jsx)("textarea",{...s,className:i(e.className,an,C(an,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};nn.states=fd;nn.options=bd;nn.className=an;var zo=require("react/jsx-runtime"),Fr="k-input-loading-icon",hd=[r.disabled,r.loading],Ae=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,zo.jsx)(zo.Fragment,{}):(0,zo.jsx)("span",{className:i(e.className,Fr,"k-icon k-i-loading")})};Ae.states=hd;Ae.className=Fr;var Uo=require("react/jsx-runtime"),Vr="k-input-validation-icon",xd=[r.valid,r.invalid,r.disabled,r.loading],Nd={},Me=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?(0,Uo.jsx)(Uo.Fragment,{}):(0,Uo.jsx)(M,{className:i(Vr),icon:s})};Me.states=xd;Me.options=Nd;Me.className=Vr;var Go=require("react/jsx-runtime"),kd="k-input-prefix",vd={direction:"horizontal"},Ue=e=>{let{direction:t=vd.direction,...o}=e;return e.children?(0,Go.jsx)("span",{...o,className:i(kd,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Go.jsx)(Go.Fragment,{})};var Fo=require("react/jsx-runtime"),gd="k-input-suffix",Ld={direction:"horizontal"},Ge=e=>{let{direction:t=Ld.direction,...o}=e;return e.children?(0,Fo.jsx)("span",{...o,className:i(gd,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Fo.jsx)(Fo.Fragment,{})};var Md=require("react/jsx-runtime");var $r=require("react/jsx-runtime"),Sd="k-input-suffix-text",rn=e=>{let{children:t,...o}=e;return(0,$r.jsx)("span",{...o,className:i(Sd,e.className),children:t})};var qr=require("react/jsx-runtime"),Xr="k-input-separator",Id={direction:"vertical"},Fe=e=>{let{direction:t=Id.direction,...o}=e;return(0,qr.jsx)("span",{...o,className:i(Xr,e.className,{[`${Xr}-${t}`]:t})})};var oe=require("react/jsx-runtime"),yd=Q.states,Cd=Q.defaultOptions,Td=Q.options,Ed=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Ad=[],Wt=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:s,readonly:c,...u}=e,h=t==null?void 0:t.prefix,x=t==null?void 0:t.suffix,b=t==null?void 0:t["clear-button"],N=t==null?void 0:t["validation-icon"],p=t==null?void 0:t.separators;return(0,oe.jsxs)(Q,{...u,valid:o,invalid:a,loading:n,disabled:s,readonly:c,style:{width:300},children:[h&&(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsx)(Ue,{children:(0,oe.jsx)(M,{icon:"lock"})}),p&&(0,oe.jsx)(Fe,{})]}),(0,oe.jsx)(Re,{placeholder:"Placeholder",value:"Value"}),N&&(0,oe.jsx)(Me,{valid:o,invalid:a,loading:n,disabled:s}),(0,oe.jsx)(Ae,{loading:n,disabled:s}),b&&(0,oe.jsx)(Be,{loading:n,disabled:s,readonly:c,value:"Value"}),x&&(0,oe.jsxs)(oe.Fragment,{children:[p&&(0,oe.jsx)(Fe,{}),(0,oe.jsx)(Ge,{children:(0,oe.jsx)(Rt,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};Wt.options=Td;Wt.states=yd;Wt.variants=Ad;Wt.defaultOptions=Cd;Wt.modifiers=Ed;Wt.className=Q.className;var Vo=require("react/jsx-runtime"),Jr="k-color-preview",Od=[],wd={},Lt=e=>{let{color:t,iconName:o,...a}=e;return(0,Vo.jsxs)("span",{...a,className:i(e.className,Jr,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,Vo.jsx)(M,{icon:o,className:"k-color-preview-icon"}),(0,Vo.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Lt.states=Od;Lt.options=wd;Lt.className=Jr;var sn="popup",Wr=sn;var dn=require("react/jsx-runtime"),Yr="k-animation-container",Pd=[],Bd={},ln={positionMode:"absolute",shown:!0},at=e=>{let{positionMode:t=ln.positionMode,shown:o=ln.shown,animationStyle:a,offset:n,...s}=e;return(0,dn.jsx)("div",{...s,style:{...n,...e.style},className:i(e.className,Yr,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,dn.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};at.states=Pd;at.options=Bd;at.className=Yr;at.defaultOptions=ln;at.moduleName=sn;at.folderName=Wr;var cn="popup",Qr=cn;var pn=require("react/jsx-runtime"),Zr="k-popup",Rd=[],Kd={},jr={positionMode:"absolute"},F=e=>{let{offset:t,positionMode:o=jr.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:c,...u}=e;return(0,pn.jsx)(at,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":c,children:(0,pn.jsx)("div",{...u,className:i(e.className,Zr),children:e.children})})};F.states=Rd;F.options=Kd;F.className=Zr;F.defaultOptions=jr;F.moduleName=cn;F.folderName=Qr;F.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 un="action-buttons",ei=un;var ti=require("react/jsx-runtime"),sa="k-actions",_d=[],Dd={},mn={alignment:"start",orientation:"horizontal"},nt=e=>{let{alignment:t=mn.alignment,orientation:o=mn.orientation,...a}=e;return(0,ti.jsx)("div",{...a,className:i(sa,{[`${sa}-${t}`]:t,[`${sa}-${o}`]:o},e.className),children:e.children})};nt.states=_d;nt.options=Dd;nt.className=sa;nt.defaultOptions=mn;nt.moduleName=un;nt.folderName=ei;var ai=require("react/jsx-runtime"),Hd="k-actionsheet-footer",oi={alignment:"stretched",orientation:"horizontal"},Mt=e=>{let{alignment:t=oi.alignment,orientation:o=oi.orientation,template:a,as:n=a?"div":nt,...s}=e;return(0,ai.jsx)(n,{...s,...!a&&{alignment:t,orientation:o},className:i(e.className,Hd),children:e.children})};var fn="searchbox",ni=fn;var St=require("react/jsx-runtime"),ri="k-searchbox",zd=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],Ud={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},bn={showIcon:!0,icon:"search"},Ve=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:s,hover:c,focus:u,valid:h,invalid:x,required:b,loading:N,disabled:p,showIcon:L=bn.showIcon,icon:k=bn.icon,"aria-label":S,...y}=e;return(0,St.jsxs)(Q,{...y,size:a,rounded:n,fillMode:s,hover:c,focus:u,valid:h,invalid:x,required:b,loading:N,disabled:p,className:i(e.className,ri),children:[L&&(0,St.jsx)(M,{className:"k-input-icon",icon:k}),(0,St.jsx)(Re,{placeholder:o,value:t,"aria-label":S}),(0,St.jsx)(Ae,{...e}),(0,St.jsx)(Me,{...e}),(0,St.jsx)(Be,{...e})]})};Ve.states=zd;Ve.options=Ud;Ve.className=ri;Ve.defaultOptions=bn;Ve.moduleName=fn;Ve.folderName=ni;var Gd=require("react/jsx-runtime");var hn="textbox",ii=hn;var me=require("react/jsx-runtime"),si="k-textbox",Fd=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Vd={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},la={showClearButton:!0,showValidationIcon:!0,separators:!0},se=e=>{let{size:t,rounded:o,fillMode:a,separators:n=la.separators,showClearButton:s=la.showClearButton,showValidationIcon:c=la.showValidationIcon,prefix:u,suffix:h,type:x,value:b,placeholder:N,hover:p,focus:L,valid:k,invalid:S,required:y,loading:I,disabled:P,readonly:Y,id:ue,"aria-label":ve,"aria-describedby":ge,...Le}=e;return(0,me.jsxs)(Q,{...Le,size:t,rounded:o,fillMode:a,hover:p,focus:L,valid:k,invalid:S,required:y,loading:I,disabled:P,readonly:Y,className:i(e.className,si),children:[u&&(0,me.jsxs)(me.Fragment,{children:[(0,me.jsx)(Ue,{children:u}),n&&(0,me.jsx)(Fe,{})]}),(0,me.jsx)(Re,{id:ue,placeholder:N,value:b,type:x,disabled:P,"aria-label":ve,"aria-describedby":ge,"aria-invalid":S?"true":void 0}),c&&(0,me.jsx)(Me,{valid:k,invalid:S,loading:I,disabled:P}),(0,me.jsx)(Ae,{loading:I,disabled:P}),s&&(0,me.jsx)(Be,{loading:I,disabled:P,readonly:Y,value:b}),h&&(0,me.jsxs)(me.Fragment,{children:[n&&(0,me.jsx)(Fe,{}),(0,me.jsx)(Ge,{children:h})]})]})};se.states=Fd;se.options=Vd;se.className=si;se.defaultOptions=la;se.moduleName=hn;se.folderName=ii;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 $o=se;var di=require("react/jsx-runtime"),li=e=>(0,di.jsx)($o,{...e});var ci=require("react/jsx-runtime");var pi=require("react/jsx-runtime");var $d=require("react/jsx-runtime");var da=require("react/jsx-runtime"),Xd=se.states,qd=se.defaultOptions,Jd=se.options,Wd=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Yd=[],Yt=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,da.jsx)(M,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,da.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,da.jsx)(li,{value:"Value",style:{width:300},...o,...a})};Yt.options=Jd;Yt.states=Xd;Yt.variants=Yd;Yt.defaultOptions=qd;Yt.modifiers=Wd;Yt.className=se.className;var Ke=require("react/jsx-runtime"),ui="k-actionsheet-titlebar",Qd={},Se=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:s,input:c,inputValue:u,inputPlaceholder:h,adaptive:x,titleId:b,children:N,...p}=e;return(0,Ke.jsxs)("div",{...p,className:i(e.className,ui),children:[(0,Ke.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,Ke.jsx)("div",{className:"k-actionsheet-actions",children:a}),!N&&(0,Ke.jsxs)("div",{className:"k-actionsheet-title",id:b,children:[t&&(0,Ke.jsx)("div",{className:"k-text-center",children:t}),o&&(0,Ke.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&(0,Ke.jsx)("div",{className:"k-actionsheet-title",id:b,children:N}),n&&(0,Ke.jsx)("div",{className:"k-actionsheet-actions",children:n})]}),(c||s)&&(0,Ke.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?(0,Ke.jsx)(se,{value:u,placeholder:h,size:x?"large":"medium","aria-label":t||h||"Input"}):(0,Ke.jsx)(Ve,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};Se.className=ui;Se.defaultOptions=Qd;var Qt=require("react/jsx-runtime"),xn="k-actionsheet-view",Zd=[],jd={},ec={},Zt=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:s,titleId:c,...u}=e,h=(n==null?void 0:n.type)===Se&&(0,Qt.jsx)(Se,{adaptive:t,titleId:c,...n==null?void 0:n.props}),x=(s==null?void 0:s.type)===Mt&&(0,Qt.jsx)(Mt,{...s==null?void 0:s.props});return(0,Qt.jsxs)("div",{...u,className:i(e.className,xn,{[`${xn}-animated`]:o}),children:[h,(0,Qt.jsx)("div",{className:"k-actionsheet-content",children:a}),x]})};Zt.states=Zd;Zt.options=jd;Zt.className=xn;Zt.defaultOptions=ec;var Xo="action-sheet",ca=Xo;var Nn="overlay",mi=Nn;var bi=require("react/jsx-runtime"),fi="k-overlay",tc=[],oc={},ac={},It=e=>{let{...t}=e;return(0,bi.jsx)("div",{...t,className:i(e.className,fi),children:e.children})};It.states=tc;It.options=oc;It.className=fi;It.defaultOptions=ac;It.moduleName=Nn;It.folderName=mi;var _t=require("react/jsx-runtime"),hi="k-actionsheet",nc=[],rc={},qo={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},J=e=>{let{side:t=qo.side,fullscreen:o=qo.fullscreen,adaptive:a=qo.adaptive,overlay:n=qo.overlay,template:s,children:c,header:u,footer:h,id:x,...b}=e,N=x&&!s&&u?`${x}-title`:void 0;return(0,_t.jsxs)("div",{className:"k-actionsheet-container",children:[n&&(0,_t.jsx)(It,{}),(0,_t.jsx)(at,{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",{...b,id:x,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":N,className:i(e.className,hi,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||(0,_t.jsx)(Zt,{header:u,footer:h,adaptive:a,titleId:N,...e,children:c})})})]})};J.states=nc;J.options=rc;J.className=hi;J.defaultOptions=qo;J.moduleName=Xo;J.folderName=ca;J.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 Ni=require("react/jsx-runtime"),xi="k-actionsheet-container",ic=[],sc={},lc={},jt=e=>{let{children:t,...o}=e;return(0,Ni.jsx)("div",{...o,className:xi,children:t})};jt.states=ic;jt.options=sc;jt.className=xi;jt.defaultOptions=lc;jt.moduleName=Xo;jt.folderName=ca;var ki=require("react/jsx-runtime"),kn=e=>{let{...t}=e;return(0,ki.jsx)("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};var $e=require("react/jsx-runtime"),vn="k-actionsheet-item",dc=[r.hover,r.focus,r.selected,r.disabled],yt=e=>{let{iconName:t,text:o,description:a,hover:n,focus:s,selected:c,disabled:u,...h}=e;return(0,$e.jsxs)("span",{...h,className:i(e.className,vn,A(vn,{hover:n,focus:s,selected:c,disabled:u})),children:[!e.children&&(0,$e.jsx)($e.Fragment,{children:(0,$e.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,$e.jsx)("span",{className:"k-icon-wrap",children:(0,$e.jsx)(M,{className:"k-actionsheet-item-icon",icon:t})}),(0,$e.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,$e.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,$e.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};yt.states=dc;yt.className=vn;var vi=require("react/jsx-runtime");var cc=require("react/jsx-runtime");var pc=require("react/jsx-runtime");var uc=require("react/jsx-runtime");var V=require("react/jsx-runtime"),mc=J.options,fc=J.states,Li={...J.defaultOptions,variant:"normal"},bc=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],hc=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],eo=e=>{let{variant:t,modifiers:o,...a}={...Li,...e},n={},s=(0,V.jsxs)(kn,{children:[(0,V.jsx)(yt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,V.jsx)(yt,{text:"Add to Favorites",iconName:"heart"}),(0,V.jsx)(yt,{text:"Upload New",iconName:"upload",disabled:!0}),(0,V.jsx)("hr",{className:"k-hr"}),(0,V.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,V.jsx)(J,{...a,adaptive:!0,fullscreen:n.fullScreen,header:(0,V.jsx)(Se,{actionsStart:n.actionsStart?(0,V.jsx)(d,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,V.jsx)(d,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:u,subtitle:n.subtitle}),footer:n.footer?(0,V.jsxs)(Mt,{alignment:"stretched",children:[(0,V.jsx)(d,{text:"Cancel",size:"large",themeColor:"base"}),(0,V.jsx)(d,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):(0,V.jsx)(J,{...a,fullscreen:n.fullScreen,header:(0,V.jsx)(Se,{actionsStart:n.actionsStart?(0,V.jsx)(d,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,V.jsx)(d,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?(0,V.jsxs)(Mt,{alignment:"stretched",children:[(0,V.jsx)(d,{text:"Apply",themeColor:"primary"}),(0,V.jsx)(d,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};eo.options=mc;eo.states=fc;eo.variants=bc;eo.defaultOptions=Li;eo.modifiers=hc;eo.className=J.className;var Jo=require("react/jsx-runtime"),Mi="k-spin-button",kc=[],vc={size:[l.undefined,l.small,l.medium,l.large],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link]},gn={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Ct=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=gn.increaseLabel,decreaseLabel:s=gn.decreaseLabel,...c}=e;return(0,Jo.jsxs)("span",{...c,className:i(Mi,e.className),children:[(0,Jo.jsx)(d,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),(0,Jo.jsx)(d,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Ct.states=kc;Ct.options=vc;Ct.className=Mi;Ct.defaultOptions=gn;Ct.moduleName=null;Ct.folderName=null;var Si="numeric-textbox",Ii="numerictextbox";var le=require("react/jsx-runtime"),yi="k-numerictextbox",gc=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],Lc={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},pa={showSpinButton:!0,showClearButton:!0,separators:!0},D=e=>{let{size:t,rounded:o,fillMode:a,separators:n=pa.separators,showClearButton:s=pa.showClearButton,showSpinButton:c=pa.showSpinButton,prefix:u,suffix:h,value:x,placeholder:b,hover:N,focus:p,valid:L,invalid:k,required:S,loading:y,disabled:I,readonly:P,id:Y,"aria-label":ue,"aria-describedby":ve,...ge}=e;return(0,le.jsxs)(Q,{...ge,size:t,rounded:o,fillMode:a,hover:N,focus:p,valid:L,invalid:k,required:S,loading:y,disabled:I,readonly:P,className:i(e.className,yi),children:[u&&(0,le.jsxs)(le.Fragment,{children:[(0,le.jsx)(Ue,{children:u}),n&&(0,le.jsx)(Fe,{})]}),(0,le.jsx)(Re,{id:Y,placeholder:b,value:x,role:"spinbutton",disabled:I,"aria-label":ue,"aria-describedby":ve,"aria-invalid":k?"true":void 0}),(0,le.jsx)(Me,{valid:L,invalid:k,loading:y,disabled:I}),(0,le.jsx)(Ae,{loading:y,disabled:I}),s&&(0,le.jsx)(Be,{loading:y,disabled:I,readonly:P,value:x}),h&&(0,le.jsxs)(le.Fragment,{children:[n&&(0,le.jsx)(Fe,{}),(0,le.jsx)(Ge,{children:h})]}),c&&(0,le.jsx)(Ct,{className:"k-input-spinner",size:t,fillMode:a,disabled:I})]})};D.states=gc;D.options=Lc;D.className=yi;D.defaultOptions=pa;D.moduleName=Si;D.folderName=Ii;D.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 Wo=D;var Ti=require("react/jsx-runtime"),Ci=e=>(0,Ti.jsx)(Wo,{...e});var ma=hr(require("react"));var Ln=require("react/jsx-runtime"),Mc="k-list-group-sticky-header",Mn=e=>(0,Ln.jsx)("div",{className:i(Mc,e.className),children:(0,Ln.jsx)("div",{className:"k-list-header-text",children:e.children})});var Ei=require("react/jsx-runtime"),Sc="k-no-data",ua=e=>{let{live:t,...o}=e;return(0,Ei.jsx)("span",{...o,className:i(Sc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Dt="list",to=Dt;var oo=require("react/jsx-runtime"),Sn="k-list",Ic=[],yc={size:[l.undefined,l.small,l.medium,l.large]},Cc={},R=e=>{var k;let{size:t,virtualization:o,children:a,header:n,selectAll:s,optionLabel:c,customValue:u,noData:h,screenReaders:x,...b}=e,p=ma.default.Children.toArray(a)[0],L=(k=p==null?void 0:p.props)!=null&&k.children?ma.default.Children.count(p.props.children):ma.default.Children.count(a);return(0,oo.jsxs)("div",{...b,className:i(e.className,Sn,C(Sn,{size:t}),{"k-virtual-list":o}),children:[c,s,u,n&&(0,oo.jsx)(Mn,{children:n}),a||(h!==void 0?h:(0,oo.jsx)(ua,{live:!0,children:"No data found."})),x&&a&&(0,oo.jsxs)(ua,{className:"k-sr-only",live:!0,children:[L," items found."]})]})};R.states=Ic;R.options=yc;R.className=Sn;R.defaultOptions=Cc;R.moduleName=Dt;R.folderName=to;R.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var Oi=require("react/jsx-runtime"),Ai="k-list-container",Tc=[],Ec={},Ac={},ao=e=>{let{...t}=e;return(0,Oi.jsx)("div",{...t,className:i(e.className,Ai),children:e.children})};ao.states=Tc;ao.options=Ec;ao.className=Ai;ao.defaultOptions=Ac;ao.moduleName=Dt;ao.folderName=to;var Ht="checkbox",no=Ht;var In=require("react/jsx-runtime"),fa="k-checkbox",Oc=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],wc={size:[l.undefined,l.small,l.medium,l.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},Pc={},Oe=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:s,disabled:c,invalid:u,valid:h,required:x,size:b,rounded:N,wrapperRole:p,...L}=e;return(0,In.jsx)("span",{className:"k-checkbox-wrap",role:p,children:(0,In.jsx)("input",{...L,id:t,type:"checkbox",defaultChecked:o,required:x,disabled:c||void 0,"aria-invalid":u?"true":void 0,className:i(e.className,fa,C(fa,{size:b,rounded:N}),A(fa,{hover:n,focus:s,disabled:c,invalid:u,valid:h,indeterminate:a,checked:o}))})})};Oe.states=Oc;Oe.options=wc;Oe.className=fa;Oe.defaultOptions=Pc;Oe.moduleName=Ht;Oe.folderName=no;Oe.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 Ye=Oe;var Bi=require("react/jsx-runtime"),wi="k-checkbox-list",Bc=[],Rc={},Pi={layout:"vertical"},Ie=e=>{let{layout:t=Pi.layout,...o}=e;return(0,Bi.jsx)("ul",{...o,className:i(e.className,wi,{[`k-list-${t}`]:t}),children:e.children})};Ie.states=Bc;Ie.options=Rc;Ie.className=wi;Ie.defaultOptions=Pi;Ie.moduleName=Ht;Ie.folderName=no;var Ki=require("react/jsx-runtime"),Ri="k-checkbox-list-item",Kc=[],_c={},Dc={},ye=e=>{let{...t}=e;return(0,Ki.jsx)("li",{...t,className:i(e.className,Ri),children:e.children})};ye.states=Kc;ye.options=_c;ye.className=Ri;ye.defaultOptions=Dc;ye.moduleName=Ht;ye.folderName=no;var zt=require("react/jsx-runtime"),ct=({children:e="Label",id:t="cb-label-after",...o})=>(0,zt.jsxs)(zt.Fragment,{children:[(0,zt.jsx)(Ye,{id:t,...o}),(0,zt.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var yn=require("react/jsx-runtime");var Cn=require("react/jsx-runtime");var Tn=require("react/jsx-runtime");var Hc=require("react/jsx-runtime");var zc=require("react/jsx-runtime");var Uc=require("react/jsx-runtime");var fe=require("react/jsx-runtime"),Gc=Ie.options,Fc=Ie.states,Vc={...Ie.defaultOptions,variant:"vertical"},$c=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Xc=[],ro=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,fe.jsxs)(Ie,{layout:"horizontal",...o,children:[(0,fe.jsx)(ye,{children:(0,fe.jsx)(ct,{id:_("cb"),defaultChecked:!0,children:"Label"})}),(0,fe.jsx)(ye,{children:(0,fe.jsx)(ct,{id:_("cb"),children:"Label"})}),(0,fe.jsx)(ye,{children:(0,fe.jsx)(ct,{id:_("cb"),children:"Label"})})]}):(0,fe.jsxs)(Ie,{...o,children:[(0,fe.jsx)(ye,{children:(0,fe.jsx)(ct,{id:_("cb"),defaultChecked:!0,children:"Label"})}),(0,fe.jsx)(ye,{children:(0,fe.jsx)(ct,{id:_("cb"),children:"Label"})}),(0,fe.jsx)(ye,{children:(0,fe.jsx)(ct,{id:_("cb"),children:"Label"})})]})};ro.options=Gc;ro.states=Fc;ro.variants=$c;ro.defaultOptions=Vc;ro.modifiers=Xc;ro.className=Ie.className;var _i=require("react/jsx-runtime"),qc=Ye.options,Jc=Ye.states,Wc=Ye.defaultOptions,Yc=[],Qc=[],io=e=>(0,_i.jsx)(ct,{id:_("checkbox"),...e,defaultChecked:!0,children:"Label"});io.options=qc;io.states=Jc;io.variants=Yc;io.defaultOptions=Wc;io.modifiers=Qc;io.className=Ye.className;var rt=require("react/jsx-runtime"),En="k-list-item",Zc=[r.hover,r.focus,r.selected,r.disabled],