UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

1 lines 119 kB
var Rs=Object.create;var _o=Object.defineProperty;var Bs=Object.getOwnPropertyDescriptor;var Ks=Object.getOwnPropertyNames;var _s=Object.getPrototypeOf,Ds=Object.prototype.hasOwnProperty;var Hs=(e,t)=>{for(var o in t)_o(e,o,{get:t[o],enumerable:!0})},Jn=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Ks(t))!Ds.call(e,n)&&n!==o&&_o(e,n,{get:()=>t[n],enumerable:!(a=Bs(t,n))||a.enumerable});return e};var Wn=(e,t,o)=>(o=e!=null?Rs(_s(e)):{},Jn(t||!e||!e.__esModule?_o(o,"default",{value:e,enumerable:!0}):o,e)),zs=e=>Jn(_o({},"__esModule",{value:!0}),e);var Bu={};Hs(Bu,{ToolbarResizable:()=>Ru});module.exports=zs(Bu);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 T=(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:d,active:p,selected:h,disabled:x,indeterminate:b,loading:N,empty:c,readonly:L,highlighted:v,...S}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":s,"k-checked":d,"k-active":p,"k-selected":h,"k-disabled":x,"k-indeterminate":b&&!d,"k-loading":N,"k-empty":c,"k-readonly":L,"k-highlighted":v},Object.keys(S).reduce((C,M)=>(M.startsWith("k-")?C[M]=S[M]:C[`k-${M}`]=S[M],C),{}))};function Yn(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"},m={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},f={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},We={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},k={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 ba={};function B(e){return ba[e]=(ba[e]||0)+1,`k-${e}-${ba[e]}`}var bo=require("react/jsx-runtime"),ha="k-font-icon",Us=[],Gs={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info]},Fs={},ho=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...d}=e;return a?(0,bo.jsx)("span",{...d,className:i(e.className,ha,T(ha,{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,bo.jsx)(bo.Fragment,{})};ho.states=Us;ho.options=Gs;ho.className=ha;ho.defaultOptions=Fs;var Qn=ho;var Lt=require("react/jsx-runtime"),xa="k-svg-icon",Vs=[],$s={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info],variant:[We.outline,We.solid,We.duotone]},Na={viewBox:"0 0 24 24",variant:We.outline},xo=e=>{var N,c;let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=Na.viewBox,variant:d=Na.variant,icon:p,...h}=e;if(!p)return(0,Lt.jsx)(Lt.Fragment,{});if(p==="none")return(0,Lt.jsx)("span",{...h,className:i(e.className,xa,T("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof p=="object"&&p.name&&p.name,b=typeof p=="object"?d&&((N=p.variants)==null?void 0:N[d])||((c=p.variants)==null?void 0:c.outline)||p.content:void 0;return(0,Lt.jsx)("span",{...h,className:i(e.className,xa,T("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,Lt.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof p=="object"?p.viewBox:s,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:p?void 0:e.children})})};xo.states=Vs;xo.options=$s;xo.className=xa;xo.defaultOptions=Na;var va=xo;var ka=Wn(require("@progress/kendo-svg-icons"));var Zn="icon",jn="icons";var or=require("react");var er=require("react"),tr=(0,er.createContext)({iconsType:"svg"});var ot=require("react/jsx-runtime"),Do="k-icon",Xs=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),qs=[],Js={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info],variant:[We.outline,We.solid,We.duotone]},Ho={viewBox:"0 0 24 24",type:"svg",variant:We.outline},I=e=>{let{iconsType:t}=(0,or.useContext)(tr),{size:o,themeColor:a,icon:n,type:s=t||Ho.type,rotate:d,flip:p,viewBox:h=Ho.viewBox,variant:x=Ho.variant,...b}=e;if(!n)return(0,ot.jsx)(ot.Fragment,{});if((t||s)==="svg"){if(n==="none")return(0,ot.jsx)(va,{...b,className:i(e.className,Do),icon:n,size:o,variant:x});let c=ka[n]?n:Xs(`${n}-icon`);return ka[c]?(0,ot.jsx)(va,{...b,className:i(e.className,Do),icon:ka[c],size:o,themeColor:a,rotate:d,flip:p,viewBox:h,variant:x}):(0,ot.jsx)(ot.Fragment,{})}return(0,ot.jsx)(Qn,{...b,className:i(e.className,Do),icon:n,size:o,themeColor:a,rotate:d,flip:p})};I.states=qs;I.options=Js;I.defaultOptions=Ho;I.className=Do;I.moduleName=Zn;I.folderName=jn;I.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var ga="button",ar=ga;var Te=require("react/jsx-runtime"),No="k-button",Ws=["icon-button"],Ys=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],Qs={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info,k.inverse]},La={showArrow:!1,arrowIconName:"chevron-down"},u=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:d=La.showArrow,arrowIconName:p=La.arrowIconName,variant:h,hover:x,focus:b,active:N,selected:c,disabled:L,togglable:v,ariaDisabled:S,icon:C,iconSize:M,text:w,iconClassName:q,className:le,...be}=e,he=C!=null,xe=e.children!==void 0;return(0,Te.jsxs)(t,{className:i(le,No,Yn(No,h),T(No,{size:o,rounded:a,fillMode:n,themeColor:s}),A(No,{hover:x,focus:b,active:N,disabled:L||S,selected:c}),{"k-icon-button":!w&&!xe&&he}),"aria-pressed":v?c?"true":"false":void 0,...be,"aria-disabled":S?"true":void 0,disabled:L||void 0,children:[typeof C=="string"&&C&&(0,Te.jsx)(I,{className:i(q,"k-button-icon"),icon:C,size:M}),C&&typeof C!="string"&&(0,Te.jsx)(Te.Fragment,{children:C}),w?(0,Te.jsxs)(Te.Fragment,{children:[w&&(0,Te.jsx)("span",{className:"k-button-text",children:w}),e.children]}):e.children&&(0,Te.jsx)("span",{className:"k-button-text",children:e.children}),d&&(0,Te.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,Te.jsx)(I,{icon:p})})]})};u.states=Ys;u.options=Qs;u.variants=Ws;u.className=No;u.defaultOptions=La;u.moduleName=ga;u.folderName=ar;u.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 nr=require("react/jsx-runtime"),ut=e=>(0,nr.jsx)(u,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var rr=require("react/jsx-runtime"),vo=e=>(0,rr.jsx)(u,{icon:"folder",children:"Button",...e});var ir=require("react/jsx-runtime"),It=e=>(0,ir.jsx)(u,{children:"Button",...e});var zo=require("react/jsx-runtime"),Zs=u.options,js=u.states,el={...u.defaultOptions,variant:"text"},tl=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],ol=[],wt=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,zo.jsx)(ut,{...o,icon:"star"});case"icon-and-text":return(0,zo.jsx)(vo,{...o,icon:"star",children:"Button"});default:return(0,zo.jsx)(It,{...o,children:"Button"})}};wt.options=Zs;wt.states=js;wt.variants=tl;wt.defaultOptions=el;wt.modifiers=ol;wt.className=u.className;var Ia="button",sr=Ia;var lr=require("react/jsx-runtime"),ko="k-button-group",al=[r.disabled],nl={fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},rl={},K=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return(0,lr.jsx)("div",{role:"group",...n,className:i(e.className,ko,T(ko,{fillMode:t}),A(ko,{disabled:o}),{[`${ko}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};K.states=al;K.options=nl;K.className=ko;K.defaultOptions=rl;K.moduleName=Ia;K.folderName=sr;K.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 Sa=require("react/jsx-runtime");var Ma=require("react/jsx-runtime");var Ca=require("react/jsx-runtime");var ya=require("react/jsx-runtime");var Ea=require("react/jsx-runtime");var Ta=require("react/jsx-runtime");var Se=require("react/jsx-runtime"),il={...u.options,...K.options},sl=u.states,ll={...u.defaultOptions,...K.defaultOptions,variant:"text-button"},dl=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],cl=[],Pt=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,Se.jsxs)(K,{fillMode:a.fillMode,className:o,children:[(0,Se.jsx)(u,{...a,icon:"star"}),(0,Se.jsx)(u,{...a,icon:"star"}),(0,Se.jsx)(u,{...a,icon:"star"})]}):t==="icon-text-button"?(0,Se.jsxs)(K,{fillMode:a.fillMode,className:o,children:[(0,Se.jsx)(u,{...a,icon:"star",children:"First"}),(0,Se.jsx)(u,{...a,icon:"star",children:"Middle"}),(0,Se.jsx)(u,{...a,icon:"star",children:"Last"})]}):(0,Se.jsxs)(K,{fillMode:a.fillMode,className:o,children:[(0,Se.jsx)(u,{...a,children:"First"}),(0,Se.jsx)(u,{...a,children:"Middle"}),(0,Se.jsx)(u,{...a,children:"Last"})]})};Pt.options=il;Pt.states=sl;Pt.variants=dl;Pt.defaultOptions=ll;Pt.modifiers=cl;Pt.className=K.className;var go="input",Uo=go;var dr=require("react/jsx-runtime"),Go="k-input",pl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],ul={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},ml={},J=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:p,size:h,rounded:x,fillMode:b,...N}=e;return(0,dr.jsx)("span",{...N,className:i(e.className,Go,T(Go,{size:h,rounded:x,fillMode:b}),A(Go,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:p}))})};J.states=pl;J.options=ul;J.className=Go;J.defaultOptions=ml;J.moduleName=go;J.folderName=Uo;var cr=require("react/jsx-runtime"),Fo="k-picker",fl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],bl={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},hl={},Ye=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:p,size:h,rounded:x,fillMode:b,...N}=e;return(0,cr.jsx)("span",{...N,className:i(e.className,Fo,T(Fo,{size:h,rounded:x,fillMode:b}),A(Fo,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:p})),children:e.children})};Ye.states=fl;Ye.options=bl;Ye.className=Fo;Ye.defaultOptions=hl;Ye.moduleName=go;Ye.folderName=Uo;var Rt=require("react/jsx-runtime"),pr="k-clear-value",xl=[r.disabled,r.loading,r.readonly],Nl={},Ae=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?(0,Rt.jsx)(Rt.Fragment,{}):(0,Rt.jsx)("span",{className:i(e.className,pr),children:(0,Rt.jsx)(I,{icon:"x"})})};Ae.states=xl;Ae.options=Nl;Ae.className=pr;var ur=require("react/jsx-runtime"),Aa="k-input-inner",vl=[],kl={},Vo={type:"text",autocomplete:"off",value:"",placeholder:""},Oe=e=>{let{value:t=Vo.value,type:o=Vo.type,placeholder:a=Vo.placeholder,autocomplete:n=Vo.autocomplete,disabled:s,readOnly:d,...p}=e;return(0,ur.jsx)("input",{...p,type:o,className:i(e.className,Aa,T(Aa,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:d||void 0})};Oe.states=vl;Oe.options=kl;Oe.className=Aa;var Lo=require("react/jsx-runtime"),Oa="k-input-inner",gl=[],Ll={},St=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...d}=e;return(0,Lo.jsxs)("span",{...d,className:i(e.className,Oa,T(Oa,e)),children:[n,!n&&s&&(0,Lo.jsx)(I,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&(0,Lo.jsx)("span",{className:"k-input-value-text",children:t})]})};St.states=gl;St.options=Ll;St.className=Oa;var fr=require("react/jsx-runtime"),wa="k-input-inner",Il=[],Sl={},mr={value:"",placeholder:""},Pa=e=>{let{value:t=mr.value,placeholder:o=mr.placeholder,rows:a,disabled:n,...s}=e;return(0,fr.jsx)("textarea",{...s,className:i(e.className,wa,T(wa,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Pa.states=Il;Pa.options=Sl;Pa.className=wa;var Io=require("react/jsx-runtime"),br="k-input-loading-icon",Ml=[r.disabled,r.loading],Me=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Io.jsx)(Io.Fragment,{}):(0,Io.jsx)("span",{className:i(e.className,br,"k-icon k-i-loading")})};Me.states=Ml;Me.className=br;var So=require("react/jsx-runtime"),hr="k-input-validation-icon",Cl=[r.valid,r.invalid,r.disabled,r.loading],yl={},Ne=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?(0,So.jsx)(So.Fragment,{}):(0,So.jsx)(I,{className:i(hr),icon:s})};Ne.states=Cl;Ne.options=yl;Ne.className=hr;var Mo=require("react/jsx-runtime"),El="k-input-prefix",Tl={direction:"horizontal"},Ke=e=>{let{direction:t=Tl.direction,...o}=e;return e.children?(0,Mo.jsx)("span",{...o,className:i(El,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Mo.jsx)(Mo.Fragment,{})};var Co=require("react/jsx-runtime"),Al="k-input-suffix",Ol={direction:"horizontal"},_e=e=>{let{direction:t=Ol.direction,...o}=e;return e.children?(0,Co.jsx)("span",{...o,className:i(Al,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Co.jsx)(Co.Fragment,{})};var wl=require("react/jsx-runtime");var xr=require("react/jsx-runtime"),Pl="k-input-suffix-text",Ra=e=>{let{children:t,...o}=e;return(0,xr.jsx)("span",{...o,className:i(Pl,e.className),children:t})};var vr=require("react/jsx-runtime"),Nr="k-input-separator",Rl={direction:"vertical"},De=e=>{let{direction:t=Rl.direction,...o}=e;return(0,vr.jsx)("span",{...o,className:i(Nr,e.className,{[`${Nr}-${t}`]:t})})};var j=require("react/jsx-runtime"),Bl=J.states,Kl=J.defaultOptions,_l=J.options,Dl=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Hl=[],Bt=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:s,readonly:d,...p}=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"],c=t==null?void 0:t.separators;return(0,j.jsxs)(J,{...p,valid:o,invalid:a,loading:n,disabled:s,readonly:d,style:{width:300},children:[h&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(Ke,{children:(0,j.jsx)(I,{icon:"lock"})}),c&&(0,j.jsx)(De,{})]}),(0,j.jsx)(Oe,{placeholder:"Placeholder",value:"Value"}),N&&(0,j.jsx)(Ne,{valid:o,invalid:a,loading:n,disabled:s}),(0,j.jsx)(Me,{loading:n,disabled:s}),b&&(0,j.jsx)(Ae,{loading:n,disabled:s,readonly:d,value:"Value"}),x&&(0,j.jsxs)(j.Fragment,{children:[c&&(0,j.jsx)(De,{}),(0,j.jsx)(_e,{children:(0,j.jsx)(It,{size:p.size,fillMode:"clear",children:"Send"})})]})]})};Bt.options=_l;Bt.states=Bl;Bt.variants=Hl;Bt.defaultOptions=Kl;Bt.modifiers=Dl;Bt.className=J.className;var yo=require("react/jsx-runtime"),kr="k-color-preview",zl=[],Ul={},mt=e=>{let{color:t,iconName:o,...a}=e;return(0,yo.jsxs)("span",{...a,className:i(e.className,kr,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,yo.jsx)(I,{icon:o,className:"k-color-preview-icon"}),(0,yo.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};mt.states=zl;mt.options=Ul;mt.className=kr;var Ba="popup",gr=Ba;var _a=require("react/jsx-runtime"),Lr="k-animation-container",Gl=[],Fl={},Ka={positionMode:"absolute",shown:!0},Qe=e=>{let{positionMode:t=Ka.positionMode,shown:o=Ka.shown,animationStyle:a,offset:n,...s}=e;return(0,_a.jsx)("div",{...s,style:{...n,...e.style},className:i(e.className,Lr,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,_a.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};Qe.states=Gl;Qe.options=Fl;Qe.className=Lr;Qe.defaultOptions=Ka;Qe.moduleName=Ba;Qe.folderName=gr;var Da="popup",Ir=Da;var Ha=require("react/jsx-runtime"),Sr="k-popup",Vl=[],$l={},Mr={positionMode:"absolute"},F=e=>{let{offset:t,positionMode:o=Mr.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:d,...p}=e;return(0,Ha.jsx)(Qe,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":d,children:(0,Ha.jsx)("div",{...p,className:i(e.className,Sr),children:e.children})})};F.states=Vl;F.options=$l;F.className=Sr;F.defaultOptions=Mr;F.moduleName=Da;F.folderName=Ir;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 za="action-buttons",Cr=za;var yr=require("react/jsx-runtime"),$o="k-actions",Xl=[],ql={},Ua={alignment:"start",orientation:"horizontal"},Ze=e=>{let{alignment:t=Ua.alignment,orientation:o=Ua.orientation,...a}=e;return(0,yr.jsx)("div",{...a,className:i($o,{[`${$o}-${t}`]:t,[`${$o}-${o}`]:o},e.className),children:e.children})};Ze.states=Xl;Ze.options=ql;Ze.className=$o;Ze.defaultOptions=Ua;Ze.moduleName=za;Ze.folderName=Cr;var Tr=require("react/jsx-runtime"),Jl="k-actionsheet-footer",Er={alignment:"stretched",orientation:"horizontal"},ft=e=>{let{alignment:t=Er.alignment,orientation:o=Er.orientation,template:a,as:n=a?"div":Ze,...s}=e;return(0,Tr.jsx)(n,{...s,...!a&&{alignment:t,orientation:o},className:i(e.className,Jl),children:e.children})};var Ga="searchbox",Ar=Ga;var bt=require("react/jsx-runtime"),Or="k-searchbox",Wl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],Yl={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Fa={showIcon:!0,icon:"search"},He=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:s,hover:d,focus:p,valid:h,invalid:x,required:b,loading:N,disabled:c,showIcon:L=Fa.showIcon,icon:v=Fa.icon,"aria-label":S,...C}=e;return(0,bt.jsxs)(J,{...C,size:a,rounded:n,fillMode:s,hover:d,focus:p,valid:h,invalid:x,required:b,loading:N,disabled:c,className:i(e.className,Or),children:[L&&(0,bt.jsx)(I,{className:"k-input-icon",icon:v}),(0,bt.jsx)(Oe,{placeholder:o,value:t,"aria-label":S}),(0,bt.jsx)(Me,{...e}),(0,bt.jsx)(Ne,{...e}),(0,bt.jsx)(Ae,{...e})]})};He.states=Wl;He.options=Yl;He.className=Or;He.defaultOptions=Fa;He.moduleName=Ga;He.folderName=Ar;var Ql=require("react/jsx-runtime");var Va="textbox",wr=Va;var de=require("react/jsx-runtime"),Pr="k-textbox",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:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Xo={showClearButton:!0,showValidationIcon:!0,separators:!0},oe=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Xo.separators,showClearButton:s=Xo.showClearButton,showValidationIcon:d=Xo.showValidationIcon,prefix:p,suffix:h,type:x,value:b,placeholder:N,hover:c,focus:L,valid:v,invalid:S,required:C,loading:M,disabled:w,readonly:q,id:le,"aria-label":be,"aria-describedby":he,...xe}=e;return(0,de.jsxs)(J,{...xe,size:t,rounded:o,fillMode:a,hover:c,focus:L,valid:v,invalid:S,required:C,loading:M,disabled:w,readonly:q,className:i(e.className,Pr),children:[p&&(0,de.jsxs)(de.Fragment,{children:[(0,de.jsx)(Ke,{children:p}),n&&(0,de.jsx)(De,{})]}),(0,de.jsx)(Oe,{id:le,placeholder:N,value:b,type:x,disabled:w,"aria-label":be,"aria-describedby":he,"aria-invalid":S?"true":void 0}),d&&(0,de.jsx)(Ne,{valid:v,invalid:S,loading:M,disabled:w}),(0,de.jsx)(Me,{loading:M,disabled:w}),s&&(0,de.jsx)(Ae,{loading:M,disabled:w,readonly:q,value:b}),h&&(0,de.jsxs)(de.Fragment,{children:[n&&(0,de.jsx)(De,{}),(0,de.jsx)(_e,{children:h})]})]})};oe.states=Zl;oe.options=jl;oe.className=Pr;oe.defaultOptions=Xo;oe.moduleName=Va;oe.folderName=wr;oe.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 Eo=oe;var Br=require("react/jsx-runtime"),Rr=e=>(0,Br.jsx)(Eo,{...e});var Kr=require("react/jsx-runtime");var _r=require("react/jsx-runtime");var ed=require("react/jsx-runtime");var qo=require("react/jsx-runtime"),td=oe.states,od=oe.defaultOptions,ad=oe.options,nd=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],rd=[],Kt=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,qo.jsx)(I,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,qo.jsx)(It,{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,qo.jsx)(Rr,{value:"Value",style:{width:300},...o,...a})};Kt.options=ad;Kt.states=td;Kt.variants=rd;Kt.defaultOptions=od;Kt.modifiers=nd;Kt.className=oe.className;var we=require("react/jsx-runtime"),Dr="k-actionsheet-titlebar",id={},ve=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:s,input:d,inputValue:p,inputPlaceholder:h,adaptive:x,titleId:b,children:N,...c}=e;return(0,we.jsxs)("div",{...c,className:i(e.className,Dr),children:[(0,we.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,we.jsx)("div",{className:"k-actionsheet-actions",children:a}),!N&&(0,we.jsxs)("div",{className:"k-actionsheet-title",id:b,children:[t&&(0,we.jsx)("div",{className:"k-text-center",children:t}),o&&(0,we.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&(0,we.jsx)("div",{className:"k-actionsheet-title",id:b,children:N}),n&&(0,we.jsx)("div",{className:"k-actionsheet-actions",children:n})]}),(d||s)&&(0,we.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?(0,we.jsx)(oe,{value:p,placeholder:h,size:x?"large":"medium","aria-label":t||h||"Input"}):(0,we.jsx)(He,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};ve.className=Dr;ve.defaultOptions=id;var _t=require("react/jsx-runtime"),$a="k-actionsheet-view",sd=[],ld={},dd={},Dt=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:s,titleId:d,...p}=e,h=(n==null?void 0:n.type)===ve&&(0,_t.jsx)(ve,{adaptive:t,titleId:d,...n==null?void 0:n.props}),x=(s==null?void 0:s.type)===ft&&(0,_t.jsx)(ft,{...s==null?void 0:s.props});return(0,_t.jsxs)("div",{...p,className:i(e.className,$a,{[`${$a}-animated`]:o}),children:[h,(0,_t.jsx)("div",{className:"k-actionsheet-content",children:a}),x]})};Dt.states=sd;Dt.options=ld;Dt.className=$a;Dt.defaultOptions=dd;var To="action-sheet",Jo=To;var Xa="overlay",Hr=Xa;var Ur=require("react/jsx-runtime"),zr="k-overlay",cd=[],pd={},ud={},ht=e=>{let{...t}=e;return(0,Ur.jsx)("div",{...t,className:i(e.className,zr),children:e.children})};ht.states=cd;ht.options=pd;ht.className=zr;ht.defaultOptions=ud;ht.moduleName=Xa;ht.folderName=Hr;var Mt=require("react/jsx-runtime"),Gr="k-actionsheet",md=[],fd={},Ao={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},V=e=>{let{side:t=Ao.side,fullscreen:o=Ao.fullscreen,adaptive:a=Ao.adaptive,overlay:n=Ao.overlay,template:s,children:d,header:p,footer:h,id:x,...b}=e,N=x&&!s&&p?`${x}-title`:void 0;return(0,Mt.jsxs)("div",{className:"k-actionsheet-container",children:[n&&(0,Mt.jsx)(ht,{}),(0,Mt.jsx)(Qe,{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,Mt.jsx)("div",{...b,id:x,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":N,className:i(e.className,Gr,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||(0,Mt.jsx)(Dt,{header:p,footer:h,adaptive:a,titleId:N,...e,children:d})})})]})};V.states=md;V.options=fd;V.className=Gr;V.defaultOptions=Ao;V.moduleName=To;V.folderName=Jo;V.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 Vr=require("react/jsx-runtime"),Fr="k-actionsheet-container",bd=[],hd={},xd={},Ht=e=>{let{children:t,...o}=e;return(0,Vr.jsx)("div",{...o,className:Fr,children:t})};Ht.states=bd;Ht.options=hd;Ht.className=Fr;Ht.defaultOptions=xd;Ht.moduleName=To;Ht.folderName=Jo;var $r=require("react/jsx-runtime"),qa=e=>{let{...t}=e;return(0,$r.jsx)("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};var ze=require("react/jsx-runtime"),Ja="k-actionsheet-item",Nd=[r.hover,r.focus,r.selected,r.disabled],xt=e=>{let{iconName:t,text:o,description:a,hover:n,focus:s,selected:d,disabled:p,...h}=e;return(0,ze.jsxs)("span",{...h,className:i(e.className,Ja,A(Ja,{hover:n,focus:s,selected:d,disabled:p})),children:[!e.children&&(0,ze.jsx)(ze.Fragment,{children:(0,ze.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,ze.jsx)("span",{className:"k-icon-wrap",children:(0,ze.jsx)(I,{className:"k-actionsheet-item-icon",icon:t})}),(0,ze.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,ze.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,ze.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};xt.states=Nd;xt.className=Ja;var Xr=require("react/jsx-runtime");var vd=require("react/jsx-runtime");var kd=require("react/jsx-runtime");var gd=require("react/jsx-runtime");var U=require("react/jsx-runtime"),Ld=V.options,Id=V.states,Jr={...V.defaultOptions,variant:"normal"},Sd=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Md=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],zt=e=>{let{variant:t,modifiers:o,...a}={...Jr,...e},n={},s=(0,U.jsxs)(qa,{children:[(0,U.jsx)(xt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,U.jsx)(xt,{text:"Add to Favorites",iconName:"heart"}),(0,U.jsx)(xt,{text:"Upload New",iconName:"upload",disabled:!0}),(0,U.jsx)("hr",{className:"k-hr"}),(0,U.jsx)(xt,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",p="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]?d:void 0;break;case"footer":n.footer=!!(o!=null&&o[h]);break;default:break}}),t==="adaptive"?(0,U.jsx)(V,{...a,adaptive:!0,fullscreen:n.fullScreen,header:(0,U.jsx)(ve,{actionsStart:n.actionsStart?(0,U.jsx)(u,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,U.jsx)(u,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:p,subtitle:n.subtitle}),footer:n.footer?(0,U.jsxs)(ft,{alignment:"stretched",children:[(0,U.jsx)(u,{text:"Cancel",size:"large",themeColor:"base"}),(0,U.jsx)(u,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):(0,U.jsx)(V,{...a,fullscreen:n.fullScreen,header:(0,U.jsx)(ve,{actionsStart:n.actionsStart?(0,U.jsx)(u,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,U.jsx)(u,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?(0,U.jsxs)(ft,{alignment:"stretched",children:[(0,U.jsx)(u,{text:"Apply",themeColor:"primary"}),(0,U.jsx)(u,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};zt.options=Ld;zt.states=Id;zt.variants=Sd;zt.defaultOptions=Jr;zt.modifiers=Md;zt.className=V.className;var Wa="slider",Wr=Wa;var $e=require("react/jsx-runtime"),Oo="k-slider",Cd=[r.hover,r.focus,r.active,r.disabled,r.readonly],yd={},Ue={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},H=e=>{let{type:t=Ue.type,orientation:o=Ue.orientation,gradientType:a=Ue.gradientType,readonly:n=Ue.readonly,disabled:s=Ue.disabled,handlePosition:d=Ue.handlePosition,showButtons:p=Ue.showButtons,showTicks:h=Ue.showTicks,value:x=Ue.value,min:b=Ue.min,max:N=Ue.max,startValue:c,endValue:L,hover:v,focus:S,active:C,trackStyle:M,dir:w,...q}=e,be=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),he,xe;return o==="horizontal"?(he=w==="rtl"?"chevron-left":"chevron-right",xe=w==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(he="chevron-up",xe="chevron-down"),(0,$e.jsxs)("div",{...q,className:i(Oo,e.className,A(Oo,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:w,children:[p&&(0,$e.jsx)(u,{className:"k-button-decrease",rounded:"full",icon:xe,tabIndex:-1,title:"Decrease"}),(0,$e.jsxs)("div",{className:"k-slider-track-wrap",children:[h&&(0,$e.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,$e.jsxs)("div",{className:"k-slider-track",style:M,children:[(0,$e.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,$e.jsx)("span",{className:i("k-draghandle","k-draghandle-start",A(Oo,{hover:v,focus:S,active:C})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":c??b,"aria-valuemin":b,"aria-valuemax":L??N,"aria-orientation":be,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":q["aria-label"]?`${q["aria-label"]} start`:"Range start"}),(0,$e.jsx)("span",{className:i("k-draghandle",`k-draghandle-${d}`,A(Oo,{hover:v,focus:S,active:C})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?L??N:x,"aria-valuemin":t==="range"?c??b:b,"aria-valuemax":N,"aria-orientation":be,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?q["aria-label"]?`${q["aria-label"]} end`:"Range end":q["aria-label"]})]})]}),p&&(0,$e.jsx)(u,{className:"k-button-increase",rounded:"full",icon:he,tabIndex:-1,title:"Increase"})]})};H.states=Cd;H.options=yd;H.className=Oo;H.defaultOptions=Ue;H.moduleName=Wa;H.folderName=Wr;H.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 Ya=require("react/jsx-runtime"),Yr="k-tick",Ed=[],Td={},Qr={label:!1},y=e=>{let{style:t,label:o=Qr.label,orientation:a,large:n,text:s,...d}=e;return(0,Ya.jsx)("li",{...d,role:"presentation",title:s||"Tick",className:i(e.className,Yr,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&(0,Ya.jsx)("span",{className:"k-label",children:s})})};y.states=Ed;y.options=Td;y.className=Yr;y.defaultOptions=Qr;var ae=require("react/jsx-runtime"),Zr=e=>(0,ae.jsx)(H,{"aria-label":e["aria-label"]||"Slider",children:(0,ae.jsxs)(ae.Fragment,{children:[(0,ae.jsx)(y,{className:"k-first",label:!0,large:!0,text:"0"}),(0,ae.jsx)(y,{}),(0,ae.jsx)(y,{}),(0,ae.jsx)(y,{}),(0,ae.jsx)(y,{}),(0,ae.jsx)(y,{label:!0,large:!0,text:"5"}),(0,ae.jsx)(y,{}),(0,ae.jsx)(y,{}),(0,ae.jsx)(y,{}),(0,ae.jsx)(y,{}),(0,ae.jsx)(y,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var ne=require("react/jsx-runtime"),jr=e=>(0,ne.jsx)(H,{children:(0,ne.jsxs)(ne.Fragment,{children:[(0,ne.jsx)(y,{className:"k-first",label:!0,large:!0,text:"0"}),(0,ne.jsx)(y,{}),(0,ne.jsx)(y,{}),(0,ne.jsx)(y,{}),(0,ne.jsx)(y,{}),(0,ne.jsx)(y,{label:!0,large:!0,text:"5"}),(0,ne.jsx)(y,{}),(0,ne.jsx)(y,{}),(0,ne.jsx)(y,{}),(0,ne.jsx)(y,{}),(0,ne.jsx)(y,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var Qa=require("react/jsx-runtime");var Za=require("react/jsx-runtime");var ei=require("react/jsx-runtime"),ja=e=>(0,ei.jsx)(H,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var ti=require("react/jsx-runtime"),en=e=>(0,ti.jsx)(H,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var tn=require("react/jsx-runtime");var on=require("react/jsx-runtime");var Ce=require("react/jsx-runtime"),Ad=H.options,Od=H.states,oi={...H.defaultOptions,variant:"horizontal",label:!0},wd=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Pd=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Ut=e=>{let{variant:t,modifiers:o,...a}=e,n=oi.label,s={};Object.keys(o||{}).forEach(p=>{switch(p){case"button":{s.showButtons=!!(o!=null&&o[p]);break}case"label":{n=!!(o!=null&&o[p]);break}case"tick":{s.showTicks=!!(o!=null&&o[p]);break}}});let d={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,Ce.jsxs)(jr,{style:{height:"300px",...d},...a,...s,children:[(0,Ce.jsx)(y,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,Ce.jsx)(y,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,Ce.jsx)(y,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,Ce.jsx)(y,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,Ce.jsx)(y,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,Ce.jsxs)(Zr,{style:{width:"400px",...d},...a,...s,children:[(0,Ce.jsx)(y,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,Ce.jsx)(y,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,Ce.jsx)(y,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,Ce.jsx)(y,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,Ce.jsx)(y,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Ut.options=Ad;Ut.states=Od;Ut.variants=wd;Ut.defaultOptions=oi;Ut.modifiers=Pd;Ut.className=H.className;var wo=require("react/jsx-runtime"),ai="k-spin-button",Kd=[],_d={size:[l.undefined,l.small,l.medium,l.large],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},an={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Nt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=an.increaseLabel,decreaseLabel:s=an.decreaseLabel,...d}=e;return(0,wo.jsxs)("span",{...d,className:i(ai,e.className),children:[(0,wo.jsx)(u,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),(0,wo.jsx)(u,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Nt.states=Kd;Nt.options=_d;Nt.className=ai;Nt.defaultOptions=an;Nt.moduleName=null;Nt.folderName=null;var ni="numeric-textbox",ri="numerictextbox";var re=require("react/jsx-runtime"),ii="k-numerictextbox",Dd=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],Hd={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Wo={showSpinButton:!0,showClearButton:!0,separators:!0},_=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Wo.separators,showClearButton:s=Wo.showClearButton,showSpinButton:d=Wo.showSpinButton,prefix:p,suffix:h,value:x,placeholder:b,hover:N,focus:c,valid:L,invalid:v,required:S,loading:C,disabled:M,readonly:w,id:q,"aria-label":le,"aria-describedby":be,...he}=e;return(0,re.jsxs)(J,{...he,size:t,rounded:o,fillMode:a,hover:N,focus:c,valid:L,invalid:v,required:S,loading:C,disabled:M,readonly:w,className:i(e.className,ii),children:[p&&(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(Ke,{children:p}),n&&(0,re.jsx)(De,{})]}),(0,re.jsx)(Oe,{id:q,placeholder:b,value:x,role:"spinbutton",disabled:M,"aria-label":le,"aria-describedby":be,"aria-invalid":v?"true":void 0}),(0,re.jsx)(Ne,{valid:L,invalid:v,loading:C,disabled:M}),(0,re.jsx)(Me,{loading:C,disabled:M}),s&&(0,re.jsx)(Ae,{loading:C,disabled:M,readonly:w,value:x}),h&&(0,re.jsxs)(re.Fragment,{children:[n&&(0,re.jsx)(De,{}),(0,re.jsx)(_e,{children:h})]}),d&&(0,re.jsx)(Nt,{className:"k-input-spinner",size:t,fillMode:a,disabled:M})]})};_.states=Dd;_.options=Hd;_.className=ii;_.defaultOptions=Wo;_.moduleName=ni;_.folderName=ri;_.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 Po=_;var li=require("react/jsx-runtime"),si=e=>(0,li.jsx)(Po,{...e});var Qo=Wn(require("react"));var nn=require("react/jsx-runtime"),zd="k-list-group-sticky-header",rn=e=>(0,nn.jsx)("div",{className:i(zd,e.className),children:(0,nn.jsx)("div",{className:"k-list-header-text",children:e.children})});var di=require("react/jsx-runtime"),Ud="k-no-data",Yo=e=>{let{live:t,...o}=e;return(0,di.jsx)("span",{...o,className:i(Ud,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Ct="list",Gt=Ct;var Ft=require("react/jsx-runtime"),sn="k-list",Gd=[],Fd={size:[l.undefined,l.small,l.medium,l.large]},Vd={},P=e=>{var v;let{size:t,virtualization:o,children:a,header:n,selectAll:s,optionLabel:d,customValue:p,noData:h,screenReaders:x,...b}=e,c=Qo.default.Children.toArray(a)[0],L=(v=c==null?void 0:c.props)!=null&&v.children?Qo.default.Children.count(c.props.children):Qo.default.Children.count(a);return(0,Ft.jsxs)("div",{...b,className:i(e.className,sn,T(sn,{size:t}),{"k-virtual-list":o}),children:[d,s,p,n&&(0,Ft.jsx)(rn,{children:n}),a||(h!==void 0?h:(0,Ft.jsx)(Yo,{live:!0,children:"No data found."})),x&&a&&(0,Ft.jsxs)(Yo,{className:"k-sr-only",live:!0,children:[L," items found."]})]})};P.states=Gd;P.options=Fd;P.className=sn;P.defaultOptions=Vd;P.moduleName=Ct;P.folderName=Gt;P.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var pi=require("react/jsx-runtime"),ci="k-list-container",$d=[],Xd={},qd={},Vt=e=>{let{...t}=e;return(0,pi.jsx)("div",{...t,className:i(e.className,ci),children:e.children})};Vt.states=$d;Vt.options=Xd;Vt.className=ci;Vt.defaultOptions=qd;Vt.moduleName=Ct;Vt.folderName=Gt;var yt="checkbox",$t=yt;var ln=require("react/jsx-runtime"),Zo="k-checkbox",Jd=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],Wd={size:[l.undefined,l.small,l.medium,l.large],rounded:[m.undefined,m.none,m.small,m.medium,m.large,m.full]},Yd={},ye=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:s,disabled:d,invalid:p,valid:h,required:x,size:b,rounded:N,wrapperRole:c,...L}=e;return(0,ln.jsx)("span",{className:"k-checkbox-wrap",role:c,children:(0,ln.jsx)("input",{...L,id:t,type:"checkbox",defaultChecked:o,required:x,disabled:d||void 0,"aria-invalid":p?"true":void 0,className:i(e.className,Zo,T(Zo,{size:b,rounded:N}),A(Zo,{hover:n,focus:s,disabled:d,invalid:p,valid:h,indeterminate:a,checked:o}))})})};ye.states=Jd;ye.options=Wd;ye.className=Zo;ye.defaultOptions=Yd;ye.moduleName=yt;ye.folderName=$t;ye.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 Xe=ye;var fi=require("react/jsx-runtime"),ui="k-checkbox-list",Qd=[],Zd={},mi={layout:"vertical"},ke=e=>{let{layout:t=mi.layout,...o}=e;return(0,fi.jsx)("ul",{...o,className:i(e.className,ui,{[`k-list-${t}`]:t}),children:e.children})};ke.states=Qd;ke.options=Zd;ke.className=ui;ke.defaultOptions=mi;ke.moduleName=yt;ke.folderName=$t;var hi=require("react/jsx-runtime"),bi="k-checkbox-list-item",jd=[],ec={},tc={},ge=e=>{let{...t}=e;return(0,hi.jsx)("li",{...t,className:i(e.className,bi),children:e.children})};ge.states=jd;ge.options=ec;ge.className=bi;ge.defaultOptions=tc;ge.moduleName=yt;ge.folderName=$t;var Et=require("react/jsx-runtime"),at=({children:e="Label",id:t="cb-label-after",...o})=>(0,Et.jsxs)(Et.Fragment,{children:[(0,Et.jsx)(Xe,{id:t,...o}),(0,Et.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var dn=require("react/jsx-runtime");var cn=require("react/jsx-runtime");var pn=require("react/jsx-runtime");var oc=require("react/jsx-runtime");var ac=require("react/jsx-runtime");var nc=require("react/jsx-runtime");var ce=require("react/jsx-runtime"),rc=ke.options,ic=ke.states,sc={...ke.defaultOptions,variant:"vertical"},lc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],dc=[],Xt=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,ce.jsxs)(ke,{layout:"horizontal",...o,children:[(0,ce.jsx)(ge,{children:(0,ce.jsx)(at,{id:B("cb"),defaultChecked:!0,children:"Label"})}),(0,ce.jsx)(ge,{children:(0,ce.jsx)(at,{id:B("cb"),children:"Label"})}),(0,ce.jsx)(ge,{children:(0,ce.jsx)(at,{id:B("cb"),children:"Label"})})]}):(0,ce.jsxs)(ke,{...o,children:[(0,ce.jsx)(ge,{children:(0,ce.jsx)(at,{id:B("cb"),defaultChecked:!0,children:"Label"})}),(0,ce.jsx)(ge,{children:(0,ce.jsx)(at,{id:B("cb"),children:"Label"})}),(0,ce.jsx)(ge,{children:(0,ce.jsx)(at,{id:B("cb"),children:"Label"})})]})};Xt.options=rc;Xt.states=ic;Xt.variants=lc;Xt.defaultOptions=sc;Xt.modifiers=dc;Xt.className=ke.className;var xi=require("react/jsx-runtime"),cc=Xe.options,pc=Xe.states,uc=Xe.defaultOptions,mc=[],fc=[],qt=e=>(0,xi.jsx)(at,{id:B("checkbox"),...e,defaultChecked:!0,children:"Label"});qt.options=cc;qt.states=pc;qt.variants=mc;qt.defaultOptions=uc;qt.modifiers=fc;qt.className=Xe.className;var je=require("react/jsx-runtime"),un="k-list-item",bc=[r.hover,r.focus,r.selected,r.disabled],hc={},xc={},O=e=>{let{text:t,g