UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

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