@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
1 lines • 50.9 kB
JavaScript
var la=Object.create;var xt=Object.defineProperty;var ca=Object.getOwnPropertyDescriptor;var da=Object.getOwnPropertyNames;var pa=Object.getPrototypeOf,ma=Object.prototype.hasOwnProperty;var ua=(e,t)=>{for(var o in t)xt(e,o,{get:t[o],enumerable:!0})},go=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of da(t))!ma.call(e,n)&&n!==o&&xt(e,n,{get:()=>t[n],enumerable:!(a=ca(t,n))||a.enumerable});return e};var bt=(e,t,o)=>(o=e!=null?la(pa(e)):{},go(t||!e||!e.__esModule?xt(o,"default",{value:e,enumerable:!0}):o,e)),fa=e=>go(xt({},"__esModule",{value:!0}),e);var as={};ua(as,{MultiSelectTreeFiltering:()=>ns});module.exports=fa(as);var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...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)=>r({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),_=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:l,checked:d,active:c,selected:u,disabled:b,indeterminate:N,loading:C,empty:A,readonly:M,highlighted:w,...y}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":l,"k-checked":d,"k-active":c,"k-selected":u,"k-disabled":b,"k-indeterminate":N&&!d,"k-loading":C,"k-empty":A,"k-readonly":M,"k-highlighted":w},Object.keys(y).reduce((I,K)=>(K.startsWith("k-")?I[K]=y[K]:I[`k-${K}`]=y[K],I),{}))};function Mo(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var s={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},p={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},h={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},ae={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},m={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},i={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 Bt={};function J(e){return Bt[e]=(Bt[e]||0)+1,`k-${e}-${Bt[e]}`}var Te="checkbox",Me=Te;var Ft=require("react/jsx-runtime"),vt="k-checkbox",ha=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],xa={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full]},ba={},X=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:l,disabled:d,invalid:c,valid:u,required:b,size:N,rounded:C,wrapperRole:A,...M}=e;return(0,Ft.jsx)("span",{className:"k-checkbox-wrap",role:A,children:(0,Ft.jsx)("input",{...M,id:t,type:"checkbox",defaultChecked:o,required:b,disabled:d||void 0,"aria-invalid":c?"true":void 0,className:r(e.className,vt,T(vt,{size:N,rounded:C}),_(vt,{hover:n,focus:l,disabled:d,invalid:c,valid:u,indeterminate:a,checked:o}))})})};X.states=ha;X.options=xa;X.className=vt;X.defaultOptions=ba;X.moduleName=Te;X.folderName=Me;X.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 ee=X;var Oo=require("react/jsx-runtime"),wo="k-checkbox-list",va=[],Na={},Lo={layout:"vertical"},U=e=>{let{layout:t=Lo.layout,...o}=e;return(0,Oo.jsx)("ul",{...o,className:r(e.className,wo,{[`k-list-${t}`]:t}),children:e.children})};U.states=va;U.options=Na;U.className=wo;U.defaultOptions=Lo;U.moduleName=Te;U.folderName=Me;var Ko=require("react/jsx-runtime"),Ro="k-checkbox-list-item",Ca=[],ka={},Aa={},V=e=>{let{...t}=e;return(0,Ko.jsx)("li",{...t,className:r(e.className,Ro),children:e.children})};V.states=Ca;V.options=ka;V.className=Ro;V.defaultOptions=Aa;V.moduleName=Te;V.folderName=Me;var Ie=require("react/jsx-runtime"),le=({children:e="Label",id:t="cb-label-after",...o})=>(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)(ee,{id:t,...o}),(0,Ie.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var Ut=require("react/jsx-runtime");var Vt=require("react/jsx-runtime");var Gt=require("react/jsx-runtime");var Ta=require("react/jsx-runtime");var Ia=require("react/jsx-runtime");var Ea=require("react/jsx-runtime");var D=require("react/jsx-runtime"),Sa=U.options,ya=U.states,ga={...U.defaultOptions,variant:"vertical"},Ma=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],wa=[],we=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,D.jsxs)(U,{layout:"horizontal",...o,children:[(0,D.jsx)(V,{children:(0,D.jsx)(le,{id:J("cb"),defaultChecked:!0,children:"Label"})}),(0,D.jsx)(V,{children:(0,D.jsx)(le,{id:J("cb"),children:"Label"})}),(0,D.jsx)(V,{children:(0,D.jsx)(le,{id:J("cb"),children:"Label"})})]}):(0,D.jsxs)(U,{...o,children:[(0,D.jsx)(V,{children:(0,D.jsx)(le,{id:J("cb"),defaultChecked:!0,children:"Label"})}),(0,D.jsx)(V,{children:(0,D.jsx)(le,{id:J("cb"),children:"Label"})}),(0,D.jsx)(V,{children:(0,D.jsx)(le,{id:J("cb"),children:"Label"})})]})};we.options=Sa;we.states=ya;we.variants=Ma;we.defaultOptions=ga;we.modifiers=wa;we.className=U.className;var _o=require("react/jsx-runtime"),La=ee.options,Oa=ee.states,Ra=ee.defaultOptions,Ka=[],_a=[],Le=e=>(0,_o.jsx)(le,{id:J("checkbox"),...e,defaultChecked:!0,children:"Label"});Le.options=La;Le.states=Oa;Le.variants=Ka;Le.defaultOptions=Ra;Le.modifiers=_a;Le.className=ee.className;var Ze=require("react/jsx-runtime"),Xt="k-font-icon",Pa=[],Ha={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info]},za={},je=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:l,...d}=e;return a?(0,Ze.jsx)("span",{...d,className:r(e.className,Xt,T(Xt,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true"}):(0,Ze.jsx)(Ze.Fragment,{})};je.states=Pa;je.options=Ha;je.className=Xt;je.defaultOptions=za;var Po=je;var Ee=require("react/jsx-runtime"),$t="k-svg-icon",Da=[],Ba={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info],variant:[ae.outline,ae.solid,ae.duotone]},Wt={viewBox:"0 0 24 24",variant:ae.outline},et=e=>{var C,A;let{size:t,themeColor:o,rotate:a,flip:n,viewBox:l=Wt.viewBox,variant:d=Wt.variant,icon:c,...u}=e;if(!c)return(0,Ee.jsx)(Ee.Fragment,{});if(c==="none")return(0,Ee.jsx)("span",{...u,className:r(e.className,$t,T("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let b=typeof c=="object"&&c.name&&c.name,N=typeof c=="object"?d&&((C=c.variants)==null?void 0:C[d])||((A=c.variants)==null?void 0:A.outline)||c.content:void 0;return(0,Ee.jsx)("span",{...u,className:r(e.className,$t,T("k-icon",{size:t}),{[`k-svg-i-${b}`]:b,[`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,Ee.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:l,dangerouslySetInnerHTML:N!==void 0?{__html:N}:void 0,children:c?void 0:e.children})})};et.states=Da;et.options=Ba;et.className=$t;et.defaultOptions=Wt;var qt=et;var Jt=bt(require("@progress/kendo-svg-icons"));var Ho="icon",zo="icons";var Fo=require("react");var Do=require("react"),Bo=(0,Do.createContext)({iconsType:"svg"});var ce=require("react/jsx-runtime"),Nt="k-icon",Fa=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Ua=[],Va={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info],variant:[ae.outline,ae.solid,ae.duotone]},Ct={viewBox:"0 0 24 24",type:"svg",variant:ae.outline},x=e=>{let{iconsType:t}=(0,Fo.useContext)(Bo),{size:o,themeColor:a,icon:n,type:l=t||Ct.type,rotate:d,flip:c,viewBox:u=Ct.viewBox,variant:b=Ct.variant,...N}=e;if(!n)return(0,ce.jsx)(ce.Fragment,{});if((t||l)==="svg"){if(n==="none")return(0,ce.jsx)(qt,{...N,className:r(e.className,Nt),icon:n,size:o,variant:b});let A=Jt[n]?n:Fa(`${n}-icon`);return Jt[A]?(0,ce.jsx)(qt,{...N,className:r(e.className,Nt),icon:Jt[A],size:o,themeColor:a,rotate:d,flip:c,viewBox:u,variant:b}):(0,ce.jsx)(ce.Fragment,{})}return(0,ce.jsx)(Po,{...N,className:r(e.className,Nt),icon:n,size:o,themeColor:a,rotate:d,flip:c})};x.states=Ua;x.options=Va;x.defaultOptions=Ct;x.className=Nt;x.moduleName=Ho;x.folderName=zo;x.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 Yt="textbox",Uo=Yt;var tt="input",kt=tt;var Vo=require("react/jsx-runtime"),At="k-input",Ga=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Xa={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},$a={},L=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:l,loading:d,readonly:c,size:u,rounded:b,fillMode:N,...C}=e;return(0,Vo.jsx)("span",{...C,className:r(e.className,At,T(At,{size:u,rounded:b,fillMode:N}),_(At,{hover:t,focus:o,disabled:a,invalid:n,valid:l,loading:d,readonly:c}))})};L.states=Ga;L.options=Xa;L.className=At;L.defaultOptions=$a;L.moduleName=tt;L.folderName=kt;var Go=require("react/jsx-runtime"),Tt="k-picker",Wa=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],qa={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Ja={},Oe=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:l,loading:d,readonly:c,size:u,rounded:b,fillMode:N,...C}=e;return(0,Go.jsx)("span",{...C,className:r(e.className,Tt,T(Tt,{size:u,rounded:b,fillMode:N}),_(Tt,{hover:t,focus:o,disabled:a,invalid:n,valid:l,loading:d,readonly:c})),children:e.children})};Oe.states=Wa;Oe.options=qa;Oe.className=Tt;Oe.defaultOptions=Ja;Oe.moduleName=tt;Oe.folderName=kt;var Re=require("react/jsx-runtime"),Xo="k-clear-value",Ya=[i.disabled,i.loading,i.readonly],Qa={},te=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?(0,Re.jsx)(Re.Fragment,{}):(0,Re.jsx)("span",{className:r(e.className,Xo),children:(0,Re.jsx)(x,{icon:"x"})})};te.states=Ya;te.options=Qa;te.className=Xo;var $o=require("react/jsx-runtime"),Qt="k-input-inner",Za=[],ja={},It={type:"text",autocomplete:"off",value:"",placeholder:""},de=e=>{let{value:t=It.value,type:o=It.type,placeholder:a=It.placeholder,autocomplete:n=It.autocomplete,disabled:l,readOnly:d,...c}=e;return(0,$o.jsx)("input",{...c,type:o,className:r(e.className,Qt,T(Qt,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:l||void 0,readOnly:d||void 0})};de.states=Za;de.options=ja;de.className=Qt;var ot=require("react/jsx-runtime"),Zt="k-input-inner",ei=[],ti={},jt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:l,...d}=e;return(0,ot.jsxs)("span",{...d,className:r(e.className,Zt,T(Zt,e)),children:[n,!n&&l&&(0,ot.jsx)(x,{className:"k-input-value-icon",icon:l}),a&&!t&&o,a&&t&&(0,ot.jsx)("span",{className:"k-input-value-text",children:t})]})};jt.states=ei;jt.options=ti;jt.className=Zt;var qo=require("react/jsx-runtime"),eo="k-input-inner",oi=[],ni={},Wo={value:"",placeholder:""},to=e=>{let{value:t=Wo.value,placeholder:o=Wo.placeholder,rows:a,disabled:n,...l}=e;return(0,qo.jsx)("textarea",{...l,className:r(e.className,eo,T(eo,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};to.states=oi;to.options=ni;to.className=eo;var nt=require("react/jsx-runtime"),Jo="k-input-loading-icon",ai=[i.disabled,i.loading],ie=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,nt.jsx)(nt.Fragment,{}):(0,nt.jsx)("span",{className:r(e.className,Jo,"k-icon k-i-loading")})};ie.states=ai;ie.className=Jo;var at=require("react/jsx-runtime"),Yo="k-input-validation-icon",ii=[i.valid,i.invalid,i.disabled,i.loading],ri={},oe=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,l=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?(0,at.jsx)(at.Fragment,{}):(0,at.jsx)(x,{className:r(Yo),icon:l})};oe.states=ii;oe.options=ri;oe.className=Yo;var it=require("react/jsx-runtime"),si="k-input-prefix",li={direction:"horizontal"},Ke=e=>{let{direction:t=li.direction,...o}=e;return e.children?(0,it.jsx)("span",{...o,className:r(si,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,it.jsx)(it.Fragment,{})};var rt=require("react/jsx-runtime"),ci="k-input-suffix",di={direction:"horizontal"},_e=e=>{let{direction:t=di.direction,...o}=e;return e.children?(0,rt.jsx)("span",{...o,className:r(ci,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,rt.jsx)(rt.Fragment,{})};var pi=require("react/jsx-runtime");var mi=require("react/jsx-runtime");var Zo=require("react/jsx-runtime"),Qo="k-input-separator",ui={direction:"vertical"},Pe=e=>{let{direction:t=ui.direction,...o}=e;return(0,Zo.jsx)("span",{...o,className:r(Qo,e.className,{[`${Qo}-${t}`]:t})})};var oo="button",jo=oo;var W=require("react/jsx-runtime"),st="k-button",fi=["icon-button"],hi=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],xi={size:[s.undefined,s.xsmall,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.inverse]},no={showArrow:!1,arrowIconName:"chevron-down"},k=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:l,showArrow:d=no.showArrow,arrowIconName:c=no.arrowIconName,variant:u,hover:b,focus:N,active:C,selected:A,disabled:M,togglable:w,ariaDisabled:y,icon:I,iconSize:K,text:z,iconClassName:j,className:se,...Ae}=e,Ye=I!=null,Qe=e.children!==void 0;return(0,W.jsxs)(t,{className:r(se,st,Mo(st,u),T(st,{size:o,rounded:a,fillMode:n,themeColor:l}),_(st,{hover:b,focus:N,active:C,disabled:M||y,selected:A}),{"k-icon-button":!z&&!Qe&&Ye}),"aria-pressed":w?A?"true":"false":void 0,...Ae,"aria-disabled":y?"true":void 0,disabled:M||void 0,children:[typeof I=="string"&&I&&(0,W.jsx)(x,{className:r(j,"k-button-icon"),icon:I,size:K}),I&&typeof I!="string"&&(0,W.jsx)(W.Fragment,{children:I}),z?(0,W.jsxs)(W.Fragment,{children:[z&&(0,W.jsx)("span",{className:"k-button-text",children:z}),e.children]}):e.children&&(0,W.jsx)("span",{className:"k-button-text",children:e.children}),d&&(0,W.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,W.jsx)(x,{icon:c})})]})};k.states=hi;k.options=xi;k.variants=fi;k.className=st;k.defaultOptions=no;k.moduleName=oo;k.folderName=jo;k.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 en=require("react/jsx-runtime"),Se=e=>(0,en.jsx)(k,{children:"Button",...e});var O=require("react/jsx-runtime"),bi=L.states,vi=L.defaultOptions,Ni=L.options,Ci=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],ki=[],He=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:l,readonly:d,...c}=e,u=t==null?void 0:t.prefix,b=t==null?void 0:t.suffix,N=t==null?void 0:t["clear-button"],C=t==null?void 0:t["validation-icon"],A=t==null?void 0:t.separators;return(0,O.jsxs)(L,{...c,valid:o,invalid:a,loading:n,disabled:l,readonly:d,style:{width:300},children:[u&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(Ke,{children:(0,O.jsx)(x,{icon:"lock"})}),A&&(0,O.jsx)(Pe,{})]}),(0,O.jsx)(de,{placeholder:"Placeholder",value:"Value"}),C&&(0,O.jsx)(oe,{valid:o,invalid:a,loading:n,disabled:l}),(0,O.jsx)(ie,{loading:n,disabled:l}),N&&(0,O.jsx)(te,{loading:n,disabled:l,readonly:d,value:"Value"}),b&&(0,O.jsxs)(O.Fragment,{children:[A&&(0,O.jsx)(Pe,{}),(0,O.jsx)(_e,{children:(0,O.jsx)(Se,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};He.options=Ni;He.states=bi;He.variants=ki;He.defaultOptions=vi;He.modifiers=Ci;He.className=L.className;var B=require("react/jsx-runtime"),tn="k-textbox",Ai=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Ti={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Et={showClearButton:!0,showValidationIcon:!0,separators:!0},P=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Et.separators,showClearButton:l=Et.showClearButton,showValidationIcon:d=Et.showValidationIcon,prefix:c,suffix:u,type:b,value:N,placeholder:C,hover:A,focus:M,valid:w,invalid:y,required:I,loading:K,disabled:z,readonly:j,id:se,"aria-label":Ae,"aria-describedby":Ye,...Qe}=e;return(0,B.jsxs)(L,{...Qe,size:t,rounded:o,fillMode:a,hover:A,focus:M,valid:w,invalid:y,required:I,loading:K,disabled:z,readonly:j,className:r(e.className,tn),children:[c&&(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(Ke,{children:c}),n&&(0,B.jsx)(Pe,{})]}),(0,B.jsx)(de,{id:se,placeholder:C,value:N,type:b,disabled:z,"aria-label":Ae,"aria-describedby":Ye,"aria-invalid":y?"true":void 0}),d&&(0,B.jsx)(oe,{valid:w,invalid:y,loading:K,disabled:z}),(0,B.jsx)(ie,{loading:K,disabled:z}),l&&(0,B.jsx)(te,{loading:K,disabled:z,readonly:j,value:N}),u&&(0,B.jsxs)(B.Fragment,{children:[n&&(0,B.jsx)(Pe,{}),(0,B.jsx)(_e,{children:u})]})]})};P.states=Ai;P.options=Ti;P.className=tn;P.defaultOptions=Et;P.moduleName=Yt;P.folderName=Uo;P.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 lt=P;var nn=require("react/jsx-runtime"),on=e=>(0,nn.jsx)(lt,{...e});var an=require("react/jsx-runtime");var sn=require("react/jsx-runtime"),rn=e=>(0,sn.jsx)(k,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var cn=require("react/jsx-runtime"),ln=e=>(0,cn.jsx)(k,{icon:"folder",children:"Button",...e});var St=require("react/jsx-runtime"),Ii=k.options,Ei=k.states,Si={...k.defaultOptions,variant:"text"},yi=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],gi=[],ze=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,St.jsx)(rn,{...o,icon:"star"});case"icon-and-text":return(0,St.jsx)(ln,{...o,icon:"star",children:"Button"});default:return(0,St.jsx)(Se,{...o,children:"Button"})}};ze.options=Ii;ze.states=Ei;ze.variants=yi;ze.defaultOptions=Si;ze.modifiers=gi;ze.className=k.className;var dn=require("react/jsx-runtime");var Mi=require("react/jsx-runtime");var yt=require("react/jsx-runtime"),wi=P.states,Li=P.defaultOptions,Oi=P.options,Ri=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Ki=[],De=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,yt.jsx)(x,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,yt.jsx)(Se,{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,yt.jsx)(on,{value:"Value",style:{width:300},...o,...a})};De.options=Oi;De.states=wi;De.variants=Ki;De.defaultOptions=Li;De.modifiers=Ri;De.className=P.className;var wt=bt(require("react"));var gt=bt(require("react"));var pn=require("react/jsx-runtime"),_i="k-treeview-group",F=e=>{let{children:t,dir:o,level:a=1,role:n="group",...l}=e;return(0,pn.jsx)("ul",{...l,className:r(e.className,_i),role:n,children:gt.default.Children.map(t,(d,c)=>gt.default.isValidElement(d)?gt.default.cloneElement(d,{dir:o,level:a,key:c}):d)})};var ct="treeview",Mt=ct;var io=require("react/jsx-runtime"),ao="k-treeview",Pi=[],Hi={size:[s.undefined,s.small,s.medium,s.large]},zi={},S=e=>{let{size:t,children:o,dir:a,...n}=e;return(0,io.jsx)("div",{...n,dir:a,className:r(e.className,ao,T(ao,{size:t})),children:(0,io.jsx)(F,{className:"k-treeview-lines",role:"tree",dir:a,children:wt.default.Children.map(o,(l,d)=>wt.default.isValidElement(l)?wt.default.cloneElement(l,{dir:a,key:d}):l)})})};S.states=Pi;S.options=Hi;S.className=ao;S.defaultOptions=zi;S.moduleName=ct;S.folderName=Mt;S.ariaSpec={selector:".k-treeview",rules:[{selector:".k-treeview-lines",attribute:"role=tree",usage:"The root list element of the treeview."},{selector:".k-treeview-group:not(.k-treeview-lines)",attribute:"role=group",usage:"The ul element that wraps child nodes."},{selector:".k-treeview-item",attribute:"role=treeitem",usage:"The li element rendered for a tree node."},{selector:".k-treeview-item",attribute:"aria-expanded=true/false (when present)",usage:"Announces the expanded state of the node."},{selector:".k-treeview-item",attribute:"aria-checked=true/false (when present)",usage:"Announces the checked state of the node when checkboxes are enabled."},{selector:".k-treeview-item",attribute:"aria-selected=true (when present)",usage:"Announces the selected state of the node when selection is enabled."},{selector:".k-treeview-item .k-checkbox",attribute:"aria-label",usage:"The checkbox input must have an accessible name matching the treeview item text."},{selector:".k-treeview-item .k-checkbox",attribute:"tabindex=-1",usage:"The checkbox input must not be in the tab order. Keyboard interaction is handled by the treeitem."}]};var Ot=bt(require("react"));var dt=require("react/jsx-runtime"),ro="k-treeview-leaf",Di=[i.hover,i.focus,i.selected],Bi={},Lt=e=>{let{text:t,showIcon:o,icon:a,hover:n,focus:l,selected:d,...c}=e;return(0,dt.jsxs)("span",{...c,className:r(e.className,ro,_(ro,{hover:n,focus:l,selected:d})),children:[o&&(0,dt.jsx)(x,{icon:a}),(0,dt.jsx)("span",{className:"k-treeview-leaf-text",children:t})]})};Lt.states=Di;Lt.options=Bi;Lt.className=ro;var mn=Lt;var pe=require("react/jsx-runtime"),un="k-treeview-item",Fi=[i.hover,i.focus,i.selected,i.disabled],Ui={},Vi={},f=e=>{let{leafClassName:t,children:o,hasChildren:a,expanded:n,loading:l,text:d,showIcon:c,icon:u,showCheckbox:b,checked:N,hover:C,focus:A,selected:M,disabled:w,dir:y,level:I=1,ariaSelected:K,...z}=e,j=a||o||l;return(0,pe.jsxs)("li",{...z,className:r(e.className,un),style:{"--kendo-treeview-level":I},role:"treeitem","aria-expanded":j?n?"true":"false":void 0,"aria-checked":b?N?"true":"false":void 0,"aria-selected":K?"true":void 0,"aria-disabled":w?"true":void 0,children:[(0,pe.jsxs)("span",{className:r("k-treeview-item-content",_("k-treeview-item-content",{hover:C,focus:A,selected:M,disabled:w})),children:[j&&(0,pe.jsx)("span",{className:r("k-treeview-toggle",_("k-treeview-toggle",{disabled:w})),children:l?(0,pe.jsx)("span",{className:"k-icon k-i-loading"}):(0,pe.jsx)(x,{icon:n?"chevron-down":y==="rtl"?"chevron-left":"chevron-right"})}),b&&(0,pe.jsx)(X,{checked:N,disabled:w,"aria-label":d,tabIndex:-1}),(0,pe.jsx)(mn,{className:t,text:d,showIcon:c,icon:u})]}),n&&j&&Ot.default.Children.map(o,(se,Ae)=>Ot.default.isValidElement(se)?Ot.default.cloneElement(se,{dir:y,level:I+1,key:Ae}):se)]})};f.states=Fi;f.options=Ui;f.className=un;f.defaultOptions=Vi;f.moduleName=ct;f.folderName=Mt;var Gi=require("react/jsx-runtime");var fn=require("react/jsx-runtime");var hn=require("react/jsx-runtime");var xn=require("react/jsx-runtime");var bn=require("react/jsx-runtime");var vn=require("react/jsx-runtime");var Y=require("react/jsx-runtime"),Xi=S.options,$i=S.states,Wi=S.defaultOptions,qi=[{name:"checkboxes",title:"Show `Checkbox`",default:!1}],Ji=[],Be=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{n==="checkboxes"&&(a.showCheckbox=t==null?void 0:t[n])}),(0,Y.jsxs)(S,{...o,children:[(0,Y.jsx)(f,{text:"Furniture",expanded:!0,...a,children:(0,Y.jsxs)(F,{children:[(0,Y.jsx)(f,{text:"Tables & Chairs",...a}),(0,Y.jsx)(f,{text:"Sofas",...a}),(0,Y.jsx)(f,{text:"Occasional Furniture",...a})]})}),(0,Y.jsxs)(f,{text:"Decor",expanded:!1,...a,children:[(0,Y.jsx)(f,{text:"Bed Linen",...a}),(0,Y.jsx)(f,{text:"Curtains & Blinds",...a}),(0,Y.jsx)(f,{text:"Carpets",...a})]})]})};Be.options=Xi;Be.states=$i;Be.variants=Ji;Be.defaultOptions=Wi;Be.modifiers=qi;Be.className=S.className;var pt=require("react/jsx-runtime"),Yi="k-chip-action";var me=e=>{let{type:t,...o}=e,a;switch(t){case"remove":a=(0,pt.jsx)(x,{icon:"x-circle",size:"small"});break;case"more":a=(0,pt.jsx)(x,{icon:"more-vertical",size:"small"});break;default:return(0,pt.jsx)(x,{icon:t,size:"small"})}return(0,pt.jsx)("span",{...o,className:r(e.className,Yi,`k-chip-${t}-action`),children:a})};var so="avatar",Nn=so;var co=require("react/jsx-runtime"),mt="k-avatar";var Qi=[i.hover,i.focus,i.active,i.selected,i.disabled],Zi={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.outline],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary]},lo={type:"text",border:!1},G=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,type:l=lo.type,border:d=lo.border,...c}=e;return(0,co.jsx)("div",{...c,className:r(e.className,mt,T(mt,{size:t,rounded:o,fillMode:a,themeColor:n}),{[`${mt}-bordered`]:d}),children:(0,co.jsx)("span",{className:`${mt}-${l}`,children:e.children})})};G.states=Qi;G.options=Zi;G.className=mt;G.defaultOptions=lo;G.moduleName=so;G.folderName=Nn;G.ariaSpec={selector:".k-avatar",rules:[{selector:".k-avatar img",attribute:"alt",usage:"Images inside Avatar must have alt text for screen readers."}]};var ye=G;var kn=require("react/jsx-runtime"),Cn=e=>(0,kn.jsx)(ye,{type:"icon",...e});var Tn=require("react/jsx-runtime"),An=e=>(0,Tn.jsx)(ye,{type:"text",...e});var En=require("react/jsx-runtime"),In=e=>(0,En.jsx)(ye,{type:"image",...e});var ji=require("react/jsx-runtime");var Fe=require("react/jsx-runtime"),er=G.options,tr=G.states,or={...G.defaultOptions,variant:"image"},nr=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],ar=[],Ue=e=>{let{variant:t,...o}=e;switch(t){case"icon":return(0,Fe.jsx)(Cn,{...o,children:(0,Fe.jsx)(x,{icon:"star"})});case"text":return(0,Fe.jsx)(An,{...o,children:"JO"});default:return(0,Fe.jsx)(In,{...o,children:(0,Fe.jsx)("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};Ue.options=er;Ue.states=tr;Ue.variants=nr;Ue.defaultOptions=or;Ue.modifiers=ar;Ue.className=G.className;var ut="chip",Rt=ut,Kt="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg";var ue=require("react/jsx-runtime"),_t="k-chip",ir=[i.hover,i.focus,i.active,i.selected,i.disabled],rr={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.outline],themeColor:[m.undefined,m.base,m.success,m.warning,m.error,m.info]},Sn={avatarImage:"/packages/html/assets/avatar.jpg"},$=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,text:l,icon:d,actions:c,showAvatar:u,avatarImage:b=Sn.avatarImage,hover:N,focus:C,active:A,selected:M,disabled:w,...y}=e;return(0,ue.jsxs)("div",{...y,className:r(e.className,_t,T(_t,{size:t,rounded:o,fillMode:a,themeColor:n}),_(_t,{hover:N,focus:C,active:A,disabled:w,selected:M})),role:e.role||"button","aria-pressed":e.role==="option"?void 0:M?"true":"false",...e.role==="option"&&M!==void 0&&{"aria-selected":M?"true":"false"},"aria-disabled":w?"true":void 0,children:[d&&(0,ue.jsx)(x,{className:"k-chip-icon",icon:d,size:"small"}),u&&(0,ue.jsx)(G,{className:"k-chip-avatar",type:"image",children:(0,ue.jsx)("img",{src:b,alt:""})}),(0,ue.jsx)("span",{className:"k-chip-content",children:e.children?e.children:l&&(0,ue.jsx)("span",{className:"k-chip-label",children:l})}),c&&(0,ue.jsx)("span",{className:"k-chip-actions",children:c})]})};$.states=ir;$.options=rr;$.className=_t;$.defaultOptions=Sn;$.moduleName=ut;$.folderName=Rt;$.ariaSpec={selector:".k-chip",rules:[{selector:"*:not(.k-chip-list) > .k-chip",attribute:"role=button",usage:"Announces that the chip acts as a button when standalone."},{selector:"*:not(.k-chip-list) > .k-chip.k-selected",attribute:"aria-pressed=true",usage:"Announces that the Chip has been selected."},{selector:"*:not(.k-chip-list) > .k-chip:not(.k-selected)",attribute:"aria-pressed=false",usage:"Announces that the Chip has not been selected."},{selector:".k-chip",attribute:"aria-disabled=true (when disabled)",usage:"Announces that the Chip is disabled."}]};var Q=$;var yn=require("react/jsx-runtime"),po="k-chip-list",sr=[],lr={size:[s.undefined,s.small,s.medium,s.large]},cr={},R=e=>{let{size:t,multiselectable:o,ariaLabel:a,...n}=e;return(0,yn.jsx)("div",{...n,className:r(e.className,po,T(po,{size:t})),role:e.role||"listbox","aria-label":e.role==="none"?void 0:a||"chip list","aria-orientation":e.role==="none"?void 0:"horizontal","aria-multiselectable":o?"true":void 0,children:e.children})};R.states=sr;R.options=lr;R.className=po;R.defaultOptions=cr;R.moduleName=ut;R.folderName=Rt;R.ariaSpec={selector:".k-chip-list",rules:[{selector:".k-chip-list",attribute:"role=listbox",usage:"Announces the list role of the chip list."},{selector:".k-chip-list",attribute:"aria-label or aria-labelledby",usage:"Adds label to the ChipList element. ListBox element requires an accessible name."},{selector:".k-chip-list",attribute:"aria-orientation=horizontal",usage:"Specifies the horizontal orientation of the chiplist."},{selector:".k-chip-list",attribute:"aria-multiselectable=true (when multiple selection)",usage:"Announces the multiple selection ability of the chiplist."},{selector:".k-chip-list .k-chip",attribute:"role=option",usage:"Announces the chip is an option inner component of the chip list."},{selector:".k-chip-list .k-chip.k-selected",attribute:"aria-selected=true",usage:"Announces the chip is selected."},{selector:".k-chip-list .k-chip:not(.k-selected)",attribute:"aria-selected=false",usage:"Announces the chip is not selected."},{selector:".k-chip-list .k-chip:has(.k-i-x-circle), .k-chip-list .k-chip:has(.k-svg-i-x-circle)",attribute:"aria-keyshortcuts=Enter Delete",usage:"Announces the Delete action along with the default Enter key."}]};var dr=require("react/jsx-runtime");var pr=require("react/jsx-runtime");var gn=require("react/jsx-runtime"),Pt=e=>(0,gn.jsx)(Q,{text:"text",...e});var mr=require("react/jsx-runtime");var ur=require("react/jsx-runtime");var mo=require("react/jsx-runtime");var Mn=require("react/jsx-runtime");var wn=require("react/jsx-runtime");var Ln=require("react/jsx-runtime");var fe=require("react/jsx-runtime"),fr={...Q.options,...R.options},hr=[],xr=R.states,br={...Q.defaultOptions,...R.defaultOptions},vr=[{name:"icon",title:"Icon",type:"boolean"},{name:"actions",title:"Actions",type:"boolean"},{name:"avatar",title:"Avatar",type:"boolean"}],Ve=e=>{let{modifiers:t,className:o,...a}=e,n=t==null?void 0:t.icon,l=t==null?void 0:t.actions,d=t==null?void 0:t.avatar,c=d?Kt:void 0;return(0,fe.jsxs)(R,{size:a.size,className:o,children:[(0,fe.jsx)(Pt,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:l?(0,fe.jsx)(me,{type:"remove"}):void 0,showAvatar:d,avatarImage:c,children:"Chip"}),(0,fe.jsx)(Pt,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:l?(0,fe.jsx)(me,{type:"remove"}):void 0,showAvatar:d,avatarImage:c,children:"Chip"}),(0,fe.jsx)(Pt,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:l?(0,fe.jsx)(me,{type:"remove"}):void 0,showAvatar:d,avatarImage:c,children:"Chip"})]})};Ve.options=fr;Ve.states=xr;Ve.variants=hr;Ve.defaultOptions=br;Ve.modifiers=vr;Ve.className=R.className;var Ht=require("react/jsx-runtime"),Nr=$.states,Cr=$.defaultOptions,kr=$.options,Ar=[],Tr=[{name:"icon",title:"Icon"},{name:"avatar",title:"Avatar"},{name:"remove-icon",title:"`Remove` Icon"},{name:"more-options",title:"`More options` Icon"}],Ge=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"icon":a.icon=t!=null&&t[n]?"arrow-down":void 0;break;case"avatar":a.showAvatar=!!(t!=null&&t[n]),a.avatarImage=t!=null&&t[n]?Kt:void 0;break;case"more-options":a.actions||(a.actions=[]),a.actions[0]=t!=null&&t[n]?(0,Ht.jsx)(me,{type:"more"}):void 0;break;case"remove-icon":a.actions||(a.actions=[]),a.actions[1]=t!=null&&t[n]?(0,Ht.jsx)(me,{type:"remove"}):void 0;break;default:break}}),(0,Ht.jsx)($,{...o,...a,children:"Chip component"})};Ge.options=kr;Ge.states=Nr;Ge.variants=Ar;Ge.defaultOptions=Cr;Ge.modifiers=Tr;Ge.className=$.className;var uo="popup",On=uo;var ho=require("react/jsx-runtime"),Rn="k-animation-container",Ir=[],Er={},fo={positionMode:"absolute",shown:!0},re=e=>{let{positionMode:t=fo.positionMode,shown:o=fo.shown,animationStyle:a,offset:n,...l}=e;return(0,ho.jsx)("div",{...l,style:{...n,...e.style},className:r(e.className,Rn,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,ho.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};re.states=Ir;re.options=Er;re.className=Rn;re.defaultOptions=fo;re.moduleName=uo;re.folderName=On;var xo="popup",Kn=xo;var bo=require("react/jsx-runtime"),_n="k-popup",Sr=[],yr={},Pn={positionMode:"absolute"},he=e=>{let{offset:t,positionMode:o=Pn.positionMode,animationStyle:a,containerClassName:n,containerRole:l,containerAriaLabel:d,...c}=e;return(0,bo.jsx)(re,{positionMode:o,offset:t,animationStyle:a,className:n,role:l,"aria-label":d,children:(0,bo.jsx)("div",{...c,className:r(e.className,_n),children:e.children})})};he.states=Sr;he.options=yr;he.className=_n;he.defaultOptions=Pn;he.moduleName=xo;he.folderName=Kn;he.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 vo="action-buttons",Hn=vo;var zn=require("react/jsx-runtime"),zt="k-actions",gr=[],Mr={},No={alignment:"start",orientation:"horizontal"},xe=e=>{let{alignment:t=No.alignment,orientation:o=No.orientation,...a}=e;return(0,zn.jsx)("div",{...a,className:r(zt,{[`${zt}-${t}`]:t,[`${zt}-${o}`]:o},e.className),children:e.children})};xe.states=gr;xe.options=Mr;xe.className=zt;xe.defaultOptions=No;xe.moduleName=vo;xe.folderName=Hn;var Bn=require("react/jsx-runtime"),wr="k-actionsheet-footer",Dn={alignment:"stretched",orientation:"horizontal"},Xe=e=>{let{alignment:t=Dn.alignment,orientation:o=Dn.orientation,template:a,as:n=a?"div":xe,...l}=e;return(0,Bn.jsx)(n,{...l,...!a&&{alignment:t,orientation:o},className:r(e.className,wr),children:e.children})};var Co="searchbox",Fn=Co;var be=require("react/jsx-runtime"),Un="k-searchbox",Lr=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Or={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},ko={showIcon:!0,icon:"search"},ve=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:l,hover:d,focus:c,valid:u,invalid:b,required:N,loading:C,disabled:A,showIcon:M=ko.showIcon,icon:w=ko.icon,"aria-label":y,...I}=e;return(0,be.jsxs)(L,{...I,size:a,rounded:n,fillMode:l,hover:d,focus:c,valid:u,invalid:b,required:N,loading:C,disabled:A,className:r(e.className,Un),children:[M&&(0,be.jsx)(x,{className:"k-input-icon",icon:w}),(0,be.jsx)(de,{placeholder:o,value:t,"aria-label":y}),(0,be.jsx)(ie,{...e}),(0,be.jsx)(oe,{...e}),(0,be.jsx)(te,{...e})]})};ve.states=Lr;ve.options=Or;ve.className=Un;ve.defaultOptions=ko;ve.moduleName=Co;ve.folderName=Fn;var Rr=require("react/jsx-runtime");var q=require("react/jsx-runtime"),Vn="k-actionsheet-titlebar",Kr={},ne=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:l,input:d,inputValue:c,inputPlaceholder:u,adaptive:b,titleId:N,children:C,...A}=e;return(0,q.jsxs)("div",{...A,className:r(e.className,Vn),children:[(0,q.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,q.jsx)("div",{className:"k-actionsheet-actions",children:a}),!C&&(0,q.jsxs)("div",{className:"k-actionsheet-title",id:N,children:[t&&(0,q.jsx)("div",{className:"k-text-center",children:t}),o&&(0,q.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),C&&(0,q.jsx)("div",{className:"k-actionsheet-title",id:N,children:C}),n&&(0,q.jsx)("div",{className:"k-actionsheet-actions",children:n})]}),(d||l)&&(0,q.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?(0,q.jsx)(P,{value:c,placeholder:u,size:b?"large":"medium","aria-label":t||u||"Input"}):(0,q.jsx)(ve,{placeholder:"Filter",size:b?"large":"medium","aria-label":"Filter options"})})]})};ne.className=Vn;ne.defaultOptions=Kr;var $e=require("react/jsx-runtime"),Ao="k-actionsheet-view",_r=[],Pr={},Hr={},We=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:l,titleId:d,...c}=e,u=(n==null?void 0:n.type)===ne&&(0,$e.jsx)(ne,{adaptive:t,titleId:d,...n==null?void 0:n.props}),b=(l==null?void 0:l.type)===Xe&&(0,$e.jsx)(Xe,{...l==null?void 0:l.props});return(0,$e.jsxs)("div",{...c,className:r(e.className,Ao,{[`${Ao}-animated`]:o}),children:[u,(0,$e.jsx)("div",{className:"k-actionsheet-content",children:a}),b]})};We.states=_r;We.options=Pr;We.className=Ao;We.defaultOptions=Hr;var ft="action-sheet",Dt=ft;var To="overlay",Gn=To;var $n=require("react/jsx-runtime"),Xn="k-overlay",zr=[],Dr={},Br={},Ne=e=>{let{...t}=e;return(0,$n.jsx)("div",{...t,className:r(e.className,Xn),children:e.children})};Ne.states=zr;Ne.options=Dr;Ne.className=Xn;Ne.defaultOptions=Br;Ne.moduleName=To;Ne.folderName=Gn;var ge=require("react/jsx-runtime"),Wn="k-actionsheet",Fr=[],Ur={},ht={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},H=e=>{let{side:t=ht.side,fullscreen:o=ht.fullscreen,adaptive:a=ht.adaptive,overlay:n=ht.overlay,template:l,children:d,header:c,footer:u,id:b,...N}=e,C=b&&!l&&c?`${b}-title`:void 0;return(0,ge.jsxs)("div",{className:"k-actionsheet-container",children:[n&&(0,ge.jsx)(Ne,{}),(0,ge.jsx)(re,{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,ge.jsx)("div",{...N,id:b,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":C,className:r(e.className,Wn,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:l||(0,ge.jsx)(We,{header:c,footer:u,adaptive:a,titleId:C,...e,children:d})})})]})};H.states=Fr;H.options=Ur;H.className=Wn;H.defaultOptions=ht;H.moduleName=ft;H.folderName=Dt;H.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 Jn=require("react/jsx-runtime"),qn="k-actionsheet-container",Vr=[],Gr={},Xr={},qe=e=>{let{children:t,...o}=e;return(0,Jn.jsx)("div",{...o,className:qn,children:t})};qe.states=Vr;qe.options=Gr;qe.className=qn;qe.defaultOptions=Xr;qe.moduleName=ft;qe.folderName=Dt;var Yn=require("react/jsx-runtime"),Io=e=>{let{...t}=e;return(0,Yn.jsx)("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};var Z=require("react/jsx-runtime"),Eo="k-actionsheet-item",$r=[i.hover,i.focus,i.selected,i.disabled],Ce=e=>{let{iconName:t,text:o,description:a,hover:n,focus:l,selected:d,disabled:c,...u}=e;return(0,Z.jsxs)("span",{...u,className:r(e.className,Eo,_(Eo,{hover:n,focus:l,selected:d,disabled:c})),children:[!e.children&&(0,Z.jsx)(Z.Fragment,{children:(0,Z.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,Z.jsx)("span",{className:"k-icon-wrap",children:(0,Z.jsx)(x,{className:"k-actionsheet-item-icon",icon:t})}),(0,Z.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,Z.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,Z.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Ce.states=$r;Ce.className=Eo;var Qn=require("react/jsx-runtime");var Wr=require("react/jsx-runtime");var qr=require("react/jsx-runtime");var Jr=require("react/jsx-runtime");var g=require("react/jsx-runtime"),Yr=H.options,Qr=H.states,jn={...H.defaultOptions,variant:"normal"},Zr=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],jr=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Je=e=>{let{variant:t,modifiers:o,...a}={...jn,...e},n={},l=(0,g.jsxs)(Io,{children:[(0,g.jsx)(Ce,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,g.jsx)(Ce,{text:"Add to Favorites",iconName:"heart"}),(0,g.jsx)(Ce,{text:"Upload New",iconName:"upload",disabled:!0}),(0,g.jsx)("hr",{className:"k-hr"}),(0,g.jsx)(Ce,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",c="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(u=>{switch(u){case"actions":n.actionsStart=!!(o!=null&&o[u]),n.actionsEnd=!!(o!=null&&o[u]);break;case"subtitle":n.subtitle=o!=null&&o[u]?d:void 0;break;case"footer":n.footer=!!(o!=null&&o[u]);break;default:break}}),t==="adaptive"?(0,g.jsx)(H,{...a,adaptive:!0,fullscreen:n.fullScreen,header:(0,g.jsx)(ne,{actionsStart:n.actionsStart?(0,g.jsx)(k,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,g.jsx)(k,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:n.subtitle}),footer:n.footer?(0,g.jsxs)(Xe,{alignment:"stretched",children:[(0,g.jsx)(k,{text:"Cancel",size:"large",themeColor:"base"}),(0,g.jsx)(k,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:l}):(0,g.jsx)(H,{...a,fullscreen:n.fullScreen,header:(0,g.jsx)(ne,{actionsStart:n.actionsStart?(0,g.jsx)(k,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,g.jsx)(k,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?(0,g.jsxs)(Xe,{alignment:"stretched",children:[(0,g.jsx)(k,{text:"Apply",themeColor:"primary"}),(0,g.jsx)(k,{text:"Cancel",themeColor:"base"})]}):void 0,children:l})};Je.options=Yr;Je.states=Qr;Je.variants=Zr;Je.defaultOptions=jn;Je.modifiers=jr;Je.className=H.className;var ea="dropdown-tree",ta="dropdowntree";var v=require("react/jsx-runtime"),oa="k-multiselecttree",es=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],ts={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},os={},ke=e=>{let{size:t,rounded:o,fillMode:a,prefix:n,suffix:l,placeholder:d,tags:c,popup:u,showArrowButton:b,hover:N,focus:C,valid:A,invalid:M,required:w,loading:y,disabled:I,readonly:K,opened:z,dir:j,adaptive:se,adaptiveSettings:Ae,adaptiveTitle:Ye,adaptiveSubtitle:Qe,adaptiveFilter:aa,id:So,treeviewId:ia,"aria-label":ra,...sa}=e,yo=So?`${So}-taglist`:void 0;return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)(L,{...sa,dir:j,size:t,rounded:o,fillMode:a,hover:N,focus:C,valid:A,invalid:M,required:w,loading:y,disabled:I,readonly:K,className:r(e.className,oa),children:[(0,v.jsx)(Ke,{children:n}),(0,v.jsx)(R,{size:t,className:"k-input-values",id:yo,children:(0,v.jsx)(v.Fragment,{children:c})}),(0,v.jsx)("span",{className:"k-input-inner",role:"combobox","aria-haspopup":"tree","aria-expanded":z?"true":"false","aria-controls":z?ia:void 0,"aria-autocomplete":"list","aria-describedby":c?yo:void 0,"aria-disabled":I?"true":void 0,"aria-label":ra,tabIndex:0,children:!c&&(0,v.jsx)("span",{className:"k-input-value-text",children:d})}),(0,v.jsx)(oe,{valid:A,invalid:M,loading:y,disabled:I}),(0,v.jsx)(ie,{loading:y,disabled:I}),(0,v.jsx)(te,{loading:y,disabled:I,readonly:K,value:c?"value":""}),(0,v.jsx)(_e,{children:l}),b&&(0,v.jsx)(k,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Toggle dropdown",tabIndex:-1})]}),z&&u&&(0,v.jsx)(he,{className:"k-multiselecttree-popup",dir:j,containerRole:"region",containerAriaLabel:"MultiSelectTree options",children:u}),se&&(0,v.jsx)(H,{adaptive:!0,...Ae,header:(0,v.jsx)(ne,{actionsEnd:(0,v.jsx)(k,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:aa,inputPlaceholder:d,title:Ye,subtitle:Qe}),children:(0,v.jsxs)(S,{size:"large",children:[(0,v.jsx)(f,{text:"Root 1"}),(0,v.jsx)(f,{text:"Root 2",expanded:!0,children:(0,v.jsxs)(F,{children:[(0,v.jsx)(f,{text:"Child 2.1"}),(0,v.jsx)(f,{text:"Child 2.2",children:(0,v.jsx)(F,{children:(0,v.jsx)(f,{text:"Child 2.2.1"})})}),(0,v.jsx)(f,{text:"Child 2.3"}),(0,v.jsx)(f,{leafClassName:"k-treeview-load-more-button",text:"Load more ..."})]})}),(0,v.jsx)(f,{text:"Root 3",children:(0,v.jsxs)(F,{children:[(0,v.jsx)(f,{text:"Child 3.1"}),(0,v.jsx)(f,{text:"Child 3.2"}),(0,v.jsx)(f,{text:"Child 3.3"})]})})]})})]})};ke.states=es;ke.options=ts;ke.className=oa;ke.defaultOptions=os;ke.moduleName=ea;ke.folderName=ta;ke.ariaSpec={rules:[{selector:".k-multiselecttree .k-input-inner",attribute:"role=combobox",usage:"Announces the multiselect tree input."},{selector:".k-multiselecttree .k-input-inner",attribute:"aria-haspopup=tree",usage:"Indicates the presence of a tree popup."},{selector:".k-multiselecttree .k-input-inner",attribute:"aria-expanded",usage:"Announces the popup visibility."},{selector:".k-multiselecttree .k-input-inner",attribute:"aria-label",usage:"Accessible name for the multiselect tree."},{selector:".k-multiselecttree .k-input-inner",attribute:"aria-autocomplete=list",usage:"Indicates list filtering capability when filtering is enabled."},{selector:".k-multiselecttree .k-input-inner",attribute:"aria-describedby",usage:"Points to the taglist element that contains the selected items."},{selector:".k-multiselecttree .k-input-inner",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-multiselecttree.k-disabled .k-input-inner",attribute:"aria-disabled=true",usage:"Rendered when the multiselect tree is disabled."},{selector:".k-multiselecttree .k-chip-list",attribute:"role=listbox",usage:"The taglist has listbox role for selected items."},{selector:".k-multiselecttree .k-chip-list",attribute:"aria-label or aria-labelledby",usage:"The taglist needs an accessible name."},{selector:".k-multiselecttree .k-chip-list",attribute:"aria-orientation=horizontal",usage:"Specifies horizontal orientation of the taglist."},{selector:".k-multiselecttree .k-chip-list .k-chip",attribute:"role=option",usage:"Each tag chip is an option within the taglist listbox."},{selector:".k-multiselecttree .k-chip-list .k-chip",attribute:"aria-selected=true",usage:"Tags represent selected items and must have aria-selected=true."}]};var na=ke;var E=require("react/jsx-runtime"),ns=e=>{let t=J("mst"),o=J("mst-tv");return(0