@progress/kendo-themes-html 14.7.0-dev.2 → 14.7.0-dev.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/dist/cjs/chat/chat-message.spec.js +1 -1
  2. package/dist/cjs/chat/chat.spec.js +1 -1
  3. package/dist/cjs/chat/demos/chat.js +1 -1
  4. package/dist/cjs/chat/templates/chat-empty.js +1 -1
  5. package/dist/cjs/chat/templates/chat-expandable.js +1 -1
  6. package/dist/cjs/chat/templates/chat-failed.js +1 -1
  7. package/dist/cjs/chat/templates/chat-message-skeleton.js +1 -1
  8. package/dist/cjs/chat/templates/chat-message-toolbar.js +1 -1
  9. package/dist/cjs/chat/templates/chat-normal.js +1 -1
  10. package/dist/cjs/chat/templates/chat-pinned.js +1 -1
  11. package/dist/cjs/chat/templates/chat-stop-response.js +1 -1
  12. package/dist/cjs/chat/templates/chat-textarea-file.js +1 -1
  13. package/dist/cjs/chat/templates/chat-typing.js +1 -1
  14. package/dist/cjs/chat/templates/chat-upload.js +1 -1
  15. package/dist/cjs/dropdowntree/demos/dropdowntree.js +1 -1
  16. package/dist/cjs/dropdowntree/dropdowntree.spec.js +1 -1
  17. package/dist/cjs/dropdowntree/templates/dropdowntree-adaptive.js +1 -1
  18. package/dist/cjs/dropdowntree/templates/dropdowntree-disabled.js +1 -1
  19. package/dist/cjs/dropdowntree/templates/dropdowntree-filtering.js +1 -1
  20. package/dist/cjs/dropdowntree/templates/dropdowntree-normal.js +1 -1
  21. package/dist/cjs/dropdowntree/templates/dropdowntree-popup.js +1 -1
  22. package/dist/cjs/filemanager/demos/filemanager.js +1 -1
  23. package/dist/cjs/filemanager/file-info.js +1 -1
  24. package/dist/cjs/filemanager/filemanager-treeview.spec.js +1 -1
  25. package/dist/cjs/filemanager/templates/filemanager-grid-preview.js +1 -1
  26. package/dist/cjs/filemanager/templates/filemanager-grid.js +1 -1
  27. package/dist/cjs/filemanager/templates/filemanager-normal.js +1 -1
  28. package/dist/cjs/filemanager/templates/filemanager-preview.js +1 -1
  29. package/dist/cjs/index.js +3 -3
  30. package/dist/cjs/multiselecttree/demos/multiselecttree.js +1 -1
  31. package/dist/cjs/multiselecttree/multiselecttree.spec.js +1 -1
  32. package/dist/cjs/multiselecttree/templates/multiselecttree-adaptive.js +1 -1
  33. package/dist/cjs/multiselecttree/templates/multiselecttree-arrow-button.js +1 -1
  34. package/dist/cjs/multiselecttree/templates/multiselecttree-disabled.js +1 -1
  35. package/dist/cjs/multiselecttree/templates/multiselecttree-filtering.js +1 -1
  36. package/dist/cjs/multiselecttree/templates/multiselecttree-normal.js +1 -1
  37. package/dist/cjs/multiselecttree/templates/multiselecttree-popup.js +1 -1
  38. package/dist/cjs/multiselecttree/templates/multiselecttree-value.js +1 -1
  39. package/dist/cjs/pivotgrid/demos/pivotgrid.js +1 -1
  40. package/dist/cjs/pivotgrid/templates/pivotgrid-normal.js +1 -1
  41. package/dist/cjs/pivotgrid/templates/pivotgrid-with-configurator-disabled-actions.js +1 -1
  42. package/dist/cjs/pivotgrid/templates/pivotgrid-with-configurator-opened.js +1 -1
  43. package/dist/cjs/pivotgrid/templates/pivotgrid-with-configurator.js +1 -1
  44. package/dist/cjs/prompt-box/demos/prompt-box.js +1 -1
  45. package/dist/cjs/prompt-box/prompt-box.spec.js +1 -1
  46. package/dist/cjs/prompt-box/templates/prompt-box-auto-expanded.js +1 -1
  47. package/dist/cjs/prompt-box/templates/prompt-box-auto.js +1 -1
  48. package/dist/cjs/prompt-box/templates/prompt-box-multi.js +1 -1
  49. package/dist/cjs/prompt-box/templates/prompt-box-single.js +1 -1
  50. package/dist/cjs/prompt-box/templates/prompt-box-stop-response.js +1 -1
  51. package/dist/cjs/treeview/demos/treeview.js +1 -1
  52. package/dist/cjs/treeview/templates/treeview-checkboxes.js +1 -1
  53. package/dist/cjs/treeview/templates/treeview-hierarchy.js +1 -1
  54. package/dist/cjs/treeview/templates/treeview-icons.js +1 -1
  55. package/dist/cjs/treeview/templates/treeview-load-more.js +1 -1
  56. package/dist/cjs/treeview/templates/treeview-normal.js +1 -1
  57. package/dist/cjs/treeview/templates/treeview-selected.js +1 -1
  58. package/dist/cjs/treeview/treeview-item.spec.js +1 -1
  59. package/dist/cjs/treeview/treeview-leaf.js +1 -1
  60. package/dist/esm/chat/chat-message.spec.mjs +1 -1
  61. package/dist/esm/chat/chat.spec.mjs +1 -1
  62. package/dist/esm/chat/demos/chat.mjs +1 -1
  63. package/dist/esm/chat/templates/chat-empty.mjs +1 -1
  64. package/dist/esm/chat/templates/chat-expandable.mjs +1 -1
  65. package/dist/esm/chat/templates/chat-failed.mjs +1 -1
  66. package/dist/esm/chat/templates/chat-message-skeleton.mjs +1 -1
  67. package/dist/esm/chat/templates/chat-message-toolbar.mjs +1 -1
  68. package/dist/esm/chat/templates/chat-normal.mjs +1 -1
  69. package/dist/esm/chat/templates/chat-pinned.mjs +1 -1
  70. package/dist/esm/chat/templates/chat-stop-response.mjs +1 -1
  71. package/dist/esm/chat/templates/chat-textarea-file.mjs +1 -1
  72. package/dist/esm/chat/templates/chat-typing.mjs +1 -1
  73. package/dist/esm/chat/templates/chat-upload.mjs +1 -1
  74. package/dist/esm/dropdowntree/demos/dropdowntree.mjs +1 -1
  75. package/dist/esm/dropdowntree/dropdowntree.spec.mjs +1 -1
  76. package/dist/esm/dropdowntree/templates/dropdowntree-adaptive.mjs +1 -1
  77. package/dist/esm/dropdowntree/templates/dropdowntree-disabled.mjs +1 -1
  78. package/dist/esm/dropdowntree/templates/dropdowntree-filtering.mjs +1 -1
  79. package/dist/esm/dropdowntree/templates/dropdowntree-normal.mjs +1 -1
  80. package/dist/esm/dropdowntree/templates/dropdowntree-popup.mjs +1 -1
  81. package/dist/esm/filemanager/demos/filemanager.mjs +1 -1
  82. package/dist/esm/filemanager/file-info.mjs +1 -1
  83. package/dist/esm/filemanager/filemanager-treeview.spec.mjs +1 -1
  84. package/dist/esm/filemanager/templates/filemanager-grid-preview.mjs +1 -1
  85. package/dist/esm/filemanager/templates/filemanager-grid.mjs +1 -1
  86. package/dist/esm/filemanager/templates/filemanager-normal.mjs +1 -1
  87. package/dist/esm/filemanager/templates/filemanager-preview.mjs +1 -1
  88. package/dist/esm/index.mjs +4 -4
  89. package/dist/esm/multiselecttree/demos/multiselecttree.mjs +1 -1
  90. package/dist/esm/multiselecttree/multiselecttree.spec.mjs +1 -1
  91. package/dist/esm/multiselecttree/templates/multiselecttree-adaptive.mjs +1 -1
  92. package/dist/esm/multiselecttree/templates/multiselecttree-arrow-button.mjs +1 -1
  93. package/dist/esm/multiselecttree/templates/multiselecttree-disabled.mjs +1 -1
  94. package/dist/esm/multiselecttree/templates/multiselecttree-filtering.mjs +1 -1
  95. package/dist/esm/multiselecttree/templates/multiselecttree-normal.mjs +1 -1
  96. package/dist/esm/multiselecttree/templates/multiselecttree-popup.mjs +1 -1
  97. package/dist/esm/multiselecttree/templates/multiselecttree-value.mjs +1 -1
  98. package/dist/esm/pivotgrid/demos/pivotgrid.mjs +1 -1
  99. package/dist/esm/pivotgrid/templates/pivotgrid-normal.mjs +1 -1
  100. package/dist/esm/pivotgrid/templates/pivotgrid-with-configurator-disabled-actions.mjs +1 -1
  101. package/dist/esm/pivotgrid/templates/pivotgrid-with-configurator-opened.mjs +1 -1
  102. package/dist/esm/pivotgrid/templates/pivotgrid-with-configurator.mjs +1 -1
  103. package/dist/esm/prompt-box/demos/prompt-box.mjs +1 -1
  104. package/dist/esm/prompt-box/prompt-box.spec.mjs +1 -1
  105. package/dist/esm/prompt-box/templates/prompt-box-auto-expanded.mjs +1 -1
  106. package/dist/esm/prompt-box/templates/prompt-box-auto.mjs +1 -1
  107. package/dist/esm/prompt-box/templates/prompt-box-multi.mjs +1 -1
  108. package/dist/esm/prompt-box/templates/prompt-box-single.mjs +1 -1
  109. package/dist/esm/prompt-box/templates/prompt-box-stop-response.mjs +1 -1
  110. package/dist/esm/treeview/demos/treeview.mjs +1 -1
  111. package/dist/esm/treeview/templates/treeview-checkboxes.mjs +1 -1
  112. package/dist/esm/treeview/templates/treeview-hierarchy.mjs +1 -1
  113. package/dist/esm/treeview/templates/treeview-icons.mjs +1 -1
  114. package/dist/esm/treeview/templates/treeview-load-more.mjs +1 -1
  115. package/dist/esm/treeview/templates/treeview-normal.mjs +1 -1
  116. package/dist/esm/treeview/templates/treeview-selected.mjs +1 -1
  117. package/dist/esm/treeview/treeview-item.spec.mjs +1 -1
  118. package/dist/esm/treeview/treeview-leaf.mjs +1 -1
  119. package/dist/types/prompt-box/prompt-box.spec.d.ts +1 -1
  120. package/dist/types/treeview/treeview-item.spec.d.ts +1 -0
  121. package/dist/types/treeview/treeview-leaf.d.ts +1 -0
  122. package/package.json +1 -1
  123. package/src/prompt-box/prompt-box.spec.tsx +9 -7
  124. package/src/treeview/treeview-item.spec.tsx +5 -1
  125. package/src/treeview/treeview-leaf.tsx +3 -1
@@ -1 +1 @@
1
- var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,n)=>t[n]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var A=(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"}),g=(e,t)=>{let{valid:o,invalid:n,hover:a,focus:l,checked:d,active:p,selected:u,disabled:h,indeterminate:b,loading:C,empty:I,readonly:y,highlighted:k,...L}=t;return r({"k-valid":o,"k-invalid":n,"k-hover":a,"k-focus":l,"k-checked":d,"k-active":p,"k-selected":u,"k-disabled":h,"k-indeterminate":b&&!d,"k-loading":C,"k-empty":I,"k-readonly":y,"k-highlighted":k},Object.keys(L).reduce((E,S)=>(S.startsWith("k-")?E[S]=L[S]:E[`k-${S}`]=L[S],E),{}))};function ho(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(n=>[`k-${n}`,!0]))}var s={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},c={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"},Z={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 It={};function U(e){return It[e]=(It[e]||0)+1,`k-${e}-${It[e]}`}var Fe="input",nt=Fe;import{jsx as zn}from"react/jsx-runtime";var at="k-input",_n=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Pn={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Hn={},O=e=>{let{hover:t,focus:o,disabled:n,invalid:a,valid:l,loading:d,readonly:p,size:u,rounded:h,fillMode:b,...C}=e;return zn("span",{...C,className:r(e.className,at,A(at,{size:u,rounded:h,fillMode:b}),g(at,{hover:t,focus:o,disabled:n,invalid:a,valid:l,loading:d,readonly:p}))})};O.states=_n;O.options=Pn;O.className=at;O.defaultOptions=Hn;O.moduleName=Fe;O.folderName=nt;import{jsx as Vn}from"react/jsx-runtime";var it="k-picker",Dn=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Bn={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Fn={},ve=e=>{let{hover:t,focus:o,disabled:n,invalid:a,valid:l,loading:d,readonly:p,size:u,rounded:h,fillMode:b,...C}=e;return Vn("span",{...C,className:r(e.className,it,A(it,{size:u,rounded:h,fillMode:b}),g(it,{hover:t,focus:o,disabled:n,invalid:a,valid:l,loading:d,readonly:p})),children:e.children})};ve.states=Dn;ve.options=Bn;ve.className=it;ve.defaultOptions=Fn;ve.moduleName=Fe;ve.folderName=nt;import{Fragment as $n,jsx as xo}from"react/jsx-runtime";var Et="k-font-icon",Un=[],Gn={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]},Xn={},Ve=e=>{let{size:t,themeColor:o,icon:n,rotate:a,flip:l,...d}=e;return n?xo("span",{...d,className:r(e.className,Et,A(Et,{size:t}),{[`k-i-${n}`]:n,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true"}):xo($n,{})};Ve.states=Un;Ve.options=Gn;Ve.className=Et;Ve.defaultOptions=Xn;var bo=Ve;import{Fragment as qn,jsx as rt}from"react/jsx-runtime";var St="k-svg-icon",Wn=[],Jn={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:[Z.outline,Z.solid,Z.duotone]},yt={viewBox:"0 0 24 24",variant:Z.outline},Ue=e=>{let{size:t,themeColor:o,rotate:n,flip:a,viewBox:l=yt.viewBox,variant:d=yt.variant,icon:p,...u}=e;if(!p)return rt(qn,{});if(p==="none")return rt("span",{...u,className:r(e.className,St,A("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let h=typeof p=="object"&&p.name&&p.name,b=typeof p=="object"?d&&p.variants?.[d]||p.variants?.outline||p.content:void 0;return rt("span",{...u,className:r(e.className,St,A("k-icon",{size:t}),{[`k-svg-i-${h}`]:h,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":a==="h"||a==="both","k-flip-v":a==="v"||a==="both"}),"aria-hidden":"true",children:rt("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof p=="object"?p.viewBox:l,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:p?void 0:e.children})})};Ue.states=Wn;Ue.options=Jn;Ue.className=St;Ue.defaultOptions=yt;var Mt=Ue;import*as kt from"@progress/kendo-svg-icons";var vo="icon",No="icons";import{useContext as Qn}from"react";import{createContext as Yn}from"react";var Co=Yn({iconsType:"svg"});import{Fragment as Ao,jsx as Ge}from"react/jsx-runtime";var st="k-icon",Zn=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),jn=[],ea={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:[Z.outline,Z.solid,Z.duotone]},lt={viewBox:"0 0 24 24",type:"svg",variant:Z.outline},x=e=>{let{iconsType:t}=Qn(Co),{size:o,themeColor:n,icon:a,type:l=t||lt.type,rotate:d,flip:p,viewBox:u=lt.viewBox,variant:h=lt.variant,...b}=e;if(!a)return Ge(Ao,{});if((t||l)==="svg"){if(a==="none")return Ge(Mt,{...b,className:r(e.className,st),icon:a,size:o,variant:h});let I=kt[a]?a:Zn(`${a}-icon`);return kt[I]?Ge(Mt,{...b,className:r(e.className,st),icon:kt[I],size:o,themeColor:n,rotate:d,flip:p,viewBox:u,variant:h}):Ge(Ao,{})}return Ge(bo,{...b,className:r(e.className,st),icon:a,size:o,themeColor:n,rotate:d,flip:p})};x.states=jn;x.options=ea;x.defaultOptions=lt;x.className=st;x.moduleName=vo;x.folderName=No;import{Fragment as na,jsx as Lt}from"react/jsx-runtime";var To="k-clear-value",ta=[i.disabled,i.loading,i.readonly],oa={},$=e=>{let{disabled:t,loading:o,readonly:n,value:a}=e;return t||n||o||!a?Lt(na,{}):Lt("span",{className:r(e.className,To),children:Lt(x,{icon:"x"})})};$.states=ta;$.options=oa;$.className=To;import{jsx as ra}from"react/jsx-runtime";var Ot="k-input-inner",aa=[],ia={},dt={type:"text",autocomplete:"off",value:"",placeholder:""},oe=e=>{let{value:t=dt.value,type:o=dt.type,placeholder:n=dt.placeholder,autocomplete:a=dt.autocomplete,disabled:l,readOnly:d,...p}=e;return ra("input",{...p,type:o,className:r(e.className,Ot,A(Ot,e)),placeholder:n,autoComplete:a,defaultValue:t,disabled:l||void 0,readOnly:d||void 0})};oe.states=aa;oe.options=ia;oe.className=Ot;import{jsx as Io,jsxs as da}from"react/jsx-runtime";var gt="k-input-inner",sa=[],la={},wt=e=>{let{value:t,placeholder:o,showValue:n,valueIcon:a,valueIconName:l,...d}=e;return da("span",{...d,className:r(e.className,gt,A(gt,e)),children:[a,!a&&l&&Io(x,{className:"k-input-value-icon",icon:l}),n&&!t&&o,n&&t&&Io("span",{className:"k-input-value-text",children:t})]})};wt.states=sa;wt.options=la;wt.className=gt;import{jsx as ma}from"react/jsx-runtime";var Rt="k-input-inner",pa=[],ca={},Eo={value:"",placeholder:""},Kt=e=>{let{value:t=Eo.value,placeholder:o=Eo.placeholder,rows:n,disabled:a,...l}=e;return ma("textarea",{...l,className:r(e.className,Rt,A(Rt,e)),placeholder:o,rows:n,defaultValue:t,disabled:a||void 0})};Kt.states=pa;Kt.options=ca;Kt.className=Rt;import{Fragment as fa,jsx as So}from"react/jsx-runtime";var yo="k-input-loading-icon",ua=[i.disabled,i.loading],j=e=>{let{disabled:t,loading:o}=e;return t||!o?So(fa,{}):So("span",{className:r(e.className,yo,"k-icon k-i-loading")})};j.states=ua;j.className=yo;import{Fragment as ba,jsx as Mo}from"react/jsx-runtime";var ko="k-input-validation-icon",ha=[i.valid,i.invalid,i.disabled,i.loading],xa={},W=e=>{let{valid:t,invalid:o,disabled:n,loading:a}=e,l=o?"warning-circle":"check-circle";return n||a||!!!(t||o)?Mo(ba,{}):Mo(x,{className:r(ko),icon:l})};W.states=ha;W.options=xa;W.className=ko;import{Fragment as Ca,jsx as Lo}from"react/jsx-runtime";var va="k-input-prefix",Na={direction:"horizontal"},Ne=e=>{let{direction:t=Na.direction,...o}=e;return e.children?Lo("span",{...o,className:r(va,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Lo(Ca,{})};import{Fragment as Ia,jsx as Oo}from"react/jsx-runtime";var Aa="k-input-suffix",Ta={direction:"horizontal"},Ce=e=>{let{direction:t=Ta.direction,...o}=e;return e.children?Oo("span",{...o,className:r(Aa,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Oo(Ia,{})};import{jsx as pl}from"react/jsx-runtime";import{jsx as fl}from"react/jsx-runtime";import{jsx as Sa}from"react/jsx-runtime";var go="k-input-separator",Ea={direction:"vertical"},Ae=e=>{let{direction:t=Ea.direction,...o}=e;return Sa("span",{...o,className:r(go,e.className,{[`${go}-${t}`]:t})})};var _t="button",wo=_t;import{Fragment as Ro,jsx as Te,jsxs as Ko}from"react/jsx-runtime";var Xe="k-button",ya=["icon-button"],Ma=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],ka={size:[s.undefined,s.xsmall,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.inverse]},Pt={showArrow:!1,arrowIconName:"chevron-down"},N=e=>{let{as:t="button",size:o,rounded:n,fillMode:a,themeColor:l,showArrow:d=Pt.showArrow,arrowIconName:p=Pt.arrowIconName,variant:u,hover:h,focus:b,active:C,selected:I,disabled:y,togglable:k,ariaDisabled:L,icon:E,iconSize:S,text:_,iconClassName:V,className:Q,...me}=e,De=E!=null,Be=e.children!==void 0;return Ko(t,{className:r(Q,Xe,ho(Xe,u),A(Xe,{size:o,rounded:n,fillMode:a,themeColor:l}),g(Xe,{hover:h,focus:b,active:C,disabled:y||L,selected:I}),{"k-icon-button":!_&&!Be&&De}),"aria-pressed":k?I?"true":"false":void 0,...me,"aria-disabled":L?"true":void 0,disabled:y||void 0,children:[typeof E=="string"&&E&&Te(x,{className:r(V,"k-button-icon"),icon:E,size:S}),E&&typeof E!="string"&&Te(Ro,{children:E}),_?Ko(Ro,{children:[_&&Te("span",{className:"k-button-text",children:_}),e.children]}):e.children&&Te("span",{className:"k-button-text",children:e.children}),d&&Te("span",{className:"k-menu-button-arrow k-button-arrow",children:Te(x,{icon:p})})]})};N.states=Ma;N.options=ka;N.variants=ya;N.className=Xe;N.defaultOptions=Pt;N.moduleName=_t;N.folderName=wo;import{jsx as La}from"react/jsx-runtime";var ue=e=>La(N,{children:"Button",...e});import{Fragment as _o,jsx as ee,jsxs as Ht}from"react/jsx-runtime";var Oa=O.states,ga=O.defaultOptions,wa=O.options,Ra=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Ka=[],Ie=e=>{let{modifiers:t,valid:o,invalid:n,loading:a,disabled:l,readonly:d,...p}=e,u=t?.prefix,h=t?.suffix,b=t?.["clear-button"],C=t?.["validation-icon"],I=t?.separators;return Ht(O,{...p,valid:o,invalid:n,loading:a,disabled:l,readonly:d,style:{width:300},children:[u&&Ht(_o,{children:[ee(Ne,{children:ee(x,{icon:"lock"})}),I&&ee(Ae,{})]}),ee(oe,{placeholder:"Placeholder",value:"Value"}),C&&ee(W,{valid:o,invalid:n,loading:a,disabled:l}),ee(j,{loading:a,disabled:l}),b&&ee($,{loading:a,disabled:l,readonly:d,value:"Value"}),h&&Ht(_o,{children:[I&&ee(Ae,{}),ee(Ce,{children:ee(ue,{size:p.size,fillMode:"clear",children:"Send"})})]})]})};Ie.options=wa;Ie.states=Oa;Ie.variants=Ka;Ie.defaultOptions=ga;Ie.modifiers=Ra;Ie.className=O.className;import{jsx as _a}from"react/jsx-runtime";var Po=e=>_a(N,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as Pa}from"react/jsx-runtime";var Ho=e=>Pa(N,{icon:"folder",children:"Button",...e});import{jsx as zt}from"react/jsx-runtime";var Ha=N.options,za=N.states,Da={...N.defaultOptions,variant:"text"},Ba=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Fa=[],Ee=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return zt(Po,{...o,icon:"star"});case"icon-and-text":return zt(Ho,{...o,icon:"star",children:"Button"});default:return zt(ue,{...o,children:"Button"})}};Ee.options=Ha;Ee.states=za;Ee.variants=Ba;Ee.defaultOptions=Da;Ee.modifiers=Fa;Ee.className=N.className;import{jsx as pt}from"react/jsx-runtime";var Va="k-chip-action";var ne=e=>{let{type:t,...o}=e,n;switch(t){case"remove":n=pt(x,{icon:"x-circle",size:"small"});break;case"more":n=pt(x,{icon:"more-vertical",size:"small"});break;default:return pt(x,{icon:t,size:"small"})}return pt("span",{...o,className:r(e.className,Va,`k-chip-${t}-action`),children:n})};var Dt="avatar",zo=Dt;import{jsx as Do}from"react/jsx-runtime";var $e="k-avatar";var Ua=[i.hover,i.focus,i.active,i.selected,i.disabled],Ga={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[f.undefined,f.solid,f.outline],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary]},Bt={type:"text",border:!1},z=e=>{let{size:t,rounded:o,fillMode:n,themeColor:a,type:l=Bt.type,border:d=Bt.border,...p}=e;return Do("div",{...p,className:r(e.className,$e,A($e,{size:t,rounded:o,fillMode:n,themeColor:a}),{[`${$e}-bordered`]:d}),children:Do("span",{className:`${$e}-${l}`,children:e.children})})};z.states=Ua;z.options=Ga;z.className=$e;z.defaultOptions=Bt;z.moduleName=Dt;z.folderName=zo;var fe=z;import{jsx as Xa}from"react/jsx-runtime";var Bo=e=>Xa(fe,{type:"icon",...e});import{jsx as $a}from"react/jsx-runtime";var Fo=e=>$a(fe,{type:"text",...e});import{jsx as Wa}from"react/jsx-runtime";var Vo=e=>Wa(fe,{type:"image",...e});import{jsx as Vd}from"react/jsx-runtime";import{jsx as We}from"react/jsx-runtime";var Ja=z.options,qa=z.states,Ya={...z.defaultOptions,variant:"image"},Qa=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],Za=[],Se=e=>{let{variant:t,...o}=e;switch(t){case"icon":return We(Bo,{...o,children:We(x,{icon:"star"})});case"text":return We(Fo,{...o,children:"JO"});default:return We(Vo,{...o,children:We("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};Se.options=Ja;Se.states=qa;Se.variants=Qa;Se.defaultOptions=Ya;Se.modifiers=Za;Se.className=z.className;var Je="chip",ct=Je,mt="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg";import{jsx as ye,jsxs as ti}from"react/jsx-runtime";var ut="k-chip",ja=[i.hover,i.focus,i.active,i.selected,i.disabled],ei={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[f.undefined,f.solid,f.outline],themeColor:[m.undefined,m.base,m.success,m.warning,m.error,m.info]},Uo={avatarImage:"/packages/html/assets/avatar.jpg"},B=e=>{let{size:t,rounded:o,fillMode:n,themeColor:a,text:l,icon:d,actions:p,showAvatar:u,avatarImage:h=Uo.avatarImage,hover:b,focus:C,active:I,selected:y,disabled:k,...L}=e;return ti("div",{...L,className:r(e.className,ut,A(ut,{size:t,rounded:o,fillMode:n,themeColor:a}),g(ut,{hover:b,focus:C,active:I,disabled:k,selected:y})),role:e.role||"button","aria-pressed":e.role==="option"?void 0:y?"true":"false",...e.role==="option"&&y!==void 0&&{"aria-selected":y?"true":"false"},"aria-disabled":k?"true":void 0,children:[d&&ye(x,{className:"k-chip-icon",icon:d,size:"small"}),u&&ye(z,{className:"k-chip-avatar",type:"image",children:ye("img",{src:h,alt:""})}),ye("span",{className:"k-chip-content",children:e.children?e.children:l&&ye("span",{className:"k-chip-label",children:l})}),p&&ye("span",{className:"k-chip-actions",children:p})]})};B.states=ja;B.options=ei;B.className=ut;B.defaultOptions=Uo;B.moduleName=Je;B.folderName=ct;var G=B;import{jsx as ii}from"react/jsx-runtime";var Ft="k-chip-list",oi=[],ni={size:[s.undefined,s.small,s.medium,s.large]},ai={},w=e=>{let{size:t,multiselectable:o,ariaLabel:n,...a}=e;return ii("div",{...a,className:r(e.className,Ft,A(Ft,{size:t})),role:e.role||"listbox","aria-label":e.role==="none"?void 0:n||"chip list","aria-orientation":e.role==="none"?void 0:"horizontal","aria-multiselectable":o?"true":void 0,children:e.children})};w.states=oi;w.options=ni;w.className=Ft;w.defaultOptions=ai;w.moduleName=Je;w.folderName=ct;import{jsx as vp}from"react/jsx-runtime";import{jsx as Tp}from"react/jsx-runtime";import{jsx as ri}from"react/jsx-runtime";var ft=e=>ri(G,{text:"text",...e});import{jsx as Op}from"react/jsx-runtime";import{jsx as Kp}from"react/jsx-runtime";import{Fragment as Bp,jsx as Dp,jsxs as Fp}from"react/jsx-runtime";import{jsx as $p,jsxs as Wp}from"react/jsx-runtime";import{jsx as Zp,jsxs as jp}from"react/jsx-runtime";import{jsx as ic,jsxs as rc}from"react/jsx-runtime";import{jsx as Me,jsxs as mi}from"react/jsx-runtime";var si={...G.options,...w.options},li=[],di=w.states,pi={...G.defaultOptions,...w.defaultOptions},ci=[{name:"icon",title:"Icon",type:"boolean"},{name:"actions",title:"Actions",type:"boolean"},{name:"avatar",title:"Avatar",type:"boolean"}],ke=e=>{let{modifiers:t,className:o,...n}=e,a=t?.icon,l=t?.actions,d=t?.avatar,p=d?mt:void 0;return mi(w,{size:n.size,className:o,children:[Me(ft,{...n,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:l?Me(ne,{type:"remove"}):void 0,showAvatar:d,avatarImage:p,children:"Chip"}),Me(ft,{...n,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:l?Me(ne,{type:"remove"}):void 0,showAvatar:d,avatarImage:p,children:"Chip"}),Me(ft,{...n,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:l?Me(ne,{type:"remove"}):void 0,showAvatar:d,avatarImage:p,children:"Chip"})]})};ke.options=si;ke.states=di;ke.variants=li;ke.defaultOptions=pi;ke.modifiers=ci;ke.className=w.className;import{jsx as Vt}from"react/jsx-runtime";var ui=B.states,fi=B.defaultOptions,hi=B.options,xi=[],bi=[{name:"icon",title:"Icon"},{name:"avatar",title:"Avatar"},{name:"remove-icon",title:"`Remove` Icon"},{name:"more-options",title:"`More options` Icon"}],Le=e=>{let{modifiers:t,...o}=e,n={};return Object.keys(t||{}).forEach(a=>{switch(a){case"icon":n.icon=t?.[a]?"arrow-down":void 0;break;case"avatar":n.showAvatar=!!t?.[a],n.avatarImage=t?.[a]?mt:void 0;break;case"more-options":n.actions||(n.actions=[]),n.actions[0]=t?.[a]?Vt(ne,{type:"more"}):void 0;break;case"remove-icon":n.actions||(n.actions=[]),n.actions[1]=t?.[a]?Vt(ne,{type:"remove"}):void 0;break;default:break}}),Vt(B,{...o,...n,children:"Chip component"})};Le.options=hi;Le.states=ui;Le.variants=xi;Le.defaultOptions=fi;Le.modifiers=bi;Le.className=B.className;var Ut="popup",Go=Ut;import{jsx as Xo}from"react/jsx-runtime";var $o="k-animation-container",vi=[],Ni={},Gt={positionMode:"absolute",shown:!0},te=e=>{let{positionMode:t=Gt.positionMode,shown:o=Gt.shown,animationStyle:n,offset:a,...l}=e;return Xo("div",{...l,style:{...a,...e.style},className:r(e.className,$o,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Xo("div",{className:"k-child-animation-container",style:n,children:e.children})})};te.states=vi;te.options=Ni;te.className=$o;te.defaultOptions=Gt;te.moduleName=Ut;te.folderName=Go;var Xt="popup",Wo=Xt;import{jsx as Jo}from"react/jsx-runtime";var qo="k-popup",Ci=[],Ai={},Yo={positionMode:"absolute"},ie=e=>{let{offset:t,positionMode:o=Yo.positionMode,animationStyle:n,containerClassName:a,containerRole:l,containerAriaLabel:d,...p}=e;return Jo(te,{positionMode:o,offset:t,animationStyle:n,className:a,role:l,"aria-label":d,children:Jo("div",{...p,className:r(e.className,qo),children:e.children})})};ie.states=Ci;ie.options=Ai;ie.className=qo;ie.defaultOptions=Yo;ie.moduleName=Xt;ie.folderName=Wo;var $t="action-buttons",Qo=$t;import{jsx as Ei}from"react/jsx-runtime";var ht="k-actions",Ti=[],Ii={},Wt={alignment:"start",orientation:"horizontal"},re=e=>{let{alignment:t=Wt.alignment,orientation:o=Wt.orientation,...n}=e;return Ei("div",{...n,className:r(ht,{[`${ht}-${t}`]:t,[`${ht}-${o}`]:o},e.className),children:e.children})};re.states=Ti;re.options=Ii;re.className=ht;re.defaultOptions=Wt;re.moduleName=$t;re.folderName=Qo;import{jsx as yi}from"react/jsx-runtime";var Si="k-actionsheet-footer",Zo={alignment:"stretched",orientation:"horizontal"},Oe=e=>{let{alignment:t=Zo.alignment,orientation:o=Zo.orientation,template:n,as:a=n?"div":re,...l}=e;return yi(a,{...l,...!n&&{alignment:t,orientation:o},className:r(e.className,Si),children:e.children})};var Jt="searchbox",jo=Jt;import{jsx as qe,jsxs as Li}from"react/jsx-runtime";var en="k-searchbox",Mi=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],ki={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},xt={showIcon:!0,showClearButton:!0,icon:"search"},se=e=>{let{value:t,placeholder:o,size:n,rounded:a,fillMode:l,hover:d,focus:p,valid:u,invalid:h,required:b,loading:C,disabled:I,showIcon:y=xt.showIcon,showClearButton:k=xt.showClearButton,icon:L=xt.icon,"aria-label":E,...S}=e;return Li(O,{...S,size:n,rounded:a,fillMode:l,hover:d,focus:p,valid:u,invalid:h,required:b,loading:C,disabled:I,className:r(e.className,en),children:[y&&qe(x,{className:"k-input-icon",icon:L}),qe(oe,{placeholder:o,value:t,"aria-label":E}),qe(j,{...e}),qe(W,{...e}),k&&qe($,{...e})]})};se.states=Mi;se.options=ki;se.className=en;se.defaultOptions=xt;se.moduleName=Jt;se.folderName=jo;import{jsx as Cm}from"react/jsx-runtime";var qt="textbox",tn=qt;import{Fragment as on,jsx as le,jsxs as Yt}from"react/jsx-runtime";var nn="k-textbox",Oi=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],gi={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},bt={showClearButton:!0,showValidationIcon:!0,separators:!0},D=e=>{let{size:t,rounded:o,fillMode:n,separators:a=bt.separators,showClearButton:l=bt.showClearButton,showValidationIcon:d=bt.showValidationIcon,prefix:p,suffix:u,type:h,value:b,placeholder:C,hover:I,focus:y,valid:k,invalid:L,required:E,loading:S,disabled:_,readonly:V,id:Q,"aria-label":me,"aria-describedby":De,...Be}=e;return Yt(O,{...Be,size:t,rounded:o,fillMode:n,hover:I,focus:y,valid:k,invalid:L,required:E,loading:S,disabled:_,readonly:V,className:r(e.className,nn),children:[p&&Yt(on,{children:[le(Ne,{children:p}),a&&le(Ae,{})]}),le(oe,{id:Q,placeholder:C,value:b,type:h,disabled:_,"aria-label":me,"aria-describedby":De,"aria-invalid":L?"true":void 0}),d&&le(W,{valid:k,invalid:L,loading:S,disabled:_}),le(j,{loading:S,disabled:_}),l&&le($,{loading:S,disabled:_,readonly:V,value:b}),u&&Yt(on,{children:[a&&le(Ae,{}),le(Ce,{children:u})]})]})};D.states=Oi;D.options=gi;D.className=nn;D.defaultOptions=bt;D.moduleName=qt;D.folderName=tn;var Ye=D;import{jsx as wi}from"react/jsx-runtime";var an=e=>wi(Ye,{...e});import{Fragment as zm,jsx as Hm}from"react/jsx-runtime";import{Fragment as Gm,jsx as Um}from"react/jsx-runtime";import{jsx as Jm}from"react/jsx-runtime";import{jsx as Qt}from"react/jsx-runtime";var Ri=D.states,Ki=D.defaultOptions,_i=D.options,Pi=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Hi=[],ge=e=>{let{modifiers:t,...o}=e,n={};return Object.keys(t||{}).forEach(a=>{switch(a){case"prefix":n.prefix=t?.[a]?Qt(x,{icon:"lock"}):void 0;break;case"suffix":n.suffix=t?.[a]?Qt(ue,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":n.showClearButton=t?.[a];break;default:break}}),Qt(an,{value:"Value",style:{width:300},...o,...n})};ge.options=_i;ge.states=Ri;ge.variants=Hi;ge.defaultOptions=Ki;ge.modifiers=Pi;ge.className=D.className;import{jsx as de,jsxs as Zt}from"react/jsx-runtime";var rn="k-actionsheet-titlebar",zi={},J=e=>{let{title:t,subtitle:o,actionsStart:n,actionsEnd:a,filter:l,input:d,inputValue:p,inputPlaceholder:u,adaptive:h,titleId:b,children:C,...I}=e;return Zt("div",{...I,className:r(e.className,rn),children:[Zt("div",{className:"k-actionsheet-titlebar-group",children:[n&&de("div",{className:"k-actionsheet-actions",children:n}),!C&&Zt("div",{className:"k-actionsheet-title",id:b,children:[t&&de("div",{className:"k-text-center",children:t}),o&&de("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),C&&de("div",{className:"k-actionsheet-title",id:b,children:C}),a&&de("div",{className:"k-actionsheet-actions",children:a})]}),(d||l)&&de("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?de(D,{value:p,placeholder:u,size:h?"large":"medium","aria-label":t||u||"Input"}):de(se,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};J.className=rn;J.defaultOptions=zi;import{jsx as jt,jsxs as Vi}from"react/jsx-runtime";var eo="k-actionsheet-view",Di=[],Bi={},Fi={},we=e=>{let{adaptive:t,animated:o,children:n,header:a,footer:l,titleId:d,...p}=e,u=a?.type===J&&jt(J,{adaptive:t,titleId:d,...a?.props}),h=l?.type===Oe&&jt(Oe,{...l?.props});return Vi("div",{...p,className:r(e.className,eo,{[`${eo}-animated`]:o}),children:[u,jt("div",{className:"k-actionsheet-content",children:n}),h]})};we.states=Di;we.options=Bi;we.className=eo;we.defaultOptions=Fi;var Qe="action-sheet",vt=Qe;var to="overlay",sn=to;import{jsx as $i}from"react/jsx-runtime";var ln="k-overlay",Ui=[],Gi={},Xi={},pe=e=>{let{...t}=e;return $i("div",{...t,className:r(e.className,ln),children:e.children})};pe.states=Ui;pe.options=Gi;pe.className=ln;pe.defaultOptions=Xi;pe.moduleName=to;pe.folderName=sn;import{jsx as Nt,jsxs as qi}from"react/jsx-runtime";var dn="k-actionsheet",Wi=[],Ji={},Ze={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},K=e=>{let{side:t=Ze.side,fullscreen:o=Ze.fullscreen,adaptive:n=Ze.adaptive,overlay:a=Ze.overlay,template:l,children:d,header:p,footer:u,id:h,...b}=e,C=h&&!l&&p?`${h}-title`:void 0;return qi("div",{className:"k-actionsheet-container",children:[a&&Nt(pe,{}),Nt(te,{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:Nt("div",{...b,id:h,role:"dialog","aria-modal":a?"true":void 0,"aria-labelledby":C,className:r(e.className,dn,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":n}),children:l||Nt(we,{header:p,footer:u,adaptive:n,titleId:C,...e,children:d})})})]})};K.states=Wi;K.options=Ji;K.className=dn;K.defaultOptions=Ze;K.moduleName=Qe;K.folderName=vt;import{jsx as ji}from"react/jsx-runtime";var pn="k-actionsheet-container",Yi=[],Qi={},Zi={},Re=e=>{let{children:t,...o}=e;return ji("div",{...o,className:pn,children:t})};Re.states=Yi;Re.options=Qi;Re.className=pn;Re.defaultOptions=Zi;Re.moduleName=Qe;Re.folderName=vt;import{jsx as er}from"react/jsx-runtime";var oo=e=>{let{...t}=e;return er("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as or,jsx as je,jsxs as no}from"react/jsx-runtime";var ao="k-actionsheet-item",tr=[i.hover,i.focus,i.selected,i.disabled],ce=e=>{let{iconName:t,text:o,description:n,hover:a,focus:l,selected:d,disabled:p,...u}=e;return no("span",{...u,className:r(e.className,ao,g(ao,{hover:a,focus:l,selected:d,disabled:p})),children:[!e.children&&je(or,{children:no("span",{className:"k-actionsheet-action",children:[t&&je("span",{className:"k-icon-wrap",children:je(x,{className:"k-actionsheet-item-icon",icon:t})}),no("span",{className:"k-actionsheet-item-text",children:[o&&je("span",{className:"k-actionsheet-item-title",children:o}),n&&je("span",{className:"k-actionsheet-item-description",children:n})]})]})}),e.children]})};ce.states=tr;ce.className=ao;import{jsx as Wu,jsxs as Ju}from"react/jsx-runtime";import{jsx as Zu}from"react/jsx-runtime";import{jsx as of}from"react/jsx-runtime";import{jsx as sf}from"react/jsx-runtime";import{jsx as R,jsxs as io}from"react/jsx-runtime";var nr=K.options,ar=K.states,mn={...K.defaultOptions,variant:"normal"},ir=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],rr=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Ke=e=>{let{variant:t,modifiers:o,...n}={...mn,...e},a={},l=io(oo,{children:[R(ce,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),R(ce,{text:"Add to Favorites",iconName:"heart"}),R(ce,{text:"Upload New",iconName:"upload",disabled:!0}),R("hr",{className:"k-hr"}),R(ce,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",p="Select Item";return t==="fullScreen"&&(a.fullScreen=!0),Object.keys(o||{}).forEach(u=>{switch(u){case"actions":a.actionsStart=!!o?.[u],a.actionsEnd=!!o?.[u];break;case"subtitle":a.subtitle=o?.[u]?d:void 0;break;case"footer":a.footer=!!o?.[u];break;default:break}}),t==="adaptive"?R(K,{...n,adaptive:!0,fullscreen:a.fullScreen,header:R(J,{actionsStart:a.actionsStart?R(N,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:a.actionsEnd?R(N,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:p,subtitle:a.subtitle}),footer:a.footer?io(Oe,{alignment:"stretched",children:[R(N,{text:"Cancel",size:"large",themeColor:"base"}),R(N,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:l}):R(K,{...n,fullscreen:a.fullScreen,header:R(J,{actionsStart:a.actionsStart?R(N,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:a.actionsEnd?R(N,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:a.subtitle}),footer:a.footer?io(Oe,{alignment:"stretched",children:[R(N,{text:"Apply",themeColor:"primary"}),R(N,{text:"Cancel",themeColor:"base"})]}):void 0,children:l})};Ke.options=nr;Ke.states=ar;Ke.variants=ir;Ke.defaultOptions=mn;Ke.modifiers=rr;Ke.className=K.className;import so from"react";import ro from"react";import{jsx as lr}from"react/jsx-runtime";var sr="k-treeview-group",F=e=>{let{children:t,dir:o,level:n=1,role:a="group",...l}=e;return lr("ul",{...l,className:r(e.className,sr),role:a,children:ro.Children.map(t,(d,p)=>ro.isValidElement(d)?ro.cloneElement(d,{dir:o,level:n,key:p}):d)})};var et="treeview",Ct=et;import{jsx as un}from"react/jsx-runtime";var lo="k-treeview",dr=[],pr={size:[s.undefined,s.small,s.medium,s.large]},cr={},M=e=>{let{size:t,children:o,dir:n,...a}=e;return un("div",{...a,dir:n,className:r(e.className,lo,A(lo,{size:t})),children:un(F,{className:"k-treeview-lines",role:"tree",dir:n,children:so.Children.map(o,(l,d)=>so.isValidElement(l)?so.cloneElement(l,{dir:n,key:d}):l)})})};M.states=dr;M.options=pr;M.className=lo;M.defaultOptions=cr;M.moduleName=et;M.folderName=Ct;import co from"react";var he="checkbox",_e=he;import{jsx as fn}from"react/jsx-runtime";var At="k-checkbox",mr=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],ur={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full]},fr={},q=e=>{let{id:t,checked:o,indeterminate:n,hover:a,focus:l,disabled:d,invalid:p,valid:u,required:h,size:b,rounded:C,wrapperRole:I,...y}=e;return fn("span",{className:"k-checkbox-wrap",role:I,children:fn("input",{...y,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:d||void 0,"aria-invalid":p?"true":void 0,className:r(e.className,At,A(At,{size:b,rounded:C}),g(At,{hover:a,focus:l,disabled:d,invalid:p,valid:u,indeterminate:n,checked:o}))})})};q.states=mr;q.options=ur;q.className=At;q.defaultOptions=fr;q.moduleName=he;q.folderName=_e;var Y=q;import{jsx as br}from"react/jsx-runtime";var hn="k-checkbox-list",hr=[],xr={},xn={layout:"vertical"},P=e=>{let{layout:t=xn.layout,...o}=e;return br("ul",{...o,className:r(e.className,hn,{[`k-list-${t}`]:t}),children:e.children})};P.states=hr;P.options=xr;P.className=hn;P.defaultOptions=xn;P.moduleName=he;P.folderName=_e;import{jsx as Ar}from"react/jsx-runtime";var bn="k-checkbox-list-item",vr=[],Nr={},Cr={},H=e=>{let{...t}=e;return Ar("li",{...t,className:r(e.className,bn),children:e.children})};H.states=vr;H.options=Nr;H.className=bn;H.defaultOptions=Cr;H.moduleName=he;H.folderName=_e;import{Fragment as Tr,jsx as vn,jsxs as Ir}from"react/jsx-runtime";var ae=({children:e="Label",id:t="cb-label-after",...o})=>Ir(Tr,{children:[vn(Y,{id:t,...o}),vn("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as sh,jsx as rh,jsxs as lh}from"react/jsx-runtime";import{Fragment as uh,jsx as mh,jsxs as fh}from"react/jsx-runtime";import{Fragment as Nh,jsx as vh,jsxs as Ch}from"react/jsx-runtime";import{jsx as Eh}from"react/jsx-runtime";import{jsx as kh}from"react/jsx-runtime";import{jsx as wh}from"react/jsx-runtime";import{jsx as X,jsxs as Nn}from"react/jsx-runtime";var Er=P.options,Sr=P.states,yr={...P.defaultOptions,variant:"vertical"},Mr=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],kr=[],Pe=e=>{let{variant:t,...o}=e;return t==="horizontal"?Nn(P,{layout:"horizontal",...o,children:[X(H,{children:X(ae,{id:U("cb"),defaultChecked:!0,children:"Label"})}),X(H,{children:X(ae,{id:U("cb"),children:"Label"})}),X(H,{children:X(ae,{id:U("cb"),children:"Label"})})]}):Nn(P,{...o,children:[X(H,{children:X(ae,{id:U("cb"),defaultChecked:!0,children:"Label"})}),X(H,{children:X(ae,{id:U("cb"),children:"Label"})}),X(H,{children:X(ae,{id:U("cb"),children:"Label"})})]})};Pe.options=Er;Pe.states=Sr;Pe.variants=Mr;Pe.defaultOptions=yr;Pe.modifiers=kr;Pe.className=P.className;import{jsx as Kr}from"react/jsx-runtime";var Lr=Y.options,Or=Y.states,gr=Y.defaultOptions,wr=[],Rr=[],He=e=>Kr(ae,{id:U("checkbox"),...e,defaultChecked:!0,children:"Label"});He.options=Lr;He.states=Or;He.variants=wr;He.defaultOptions=gr;He.modifiers=Rr;He.className=Y.className;import{jsx as Cn,jsxs as Hr}from"react/jsx-runtime";var po="k-treeview-leaf",_r=[i.hover,i.focus,i.selected],Pr={},Tt=e=>{let{text:t,showIcon:o,icon:n,hover:a,focus:l,selected:d,...p}=e;return Hr("span",{...p,className:r(e.className,po,g(po,{hover:a,focus:l,selected:d})),children:[o&&Cn(x,{icon:n}),Cn("span",{className:"k-treeview-leaf-text",children:t})]})};Tt.states=_r;Tt.options=Pr;Tt.className=po;var An=Tt;import{jsx as tt,jsxs as Tn}from"react/jsx-runtime";var In="k-treeview-item",zr=[i.hover,i.focus,i.selected,i.disabled],Dr={},Br={},v=e=>{let{leafClassName:t,children:o,hasChildren:n,expanded:a,loading:l,text:d,showIcon:p,icon:u,showCheckbox:h,checked:b,hover:C,focus:I,selected:y,disabled:k,dir:L,level:E=1,ariaSelected:S,..._}=e,V=n||o||l;return Tn("li",{..._,className:r(e.className,In),style:{"--kendo-treeview-level":E},role:"treeitem","aria-expanded":V?a?"true":"false":void 0,"aria-checked":h?b?"true":"false":void 0,"aria-selected":S?"true":void 0,"aria-disabled":k?"true":void 0,children:[Tn("span",{className:r("k-treeview-item-content",g("k-treeview-item-content",{hover:C,focus:I,selected:y,disabled:k})),children:[V&&tt("span",{className:r("k-treeview-toggle",g("k-treeview-toggle",{disabled:k})),children:l?tt("span",{className:"k-icon k-i-loading"}):tt(x,{icon:a?"chevron-down":L==="rtl"?"chevron-left":"chevron-right"})}),h&&tt(q,{checked:b,disabled:k,"aria-label":d,tabIndex:-1}),tt(An,{className:t,text:d,showIcon:p,icon:u})]}),a&&V&&co.Children.map(o,(Q,me)=>co.isValidElement(Q)?co.cloneElement(Q,{dir:L,level:E+1,key:me}):Q)]})};v.states=zr;v.options=Dr;v.className=In;v.defaultOptions=Br;v.moduleName=et;v.folderName=Ct;import{jsx as Cx}from"react/jsx-runtime";import{jsx as Ex,jsxs as Sx}from"react/jsx-runtime";import{jsx as Lx,jsxs as Ox}from"react/jsx-runtime";import{jsx as Kx,jsxs as _x}from"react/jsx-runtime";import{jsx as Dx,jsxs as Bx}from"react/jsx-runtime";import{jsx as Gx,jsxs as Xx}from"react/jsx-runtime";import{jsx as xe,jsxs as mo}from"react/jsx-runtime";var Fr=M.options,Vr=M.states,Ur=M.defaultOptions,Gr=[{name:"checkboxes",title:"Show `Checkbox`",default:!1}],Xr=[],ze=e=>{let{modifiers:t,...o}=e,n={};return Object.keys(t||{}).forEach(a=>{a==="checkboxes"&&(n.showCheckbox=t?.[a])}),mo(M,{...o,children:[xe(v,{text:"Furniture",expanded:!0,...n,children:mo(F,{children:[xe(v,{text:"Tables & Chairs",...n}),xe(v,{text:"Sofas",...n}),xe(v,{text:"Occasional Furniture",...n})]})}),mo(v,{text:"Decor",expanded:!1,...n,children:[xe(v,{text:"Bed Linen",...n}),xe(v,{text:"Curtains & Blinds",...n}),xe(v,{text:"Carpets",...n})]})]})};ze.options=Fr;ze.states=Vr;ze.variants=Xr;ze.defaultOptions=Ur;ze.modifiers=Gr;ze.className=M.className;var En="dropdown-tree",Sn="dropdowntree";import{Fragment as yn,jsx as T,jsxs as ot}from"react/jsx-runtime";var Mn="k-multiselecttree",$r=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Wr={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},kn={showClearButton:!0},be=e=>{let{size:t,rounded:o,fillMode:n,showClearButton:a=kn.showClearButton,prefix:l,suffix:d,placeholder:p,tags:u,popup:h,showArrowButton:b,hover:C,focus:I,valid:y,invalid:k,required:L,loading:E,disabled:S,readonly:_,opened:V,dir:Q,adaptive:me,adaptiveSettings:De,adaptiveTitle:Be,adaptiveSubtitle:On,adaptiveFilter:gn,id:uo,treeviewId:wn,"aria-label":Rn,...Kn}=e,fo=uo?`${uo}-taglist`:void 0;return ot(yn,{children:[ot(O,{...Kn,dir:Q,size:t,rounded:o,fillMode:n,hover:C,focus:I,valid:y,invalid:k,required:L,loading:E,disabled:S,readonly:_,className:r(e.className,Mn),children:[T(Ne,{children:l}),T(w,{size:t,className:"k-input-values",id:fo,children:T(yn,{children:u})}),T("span",{className:"k-input-inner",role:"combobox","aria-haspopup":"tree","aria-expanded":V?"true":"false","aria-controls":V?wn:void 0,"aria-autocomplete":"list","aria-describedby":u?fo:void 0,"aria-disabled":S?"true":void 0,"aria-label":Rn,tabIndex:0,children:!u&&T("span",{className:"k-input-value-text",children:p})}),T(W,{valid:y,invalid:k,loading:E,disabled:S}),T(j,{loading:E,disabled:S}),a&&T($,{loading:E,disabled:S,readonly:_,value:u?"value":""}),T(Ce,{children:d}),b&&T(N,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:n,"aria-label":"Toggle dropdown",tabIndex:-1})]}),V&&h&&T(ie,{className:"k-multiselecttree-popup",dir:Q,containerRole:"region",containerAriaLabel:"MultiSelectTree options",children:h}),me&&T(K,{adaptive:!0,...De,header:T(J,{actionsEnd:T(N,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:gn,inputPlaceholder:p,title:Be,subtitle:On}),children:ot(M,{size:"large",children:[T(v,{text:"Root 1"}),T(v,{text:"Root 2",expanded:!0,children:ot(F,{children:[T(v,{text:"Child 2.1"}),T(v,{text:"Child 2.2",children:T(F,{children:T(v,{text:"Child 2.2.1"})})}),T(v,{text:"Child 2.3"}),T(v,{leafClassName:"k-treeview-load-more-button",text:"Load more ..."})]})}),T(v,{text:"Root 3",children:ot(F,{children:[T(v,{text:"Child 3.1"}),T(v,{text:"Child 3.2"}),T(v,{text:"Child 3.3"})]})})]})})]})};be.states=$r;be.options=Wr;be.className=Mn;be.defaultOptions=kn;be.moduleName=En;be.folderName=Sn;var Ln=be;import{jsx as Jr}from"react/jsx-runtime";var Sb=e=>Jr(Ln,{id:U("mst"),"aria-label":"Select options",adaptive:!0,adaptiveTitle:"MultiSelectTree",adaptiveSettings:{id:U("mst-as")},...e});export{Sb as MultiSelectTreeAdaptive};
1
+ var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,n)=>t[n]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var A=(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"}),O=(e,t)=>{let{valid:o,invalid:n,hover:a,focus:l,checked:d,active:c,selected:u,disabled:h,indeterminate:b,loading:N,empty:I,readonly:M,highlighted:R,...y}=t;return r({"k-valid":o,"k-invalid":n,"k-hover":a,"k-focus":l,"k-checked":d,"k-active":c,"k-selected":u,"k-disabled":h,"k-indeterminate":b&&!d,"k-loading":N,"k-empty":I,"k-readonly":M,"k-highlighted":R},Object.keys(y).reduce((E,S)=>(S.startsWith("k-")?E[S]=y[S]:E[`k-${S}`]=y[S],E),{}))};function ho(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(n=>[`k-${n}`,!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"},f={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Z={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 It={};function V(e){return It[e]=(It[e]||0)+1,`k-${e}-${It[e]}`}var Fe="input",nt=Fe;import{jsx as zn}from"react/jsx-runtime";var at="k-input",_n=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Pn={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Hn={},L=e=>{let{hover:t,focus:o,disabled:n,invalid:a,valid:l,loading:d,readonly:c,size:u,rounded:h,fillMode:b,...N}=e;return zn("span",{...N,className:r(e.className,at,A(at,{size:u,rounded:h,fillMode:b}),O(at,{hover:t,focus:o,disabled:n,invalid:a,valid:l,loading:d,readonly:c}))})};L.states=_n;L.options=Pn;L.className=at;L.defaultOptions=Hn;L.moduleName=Fe;L.folderName=nt;import{jsx as Vn}from"react/jsx-runtime";var it="k-picker",Dn=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Bn={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Fn={},Ne=e=>{let{hover:t,focus:o,disabled:n,invalid:a,valid:l,loading:d,readonly:c,size:u,rounded:h,fillMode:b,...N}=e;return Vn("span",{...N,className:r(e.className,it,A(it,{size:u,rounded:h,fillMode:b}),O(it,{hover:t,focus:o,disabled:n,invalid:a,valid:l,loading:d,readonly:c})),children:e.children})};Ne.states=Dn;Ne.options=Bn;Ne.className=it;Ne.defaultOptions=Fn;Ne.moduleName=Fe;Ne.folderName=nt;import{Fragment as $n,jsx as xo}from"react/jsx-runtime";var Et="k-font-icon",Un=[],Gn={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]},Xn={},Ve=e=>{let{size:t,themeColor:o,icon:n,rotate:a,flip:l,...d}=e;return n?xo("span",{...d,className:r(e.className,Et,A(Et,{size:t}),{[`k-i-${n}`]:n,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true"}):xo($n,{})};Ve.states=Un;Ve.options=Gn;Ve.className=Et;Ve.defaultOptions=Xn;var bo=Ve;import{Fragment as qn,jsx as rt}from"react/jsx-runtime";var St="k-svg-icon",Wn=[],Jn={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:[Z.outline,Z.solid,Z.duotone]},yt={viewBox:"0 0 24 24",variant:Z.outline},Ue=e=>{let{size:t,themeColor:o,rotate:n,flip:a,viewBox:l=yt.viewBox,variant:d=yt.variant,icon:c,...u}=e;if(!c)return rt(qn,{});if(c==="none")return rt("span",{...u,className:r(e.className,St,A("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let h=typeof c=="object"&&c.name&&c.name,b=typeof c=="object"?d&&c.variants?.[d]||c.variants?.outline||c.content:void 0;return rt("span",{...u,className:r(e.className,St,A("k-icon",{size:t}),{[`k-svg-i-${h}`]:h,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":a==="h"||a==="both","k-flip-v":a==="v"||a==="both"}),"aria-hidden":"true",children:rt("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:l,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:c?void 0:e.children})})};Ue.states=Wn;Ue.options=Jn;Ue.className=St;Ue.defaultOptions=yt;var Mt=Ue;import*as kt from"@progress/kendo-svg-icons";var vo="icon",No="icons";import{useContext as Qn}from"react";import{createContext as Yn}from"react";var Co=Yn({iconsType:"svg"});import{Fragment as Ao,jsx as Ge}from"react/jsx-runtime";var st="k-icon",Zn=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),jn=[],ea={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:[Z.outline,Z.solid,Z.duotone]},lt={viewBox:"0 0 24 24",type:"svg",variant:Z.outline},x=e=>{let{iconsType:t}=Qn(Co),{size:o,themeColor:n,icon:a,type:l=t||lt.type,rotate:d,flip:c,viewBox:u=lt.viewBox,variant:h=lt.variant,...b}=e;if(!a)return Ge(Ao,{});if((t||l)==="svg"){if(a==="none")return Ge(Mt,{...b,className:r(e.className,st),icon:a,size:o,variant:h});let I=kt[a]?a:Zn(`${a}-icon`);return kt[I]?Ge(Mt,{...b,className:r(e.className,st),icon:kt[I],size:o,themeColor:n,rotate:d,flip:c,viewBox:u,variant:h}):Ge(Ao,{})}return Ge(bo,{...b,className:r(e.className,st),icon:a,size:o,themeColor:n,rotate:d,flip:c})};x.states=jn;x.options=ea;x.defaultOptions=lt;x.className=st;x.moduleName=vo;x.folderName=No;import{Fragment as na,jsx as Lt}from"react/jsx-runtime";var To="k-clear-value",ta=[i.disabled,i.loading,i.readonly],oa={},X=e=>{let{disabled:t,loading:o,readonly:n,value:a}=e;return t||n||o||!a?Lt(na,{}):Lt("span",{className:r(e.className,To),children:Lt(x,{icon:"x"})})};X.states=ta;X.options=oa;X.className=To;import{jsx as ra}from"react/jsx-runtime";var Ot="k-input-inner",aa=[],ia={},dt={type:"text",autocomplete:"off",value:"",placeholder:""},ne=e=>{let{value:t=dt.value,type:o=dt.type,placeholder:n=dt.placeholder,autocomplete:a=dt.autocomplete,disabled:l,readOnly:d,...c}=e;return ra("input",{...c,type:o,className:r(e.className,Ot,A(Ot,e)),placeholder:n,autoComplete:a,defaultValue:t,disabled:l||void 0,readOnly:d||void 0})};ne.states=aa;ne.options=ia;ne.className=Ot;import{jsx as Io,jsxs as da}from"react/jsx-runtime";var gt="k-input-inner",sa=[],la={},wt=e=>{let{value:t,placeholder:o,showValue:n,valueIcon:a,valueIconName:l,...d}=e;return da("span",{...d,className:r(e.className,gt,A(gt,e)),children:[a,!a&&l&&Io(x,{className:"k-input-value-icon",icon:l}),n&&!t&&o,n&&t&&Io("span",{className:"k-input-value-text",children:t})]})};wt.states=sa;wt.options=la;wt.className=gt;import{jsx as ma}from"react/jsx-runtime";var Rt="k-input-inner",ca=[],pa={},Eo={value:"",placeholder:""},Kt=e=>{let{value:t=Eo.value,placeholder:o=Eo.placeholder,rows:n,disabled:a,...l}=e;return ma("textarea",{...l,className:r(e.className,Rt,A(Rt,e)),placeholder:o,rows:n,defaultValue:t,disabled:a||void 0})};Kt.states=ca;Kt.options=pa;Kt.className=Rt;import{Fragment as fa,jsx as So}from"react/jsx-runtime";var yo="k-input-loading-icon",ua=[i.disabled,i.loading],j=e=>{let{disabled:t,loading:o}=e;return t||!o?So(fa,{}):So("span",{className:r(e.className,yo,"k-icon k-i-loading")})};j.states=ua;j.className=yo;import{Fragment as ba,jsx as Mo}from"react/jsx-runtime";var ko="k-input-validation-icon",ha=[i.valid,i.invalid,i.disabled,i.loading],xa={},$=e=>{let{valid:t,invalid:o,disabled:n,loading:a}=e,l=o?"warning-circle":"check-circle";return n||a||!!!(t||o)?Mo(ba,{}):Mo(x,{className:r(ko),icon:l})};$.states=ha;$.options=xa;$.className=ko;import{Fragment as Ca,jsx as Lo}from"react/jsx-runtime";var va="k-input-prefix",Na={direction:"horizontal"},Ce=e=>{let{direction:t=Na.direction,...o}=e;return e.children?Lo("span",{...o,className:r(va,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Lo(Ca,{})};import{Fragment as Ia,jsx as Oo}from"react/jsx-runtime";var Aa="k-input-suffix",Ta={direction:"horizontal"},Ae=e=>{let{direction:t=Ta.direction,...o}=e;return e.children?Oo("span",{...o,className:r(Aa,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Oo(Ia,{})};import{jsx as cl}from"react/jsx-runtime";import{jsx as fl}from"react/jsx-runtime";import{jsx as Sa}from"react/jsx-runtime";var go="k-input-separator",Ea={direction:"vertical"},Te=e=>{let{direction:t=Ea.direction,...o}=e;return Sa("span",{...o,className:r(go,e.className,{[`${go}-${t}`]:t})})};var _t="button",wo=_t;import{Fragment as Ro,jsx as Ie,jsxs as Ko}from"react/jsx-runtime";var Xe="k-button",ya=["icon-button"],Ma=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],ka={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:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.inverse]},Pt={showArrow:!1,arrowIconName:"chevron-down"},C=e=>{let{as:t="button",size:o,rounded:n,fillMode:a,themeColor:l,showArrow:d=Pt.showArrow,arrowIconName:c=Pt.arrowIconName,variant:u,hover:h,focus:b,active:N,selected:I,disabled:M,togglable:R,ariaDisabled:y,icon:E,iconSize:S,text:_,iconClassName:Y,className:Q,...oe}=e,ue=E!=null,Be=e.children!==void 0;return Ko(t,{className:r(Q,Xe,ho(Xe,u),A(Xe,{size:o,rounded:n,fillMode:a,themeColor:l}),O(Xe,{hover:h,focus:b,active:N,disabled:M||y,selected:I}),{"k-icon-button":!_&&!Be&&ue}),"aria-pressed":R?I?"true":"false":void 0,...oe,"aria-disabled":y?"true":void 0,disabled:M||void 0,children:[typeof E=="string"&&E&&Ie(x,{className:r(Y,"k-button-icon"),icon:E,size:S}),E&&typeof E!="string"&&Ie(Ro,{children:E}),_?Ko(Ro,{children:[_&&Ie("span",{className:"k-button-text",children:_}),e.children]}):e.children&&Ie("span",{className:"k-button-text",children:e.children}),d&&Ie("span",{className:"k-menu-button-arrow k-button-arrow",children:Ie(x,{icon:c})})]})};C.states=Ma;C.options=ka;C.variants=ya;C.className=Xe;C.defaultOptions=Pt;C.moduleName=_t;C.folderName=wo;import{jsx as La}from"react/jsx-runtime";var fe=e=>La(C,{children:"Button",...e});import{Fragment as _o,jsx as ee,jsxs as Ht}from"react/jsx-runtime";var Oa=L.states,ga=L.defaultOptions,wa=L.options,Ra=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Ka=[],Ee=e=>{let{modifiers:t,valid:o,invalid:n,loading:a,disabled:l,readonly:d,...c}=e,u=t?.prefix,h=t?.suffix,b=t?.["clear-button"],N=t?.["validation-icon"],I=t?.separators;return Ht(L,{...c,valid:o,invalid:n,loading:a,disabled:l,readonly:d,style:{width:300},children:[u&&Ht(_o,{children:[ee(Ce,{children:ee(x,{icon:"lock"})}),I&&ee(Te,{})]}),ee(ne,{placeholder:"Placeholder",value:"Value"}),N&&ee($,{valid:o,invalid:n,loading:a,disabled:l}),ee(j,{loading:a,disabled:l}),b&&ee(X,{loading:a,disabled:l,readonly:d,value:"Value"}),h&&Ht(_o,{children:[I&&ee(Te,{}),ee(Ae,{children:ee(fe,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};Ee.options=wa;Ee.states=Oa;Ee.variants=Ka;Ee.defaultOptions=ga;Ee.modifiers=Ra;Ee.className=L.className;import{jsx as _a}from"react/jsx-runtime";var Po=e=>_a(C,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as Pa}from"react/jsx-runtime";var Ho=e=>Pa(C,{icon:"folder",children:"Button",...e});import{jsx as zt}from"react/jsx-runtime";var Ha=C.options,za=C.states,Da={...C.defaultOptions,variant:"text"},Ba=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Fa=[],Se=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return zt(Po,{...o,icon:"star"});case"icon-and-text":return zt(Ho,{...o,icon:"star",children:"Button"});default:return zt(fe,{...o,children:"Button"})}};Se.options=Ha;Se.states=za;Se.variants=Ba;Se.defaultOptions=Da;Se.modifiers=Fa;Se.className=C.className;import{jsx as ct}from"react/jsx-runtime";var Va="k-chip-action";var ae=e=>{let{type:t,...o}=e,n;switch(t){case"remove":n=ct(x,{icon:"x-circle",size:"small"});break;case"more":n=ct(x,{icon:"more-vertical",size:"small"});break;default:return ct(x,{icon:t,size:"small"})}return ct("span",{...o,className:r(e.className,Va,`k-chip-${t}-action`),children:n})};var Dt="avatar",zo=Dt;import{jsx as Do}from"react/jsx-runtime";var $e="k-avatar";var Ua=[i.hover,i.focus,i.active,i.selected,i.disabled],Ga={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.outline],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary]},Bt={type:"text",border:!1},z=e=>{let{size:t,rounded:o,fillMode:n,themeColor:a,type:l=Bt.type,border:d=Bt.border,...c}=e;return Do("div",{...c,className:r(e.className,$e,A($e,{size:t,rounded:o,fillMode:n,themeColor:a}),{[`${$e}-bordered`]:d}),children:Do("span",{className:`${$e}-${l}`,children:e.children})})};z.states=Ua;z.options=Ga;z.className=$e;z.defaultOptions=Bt;z.moduleName=Dt;z.folderName=zo;var he=z;import{jsx as Xa}from"react/jsx-runtime";var Bo=e=>Xa(he,{type:"icon",...e});import{jsx as $a}from"react/jsx-runtime";var Fo=e=>$a(he,{type:"text",...e});import{jsx as Wa}from"react/jsx-runtime";var Vo=e=>Wa(he,{type:"image",...e});import{jsx as Vd}from"react/jsx-runtime";import{jsx as We}from"react/jsx-runtime";var Ja=z.options,qa=z.states,Ya={...z.defaultOptions,variant:"image"},Qa=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],Za=[],ye=e=>{let{variant:t,...o}=e;switch(t){case"icon":return We(Bo,{...o,children:We(x,{icon:"star"})});case"text":return We(Fo,{...o,children:"JO"});default:return We(Vo,{...o,children:We("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};ye.options=Ja;ye.states=qa;ye.variants=Qa;ye.defaultOptions=Ya;ye.modifiers=Za;ye.className=z.className;var Je="chip",pt=Je,mt="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg";import{jsx as Me,jsxs as ti}from"react/jsx-runtime";var ut="k-chip",ja=[i.hover,i.focus,i.active,i.selected,i.disabled],ei={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.outline],themeColor:[m.undefined,m.base,m.success,m.warning,m.error,m.info]},Uo={avatarImage:"/packages/html/assets/avatar.jpg"},B=e=>{let{size:t,rounded:o,fillMode:n,themeColor:a,text:l,icon:d,actions:c,showAvatar:u,avatarImage:h=Uo.avatarImage,hover:b,focus:N,active:I,selected:M,disabled:R,...y}=e;return ti("div",{...y,className:r(e.className,ut,A(ut,{size:t,rounded:o,fillMode:n,themeColor:a}),O(ut,{hover:b,focus:N,active:I,disabled:R,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":R?"true":void 0,children:[d&&Me(x,{className:"k-chip-icon",icon:d,size:"small"}),u&&Me(z,{className:"k-chip-avatar",type:"image",children:Me("img",{src:h,alt:""})}),Me("span",{className:"k-chip-content",children:e.children?e.children:l&&Me("span",{className:"k-chip-label",children:l})}),c&&Me("span",{className:"k-chip-actions",children:c})]})};B.states=ja;B.options=ei;B.className=ut;B.defaultOptions=Uo;B.moduleName=Je;B.folderName=pt;var U=B;import{jsx as ii}from"react/jsx-runtime";var Ft="k-chip-list",oi=[],ni={size:[s.undefined,s.small,s.medium,s.large]},ai={},g=e=>{let{size:t,multiselectable:o,ariaLabel:n,...a}=e;return ii("div",{...a,className:r(e.className,Ft,A(Ft,{size:t})),role:e.role||"listbox","aria-label":e.role==="none"?void 0:n||"chip list","aria-orientation":e.role==="none"?void 0:"horizontal","aria-multiselectable":o?"true":void 0,children:e.children})};g.states=oi;g.options=ni;g.className=Ft;g.defaultOptions=ai;g.moduleName=Je;g.folderName=pt;import{jsx as vc}from"react/jsx-runtime";import{jsx as Tc}from"react/jsx-runtime";import{jsx as ri}from"react/jsx-runtime";var ft=e=>ri(U,{text:"text",...e});import{jsx as Oc}from"react/jsx-runtime";import{jsx as Kc}from"react/jsx-runtime";import{Fragment as Bc,jsx as Dc,jsxs as Fc}from"react/jsx-runtime";import{jsx as $c,jsxs as Wc}from"react/jsx-runtime";import{jsx as Zc,jsxs as jc}from"react/jsx-runtime";import{jsx as ip,jsxs as rp}from"react/jsx-runtime";import{jsx as ke,jsxs as mi}from"react/jsx-runtime";var si={...U.options,...g.options},li=[],di=g.states,ci={...U.defaultOptions,...g.defaultOptions},pi=[{name:"icon",title:"Icon",type:"boolean"},{name:"actions",title:"Actions",type:"boolean"},{name:"avatar",title:"Avatar",type:"boolean"}],Le=e=>{let{modifiers:t,className:o,...n}=e,a=t?.icon,l=t?.actions,d=t?.avatar,c=d?mt:void 0;return mi(g,{size:n.size,className:o,children:[ke(ft,{...n,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:l?ke(ae,{type:"remove"}):void 0,showAvatar:d,avatarImage:c,children:"Chip"}),ke(ft,{...n,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:l?ke(ae,{type:"remove"}):void 0,showAvatar:d,avatarImage:c,children:"Chip"}),ke(ft,{...n,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:l?ke(ae,{type:"remove"}):void 0,showAvatar:d,avatarImage:c,children:"Chip"})]})};Le.options=si;Le.states=di;Le.variants=li;Le.defaultOptions=ci;Le.modifiers=pi;Le.className=g.className;import{jsx as Vt}from"react/jsx-runtime";var ui=B.states,fi=B.defaultOptions,hi=B.options,xi=[],bi=[{name:"icon",title:"Icon"},{name:"avatar",title:"Avatar"},{name:"remove-icon",title:"`Remove` Icon"},{name:"more-options",title:"`More options` Icon"}],Oe=e=>{let{modifiers:t,...o}=e,n={};return Object.keys(t||{}).forEach(a=>{switch(a){case"icon":n.icon=t?.[a]?"arrow-down":void 0;break;case"avatar":n.showAvatar=!!t?.[a],n.avatarImage=t?.[a]?mt:void 0;break;case"more-options":n.actions||(n.actions=[]),n.actions[0]=t?.[a]?Vt(ae,{type:"more"}):void 0;break;case"remove-icon":n.actions||(n.actions=[]),n.actions[1]=t?.[a]?Vt(ae,{type:"remove"}):void 0;break;default:break}}),Vt(B,{...o,...n,children:"Chip component"})};Oe.options=hi;Oe.states=ui;Oe.variants=xi;Oe.defaultOptions=fi;Oe.modifiers=bi;Oe.className=B.className;var Ut="popup",Go=Ut;import{jsx as Xo}from"react/jsx-runtime";var $o="k-animation-container",vi=[],Ni={},Gt={positionMode:"absolute",shown:!0},te=e=>{let{positionMode:t=Gt.positionMode,shown:o=Gt.shown,animationStyle:n,offset:a,...l}=e;return Xo("div",{...l,style:{...a,...e.style},className:r(e.className,$o,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Xo("div",{className:"k-child-animation-container",style:n,children:e.children})})};te.states=vi;te.options=Ni;te.className=$o;te.defaultOptions=Gt;te.moduleName=Ut;te.folderName=Go;var Xt="popup",Wo=Xt;import{jsx as Jo}from"react/jsx-runtime";var qo="k-popup",Ci=[],Ai={},Yo={positionMode:"absolute"},re=e=>{let{offset:t,positionMode:o=Yo.positionMode,animationStyle:n,containerClassName:a,containerRole:l,containerAriaLabel:d,...c}=e;return Jo(te,{positionMode:o,offset:t,animationStyle:n,className:a,role:l,"aria-label":d,children:Jo("div",{...c,className:r(e.className,qo),children:e.children})})};re.states=Ci;re.options=Ai;re.className=qo;re.defaultOptions=Yo;re.moduleName=Xt;re.folderName=Wo;var $t="action-buttons",Qo=$t;import{jsx as Ei}from"react/jsx-runtime";var ht="k-actions",Ti=[],Ii={},Wt={alignment:"start",orientation:"horizontal"},se=e=>{let{alignment:t=Wt.alignment,orientation:o=Wt.orientation,...n}=e;return Ei("div",{...n,className:r(ht,{[`${ht}-${t}`]:t,[`${ht}-${o}`]:o},e.className),children:e.children})};se.states=Ti;se.options=Ii;se.className=ht;se.defaultOptions=Wt;se.moduleName=$t;se.folderName=Qo;import{jsx as yi}from"react/jsx-runtime";var Si="k-actionsheet-footer",Zo={alignment:"stretched",orientation:"horizontal"},ge=e=>{let{alignment:t=Zo.alignment,orientation:o=Zo.orientation,template:n,as:a=n?"div":se,...l}=e;return yi(a,{...l,...!n&&{alignment:t,orientation:o},className:r(e.className,Si),children:e.children})};var Jt="searchbox",jo=Jt;import{jsx as qe,jsxs as Li}from"react/jsx-runtime";var en="k-searchbox",Mi=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],ki={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},xt={showIcon:!0,showClearButton:!0,icon:"search"},le=e=>{let{value:t,placeholder:o,size:n,rounded:a,fillMode:l,hover:d,focus:c,valid:u,invalid:h,required:b,loading:N,disabled:I,showIcon:M=xt.showIcon,showClearButton:R=xt.showClearButton,icon:y=xt.icon,"aria-label":E,...S}=e;return Li(L,{...S,size:n,rounded:a,fillMode:l,hover:d,focus:c,valid:u,invalid:h,required:b,loading:N,disabled:I,className:r(e.className,en),children:[M&&qe(x,{className:"k-input-icon",icon:y}),qe(ne,{placeholder:o,value:t,"aria-label":E}),qe(j,{...e}),qe($,{...e}),R&&qe(X,{...e})]})};le.states=Mi;le.options=ki;le.className=en;le.defaultOptions=xt;le.moduleName=Jt;le.folderName=jo;import{jsx as Cm}from"react/jsx-runtime";var qt="textbox",tn=qt;import{Fragment as on,jsx as de,jsxs as Yt}from"react/jsx-runtime";var nn="k-textbox",Oi=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],gi={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},bt={showClearButton:!0,showValidationIcon:!0,separators:!0},D=e=>{let{size:t,rounded:o,fillMode:n,separators:a=bt.separators,showClearButton:l=bt.showClearButton,showValidationIcon:d=bt.showValidationIcon,prefix:c,suffix:u,type:h,value:b,placeholder:N,hover:I,focus:M,valid:R,invalid:y,required:E,loading:S,disabled:_,readonly:Y,id:Q,"aria-label":oe,"aria-describedby":ue,...Be}=e;return Yt(L,{...Be,size:t,rounded:o,fillMode:n,hover:I,focus:M,valid:R,invalid:y,required:E,loading:S,disabled:_,readonly:Y,className:r(e.className,nn),children:[c&&Yt(on,{children:[de(Ce,{children:c}),a&&de(Te,{})]}),de(ne,{id:Q,placeholder:N,value:b,type:h,disabled:_,"aria-label":oe,"aria-describedby":ue,"aria-invalid":y?"true":void 0}),d&&de($,{valid:R,invalid:y,loading:S,disabled:_}),de(j,{loading:S,disabled:_}),l&&de(X,{loading:S,disabled:_,readonly:Y,value:b}),u&&Yt(on,{children:[a&&de(Te,{}),de(Ae,{children:u})]})]})};D.states=Oi;D.options=gi;D.className=nn;D.defaultOptions=bt;D.moduleName=qt;D.folderName=tn;var Ye=D;import{jsx as wi}from"react/jsx-runtime";var an=e=>wi(Ye,{...e});import{Fragment as zm,jsx as Hm}from"react/jsx-runtime";import{Fragment as Gm,jsx as Um}from"react/jsx-runtime";import{jsx as Jm}from"react/jsx-runtime";import{jsx as Qt}from"react/jsx-runtime";var Ri=D.states,Ki=D.defaultOptions,_i=D.options,Pi=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Hi=[],we=e=>{let{modifiers:t,...o}=e,n={};return Object.keys(t||{}).forEach(a=>{switch(a){case"prefix":n.prefix=t?.[a]?Qt(x,{icon:"lock"}):void 0;break;case"suffix":n.suffix=t?.[a]?Qt(fe,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":n.showClearButton=t?.[a];break;default:break}}),Qt(an,{value:"Value",style:{width:300},...o,...n})};we.options=_i;we.states=Ri;we.variants=Hi;we.defaultOptions=Ki;we.modifiers=Pi;we.className=D.className;import{jsx as ce,jsxs as Zt}from"react/jsx-runtime";var rn="k-actionsheet-titlebar",zi={},W=e=>{let{title:t,subtitle:o,actionsStart:n,actionsEnd:a,filter:l,input:d,inputValue:c,inputPlaceholder:u,adaptive:h,titleId:b,children:N,...I}=e;return Zt("div",{...I,className:r(e.className,rn),children:[Zt("div",{className:"k-actionsheet-titlebar-group",children:[n&&ce("div",{className:"k-actionsheet-actions",children:n}),!N&&Zt("div",{className:"k-actionsheet-title",id:b,children:[t&&ce("div",{className:"k-text-center",children:t}),o&&ce("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&ce("div",{className:"k-actionsheet-title",id:b,children:N}),a&&ce("div",{className:"k-actionsheet-actions",children:a})]}),(d||l)&&ce("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?ce(D,{value:c,placeholder:u,size:h?"large":"medium","aria-label":t||u||"Input"}):ce(le,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};W.className=rn;W.defaultOptions=zi;import{jsx as jt,jsxs as Vi}from"react/jsx-runtime";var eo="k-actionsheet-view",Di=[],Bi={},Fi={},Re=e=>{let{adaptive:t,animated:o,children:n,header:a,footer:l,titleId:d,...c}=e,u=a?.type===W&&jt(W,{adaptive:t,titleId:d,...a?.props}),h=l?.type===ge&&jt(ge,{...l?.props});return Vi("div",{...c,className:r(e.className,eo,{[`${eo}-animated`]:o}),children:[u,jt("div",{className:"k-actionsheet-content",children:n}),h]})};Re.states=Di;Re.options=Bi;Re.className=eo;Re.defaultOptions=Fi;var Qe="action-sheet",vt=Qe;var to="overlay",sn=to;import{jsx as $i}from"react/jsx-runtime";var ln="k-overlay",Ui=[],Gi={},Xi={},pe=e=>{let{...t}=e;return $i("div",{...t,className:r(e.className,ln),children:e.children})};pe.states=Ui;pe.options=Gi;pe.className=ln;pe.defaultOptions=Xi;pe.moduleName=to;pe.folderName=sn;import{jsx as Nt,jsxs as qi}from"react/jsx-runtime";var dn="k-actionsheet",Wi=[],Ji={},Ze={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},K=e=>{let{side:t=Ze.side,fullscreen:o=Ze.fullscreen,adaptive:n=Ze.adaptive,overlay:a=Ze.overlay,template:l,children:d,header:c,footer:u,id:h,...b}=e,N=h&&!l&&c?`${h}-title`:void 0;return qi("div",{className:"k-actionsheet-container",children:[a&&Nt(pe,{}),Nt(te,{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:Nt("div",{...b,id:h,role:"dialog","aria-modal":a?"true":void 0,"aria-labelledby":N,className:r(e.className,dn,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":n}),children:l||Nt(Re,{header:c,footer:u,adaptive:n,titleId:N,...e,children:d})})})]})};K.states=Wi;K.options=Ji;K.className=dn;K.defaultOptions=Ze;K.moduleName=Qe;K.folderName=vt;import{jsx as ji}from"react/jsx-runtime";var cn="k-actionsheet-container",Yi=[],Qi={},Zi={},Ke=e=>{let{children:t,...o}=e;return ji("div",{...o,className:cn,children:t})};Ke.states=Yi;Ke.options=Qi;Ke.className=cn;Ke.defaultOptions=Zi;Ke.moduleName=Qe;Ke.folderName=vt;import{jsx as er}from"react/jsx-runtime";var oo=e=>{let{...t}=e;return er("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as or,jsx as je,jsxs as no}from"react/jsx-runtime";var ao="k-actionsheet-item",tr=[i.hover,i.focus,i.selected,i.disabled],me=e=>{let{iconName:t,text:o,description:n,hover:a,focus:l,selected:d,disabled:c,...u}=e;return no("span",{...u,className:r(e.className,ao,O(ao,{hover:a,focus:l,selected:d,disabled:c})),children:[!e.children&&je(or,{children:no("span",{className:"k-actionsheet-action",children:[t&&je("span",{className:"k-icon-wrap",children:je(x,{className:"k-actionsheet-item-icon",icon:t})}),no("span",{className:"k-actionsheet-item-text",children:[o&&je("span",{className:"k-actionsheet-item-title",children:o}),n&&je("span",{className:"k-actionsheet-item-description",children:n})]})]})}),e.children]})};me.states=tr;me.className=ao;import{jsx as Wu,jsxs as Ju}from"react/jsx-runtime";import{jsx as Zu}from"react/jsx-runtime";import{jsx as of}from"react/jsx-runtime";import{jsx as sf}from"react/jsx-runtime";import{jsx as w,jsxs as io}from"react/jsx-runtime";var nr=K.options,ar=K.states,mn={...K.defaultOptions,variant:"normal"},ir=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],rr=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],_e=e=>{let{variant:t,modifiers:o,...n}={...mn,...e},a={},l=io(oo,{children:[w(me,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),w(me,{text:"Add to Favorites",iconName:"heart"}),w(me,{text:"Upload New",iconName:"upload",disabled:!0}),w("hr",{className:"k-hr"}),w(me,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",c="Select Item";return t==="fullScreen"&&(a.fullScreen=!0),Object.keys(o||{}).forEach(u=>{switch(u){case"actions":a.actionsStart=!!o?.[u],a.actionsEnd=!!o?.[u];break;case"subtitle":a.subtitle=o?.[u]?d:void 0;break;case"footer":a.footer=!!o?.[u];break;default:break}}),t==="adaptive"?w(K,{...n,adaptive:!0,fullscreen:a.fullScreen,header:w(W,{actionsStart:a.actionsStart?w(C,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:a.actionsEnd?w(C,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:a.subtitle}),footer:a.footer?io(ge,{alignment:"stretched",children:[w(C,{text:"Cancel",size:"large",themeColor:"base"}),w(C,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:l}):w(K,{...n,fullscreen:a.fullScreen,header:w(W,{actionsStart:a.actionsStart?w(C,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:a.actionsEnd?w(C,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:a.subtitle}),footer:a.footer?io(ge,{alignment:"stretched",children:[w(C,{text:"Apply",themeColor:"primary"}),w(C,{text:"Cancel",themeColor:"base"})]}):void 0,children:l})};_e.options=nr;_e.states=ar;_e.variants=ir;_e.defaultOptions=mn;_e.modifiers=rr;_e.className=K.className;import so from"react";import ro from"react";import{jsx as lr}from"react/jsx-runtime";var sr="k-treeview-group",F=e=>{let{children:t,dir:o,level:n=1,role:a="group",...l}=e;return lr("ul",{...l,className:r(e.className,sr),role:a,children:ro.Children.map(t,(d,c)=>ro.isValidElement(d)?ro.cloneElement(d,{dir:o,level:n,key:c}):d)})};var et="treeview",Ct=et;import{jsx as un}from"react/jsx-runtime";var lo="k-treeview",dr=[],cr={size:[s.undefined,s.small,s.medium,s.large]},pr={},k=e=>{let{size:t,children:o,dir:n,...a}=e;return un("div",{...a,dir:n,className:r(e.className,lo,A(lo,{size:t})),children:un(F,{className:"k-treeview-lines",role:"tree",dir:n,children:so.Children.map(o,(l,d)=>so.isValidElement(l)?so.cloneElement(l,{dir:n,key:d}):l)})})};k.states=dr;k.options=cr;k.className=lo;k.defaultOptions=pr;k.moduleName=et;k.folderName=Ct;import po from"react";var xe="checkbox",Pe=xe;import{jsx as fn}from"react/jsx-runtime";var At="k-checkbox",mr=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],ur={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full]},fr={},J=e=>{let{id:t,checked:o,indeterminate:n,hover:a,focus:l,disabled:d,invalid:c,valid:u,required:h,size:b,rounded:N,wrapperRole:I,...M}=e;return fn("span",{className:"k-checkbox-wrap",role:I,children:fn("input",{...M,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:d||void 0,"aria-invalid":c?"true":void 0,className:r(e.className,At,A(At,{size:b,rounded:N}),O(At,{hover:a,focus:l,disabled:d,invalid:c,valid:u,indeterminate:n,checked:o}))})})};J.states=mr;J.options=ur;J.className=At;J.defaultOptions=fr;J.moduleName=xe;J.folderName=Pe;var q=J;import{jsx as br}from"react/jsx-runtime";var hn="k-checkbox-list",hr=[],xr={},xn={layout:"vertical"},P=e=>{let{layout:t=xn.layout,...o}=e;return br("ul",{...o,className:r(e.className,hn,{[`k-list-${t}`]:t}),children:e.children})};P.states=hr;P.options=xr;P.className=hn;P.defaultOptions=xn;P.moduleName=xe;P.folderName=Pe;import{jsx as Ar}from"react/jsx-runtime";var bn="k-checkbox-list-item",vr=[],Nr={},Cr={},H=e=>{let{...t}=e;return Ar("li",{...t,className:r(e.className,bn),children:e.children})};H.states=vr;H.options=Nr;H.className=bn;H.defaultOptions=Cr;H.moduleName=xe;H.folderName=Pe;import{Fragment as Tr,jsx as vn,jsxs as Ir}from"react/jsx-runtime";var ie=({children:e="Label",id:t="cb-label-after",...o})=>Ir(Tr,{children:[vn(q,{id:t,...o}),vn("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as sh,jsx as rh,jsxs as lh}from"react/jsx-runtime";import{Fragment as uh,jsx as mh,jsxs as fh}from"react/jsx-runtime";import{Fragment as Nh,jsx as vh,jsxs as Ch}from"react/jsx-runtime";import{jsx as Eh}from"react/jsx-runtime";import{jsx as kh}from"react/jsx-runtime";import{jsx as wh}from"react/jsx-runtime";import{jsx as G,jsxs as Nn}from"react/jsx-runtime";var Er=P.options,Sr=P.states,yr={...P.defaultOptions,variant:"vertical"},Mr=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],kr=[],He=e=>{let{variant:t,...o}=e;return t==="horizontal"?Nn(P,{layout:"horizontal",...o,children:[G(H,{children:G(ie,{id:V("cb"),defaultChecked:!0,children:"Label"})}),G(H,{children:G(ie,{id:V("cb"),children:"Label"})}),G(H,{children:G(ie,{id:V("cb"),children:"Label"})})]}):Nn(P,{...o,children:[G(H,{children:G(ie,{id:V("cb"),defaultChecked:!0,children:"Label"})}),G(H,{children:G(ie,{id:V("cb"),children:"Label"})}),G(H,{children:G(ie,{id:V("cb"),children:"Label"})})]})};He.options=Er;He.states=Sr;He.variants=Mr;He.defaultOptions=yr;He.modifiers=kr;He.className=P.className;import{jsx as Kr}from"react/jsx-runtime";var Lr=q.options,Or=q.states,gr=q.defaultOptions,wr=[],Rr=[],ze=e=>Kr(ie,{id:V("checkbox"),...e,defaultChecked:!0,children:"Label"});ze.options=Lr;ze.states=Or;ze.variants=wr;ze.defaultOptions=gr;ze.modifiers=Rr;ze.className=q.className;import{jsx as Cn,jsxs as Hr}from"react/jsx-runtime";var co="k-treeview-leaf",_r=[i.hover,i.focus,i.selected],Pr={},Tt=e=>{let{text:t,showIcon:o,icon:n,children:a,hover:l,focus:d,selected:c,...u}=e;return Hr("span",{...u,className:r(e.className,co,O(co,{hover:l,focus:d,selected:c})),children:[o&&Cn(x,{icon:n}),Cn("span",{className:"k-treeview-leaf-text",children:a??t})]})};Tt.states=_r;Tt.options=Pr;Tt.className=co;var An=Tt;import{jsx as tt,jsxs as Tn}from"react/jsx-runtime";var In="k-treeview-item",zr=[i.hover,i.focus,i.selected,i.disabled],Dr={},Br={},v=e=>{let{leafClassName:t,children:o,hasChildren:n,expanded:a,loading:l,text:d,content:c,showIcon:u,icon:h,showCheckbox:b,checked:N,hover:I,focus:M,selected:R,disabled:y,dir:E,level:S=1,ariaSelected:_,...Y}=e,Q=n||o||l;return Tn("li",{...Y,className:r(e.className,In),style:{"--kendo-treeview-level":S},role:"treeitem","aria-expanded":Q?a?"true":"false":void 0,"aria-checked":b?N?"true":"false":void 0,"aria-selected":_?"true":void 0,"aria-disabled":y?"true":void 0,children:[Tn("span",{className:r("k-treeview-item-content",O("k-treeview-item-content",{hover:I,focus:M,selected:R,disabled:y})),children:[Q&&tt("span",{className:r("k-treeview-toggle",O("k-treeview-toggle",{disabled:y})),children:l?tt("span",{className:"k-icon k-i-loading"}):tt(x,{icon:a?"chevron-down":E==="rtl"?"chevron-left":"chevron-right"})}),b&&tt(J,{checked:N,disabled:y,"aria-label":d,tabIndex:-1}),tt(An,{className:t,text:d,showIcon:u,icon:h,children:c})]}),a&&Q&&po.Children.map(o,(oe,ue)=>po.isValidElement(oe)?po.cloneElement(oe,{dir:E,level:S+1,key:ue}):oe)]})};v.states=zr;v.options=Dr;v.className=In;v.defaultOptions=Br;v.moduleName=et;v.folderName=Ct;import{jsx as Cx}from"react/jsx-runtime";import{jsx as Ex,jsxs as Sx}from"react/jsx-runtime";import{jsx as Lx,jsxs as Ox}from"react/jsx-runtime";import{jsx as Kx,jsxs as _x}from"react/jsx-runtime";import{jsx as Dx,jsxs as Bx}from"react/jsx-runtime";import{jsx as Gx,jsxs as Xx}from"react/jsx-runtime";import{jsx as be,jsxs as mo}from"react/jsx-runtime";var Fr=k.options,Vr=k.states,Ur=k.defaultOptions,Gr=[{name:"checkboxes",title:"Show `Checkbox`",default:!1}],Xr=[],De=e=>{let{modifiers:t,...o}=e,n={};return Object.keys(t||{}).forEach(a=>{a==="checkboxes"&&(n.showCheckbox=t?.[a])}),mo(k,{...o,children:[be(v,{text:"Furniture",expanded:!0,...n,children:mo(F,{children:[be(v,{text:"Tables & Chairs",...n}),be(v,{text:"Sofas",...n}),be(v,{text:"Occasional Furniture",...n})]})}),mo(v,{text:"Decor",expanded:!1,...n,children:[be(v,{text:"Bed Linen",...n}),be(v,{text:"Curtains & Blinds",...n}),be(v,{text:"Carpets",...n})]})]})};De.options=Fr;De.states=Vr;De.variants=Xr;De.defaultOptions=Ur;De.modifiers=Gr;De.className=k.className;var En="dropdown-tree",Sn="dropdowntree";import{Fragment as yn,jsx as T,jsxs as ot}from"react/jsx-runtime";var Mn="k-multiselecttree",$r=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Wr={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},kn={showClearButton:!0},ve=e=>{let{size:t,rounded:o,fillMode:n,showClearButton:a=kn.showClearButton,prefix:l,suffix:d,placeholder:c,tags:u,popup:h,showArrowButton:b,hover:N,focus:I,valid:M,invalid:R,required:y,loading:E,disabled:S,readonly:_,opened:Y,dir:Q,adaptive:oe,adaptiveSettings:ue,adaptiveTitle:Be,adaptiveSubtitle:On,adaptiveFilter:gn,id:uo,treeviewId:wn,"aria-label":Rn,...Kn}=e,fo=uo?`${uo}-taglist`:void 0;return ot(yn,{children:[ot(L,{...Kn,dir:Q,size:t,rounded:o,fillMode:n,hover:N,focus:I,valid:M,invalid:R,required:y,loading:E,disabled:S,readonly:_,className:r(e.className,Mn),children:[T(Ce,{children:l}),T(g,{size:t,className:"k-input-values",id:fo,children:T(yn,{children:u})}),T("span",{className:"k-input-inner",role:"combobox","aria-haspopup":"tree","aria-expanded":Y?"true":"false","aria-controls":Y?wn:void 0,"aria-autocomplete":"list","aria-describedby":u?fo:void 0,"aria-disabled":S?"true":void 0,"aria-label":Rn,tabIndex:0,children:!u&&T("span",{className:"k-input-value-text",children:c})}),T($,{valid:M,invalid:R,loading:E,disabled:S}),T(j,{loading:E,disabled:S}),a&&T(X,{loading:E,disabled:S,readonly:_,value:u?"value":""}),T(Ae,{children:d}),b&&T(C,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:n,"aria-label":"Toggle dropdown",tabIndex:-1})]}),Y&&h&&T(re,{className:"k-multiselecttree-popup",dir:Q,containerRole:"region",containerAriaLabel:"MultiSelectTree options",children:h}),oe&&T(K,{adaptive:!0,...ue,header:T(W,{actionsEnd:T(C,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:gn,inputPlaceholder:c,title:Be,subtitle:On}),children:ot(k,{size:"large",children:[T(v,{text:"Root 1"}),T(v,{text:"Root 2",expanded:!0,children:ot(F,{children:[T(v,{text:"Child 2.1"}),T(v,{text:"Child 2.2",children:T(F,{children:T(v,{text:"Child 2.2.1"})})}),T(v,{text:"Child 2.3"}),T(v,{leafClassName:"k-treeview-load-more-button",text:"Load more ..."})]})}),T(v,{text:"Root 3",children:ot(F,{children:[T(v,{text:"Child 3.1"}),T(v,{text:"Child 3.2"}),T(v,{text:"Child 3.3"})]})})]})})]})};ve.states=$r;ve.options=Wr;ve.className=Mn;ve.defaultOptions=kn;ve.moduleName=En;ve.folderName=Sn;var Ln=ve;import{jsx as Jr}from"react/jsx-runtime";var Sb=e=>Jr(Ln,{id:V("mst"),"aria-label":"Select options",adaptive:!0,adaptiveTitle:"MultiSelectTree",adaptiveSettings:{id:V("mst-as")},...e});export{Sb as MultiSelectTreeAdaptive};
@@ -1 +1 @@
1
- var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,n)=>t[n]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var A=(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"}),g=(e,t)=>{let{valid:o,invalid:n,hover:a,focus:l,checked:d,active:c,selected:u,disabled:h,indeterminate:b,loading:C,empty:I,readonly:y,highlighted:k,...L}=t;return r({"k-valid":o,"k-invalid":n,"k-hover":a,"k-focus":l,"k-checked":d,"k-active":c,"k-selected":u,"k-disabled":h,"k-indeterminate":b&&!d,"k-loading":C,"k-empty":I,"k-readonly":y,"k-highlighted":k},Object.keys(L).reduce((E,S)=>(S.startsWith("k-")?E[S]=L[S]:E[`k-${S}`]=L[S],E),{}))};function ho(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(n=>[`k-${n}`,!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"},f={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Z={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 It={};function X(e){return It[e]=(It[e]||0)+1,`k-${e}-${It[e]}`}var Fe="input",nt=Fe;import{jsx as zn}from"react/jsx-runtime";var at="k-input",_n=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Pn={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Hn={},O=e=>{let{hover:t,focus:o,disabled:n,invalid:a,valid:l,loading:d,readonly:c,size:u,rounded:h,fillMode:b,...C}=e;return zn("span",{...C,className:r(e.className,at,A(at,{size:u,rounded:h,fillMode:b}),g(at,{hover:t,focus:o,disabled:n,invalid:a,valid:l,loading:d,readonly:c}))})};O.states=_n;O.options=Pn;O.className=at;O.defaultOptions=Hn;O.moduleName=Fe;O.folderName=nt;import{jsx as Vn}from"react/jsx-runtime";var it="k-picker",Dn=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Bn={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Fn={},ve=e=>{let{hover:t,focus:o,disabled:n,invalid:a,valid:l,loading:d,readonly:c,size:u,rounded:h,fillMode:b,...C}=e;return Vn("span",{...C,className:r(e.className,it,A(it,{size:u,rounded:h,fillMode:b}),g(it,{hover:t,focus:o,disabled:n,invalid:a,valid:l,loading:d,readonly:c})),children:e.children})};ve.states=Dn;ve.options=Bn;ve.className=it;ve.defaultOptions=Fn;ve.moduleName=Fe;ve.folderName=nt;import{Fragment as $n,jsx as xo}from"react/jsx-runtime";var Et="k-font-icon",Un=[],Gn={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]},Xn={},Ve=e=>{let{size:t,themeColor:o,icon:n,rotate:a,flip:l,...d}=e;return n?xo("span",{...d,className:r(e.className,Et,A(Et,{size:t}),{[`k-i-${n}`]:n,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true"}):xo($n,{})};Ve.states=Un;Ve.options=Gn;Ve.className=Et;Ve.defaultOptions=Xn;var bo=Ve;import{Fragment as qn,jsx as rt}from"react/jsx-runtime";var St="k-svg-icon",Wn=[],Jn={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:[Z.outline,Z.solid,Z.duotone]},yt={viewBox:"0 0 24 24",variant:Z.outline},Ue=e=>{let{size:t,themeColor:o,rotate:n,flip:a,viewBox:l=yt.viewBox,variant:d=yt.variant,icon:c,...u}=e;if(!c)return rt(qn,{});if(c==="none")return rt("span",{...u,className:r(e.className,St,A("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let h=typeof c=="object"&&c.name&&c.name,b=typeof c=="object"?d&&c.variants?.[d]||c.variants?.outline||c.content:void 0;return rt("span",{...u,className:r(e.className,St,A("k-icon",{size:t}),{[`k-svg-i-${h}`]:h,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":a==="h"||a==="both","k-flip-v":a==="v"||a==="both"}),"aria-hidden":"true",children:rt("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:l,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:c?void 0:e.children})})};Ue.states=Wn;Ue.options=Jn;Ue.className=St;Ue.defaultOptions=yt;var Mt=Ue;import*as kt from"@progress/kendo-svg-icons";var vo="icon",No="icons";import{useContext as Qn}from"react";import{createContext as Yn}from"react";var Co=Yn({iconsType:"svg"});import{Fragment as Ao,jsx as Ge}from"react/jsx-runtime";var st="k-icon",Zn=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),jn=[],ea={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:[Z.outline,Z.solid,Z.duotone]},lt={viewBox:"0 0 24 24",type:"svg",variant:Z.outline},x=e=>{let{iconsType:t}=Qn(Co),{size:o,themeColor:n,icon:a,type:l=t||lt.type,rotate:d,flip:c,viewBox:u=lt.viewBox,variant:h=lt.variant,...b}=e;if(!a)return Ge(Ao,{});if((t||l)==="svg"){if(a==="none")return Ge(Mt,{...b,className:r(e.className,st),icon:a,size:o,variant:h});let I=kt[a]?a:Zn(`${a}-icon`);return kt[I]?Ge(Mt,{...b,className:r(e.className,st),icon:kt[I],size:o,themeColor:n,rotate:d,flip:c,viewBox:u,variant:h}):Ge(Ao,{})}return Ge(bo,{...b,className:r(e.className,st),icon:a,size:o,themeColor:n,rotate:d,flip:c})};x.states=jn;x.options=ea;x.defaultOptions=lt;x.className=st;x.moduleName=vo;x.folderName=No;import{Fragment as na,jsx as Lt}from"react/jsx-runtime";var To="k-clear-value",ta=[i.disabled,i.loading,i.readonly],oa={},$=e=>{let{disabled:t,loading:o,readonly:n,value:a}=e;return t||n||o||!a?Lt(na,{}):Lt("span",{className:r(e.className,To),children:Lt(x,{icon:"x"})})};$.states=ta;$.options=oa;$.className=To;import{jsx as ra}from"react/jsx-runtime";var Ot="k-input-inner",aa=[],ia={},dt={type:"text",autocomplete:"off",value:"",placeholder:""},oe=e=>{let{value:t=dt.value,type:o=dt.type,placeholder:n=dt.placeholder,autocomplete:a=dt.autocomplete,disabled:l,readOnly:d,...c}=e;return ra("input",{...c,type:o,className:r(e.className,Ot,A(Ot,e)),placeholder:n,autoComplete:a,defaultValue:t,disabled:l||void 0,readOnly:d||void 0})};oe.states=aa;oe.options=ia;oe.className=Ot;import{jsx as Io,jsxs as da}from"react/jsx-runtime";var gt="k-input-inner",sa=[],la={},wt=e=>{let{value:t,placeholder:o,showValue:n,valueIcon:a,valueIconName:l,...d}=e;return da("span",{...d,className:r(e.className,gt,A(gt,e)),children:[a,!a&&l&&Io(x,{className:"k-input-value-icon",icon:l}),n&&!t&&o,n&&t&&Io("span",{className:"k-input-value-text",children:t})]})};wt.states=sa;wt.options=la;wt.className=gt;import{jsx as ma}from"react/jsx-runtime";var Rt="k-input-inner",ca=[],pa={},Eo={value:"",placeholder:""},Kt=e=>{let{value:t=Eo.value,placeholder:o=Eo.placeholder,rows:n,disabled:a,...l}=e;return ma("textarea",{...l,className:r(e.className,Rt,A(Rt,e)),placeholder:o,rows:n,defaultValue:t,disabled:a||void 0})};Kt.states=ca;Kt.options=pa;Kt.className=Rt;import{Fragment as fa,jsx as So}from"react/jsx-runtime";var yo="k-input-loading-icon",ua=[i.disabled,i.loading],j=e=>{let{disabled:t,loading:o}=e;return t||!o?So(fa,{}):So("span",{className:r(e.className,yo,"k-icon k-i-loading")})};j.states=ua;j.className=yo;import{Fragment as ba,jsx as Mo}from"react/jsx-runtime";var ko="k-input-validation-icon",ha=[i.valid,i.invalid,i.disabled,i.loading],xa={},W=e=>{let{valid:t,invalid:o,disabled:n,loading:a}=e,l=o?"warning-circle":"check-circle";return n||a||!!!(t||o)?Mo(ba,{}):Mo(x,{className:r(ko),icon:l})};W.states=ha;W.options=xa;W.className=ko;import{Fragment as Ca,jsx as Lo}from"react/jsx-runtime";var va="k-input-prefix",Na={direction:"horizontal"},Ne=e=>{let{direction:t=Na.direction,...o}=e;return e.children?Lo("span",{...o,className:r(va,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Lo(Ca,{})};import{Fragment as Ia,jsx as Oo}from"react/jsx-runtime";var Aa="k-input-suffix",Ta={direction:"horizontal"},Ce=e=>{let{direction:t=Ta.direction,...o}=e;return e.children?Oo("span",{...o,className:r(Aa,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Oo(Ia,{})};import{jsx as cl}from"react/jsx-runtime";import{jsx as fl}from"react/jsx-runtime";import{jsx as Sa}from"react/jsx-runtime";var go="k-input-separator",Ea={direction:"vertical"},Ae=e=>{let{direction:t=Ea.direction,...o}=e;return Sa("span",{...o,className:r(go,e.className,{[`${go}-${t}`]:t})})};var _t="button",wo=_t;import{Fragment as Ro,jsx as Te,jsxs as Ko}from"react/jsx-runtime";var Xe="k-button",ya=["icon-button"],Ma=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],ka={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:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.inverse]},Pt={showArrow:!1,arrowIconName:"chevron-down"},N=e=>{let{as:t="button",size:o,rounded:n,fillMode:a,themeColor:l,showArrow:d=Pt.showArrow,arrowIconName:c=Pt.arrowIconName,variant:u,hover:h,focus:b,active:C,selected:I,disabled:y,togglable:k,ariaDisabled:L,icon:E,iconSize:S,text:_,iconClassName:V,className:Q,...me}=e,De=E!=null,Be=e.children!==void 0;return Ko(t,{className:r(Q,Xe,ho(Xe,u),A(Xe,{size:o,rounded:n,fillMode:a,themeColor:l}),g(Xe,{hover:h,focus:b,active:C,disabled:y||L,selected:I}),{"k-icon-button":!_&&!Be&&De}),"aria-pressed":k?I?"true":"false":void 0,...me,"aria-disabled":L?"true":void 0,disabled:y||void 0,children:[typeof E=="string"&&E&&Te(x,{className:r(V,"k-button-icon"),icon:E,size:S}),E&&typeof E!="string"&&Te(Ro,{children:E}),_?Ko(Ro,{children:[_&&Te("span",{className:"k-button-text",children:_}),e.children]}):e.children&&Te("span",{className:"k-button-text",children:e.children}),d&&Te("span",{className:"k-menu-button-arrow k-button-arrow",children:Te(x,{icon:c})})]})};N.states=Ma;N.options=ka;N.variants=ya;N.className=Xe;N.defaultOptions=Pt;N.moduleName=_t;N.folderName=wo;import{jsx as La}from"react/jsx-runtime";var ue=e=>La(N,{children:"Button",...e});import{Fragment as _o,jsx as ee,jsxs as Ht}from"react/jsx-runtime";var Oa=O.states,ga=O.defaultOptions,wa=O.options,Ra=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Ka=[],Ie=e=>{let{modifiers:t,valid:o,invalid:n,loading:a,disabled:l,readonly:d,...c}=e,u=t?.prefix,h=t?.suffix,b=t?.["clear-button"],C=t?.["validation-icon"],I=t?.separators;return Ht(O,{...c,valid:o,invalid:n,loading:a,disabled:l,readonly:d,style:{width:300},children:[u&&Ht(_o,{children:[ee(Ne,{children:ee(x,{icon:"lock"})}),I&&ee(Ae,{})]}),ee(oe,{placeholder:"Placeholder",value:"Value"}),C&&ee(W,{valid:o,invalid:n,loading:a,disabled:l}),ee(j,{loading:a,disabled:l}),b&&ee($,{loading:a,disabled:l,readonly:d,value:"Value"}),h&&Ht(_o,{children:[I&&ee(Ae,{}),ee(Ce,{children:ee(ue,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};Ie.options=wa;Ie.states=Oa;Ie.variants=Ka;Ie.defaultOptions=ga;Ie.modifiers=Ra;Ie.className=O.className;import{jsx as _a}from"react/jsx-runtime";var Po=e=>_a(N,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as Pa}from"react/jsx-runtime";var Ho=e=>Pa(N,{icon:"folder",children:"Button",...e});import{jsx as zt}from"react/jsx-runtime";var Ha=N.options,za=N.states,Da={...N.defaultOptions,variant:"text"},Ba=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Fa=[],Ee=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return zt(Po,{...o,icon:"star"});case"icon-and-text":return zt(Ho,{...o,icon:"star",children:"Button"});default:return zt(ue,{...o,children:"Button"})}};Ee.options=Ha;Ee.states=za;Ee.variants=Ba;Ee.defaultOptions=Da;Ee.modifiers=Fa;Ee.className=N.className;import{jsx as ct}from"react/jsx-runtime";var Va="k-chip-action";var ne=e=>{let{type:t,...o}=e,n;switch(t){case"remove":n=ct(x,{icon:"x-circle",size:"small"});break;case"more":n=ct(x,{icon:"more-vertical",size:"small"});break;default:return ct(x,{icon:t,size:"small"})}return ct("span",{...o,className:r(e.className,Va,`k-chip-${t}-action`),children:n})};var Dt="avatar",zo=Dt;import{jsx as Do}from"react/jsx-runtime";var $e="k-avatar";var Ua=[i.hover,i.focus,i.active,i.selected,i.disabled],Ga={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.outline],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary]},Bt={type:"text",border:!1},z=e=>{let{size:t,rounded:o,fillMode:n,themeColor:a,type:l=Bt.type,border:d=Bt.border,...c}=e;return Do("div",{...c,className:r(e.className,$e,A($e,{size:t,rounded:o,fillMode:n,themeColor:a}),{[`${$e}-bordered`]:d}),children:Do("span",{className:`${$e}-${l}`,children:e.children})})};z.states=Ua;z.options=Ga;z.className=$e;z.defaultOptions=Bt;z.moduleName=Dt;z.folderName=zo;var fe=z;import{jsx as Xa}from"react/jsx-runtime";var Bo=e=>Xa(fe,{type:"icon",...e});import{jsx as $a}from"react/jsx-runtime";var Fo=e=>$a(fe,{type:"text",...e});import{jsx as Wa}from"react/jsx-runtime";var Vo=e=>Wa(fe,{type:"image",...e});import{jsx as Vd}from"react/jsx-runtime";import{jsx as We}from"react/jsx-runtime";var Ja=z.options,qa=z.states,Ya={...z.defaultOptions,variant:"image"},Qa=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],Za=[],Se=e=>{let{variant:t,...o}=e;switch(t){case"icon":return We(Bo,{...o,children:We(x,{icon:"star"})});case"text":return We(Fo,{...o,children:"JO"});default:return We(Vo,{...o,children:We("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};Se.options=Ja;Se.states=qa;Se.variants=Qa;Se.defaultOptions=Ya;Se.modifiers=Za;Se.className=z.className;var Je="chip",pt=Je,mt="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg";import{jsx as ye,jsxs as ti}from"react/jsx-runtime";var ut="k-chip",ja=[i.hover,i.focus,i.active,i.selected,i.disabled],ei={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.outline],themeColor:[m.undefined,m.base,m.success,m.warning,m.error,m.info]},Uo={avatarImage:"/packages/html/assets/avatar.jpg"},B=e=>{let{size:t,rounded:o,fillMode:n,themeColor:a,text:l,icon:d,actions:c,showAvatar:u,avatarImage:h=Uo.avatarImage,hover:b,focus:C,active:I,selected:y,disabled:k,...L}=e;return ti("div",{...L,className:r(e.className,ut,A(ut,{size:t,rounded:o,fillMode:n,themeColor:a}),g(ut,{hover:b,focus:C,active:I,disabled:k,selected:y})),role:e.role||"button","aria-pressed":e.role==="option"?void 0:y?"true":"false",...e.role==="option"&&y!==void 0&&{"aria-selected":y?"true":"false"},"aria-disabled":k?"true":void 0,children:[d&&ye(x,{className:"k-chip-icon",icon:d,size:"small"}),u&&ye(z,{className:"k-chip-avatar",type:"image",children:ye("img",{src:h,alt:""})}),ye("span",{className:"k-chip-content",children:e.children?e.children:l&&ye("span",{className:"k-chip-label",children:l})}),c&&ye("span",{className:"k-chip-actions",children:c})]})};B.states=ja;B.options=ei;B.className=ut;B.defaultOptions=Uo;B.moduleName=Je;B.folderName=pt;var U=B;import{jsx as ii}from"react/jsx-runtime";var Ft="k-chip-list",oi=[],ni={size:[s.undefined,s.small,s.medium,s.large]},ai={},w=e=>{let{size:t,multiselectable:o,ariaLabel:n,...a}=e;return ii("div",{...a,className:r(e.className,Ft,A(Ft,{size:t})),role:e.role||"listbox","aria-label":e.role==="none"?void 0:n||"chip list","aria-orientation":e.role==="none"?void 0:"horizontal","aria-multiselectable":o?"true":void 0,children:e.children})};w.states=oi;w.options=ni;w.className=Ft;w.defaultOptions=ai;w.moduleName=Je;w.folderName=pt;import{jsx as vc}from"react/jsx-runtime";import{jsx as Tc}from"react/jsx-runtime";import{jsx as ri}from"react/jsx-runtime";var ft=e=>ri(U,{text:"text",...e});import{jsx as Oc}from"react/jsx-runtime";import{jsx as Kc}from"react/jsx-runtime";import{Fragment as Bc,jsx as Dc,jsxs as Fc}from"react/jsx-runtime";import{jsx as $c,jsxs as Wc}from"react/jsx-runtime";import{jsx as Zc,jsxs as jc}from"react/jsx-runtime";import{jsx as ip,jsxs as rp}from"react/jsx-runtime";import{jsx as Me,jsxs as mi}from"react/jsx-runtime";var si={...U.options,...w.options},li=[],di=w.states,ci={...U.defaultOptions,...w.defaultOptions},pi=[{name:"icon",title:"Icon",type:"boolean"},{name:"actions",title:"Actions",type:"boolean"},{name:"avatar",title:"Avatar",type:"boolean"}],ke=e=>{let{modifiers:t,className:o,...n}=e,a=t?.icon,l=t?.actions,d=t?.avatar,c=d?mt:void 0;return mi(w,{size:n.size,className:o,children:[Me(ft,{...n,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:l?Me(ne,{type:"remove"}):void 0,showAvatar:d,avatarImage:c,children:"Chip"}),Me(ft,{...n,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:l?Me(ne,{type:"remove"}):void 0,showAvatar:d,avatarImage:c,children:"Chip"}),Me(ft,{...n,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:l?Me(ne,{type:"remove"}):void 0,showAvatar:d,avatarImage:c,children:"Chip"})]})};ke.options=si;ke.states=di;ke.variants=li;ke.defaultOptions=ci;ke.modifiers=pi;ke.className=w.className;import{jsx as Vt}from"react/jsx-runtime";var ui=B.states,fi=B.defaultOptions,hi=B.options,xi=[],bi=[{name:"icon",title:"Icon"},{name:"avatar",title:"Avatar"},{name:"remove-icon",title:"`Remove` Icon"},{name:"more-options",title:"`More options` Icon"}],Le=e=>{let{modifiers:t,...o}=e,n={};return Object.keys(t||{}).forEach(a=>{switch(a){case"icon":n.icon=t?.[a]?"arrow-down":void 0;break;case"avatar":n.showAvatar=!!t?.[a],n.avatarImage=t?.[a]?mt:void 0;break;case"more-options":n.actions||(n.actions=[]),n.actions[0]=t?.[a]?Vt(ne,{type:"more"}):void 0;break;case"remove-icon":n.actions||(n.actions=[]),n.actions[1]=t?.[a]?Vt(ne,{type:"remove"}):void 0;break;default:break}}),Vt(B,{...o,...n,children:"Chip component"})};Le.options=hi;Le.states=ui;Le.variants=xi;Le.defaultOptions=fi;Le.modifiers=bi;Le.className=B.className;var Ut="popup",Go=Ut;import{jsx as Xo}from"react/jsx-runtime";var $o="k-animation-container",vi=[],Ni={},Gt={positionMode:"absolute",shown:!0},te=e=>{let{positionMode:t=Gt.positionMode,shown:o=Gt.shown,animationStyle:n,offset:a,...l}=e;return Xo("div",{...l,style:{...a,...e.style},className:r(e.className,$o,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Xo("div",{className:"k-child-animation-container",style:n,children:e.children})})};te.states=vi;te.options=Ni;te.className=$o;te.defaultOptions=Gt;te.moduleName=Ut;te.folderName=Go;var Xt="popup",Wo=Xt;import{jsx as Jo}from"react/jsx-runtime";var qo="k-popup",Ci=[],Ai={},Yo={positionMode:"absolute"},ie=e=>{let{offset:t,positionMode:o=Yo.positionMode,animationStyle:n,containerClassName:a,containerRole:l,containerAriaLabel:d,...c}=e;return Jo(te,{positionMode:o,offset:t,animationStyle:n,className:a,role:l,"aria-label":d,children:Jo("div",{...c,className:r(e.className,qo),children:e.children})})};ie.states=Ci;ie.options=Ai;ie.className=qo;ie.defaultOptions=Yo;ie.moduleName=Xt;ie.folderName=Wo;var $t="action-buttons",Qo=$t;import{jsx as Ei}from"react/jsx-runtime";var ht="k-actions",Ti=[],Ii={},Wt={alignment:"start",orientation:"horizontal"},re=e=>{let{alignment:t=Wt.alignment,orientation:o=Wt.orientation,...n}=e;return Ei("div",{...n,className:r(ht,{[`${ht}-${t}`]:t,[`${ht}-${o}`]:o},e.className),children:e.children})};re.states=Ti;re.options=Ii;re.className=ht;re.defaultOptions=Wt;re.moduleName=$t;re.folderName=Qo;import{jsx as yi}from"react/jsx-runtime";var Si="k-actionsheet-footer",Zo={alignment:"stretched",orientation:"horizontal"},Oe=e=>{let{alignment:t=Zo.alignment,orientation:o=Zo.orientation,template:n,as:a=n?"div":re,...l}=e;return yi(a,{...l,...!n&&{alignment:t,orientation:o},className:r(e.className,Si),children:e.children})};var Jt="searchbox",jo=Jt;import{jsx as qe,jsxs as Li}from"react/jsx-runtime";var en="k-searchbox",Mi=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],ki={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},xt={showIcon:!0,showClearButton:!0,icon:"search"},se=e=>{let{value:t,placeholder:o,size:n,rounded:a,fillMode:l,hover:d,focus:c,valid:u,invalid:h,required:b,loading:C,disabled:I,showIcon:y=xt.showIcon,showClearButton:k=xt.showClearButton,icon:L=xt.icon,"aria-label":E,...S}=e;return Li(O,{...S,size:n,rounded:a,fillMode:l,hover:d,focus:c,valid:u,invalid:h,required:b,loading:C,disabled:I,className:r(e.className,en),children:[y&&qe(x,{className:"k-input-icon",icon:L}),qe(oe,{placeholder:o,value:t,"aria-label":E}),qe(j,{...e}),qe(W,{...e}),k&&qe($,{...e})]})};se.states=Mi;se.options=ki;se.className=en;se.defaultOptions=xt;se.moduleName=Jt;se.folderName=jo;import{jsx as Cm}from"react/jsx-runtime";var qt="textbox",tn=qt;import{Fragment as on,jsx as le,jsxs as Yt}from"react/jsx-runtime";var nn="k-textbox",Oi=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],gi={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},bt={showClearButton:!0,showValidationIcon:!0,separators:!0},D=e=>{let{size:t,rounded:o,fillMode:n,separators:a=bt.separators,showClearButton:l=bt.showClearButton,showValidationIcon:d=bt.showValidationIcon,prefix:c,suffix:u,type:h,value:b,placeholder:C,hover:I,focus:y,valid:k,invalid:L,required:E,loading:S,disabled:_,readonly:V,id:Q,"aria-label":me,"aria-describedby":De,...Be}=e;return Yt(O,{...Be,size:t,rounded:o,fillMode:n,hover:I,focus:y,valid:k,invalid:L,required:E,loading:S,disabled:_,readonly:V,className:r(e.className,nn),children:[c&&Yt(on,{children:[le(Ne,{children:c}),a&&le(Ae,{})]}),le(oe,{id:Q,placeholder:C,value:b,type:h,disabled:_,"aria-label":me,"aria-describedby":De,"aria-invalid":L?"true":void 0}),d&&le(W,{valid:k,invalid:L,loading:S,disabled:_}),le(j,{loading:S,disabled:_}),l&&le($,{loading:S,disabled:_,readonly:V,value:b}),u&&Yt(on,{children:[a&&le(Ae,{}),le(Ce,{children:u})]})]})};D.states=Oi;D.options=gi;D.className=nn;D.defaultOptions=bt;D.moduleName=qt;D.folderName=tn;var Ye=D;import{jsx as wi}from"react/jsx-runtime";var an=e=>wi(Ye,{...e});import{Fragment as zm,jsx as Hm}from"react/jsx-runtime";import{Fragment as Gm,jsx as Um}from"react/jsx-runtime";import{jsx as Jm}from"react/jsx-runtime";import{jsx as Qt}from"react/jsx-runtime";var Ri=D.states,Ki=D.defaultOptions,_i=D.options,Pi=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Hi=[],ge=e=>{let{modifiers:t,...o}=e,n={};return Object.keys(t||{}).forEach(a=>{switch(a){case"prefix":n.prefix=t?.[a]?Qt(x,{icon:"lock"}):void 0;break;case"suffix":n.suffix=t?.[a]?Qt(ue,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":n.showClearButton=t?.[a];break;default:break}}),Qt(an,{value:"Value",style:{width:300},...o,...n})};ge.options=_i;ge.states=Ri;ge.variants=Hi;ge.defaultOptions=Ki;ge.modifiers=Pi;ge.className=D.className;import{jsx as de,jsxs as Zt}from"react/jsx-runtime";var rn="k-actionsheet-titlebar",zi={},J=e=>{let{title:t,subtitle:o,actionsStart:n,actionsEnd:a,filter:l,input:d,inputValue:c,inputPlaceholder:u,adaptive:h,titleId:b,children:C,...I}=e;return Zt("div",{...I,className:r(e.className,rn),children:[Zt("div",{className:"k-actionsheet-titlebar-group",children:[n&&de("div",{className:"k-actionsheet-actions",children:n}),!C&&Zt("div",{className:"k-actionsheet-title",id:b,children:[t&&de("div",{className:"k-text-center",children:t}),o&&de("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),C&&de("div",{className:"k-actionsheet-title",id:b,children:C}),a&&de("div",{className:"k-actionsheet-actions",children:a})]}),(d||l)&&de("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?de(D,{value:c,placeholder:u,size:h?"large":"medium","aria-label":t||u||"Input"}):de(se,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};J.className=rn;J.defaultOptions=zi;import{jsx as jt,jsxs as Vi}from"react/jsx-runtime";var eo="k-actionsheet-view",Di=[],Bi={},Fi={},we=e=>{let{adaptive:t,animated:o,children:n,header:a,footer:l,titleId:d,...c}=e,u=a?.type===J&&jt(J,{adaptive:t,titleId:d,...a?.props}),h=l?.type===Oe&&jt(Oe,{...l?.props});return Vi("div",{...c,className:r(e.className,eo,{[`${eo}-animated`]:o}),children:[u,jt("div",{className:"k-actionsheet-content",children:n}),h]})};we.states=Di;we.options=Bi;we.className=eo;we.defaultOptions=Fi;var Qe="action-sheet",vt=Qe;var to="overlay",sn=to;import{jsx as $i}from"react/jsx-runtime";var ln="k-overlay",Ui=[],Gi={},Xi={},ce=e=>{let{...t}=e;return $i("div",{...t,className:r(e.className,ln),children:e.children})};ce.states=Ui;ce.options=Gi;ce.className=ln;ce.defaultOptions=Xi;ce.moduleName=to;ce.folderName=sn;import{jsx as Nt,jsxs as qi}from"react/jsx-runtime";var dn="k-actionsheet",Wi=[],Ji={},Ze={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},K=e=>{let{side:t=Ze.side,fullscreen:o=Ze.fullscreen,adaptive:n=Ze.adaptive,overlay:a=Ze.overlay,template:l,children:d,header:c,footer:u,id:h,...b}=e,C=h&&!l&&c?`${h}-title`:void 0;return qi("div",{className:"k-actionsheet-container",children:[a&&Nt(ce,{}),Nt(te,{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:Nt("div",{...b,id:h,role:"dialog","aria-modal":a?"true":void 0,"aria-labelledby":C,className:r(e.className,dn,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":n}),children:l||Nt(we,{header:c,footer:u,adaptive:n,titleId:C,...e,children:d})})})]})};K.states=Wi;K.options=Ji;K.className=dn;K.defaultOptions=Ze;K.moduleName=Qe;K.folderName=vt;import{jsx as ji}from"react/jsx-runtime";var cn="k-actionsheet-container",Yi=[],Qi={},Zi={},Re=e=>{let{children:t,...o}=e;return ji("div",{...o,className:cn,children:t})};Re.states=Yi;Re.options=Qi;Re.className=cn;Re.defaultOptions=Zi;Re.moduleName=Qe;Re.folderName=vt;import{jsx as er}from"react/jsx-runtime";var oo=e=>{let{...t}=e;return er("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as or,jsx as je,jsxs as no}from"react/jsx-runtime";var ao="k-actionsheet-item",tr=[i.hover,i.focus,i.selected,i.disabled],pe=e=>{let{iconName:t,text:o,description:n,hover:a,focus:l,selected:d,disabled:c,...u}=e;return no("span",{...u,className:r(e.className,ao,g(ao,{hover:a,focus:l,selected:d,disabled:c})),children:[!e.children&&je(or,{children:no("span",{className:"k-actionsheet-action",children:[t&&je("span",{className:"k-icon-wrap",children:je(x,{className:"k-actionsheet-item-icon",icon:t})}),no("span",{className:"k-actionsheet-item-text",children:[o&&je("span",{className:"k-actionsheet-item-title",children:o}),n&&je("span",{className:"k-actionsheet-item-description",children:n})]})]})}),e.children]})};pe.states=tr;pe.className=ao;import{jsx as Wu,jsxs as Ju}from"react/jsx-runtime";import{jsx as Zu}from"react/jsx-runtime";import{jsx as of}from"react/jsx-runtime";import{jsx as sf}from"react/jsx-runtime";import{jsx as R,jsxs as io}from"react/jsx-runtime";var nr=K.options,ar=K.states,mn={...K.defaultOptions,variant:"normal"},ir=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],rr=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Ke=e=>{let{variant:t,modifiers:o,...n}={...mn,...e},a={},l=io(oo,{children:[R(pe,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),R(pe,{text:"Add to Favorites",iconName:"heart"}),R(pe,{text:"Upload New",iconName:"upload",disabled:!0}),R("hr",{className:"k-hr"}),R(pe,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",c="Select Item";return t==="fullScreen"&&(a.fullScreen=!0),Object.keys(o||{}).forEach(u=>{switch(u){case"actions":a.actionsStart=!!o?.[u],a.actionsEnd=!!o?.[u];break;case"subtitle":a.subtitle=o?.[u]?d:void 0;break;case"footer":a.footer=!!o?.[u];break;default:break}}),t==="adaptive"?R(K,{...n,adaptive:!0,fullscreen:a.fullScreen,header:R(J,{actionsStart:a.actionsStart?R(N,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:a.actionsEnd?R(N,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:a.subtitle}),footer:a.footer?io(Oe,{alignment:"stretched",children:[R(N,{text:"Cancel",size:"large",themeColor:"base"}),R(N,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:l}):R(K,{...n,fullscreen:a.fullScreen,header:R(J,{actionsStart:a.actionsStart?R(N,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:a.actionsEnd?R(N,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:a.subtitle}),footer:a.footer?io(Oe,{alignment:"stretched",children:[R(N,{text:"Apply",themeColor:"primary"}),R(N,{text:"Cancel",themeColor:"base"})]}):void 0,children:l})};Ke.options=nr;Ke.states=ar;Ke.variants=ir;Ke.defaultOptions=mn;Ke.modifiers=rr;Ke.className=K.className;import so from"react";import ro from"react";import{jsx as lr}from"react/jsx-runtime";var sr="k-treeview-group",F=e=>{let{children:t,dir:o,level:n=1,role:a="group",...l}=e;return lr("ul",{...l,className:r(e.className,sr),role:a,children:ro.Children.map(t,(d,c)=>ro.isValidElement(d)?ro.cloneElement(d,{dir:o,level:n,key:c}):d)})};var et="treeview",Ct=et;import{jsx as un}from"react/jsx-runtime";var lo="k-treeview",dr=[],cr={size:[s.undefined,s.small,s.medium,s.large]},pr={},M=e=>{let{size:t,children:o,dir:n,...a}=e;return un("div",{...a,dir:n,className:r(e.className,lo,A(lo,{size:t})),children:un(F,{className:"k-treeview-lines",role:"tree",dir:n,children:so.Children.map(o,(l,d)=>so.isValidElement(l)?so.cloneElement(l,{dir:n,key:d}):l)})})};M.states=dr;M.options=cr;M.className=lo;M.defaultOptions=pr;M.moduleName=et;M.folderName=Ct;import po from"react";var he="checkbox",_e=he;import{jsx as fn}from"react/jsx-runtime";var At="k-checkbox",mr=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],ur={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full]},fr={},q=e=>{let{id:t,checked:o,indeterminate:n,hover:a,focus:l,disabled:d,invalid:c,valid:u,required:h,size:b,rounded:C,wrapperRole:I,...y}=e;return fn("span",{className:"k-checkbox-wrap",role:I,children:fn("input",{...y,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:d||void 0,"aria-invalid":c?"true":void 0,className:r(e.className,At,A(At,{size:b,rounded:C}),g(At,{hover:a,focus:l,disabled:d,invalid:c,valid:u,indeterminate:n,checked:o}))})})};q.states=mr;q.options=ur;q.className=At;q.defaultOptions=fr;q.moduleName=he;q.folderName=_e;var Y=q;import{jsx as br}from"react/jsx-runtime";var hn="k-checkbox-list",hr=[],xr={},xn={layout:"vertical"},P=e=>{let{layout:t=xn.layout,...o}=e;return br("ul",{...o,className:r(e.className,hn,{[`k-list-${t}`]:t}),children:e.children})};P.states=hr;P.options=xr;P.className=hn;P.defaultOptions=xn;P.moduleName=he;P.folderName=_e;import{jsx as Ar}from"react/jsx-runtime";var bn="k-checkbox-list-item",vr=[],Nr={},Cr={},H=e=>{let{...t}=e;return Ar("li",{...t,className:r(e.className,bn),children:e.children})};H.states=vr;H.options=Nr;H.className=bn;H.defaultOptions=Cr;H.moduleName=he;H.folderName=_e;import{Fragment as Tr,jsx as vn,jsxs as Ir}from"react/jsx-runtime";var ae=({children:e="Label",id:t="cb-label-after",...o})=>Ir(Tr,{children:[vn(Y,{id:t,...o}),vn("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as sh,jsx as rh,jsxs as lh}from"react/jsx-runtime";import{Fragment as uh,jsx as mh,jsxs as fh}from"react/jsx-runtime";import{Fragment as Nh,jsx as vh,jsxs as Ch}from"react/jsx-runtime";import{jsx as Eh}from"react/jsx-runtime";import{jsx as kh}from"react/jsx-runtime";import{jsx as wh}from"react/jsx-runtime";import{jsx as G,jsxs as Nn}from"react/jsx-runtime";var Er=P.options,Sr=P.states,yr={...P.defaultOptions,variant:"vertical"},Mr=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],kr=[],Pe=e=>{let{variant:t,...o}=e;return t==="horizontal"?Nn(P,{layout:"horizontal",...o,children:[G(H,{children:G(ae,{id:X("cb"),defaultChecked:!0,children:"Label"})}),G(H,{children:G(ae,{id:X("cb"),children:"Label"})}),G(H,{children:G(ae,{id:X("cb"),children:"Label"})})]}):Nn(P,{...o,children:[G(H,{children:G(ae,{id:X("cb"),defaultChecked:!0,children:"Label"})}),G(H,{children:G(ae,{id:X("cb"),children:"Label"})}),G(H,{children:G(ae,{id:X("cb"),children:"Label"})})]})};Pe.options=Er;Pe.states=Sr;Pe.variants=Mr;Pe.defaultOptions=yr;Pe.modifiers=kr;Pe.className=P.className;import{jsx as Kr}from"react/jsx-runtime";var Lr=Y.options,Or=Y.states,gr=Y.defaultOptions,wr=[],Rr=[],He=e=>Kr(ae,{id:X("checkbox"),...e,defaultChecked:!0,children:"Label"});He.options=Lr;He.states=Or;He.variants=wr;He.defaultOptions=gr;He.modifiers=Rr;He.className=Y.className;import{jsx as Cn,jsxs as Hr}from"react/jsx-runtime";var co="k-treeview-leaf",_r=[i.hover,i.focus,i.selected],Pr={},Tt=e=>{let{text:t,showIcon:o,icon:n,hover:a,focus:l,selected:d,...c}=e;return Hr("span",{...c,className:r(e.className,co,g(co,{hover:a,focus:l,selected:d})),children:[o&&Cn(x,{icon:n}),Cn("span",{className:"k-treeview-leaf-text",children:t})]})};Tt.states=_r;Tt.options=Pr;Tt.className=co;var An=Tt;import{jsx as tt,jsxs as Tn}from"react/jsx-runtime";var In="k-treeview-item",zr=[i.hover,i.focus,i.selected,i.disabled],Dr={},Br={},v=e=>{let{leafClassName:t,children:o,hasChildren:n,expanded:a,loading:l,text:d,showIcon:c,icon:u,showCheckbox:h,checked:b,hover:C,focus:I,selected:y,disabled:k,dir:L,level:E=1,ariaSelected:S,..._}=e,V=n||o||l;return Tn("li",{..._,className:r(e.className,In),style:{"--kendo-treeview-level":E},role:"treeitem","aria-expanded":V?a?"true":"false":void 0,"aria-checked":h?b?"true":"false":void 0,"aria-selected":S?"true":void 0,"aria-disabled":k?"true":void 0,children:[Tn("span",{className:r("k-treeview-item-content",g("k-treeview-item-content",{hover:C,focus:I,selected:y,disabled:k})),children:[V&&tt("span",{className:r("k-treeview-toggle",g("k-treeview-toggle",{disabled:k})),children:l?tt("span",{className:"k-icon k-i-loading"}):tt(x,{icon:a?"chevron-down":L==="rtl"?"chevron-left":"chevron-right"})}),h&&tt(q,{checked:b,disabled:k,"aria-label":d,tabIndex:-1}),tt(An,{className:t,text:d,showIcon:c,icon:u})]}),a&&V&&po.Children.map(o,(Q,me)=>po.isValidElement(Q)?po.cloneElement(Q,{dir:L,level:E+1,key:me}):Q)]})};v.states=zr;v.options=Dr;v.className=In;v.defaultOptions=Br;v.moduleName=et;v.folderName=Ct;import{jsx as Cx}from"react/jsx-runtime";import{jsx as Ex,jsxs as Sx}from"react/jsx-runtime";import{jsx as Lx,jsxs as Ox}from"react/jsx-runtime";import{jsx as Kx,jsxs as _x}from"react/jsx-runtime";import{jsx as Dx,jsxs as Bx}from"react/jsx-runtime";import{jsx as Gx,jsxs as Xx}from"react/jsx-runtime";import{jsx as xe,jsxs as mo}from"react/jsx-runtime";var Fr=M.options,Vr=M.states,Ur=M.defaultOptions,Gr=[{name:"checkboxes",title:"Show `Checkbox`",default:!1}],Xr=[],ze=e=>{let{modifiers:t,...o}=e,n={};return Object.keys(t||{}).forEach(a=>{a==="checkboxes"&&(n.showCheckbox=t?.[a])}),mo(M,{...o,children:[xe(v,{text:"Furniture",expanded:!0,...n,children:mo(F,{children:[xe(v,{text:"Tables & Chairs",...n}),xe(v,{text:"Sofas",...n}),xe(v,{text:"Occasional Furniture",...n})]})}),mo(v,{text:"Decor",expanded:!1,...n,children:[xe(v,{text:"Bed Linen",...n}),xe(v,{text:"Curtains & Blinds",...n}),xe(v,{text:"Carpets",...n})]})]})};ze.options=Fr;ze.states=Vr;ze.variants=Xr;ze.defaultOptions=Ur;ze.modifiers=Gr;ze.className=M.className;var En="dropdown-tree",Sn="dropdowntree";import{Fragment as yn,jsx as T,jsxs as ot}from"react/jsx-runtime";var Mn="k-multiselecttree",$r=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Wr={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},kn={showClearButton:!0},be=e=>{let{size:t,rounded:o,fillMode:n,showClearButton:a=kn.showClearButton,prefix:l,suffix:d,placeholder:c,tags:u,popup:h,showArrowButton:b,hover:C,focus:I,valid:y,invalid:k,required:L,loading:E,disabled:S,readonly:_,opened:V,dir:Q,adaptive:me,adaptiveSettings:De,adaptiveTitle:Be,adaptiveSubtitle:On,adaptiveFilter:gn,id:uo,treeviewId:wn,"aria-label":Rn,...Kn}=e,fo=uo?`${uo}-taglist`:void 0;return ot(yn,{children:[ot(O,{...Kn,dir:Q,size:t,rounded:o,fillMode:n,hover:C,focus:I,valid:y,invalid:k,required:L,loading:E,disabled:S,readonly:_,className:r(e.className,Mn),children:[T(Ne,{children:l}),T(w,{size:t,className:"k-input-values",id:fo,children:T(yn,{children:u})}),T("span",{className:"k-input-inner",role:"combobox","aria-haspopup":"tree","aria-expanded":V?"true":"false","aria-controls":V?wn:void 0,"aria-autocomplete":"list","aria-describedby":u?fo:void 0,"aria-disabled":S?"true":void 0,"aria-label":Rn,tabIndex:0,children:!u&&T("span",{className:"k-input-value-text",children:c})}),T(W,{valid:y,invalid:k,loading:E,disabled:S}),T(j,{loading:E,disabled:S}),a&&T($,{loading:E,disabled:S,readonly:_,value:u?"value":""}),T(Ce,{children:d}),b&&T(N,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:n,"aria-label":"Toggle dropdown",tabIndex:-1})]}),V&&h&&T(ie,{className:"k-multiselecttree-popup",dir:Q,containerRole:"region",containerAriaLabel:"MultiSelectTree options",children:h}),me&&T(K,{adaptive:!0,...De,header:T(J,{actionsEnd:T(N,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:gn,inputPlaceholder:c,title:Be,subtitle:On}),children:ot(M,{size:"large",children:[T(v,{text:"Root 1"}),T(v,{text:"Root 2",expanded:!0,children:ot(F,{children:[T(v,{text:"Child 2.1"}),T(v,{text:"Child 2.2",children:T(F,{children:T(v,{text:"Child 2.2.1"})})}),T(v,{text:"Child 2.3"}),T(v,{leafClassName:"k-treeview-load-more-button",text:"Load more ..."})]})}),T(v,{text:"Root 3",children:ot(F,{children:[T(v,{text:"Child 3.1"}),T(v,{text:"Child 3.2"}),T(v,{text:"Child 3.3"})]})})]})})]})};be.states=$r;be.options=Wr;be.className=Mn;be.defaultOptions=kn;be.moduleName=En;be.folderName=Sn;var Ln=be;import{jsx as Jr}from"react/jsx-runtime";var Sb=e=>Jr(Ln,{id:X("mst"),"aria-label":"Select options",showArrowButton:!0,...e});export{Sb as MultiSelectTreeArrowButton};
1
+ var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,n)=>t[n]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var A=(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"}),O=(e,t)=>{let{valid:o,invalid:n,hover:a,focus:l,checked:d,active:c,selected:u,disabled:h,indeterminate:b,loading:N,empty:I,readonly:M,highlighted:R,...y}=t;return r({"k-valid":o,"k-invalid":n,"k-hover":a,"k-focus":l,"k-checked":d,"k-active":c,"k-selected":u,"k-disabled":h,"k-indeterminate":b&&!d,"k-loading":N,"k-empty":I,"k-readonly":M,"k-highlighted":R},Object.keys(y).reduce((E,S)=>(S.startsWith("k-")?E[S]=y[S]:E[`k-${S}`]=y[S],E),{}))};function ho(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(n=>[`k-${n}`,!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"},f={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Z={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 It={};function G(e){return It[e]=(It[e]||0)+1,`k-${e}-${It[e]}`}var Fe="input",nt=Fe;import{jsx as zn}from"react/jsx-runtime";var at="k-input",_n=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Pn={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Hn={},L=e=>{let{hover:t,focus:o,disabled:n,invalid:a,valid:l,loading:d,readonly:c,size:u,rounded:h,fillMode:b,...N}=e;return zn("span",{...N,className:r(e.className,at,A(at,{size:u,rounded:h,fillMode:b}),O(at,{hover:t,focus:o,disabled:n,invalid:a,valid:l,loading:d,readonly:c}))})};L.states=_n;L.options=Pn;L.className=at;L.defaultOptions=Hn;L.moduleName=Fe;L.folderName=nt;import{jsx as Vn}from"react/jsx-runtime";var it="k-picker",Dn=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Bn={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Fn={},Ne=e=>{let{hover:t,focus:o,disabled:n,invalid:a,valid:l,loading:d,readonly:c,size:u,rounded:h,fillMode:b,...N}=e;return Vn("span",{...N,className:r(e.className,it,A(it,{size:u,rounded:h,fillMode:b}),O(it,{hover:t,focus:o,disabled:n,invalid:a,valid:l,loading:d,readonly:c})),children:e.children})};Ne.states=Dn;Ne.options=Bn;Ne.className=it;Ne.defaultOptions=Fn;Ne.moduleName=Fe;Ne.folderName=nt;import{Fragment as $n,jsx as xo}from"react/jsx-runtime";var Et="k-font-icon",Un=[],Gn={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]},Xn={},Ve=e=>{let{size:t,themeColor:o,icon:n,rotate:a,flip:l,...d}=e;return n?xo("span",{...d,className:r(e.className,Et,A(Et,{size:t}),{[`k-i-${n}`]:n,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true"}):xo($n,{})};Ve.states=Un;Ve.options=Gn;Ve.className=Et;Ve.defaultOptions=Xn;var bo=Ve;import{Fragment as qn,jsx as rt}from"react/jsx-runtime";var St="k-svg-icon",Wn=[],Jn={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:[Z.outline,Z.solid,Z.duotone]},yt={viewBox:"0 0 24 24",variant:Z.outline},Ue=e=>{let{size:t,themeColor:o,rotate:n,flip:a,viewBox:l=yt.viewBox,variant:d=yt.variant,icon:c,...u}=e;if(!c)return rt(qn,{});if(c==="none")return rt("span",{...u,className:r(e.className,St,A("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let h=typeof c=="object"&&c.name&&c.name,b=typeof c=="object"?d&&c.variants?.[d]||c.variants?.outline||c.content:void 0;return rt("span",{...u,className:r(e.className,St,A("k-icon",{size:t}),{[`k-svg-i-${h}`]:h,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":a==="h"||a==="both","k-flip-v":a==="v"||a==="both"}),"aria-hidden":"true",children:rt("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:l,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:c?void 0:e.children})})};Ue.states=Wn;Ue.options=Jn;Ue.className=St;Ue.defaultOptions=yt;var Mt=Ue;import*as kt from"@progress/kendo-svg-icons";var vo="icon",No="icons";import{useContext as Qn}from"react";import{createContext as Yn}from"react";var Co=Yn({iconsType:"svg"});import{Fragment as Ao,jsx as Ge}from"react/jsx-runtime";var st="k-icon",Zn=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),jn=[],ea={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:[Z.outline,Z.solid,Z.duotone]},lt={viewBox:"0 0 24 24",type:"svg",variant:Z.outline},x=e=>{let{iconsType:t}=Qn(Co),{size:o,themeColor:n,icon:a,type:l=t||lt.type,rotate:d,flip:c,viewBox:u=lt.viewBox,variant:h=lt.variant,...b}=e;if(!a)return Ge(Ao,{});if((t||l)==="svg"){if(a==="none")return Ge(Mt,{...b,className:r(e.className,st),icon:a,size:o,variant:h});let I=kt[a]?a:Zn(`${a}-icon`);return kt[I]?Ge(Mt,{...b,className:r(e.className,st),icon:kt[I],size:o,themeColor:n,rotate:d,flip:c,viewBox:u,variant:h}):Ge(Ao,{})}return Ge(bo,{...b,className:r(e.className,st),icon:a,size:o,themeColor:n,rotate:d,flip:c})};x.states=jn;x.options=ea;x.defaultOptions=lt;x.className=st;x.moduleName=vo;x.folderName=No;import{Fragment as na,jsx as Lt}from"react/jsx-runtime";var To="k-clear-value",ta=[i.disabled,i.loading,i.readonly],oa={},X=e=>{let{disabled:t,loading:o,readonly:n,value:a}=e;return t||n||o||!a?Lt(na,{}):Lt("span",{className:r(e.className,To),children:Lt(x,{icon:"x"})})};X.states=ta;X.options=oa;X.className=To;import{jsx as ra}from"react/jsx-runtime";var Ot="k-input-inner",aa=[],ia={},dt={type:"text",autocomplete:"off",value:"",placeholder:""},ne=e=>{let{value:t=dt.value,type:o=dt.type,placeholder:n=dt.placeholder,autocomplete:a=dt.autocomplete,disabled:l,readOnly:d,...c}=e;return ra("input",{...c,type:o,className:r(e.className,Ot,A(Ot,e)),placeholder:n,autoComplete:a,defaultValue:t,disabled:l||void 0,readOnly:d||void 0})};ne.states=aa;ne.options=ia;ne.className=Ot;import{jsx as Io,jsxs as da}from"react/jsx-runtime";var gt="k-input-inner",sa=[],la={},wt=e=>{let{value:t,placeholder:o,showValue:n,valueIcon:a,valueIconName:l,...d}=e;return da("span",{...d,className:r(e.className,gt,A(gt,e)),children:[a,!a&&l&&Io(x,{className:"k-input-value-icon",icon:l}),n&&!t&&o,n&&t&&Io("span",{className:"k-input-value-text",children:t})]})};wt.states=sa;wt.options=la;wt.className=gt;import{jsx as ma}from"react/jsx-runtime";var Rt="k-input-inner",ca=[],pa={},Eo={value:"",placeholder:""},Kt=e=>{let{value:t=Eo.value,placeholder:o=Eo.placeholder,rows:n,disabled:a,...l}=e;return ma("textarea",{...l,className:r(e.className,Rt,A(Rt,e)),placeholder:o,rows:n,defaultValue:t,disabled:a||void 0})};Kt.states=ca;Kt.options=pa;Kt.className=Rt;import{Fragment as fa,jsx as So}from"react/jsx-runtime";var yo="k-input-loading-icon",ua=[i.disabled,i.loading],j=e=>{let{disabled:t,loading:o}=e;return t||!o?So(fa,{}):So("span",{className:r(e.className,yo,"k-icon k-i-loading")})};j.states=ua;j.className=yo;import{Fragment as ba,jsx as Mo}from"react/jsx-runtime";var ko="k-input-validation-icon",ha=[i.valid,i.invalid,i.disabled,i.loading],xa={},$=e=>{let{valid:t,invalid:o,disabled:n,loading:a}=e,l=o?"warning-circle":"check-circle";return n||a||!!!(t||o)?Mo(ba,{}):Mo(x,{className:r(ko),icon:l})};$.states=ha;$.options=xa;$.className=ko;import{Fragment as Ca,jsx as Lo}from"react/jsx-runtime";var va="k-input-prefix",Na={direction:"horizontal"},Ce=e=>{let{direction:t=Na.direction,...o}=e;return e.children?Lo("span",{...o,className:r(va,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Lo(Ca,{})};import{Fragment as Ia,jsx as Oo}from"react/jsx-runtime";var Aa="k-input-suffix",Ta={direction:"horizontal"},Ae=e=>{let{direction:t=Ta.direction,...o}=e;return e.children?Oo("span",{...o,className:r(Aa,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Oo(Ia,{})};import{jsx as cl}from"react/jsx-runtime";import{jsx as fl}from"react/jsx-runtime";import{jsx as Sa}from"react/jsx-runtime";var go="k-input-separator",Ea={direction:"vertical"},Te=e=>{let{direction:t=Ea.direction,...o}=e;return Sa("span",{...o,className:r(go,e.className,{[`${go}-${t}`]:t})})};var _t="button",wo=_t;import{Fragment as Ro,jsx as Ie,jsxs as Ko}from"react/jsx-runtime";var Xe="k-button",ya=["icon-button"],Ma=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],ka={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:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.inverse]},Pt={showArrow:!1,arrowIconName:"chevron-down"},C=e=>{let{as:t="button",size:o,rounded:n,fillMode:a,themeColor:l,showArrow:d=Pt.showArrow,arrowIconName:c=Pt.arrowIconName,variant:u,hover:h,focus:b,active:N,selected:I,disabled:M,togglable:R,ariaDisabled:y,icon:E,iconSize:S,text:_,iconClassName:Y,className:Q,...oe}=e,ue=E!=null,Be=e.children!==void 0;return Ko(t,{className:r(Q,Xe,ho(Xe,u),A(Xe,{size:o,rounded:n,fillMode:a,themeColor:l}),O(Xe,{hover:h,focus:b,active:N,disabled:M||y,selected:I}),{"k-icon-button":!_&&!Be&&ue}),"aria-pressed":R?I?"true":"false":void 0,...oe,"aria-disabled":y?"true":void 0,disabled:M||void 0,children:[typeof E=="string"&&E&&Ie(x,{className:r(Y,"k-button-icon"),icon:E,size:S}),E&&typeof E!="string"&&Ie(Ro,{children:E}),_?Ko(Ro,{children:[_&&Ie("span",{className:"k-button-text",children:_}),e.children]}):e.children&&Ie("span",{className:"k-button-text",children:e.children}),d&&Ie("span",{className:"k-menu-button-arrow k-button-arrow",children:Ie(x,{icon:c})})]})};C.states=Ma;C.options=ka;C.variants=ya;C.className=Xe;C.defaultOptions=Pt;C.moduleName=_t;C.folderName=wo;import{jsx as La}from"react/jsx-runtime";var fe=e=>La(C,{children:"Button",...e});import{Fragment as _o,jsx as ee,jsxs as Ht}from"react/jsx-runtime";var Oa=L.states,ga=L.defaultOptions,wa=L.options,Ra=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Ka=[],Ee=e=>{let{modifiers:t,valid:o,invalid:n,loading:a,disabled:l,readonly:d,...c}=e,u=t?.prefix,h=t?.suffix,b=t?.["clear-button"],N=t?.["validation-icon"],I=t?.separators;return Ht(L,{...c,valid:o,invalid:n,loading:a,disabled:l,readonly:d,style:{width:300},children:[u&&Ht(_o,{children:[ee(Ce,{children:ee(x,{icon:"lock"})}),I&&ee(Te,{})]}),ee(ne,{placeholder:"Placeholder",value:"Value"}),N&&ee($,{valid:o,invalid:n,loading:a,disabled:l}),ee(j,{loading:a,disabled:l}),b&&ee(X,{loading:a,disabled:l,readonly:d,value:"Value"}),h&&Ht(_o,{children:[I&&ee(Te,{}),ee(Ae,{children:ee(fe,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};Ee.options=wa;Ee.states=Oa;Ee.variants=Ka;Ee.defaultOptions=ga;Ee.modifiers=Ra;Ee.className=L.className;import{jsx as _a}from"react/jsx-runtime";var Po=e=>_a(C,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as Pa}from"react/jsx-runtime";var Ho=e=>Pa(C,{icon:"folder",children:"Button",...e});import{jsx as zt}from"react/jsx-runtime";var Ha=C.options,za=C.states,Da={...C.defaultOptions,variant:"text"},Ba=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Fa=[],Se=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return zt(Po,{...o,icon:"star"});case"icon-and-text":return zt(Ho,{...o,icon:"star",children:"Button"});default:return zt(fe,{...o,children:"Button"})}};Se.options=Ha;Se.states=za;Se.variants=Ba;Se.defaultOptions=Da;Se.modifiers=Fa;Se.className=C.className;import{jsx as ct}from"react/jsx-runtime";var Va="k-chip-action";var ae=e=>{let{type:t,...o}=e,n;switch(t){case"remove":n=ct(x,{icon:"x-circle",size:"small"});break;case"more":n=ct(x,{icon:"more-vertical",size:"small"});break;default:return ct(x,{icon:t,size:"small"})}return ct("span",{...o,className:r(e.className,Va,`k-chip-${t}-action`),children:n})};var Dt="avatar",zo=Dt;import{jsx as Do}from"react/jsx-runtime";var $e="k-avatar";var Ua=[i.hover,i.focus,i.active,i.selected,i.disabled],Ga={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.outline],themeColor:[m.undefined,m.base,m.primary,m.secondary,m.tertiary]},Bt={type:"text",border:!1},z=e=>{let{size:t,rounded:o,fillMode:n,themeColor:a,type:l=Bt.type,border:d=Bt.border,...c}=e;return Do("div",{...c,className:r(e.className,$e,A($e,{size:t,rounded:o,fillMode:n,themeColor:a}),{[`${$e}-bordered`]:d}),children:Do("span",{className:`${$e}-${l}`,children:e.children})})};z.states=Ua;z.options=Ga;z.className=$e;z.defaultOptions=Bt;z.moduleName=Dt;z.folderName=zo;var he=z;import{jsx as Xa}from"react/jsx-runtime";var Bo=e=>Xa(he,{type:"icon",...e});import{jsx as $a}from"react/jsx-runtime";var Fo=e=>$a(he,{type:"text",...e});import{jsx as Wa}from"react/jsx-runtime";var Vo=e=>Wa(he,{type:"image",...e});import{jsx as Vd}from"react/jsx-runtime";import{jsx as We}from"react/jsx-runtime";var Ja=z.options,qa=z.states,Ya={...z.defaultOptions,variant:"image"},Qa=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],Za=[],ye=e=>{let{variant:t,...o}=e;switch(t){case"icon":return We(Bo,{...o,children:We(x,{icon:"star"})});case"text":return We(Fo,{...o,children:"JO"});default:return We(Vo,{...o,children:We("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};ye.options=Ja;ye.states=qa;ye.variants=Qa;ye.defaultOptions=Ya;ye.modifiers=Za;ye.className=z.className;var Je="chip",pt=Je,mt="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg";import{jsx as Me,jsxs as ti}from"react/jsx-runtime";var ut="k-chip",ja=[i.hover,i.focus,i.active,i.selected,i.disabled],ei={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.outline],themeColor:[m.undefined,m.base,m.success,m.warning,m.error,m.info]},Uo={avatarImage:"/packages/html/assets/avatar.jpg"},B=e=>{let{size:t,rounded:o,fillMode:n,themeColor:a,text:l,icon:d,actions:c,showAvatar:u,avatarImage:h=Uo.avatarImage,hover:b,focus:N,active:I,selected:M,disabled:R,...y}=e;return ti("div",{...y,className:r(e.className,ut,A(ut,{size:t,rounded:o,fillMode:n,themeColor:a}),O(ut,{hover:b,focus:N,active:I,disabled:R,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":R?"true":void 0,children:[d&&Me(x,{className:"k-chip-icon",icon:d,size:"small"}),u&&Me(z,{className:"k-chip-avatar",type:"image",children:Me("img",{src:h,alt:""})}),Me("span",{className:"k-chip-content",children:e.children?e.children:l&&Me("span",{className:"k-chip-label",children:l})}),c&&Me("span",{className:"k-chip-actions",children:c})]})};B.states=ja;B.options=ei;B.className=ut;B.defaultOptions=Uo;B.moduleName=Je;B.folderName=pt;var V=B;import{jsx as ii}from"react/jsx-runtime";var Ft="k-chip-list",oi=[],ni={size:[s.undefined,s.small,s.medium,s.large]},ai={},g=e=>{let{size:t,multiselectable:o,ariaLabel:n,...a}=e;return ii("div",{...a,className:r(e.className,Ft,A(Ft,{size:t})),role:e.role||"listbox","aria-label":e.role==="none"?void 0:n||"chip list","aria-orientation":e.role==="none"?void 0:"horizontal","aria-multiselectable":o?"true":void 0,children:e.children})};g.states=oi;g.options=ni;g.className=Ft;g.defaultOptions=ai;g.moduleName=Je;g.folderName=pt;import{jsx as vc}from"react/jsx-runtime";import{jsx as Tc}from"react/jsx-runtime";import{jsx as ri}from"react/jsx-runtime";var ft=e=>ri(V,{text:"text",...e});import{jsx as Oc}from"react/jsx-runtime";import{jsx as Kc}from"react/jsx-runtime";import{Fragment as Bc,jsx as Dc,jsxs as Fc}from"react/jsx-runtime";import{jsx as $c,jsxs as Wc}from"react/jsx-runtime";import{jsx as Zc,jsxs as jc}from"react/jsx-runtime";import{jsx as ip,jsxs as rp}from"react/jsx-runtime";import{jsx as ke,jsxs as mi}from"react/jsx-runtime";var si={...V.options,...g.options},li=[],di=g.states,ci={...V.defaultOptions,...g.defaultOptions},pi=[{name:"icon",title:"Icon",type:"boolean"},{name:"actions",title:"Actions",type:"boolean"},{name:"avatar",title:"Avatar",type:"boolean"}],Le=e=>{let{modifiers:t,className:o,...n}=e,a=t?.icon,l=t?.actions,d=t?.avatar,c=d?mt:void 0;return mi(g,{size:n.size,className:o,children:[ke(ft,{...n,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:l?ke(ae,{type:"remove"}):void 0,showAvatar:d,avatarImage:c,children:"Chip"}),ke(ft,{...n,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:l?ke(ae,{type:"remove"}):void 0,showAvatar:d,avatarImage:c,children:"Chip"}),ke(ft,{...n,role:"option","aria-selected":"false","aria-pressed":void 0,icon:a?"star":void 0,actions:l?ke(ae,{type:"remove"}):void 0,showAvatar:d,avatarImage:c,children:"Chip"})]})};Le.options=si;Le.states=di;Le.variants=li;Le.defaultOptions=ci;Le.modifiers=pi;Le.className=g.className;import{jsx as Vt}from"react/jsx-runtime";var ui=B.states,fi=B.defaultOptions,hi=B.options,xi=[],bi=[{name:"icon",title:"Icon"},{name:"avatar",title:"Avatar"},{name:"remove-icon",title:"`Remove` Icon"},{name:"more-options",title:"`More options` Icon"}],Oe=e=>{let{modifiers:t,...o}=e,n={};return Object.keys(t||{}).forEach(a=>{switch(a){case"icon":n.icon=t?.[a]?"arrow-down":void 0;break;case"avatar":n.showAvatar=!!t?.[a],n.avatarImage=t?.[a]?mt:void 0;break;case"more-options":n.actions||(n.actions=[]),n.actions[0]=t?.[a]?Vt(ae,{type:"more"}):void 0;break;case"remove-icon":n.actions||(n.actions=[]),n.actions[1]=t?.[a]?Vt(ae,{type:"remove"}):void 0;break;default:break}}),Vt(B,{...o,...n,children:"Chip component"})};Oe.options=hi;Oe.states=ui;Oe.variants=xi;Oe.defaultOptions=fi;Oe.modifiers=bi;Oe.className=B.className;var Ut="popup",Go=Ut;import{jsx as Xo}from"react/jsx-runtime";var $o="k-animation-container",vi=[],Ni={},Gt={positionMode:"absolute",shown:!0},te=e=>{let{positionMode:t=Gt.positionMode,shown:o=Gt.shown,animationStyle:n,offset:a,...l}=e;return Xo("div",{...l,style:{...a,...e.style},className:r(e.className,$o,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Xo("div",{className:"k-child-animation-container",style:n,children:e.children})})};te.states=vi;te.options=Ni;te.className=$o;te.defaultOptions=Gt;te.moduleName=Ut;te.folderName=Go;var Xt="popup",Wo=Xt;import{jsx as Jo}from"react/jsx-runtime";var qo="k-popup",Ci=[],Ai={},Yo={positionMode:"absolute"},re=e=>{let{offset:t,positionMode:o=Yo.positionMode,animationStyle:n,containerClassName:a,containerRole:l,containerAriaLabel:d,...c}=e;return Jo(te,{positionMode:o,offset:t,animationStyle:n,className:a,role:l,"aria-label":d,children:Jo("div",{...c,className:r(e.className,qo),children:e.children})})};re.states=Ci;re.options=Ai;re.className=qo;re.defaultOptions=Yo;re.moduleName=Xt;re.folderName=Wo;var $t="action-buttons",Qo=$t;import{jsx as Ei}from"react/jsx-runtime";var ht="k-actions",Ti=[],Ii={},Wt={alignment:"start",orientation:"horizontal"},se=e=>{let{alignment:t=Wt.alignment,orientation:o=Wt.orientation,...n}=e;return Ei("div",{...n,className:r(ht,{[`${ht}-${t}`]:t,[`${ht}-${o}`]:o},e.className),children:e.children})};se.states=Ti;se.options=Ii;se.className=ht;se.defaultOptions=Wt;se.moduleName=$t;se.folderName=Qo;import{jsx as yi}from"react/jsx-runtime";var Si="k-actionsheet-footer",Zo={alignment:"stretched",orientation:"horizontal"},ge=e=>{let{alignment:t=Zo.alignment,orientation:o=Zo.orientation,template:n,as:a=n?"div":se,...l}=e;return yi(a,{...l,...!n&&{alignment:t,orientation:o},className:r(e.className,Si),children:e.children})};var Jt="searchbox",jo=Jt;import{jsx as qe,jsxs as Li}from"react/jsx-runtime";var en="k-searchbox",Mi=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],ki={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},xt={showIcon:!0,showClearButton:!0,icon:"search"},le=e=>{let{value:t,placeholder:o,size:n,rounded:a,fillMode:l,hover:d,focus:c,valid:u,invalid:h,required:b,loading:N,disabled:I,showIcon:M=xt.showIcon,showClearButton:R=xt.showClearButton,icon:y=xt.icon,"aria-label":E,...S}=e;return Li(L,{...S,size:n,rounded:a,fillMode:l,hover:d,focus:c,valid:u,invalid:h,required:b,loading:N,disabled:I,className:r(e.className,en),children:[M&&qe(x,{className:"k-input-icon",icon:y}),qe(ne,{placeholder:o,value:t,"aria-label":E}),qe(j,{...e}),qe($,{...e}),R&&qe(X,{...e})]})};le.states=Mi;le.options=ki;le.className=en;le.defaultOptions=xt;le.moduleName=Jt;le.folderName=jo;import{jsx as Cm}from"react/jsx-runtime";var qt="textbox",tn=qt;import{Fragment as on,jsx as de,jsxs as Yt}from"react/jsx-runtime";var nn="k-textbox",Oi=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],gi={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},bt={showClearButton:!0,showValidationIcon:!0,separators:!0},D=e=>{let{size:t,rounded:o,fillMode:n,separators:a=bt.separators,showClearButton:l=bt.showClearButton,showValidationIcon:d=bt.showValidationIcon,prefix:c,suffix:u,type:h,value:b,placeholder:N,hover:I,focus:M,valid:R,invalid:y,required:E,loading:S,disabled:_,readonly:Y,id:Q,"aria-label":oe,"aria-describedby":ue,...Be}=e;return Yt(L,{...Be,size:t,rounded:o,fillMode:n,hover:I,focus:M,valid:R,invalid:y,required:E,loading:S,disabled:_,readonly:Y,className:r(e.className,nn),children:[c&&Yt(on,{children:[de(Ce,{children:c}),a&&de(Te,{})]}),de(ne,{id:Q,placeholder:N,value:b,type:h,disabled:_,"aria-label":oe,"aria-describedby":ue,"aria-invalid":y?"true":void 0}),d&&de($,{valid:R,invalid:y,loading:S,disabled:_}),de(j,{loading:S,disabled:_}),l&&de(X,{loading:S,disabled:_,readonly:Y,value:b}),u&&Yt(on,{children:[a&&de(Te,{}),de(Ae,{children:u})]})]})};D.states=Oi;D.options=gi;D.className=nn;D.defaultOptions=bt;D.moduleName=qt;D.folderName=tn;var Ye=D;import{jsx as wi}from"react/jsx-runtime";var an=e=>wi(Ye,{...e});import{Fragment as zm,jsx as Hm}from"react/jsx-runtime";import{Fragment as Gm,jsx as Um}from"react/jsx-runtime";import{jsx as Jm}from"react/jsx-runtime";import{jsx as Qt}from"react/jsx-runtime";var Ri=D.states,Ki=D.defaultOptions,_i=D.options,Pi=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Hi=[],we=e=>{let{modifiers:t,...o}=e,n={};return Object.keys(t||{}).forEach(a=>{switch(a){case"prefix":n.prefix=t?.[a]?Qt(x,{icon:"lock"}):void 0;break;case"suffix":n.suffix=t?.[a]?Qt(fe,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":n.showClearButton=t?.[a];break;default:break}}),Qt(an,{value:"Value",style:{width:300},...o,...n})};we.options=_i;we.states=Ri;we.variants=Hi;we.defaultOptions=Ki;we.modifiers=Pi;we.className=D.className;import{jsx as ce,jsxs as Zt}from"react/jsx-runtime";var rn="k-actionsheet-titlebar",zi={},W=e=>{let{title:t,subtitle:o,actionsStart:n,actionsEnd:a,filter:l,input:d,inputValue:c,inputPlaceholder:u,adaptive:h,titleId:b,children:N,...I}=e;return Zt("div",{...I,className:r(e.className,rn),children:[Zt("div",{className:"k-actionsheet-titlebar-group",children:[n&&ce("div",{className:"k-actionsheet-actions",children:n}),!N&&Zt("div",{className:"k-actionsheet-title",id:b,children:[t&&ce("div",{className:"k-text-center",children:t}),o&&ce("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&ce("div",{className:"k-actionsheet-title",id:b,children:N}),a&&ce("div",{className:"k-actionsheet-actions",children:a})]}),(d||l)&&ce("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?ce(D,{value:c,placeholder:u,size:h?"large":"medium","aria-label":t||u||"Input"}):ce(le,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};W.className=rn;W.defaultOptions=zi;import{jsx as jt,jsxs as Vi}from"react/jsx-runtime";var eo="k-actionsheet-view",Di=[],Bi={},Fi={},Re=e=>{let{adaptive:t,animated:o,children:n,header:a,footer:l,titleId:d,...c}=e,u=a?.type===W&&jt(W,{adaptive:t,titleId:d,...a?.props}),h=l?.type===ge&&jt(ge,{...l?.props});return Vi("div",{...c,className:r(e.className,eo,{[`${eo}-animated`]:o}),children:[u,jt("div",{className:"k-actionsheet-content",children:n}),h]})};Re.states=Di;Re.options=Bi;Re.className=eo;Re.defaultOptions=Fi;var Qe="action-sheet",vt=Qe;var to="overlay",sn=to;import{jsx as $i}from"react/jsx-runtime";var ln="k-overlay",Ui=[],Gi={},Xi={},pe=e=>{let{...t}=e;return $i("div",{...t,className:r(e.className,ln),children:e.children})};pe.states=Ui;pe.options=Gi;pe.className=ln;pe.defaultOptions=Xi;pe.moduleName=to;pe.folderName=sn;import{jsx as Nt,jsxs as qi}from"react/jsx-runtime";var dn="k-actionsheet",Wi=[],Ji={},Ze={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},K=e=>{let{side:t=Ze.side,fullscreen:o=Ze.fullscreen,adaptive:n=Ze.adaptive,overlay:a=Ze.overlay,template:l,children:d,header:c,footer:u,id:h,...b}=e,N=h&&!l&&c?`${h}-title`:void 0;return qi("div",{className:"k-actionsheet-container",children:[a&&Nt(pe,{}),Nt(te,{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:Nt("div",{...b,id:h,role:"dialog","aria-modal":a?"true":void 0,"aria-labelledby":N,className:r(e.className,dn,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":n}),children:l||Nt(Re,{header:c,footer:u,adaptive:n,titleId:N,...e,children:d})})})]})};K.states=Wi;K.options=Ji;K.className=dn;K.defaultOptions=Ze;K.moduleName=Qe;K.folderName=vt;import{jsx as ji}from"react/jsx-runtime";var cn="k-actionsheet-container",Yi=[],Qi={},Zi={},Ke=e=>{let{children:t,...o}=e;return ji("div",{...o,className:cn,children:t})};Ke.states=Yi;Ke.options=Qi;Ke.className=cn;Ke.defaultOptions=Zi;Ke.moduleName=Qe;Ke.folderName=vt;import{jsx as er}from"react/jsx-runtime";var oo=e=>{let{...t}=e;return er("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as or,jsx as je,jsxs as no}from"react/jsx-runtime";var ao="k-actionsheet-item",tr=[i.hover,i.focus,i.selected,i.disabled],me=e=>{let{iconName:t,text:o,description:n,hover:a,focus:l,selected:d,disabled:c,...u}=e;return no("span",{...u,className:r(e.className,ao,O(ao,{hover:a,focus:l,selected:d,disabled:c})),children:[!e.children&&je(or,{children:no("span",{className:"k-actionsheet-action",children:[t&&je("span",{className:"k-icon-wrap",children:je(x,{className:"k-actionsheet-item-icon",icon:t})}),no("span",{className:"k-actionsheet-item-text",children:[o&&je("span",{className:"k-actionsheet-item-title",children:o}),n&&je("span",{className:"k-actionsheet-item-description",children:n})]})]})}),e.children]})};me.states=tr;me.className=ao;import{jsx as Wu,jsxs as Ju}from"react/jsx-runtime";import{jsx as Zu}from"react/jsx-runtime";import{jsx as of}from"react/jsx-runtime";import{jsx as sf}from"react/jsx-runtime";import{jsx as w,jsxs as io}from"react/jsx-runtime";var nr=K.options,ar=K.states,mn={...K.defaultOptions,variant:"normal"},ir=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],rr=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],_e=e=>{let{variant:t,modifiers:o,...n}={...mn,...e},a={},l=io(oo,{children:[w(me,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),w(me,{text:"Add to Favorites",iconName:"heart"}),w(me,{text:"Upload New",iconName:"upload",disabled:!0}),w("hr",{className:"k-hr"}),w(me,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",c="Select Item";return t==="fullScreen"&&(a.fullScreen=!0),Object.keys(o||{}).forEach(u=>{switch(u){case"actions":a.actionsStart=!!o?.[u],a.actionsEnd=!!o?.[u];break;case"subtitle":a.subtitle=o?.[u]?d:void 0;break;case"footer":a.footer=!!o?.[u];break;default:break}}),t==="adaptive"?w(K,{...n,adaptive:!0,fullscreen:a.fullScreen,header:w(W,{actionsStart:a.actionsStart?w(C,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:a.actionsEnd?w(C,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:a.subtitle}),footer:a.footer?io(ge,{alignment:"stretched",children:[w(C,{text:"Cancel",size:"large",themeColor:"base"}),w(C,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:l}):w(K,{...n,fullscreen:a.fullScreen,header:w(W,{actionsStart:a.actionsStart?w(C,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:a.actionsEnd?w(C,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:a.subtitle}),footer:a.footer?io(ge,{alignment:"stretched",children:[w(C,{text:"Apply",themeColor:"primary"}),w(C,{text:"Cancel",themeColor:"base"})]}):void 0,children:l})};_e.options=nr;_e.states=ar;_e.variants=ir;_e.defaultOptions=mn;_e.modifiers=rr;_e.className=K.className;import so from"react";import ro from"react";import{jsx as lr}from"react/jsx-runtime";var sr="k-treeview-group",F=e=>{let{children:t,dir:o,level:n=1,role:a="group",...l}=e;return lr("ul",{...l,className:r(e.className,sr),role:a,children:ro.Children.map(t,(d,c)=>ro.isValidElement(d)?ro.cloneElement(d,{dir:o,level:n,key:c}):d)})};var et="treeview",Ct=et;import{jsx as un}from"react/jsx-runtime";var lo="k-treeview",dr=[],cr={size:[s.undefined,s.small,s.medium,s.large]},pr={},k=e=>{let{size:t,children:o,dir:n,...a}=e;return un("div",{...a,dir:n,className:r(e.className,lo,A(lo,{size:t})),children:un(F,{className:"k-treeview-lines",role:"tree",dir:n,children:so.Children.map(o,(l,d)=>so.isValidElement(l)?so.cloneElement(l,{dir:n,key:d}):l)})})};k.states=dr;k.options=cr;k.className=lo;k.defaultOptions=pr;k.moduleName=et;k.folderName=Ct;import po from"react";var xe="checkbox",Pe=xe;import{jsx as fn}from"react/jsx-runtime";var At="k-checkbox",mr=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],ur={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full]},fr={},J=e=>{let{id:t,checked:o,indeterminate:n,hover:a,focus:l,disabled:d,invalid:c,valid:u,required:h,size:b,rounded:N,wrapperRole:I,...M}=e;return fn("span",{className:"k-checkbox-wrap",role:I,children:fn("input",{...M,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:d||void 0,"aria-invalid":c?"true":void 0,className:r(e.className,At,A(At,{size:b,rounded:N}),O(At,{hover:a,focus:l,disabled:d,invalid:c,valid:u,indeterminate:n,checked:o}))})})};J.states=mr;J.options=ur;J.className=At;J.defaultOptions=fr;J.moduleName=xe;J.folderName=Pe;var q=J;import{jsx as br}from"react/jsx-runtime";var hn="k-checkbox-list",hr=[],xr={},xn={layout:"vertical"},P=e=>{let{layout:t=xn.layout,...o}=e;return br("ul",{...o,className:r(e.className,hn,{[`k-list-${t}`]:t}),children:e.children})};P.states=hr;P.options=xr;P.className=hn;P.defaultOptions=xn;P.moduleName=xe;P.folderName=Pe;import{jsx as Ar}from"react/jsx-runtime";var bn="k-checkbox-list-item",vr=[],Nr={},Cr={},H=e=>{let{...t}=e;return Ar("li",{...t,className:r(e.className,bn),children:e.children})};H.states=vr;H.options=Nr;H.className=bn;H.defaultOptions=Cr;H.moduleName=xe;H.folderName=Pe;import{Fragment as Tr,jsx as vn,jsxs as Ir}from"react/jsx-runtime";var ie=({children:e="Label",id:t="cb-label-after",...o})=>Ir(Tr,{children:[vn(q,{id:t,...o}),vn("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as sh,jsx as rh,jsxs as lh}from"react/jsx-runtime";import{Fragment as uh,jsx as mh,jsxs as fh}from"react/jsx-runtime";import{Fragment as Nh,jsx as vh,jsxs as Ch}from"react/jsx-runtime";import{jsx as Eh}from"react/jsx-runtime";import{jsx as kh}from"react/jsx-runtime";import{jsx as wh}from"react/jsx-runtime";import{jsx as U,jsxs as Nn}from"react/jsx-runtime";var Er=P.options,Sr=P.states,yr={...P.defaultOptions,variant:"vertical"},Mr=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],kr=[],He=e=>{let{variant:t,...o}=e;return t==="horizontal"?Nn(P,{layout:"horizontal",...o,children:[U(H,{children:U(ie,{id:G("cb"),defaultChecked:!0,children:"Label"})}),U(H,{children:U(ie,{id:G("cb"),children:"Label"})}),U(H,{children:U(ie,{id:G("cb"),children:"Label"})})]}):Nn(P,{...o,children:[U(H,{children:U(ie,{id:G("cb"),defaultChecked:!0,children:"Label"})}),U(H,{children:U(ie,{id:G("cb"),children:"Label"})}),U(H,{children:U(ie,{id:G("cb"),children:"Label"})})]})};He.options=Er;He.states=Sr;He.variants=Mr;He.defaultOptions=yr;He.modifiers=kr;He.className=P.className;import{jsx as Kr}from"react/jsx-runtime";var Lr=q.options,Or=q.states,gr=q.defaultOptions,wr=[],Rr=[],ze=e=>Kr(ie,{id:G("checkbox"),...e,defaultChecked:!0,children:"Label"});ze.options=Lr;ze.states=Or;ze.variants=wr;ze.defaultOptions=gr;ze.modifiers=Rr;ze.className=q.className;import{jsx as Cn,jsxs as Hr}from"react/jsx-runtime";var co="k-treeview-leaf",_r=[i.hover,i.focus,i.selected],Pr={},Tt=e=>{let{text:t,showIcon:o,icon:n,children:a,hover:l,focus:d,selected:c,...u}=e;return Hr("span",{...u,className:r(e.className,co,O(co,{hover:l,focus:d,selected:c})),children:[o&&Cn(x,{icon:n}),Cn("span",{className:"k-treeview-leaf-text",children:a??t})]})};Tt.states=_r;Tt.options=Pr;Tt.className=co;var An=Tt;import{jsx as tt,jsxs as Tn}from"react/jsx-runtime";var In="k-treeview-item",zr=[i.hover,i.focus,i.selected,i.disabled],Dr={},Br={},v=e=>{let{leafClassName:t,children:o,hasChildren:n,expanded:a,loading:l,text:d,content:c,showIcon:u,icon:h,showCheckbox:b,checked:N,hover:I,focus:M,selected:R,disabled:y,dir:E,level:S=1,ariaSelected:_,...Y}=e,Q=n||o||l;return Tn("li",{...Y,className:r(e.className,In),style:{"--kendo-treeview-level":S},role:"treeitem","aria-expanded":Q?a?"true":"false":void 0,"aria-checked":b?N?"true":"false":void 0,"aria-selected":_?"true":void 0,"aria-disabled":y?"true":void 0,children:[Tn("span",{className:r("k-treeview-item-content",O("k-treeview-item-content",{hover:I,focus:M,selected:R,disabled:y})),children:[Q&&tt("span",{className:r("k-treeview-toggle",O("k-treeview-toggle",{disabled:y})),children:l?tt("span",{className:"k-icon k-i-loading"}):tt(x,{icon:a?"chevron-down":E==="rtl"?"chevron-left":"chevron-right"})}),b&&tt(J,{checked:N,disabled:y,"aria-label":d,tabIndex:-1}),tt(An,{className:t,text:d,showIcon:u,icon:h,children:c})]}),a&&Q&&po.Children.map(o,(oe,ue)=>po.isValidElement(oe)?po.cloneElement(oe,{dir:E,level:S+1,key:ue}):oe)]})};v.states=zr;v.options=Dr;v.className=In;v.defaultOptions=Br;v.moduleName=et;v.folderName=Ct;import{jsx as Cx}from"react/jsx-runtime";import{jsx as Ex,jsxs as Sx}from"react/jsx-runtime";import{jsx as Lx,jsxs as Ox}from"react/jsx-runtime";import{jsx as Kx,jsxs as _x}from"react/jsx-runtime";import{jsx as Dx,jsxs as Bx}from"react/jsx-runtime";import{jsx as Gx,jsxs as Xx}from"react/jsx-runtime";import{jsx as be,jsxs as mo}from"react/jsx-runtime";var Fr=k.options,Vr=k.states,Ur=k.defaultOptions,Gr=[{name:"checkboxes",title:"Show `Checkbox`",default:!1}],Xr=[],De=e=>{let{modifiers:t,...o}=e,n={};return Object.keys(t||{}).forEach(a=>{a==="checkboxes"&&(n.showCheckbox=t?.[a])}),mo(k,{...o,children:[be(v,{text:"Furniture",expanded:!0,...n,children:mo(F,{children:[be(v,{text:"Tables & Chairs",...n}),be(v,{text:"Sofas",...n}),be(v,{text:"Occasional Furniture",...n})]})}),mo(v,{text:"Decor",expanded:!1,...n,children:[be(v,{text:"Bed Linen",...n}),be(v,{text:"Curtains & Blinds",...n}),be(v,{text:"Carpets",...n})]})]})};De.options=Fr;De.states=Vr;De.variants=Xr;De.defaultOptions=Ur;De.modifiers=Gr;De.className=k.className;var En="dropdown-tree",Sn="dropdowntree";import{Fragment as yn,jsx as T,jsxs as ot}from"react/jsx-runtime";var Mn="k-multiselecttree",$r=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Wr={size:[s.undefined,s.small,s.medium,s.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},kn={showClearButton:!0},ve=e=>{let{size:t,rounded:o,fillMode:n,showClearButton:a=kn.showClearButton,prefix:l,suffix:d,placeholder:c,tags:u,popup:h,showArrowButton:b,hover:N,focus:I,valid:M,invalid:R,required:y,loading:E,disabled:S,readonly:_,opened:Y,dir:Q,adaptive:oe,adaptiveSettings:ue,adaptiveTitle:Be,adaptiveSubtitle:On,adaptiveFilter:gn,id:uo,treeviewId:wn,"aria-label":Rn,...Kn}=e,fo=uo?`${uo}-taglist`:void 0;return ot(yn,{children:[ot(L,{...Kn,dir:Q,size:t,rounded:o,fillMode:n,hover:N,focus:I,valid:M,invalid:R,required:y,loading:E,disabled:S,readonly:_,className:r(e.className,Mn),children:[T(Ce,{children:l}),T(g,{size:t,className:"k-input-values",id:fo,children:T(yn,{children:u})}),T("span",{className:"k-input-inner",role:"combobox","aria-haspopup":"tree","aria-expanded":Y?"true":"false","aria-controls":Y?wn:void 0,"aria-autocomplete":"list","aria-describedby":u?fo:void 0,"aria-disabled":S?"true":void 0,"aria-label":Rn,tabIndex:0,children:!u&&T("span",{className:"k-input-value-text",children:c})}),T($,{valid:M,invalid:R,loading:E,disabled:S}),T(j,{loading:E,disabled:S}),a&&T(X,{loading:E,disabled:S,readonly:_,value:u?"value":""}),T(Ae,{children:d}),b&&T(C,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:n,"aria-label":"Toggle dropdown",tabIndex:-1})]}),Y&&h&&T(re,{className:"k-multiselecttree-popup",dir:Q,containerRole:"region",containerAriaLabel:"MultiSelectTree options",children:h}),oe&&T(K,{adaptive:!0,...ue,header:T(W,{actionsEnd:T(C,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:gn,inputPlaceholder:c,title:Be,subtitle:On}),children:ot(k,{size:"large",children:[T(v,{text:"Root 1"}),T(v,{text:"Root 2",expanded:!0,children:ot(F,{children:[T(v,{text:"Child 2.1"}),T(v,{text:"Child 2.2",children:T(F,{children:T(v,{text:"Child 2.2.1"})})}),T(v,{text:"Child 2.3"}),T(v,{leafClassName:"k-treeview-load-more-button",text:"Load more ..."})]})}),T(v,{text:"Root 3",children:ot(F,{children:[T(v,{text:"Child 3.1"}),T(v,{text:"Child 3.2"}),T(v,{text:"Child 3.3"})]})})]})})]})};ve.states=$r;ve.options=Wr;ve.className=Mn;ve.defaultOptions=kn;ve.moduleName=En;ve.folderName=Sn;var Ln=ve;import{jsx as Jr}from"react/jsx-runtime";var Sb=e=>Jr(Ln,{id:G("mst"),"aria-label":"Select options",showArrowButton:!0,...e});export{Sb as MultiSelectTreeArrowButton};