@progress/kendo-themes-html 13.1.0-dev.1 → 13.1.0-dev.2

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 (86) hide show
  1. package/dist/cjs/filemanager/demos/filemanager.js +1 -1
  2. package/dist/cjs/filemanager/file-info.js +1 -1
  3. package/dist/cjs/filemanager/templates/filemanager-grid-preview.js +1 -1
  4. package/dist/cjs/filemanager/templates/filemanager-grid.js +1 -1
  5. package/dist/cjs/filemanager/templates/filemanager-normal.js +1 -1
  6. package/dist/cjs/filemanager/templates/filemanager-preview.js +1 -1
  7. package/dist/cjs/gantt/demos/gantt.js +1 -1
  8. package/dist/cjs/gantt/templates/gantt-normal.js +1 -1
  9. package/dist/cjs/gantt/templates/gantt-row-reordering.js +1 -1
  10. package/dist/cjs/grid/demos/grid.js +1 -1
  11. package/dist/cjs/grid/grid-pinned-container.spec.js +1 -0
  12. package/dist/cjs/grid/grid-sticky-container.spec.js +1 -1
  13. package/dist/cjs/grid/templates/grid-hierarchy.js +1 -1
  14. package/dist/cjs/grid/templates/grid-normal.js +1 -1
  15. package/dist/cjs/grid/templates/grid-with-column-menu.js +1 -1
  16. package/dist/cjs/grid/templates/grid-with-edit-row.js +1 -1
  17. package/dist/cjs/grid/templates/grid-with-filter-menu.js +1 -1
  18. package/dist/cjs/grid/templates/grid-with-filter-row.js +1 -1
  19. package/dist/cjs/grid/templates/grid-with-grouping.js +1 -1
  20. package/dist/cjs/grid/templates/grid-with-locked-columns.js +1 -1
  21. package/dist/cjs/grid/templates/grid-with-multicolumn-headers.js +1 -1
  22. package/dist/cjs/grid/templates/grid-with-row-reordering.js +1 -1
  23. package/dist/cjs/grid/templates/grid-with-selection-aggregates.js +1 -1
  24. package/dist/cjs/grid/templates/grid-with-sticky-columns.js +1 -1
  25. package/dist/cjs/index.js +8 -8
  26. package/dist/cjs/propertygrid/demos/propertygrid.js +1 -1
  27. package/dist/cjs/propertygrid/propertygrid.spec.js +1 -1
  28. package/dist/cjs/propertygrid/templates/propertygrid-normal.js +1 -1
  29. package/dist/cjs/propertygrid/templates/propertygrid-with-preview.js +1 -1
  30. package/dist/cjs/treelist/demos/treelist.js +1 -1
  31. package/dist/cjs/treelist/templates/treelist-aggregates.js +1 -1
  32. package/dist/cjs/treelist/templates/treelist-normal.js +1 -1
  33. package/dist/cjs/treelist/templates/treelist-row-reordering.js +1 -1
  34. package/dist/cjs/treelist/templates/treelist-with-column-menu.js +1 -1
  35. package/dist/cjs/treelist/templates/treelist-with-filter-menu.js +1 -1
  36. package/dist/cjs/treelist/treelist.spec.js +1 -1
  37. package/dist/esm/filemanager/demos/filemanager.mjs +1 -1
  38. package/dist/esm/filemanager/file-info.mjs +1 -1
  39. package/dist/esm/filemanager/templates/filemanager-grid-preview.mjs +1 -1
  40. package/dist/esm/filemanager/templates/filemanager-grid.mjs +1 -1
  41. package/dist/esm/filemanager/templates/filemanager-normal.mjs +1 -1
  42. package/dist/esm/filemanager/templates/filemanager-preview.mjs +1 -1
  43. package/dist/esm/gantt/demos/gantt.mjs +1 -1
  44. package/dist/esm/gantt/templates/gantt-normal.mjs +1 -1
  45. package/dist/esm/gantt/templates/gantt-row-reordering.mjs +1 -1
  46. package/dist/esm/grid/demos/grid.mjs +1 -1
  47. package/dist/esm/grid/grid-pinned-container.spec.mjs +1 -0
  48. package/dist/esm/grid/grid-sticky-container.spec.mjs +1 -1
  49. package/dist/esm/grid/templates/grid-hierarchy.mjs +1 -1
  50. package/dist/esm/grid/templates/grid-normal.mjs +1 -1
  51. package/dist/esm/grid/templates/grid-with-column-menu.mjs +1 -1
  52. package/dist/esm/grid/templates/grid-with-edit-row.mjs +1 -1
  53. package/dist/esm/grid/templates/grid-with-filter-menu.mjs +1 -1
  54. package/dist/esm/grid/templates/grid-with-filter-row.mjs +1 -1
  55. package/dist/esm/grid/templates/grid-with-grouping.mjs +1 -1
  56. package/dist/esm/grid/templates/grid-with-locked-columns.mjs +1 -1
  57. package/dist/esm/grid/templates/grid-with-multicolumn-headers.mjs +1 -1
  58. package/dist/esm/grid/templates/grid-with-row-reordering.mjs +1 -1
  59. package/dist/esm/grid/templates/grid-with-selection-aggregates.mjs +1 -1
  60. package/dist/esm/grid/templates/grid-with-sticky-columns.mjs +1 -1
  61. package/dist/esm/index.mjs +8 -8
  62. package/dist/esm/propertygrid/demos/propertygrid.mjs +1 -1
  63. package/dist/esm/propertygrid/propertygrid.spec.mjs +1 -1
  64. package/dist/esm/propertygrid/templates/propertygrid-normal.mjs +1 -1
  65. package/dist/esm/propertygrid/templates/propertygrid-with-preview.mjs +1 -1
  66. package/dist/esm/treelist/demos/treelist.mjs +1 -1
  67. package/dist/esm/treelist/templates/treelist-aggregates.mjs +1 -1
  68. package/dist/esm/treelist/templates/treelist-normal.mjs +1 -1
  69. package/dist/esm/treelist/templates/treelist-row-reordering.mjs +1 -1
  70. package/dist/esm/treelist/templates/treelist-with-column-menu.mjs +1 -1
  71. package/dist/esm/treelist/templates/treelist-with-filter-menu.mjs +1 -1
  72. package/dist/esm/treelist/treelist.spec.mjs +1 -1
  73. package/dist/types/grid/grid-pinned-container.spec.d.ts +6 -0
  74. package/dist/types/grid/index.d.ts +1 -0
  75. package/dist/types/grid/tests/grid-row-pinning-with-sticky-grouping.d.ts +2 -0
  76. package/package.json +2 -2
  77. package/src/grid/grid-pinned-container.spec.tsx +38 -0
  78. package/src/grid/grid-sticky-container.spec.tsx +4 -10
  79. package/src/grid/index.ts +2 -1
  80. package/src/grid/templates/grid-with-sticky-columns.tsx +22 -22
  81. package/src/grid/tests/grid-group-row-pinning-adaptive.tsx +24 -22
  82. package/src/grid/tests/grid-group-row-pinning.tsx +87 -79
  83. package/src/grid/tests/grid-row-pinning-adaptive.tsx +22 -19
  84. package/src/grid/tests/grid-row-pinning-with-sticky-grouping.tsx +177 -0
  85. package/src/grid/tests/grid-row-pinning.tsx +123 -111
  86. package/src/grid/tests/grid-sticky-grouping.tsx +43 -43
@@ -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,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var y=(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"}),A=(e,t)=>{let{valid:o,invalid:a,hover:l,focus:i,checked:c,active:m,selected:h,disabled:N,indeterminate:v,loading:k,empty:u,readonly:M,highlighted:C,...S}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":l,"k-focus":i,"k-checked":c,"k-active":m,"k-selected":h,"k-disabled":N,"k-indeterminate":v&&!c,"k-loading":k,"k-empty":u,"k-readonly":M,"k-highlighted":C},Object.keys(S).reduce((R,E)=>(E.startsWith("k-")?R[E]=S[E]:R[`k-${E}`]=S[E],R),{}))};function nn(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var s={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},T={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},x={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},f={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},n={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 V="grid",X=V;import{jsx as dd,jsxs as cd}from"react/jsx-runtime";var Ba="k-grid",nd=[],id={size:[s.undefined,s.small,s.medium,s.large]},sd=[],sn={pagerPosition:"bottom"},W=e=>{let{size:t,pagerPosition:o=sn.pagerPosition,toolbar:a,pager:l,groupingHeader:i,gridSelectionAggregates:c,_renderAriaRoot:m,resizable:h,...N}=e;return cd("div",{...N,className:r(e.className,Ba,{[`${Ba}-resizable`]:h},y(Ba,{size:t})),children:[a,o==="top"&&l,i,e.children&&m?dd("div",{className:"k-grid-aria-root",children:e.children}):e.children,c,o==="bottom"&&l]})};W.states=nd;W.options=id;W.variants=sd;W.className=Ba;W.defaultOptions=sn;W.moduleName=V;W.folderName=X;import{Fragment as bd,jsx as dn}from"react/jsx-runtime";var gr="k-font-icon",pd=[],md={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[f.undefined,f.base,f.primary,f.secondary,f.tertiary,f.success,f.warning,f.error,f.info,f.light,f.dark]},ud={},_o=e=>{let{size:t,themeColor:o,icon:a,rotate:l,flip:i,...c}=e;return a?dn("span",{...c,className:r(e.className,gr,y(gr,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${l}`]:l,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true"}):dn(bd,{})};_o.states=pd;_o.options=md;_o.className=gr;_o.defaultOptions=ud;var cn=_o;import{Fragment as hd,jsx as Ga}from"react/jsx-runtime";var kr="k-svg-icon",fd=[],Td={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[f.undefined,f.base,f.primary,f.secondary,f.tertiary,f.success,f.warning,f.error,f.info,f.light,f.dark]},pn={viewBox:"0 0 24 24"},zo=e=>{let{size:t,themeColor:o,rotate:a,flip:l,viewBox:i=pn.viewBox,icon:c,...m}=e;if(!c)return Ga(hd,{});if(c==="none")return Ga("span",{...m,className:r(e.className,kr,y("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let h=typeof c=="object"&&c.name&&c.name;return Ga("span",{...m,className:r(e.className,kr,y("k-icon",{size:t}),{[`k-svg-i-${h}`]:h,[`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",children:Ga("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:i,dangerouslySetInnerHTML:typeof c=="object"?{__html:c.content}:void 0,children:c?void 0:e.children})})};zo.states=fd;zo.options=Td;zo.className=kr;zo.defaultOptions=pn;var vr=zo;import*as Lr from"@progress/kendo-svg-icons";var mn="icon",un="icons";import{useContext as Nd}from"react";import{createContext as xd}from"react";var bn=xd({iconsType:"svg"});import{Fragment as fn,jsx as Uo}from"react/jsx-runtime";var Da="k-icon",gd=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),kd=[],vd={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[f.undefined,f.base,f.primary,f.secondary,f.tertiary,f.success,f.warning,f.error,f.info,f.light,f.dark]},Cr={viewBox:"0 0 24 24",type:"svg"},g=e=>{let{iconsType:t}=Nd(bn),{size:o,themeColor:a,icon:l,type:i=t||Cr.type,rotate:c,flip:m,viewBox:h=Cr.viewBox,...N}=e;if(!l)return Uo(fn,{});if((t||i)==="svg"){if(l==="none")return Uo(vr,{...N,className:r(e.className,Da),icon:l,size:o});let k=Lr[l]?l:gd(`${l}-icon`);return Lr[k]?Uo(vr,{...N,className:r(e.className,Da),icon:Lr[k],size:o,themeColor:a,rotate:c,flip:m,viewBox:h}):Uo(fn,{})}return Uo(cn,{...N,className:r(e.className,Da),icon:l,size:o,themeColor:a,rotate:c,flip:m})};g.states=kd;g.options=vd;g.defaultOptions=Cr;g.className=Da;g.moduleName=mn;g.folderName=un;g.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var Mr="button",Tn=Mr;import{Fragment as yd,jsx as Fo,jsxs as hn}from"react/jsx-runtime";var Vo="k-button",Ld=["icon-button"],Cd=[n.hover,n.focus,n.active,n.selected,n.disabled,n.generating],Md={size:[s.undefined,s.small,s.medium,s.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[f.undefined,f.base,f.primary,f.secondary,f.tertiary,f.success,f.warning,f.error,f.info,f.light,f.dark,f.inverse]},yr={showArrow:!1,arrowIconName:"caret-alt-down"},d=e=>{let{as:t="button",size:o,rounded:a,fillMode:l,themeColor:i,showArrow:c=yr.showArrow,arrowIconName:m=yr.arrowIconName,variant:h,hover:N,focus:v,active:k,selected:u,disabled:M,togglable:C,icon:S,text:R,iconClassName:E,className:D,...ie}=e,fe=S!==void 0,Ee=e.children!==void 0;return hn(t,{className:r(D,Vo,nn(Vo,h),y(Vo,{size:o,rounded:a,fillMode:l,themeColor:i}),A(Vo,{hover:N,focus:v,active:k,disabled:M,selected:u}),{"k-icon-button":!R&&!Ee&&fe}),...ie,"aria-pressed":C?u?"true":"false":void 0,disabled:M||void 0,children:[S&&Fo(g,{className:r(E,"k-button-icon"),icon:S}),R?hn(yd,{children:[R&&Fo("span",{className:"k-button-text",children:R}),e.children]}):e.children&&Fo("span",{className:"k-button-text",children:e.children}),c&&Fo("span",{className:"k-menu-button-arrow k-button-arrow",children:Fo(g,{icon:m})})]})};d.states=Cd;d.options=Md;d.variants=Ld;d.className=Vo;d.defaultOptions=yr;d.moduleName=Mr;d.folderName=Tn;d.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};import{jsx as Sd}from"react/jsx-runtime";var Kt=e=>Sd(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as Ad}from"react/jsx-runtime";var $o=e=>Ad(d,{icon:"folder",children:"Button",...e});import{jsx as wd}from"react/jsx-runtime";var to=e=>wd(d,{children:"Button",...e});import{jsx as Sr}from"react/jsx-runtime";var Ed=d.options,Id=d.states,Rd={...d.defaultOptions,variant:"text"},Od=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Pd=[],Xo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return Sr(Kt,{...o,icon:"star"});case"icon-and-text":return Sr($o,{...o,icon:"star",children:"Button"});default:return Sr(to,{...o,children:"Button"})}};Xo.options=Ed;Xo.states=Id;Xo.variants=Od;Xo.defaultOptions=Rd;Xo.modifiers=Pd;var Ar="button",xn=Ar;import{jsx as Gd}from"react/jsx-runtime";var Wo="k-button-group",Hd=[n.disabled],Kd={fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},Bd={},K=e=>{let{fillMode:t,disabled:o,stretched:a,...l}=e;return Gd("div",{role:"group",...l,className:r(e.className,Wo,y(Wo,{fillMode:t}),A(Wo,{disabled:o}),{[`${Wo}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};K.states=Hd;K.options=Kd;K.className=Wo;K.defaultOptions=Bd;K.moduleName=Ar;K.folderName=xn;K.ariaSpec={selector:".k-button-group",rules:[{selector:".k-button-group:not(.k-split-button)",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-button-group.k-disabled",attribute:"aria-disabled=true",usage:"The attribute is rendered only when the entire button group is disabled."},{selector:".k-button-group:not(.k-split-button):not(.k-scheduler-navigation):not(.k-zoom-control) .k-button",attribute:"aria-pressed (when selected)",usage:"Specifies the current state of the ButtonGroup. Only the selected button within the group will have this attribute set to true."}]};import{Fragment as xx,jsx as hx,jsxs as Nx}from"react/jsx-runtime";import{Fragment as Mx,jsx as Cx,jsxs as yx}from"react/jsx-runtime";import{Fragment as Rx,jsx as Ix,jsxs as Ox}from"react/jsx-runtime";import{Fragment as Dx,jsx as Gx,jsxs as _x}from"react/jsx-runtime";import{Fragment as Xx,jsx as $x,jsxs as Wx}from"react/jsx-runtime";import{Fragment as jx,jsx as Zx,jsxs as eN}from"react/jsx-runtime";import{jsx as yt,jsxs as wr}from"react/jsx-runtime";var Dd={...d.options,...K.options},_d=d.states,zd={...d.defaultOptions,...K.defaultOptions,variant:"text-button"},Ud=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Fd=[],Jo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?wr(K,{fillMode:a.fillMode,className:o,children:[yt(d,{...a,icon:"star"}),yt(d,{...a,icon:"star"}),yt(d,{...a,icon:"star"})]}):t==="icon-text-button"?wr(K,{fillMode:a.fillMode,className:o,children:[yt(d,{...a,icon:"star",children:"First"}),yt(d,{...a,icon:"star",children:"Middle"}),yt(d,{...a,icon:"star",children:"Last"})]}):wr(K,{fillMode:a.fillMode,className:o,children:[yt(d,{...a,children:"First"}),yt(d,{...a,children:"Middle"}),yt(d,{...a,children:"Last"})]})};Jo.options=Dd;Jo.states=_d;Jo.variants=Ud;Jo.defaultOptions=zd;Jo.modifiers=Fd;var qo="input",_a=qo;import{jsx as Wd}from"react/jsx-runtime";var za="k-input",Vd=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],$d={size:[s.undefined,s.small,s.medium,s.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Xd={},Te=e=>{let{hover:t,focus:o,disabled:a,invalid:l,valid:i,loading:c,readonly:m,size:h,rounded:N,fillMode:v,...k}=e;return Wd("span",{...k,className:r(e.className,za,y(za,{size:h,rounded:N,fillMode:v}),A(za,{hover:t,focus:o,disabled:a,invalid:l,valid:i,loading:c,readonly:m}))})};Te.states=Vd;Te.options=$d;Te.className=za;Te.defaultOptions=Xd;Te.moduleName=qo;Te.folderName=_a;import{jsx as Qd}from"react/jsx-runtime";var Ua="k-picker",Jd=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],qd={size:[s.undefined,s.small,s.medium,s.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Yd={},ht=e=>{let{hover:t,focus:o,disabled:a,invalid:l,valid:i,loading:c,readonly:m,size:h,rounded:N,fillMode:v,...k}=e;return Qd("span",{...k,className:r(e.className,Ua,y(Ua,{size:h,rounded:N,fillMode:v}),A(Ua,{hover:t,focus:o,disabled:a,invalid:l,valid:i,loading:c,readonly:m})),children:e.children})};ht.states=Jd;ht.options=qd;ht.className=Ua;ht.defaultOptions=Yd;ht.moduleName=qo;ht.folderName=_a;import{Fragment as ec,jsx as Er}from"react/jsx-runtime";var Nn="k-clear-value",Zd=[n.disabled,n.loading,n.readonly],jd={},We=e=>{let{disabled:t,loading:o,readonly:a,value:l}=e;return t||a||o||!l?Er(ec,{}):Er("span",{className:r(e.className,Nn),children:Er(g,{icon:"x"})})};We.states=Zd;We.options=jd;We.className=Nn;import{jsx as ac}from"react/jsx-runtime";var Ir="k-input-inner",tc=[],oc={},Fa={type:"text",autocomplete:"off",value:"",placeholder:""},Je=e=>{let{value:t=Fa.value,type:o=Fa.type,placeholder:a=Fa.placeholder,autocomplete:l=Fa.autocomplete,disabled:i,readOnly:c,...m}=e;return ac("input",{...m,type:o,className:r(e.className,Ir,y(Ir,e)),placeholder:a,autoComplete:l,defaultValue:t,disabled:i||void 0,readOnly:c||void 0})};Je.states=tc;Je.options=oc;Je.className=Ir;import{jsx as gn,jsxs as nc}from"react/jsx-runtime";var Rr="k-input-inner",rc=[],lc={},oo=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:l,valueIconName:i,...c}=e;return nc("span",{...c,className:r(e.className,Rr,y(Rr,e)),children:[l,!l&&i&&gn(g,{className:"k-input-value-icon",icon:i}),a&&!t&&o,a&&t&&gn("span",{className:"k-input-value-text",children:t})]})};oo.states=rc;oo.options=lc;oo.className=Rr;import{jsx as dc}from"react/jsx-runtime";var Or="k-input-inner",ic=[],sc={},kn={value:"",placeholder:""},Pr=e=>{let{value:t=kn.value,placeholder:o=kn.placeholder,rows:a,disabled:l,...i}=e;return dc("textarea",{...i,className:r(e.className,Or,y(Or,e)),placeholder:o,rows:a,defaultValue:t,disabled:l||void 0})};Pr.states=ic;Pr.options=sc;Pr.className=Or;import{Fragment as pc,jsx as vn}from"react/jsx-runtime";var Ln="k-input-loading-icon",cc=[n.disabled,n.loading],Ge=e=>{let{disabled:t,loading:o}=e;return t||!o?vn(pc,{}):vn("span",{className:r(e.className,Ln,"k-icon k-i-loading")})};Ge.states=cc;Ge.className=Ln;import{Fragment as bc,jsx as Cn}from"react/jsx-runtime";var Mn="k-input-validation-icon",mc=[n.valid,n.invalid,n.disabled,n.loading],uc={},Ie=e=>{let{valid:t,invalid:o,disabled:a,loading:l}=e,i=o?"warning-circle":"check-circle";return a||l||!!!(t||o)?Cn(bc,{}):Cn(g,{className:r(Mn),icon:i})};Ie.states=mc;Ie.options=uc;Ie.className=Mn;import{Fragment as hc,jsx as yn}from"react/jsx-runtime";var fc="k-input-prefix",Tc={direction:"horizontal"},tt=e=>{let{direction:t=Tc.direction,...o}=e;return e.children?yn("span",{...o,className:r(fc,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):yn(hc,{})};import{Fragment as gc,jsx as Sn}from"react/jsx-runtime";var xc="k-input-suffix",Nc={direction:"horizontal"},ot=e=>{let{direction:t=Nc.direction,...o}=e;return e.children?Sn("span",{...o,className:r(xc,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Sn(gc,{})};import{jsx as eg}from"react/jsx-runtime";import{jsx as vc}from"react/jsx-runtime";var kc="k-input-suffix-text",Hr=e=>{let{children:t,...o}=e;return vc("span",{...o,className:r(kc,e.className),children:t})};import{jsx as Cc}from"react/jsx-runtime";var An="k-input-separator",Lc={direction:"vertical"},at=e=>{let{direction:t=Lc.direction,...o}=e;return Cc("span",{...o,className:r(An,e.className,{[`${An}-${t}`]:t})})};import{Fragment as wn,jsx as xt,jsxs as Kr}from"react/jsx-runtime";var Mc=Te.states,yc=Te.defaultOptions,Sc=Te.options,Ac=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],wc=[],Yo=e=>{let{modifiers:t,valid:o,invalid:a,loading:l,disabled:i,readonly:c,...m}=e,h=t?.prefix,N=t?.suffix,v=t?.["clear-button"],k=t?.["validation-icon"],u=t?.separators;return Kr(Te,{...m,valid:o,invalid:a,loading:l,disabled:i,readonly:c,style:{width:300},children:[h&&Kr(wn,{children:[xt(tt,{children:xt(g,{icon:"lock"})}),u&&xt(at,{})]}),xt(Je,{placeholder:"Placeholder",value:"Value"}),k&&xt(Ie,{valid:o,invalid:a,loading:l,disabled:i}),xt(Ge,{loading:l,disabled:i}),v&&xt(We,{loading:l,disabled:i,readonly:c,value:"Value"}),N&&Kr(wn,{children:[u&&xt(at,{}),xt(ot,{children:xt(to,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};Yo.options=Sc;Yo.states=Mc;Yo.variants=wc;Yo.defaultOptions=yc;Yo.modifiers=Ac;import{jsx as En,jsxs as Rc}from"react/jsx-runtime";var In="k-color-preview",Ec=[],Ic={},Bt=e=>{let{color:t,iconName:o,...a}=e;return Rc("span",{...a,className:r(e.className,In,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&En(g,{icon:o,className:"k-color-preview-icon"}),En("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Bt.states=Ec;Bt.options=Ic;Bt.className=In;var Br="popup",Rn=Br;import{jsx as On}from"react/jsx-runtime";var Pn="k-animation-container",Oc=[],Pc={},Hn={positionMode:"absolute"},Nt=e=>{let{positionMode:t=Hn.positionMode,animationStyle:o,offset:a,...l}=e;return On("div",{...l,style:{...a,...e.style},className:r(e.className,Pn,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:On("div",{className:"k-child-animation-container",style:o,children:e.children})})};Nt.states=Oc;Nt.options=Pc;Nt.className=Pn;Nt.defaultOptions=Hn;Nt.moduleName=Br;Nt.folderName=Rn;var Gr="popup",Kn=Gr;import{jsx as Bn}from"react/jsx-runtime";var Gn="k-popup",Hc=[],Kc={},Dn={positionMode:"absolute"},j=e=>{let{offset:t,positionMode:o=Dn.positionMode,animationStyle:a,containerClassName:l,containerRole:i,containerAriaLabel:c,...m}=e;return Bn(Nt,{positionMode:o,offset:t,animationStyle:a,className:l,role:i,"aria-label":c,children:Bn("div",{...m,className:r(e.className,Gn),children:e.children})})};j.states=Hc;j.options=Kc;j.className=Gn;j.defaultOptions=Dn;j.moduleName=Gr;j.folderName=Kn;j.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var Dr="action-buttons",_n=Dr;import{jsx as Dc}from"react/jsx-runtime";var Va="k-actions",Bc=[],Gc={},_r={alignment:"start",orientation:"horizontal"},gt=e=>{let{alignment:t=_r.alignment,orientation:o=_r.orientation,...a}=e;return Dc("div",{...a,className:r(Va,{[`${Va}-${t}`]:t,[`${Va}-${o}`]:o},e.className),children:e.children})};gt.states=Bc;gt.options=Gc;gt.className=Va;gt.defaultOptions=_r;gt.moduleName=Dr;gt.folderName=_n;import{jsx as zc}from"react/jsx-runtime";var _c="k-actionsheet-footer",zn={alignment:"stretched",orientation:"horizontal"},Gt=e=>{let{alignment:t=zn.alignment,orientation:o=zn.orientation,template:a,as:l=a?"div":gt,...i}=e;return zc(l,{...i,...!a&&{alignment:t,orientation:o},className:r(e.className,_c),children:e.children})};var zr="searchbox",Un=zr;import{jsx as Qo,jsxs as Vc}from"react/jsx-runtime";var Fn="k-searchbox",Uc=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading],Fc={size:[s.undefined,s.small,s.medium,s.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ur={showIcon:!0,icon:"search"},rt=e=>{let{value:t,placeholder:o,size:a,rounded:l,fillMode:i,hover:c,focus:m,valid:h,invalid:N,required:v,loading:k,disabled:u,showIcon:M=Ur.showIcon,icon:C=Ur.icon,...S}=e;return Vc(Te,{...S,size:a,rounded:l,fillMode:i,hover:c,focus:m,valid:h,invalid:N,required:v,loading:k,disabled:u,className:r(e.className,Fn),children:[M&&Qo(g,{className:"k-input-icon",icon:C}),Qo(Je,{placeholder:o,value:t}),Qo(Ge,{...e}),Qo(Ie,{...e}),Qo(We,{...e})]})};rt.states=Uc;rt.options=Fc;rt.className=Fn;rt.defaultOptions=Ur;rt.moduleName=zr;rt.folderName=Un;import{jsx as Mk}from"react/jsx-runtime";var Fr="textbox",Vn=Fr;import{Fragment as $n,jsx as Dt,jsxs as Vr}from"react/jsx-runtime";var Xn="k-textbox",$c=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Xc={size:[s.undefined,s.small,s.medium,s.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},$a={showClearButton:!0,showValidationIcon:!0,separators:!0},ee=e=>{let{size:t,rounded:o,fillMode:a,separators:l=$a.separators,showClearButton:i=$a.showClearButton,showValidationIcon:c=$a.showValidationIcon,prefix:m,suffix:h,type:N,value:v,placeholder:k,hover:u,focus:M,valid:C,invalid:S,required:R,loading:E,disabled:D,readonly:ie,id:fe,"aria-label":Ee,"aria-describedby":$e,...Xe}=e;return Vr(Te,{...Xe,size:t,rounded:o,fillMode:a,hover:u,focus:M,valid:C,invalid:S,required:R,loading:E,disabled:D,readonly:ie,className:r(e.className,Xn),children:[m&&Vr($n,{children:[Dt(tt,{children:m}),l&&Dt(at,{})]}),Dt(Je,{id:fe,placeholder:k,value:v,type:N,disabled:D,"aria-label":Ee,"aria-describedby":$e,"aria-invalid":S?"true":void 0}),c&&Dt(Ie,{valid:C,invalid:S,loading:E,disabled:D}),Dt(Ge,{loading:E,disabled:D}),i&&Dt(We,{loading:E,disabled:D,readonly:ie,value:v}),h&&Vr($n,{children:[l&&Dt(at,{}),Dt(ot,{children:h})]})]})};ee.states=$c;ee.options=Xc;ee.className=Xn;ee.defaultOptions=$a;ee.moduleName=Fr;ee.folderName=Vn;ee.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var Zo=ee;import{jsx as Wc}from"react/jsx-runtime";var Wn=e=>Wc(Zo,{...e});import{Fragment as Fk,jsx as Uk}from"react/jsx-runtime";import{Fragment as qk,jsx as Jk}from"react/jsx-runtime";import{jsx as jk}from"react/jsx-runtime";import{jsx as $r}from"react/jsx-runtime";var Jc=ee.states,qc=ee.defaultOptions,Yc=ee.options,Qc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Zc=[],jo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(l=>{switch(l){case"prefix":a.prefix=t?.[l]?$r(g,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[l]?$r(to,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[l];break;default:break}}),$r(Wn,{value:"Value",style:{width:300},...o,...a})};jo.options=Yc;jo.states=Jc;jo.variants=Zc;jo.defaultOptions=qc;jo.modifiers=Qc;import{jsx as _t,jsxs as Xr}from"react/jsx-runtime";var Jn="k-actionsheet-titlebar",jc={},Re=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:l,filter:i,input:c,inputValue:m,inputPlaceholder:h,adaptive:N,titleId:v,children:k,...u}=e;return Xr("div",{...u,className:r(e.className,Jn),children:[Xr("div",{className:"k-actionsheet-titlebar-group",children:[a&&_t("div",{className:"k-actionsheet-actions",children:a}),!k&&Xr("div",{className:"k-actionsheet-title",id:v,children:[t&&_t("div",{className:"k-text-center",children:t}),o&&_t("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),k&&_t("div",{className:"k-actionsheet-title",id:v,children:k}),l&&_t("div",{className:"k-actionsheet-actions",children:l})]}),(c||i)&&_t("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?_t(ee,{value:m,placeholder:h,size:N?"large":"medium","aria-label":t||h||"Input"}):_t(rt,{placeholder:"Filter",size:N?"large":"medium","aria-label":"Filter options"})})]})};Re.className=Jn;Re.defaultOptions=jc;import{jsx as Wr,jsxs as ap}from"react/jsx-runtime";var Jr="k-actionsheet-view",ep=[],tp={},op={},No=e=>{let{adaptive:t,animated:o,children:a,header:l,footer:i,titleId:c,...m}=e,h=l?.type===Re&&Wr(Re,{adaptive:t,titleId:c,...l?.props}),N=i?.type===Gt&&Wr(Gt,{...i?.props});return ap("div",{...m,className:r(e.className,Jr,{[`${Jr}-animated`]:o}),children:[h,Wr("div",{className:"k-actionsheet-content",children:a}),N]})};No.states=ep;No.options=tp;No.className=Jr;No.defaultOptions=op;var ea="action-sheet",Xa=ea;var qr="overlay",qn=qr;import{jsx as ip}from"react/jsx-runtime";var Yr="k-overlay",rp=[],lp={themeColor:[f.undefined,f.light,f.dark,f.inverse]},np={},zt=e=>{let{themeColor:t,...o}=e;return ip("div",{...o,className:r(e.className,Yr,y(Yr,{themeColor:t})),children:e.children})};zt.states=rp;zt.options=lp;zt.className=Yr;zt.defaultOptions=np;zt.moduleName=qr;zt.folderName=qn;import{jsx as Wa,jsxs as cp}from"react/jsx-runtime";var Yn="k-actionsheet",sp=[],dp={},ta={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},me=e=>{let{side:t=ta.side,fullscreen:o=ta.fullscreen,adaptive:a=ta.adaptive,overlay:l=ta.overlay,template:i,children:c,header:m,footer:h,id:N,...v}=e,k=N&&!i&&m?`${N}-title`:void 0;return cp("div",{className:"k-actionsheet-container",children:[l&&Wa(zt,{}),Wa(Nt,{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:Wa("div",{...v,id:N,role:"dialog","aria-modal":l?"true":void 0,"aria-labelledby":k,className:r(e.className,Yn,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:i||Wa(No,{header:m,footer:h,adaptive:a,titleId:k,...e,children:c})})})]})};me.states=sp;me.options=dp;me.className=Yn;me.defaultOptions=ta;me.moduleName=ea;me.folderName=Xa;me.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};import{jsx as bp}from"react/jsx-runtime";var Qn="k-actionsheet-container",pp=[],mp={},up={},go=e=>{let{children:t,...o}=e;return bp("div",{...o,className:Qn,children:t})};go.states=pp;go.options=mp;go.className=Qn;go.defaultOptions=up;go.moduleName=ea;go.folderName=Xa;import{jsx as fp}from"react/jsx-runtime";var Qr=e=>{let{...t}=e;return fp("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as hp,jsx as oa,jsxs as Zr}from"react/jsx-runtime";var jr="k-actionsheet-item",Tp=[n.hover,n.focus,n.selected,n.disabled],Ut=e=>{let{iconName:t,text:o,description:a,hover:l,focus:i,selected:c,disabled:m,...h}=e;return Zr("span",{...h,className:r(e.className,jr,A(jr,{hover:l,focus:i,selected:c,disabled:m})),children:[!e.children&&oa(hp,{children:Zr("span",{className:"k-actionsheet-action",children:[t&&oa("span",{className:"k-icon-wrap",children:oa(g,{className:"k-actionsheet-item-icon",icon:t})}),Zr("span",{className:"k-actionsheet-item-text",children:[o&&oa("span",{className:"k-actionsheet-item-title",children:o}),a&&oa("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Ut.states=Tp;Ut.className=jr;import{jsx as Zv,jsxs as jv}from"react/jsx-runtime";import{jsx as aL}from"react/jsx-runtime";import{jsx as iL}from"react/jsx-runtime";import{jsx as pL}from"react/jsx-runtime";import{jsx as ve,jsxs as el}from"react/jsx-runtime";var xp=me.options,Np=me.states,jn={...me.defaultOptions,variant:"normal"},gp=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],kp=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],aa=e=>{let{variant:t,modifiers:o,...a}={...jn,...e},l={},i=el(Qr,{children:[ve(Ut,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),ve(Ut,{text:"Add to Favorites",iconName:"heart"}),ve(Ut,{text:"Upload New",iconName:"upload",disabled:!0}),ve("hr",{className:"k-hr"}),ve(Ut,{text:"Cancel",iconName:"cancel"})]}),c="Choose from the items below",m="Select Item";return t==="fullScreen"&&(l.fullScreen=!0),Object.keys(o||{}).forEach(h=>{switch(h){case"actions":l.actionsStart=!!o?.[h],l.actionsEnd=!!o?.[h];break;case"subtitle":l.subtitle=o?.[h]?c:void 0;break;case"footer":l.footer=!!o?.[h];break;default:break}}),t==="adaptive"?ve(me,{...a,adaptive:!0,fullscreen:l.fullScreen,header:ve(Re,{actionsStart:l.actionsStart?ve(d,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?ve(d,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:l.subtitle}),footer:l.footer?el(Gt,{alignment:"stretched",children:[ve(d,{text:"Cancel",size:"large",themeColor:"base"}),ve(d,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:i}):ve(me,{...a,fullscreen:l.fullScreen,header:ve(Re,{actionsStart:l.actionsStart?ve(d,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?ve(d,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:l.subtitle}),footer:l.footer?el(Gt,{alignment:"stretched",children:[ve(d,{text:"Apply",themeColor:"primary"}),ve(d,{text:"Cancel",themeColor:"base"})]}):void 0,children:i})};aa.options=xp;aa.states=Np;aa.variants=gp;aa.defaultOptions=jn;aa.modifiers=kp;var tl="slider",ei=tl;import{jsx as ko,jsxs as ol}from"react/jsx-runtime";var ra="k-slider",vp=[n.hover,n.focus,n.active,n.disabled,n.readonly],Lp={},lt={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},te=e=>{let{type:t=lt.type,orientation:o=lt.orientation,gradientType:a=lt.gradientType,readonly:l=lt.readonly,disabled:i=lt.disabled,handlePosition:c=lt.handlePosition,showButtons:m=lt.showButtons,showTicks:h=lt.showTicks,value:N=lt.value,min:v=lt.min,max:k=lt.max,startValue:u,endValue:M,hover:C,focus:S,active:R,trackStyle:E,dir:D,...ie}=e,Ee=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),$e,Xe;return o==="horizontal"?($e=D==="rtl"?"caret-alt-left":"caret-alt-right",Xe=D==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&($e="caret-alt-up",Xe="caret-alt-down"),ol("div",{...ie,className:r(ra,e.className,A(ra,{readonly:l,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:D,children:[m&&ko(d,{className:"k-button-decrease",rounded:"full",icon:Xe,tabIndex:-1,title:"Decrease"}),ol("div",{className:"k-slider-track-wrap",children:[h&&ko("ul",{className:"k-reset k-slider-items",children:e.children}),ol("div",{className:"k-slider-track",style:E,children:[ko("div",{className:"k-slider-selection"}),t==="range"&&ko("span",{className:r("k-draghandle","k-draghandle-start",A(ra,{hover:C,focus:S,active:R})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":u??v,"aria-valuemin":v,"aria-valuemax":M??k,"aria-orientation":Ee,"aria-disabled":i?"true":void 0,"aria-readonly":l?"true":void 0,"aria-label":ie["aria-label"]?`${ie["aria-label"]} start`:"Range start"}),ko("span",{className:r("k-draghandle",`k-draghandle-${c}`,A(ra,{hover:C,focus:S,active:R})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":t==="range"?M??k:N,"aria-valuemin":t==="range"?u??v:v,"aria-valuemax":k,"aria-orientation":Ee,"aria-disabled":i?"true":void 0,"aria-readonly":l?"true":void 0,"aria-label":t==="range"?ie["aria-label"]?`${ie["aria-label"]} end`:"Range end":ie["aria-label"]})]})]}),m&&ko(d,{className:"k-button-increase",rounded:"full",icon:$e,tabIndex:-1,title:"Increase"})]})};te.states=vp;te.options=Lp;te.className=ra;te.defaultOptions=lt;te.moduleName=tl;te.folderName=ei;te.ariaSpec={selector:".k-slider",rules:[{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"role=slider",usage:"Sets the proper role for Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-label or aria-labelledby or title",usage:"The Slider needs an accessible name to be assigned to it."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the Slider is in a form and announces the invalid state."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuenow",usage:"Specifies the currently selected value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemin",usage:"Specifies the minimum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemax",usage:"Specifies the maximum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuetext (when has text alternative)",usage:"Specifies a human-readable text alternative to the numeric value. Provided by consuming applications."},{selector:".k-slider:not(.k-disabled) .k-draghandle:not(.k-hsv-draghandle)",attribute:"tabindex=0",usage:"The element must be focusable. Disabled sliders are removed from tab order."},{selector:".k-slider-vertical .k-draghandle",attribute:"aria-orientation=vertical (when vertical)",usage:"Present only when slider is vertical."},{selector:".k-slider.k-disabled .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-disabled=true",usage:"Rendered only when the Slider is disabled."},{selector:".k-slider.k-readonly .k-draghandle",attribute:"aria-readonly=true (when readonly)",usage:"Rendered only when the Slider is readonly. Readonly sliders remain focusable but their value cannot be changed."},{selector:".k-slider .k-button",attribute:"tabindex=-1",usage:"Excludes the buttons from the natural tab order. Keyboard users use arrow keys on the drag handle."},{selector:".k-slider .k-button",attribute:"title",usage:'Provides a tooltip describing the button action (e.g., "Decrease" or "Increase").'}]};import{jsx as ti}from"react/jsx-runtime";var oi="k-tick",Cp=[],Mp={},ai={label:!1},P=e=>{let{style:t,label:o=ai.label,orientation:a,large:l,text:i,...c}=e;return ti("li",{...c,className:r(e.className,oi,{[`k-tick-${a}`]:a,"k-tick-large":l}),style:t,children:o&&ti("span",{className:"k-label",children:i})})};P.states=Cp;P.options=Mp;P.className=oi;P.defaultOptions=ai;import{Fragment as yp,jsx as nt,jsxs as Sp}from"react/jsx-runtime";var ri=e=>nt(te,{"aria-label":e["aria-label"]||"Slider",children:Sp(yp,{children:[nt(P,{className:"k-first",label:!0,large:!0,text:"0"}),nt(P,{}),nt(P,{}),nt(P,{}),nt(P,{}),nt(P,{label:!0,large:!0,text:"5"}),nt(P,{}),nt(P,{}),nt(P,{}),nt(P,{}),nt(P,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as Ap,jsx as it,jsxs as wp}from"react/jsx-runtime";var li=e=>it(te,{children:wp(Ap,{children:[it(P,{className:"k-first",label:!0,large:!0,text:"0"}),it(P,{}),it(P,{}),it(P,{}),it(P,{}),it(P,{label:!0,large:!0,text:"5"}),it(P,{}),it(P,{}),it(P,{}),it(P,{}),it(P,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as jL,jsx as ZL,jsxs as eC}from"react/jsx-runtime";import{Fragment as lC,jsx as rC,jsxs as nC}from"react/jsx-runtime";import{jsx as Ep}from"react/jsx-runtime";var al=e=>Ep(te,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as Ip}from"react/jsx-runtime";var rl=e=>Ip(te,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as hC,jsx as TC,jsxs as xC}from"react/jsx-runtime";import{Fragment as LC,jsx as vC,jsxs as CC}from"react/jsx-runtime";import{jsx as kt,jsxs as ni}from"react/jsx-runtime";var Rp=te.options,Op=te.states,ii={...te.defaultOptions,variant:"horizontal",label:!0},Pp=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Hp=[{name:"label",title:"Labels"},{name:"tick",title:"Ticks"},{name:"button",title:"Side Buttons"}],la=e=>{let{variant:t,modifiers:o,...a}={...ii,...e},l={};Object.keys(o||{}).forEach(N=>{switch(N){case"button":{l.showButtons=!!o?.[N];break}case"label":{l.label=!!o?.[N];break}case"tick":{l.showTicks=!!o?.[N];break}}});let{label:i=!0,showButtons:c,showTicks:m}=l,h={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?ni(li,{showTicks:m,showButtons:c,style:{height:"300px",...h},...a,children:[kt(P,{label:i,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),kt(P,{label:i,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),kt(P,{label:i,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),kt(P,{label:i,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),kt(P,{label:i,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):ni(ri,{showTicks:m,showButtons:c,style:{width:"400px",...h},...a,children:[kt(P,{label:i,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),kt(P,{label:i,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),kt(P,{label:i,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),kt(P,{label:i,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),kt(P,{label:i,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};la.options=Rp;la.states=Op;la.variants=Pp;la.defaultOptions=ii;la.modifiers=Hp;import{jsx as si,jsxs as _p}from"react/jsx-runtime";var di="k-spin-button",Gp=[],Dp={size:[s.undefined,s.small,s.medium,s.large],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},ll={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Ft=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:l=ll.increaseLabel,decreaseLabel:i=ll.decreaseLabel,...c}=e;return _p("span",{...c,className:r(di,e.className),children:[si(d,{className:"k-spinner-increase",icon:"caret-alt-up",size:t,fillMode:o,disabled:a,"aria-label":l}),si(d,{className:"k-spinner-decrease",icon:"caret-alt-down",size:t,fillMode:o,disabled:a,"aria-label":i})]})};Ft.states=Gp;Ft.options=Dp;Ft.className=di;Ft.defaultOptions=ll;Ft.moduleName=null;Ft.folderName=null;var ci="numeric-textbox",pi="numerictextbox";import{Fragment as mi,jsx as St,jsxs as nl}from"react/jsx-runtime";var ui="k-numerictextbox",zp=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],Up={size:[s.undefined,s.small,s.medium,s.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ja={showSpinButton:!0,showClearButton:!0,separators:!0},_=e=>{let{size:t,rounded:o,fillMode:a,separators:l=Ja.separators,showClearButton:i=Ja.showClearButton,showSpinButton:c=Ja.showSpinButton,prefix:m,suffix:h,value:N,placeholder:v,hover:k,focus:u,valid:M,invalid:C,required:S,loading:R,disabled:E,readonly:D,id:ie,"aria-label":fe,"aria-describedby":Ee,...$e}=e;return nl(Te,{...$e,size:t,rounded:o,fillMode:a,hover:k,focus:u,valid:M,invalid:C,required:S,loading:R,disabled:E,readonly:D,className:r(e.className,ui),children:[m&&nl(mi,{children:[St(tt,{children:m}),l&&St(at,{})]}),St(Je,{id:ie,placeholder:v,value:N,role:"spinbutton",disabled:E,"aria-label":fe,"aria-describedby":Ee,"aria-invalid":C?"true":void 0}),St(Ie,{valid:M,invalid:C,loading:R,disabled:E}),St(Ge,{loading:R,disabled:E}),i&&St(We,{loading:R,disabled:E,readonly:D,value:N}),h&&nl(mi,{children:[l&&St(at,{}),St(ot,{children:h})]}),c&&St(Ft,{className:"k-input-spinner",size:t,fillMode:a,disabled:E})]})};_.states=zp;_.options=Up;_.className=ui;_.defaultOptions=Ja;_.moduleName=ci;_.folderName=pi;_.ariaSpec={selector:".k-numerictextbox",rules:[{selector:".k-numerictextbox > .k-input-inner",attribute:"role=spinbutton",usage:"Announces the spin button capabilities of the NumericTextBox."},{selector:".k-numerictextbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuenow (when has value)",usage:"Announces the current value of the component."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemin (when has min)",usage:"Announces the minimum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemax (when has max)",usage:"Announces the maximum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the NumericTextBox is in an invalid state."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message."},{selector:".k-numerictextbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"role=button or nodeName=button",usage:"Describes the role of the spin buttons."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"aria-label",usage:"The button element requires discernible text."},{selector:".k-numerictextbox.k-disabled .k-spin-button > .k-button",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."}]};var na=_;import{jsx as Fp}from"react/jsx-runtime";var bi=e=>Fp(na,{...e});import sl from"react";import{jsx as fi}from"react/jsx-runtime";var Vp="k-list-group-sticky-header",il=e=>fi("div",{className:r(Vp,e.className),children:fi("div",{className:"k-list-header-text",children:e.children})});import{jsx as Xp}from"react/jsx-runtime";var $p="k-no-data",qa=e=>{let{live:t,...o}=e;return Xp("span",{...o,className:r($p,e.className),"aria-live":t?"polite":void 0,children:e.children})};var ao="list",vo=ao;import{jsx as Ti,jsxs as hi}from"react/jsx-runtime";var dl="k-list",Wp=[],Jp={size:[s.undefined,s.small,s.medium,s.large]},qp={},U=e=>{let{size:t,virtualization:o,children:a,header:l,optionLabel:i,customValue:c,noData:m,screenReaders:h,...N}=e,k=sl.Children.toArray(a)[0],u=k?.props?.children?sl.Children.count(k.props.children):sl.Children.count(a);return hi("div",{...N,className:r(e.className,dl,y(dl,{size:t}),{"k-virtual-list":o}),children:[i,c,l&&Ti(il,{children:l}),a||(m!==void 0?m:Ti(qa,{live:!0,children:"No data found."})),h&&a&&hi(qa,{className:"k-sr-only",live:!0,children:[u," items found."]})]})};U.states=Wp;U.options=Jp;U.className=dl;U.defaultOptions=qp;U.moduleName=ao;U.folderName=vo;U.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};import{jsx as jp}from"react/jsx-runtime";var xi="k-list-container",Yp=[],Qp={},Zp={},Lo=e=>{let{...t}=e;return jp("div",{...t,className:r(e.className,xi),children:e.children})};Lo.states=Yp;Lo.options=Qp;Lo.className=xi;Lo.defaultOptions=Zp;Lo.moduleName=ao;Lo.folderName=vo;var ro="checkbox",Co=ro;import{jsx as Ni}from"react/jsx-runtime";var Ya="k-checkbox",em=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked,n.indeterminate],tm={size:[s.undefined,s.small,s.medium,s.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full]},om={},De=e=>{let{id:t,checked:o,indeterminate:a,hover:l,focus:i,disabled:c,invalid:m,valid:h,required:N,size:v,rounded:k,...u}=e;return Ni("span",{className:"k-checkbox-wrap",children:Ni("input",{...u,id:t,type:"checkbox",defaultChecked:o,required:N,disabled:c||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,Ya,y(Ya,{size:v,rounded:k}),A(Ya,{hover:l,focus:i,disabled:c,invalid:m,valid:h,indeterminate:a,checked:o}))})})};De.states=em;De.options=tm;De.className=Ya;De.defaultOptions=om;De.moduleName=ro;De.folderName=Co;De.ariaSpec={selector:".k-checkbox",rules:[{selector:".k-checkbox",attribute:"role=checkbox or type=checkbox",usage:"Announces the checkbox role of the element."},{selector:".k-checkbox",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name to which it will be assigned."},{selector:".k-checkbox",attribute:"aria-checked=true/false/mixed or checked",usage:"For native checkboxes the checked state is handled by the browser. aria-checked is used for custom implementations."},{selector:".k-checkbox",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the checkbox."},{selector:".k-checkbox",attribute:"disabled or aria-disabled=true (when disabled)",usage:"For native checkboxes use the HTML disabled attribute. aria-disabled for custom implementations."},{selector:".k-invalid, .ng-invalid",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the CheckBox is in a form and announces the invalid state."}]};var vt=De;import{jsx as lm}from"react/jsx-runtime";var gi="k-checkbox-list",am=[],rm={},ki={layout:"vertical"},_e=e=>{let{layout:t=ki.layout,...o}=e;return lm("ul",{...o,className:r(e.className,gi,{[`k-list-${t}`]:t}),children:e.children})};_e.states=am;_e.options=rm;_e.className=gi;_e.defaultOptions=ki;_e.moduleName=ro;_e.folderName=Co;import{jsx as dm}from"react/jsx-runtime";var vi="k-checkbox-list-item",nm=[],im={},sm={},Oe=e=>{let{...t}=e;return dm("li",{...t,className:r(e.className,vi),children:e.children})};Oe.states=nm;Oe.options=im;Oe.className=vi;Oe.defaultOptions=sm;Oe.moduleName=ro;Oe.folderName=Co;import{Fragment as cm,jsx as Li,jsxs as pm}from"react/jsx-runtime";var At=({children:e,id:t,...o})=>pm(cm,{children:[Li(vt,{id:t,...o}),Li("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as JM,jsx as WM,jsxs as qM}from"react/jsx-runtime";import{Fragment as ey,jsx as jM,jsxs as ty}from"react/jsx-runtime";import{Fragment as ny,jsx as ly,jsxs as iy}from"react/jsx-runtime";import{jsx as py}from"react/jsx-runtime";import{jsx as fy}from"react/jsx-runtime";import{jsx as Ny}from"react/jsx-runtime";import{jsx as st,jsxs as Ci}from"react/jsx-runtime";var mm=_e.options,um=_e.states,bm={..._e.defaultOptions,variant:"vertical"},fm=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Tm=[],ia=e=>{let{variant:t,...o}=e;return t==="horizontal"?Ci(_e,{layout:"horizontal",...o,children:[st(Oe,{children:st(At,{id:"first",defaultChecked:!0,children:"Label"})}),st(Oe,{children:st(At,{id:"second",children:"Label"})}),st(Oe,{children:st(At,{id:"third",children:"Label"})})]}):Ci(_e,{...o,children:[st(Oe,{children:st(At,{id:"first",defaultChecked:!0,children:"Label"})}),st(Oe,{children:st(At,{id:"second",children:"Label"})}),st(Oe,{children:st(At,{id:"third",children:"Label"})})]})};ia.options=mm;ia.states=um;ia.variants=fm;ia.defaultOptions=bm;ia.modifiers=Tm;import{jsx as vm}from"react/jsx-runtime";var hm=vt.options,xm=vt.states,Nm=vt.defaultOptions,gm=[],km=[],sa=e=>vm(At,{id:"checkbox-demo-checkbox",...e,defaultChecked:!0,children:"Label"});sa.options=hm;sa.states=xm;sa.variants=gm;sa.defaultOptions=Nm;sa.modifiers=km;import{jsx as lo,jsxs as ym}from"react/jsx-runtime";var cl="k-list-item",Lm=[n.hover,n.focus,n.selected,n.disabled],Cm={},Mm={},G=e=>{let{text:t,groupLabel:o,group:a,iconName:l,iconClassName:i,showCheckbox:c,checked:m,hover:h,focus:N,selected:v,disabled:k,actions:u,description:M,id:C,...S}=e,R=t||e.children;return ym("li",{...S,id:C,role:a?"presentation":"option",tabIndex:a?void 0:N?0:-1,"aria-selected":!a&&v?"true":a?void 0:"false","aria-disabled":!a&&k?"true":void 0,className:r(e.className,a?"k-list-group-item":cl,A(cl,{hover:h,focus:N,disabled:k,selected:v})),children:[c&&lo(De,{checked:m}),l&&lo("span",{className:"k-list-item-icon-wrapper",children:lo(g,{icon:l,className:r("k-list-item-icon",i)})}),lo("span",{className:"k-list-item-text",children:R}),u&&lo("div",{className:"k-list-item-actions",children:u}),M&&lo("span",{className:"k-list-item-description",children:M}),o&&o!==""&&lo("div",{className:"k-list-item-group-label",children:o})]})};G.states=Lm;G.options=Cm;G.className=cl;G.defaultOptions=Mm;G.moduleName=ao;G.folderName=vo;G.ariaSpec={selector:".k-list-item",rules:[{selector:".k-list-item",attribute:"role=option",usage:"Each list item is an option in the listbox."},{selector:".k-list-item",attribute:"id",usage:"ID for aria-activedescendant reference."},{selector:".k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state of the option."},{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-item-icon",attribute:"aria-hidden=true",usage:"Decorative icons are hidden from assistive technology."}]};import{jsx as Am}from"react/jsx-runtime";var Sm="k-list-ul",wt=e=>{let{children:t,role:o,id:a,...l}=e;return Am("ul",{...l,id:a,role:o,className:r(Sm,e.className),children:t})};wt.ariaSpec={selector:".k-list-ul",rules:[{selector:'.k-list-ul[role="listbox"]',attribute:"role=listbox",usage:"For ungrouped lists, the UL has the listbox role."},{selector:'.k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."},{selector:'.k-list-ul[role="group"]',attribute:"role=group",usage:"For grouped sublists under a group header."},{selector:'.k-list-ul[role="group"]',attribute:"aria-labelledby (when grouped)",usage:"References the group header ID."}]};import{jsx as pl,jsxs as Em}from"react/jsx-runtime";var wm="k-list-content",q=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":l,listboxId:i,...c}=e;return Em("div",{...c,className:r(wm,e.className),role:o?"listbox":void 0,id:o?i:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?l:void 0,children:[o?e.children:pl(wt,{role:"listbox",id:i,"aria-label":a,"aria-labelledby":l,children:e.children}),t&&pl("div",{className:"k-height-container",children:pl("div",{})})]})};q.ariaSpec={selector:".k-list-content",rules:[{selector:'.k-list-content[role="listbox"]',attribute:"role=listbox",usage:"For grouped lists, the list content container has the listbox role."},{selector:'.k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."}]};import{Fragment as iS,jsx as nS,jsxs as sS}from"react/jsx-runtime";import{jsx as ml,jsxs as Rm}from"react/jsx-runtime";var Im="k-list-group-item",no=e=>{let{groupIconName:t,...o}=e;return Rm("li",{...o,role:"presentation",className:r(Im,e.className),children:[t&&ml("span",{className:"k-list-item-icon-wrapper",children:ml(g,{icon:t,className:"k-list-item-icon"})}),ml("span",{className:"k-list-item-text",children:e.children})]})};no.ariaSpec={selector:".k-list-group-item",rules:[{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-group-item",attribute:"id (when referenced)",usage:"ID for aria-labelledby on the parent group UL."}]};import{jsx as Km}from"react/jsx-runtime";var ul="k-list-optionlabel",Om=[n.hover,n.focus,n.selected,n.disabled],Pm={},Hm={},Qa=e=>{let{text:t,hover:o,focus:a,selected:l,disabled:i,...c}=e;return Km("div",{...c,className:r(ul,A(ul,{hover:o,focus:a,selected:l,disabled:i})),children:t})};Qa.states=Om;Qa.options=Pm;Qa.className=ul;Qa.defaultOptions=Hm;import{jsx as _m}from"react/jsx-runtime";var bl="k-list-custom-value",Bm=[n.hover,n.focus,n.selected,n.disabled],Gm={},Dm={},Vt=e=>{let{text:t,hover:o,focus:a,selected:l,disabled:i,...c}=e;return _m("div",{...c,className:r(bl,A(bl,{hover:o,focus:a,selected:l,disabled:i})),children:t})};Vt.states=Bm;Vt.options=Gm;Vt.className=bl;Vt.defaultOptions=Dm;import{Fragment as CS,jsx as LS,jsxs as MS}from"react/jsx-runtime";import{Fragment as IS,jsx as ES,jsxs as RS}from"react/jsx-runtime";import{Fragment as DS,jsx as BS,jsxs as GS}from"react/jsx-runtime";import{Fragment as XS,jsx as VS,jsxs as $S}from"react/jsx-runtime";import{jsx as YS}from"react/jsx-runtime";import{Fragment as oA,jsx as tA,jsxs as aA}from"react/jsx-runtime";var Mi="dropdown-list",yi="dropdownlist";import{Fragment as Fm,jsx as Pe,jsxs as fl}from"react/jsx-runtime";var Si="k-dropdownlist",zm=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Um={size:[s.undefined,s.small,s.medium,s.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Tl={showValue:!0,arrowIconName:"caret-alt-down"},Y=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:l=Tl.arrowIconName,showValue:i=Tl.showValue,valueIconName:c,prefix:m,suffix:h,value:N,placeholder:v,hover:k,focus:u,valid:M,invalid:C,required:S,loading:R,disabled:E,readonly:D,popup:ie,opened:fe,adaptive:Ee,adaptiveSettings:$e,adaptiveTitle:Xe,adaptiveSubtitle:xo,adaptiveFilter:Nr,...Ka}=e;return fl(Fm,{children:[fl(ht,{...Ka,size:t,rounded:o,fillMode:a,hover:k,focus:u,valid:M,invalid:C,required:S,loading:R,disabled:E,readonly:D,className:r(e.className,Si,{"k-icon-picker":!i&&c}),children:[Pe(tt,{children:m}),Pe(oo,{placeholder:v,value:N,showValue:i,valueIconName:c}),Pe(Ie,{valid:M,invalid:C,loading:R,disabled:E}),Pe(Ge,{loading:R,disabled:E}),Pe(ot,{children:h}),Pe(d,{className:"k-input-button",icon:l,size:e.size,fillMode:e.fillMode,"aria-label":v||"Toggle dropdown"})]}),fe&&ie&&Pe(j,{className:"k-list-container k-dropdownlist-popup",children:ie}),Ee&&Pe(me,{adaptive:!0,...$e,header:Pe(Re,{actionsEnd:Pe(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Nr,inputValue:N,inputPlaceholder:v,title:Xe,subtitle:xo}),children:Pe("div",{className:"k-list-container",children:Pe(U,{size:"large",children:fl(q,{children:[Pe(G,{text:"List item"}),Pe(G,{text:"List item"}),Pe(G,{text:"List item"})]})})})})]})};Y.states=zm;Y.options=Um;Y.className=Si;Y.defaultOptions=Tl;Y.moduleName=Mi;Y.folderName=yi;import{jsx as HA}from"react/jsx-runtime";import{jsx as _A,jsxs as zA}from"react/jsx-runtime";import{Fragment as qA,jsx as WA,jsxs as JA}from"react/jsx-runtime";import{jsx as jA}from"react/jsx-runtime";import{jsx as rw,jsxs as lw}from"react/jsx-runtime";import{Fragment as uw,jsx as pw,jsxs as mw}from"react/jsx-runtime";import{Fragment as qm,jsx as $t,jsxs as Ai}from"react/jsx-runtime";var Vm=Y.states,$m=Y.defaultOptions,Xm=Y.options,Wm=[{name:"opened",title:"Opened"}],Jm=[],ca=e=>{let{modifiers:t,...o}=e,a={},l=Ai(qm,{children:[$t("div",{className:"k-list-filter",children:$t(rt,{})}),$t(U,{style:{width:300},size:o.size,children:Ai(q,{children:[$t(G,{children:"List item"}),$t(G,{children:"List item"}),$t(G,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(i=>{i==="opened"&&(a.opened=!!t?.[i],a.popup=t?.[i]?l:void 0)}),$t("div",{children:$t(Y,{placeholder:"Value",style:{width:300},...o,...a})})};ca.options=Xm;ca.states=Vm;ca.variants=Jm;ca.defaultOptions=$m;ca.modifiers=Wm;import{Fragment as Pw,jsx as Ow}from"react/jsx-runtime";import{Fragment as _w,jsx as Dw}from"react/jsx-runtime";import{jsx as Vw}from"react/jsx-runtime";import{jsx as hl}from"react/jsx-runtime";var Ym=_.states,Qm=_.defaultOptions,Zm=_.options,jm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],eu=[],pa=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(l=>{switch(l){case"prefix":a.prefix=t?.[l]?hl(Y,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[l]?hl(Hr,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[l];break;case"spin-button":a.showSpinButton=t?.[l];break;default:break}}),hl(bi,{value:"Value",style:{width:300},...o,...a})};pa.options=Zm;pa.states=Ym;pa.variants=eu;pa.defaultOptions=Qm;pa.modifiers=jm;import{Fragment as ma,jsx as z,jsxs as ue}from"react/jsx-runtime";var wi="k-colorgradient-inputs",tu=[],ou={size:[s.undefined,s.small,s.medium,s.large]},Ei={mode:"rgba"},Mo=e=>{let{mode:t=Ei.mode,size:o,...a}=e;return ue("div",{...a,className:r(wi,"k-hstack"),children:[z("div",{className:"k-vstack",children:z(d,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&ue(ma,{children:[ue("div",{className:"k-vstack",children:[z(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),z("label",{className:"k-colorgradient-input-label",children:"R"})]}),ue("div",{className:"k-vstack",children:[z(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),z("label",{className:"k-colorgradient-input-label",children:"G"})]}),ue("div",{className:"k-vstack",children:[z(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),z("label",{className:"k-colorgradient-input-label",children:"B"})]}),ue("div",{className:"k-vstack",children:[z(_,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),z("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&ue(ma,{children:[ue("div",{className:"k-vstack",children:[z(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),z("label",{className:"k-colorgradient-input-label",children:"R"})]}),ue("div",{className:"k-vstack",children:[z(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),z("label",{className:"k-colorgradient-input-label",children:"G"})]}),ue("div",{className:"k-vstack",children:[z(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),z("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&ue(ma,{children:[ue("div",{className:"k-vstack",children:[z(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),z("label",{className:"k-colorgradient-input-label",children:"H"})]}),ue("div",{className:"k-vstack",children:[z(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),z("label",{className:"k-colorgradient-input-label",children:"S"})]}),ue("div",{className:"k-vstack",children:[z(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),z("label",{className:"k-colorgradient-input-label",children:"V"})]}),ue("div",{className:"k-vstack",children:[z(_,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),z("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&ue(ma,{children:[ue("div",{className:"k-vstack",children:[z(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),z("label",{className:"k-colorgradient-input-label",children:"H"})]}),ue("div",{className:"k-vstack",children:[z(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),z("label",{className:"k-colorgradient-input-label",children:"S"})]}),ue("div",{className:"k-vstack",children:[z(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),z("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&z(ma,{children:ue("div",{className:"k-vstack k-flex-1",children:[z(ee,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),z("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Mo.states=tu;Mo.options=ou;Mo.className=wi;Mo.defaultOptions=Ei;import{jsx as io,jsxs as so}from"react/jsx-runtime";var Ii="k-colorgradient-color-contrast",au=[],ru={},lu={},yo=()=>so("div",{className:r(Ii,"k-vbox"),children:[so("div",{className:"k-contrast-ratio",children:[io("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),so("span",{className:"k-contrast-validation !k-text-success",children:[io(g,{icon:"check"}),io(g,{icon:"check"})]})]}),so("div",{children:[io("span",{children:"AA: 4.5"}),so("span",{className:"k-contrast-validation !k-text-success",children:["Pass",io(g,{icon:"check"})]})]}),so("div",{children:[io("span",{children:"AAA: 7.0"}),so("span",{className:"k-contrast-validation !k-text-error",children:["Fail",io(g,{icon:"x"})]})]})]});yo.states=au;yo.options=ru;yo.className=Ii;yo.defaultOptions=lu;var Ri="color-gradient",Oi="colorgradient";import{jsx as ct,jsxs as ua}from"react/jsx-runtime";var Za="k-colorgradient",nu=[n.hover,n.focus,n.readonly,n.disabled],iu={size:[s.undefined,s.small,s.medium,s.large]},Lt={mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},Le=e=>{let{size:t,mode:o=Lt.mode,readonly:a=Lt.readonly,disabled:l=Lt.disabled,gradientStyle:i=Lt.gradientStyle,dragHandleStyle:c=Lt.dragHandleStyle,alphaStyle:m=Lt.alphaStyle,alphaStyleHorizontal:h=Lt.alphaStyleHorizontal,contrast:N=Lt.contrast,dir:v,hover:k,focus:u,hoverHandle:M,focusHandle:C,canvasOrientation:S=Lt.canvasOrientation,role:R,tabIndex:E,...D}=e;return ua("div",{...D,role:R??"textbox","aria-label":R==="none"?void 0:"Color gradient",tabIndex:E??0,"aria-disabled":l?"true":void 0,className:r(e.className,Za,y(Za,{size:t}),A(Za,{hover:k,focus:u,readonly:a,disabled:l})),dir:v,children:[!S||S==="horizontal"&&ua("div",{className:"k-colorgradient-canvas k-hstack",children:[ct("div",{className:"k-hsv-rectangle",style:i,children:ct("div",{className:"k-hsv-gradient",children:ct("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":C}),style:c,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),ua("div",{className:"k-hsv-controls k-hstack",children:[ct(rl,{className:"k-hue-slider",hover:M,focus:C}),o!=="rgb"&&o!=="hsv"&&ct(rl,{className:"k-alpha-slider",hover:M,focus:C,trackStyle:m})]})]}),S==="vertical"&&ua("div",{className:"k-colorgradient-canvas k-vstack",children:[ct("div",{className:"k-hsv-rectangle",style:i,children:ct("div",{className:"k-hsv-gradient",children:ct("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":C}),style:c,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),ua("div",{className:"k-hsv-controls k-vstack",children:[ct(al,{className:"k-hue-slider",hover:M,focus:C}),o!=="rgb"&&o!=="hsv"&&ct(al,{className:"k-alpha-slider",hover:M,focus:C,trackStyle:h})]})]}),ct(Mo,{mode:e.mode,size:t}),N&&ct(yo,{})]})};Le.states=nu;Le.options=iu;Le.className=Za;Le.defaultOptions=Lt;Le.moduleName=Ri;Le.folderName=Oi;Le.ariaSpec={selector:".k-colorgradient",rules:[{selector:".k-colorgradient",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a value that could be submitted."},{selector:".k-colorgradient",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorgradient",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorgradient.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorGradient is disabled."},{selector:".k-hsv-draghandle",attribute:"role=slider",usage:"The 2D draghandle must have slider role for ARIA-allowed attributes."},{selector:".k-hsv-draghandle",attribute:"aria-orientation=undefined",usage:"The implicit orientation for the slider must be removed for the 2D handle."},{selector:".k-hsv-draghandle",attribute:"aria-label",usage:"Must provide information about the purpose of the slider and the currently selected color."},{selector:".k-hsv-draghandle",attribute:"aria-valuetext",usage:"Must specify the values on both X and Y axis."},{selector:".k-hsv-draghandle",attribute:"aria-valuenow",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemin",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemax",usage:"Required by the slider role."},{selector:".k-numerictextbox>.k-input-inner",attribute:"aria-label",usage:"Must provide the name of the channel (red, green, blue, or alpha)."}]};import{jsx as su}from"react/jsx-runtime";var ja=e=>su(Le,{...e});import{jsx as wE}from"react/jsx-runtime";import{jsx as OE}from"react/jsx-runtime";import{jsx as xl}from"react/jsx-runtime";var du=Le.options,cu=Le.states,pu={...Le.defaultOptions,variant:"rgba"},mu=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],uu=[],ba=e=>{let{variant:t,...o}=e;switch(t){case"hex":return xl(ja,{...o,mode:t});case"rgb":return xl(ja,{...o,mode:t});default:return xl(ja,{...o,mode:t})}};ba.options=du;ba.states=cu;ba.variants=mu;ba.defaultOptions=pu;ba.modifiers=uu;import{jsx as bu}from"react/jsx-runtime";var Nl=e=>bu("tr",{role:"row",children:e.children});import{jsx as hu}from"react/jsx-runtime";var gl="k-colorpalette-tile",fu=[n.hover,n.focus,n.selected],Tu={},So=e=>{let{color:t,tileSize:o,hover:a,focus:l,selected:i,...c}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return hu("td",{...c,role:"gridcell","aria-label":t,"aria-selected":i?"true":void 0,className:r(e.className,gl,A(gl,{hover:a,focus:l,selected:i})),style:m})};So.states=fu;So.options=Tu;So.className=gl;var Pi="color-palette",Hi="colorpalette";import{jsx as fa}from"react/jsx-runtime";var er="k-colorpalette",xu=[n.disabled],Nu={size:[s.undefined,s.small,s.medium,s.large]},Ki={columns:10},ze=e=>{let{size:t,palette:o,columns:a=Ki.columns,tileSize:l,disabled:i,...c}=e,m=[];if(o){let h=a||o.columns,N=o.colors?o.colors:o;Array.isArray(N)&&Array.from({length:Math.ceil(N.length/h)},(v,k)=>{let u=[];N.slice(k*h,(k+1)*h).map((C,S)=>{u.push(fa(So,{color:C,tileSize:l},S))});let M=fa(Nl,{children:u},k);m.push(M)})}return fa("div",{...c,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":i?"true":void 0,className:r(e.className,er,A(er,{disabled:i}),y(er,{size:t})),children:fa("table",{className:"k-colorpalette-table",role:"none",children:fa("tbody",{children:m.length>0?m:e.children})})})};ze.states=xu;ze.options=Nu;ze.className=er;ze.defaultOptions=Ki;ze.moduleName=Pi;ze.folderName=Hi;ze.ariaSpec={selector:".k-colorpalette",rules:[{selector:".k-colorpalette",attribute:"role=grid",usage:"The focusable wrapper announces its role as a grid."},{selector:".k-colorpalette",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpalette",attribute:"aria-activedescendant",usage:"Points to the focused cell in the table."},{selector:".k-colorpalette",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpalette.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorPalette is disabled."},{selector:".k-colorpalette-table",attribute:"role=none or role=presentation",usage:"Negates the default role of the table element."},{selector:".k-colorpalette-table>tbody>tr",attribute:"role=row",usage:"Required as the semantic role of the parent table has been removed."},{selector:".k-colorpalette-tile",attribute:"role=gridcell",usage:"Required as the semantic role of the parent table has been removed."},{selector:".k-colorpalette-tile",attribute:"aria-label or title",usage:"The text representation of the color value for the current cell."},{selector:".k-colorpalette-tile.k-selected",attribute:"aria-selected=true",usage:"Present on the currently selected cell."}]};var tr=ze;var Ta={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};import{jsx as gu}from"react/jsx-runtime";var Bi=e=>gu(tr,{palette:Ta.basic,...e});import{jsx as bI}from"react/jsx-runtime";import{jsx as gI,jsxs as kI}from"react/jsx-runtime";import{jsx as Su}from"react/jsx-runtime";var ku=ze.options,vu=ze.states,Lu={...ze.defaultOptions,variant:"basic"},Cu=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],Mu={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}},yu=[],ha=e=>{let{variant:t="basic",...o}=e,a=Mu[t];return Su(Bi,{columns:a.columns,palette:a,...o})};ha.options=ku;ha.states=vu;ha.variants=Cu;ha.defaultOptions=Lu;ha.modifiers=yu;var Gi="color-editor",Di="coloreditor";import{jsx as pt,jsxs as Ao}from"react/jsx-runtime";var or="k-coloreditor",Au=[n.focus],wu={size:[s.undefined,s.small,s.medium,s.large]},xa={view:"gradient",palette:Ta.office,actionButtons:!0,canvasOrientation:"horizontal"},be=e=>{let{size:t,view:o=xa.view,palette:a=xa.palette,color:l,currentColor:i,focus:c,focusView:m,dir:h,group:N,actionButtons:v=xa.actionButtons,canvasOrientation:k=xa.canvasOrientation,...u}=e;return Ao("div",{...u,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",or,y(or,{size:t}),A(or,{focus:c})),dir:h,children:[Ao("div",{className:"k-coloreditor-header k-hstack",children:[pt("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&Ao(K,{fillMode:"flat",children:[pt(d,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),pt(d,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),pt("div",{className:"k-spacer"}),Ao("div",{className:"k-coloreditor-header-actions k-hstack",children:[pt(d,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),Ao("div",{className:"k-coloreditor-preview k-vstack",children:[pt(Bt,{className:"k-coloreditor-preview-color",color:l}),pt(Bt,{className:"k-coloreditor-current-color",color:i})]})]})]}),pt("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?pt(Le,{focus:m,size:t,canvasOrientation:k,role:"none",tabIndex:-1}):pt(ze,{palette:a,size:t})}),v&&Ao(gt,{className:"k-coloreditor-footer",alignment:"start",children:[pt(d,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),pt(d,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};be.states=Au;be.options=wu;be.className=or;be.defaultOptions=xa;be.moduleName=Gi;be.folderName=Di;be.ariaSpec={selector:".k-flatcolorpicker",rules:[{selector:".k-flatcolorpicker",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a submittable value."},{selector:".k-flatcolorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-flatcolorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-flatcolorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the FlatColorPicker is disabled."},{selector:".k-colorgradient",attribute:"role=none",usage:"The inner ColorGradient must have its role removed."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var wo=be;import{jsx as YI}from"react/jsx-runtime";import{jsx as eR}from"react/jsx-runtime";import{jsx as Eu}from"react/jsx-runtime";var _i=e=>Eu(wo,{group:!0,currentColor:"fuchsia",...e});import{jsx as Iu}from"react/jsx-runtime";var zi=e=>Iu(wo,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as Ui}from"react/jsx-runtime";var Ru=be.options,Ou=be.states,Pu={...be.defaultOptions,variant:"gradient"},Hu=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Ku=[],Na=e=>{let{variant:t,...o}=e;return t==="palette"?Ui(zi,{...o,color:"white"}):Ui(_i,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Na.options=Ru;Na.states=Ou;Na.variants=Hu;Na.defaultOptions=Pu;Na.modifiers=Ku;var Fi="color-picker",Vi="colorpicker";import{Fragment as Du,jsx as mt,jsxs as kl}from"react/jsx-runtime";var $i="k-colorpicker",Bu=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],Gu={size:[s.undefined,s.small,s.medium,s.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Xi={arrowIconName:"caret-alt-down"},qe=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:l=Xi.arrowIconName,prefix:i,suffix:c,value:m,placeholder:h,hover:N,focus:v,valid:k,invalid:u,required:M,disabled:C,valueIconName:S,popup:R,opened:E,adaptive:D,adaptiveSettings:ie,adaptiveTitle:fe,adaptiveSubtitle:Ee,...$e}=e,Xe="colorpicker-popup";return kl(Du,{children:[kl(ht,{...$e,size:t,rounded:o,fillMode:a,hover:N,focus:v,valid:k,invalid:u,required:M,disabled:C,role:"combobox","aria-haspopup":"dialog","aria-expanded":E?"true":"false","aria-controls":E||D?Xe:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":C?"true":void 0,className:r(e.className,$i,"k-icon-picker"),children:[mt(tt,{children:i}),mt(oo,{placeholder:h,value:m,showValue:!1,valueIcon:mt(Bt,{className:"k-value-icon",color:m,iconName:S}),valueIconName:S}),mt(ot,{children:c}),mt(d,{className:"k-input-button",icon:l,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:C})]}),E&&R&&mt(j,{id:Xe,className:"k-colorpicker-popup",children:R}),D&&mt(me,{adaptive:!0,id:Xe,...ie,header:mt(Re,{actionsEnd:mt(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:fe,subtitle:Ee}),footer:kl(Gt,{children:[mt(d,{text:"Cancel",size:"large"}),mt(d,{text:"Set",size:"large",themeColor:"primary"})]}),children:mt(be,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};qe.states=Bu;qe.options=Gu;qe.className=$i;qe.defaultOptions=Xi;qe.moduleName=Fi;qe.folderName=Vi;qe.ariaSpec={selector:".k-colorpicker",rules:[{selector:".k-colorpicker",attribute:"role=combobox",usage:"The focusable element should have role combobox (input with popup)."},{selector:".k-colorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpicker",attribute:"aria-haspopup=dialog",usage:"Indicates the component has a Dialog Popup."},{selector:".k-colorpicker",attribute:"aria-expanded=true/false",usage:"Announces the visibility state of the popup."},{selector:".k-colorpicker",attribute:"aria-controls (when open)",usage:"Points to the popup element."},{selector:".k-colorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorpicker.k-disabled .k-button",attribute:"disabled or aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var Xt=qe;import{jsx as _u}from"react/jsx-runtime";var ar=e=>_u(Xt,{...e});import{jsx as BR}from"react/jsx-runtime";import{jsx as UR}from"react/jsx-runtime";import{jsx as XR}from"react/jsx-runtime";import{jsx as YR}from"react/jsx-runtime";import{jsx as eO}from"react/jsx-runtime";import{jsx as rO}from"react/jsx-runtime";import{jsx as co}from"react/jsx-runtime";var zu=Xt.options,Uu=Xt.states,Wi={...Xt.defaultOptions,variant:"color"},Fu=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Vu=[{name:"opened",title:"Opened"}],ga=e=>{let{variant:t,modifiers:o,...a}={...Wi,...e},l={};Object.keys(o||{}).forEach(c=>{c==="opened"&&(l.opened=!!o?.[c],l.popup=o?.[c]?co(be,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let i=l.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return co("div",{style:i,children:co(ar,{...a,...l})});case"icon":return co("div",{style:i,children:co(ar,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...l})});default:return co("div",{style:i,children:co(ar,{value:"rgba(183, 118 , 118, 1.00)",...a,...l})})}};ga.options=zu;ga.states=Uu;ga.variants=Fu;ga.defaultOptions=Wi;ga.modifiers=Vu;var vl="combobox",Ji=vl;import{Fragment as Ll,jsx as he,jsxs as ka}from"react/jsx-runtime";var qi="k-combobox",$u=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],Xu={size:[s.undefined,s.small,s.medium,s.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Yi={separators:!0},He=e=>{let{size:t,rounded:o,fillMode:a,separators:l=Yi.separators,prefix:i,suffix:c,value:m,placeholder:h,hover:N,focus:v,valid:k,invalid:u,required:M,loading:C,disabled:S,popup:R,opened:E,readonly:D,adaptive:ie,adaptiveSettings:fe,adaptiveTitle:Ee,adaptiveSubtitle:$e,adaptiveCustomValue:Xe,id:xo,autocomplete:Nr,activeDescendant:Ka,"aria-label":ad,...rd}=e,ld=xo?`${xo}-listbox`:void 0;return ka(Ll,{children:[ka(Te,{...rd,size:t,rounded:o,fillMode:a,hover:N,focus:v,valid:k,invalid:u,required:M,loading:C,disabled:S,readonly:D,className:r(e.className,qi),children:[i&&ka(Ll,{children:[he(tt,{children:i}),l&&he(at,{})]}),he(Je,{placeholder:h,value:m,role:"combobox","aria-haspopup":"listbox","aria-expanded":E?"true":"false","aria-controls":E?ld:void 0,"aria-activedescendant":E&&Ka?Ka:void 0,"aria-autocomplete":Nr,"aria-invalid":u?"true":void 0,"aria-busy":C?"true":void 0,"aria-label":ad,disabled:S,readOnly:D}),he(Ie,{valid:k,invalid:u,loading:C,disabled:S}),he(Ge,{loading:C,disabled:S}),he(We,{loading:C,disabled:S,readonly:D,value:m}),c&&ka(Ll,{children:[l&&he(at,{}),he(ot,{children:c})]}),he(d,{className:"k-input-button",icon:"caret-alt-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:S})]}),E&&R&&he(j,{className:"k-list-container k-combobox-popup",containerClassName:"k-combobox-popup-container",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:R}),ie&&he(me,{adaptive:!0,id:xo?`${xo}-adaptive`:void 0,...fe,header:he(Re,{actionsEnd:he(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:m,inputPlaceholder:h,title:Ee,subtitle:$e}),children:he("div",{className:"k-list-container",children:he(U,{customValue:Xe?he(Vt,{text:`Use "${m}"`}):void 0,size:"large",children:ka(q,{"aria-label":Ee||"Options",children:[he(G,{text:"List item"}),he(G,{text:"List item"}),he(G,{text:"List item"})]})})})})]})};He.states=$u;He.options=Xu;He.className=qi;He.defaultOptions=Yi;He.moduleName=vl;He.folderName=Ji;He.ariaSpec={selector:".k-combobox",rules:[{selector:".k-combobox > .k-input-inner",attribute:"role=combobox",usage:"Identifies the input as a combobox."},{selector:".k-combobox > .k-input-inner",attribute:"aria-haspopup=listbox",usage:"Indicates the combobox has a listbox popup."},{selector:".k-combobox > .k-input-inner",attribute:"aria-expanded",usage:"Indicates whether the popup is open."},{selector:".k-combobox > .k-input-inner",attribute:"aria-controls=${id}-listbox (when open)",usage:"Points to the listbox element when popup is open."},{selector:".k-combobox > .k-input-inner",attribute:"aria-activedescendant (when open)",usage:"Points to the focused item in the listbox."},{selector:".k-combobox > .k-input-inner",attribute:"aria-autocomplete=list|both|inline (when has autocomplete)",usage:"Indicates the autocomplete behavior."},{selector:".k-combobox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the combobox is in an invalid state."},{selector:".k-combobox > .k-input-inner",attribute:"aria-busy=true (when loading)",usage:"Rendered when the combobox is loading data."},{selector:".k-combobox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name provided by consuming app."},{selector:".k-combobox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the combobox is disabled."},{selector:".k-combobox .k-input-button",attribute:"role=button or nodeName=button",usage:"The dropdown toggle button."},{selector:".k-combobox .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-combobox .k-input-button",attribute:"tabindex=-1",usage:"Dropdown button is not in the tab order."},{selector:".k-combobox-popup .k-list-content, .k-combobox-popup .k-list-ul",attribute:"role=listbox",usage:"The popup list container has the listbox role."},{selector:".k-combobox-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."},{selector:".k-combobox-popup .k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state."},{selector:".k-combobox-popup .k-no-data",attribute:"aria-live=polite",usage:"Announces no-data state to screen readers."}]};var Ye=He;import{jsx as Wu}from"react/jsx-runtime";var Qi=e=>Wu(Ye,{...e});import{jsx as _O,jsxs as zO}from"react/jsx-runtime";import{jsx as WO,jsxs as JO}from"react/jsx-runtime";import{jsx as e0,jsxs as t0}from"react/jsx-runtime";import{Fragment as i0,jsx as n0}from"react/jsx-runtime";import{Fragment as u0,jsx as m0}from"react/jsx-runtime";import{jsx as N0,jsxs as g0}from"react/jsx-runtime";import{Fragment as A0,jsx as y0,jsxs as S0}from"react/jsx-runtime";import{jsx as R0}from"react/jsx-runtime";import{jsx as K0}from"react/jsx-runtime";import{jsx as U0,jsxs as F0}from"react/jsx-runtime";import{jsx as q0,jsxs as Y0}from"react/jsx-runtime";import{jsx as Wt,jsxs as ju}from"react/jsx-runtime";var Ju=He.states,qu=He.defaultOptions,Yu=He.options,Qu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Zu=[],va=e=>{let{modifiers:t,...o}=e,a={},l=Wt(U,{style:{width:300},size:o.size,children:ju(q,{children:[Wt(G,{children:"List item"}),Wt(G,{children:"List item"}),Wt(G,{children:"List item"})]})});return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?Wt(g,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[i]?Wt(Kt,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[i],a.popup=t?.[i]?l:void 0;break;default:break}}),Wt("div",{children:Wt(Qi,{value:"Value",style:{width:300},...o,...a})})};va.options=Yu;va.states=Ju;va.variants=Zu;va.defaultOptions=qu;va.modifiers=Qu;var Cl="menu-button",Zi=Cl;import{jsx as ob}from"react/jsx-runtime";var ji="k-menu-button",eb=[n.hover,n.focus,n.active,n.selected,n.disabled],tb={size:[s.undefined,s.small,s.medium,s.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[f.undefined,f.base,f.primary,f.secondary,f.tertiary,f.success,f.warning,f.error,f.info,f.light,f.dark,f.inverse]},Ml={showArrow:!0,arrowIconName:"caret-alt-down"},Q=e=>{let{size:t,rounded:o,fillMode:a,themeColor:l,hover:i,focus:c,active:m,selected:h,disabled:N,icon:v,text:k,showArrow:u=Ml.showArrow,arrowIconName:M=Ml.arrowIconName,expanded:C,...S}=e;return ob(d,{...S,className:r(e.className,ji),text:k,size:t,rounded:o,fillMode:a,themeColor:l,hover:i,focus:c,active:m,selected:h,disabled:N,icon:v,showArrow:u,arrowIconName:M,"aria-expanded":C?"true":"false",...!k&&v&&!e["aria-label"]&&{"aria-label":"Menu"},...N&&{"aria-disabled":"true"}})};Q.states=eb;Q.options=tb;Q.className=ji;Q.defaultOptions=Ml;Q.moduleName=Cl;Q.folderName=Zi;Q.ariaSpec={selector:".k-menu-button",rules:[{selector:".k-menu-button",attribute:"role=button or nodeName=button",usage:"Omitted if the button DOM element is used."},{selector:".k-menu-button",attribute:"aria-label (when icon-only)",usage:"Required when no text is visible in the button."},{selector:".k-menu-button",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-menu-button",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-menu-button.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};import{jsx as wP}from"react/jsx-runtime";import{jsx as OP}from"react/jsx-runtime";import{jsx as BP}from"react/jsx-runtime";var Qe="menu",ut=Qe;import{jsx as La,jsxs as es}from"react/jsx-runtime";var yl="k-menu-item",ab=[n.hover,n.focus,n.active,n.selected,n.disabled],rb={},ts={iconPosition:"before"},ye=e=>{let{hover:t,focus:o,active:a,selected:l,disabled:i,icon:c,text:m,first:h,last:N,showArrow:v,arrowIconName:k,iconPosition:u=ts.iconPosition,dir:M,children:C,expanded:S,...R}=e,E=k;return E||(E=M==="rtl"?"caret-alt-left":"caret-alt-right"),es("li",{...R,className:r(e.className,yl,"k-item",A(yl,{focus:o,disabled:i,hover:t,active:a,selected:l}),{"k-first":h,"k-last":N}),role:"menuitem",...v&&{"aria-haspopup":"menu"},...v&&{"aria-expanded":S?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[es("span",{className:r("k-link k-menu-link"),children:[c&&u==="before"&&La(g,{className:"k-menu-link-icon",icon:c}),La("span",{className:"k-menu-link-text",children:m}),c&&u==="after"&&La(g,{className:"k-menu-link-icon",icon:c}),v&&La("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:La(g,{icon:E})})]}),C]})};ye.states=ab;ye.options=rb;ye.className=yl;ye.defaultOptions=ts;ye.moduleName=Qe;ye.folderName=ut;import{jsx as Ca,jsxs as os}from"react/jsx-runtime";var Sl="k-menu-item",lb=[n.hover,n.focus,n.active,n.selected,n.disabled],nb={},Al={dir:"ltr",iconPosition:"before"},se=e=>{let{hover:t,focus:o,active:a,selected:l,disabled:i,icon:c,text:m,first:h,last:N,showArrow:v,arrowIconName:k,iconPosition:u=Al.iconPosition,dir:M=Al.dir,children:C,popup:S,expanded:R,...E}=e,D=k;return D||(D=M==="rtl"?"caret-alt-left":"caret-alt-right"),os("li",{...E,className:r(e.className,Sl,"k-item",A(Sl,{focus:o,disabled:i}),{"k-first":h,"k-last":N}),role:"menuitem",...v&&{"aria-haspopup":"menu"},...v&&{"aria-expanded":R?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[os("span",{className:r("k-link k-menu-link",A("k-menu-link",{hover:t,active:a,selected:l,disabled:i})),children:[c&&u==="before"&&Ca(g,{className:"k-menu-link-icon",icon:c}),Ca("span",{className:"k-menu-link-text",children:m}),c&&u==="after"&&Ca(g,{className:"k-menu-link-icon",icon:c}),v&&Ca("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Ca(g,{icon:D})})]}),C,S]})};se.states=lb;se.options=nb;se.className=Sl;se.defaultOptions=Al;se.moduleName=Qe;se.folderName=ut;import{jsx as cb}from"react/jsx-runtime";var as="k-menu-scroll-wrapper",ib=[],sb={},db={},po=e=>{let{className:t,children:o,orientation:a,...l}=e;return cb("div",{...l,className:r(t,as,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};po.states=ib;po.options=sb;po.className=as;po.defaultOptions=db;po.moduleName=Qe;po.folderName=ut;var rs=po;import{Fragment as wl,jsx as mo,jsxs as lr}from"react/jsx-runtime";var El="k-menu",pb=[],mb={},nr={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Ce=e=>{let{children:t,orientation:o=nr.orientation,header:a=nr.header,scrollable:l,scrollButtonsPosition:i=nr.scrollButtonsPosition,wrapperStyles:c,dir:m,popup:h,contextMenu:N,...v}=e,k={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},u=mo("ul",{dir:m,...v,className:r(e.className,"k-reset",El,{[`${El}-${o}`]:o,"k-header":a}),role:N?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return lr(wl,{children:[l?lr(rs,{orientation:o,style:c,dir:e.dir,children:[i==="start"&&lr(wl,{children:[mo(d,{fillMode:"flat",icon:`caret-alt-${k[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),mo(d,{fillMode:"flat",icon:`caret-alt-${k[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&mo(d,{fillMode:"flat",icon:`caret-alt-${k[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),u,i==="end"&&lr(wl,{children:[mo(d,{fillMode:"flat",icon:`caret-alt-${k[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),mo(d,{fillMode:"flat",icon:`caret-alt-${k[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&mo(d,{fillMode:"flat",icon:`caret-alt-${k[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):u,h]})};Ce.states=pb;Ce.options=mb;Ce.className=El;Ce.defaultOptions=nr;Ce.moduleName=Qe;Ce.folderName=ut;Ce.ariaSpec={selector:".k-menu",rules:[{selector:".k-menu:not(.k-context-menu)",attribute:"role=menubar",usage:"Announces the Menu menubar role."},{selector:".k-menu.k-menu-vertical",attribute:"aria-orientation=vertical",usage:"Announces the Menu orientation when vertical."},{selector:".k-menu-item",attribute:"role=menuitem",usage:"Announces the Menu item role."},{selector:".k-menu-item[aria-haspopup]",attribute:"aria-haspopup=menu",usage:"Indicates a popup menu is associated with the item."},{selector:".k-menu-item[aria-haspopup]",attribute:"aria-expanded=true/false",usage:"Indicates whether the submenu is expanded."},{selector:".k-menu-item.k-disabled",attribute:"aria-disabled=true",usage:"Informs assistive technologies that a Menu item is disabled."},{selector:".k-menu-expand-arrow",attribute:"aria-hidden=true",usage:"Expand arrow elements are hidden from assistive technologies."},{selector:".k-menu-popup .k-menu-group",attribute:"role=menu",usage:"The role of the nested menu displayed in a popup."},{selector:".k-menu-scroll-button",attribute:"tabindex=-1",usage:"Scroll buttons are removed from the tab sequence."},{selector:".k-menu-scroll-button",attribute:"aria-label",usage:"Scroll buttons have an accessible label."},{selector:".k-menu-item.k-focus",attribute:"tabindex=0",usage:"The focused item has tabindex 0."},{selector:".k-menu-item[aria-haspopup][aria-controls]",attribute:"aria-controls=ul.k-menu-group id",usage:"Points to the ID of the submenu. Only present when the item controls a submenu element."},{selector:".k-menu-popup .k-menu-group",attribute:"id",usage:"Each nested menu has a deterministic id linked to the parent aria-controls."}]};import{jsx as ub}from"react/jsx-runtime";var Il="k-separator",ls={orientation:"horizontal"},Eo=e=>{let{orientation:t=ls.orientation,...o}=e;return ub("li",{...o,className:r(e.className,"k-item",Il,{[`${Il}-${t}`]:t}),role:"separator"})};Eo.className=Il;Eo.defaultOptions=ls;Eo.moduleName=Qe;Eo.folderName=ut;import{Fragment as mH,jsx as uH}from"react/jsx-runtime";import{jsx as hb}from"react/jsx-runtime";var Rl="k-menu-group",bb=[],fb={size:[s.undefined,s.small,s.medium,s.large]},Tb={},Se=e=>{let{children:t,size:o,...a}=e;return hb("ul",{...a,className:r(e.className,Rl,y(Rl,{size:o})),role:"menu",children:t})};Se.states=bb;Se.options=fb;Se.className=Rl;Se.defaultOptions=Tb;Se.moduleName=Qe;Se.folderName=ut;import{Fragment as xb,jsx as Io,jsxs as Nb}from"react/jsx-runtime";var Ol=e=>Io(Ce,{children:Nb(xb,{children:[Io(ye,{first:!0,text:"Item 1"}),Io(ye,{showArrow:!0,arrowIconName:"caret-alt-down",text:"Item 2"}),Io(ye,{showArrow:!0,arrowIconName:"caret-alt-down",text:"Item 3"}),Io(ye,{text:"Item 4"}),Io(ye,{last:!0,text:"Item 5"})]}),...e});import{Fragment as SH,jsx as MH,jsxs as yH}from"react/jsx-runtime";import{Fragment as RH,jsx as IH,jsxs as OH}from"react/jsx-runtime";import{Fragment as GH,jsx as BH,jsxs as DH}from"react/jsx-runtime";import{Fragment as VH,jsx as FH,jsxs as $H}from"react/jsx-runtime";import{jsx as uo,jsxs as Cb}from"react/jsx-runtime";var gb=Ce.options,kb=Ce.states,ns={...Ce.defaultOptions,variant:"horizontal"},vb=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Lb=[{name:"scrollable",title:"Scrollable"},{name:"opened",title:"Opened"}],Ma=e=>{let{variant:t,modifiers:o,...a}={...ns,...e},l={};return Object.keys(o||{}).forEach(i=>{switch(i){case"scrollable":l.scrollable=!!o?.[i];break;case"opened":l.opened=!!o?.[i],l.popup=uo(j,{className:"k-menu-popup",children:Cb(Se,{children:[uo(se,{text:"Item 1"}),uo(se,{text:"Item 2"}),uo(Eo,{}),uo(se,{text:"Item 3"})]})});break}}),t==="vertical"?uo(Ol,{...a,...l,orientation:"vertical",style:{width:"200px"}}):uo(Ol,{...a,...l})};Ma.options=gb;Ma.states=kb;Ma.variants=vb;Ma.defaultOptions=ns;Ma.modifiers=Lb;import{Fragment as LK,jsx as kK,jsxs as vK}from"react/jsx-runtime";import{jsx as SK}from"react/jsx-runtime";import{Fragment as wb,jsx as Ct,jsxs as is}from"react/jsx-runtime";var Mb=d.states,ss={...d.defaultOptions,variant:"text"},yb=d.options,Sb=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ab=[{name:"opened",title:"Opened"}],ya=e=>{let{variant:t,modifiers:o,...a}={...ss,...e},l={},i=Ct(j,{className:"k-menu-popup",children:is(Se,{size:a.size,children:[Ct(se,{first:!0,text:"Menu Item"}),Ct(se,{text:"Menu Item"}),Ct(se,{last:!0,text:"Menu Item"})]})}),c;switch(t){case"icon-only":c=Ct("div",{children:Ct(Q,{...a,...l,icon:"star"})});break;case"icon-and-text":c=Ct("div",{children:Ct(Q,{...a,...l,icon:"star",children:"Dropdown Button"})});break;default:c=Ct("div",{children:Ct(Q,{...a,...l,children:"Dropdown Button"})});break}return is(wb,{children:[c,o?.opened&&i]})};ya.options=yb;ya.states=Mb;ya.variants=Sb;ya.defaultOptions=ss;ya.modifiers=Ab;var Pl="split-button",ds=Pl;import{Fragment as Rb,jsx as Hl,jsxs as cs}from"react/jsx-runtime";var Kl="k-split-button",Eb=[n.hover,n.focus,n.active,n.selected,n.disabled],Ib={size:[s.undefined,s.small,s.medium,s.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[f.undefined,f.base,f.primary,f.secondary,f.tertiary,f.success,f.warning,f.error,f.info,f.light,f.dark,f.inverse]},ps={arrowIconName:"caret-alt-down"},F=e=>{let{size:t,rounded:o,fillMode:a,themeColor:l,hover:i,focus:c,active:m,selected:h,disabled:N,icon:v,text:k,arrowIconName:u=ps.arrowIconName,popup:M,opened:C,popupId:S,...R}=e;return cs(Rb,{children:[cs("div",{...R,className:r(e.className,Kl,"k-button-group",y(Kl,{rounded:o})),children:[Hl(d,{text:k,icon:v,size:t,rounded:o,fillMode:a,themeColor:l,hover:i,focus:c,active:m,selected:h,disabled:N,...!k&&!e.children&&v&&{"aria-label":"Action"},children:e.children}),Hl(d,{className:"k-split-button-arrow",icon:u,size:t,rounded:o,fillMode:a,disabled:N,"aria-label":"Toggle dropdown","aria-expanded":C?"true":"false","aria-controls":C?S:void 0,tabIndex:-1,...N&&{"aria-disabled":"true"}})]}),C&&M&&Hl(j,{className:"k-menu-popup",children:M})]})};F.states=Eb;F.options=Ib;F.className=Kl;F.defaultOptions=ps;F.moduleName=Pl;F.folderName=ds;F.ariaSpec={selector:".k-split-button",rules:[{selector:".k-split-button-arrow",attribute:"role=button or nodeName=button",usage:"Omitted if the <button> DOM element is used."},{selector:".k-split-button-arrow",attribute:"aria-label",usage:"The attribute must be present when no text is initially visible in the button."},{selector:".k-split-button-arrow",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-split-button-arrow",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-split-button-arrow",attribute:"tabindex=-1",usage:"The arrow button is removed from the tab sequence."},{selector:".k-split-button-arrow.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};var Bl=F;import{jsx as Pb}from"react/jsx-runtime";var Ob="k-toolbar-separator",Tt=e=>Pb("div",{className:r(Ob,e.className,"k-separator")});var Et="toolbar",Jt=Et;import{Fragment as Gl,jsx as $,jsxs as Ro}from"react/jsx-runtime";var It="k-toolbar",Hb=[n.focus],Kb={size:[s.undefined,s.small,s.medium,s.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},Bb={scrollButtons:"around"},Z=e=>{let{size:t,fillMode:o,focus:a,resizable:l,scrollable:i,scrollButtons:c,scrollingPosition:m,section:h,...N}=e,v=[],k=(u,M)=>{let C=[];if(u.type===d&&u.props.className&&u.props.className.includes("k-toolbar-overflow-button"))C.push($(d,{...u.props,className:`${u.props.className?u.props.className:""}`},`${M}-${new Date().getTime()}`));else if(u.type===d)C.push($(d,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${M}-${new Date().getTime()}`));else if(u.type===$o)C.push($($o,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${M}-${new Date().getTime()}`));else if(u.type===Kt)C.push($(Kt,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${M}-${new Date().getTime()}`));else if(u.type===Q)C.push($(Q,{...u.props,className:`k-toolbar-menu-button ${u.props.className?u.props.className:""}`},`${M}-${new Date().getTime()}`));else if(u.type===Bl)C.push($(Bl,{...u.props,className:`k-toolbar-split-button ${u.props.className?u.props.className:""}`},`${M}-${new Date().getTime()}`));else if(u.type===K||u.props.className&&u.props.className.includes("k-button-group")){let S=[];(Array.isArray(u.props.children)?u.props.children:[u.props.children]).forEach((E,D)=>{S.push($(d,{...E.props,className:`${E.props.className?E.props.className:""}`},`${D}-${new Date().getTime()}`))}),C.push($(K,{...u.props,className:`k-toolbar-button-group ${u.props.className?u.props.className:""}`,children:S},`${M}-${new Date().getTime()}`))}else u.type===He?C.push($(He,{...u.props,className:`k-toolbar-combobox ${u.props.className?u.props.className:""}`},`${M}-${new Date().getTime()}`)):u.type===Y?C.push($(Y,{...u.props,className:`k-toolbar-dropdownlist ${u.props.className?u.props.className:""}`},`${M}-${new Date().getTime()}`)):u.type===qe?C.push($(qe,{...u.props,className:`k-toolbar-colorpicker ${u.props.className?u.props.className:""}`},`${M}-${new Date().getTime()}`)):C.push(u);C.forEach(S=>{v.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((M,C)=>{k(M,C)}),Ro("div",{...N,className:r(e.className,It,y(It,{size:t,fillMode:o}),A(It,{focus:a}),{[`${It}-resizable`]:l,[`${It}-scrollable`]:i,[`${It}-scrollable-overlay`]:i&&c==="hidden",[`${It}-scrollable-${m}`]:m&&m!=="both",[`${It}-section`]:h}),role:"toolbar","aria-label":"Toolbar",children:[!i&&v,i&&c==="hidden"&&$("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:v}),i&&c==="start"&&Ro(Gl,{children:[Ro(K,{children:[$("span",{className:r("k-toolbar-prev","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:$(g,{className:"k-button-icon",icon:"caret-alt-left"})}),$("span",{className:r("k-toolbar-next","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:$(g,{className:"k-button-icon",icon:"caret-alt-right"})})]}),$(Tt,{className:"k-toolbar-button-separator"}),$("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:v})]}),i&&c==="end"&&Ro(Gl,{children:[$("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:v}),$(Tt,{className:"k-toolbar-button-separator"}),Ro(K,{children:[$("span",{className:r("k-toolbar-prev","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:$(g,{className:"k-button-icon",icon:"caret-alt-left"})}),$("span",{className:r("k-toolbar-next","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:$(g,{className:"k-button-icon",icon:"caret-alt-right"})})]})]}),i&&(c==="around"||!c)&&Ro(Gl,{children:[$("span",{className:r("k-toolbar-prev","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:$(g,{className:"k-button-icon",icon:"caret-alt-left"})}),$(Tt,{className:"k-toolbar-button-separator"}),$("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:v}),$(Tt,{className:"k-toolbar-button-separator"}),$("span",{className:r("k-toolbar-next","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:$(g,{className:"k-button-icon",icon:"caret-alt-right"})})]})]})};Z.states=Hb;Z.options=Kb;Z.className=It;Z.defaultOptions=Bb;Z.moduleName=Et;Z.folderName=Jt;Z.ariaSpec={selector:".k-toolbar",rules:[{selector:".k-toolbar",attribute:"role=toolbar",usage:"The component role."},{selector:".k-toolbar",attribute:"aria-label or aria-labelledby",usage:"Must be supplied when multiple toolbars exist."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-haspopup=menu",usage:"The overflow button opens a menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-expanded=true/false",usage:"Announces popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])[aria-controls]',attribute:"aria-controls=.k-toolbar-popup .k-menu-group id",usage:"Indicates the connection between the toggle button and the menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:".k-toolbar-popup .k-menu-group",attribute:"role=menu",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-menu-group[aria-labelledby]",attribute:"aria-labelledby=.k-toolbar-overflow-button id",usage:"Associates the title of the menu toggle button."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-expanded=true/false",usage:"Announces section popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])[aria-controls]',attribute:"aria-controls=.k-toolbar-popup .k-toolbar-items-list id",usage:"Indicates the connection between the toggle button and the section popup."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"role=toolbar",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-toolbar-items-list[aria-labelledby]",attribute:"aria-labelledby=.k-toolbar-overflow-button id",usage:"Associates the title of the section toggle button."}]};import{jsx as zb}from"react/jsx-runtime";var ms="k-floating-toolbar",Gb=[],Db={},_b={},Oo=e=>{let{...t}=e;return zb("div",{...t,className:r(e.className,ms),children:e.children})};Oo.states=Gb;Oo.options=Db;Oo.className=ms;Oo.defaultOptions=_b;Oo.moduleName=Et;Oo.folderName=Jt;import{jsx as $b}from"react/jsx-runtime";var Dl="k-toolbar-item",Ub=[n.focus],Fb={},Vb={},Po=e=>{let{focus:t,...o}=e;return $b("div",{...o,className:r(e.className,Dl,A(Dl,{focus:t})),children:e.children})};Po.states=Ub;Po.options=Fb;Po.className=Dl;Po.defaultOptions=Vb;Po.moduleName=Et;Po.folderName=Jt;import{jsx as us}from"react/jsx-runtime";var bs="k-toolbar-popup",Xb=[],Wb={size:[s.undefined,s.small,s.medium,s.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},Jb={},bo=e=>{let{size:t,fillMode:o,section:a,...l}=e;return us(j,{...l,className:r(e.className,bs),children:a?us("span",{className:r("k-toolbar-items-list",y("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};bo.states=Xb;bo.options=Wb;bo.className=bs;bo.defaultOptions=Jb;bo.moduleName=Et;bo.folderName=Jt;var ir=bo;import{jsx as EB}from"react/jsx-runtime";import{jsx as PB}from"react/jsx-runtime";import{jsx as GB}from"react/jsx-runtime";import{jsx as VB,jsxs as $B}from"react/jsx-runtime";import{jsx as qB}from"react/jsx-runtime";import{jsx as Rt,jsxs as jb}from"react/jsx-runtime";var qb=F.states,fs={...F.defaultOptions,variant:"text"},Yb=F.options,Qb=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Zb=[{name:"opened",title:"Opened"}],Sa=e=>{let{variant:t,modifiers:o,...a}={...fs,...e},l={},i=jb(Se,{size:a.size,children:[Rt(se,{first:!0,text:"Menu Item"}),Rt(se,{text:"Menu Item"}),Rt(se,{last:!0,text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(c=>{c==="opened"&&(l.opened=!!o?.[c],l.popup=o?.[c]?i:"")}),t){case"icon-only":return Rt("div",{children:Rt(F,{...a,...l,icon:"star"})});case"icon-and-text":return Rt("div",{children:Rt(F,{...a,...l,icon:"star",children:"Split Button"})});default:return Rt("div",{children:Rt(F,{...a,...l,children:"Split Button"})})}};Sa.options=Yb;Sa.states=qb;Sa.variants=Qb;Sa.defaultOptions=fs;Sa.modifiers=Zb;import{jsx as fo,jsxs as ef}from"react/jsx-runtime";var Ts=e=>fo(Z,{children:[fo(d,{children:"Button"},"toolbar-button"),fo(Q,{text:"Menu button"},"toolbar-menu-button"),fo(F,{children:"Split button"},"toolbar-split-button"),ef(K,{children:[fo(d,{className:"k-group-start",icon:"align-left",children:"Left"}),fo(d,{icon:"align-center",children:"Center"}),fo(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as CG,jsxs as MG}from"react/jsx-runtime";import{jsx as Ze,jsxs as hs}from"react/jsx-runtime";var xs=e=>Ze(Z,{scrollable:!0,...e,children:[Ze(d,{children:"Button"},"toolbar-button"),Ze(Q,{text:"Menu button"},"toolbar-menu-button"),Ze(F,{children:"Split button"},"toolbar-split-button"),hs(K,{children:[Ze(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Ze(d,{icon:"align-center",children:"Center"}),Ze(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Ze(d,{children:"Button"},"toolbar-button"),Ze(Q,{text:"Menu button"},"toolbar-menu-button"),Ze(F,{children:"Split button"},"toolbar-split-button"),hs(K,{children:[Ze(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Ze(d,{icon:"align-center",children:"Center"}),Ze(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as je,jsxs as Ns}from"react/jsx-runtime";var gs=({scrollingPosition:e="start",...t})=>je(Z,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[je(d,{children:"Button"},"toolbar-button"),je(Q,{text:"Menu button"},"toolbar-menu-button"),je(F,{children:"Split button"},"toolbar-split-button"),Ns(K,{children:[je(d,{className:"k-group-start",icon:"align-left",children:"Left"}),je(d,{icon:"align-center",children:"Center"}),je(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),je(d,{children:"Button"},"toolbar-button"),je(Q,{text:"Menu button"},"toolbar-menu-button"),je(F,{children:"Split button"},"toolbar-split-button"),Ns(K,{children:[je(d,{className:"k-group-start",icon:"align-left",children:"Left"}),je(d,{icon:"align-center",children:"Center"}),je(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as tf,jsx as Ue,jsxs as sr}from"react/jsx-runtime";var ks=({fillMode:e,size:t,...o})=>sr(tf,{children:[Ue(Z,{section:!0,fillMode:e,size:t,children:[Ue(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),sr(K,{fillMode:e,children:[Ue(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),Ue(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),Ue(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),Ue(Tt,{className:"k-toolbar-button-separator"}),Ue(d,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,rounded:"none","aria-label":"More options","aria-expanded":"false"})],...o}),sr(ir,{size:t,fillMode:e,section:!0,...o,children:[Ue(F,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),Ue(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Ue(Tt,{}),Ue(Q,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),sr(K,{fillMode:e,children:[Ue(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),Ue(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),Ue(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as r1,jsx as o1,jsxs as a1}from"react/jsx-runtime";import{Fragment as f1,jsx as u1,jsxs as b1}from"react/jsx-runtime";import{jsx as qt}from"react/jsx-runtime";var of=Z.options,af=Z.states,vs={...Z.defaultOptions,variant:"default"},rf=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],lf=[],Aa=e=>{let{variant:t,...o}={...vs,...e};switch(t){case"responsive":return qt("div",{children:qt(ks,{style:{width:"583px"},...o})});case"overlay":return qt("div",{children:qt(gs,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return qt("div",{children:qt(xs,{style:{width:"583px"},...o})});default:return qt("div",{children:qt(Ts,{style:{width:"583px"},...o})})}};Aa.options=of;Aa.states=af;Aa.variants=rf;Aa.defaultOptions=vs;Aa.modifiers=lf;import{jsx as nf}from"react/jsx-runtime";var Ls="k-grid-toolbar",To=e=>nf(Z,{...e,className:r(e.className,Ls),children:e.children});To.className=Ls;To.moduleName=V;To.folderName=X;import{jsx as sf}from"react/jsx-runtime";var Cs="k-grid-container",oe=e=>sf("div",{...e,className:r(e.className,Cs),children:e.children});oe.className=Cs;oe.moduleName=V;oe.folderName=X;import{jsx as df}from"react/jsx-runtime";var Ms="k-grid-content",ae=e=>df("div",{...e,className:r(e.className,Ms),children:e.children});ae.className=Ms;ae.moduleName=V;ae.folderName=X;import{jsx as cf}from"react/jsx-runtime";var ys="k-grid-header",de=e=>{let{draggable:t,...o}=e;return cf("div",{...o,className:r(e.className,ys,{"k-grid-draggable-header":t}),children:e.children})};de.className=ys;de.moduleName=V;de.folderName=X;var Me="table",Ae=Me;import{jsx as pf}from"react/jsx-runtime";var Ss="k-table-th",Ot=e=>{let{text:t,colspan:o,rowspan:a,...l}=e,i=t||e.children;return pf("th",{colSpan:o,rowSpan:a,...l,className:r(e.className,Ss),children:i})};Ot.className=Ss;Ot.moduleName=Me;Ot.folderName=Ae;import{jsx as Yt,jsxs as _l}from"react/jsx-runtime";var zl="k-header",mf=[n.hover,n.focus,n.active],As={sortIcon:"sort-asc-small"},I=e=>{let{menu:t,sortable:o,filterable:a,sticky:l,resizable:i,columnTitle:c,hover:m,focus:h,active:N,sortIcon:v=As.sortIcon,sortOrder:k,accessibleLabel:u,...M}=e;return _l(Ot,{...M,className:r(e.className,zl,{"k-filterable":t||a,"k-sorted":o,"k-grid-header-sticky":l,"k-touch-action-none":i},A(zl,{hover:m,focus:h,active:N})),children:[c&&_l("span",{className:"k-cell-inner",children:[_l("span",{className:"k-link",children:[Yt("span",{className:"k-column-title",children:c}),o&&Yt("span",{className:"k-sort-icon",children:Yt(g,{icon:v})}),k&&Yt("span",{className:"k-sort-order",children:k})]}),t&&Yt("a",{href:"#",className:r("k-grid-header-menu",{"k-active":N,"k-grid-filter-menu":t==="filter","k-grid-column-menu":t==="column"}),children:Yt(g,{icon:t==="filter"?"filter":"more-vertical"})})]}),!c&&u&&Yt("span",{className:"k-sr-only",children:u}),e.children,i&&Yt("span",{className:"k-column-resizer k-touch-action-none"})]})};I.states=mf;I.className=zl;I.defaultOptions=As;I.moduleName=V;I.folderName=X;import{jsx as Tf}from"react/jsx-runtime";var ws="k-data-table",uf=[],bf={size:[s.undefined,s.small,s.medium,s.large]},ff={},Pt=e=>{let{size:t,...o}=e;return Tf("div",{...o,className:r(e.className,ws,y("k-table",{size:t})),children:e.children})};Pt.states=uf;Pt.options=bf;Pt.className=ws;Pt.defaultOptions=ff;Pt.moduleName=Me;Pt.folderName=Ae;import{jsx as gf}from"react/jsx-runtime";var Ul="k-table-header-wrap",hf=[n.hover,n.focus,n.disabled],xf={},Nf={},Qt=e=>{let{children:t,hover:o,focus:a,disabled:l,...i}=e;return gf("div",{...i,className:r(e.className,Ul,A(Ul,{hover:o,focus:a,disabled:l})),children:t})};Qt.states=hf;Qt.options=xf;Qt.className=Ul;Qt.defaultOptions=Nf;Qt.moduleName=Me;Qt.folderName=Ae;import{jsx as Cf}from"react/jsx-runtime";var Fl="k-table",kf=[],vf={size:[s.undefined,s.small,s.medium,s.large]},Lf={},we=e=>{let{size:t,...o}=e;return Cf("table",{...o,className:r(e.className,Fl,y(Fl,{size:t})),children:e.children})};we.states=kf;we.options=vf;we.className=Fl;we.defaultOptions=Lf;we.moduleName=Me;we.folderName=Ae;import{jsx as Vl}from"react/jsx-runtime";var $l="k-table-header",Mf=[n.hover,n.focus,n.disabled],yf={},Sf={},Ht=e=>{let{children:t,hover:o,focus:a,disabled:l,...i}=e;return Vl("div",{...i,className:r(e.className,$l,A($l,{hover:o,focus:a,disabled:l})),children:Vl(Qt,{children:Vl(we,{children:t})})})};Ht.states=Mf;Ht.options=yf;Ht.className=$l;Ht.defaultOptions=Sf;Ht.moduleName=Me;Ht.folderName=Ae;import{jsx as If}from"react/jsx-runtime";var Es="k-table-scroller",Af=[],wf={},Ef={},Ho=e=>{let{children:t,...o}=e;return If("div",{...o,className:r(e.className,Es),children:t})};Ho.states=Af;Ho.options=wf;Ho.className=Es;Ho.defaultOptions=Ef;Ho.moduleName=Me;Ho.folderName=Ae;import{jsx as DD}from"react/jsx-runtime";import{jsx as Hf}from"react/jsx-runtime";var Is="k-table-footer",Rf=[],Of={},Pf={},Zt=e=>{let{children:t,...o}=e;return Hf("div",{...o,className:r(e.className,Is),children:t})};Zt.states=Rf;Zt.options=Of;Zt.className=Is;Zt.defaultOptions=Pf;Zt.moduleName=Me;Zt.folderName=Ae;import{jsx as Df}from"react/jsx-runtime";var Xl="k-table-list",Kf=[],Bf={size:[s.undefined,s.small,s.medium,s.large]},Gf={},jt=e=>{let{size:t,virtualization:o,...a}=e;return Df("ul",{...a,className:r(e.className,"k-table",Xl,y(Xl,{size:t}),{"k-virtual-table":o}),children:e.children})};jt.states=Kf;jt.options=Bf;jt.className=Xl;jt.defaultOptions=Gf;jt.moduleName=Me;jt.folderName=Ae;import{jsx as zf}from"react/jsx-runtime";var _f="k-table-thead",re=e=>zf("thead",{className:r(e.className,_f),children:e.children});import{jsx as Ff}from"react/jsx-runtime";var Uf="k-table-tbody",ce=e=>Ff("tbody",{className:r(e.className,Uf),children:e.children});import{jsx as a_}from"react/jsx-runtime";import{jsx as $f}from"react/jsx-runtime";var Wl="k-table-row",Vf=[n.hover,n.focus,n.selected,n.disabled,n.highlighted],w=e=>{let{hover:t,focus:o,selected:a,highlighted:l,disabled:i,alt:c,...m}=e;return $f("tr",{...m,className:r(e.className,Wl,{"k-table-alt-row":c},A(Wl,{hover:t,focus:o,disabled:i,selected:a,highlighted:l})),children:e.children})};w.states=Vf;w.className=Wl;import{jsx as Wf}from"react/jsx-runtime";var Jl="k-table-row",Xf=[n.hover,n.focus,n.selected,n.disabled],dr=e=>{let{hover:t,focus:o,selected:a,disabled:l,alt:i,...c}=e;return Wf("li",{...c,className:r(e.className,Jl,{"k-table-alt-row":i},A(Jl,{hover:t,focus:o,disabled:l,selected:a})),children:e.children})};dr.states=Xf;dr.className=Jl;import{jsx as u_}from"react/jsx-runtime";import{jsx as qf}from"react/jsx-runtime";var ql="k-table-td",Jf=[n.focus,n.selected,n.highlighted],p=e=>{let{focus:t,selected:o,highlighted:a,text:l,colspan:i,rowspan:c,...m}=e,h=l||e.children;return qf("td",{colSpan:i,rowSpan:c,...m,className:r(e.className,ql,A(ql,{focus:t,selected:o,highlighted:a})),children:h})};p.states=Jf;p.className=ql;import{jsx as g_}from"react/jsx-runtime";import{jsx as C_}from"react/jsx-runtime";import{jsx as A_}from"react/jsx-runtime";import{jsx as R_}from"react/jsx-runtime";import{jsx as K_}from"react/jsx-runtime";import{jsx as F_,jsxs as V_}from"react/jsx-runtime";import{jsx as J_,jsxs as q_}from"react/jsx-runtime";import{jsx as j_,jsxs as e2}from"react/jsx-runtime";import{Fragment as n2,jsx as r2,jsxs as l2}from"react/jsx-runtime";import{jsx as jf}from"react/jsx-runtime";var Os="k-grid-header-table",pe=e=>jf(we,{...e,className:r(e.className,Os),children:e.children});pe.className=Os;pe.moduleName=V;pe.folderName=X;import{jsx as eT}from"react/jsx-runtime";var Ps="k-grid-table",le=e=>eT(we,{...e,className:r(e.className,Ps),children:e.children});le.className=Ps;le.moduleName=V;le.folderName=X;import{jsx as Hs,jsxs as tT}from"react/jsx-runtime";var Ks="k-grouping-header",eo=e=>{let{dropHint:t,dropClue:o,...a}=e;return tT("div",{...a,className:r(e.className,Ks),children:[o&&Hs("div",{className:"k-grouping-dropclue"}),e.children,Hs("div",{className:"k-grouping-drop-container",children:t})]})};eo.className=Ks;eo.moduleName=V;eo.folderName=X;import{jsx as oT}from"react/jsx-runtime";var Bs="k-grid-sticky-container",Gs={position:"top"},cr=e=>{let{position:t=Gs.position,...o}=e;return oT("div",{...o,className:r(e.className,Bs,{"k-grid-sticky-top-container":t==="top","k-grid-sticky-bottom-container":t==="bottom"}),children:e.children})};cr.className=Bs;cr.defaultProps=Gs;cr.moduleName=V;cr.folderName=X;import{jsx as aT}from"react/jsx-runtime";var Ds="k-grid-footer",Yl=e=>aT("div",{...e,className:r(e.className,Ds),children:e.children});Yl.className=Ds;Yl.moduleName=V;Yl.folderName=X;import{jsx as rT}from"react/jsx-runtime";var _s="k-grid-footer-table",Ql=e=>rT(we,{...e,className:r(e.className,_s),children:e.children});Ql.className=_s;Ql.moduleName=V;Ql.folderName=X;var Zl="pager",zs=Zl;import{Fragment as Us,jsx as Fe,jsxs as Ko}from"react/jsx-runtime";var pr="k-pager",lT=[n.focus,n.disabled],nT={size:[s.undefined,s.small,s.medium,s.large]},et={responsive:!0,pagerSizeInfo:!0,pageTitleInfo:!0,maxPagesInfo:!0,type:"numeric",pageSizes:!0,refresh:!0,previousNext:!0,info:"1 - 5 of 20 items",itemsPerPage:5,maxPages:6,currentPage:1},xe=e=>{let{responsive:t=et.responsive,size:o,pagerSizeInfo:a=et.pagerSizeInfo,pageTitleInfo:l=et.pageTitleInfo,maxPagesInfo:i=et.maxPagesInfo,itemsPerPage:c=et.itemsPerPage,maxPages:m=et.maxPages,currentPage:h=et.currentPage,previousNext:N=et.previousNext,type:v=et.type,pageSizes:k=et.pageSizes,refresh:u=et.refresh,info:M=et.info,focus:C,disabled:S,dir:R,...E}=e,D=[],ie=[];for(let fe=1;fe<=m;fe++)D.push(Fe(d,{selected:fe===h,fillMode:"flat",themeColor:"primary",size:o,children:fe})),ie.push(Fe("option",{selected:fe===h,children:fe}));return Ko("div",{dir:R,...E,className:r(e.className,pr,y(pr,{size:o}),A(pr,{focus:C,disabled:S}),{"k-pager-responsive":t}),children:[Ko("div",{className:r("k-pager-numbers-wrap"),children:[N&&Ko(Us,{children:[Fe(d,{className:r("k-pager-nav","k-pager-first"),disabled:h===1&&!S,fillMode:"flat",size:o,icon:R==="rtl"?"caret-alt-to-right":"caret-alt-to-left"}),Fe(d,{className:r("k-pager-nav"),disabled:h===1&&!S,fillMode:"flat",size:o,icon:R==="rtl"?"caret-alt-right":"caret-alt-left"})]}),v==="numeric"&&Fe("div",{className:r("k-pager-numbers"),children:D}),v==="input"&&Ko("span",{className:r("k-pager-input"),children:[l&&Fe("span",{children:"Page"}),Fe(_,{value:`${h}`,size:o,showSpinButton:!1,showClearButton:!1}),Fe("span",{children:i&&`of ${m}`})]}),N&&Ko(Us,{children:[Fe(d,{className:r("k-pager-nav"),disabled:h===m&&!S,fillMode:"flat",size:o,icon:R==="rtl"?"caret-alt-left":"caret-alt-right"}),Fe(d,{className:r("k-pager-nav","k-pager-last"),disabled:h===m&&!S,fillMode:"flat",size:o,icon:R==="rtl"?"caret-alt-to-left":"caret-alt-to-right"})]})]}),k&&Ko("span",{className:r("k-pager-sizes"),children:[Fe(Y,{value:`${c}`,size:o}),a&&Fe("span",{children:"items per page"})]}),u&&Fe(d,{className:r("k-pager-refresh"),fillMode:"flat",size:o,icon:"arrow-rotate-cw"}),M&&Fe("span",{className:r("k-pager-info"),children:M})]})};xe.states=lT;xe.options=nT;xe.className=pr;xe.defaultOptions=et;xe.moduleName=Zl;xe.folderName=zs;import{jsx as g5}from"react/jsx-runtime";import{jsx as C5}from"react/jsx-runtime";import{jsx as A5}from"react/jsx-runtime";import{jsx as Fs}from"react/jsx-runtime";var iT=xe.options,sT=xe.states,dT={...xe.defaultOptions,variant:"numeric"},cT=[{name:"numeric",title:"Numeric"},{name:"input",title:"Input"}],pT=[],wa=e=>{let{variant:t,...o}=e;return t==="input"?Fs(xe,{...o,type:"input"}):Fs(xe,{...o,type:"numeric"})};wa.options=iT;wa.states=sT;wa.variants=cT;wa.defaultOptions=dT;wa.modifiers=pT;import{jsx as mT}from"react/jsx-runtime";var Vs="k-grid-pager",Mt=e=>mT(xe,{...e,className:r(e.className,Vs),children:e.children});Mt.className=Vs;Mt.moduleName=V;Mt.folderName=X;import{jsx as jl,jsxs as bT}from"react/jsx-runtime";var en="k-grid-stack-cell",uT=[n.focus,n.selected],mr=e=>{let{cellHeader:t,cellContent:o,edit:a,commandCell:l,dirty:i,focus:c,selected:m,...h}=e;return bT("div",{...h,className:r(e.className,en,{"k-grid-stack-edit-cell":a,"k-command-cell":l,"k-dirty-cell":i},A(en,{focus:c,selected:m})),children:[i&&jl("span",{className:"k-dirty"}),t&&jl("div",{className:"k-grid-stack-header",children:t}),jl("div",{className:"k-grid-stack-content",children:o}),e.children]})};mr.states=uT;mr.className=en;mr.moduleName=V;mr.folderName=X;import{jsx as fT}from"react/jsx-runtime";var $s="k-grid-stack-row",ur=e=>{let{cols:t,...o}=e;return fT("div",{...o,className:r(e.className,$s,{[`k-grid-cols-${t}`]:t}),children:e.children})};ur.className=$s;ur.moduleName=V;ur.folderName=X;import{Fragment as l3,jsx as a3,jsxs as r3}from"react/jsx-runtime";import{Fragment as m3,jsx as c3,jsxs as p3}from"react/jsx-runtime";import{Fragment as N3,jsx as h3,jsxs as x3}from"react/jsx-runtime";import{Fragment as TT,jsx as L,jsxs as ne}from"react/jsx-runtime";var Xs=({contentClassName:e,...t})=>L(W,{_renderAriaRoot:!0,pager:L(Mt,{refresh:!1}),children:ne(TT,{children:[L(de,{children:L("div",{className:"k-grid-header-wrap",children:ne(pe,{children:[ne("colgroup",{children:[L("col",{}),L("col",{style:{width:"225px"}}),L("col",{}),L("col",{}),L("col",{})]}),ne(re,{children:[ne(w,{children:[L(I,{rowspan:1,colspan:1,columnTitle:"Product Id"}),L(I,{rowspan:1,colspan:1,columnTitle:"Name"}),L(I,{rowspan:1,colspan:1,columnTitle:"Quantity"}),L(I,{rowspan:1,colspan:1,columnTitle:"Unit Price"}),L(I,{rowspan:1,colspan:1,columnTitle:"Discontinued"})]}),ne(w,{className:"k-filter-row",children:[L(p,{children:L("div",{className:"k-filtercell",children:ne("div",{className:"k-filtercell-wrapper",children:[L(_,{}),ne("div",{className:"k-filtercell-operator",children:[L(Y,{className:"k-dropdown-operator",arrowIconName:"filter"})," ",L(d,{disabled:!0,icon:"filter-clear"})]})]})})}),L(p,{children:L("div",{className:"k-filtercell",children:ne("div",{className:"k-filtercell-wrapper",children:[L(ee,{}),ne("div",{className:"k-filtercell-operator",children:[L(Y,{className:"k-dropdown-operator",arrowIconName:"filter"})," ",L(d,{disabled:!0,icon:"filter-clear"})]})]})})}),L(p,{children:L("div",{className:"k-filtercell",children:ne("div",{className:"k-filtercell-wrapper",children:[L(ee,{}),ne("div",{className:"k-filtercell-operator",children:[L(Y,{className:"k-dropdown-operator",arrowIconName:"filter"})," ",L(d,{disabled:!0,icon:"filter-clear"})]})]})})}),L(p,{children:L("div",{className:"k-filtercell",children:ne("div",{className:"k-filtercell-wrapper",children:[L(_,{}),ne("div",{className:"k-filtercell-operator",children:[L(Y,{className:"k-dropdown-operator",arrowIconName:"filter"})," ",L(d,{disabled:!0,icon:"filter-clear"})]})]})})}),L(p,{children:L("div",{className:"k-filtercell",children:ne("div",{className:"k-filtercell-wrapper",children:[L(Y,{}),L("div",{className:"k-filtercell-operator",children:L(d,{disabled:!0,icon:"filter-clear"})})]})})})]})]})]})})}),L(oe,{children:L(ae,{className:e,children:ne(le,{children:[ne("colgroup",{children:[L("col",{}),L("col",{style:{width:"225px"}}),L("col",{}),L("col",{}),L("col",{})]}),ne(ce,{children:[ne(w,{className:"k-master-row",children:[L(p,{children:"1"}),L(p,{children:"Chai"}),L(p,{children:"10 boxes x 20 bags"}),L(p,{children:"18"}),L(p,{children:"false"})]}),ne(w,{className:"k-master-row",alt:!0,children:[L(p,{children:"2"}),L(p,{children:"Chang"}),L(p,{children:"24 - 12 oz bottles"}),L(p,{children:"19"}),L(p,{children:"false"})]}),ne(w,{className:"k-master-row",children:[L(p,{children:"3"}),L(p,{children:"Aniseed Syrup"}),L(p,{children:"12 - 550 ml bottles"}),L(p,{children:"10"}),L(p,{children:"false"})]}),ne(w,{className:"k-master-row",alt:!0,children:[L(p,{children:"4"}),L(p,{children:"Chef Anton's Cajun Seasoning"}),L(p,{children:"48 - 6 oz jars"}),L(p,{children:"22"}),L(p,{children:"false"})]}),ne(w,{className:"k-master-row",children:[L(p,{children:"5"}),L(p,{children:"Grandma's Boysenberry Spread"}),L(p,{children:"12 - 8 oz jars"}),L(p,{children:"25"}),L(p,{children:"false"})]})]})]})})})]}),...t});import{jsx as br}from"react/jsx-runtime";var hT="k-chip-action";var Ne=e=>{let{type:t,...o}=e,a;switch(t){case"remove":a=br(g,{icon:"x-circle",size:"small"});break;case"more":a=br(g,{icon:"more-vertical",size:"small"});break;default:return br(g,{icon:t,size:"small"})}return br("span",{...o,className:r(e.className,hT,`k-chip-${t}-action`),children:a})};var tn="avatar",Ws=tn;import{jsx as Js}from"react/jsx-runtime";var Ea="k-avatar";var xT=[n.hover,n.focus,n.active,n.selected,n.disabled],NT={size:[s.undefined,s.small,s.medium,s.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.outline],themeColor:[f.undefined,f.base,f.primary,f.secondary,f.tertiary,f.success,f.warning,f.error,f.info,f.light,f.dark,f.inverse]},on={type:"text",border:!1},Ve=e=>{let{size:t,rounded:o,fillMode:a,themeColor:l,type:i=on.type,border:c=on.border,...m}=e;return Js("div",{...m,className:r(e.className,Ea,y(Ea,{size:t,rounded:o,fillMode:a,themeColor:l}),{[`${Ea}-bordered`]:c}),children:Js("span",{className:`${Ea}-${i}`,children:e.children})})};Ve.states=xT;Ve.options=NT;Ve.className=Ea;Ve.defaultOptions=on;Ve.moduleName=tn;Ve.folderName=Ws;Ve.ariaSpec={selector:".k-avatar",rules:[{selector:".k-avatar img",attribute:"alt",usage:"Images inside Avatar must have alt text for screen readers."}]};var ho=Ve;import{jsx as gT}from"react/jsx-runtime";var qs=e=>gT(ho,{type:"icon",...e});import{jsx as kT}from"react/jsx-runtime";var Ys=e=>kT(ho,{type:"text",...e});import{jsx as vT}from"react/jsx-runtime";var Qs=e=>vT(ho,{type:"image",...e});import{jsx as q3}from"react/jsx-runtime";import{jsx as Ia}from"react/jsx-runtime";var LT=Ve.options,CT=Ve.states,MT={...Ve.defaultOptions,variant:"image"},yT=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],ST=[],Ra=e=>{let{variant:t,...o}=e;switch(t){case"icon":return Ia(qs,{...o,children:Ia(g,{icon:"star"})});case"text":return Ia(Ys,{...o,children:"JO"});default:return Ia(Qs,{...o,children:Ia("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};Ra.options=LT;Ra.states=CT;Ra.variants=yT;Ra.defaultOptions=MT;Ra.modifiers=ST;var Oa="chip",fr=Oa;import{jsx as Bo,jsxs as ET}from"react/jsx-runtime";var Tr="k-chip",AT=[n.hover,n.focus,n.active,n.selected,n.disabled],wT={size:[s.undefined,s.small,s.medium,s.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.outline],themeColor:[f.undefined,f.base,f.success,f.warning,f.error,f.info]},Zs={avatarImage:"/packages/html/assets/avatar.jpg"},ge=e=>{let{size:t,rounded:o,fillMode:a,themeColor:l,text:i,icon:c,actions:m,showAvatar:h,avatarImage:N=Zs.avatarImage,hover:v,focus:k,active:u,selected:M,disabled:C,...S}=e;return ET("div",{...S,className:r(e.className,Tr,y(Tr,{size:t,rounded:o,fillMode:a,themeColor:l}),A(Tr,{hover:v,focus:k,active:u,disabled:C,selected:M})),role:e.role||"button","aria-pressed":e.role==="option"?void 0:M?"true":"false","aria-selected":e.role==="option"?M?"true":"false":void 0,"aria-disabled":C?"true":void 0,children:[c&&Bo(g,{className:"k-chip-icon",icon:c,size:"small"}),h&&Bo(Ve,{className:"k-chip-avatar",type:"image",children:Bo("img",{src:N,alt:""})}),Bo("span",{className:"k-chip-content",children:e.children?e.children:i&&Bo("span",{className:"k-chip-label",children:i})}),m&&Bo("span",{className:"k-chip-actions",children:m})]})};ge.states=AT;ge.options=wT;ge.className=Tr;ge.defaultOptions=Zs;ge.moduleName=Oa;ge.folderName=fr;ge.ariaSpec={selector:".k-chip",rules:[{selector:"*:not(.k-chip-list) > .k-chip",attribute:"role=button",usage:"Announces that the chip acts as a button when standalone."},{selector:"*:not(.k-chip-list) > .k-chip.k-selected",attribute:"aria-pressed=true",usage:"Announces that the Chip has been selected."},{selector:"*:not(.k-chip-list) > .k-chip:not(.k-selected)",attribute:"aria-pressed=false",usage:"Announces that the Chip has not been selected."},{selector:".k-chip",attribute:"aria-disabled=true (when disabled)",usage:"Announces that the Chip is disabled."}]};var bt=ge;import{jsx as PT}from"react/jsx-runtime";var an="k-chip-list",IT=[],RT={size:[s.undefined,s.small,s.medium,s.large]},OT={},ke=e=>{let{size:t,multiselectable:o,ariaLabel:a,...l}=e;return PT("div",{...l,className:r(e.className,an,y(an,{size:t})),role:"listbox","aria-label":a||"chip list","aria-orientation":"horizontal","aria-multiselectable":o?"true":void 0,children:e.children})};ke.states=IT;ke.options=RT;ke.className=an;ke.defaultOptions=OT;ke.moduleName=Oa;ke.folderName=fr;ke.ariaSpec={selector:".k-chip-list",rules:[{selector:".k-chip-list",attribute:"role=listbox",usage:"Announces the list role of the chip list."},{selector:".k-chip-list",attribute:"aria-label or aria-labelledby",usage:"Adds label to the ChipList element. ListBox element requires an accessible name."},{selector:".k-chip-list",attribute:"aria-orientation=horizontal",usage:"Specifies the horizontal orientation of the chiplist."},{selector:".k-chip-list",attribute:"aria-multiselectable=true (when multiple selection)",usage:"Announces the multiple selection ability of the chiplist."},{selector:".k-chip-list .k-chip",attribute:"role=option",usage:"Announces the chip is an option inner component of the chip list."},{selector:".k-chip-list .k-chip.k-selected",attribute:"aria-selected=true",usage:"Announces the chip is selected."},{selector:".k-chip-list .k-chip:not(.k-selected)",attribute:"aria-selected=false",usage:"Announces the chip is not selected."},{selector:".k-chip-list .k-chip:has(.k-i-x-circle), .k-chip-list .k-chip:has(.k-svg-i-x-circle)",attribute:"aria-keyshortcuts=Enter Delete",usage:"Announces the Delete action along with the default Enter key."}]};import{jsx as Mz}from"react/jsx-runtime";import{jsx as wz}from"react/jsx-runtime";import{jsx as HT}from"react/jsx-runtime";var hr=e=>HT(bt,{text:"text",...e});import{jsx as Bz}from"react/jsx-runtime";import{jsx as zz}from"react/jsx-runtime";import{Fragment as Wz,jsx as Xz,jsxs as Jz}from"react/jsx-runtime";import{jsx as jz,jsxs as e6}from"react/jsx-runtime";import{jsx as l6,jsxs as n6}from"react/jsx-runtime";import{jsx as m6,jsxs as u6}from"react/jsx-runtime";import{jsx as Go,jsxs as zT}from"react/jsx-runtime";var KT={...bt.options,...ke.options},BT=[],GT=ke.states,DT={...bt.defaultOptions,...ke.defaultOptions},_T=[{name:"icon",title:"Icon",type:"boolean"},{name:"actions",title:"Actions",type:"boolean"},{name:"avatar",title:"Avatar",type:"boolean"}],Pa=e=>{let{modifiers:t,className:o,...a}=e,l=t?.icon,i=t?.actions,c=t?.avatar;return zT(ke,{size:a.size,className:o,children:[Go(hr,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:l?"star":void 0,actions:i?Go(Ne,{type:"remove"}):void 0,showAvatar:c,children:"Chip"}),Go(hr,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:l?"star":void 0,actions:i?Go(Ne,{type:"remove"}):void 0,showAvatar:c,children:"Chip"}),Go(hr,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:l?"star":void 0,actions:i?Go(Ne,{type:"remove"}):void 0,showAvatar:c,children:"Chip"})]})};Pa.options=KT;Pa.states=GT;Pa.variants=BT;Pa.defaultOptions=DT;Pa.modifiers=_T;import{jsx as rn}from"react/jsx-runtime";var UT=ge.states,FT=ge.defaultOptions,VT=ge.options,$T=[],XT=[{name:"icon",title:"Icon"},{name:"avatar",title:"Avatar"},{name:"remove-icon",title:"`Remove` Icon"},{name:"more-options",title:"`More options` Icon"}],Ha=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(l=>{switch(l){case"icon":a.icon=t?.[l]?"arrow-down":void 0;break;case"avatar":a.showAvatar=!!t?.[l],a.avatarImage=t?.[l]?"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg":void 0;break;case"more-options":a.actions||(a.actions=[]),a.actions[0]=t?.[l]?rn(Ne,{type:"more"}):void 0;break;case"remove-icon":a.actions||(a.actions=[]),a.actions[1]=t?.[l]?rn(Ne,{type:"remove"}):void 0;break;default:break}}),rn(ge,{...o,...a,children:"Chip component"})};Ha.options=VT;Ha.states=UT;Ha.variants=$T;Ha.defaultOptions=FT;Ha.modifiers=XT;import{Fragment as ln,jsx as O,jsxs as Ke}from"react/jsx-runtime";var js=({dropClue:e,contentClassName:t,...o})=>O(W,{_renderAriaRoot:!0,groupingHeader:O(eo,{dropClue:e,children:Ke(ke,{children:[O(ge,{icon:"sort-asc-small",text:"ID",actions:Ke(ln,{children:[O(Ne,{type:"more"}),O(Ne,{type:"remove"})]})}),O(ge,{icon:"sort-desc-small",text:"Name",actions:Ke(ln,{children:[O(Ne,{type:"more"}),O(Ne,{type:"remove"})]})})]})}),children:Ke(ln,{children:[O(de,{draggable:!0,children:O("div",{className:"k-grid-header-wrap",children:Ke(pe,{children:[Ke("colgroup",{children:[O("col",{className:"k-group-col"}),O("col",{className:"k-group-col"}),O("col",{}),O("col",{}),O("col",{}),O("col",{})]}),O(re,{children:Ke(w,{children:[O(I,{colspan:1,rowspan:1,className:"k-group-cell",accessibleLabel:"Group"}),O(I,{colspan:1,rowspan:1,className:"k-group-cell",accessibleLabel:"Group"}),O(I,{colspan:1,columnTitle:"ID"}),O(I,{colspan:1,columnTitle:"Name"}),O(I,{colspan:1,columnTitle:"Price"}),O(I,{colspan:1,columnTitle:"Category"})]})})]})})}),O(oe,{children:O(ae,{className:t,children:Ke(le,{children:[Ke("colgroup",{children:[O("col",{className:"k-group-col"}),O("col",{className:"k-group-col"}),O("col",{}),O("col",{}),O("col",{}),O("col",{})]}),Ke(ce,{children:[O(w,{className:"k-table-group-row k-grouping-row",children:O(p,{colspan:6,children:Ke("p",{className:"k-reset",children:[O(g,{icon:"caret-alt-right"}),"ID: 1"]})})}),O(w,{className:"k-table-group-row k-grouping-row",children:O(p,{colspan:6,children:Ke("p",{className:"k-reset",children:[O(g,{icon:"caret-alt-down"}),"ID: 2"]})})}),Ke(w,{className:"k-table-group-row k-grouping-row",children:[O(p,{className:"k-table-group-td k-group-cell"}),O(p,{colspan:5,children:Ke("p",{className:"k-reset",children:[O(g,{icon:"caret-alt-down"}),"Name: Chang"]})})]}),Ke(w,{className:"k-master-row",alt:!0,children:[O(p,{className:"k-table-group-td k-group-cell"}),O(p,{className:"k-table-group-td k-group-cell"}),O(p,{colspan:0,children:"2"}),O(p,{colspan:0,children:"Chang"}),O(p,{colspan:0,children:"$19.00"}),O(p,{colspan:0,children:"Beverages"})]})]})]})})})]}),...o});import{Fragment as t9,jsx as j6,jsxs as e9}from"react/jsx-runtime";import{Fragment as d9,jsx as i9,jsxs as s9}from"react/jsx-runtime";import{Fragment as T9,jsx as b9,jsxs as f9}from"react/jsx-runtime";import{Fragment as WT,jsx as B,jsxs as Be}from"react/jsx-runtime";var ed=({headerWrapClassName:e,contentClassName:t,...o})=>B(W,{_renderAriaRoot:!0,children:Be(WT,{children:[B(de,{children:B("div",{className:`k-grid-header-wrap ${e}`,children:Be(pe,{children:[Be("colgroup",{children:[B("col",{}),B("col",{}),B("col",{}),B("col",{})]}),Be(re,{children:[Be(w,{children:[B(I,{rowspan:3,colspan:1,columnTitle:"ID"}),B(I,{rowspan:1,colspan:3,columnTitle:"Product Information"})]}),Be(w,{children:[B(I,{rowspan:2,colspan:1,columnTitle:"Product Name",className:"k-first"}),B(I,{rowspan:1,colspan:2,columnTitle:"Unit"})]}),Be(w,{children:[B(I,{rowspan:1,colspan:1,columnTitle:"Units In Stock",className:"k-first"}),B(I,{rowspan:1,colspan:1,columnTitle:"Units Price"})]})]})]})})}),B(oe,{children:B(ae,{className:t,children:Be(le,{children:[Be("colgroup",{children:[B("col",{}),B("col",{}),B("col",{}),B("col",{})]}),Be(ce,{children:[Be(w,{className:"k-master-row",children:[B(p,{children:"1"}),B(p,{children:"Chai"}),B(p,{children:"39"}),B(p,{children:"18"})]}),Be(w,{className:"k-master-row",alt:!0,children:[B(p,{children:"2"}),B(p,{children:"Chang"}),B(p,{children:"17"}),B(p,{children:"19"})]}),Be(w,{className:"k-master-row",children:[B(p,{children:"3"}),B(p,{children:"Aniseed Syrup"}),B(p,{children:"13"}),B(p,{children:"10"})]}),Be(w,{className:"k-master-row",alt:!0,children:[B(p,{children:"4"}),B(p,{children:"Chef Anton's Cajun Seasoning"}),B(p,{children:"53"}),B(p,{children:"22"})]}),Be(w,{className:"k-master-row",children:[B(p,{children:"5"}),B(p,{children:"Chef Anton's Gumbo Mix"}),B(p,{children:"0"}),B(p,{children:"21.35"})]})]})]})})})]}),...o});import{Fragment as A9,jsx as y9,jsxs as S9}from"react/jsx-runtime";import{Fragment as H9,jsx as O9,jsxs as P9}from"react/jsx-runtime";import{Fragment as Z9,jsx as Q9,jsxs as j9}from"react/jsx-runtime";import{Fragment as JT,jsx as H,jsxs as ft}from"react/jsx-runtime";var td=e=>H(W,{_renderAriaRoot:!0,toolbar:ft(To,{children:[H(d,{children:"Add new"}),H(d,{children:"Save Changes"}),H(d,{children:"Cancel Changes"})]}),children:ft(JT,{children:[H(de,{children:H("div",{className:"k-grid-header-wrap",children:ft(pe,{children:[ft("colgroup",{children:[H("col",{}),H("col",{}),H("col",{}),H("col",{style:{width:"300px"}})]}),H(re,{children:ft(w,{children:[H(I,{columnTitle:"Name"}),H(I,{columnTitle:"Price"}),H(I,{columnTitle:"Available"}),H(I,{accessibleLabel:"Commands"})]})})]})})}),H(oe,{children:H(ae,{children:H("div",{children:ft(le,{children:[ft("colgroup",{children:[H("col",{}),H("col",{}),H("col",{}),H("col",{style:{width:"300px"}})]}),ft(ce,{children:[ft(w,{className:"k-master-row k-grid-add-row k-grid-edit-row",children:[H(p,{children:H(ee,{value:"Towel"})}),H(p,{children:H(_,{value:"42"})}),H(p,{children:H(De,{})}),ft(p,{className:"k-command-cell",children:[H(d,{children:"Add"}),H(d,{children:"Cancel"})]})]}),ft(w,{className:"k-master-row",children:[H(p,{children:"Chai"}),H(p,{children:"18"}),H(p,{children:"false"}),H(p,{className:"k-command-cell",children:H(d,{children:"Remove"})})]}),ft(w,{className:"k-master-row",alt:!0,children:[H(p,{children:"Chang"}),H(p,{children:"19"}),H(p,{children:"false"}),H(p,{className:"k-command-cell",children:H(d,{children:"Remove"})})]})]})]})})})})]}),...e});import{Fragment as xr,jsx as b,jsxs as J}from"react/jsx-runtime";var qT=W.options,YT=W.states,od={...W.defaultOptions,variant:"normal"},QT=[{name:"normal",title:"Normal"},{name:"column-menu",title:"Column Menu"},{name:"filter-menu",title:"Filter Menu"},{name:"filter-row",title:"Filter Row"},{name:"row-reordering",title:"Row Reordering"},{name:"multicolumn-headers",title:"Multicolumn Headers"},{name:"grouping",title:"Grouping"},{name:"editing",title:"Editing"}],ZT=[{name:"toolbar",title:"Toolbar",type:"boolean"},{name:"pager",title:"Pager",type:"boolean"}],Do=e=>{let{variant:t,modifiers:o,...a}={...od,...e},l={toolbar:void 0,pager:void 0},i=J(To,{children:[b(d,{icon:"plus",children:"Add New"}),b(d,{icon:"file-pdf",children:"Export to PDF"}),b("span",{className:"k-spacer"}),b(ee,{prefix:b(g,{icon:"search"}),separators:!1,placeholder:"Search..."})]}),c=b(xe,{pageSizes:!1,refresh:!1});Object.keys(o||{}).forEach(N=>{switch(N){case"toolbar":l.toolbar=o?.[N]?i:void 0;break;case"pager":l.pager=o?.[N]?c:void 0;break;default:return}});let m={"column-menu":{menu:"column"},"filter-menu":{menu:"filter"},"filter-row":{}},h=J(xr,{children:[b(de,{children:b("div",{className:"k-grid-header-wrap",children:J(pe,{children:[J("colgroup",{children:[b("col",{}),b("col",{}),b("col",{}),b("col",{})]}),b(re,{children:J(w,{children:[b(I,{...m[t],columnTitle:"ID"}),b(I,{...m[t],columnTitle:"Product Name"}),b(I,{...m[t],columnTitle:"Units in Stock"}),b(I,{...m[t],columnTitle:"Units Price"})]})})]})})}),b(oe,{children:b(ae,{children:J(le,{children:[J("colgroup",{children:[b("col",{}),b("col",{}),b("col",{}),b("col",{})]}),J(ce,{children:[J(w,{children:[b(p,{children:"1"}),b(p,{children:"Chai"}),b(p,{children:"39"}),b(p,{children:"18"})]}),J(w,{className:"k-alt",alt:!0,children:[b(p,{children:"2"}),b(p,{children:"Chang"}),b(p,{children:"17"}),b(p,{children:"19"})]}),J(w,{children:[b(p,{children:"3"}),b(p,{children:"Aniseed Syrup"}),b(p,{children:"13"}),b(p,{children:"10"})]}),J(w,{className:"k-alt",alt:!0,children:[b(p,{children:"4"}),b(p,{children:"Chef Anton's Cajun Seasoning"}),b(p,{children:"53"}),b(p,{children:"22"})]}),J(w,{children:[b(p,{children:"5"}),b(p,{children:"Chef Anton's Gumbo Mix"}),b(p,{children:"0"}),b(p,{children:"21.35"})]})]})]})})})]});switch(t){case"multicolumn-headers":return b(ed,{...a,...l});case"editing":return b(td,{...a,...l});case"grouping":return b(js,{...a,...l,groupingHeader:b(eo,{children:J(ke,{children:[b(ge,{icon:"sort-asc-small",actions:J(xr,{children:[b(Ne,{type:"more"}),b(Ne,{type:"remove"})]}),children:"ID"}),b(ge,{icon:"sort-desc-small",actions:J(xr,{children:[b(Ne,{type:"more"}),b(Ne,{type:"remove"})]}),children:"Name"})]})})});case"row-reordering":return b(W,{...a,...l,children:J(xr,{children:[b(de,{children:J("div",{className:"k-grid-header-wrap",children:[" ",J(pe,{children:[J("colgroup",{children:[b("col",{className:"k-drag-col"}),b("col",{}),b("col",{}),b("col",{}),b("col",{})]}),b(re,{children:J(w,{children:[b(I,{className:"k-drag-cell",accessibleLabel:"Reorder"}),b(I,{columnTitle:"ID"}),b(I,{columnTitle:"Product Name"}),b(I,{columnTitle:"Units in Stock"}),b(I,{columnTitle:"Units Price"})]})})]})]})}),b(oe,{children:b(ae,{children:J(le,{children:[J("colgroup",{children:[b("col",{className:"k-drag-col"}),b("col",{}),b("col",{}),b("col",{}),b("col",{})]}),J(ce,{children:[J(w,{children:[b(p,{className:"k-drag-cell",children:b(g,{icon:"reorder"})}),b(p,{children:"1"}),b(p,{children:"Chai"}),b(p,{children:"39"}),b(p,{children:"18"})]}),J(w,{className:"k-alt",alt:!0,children:[b(p,{className:"k-drag-cell",children:b(g,{icon:"reorder"})}),b(p,{children:"2"}),b(p,{children:"Chang"}),b(p,{children:"17"}),b(p,{children:"19"})]}),J(w,{children:[b(p,{className:"k-drag-cell",children:b(g,{icon:"reorder"})}),b(p,{children:"3"}),b(p,{children:"Aniseed Syrup"}),b(p,{children:"13"}),b(p,{children:"10"})]}),J(w,{className:"k-alt",alt:!0,children:[b(p,{className:"k-drag-cell",children:b(g,{icon:"reorder"})}),b(p,{children:"4"}),b(p,{children:"Chef Anton's Cajun Seasoning"}),b(p,{children:"53"}),b(p,{children:"22"})]}),J(w,{children:[b(p,{className:"k-drag-cell",children:b(g,{icon:"reorder"})}),b(p,{children:"5"}),b(p,{children:"Chef Anton's Gumbo Mix"}),b(p,{children:"0"}),b(p,{children:"21.35"})]})]})]})})})]})});case"filter-row":return b(Xs,{...a,...l});default:return b(W,{...a,...l,children:h})}};Do.options=qT;Do.states=YT;Do.variants=QT;Do.defaultOptions=od;Do.modifiers=ZT;var l7=Do;export{Do as GridDemo,l7 as default};
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,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var y=(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"}),A=(e,t)=>{let{valid:o,invalid:a,hover:l,focus:s,checked:c,active:m,selected:h,disabled:N,indeterminate:v,loading:k,empty:u,readonly:M,highlighted:C,...S}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":l,"k-focus":s,"k-checked":c,"k-active":m,"k-selected":h,"k-disabled":N,"k-indeterminate":v&&!c,"k-loading":k,"k-empty":u,"k-readonly":M,"k-highlighted":C},Object.keys(S).reduce((R,E)=>(E.startsWith("k-")?R[E]=S[E]:R[`k-${E}`]=S[E],R),{}))};function sn(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var i={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},T={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},x={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},f={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},n={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 z="grid",F=z;import{jsx as cd,jsxs as pd}from"react/jsx-runtime";var Ga="k-grid",sd=[],id={size:[i.undefined,i.small,i.medium,i.large]},dd=[],dn={pagerPosition:"bottom"},W=e=>{let{size:t,pagerPosition:o=dn.pagerPosition,toolbar:a,pager:l,groupingHeader:s,gridSelectionAggregates:c,_renderAriaRoot:m,resizable:h,...N}=e;return pd("div",{...N,className:r(e.className,Ga,{[`${Ga}-resizable`]:h},y(Ga,{size:t})),children:[a,o==="top"&&l,s,e.children&&m?cd("div",{className:"k-grid-aria-root",children:e.children}):e.children,c,o==="bottom"&&l]})};W.states=sd;W.options=id;W.variants=dd;W.className=Ga;W.defaultOptions=dn;W.moduleName=z;W.folderName=F;import{Fragment as fd,jsx as cn}from"react/jsx-runtime";var Nr="k-font-icon",md=[],ud={size:[i.undefined,i.xsmall,i.small,i.medium,i.large,i.xlarge,i.xxlarge,i.xxxlarge],themeColor:[f.undefined,f.base,f.primary,f.secondary,f.tertiary,f.success,f.warning,f.error,f.info,f.light,f.dark]},bd={},_o=e=>{let{size:t,themeColor:o,icon:a,rotate:l,flip:s,...c}=e;return a?cn("span",{...c,className:r(e.className,Nr,y(Nr,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${l}`]:l,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):cn(fd,{})};_o.states=md;_o.options=ud;_o.className=Nr;_o.defaultOptions=bd;var pn=_o;import{Fragment as xd,jsx as Ba}from"react/jsx-runtime";var gr="k-svg-icon",Td=[],hd={size:[i.undefined,i.xsmall,i.small,i.medium,i.large,i.xlarge,i.xxlarge,i.xxxlarge],themeColor:[f.undefined,f.base,f.primary,f.secondary,f.tertiary,f.success,f.warning,f.error,f.info,f.light,f.dark]},mn={viewBox:"0 0 24 24"},zo=e=>{let{size:t,themeColor:o,rotate:a,flip:l,viewBox:s=mn.viewBox,icon:c,...m}=e;if(!c)return Ba(xd,{});if(c==="none")return Ba("span",{...m,className:r(e.className,gr,y("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let h=typeof c=="object"&&c.name&&c.name;return Ba("span",{...m,className:r(e.className,gr,y("k-icon",{size:t}),{[`k-svg-i-${h}`]:h,[`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",children:Ba("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:s,dangerouslySetInnerHTML:typeof c=="object"?{__html:c.content}:void 0,children:c?void 0:e.children})})};zo.states=Td;zo.options=hd;zo.className=gr;zo.defaultOptions=mn;var kr=zo;import*as vr from"@progress/kendo-svg-icons";var un="icon",bn="icons";import{useContext as gd}from"react";import{createContext as Nd}from"react";var fn=Nd({iconsType:"svg"});import{Fragment as Tn,jsx as Uo}from"react/jsx-runtime";var Da="k-icon",kd=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),vd=[],Ld={size:[i.undefined,i.xsmall,i.small,i.medium,i.large,i.xlarge,i.xxlarge,i.xxxlarge],themeColor:[f.undefined,f.base,f.primary,f.secondary,f.tertiary,f.success,f.warning,f.error,f.info,f.light,f.dark]},Lr={viewBox:"0 0 24 24",type:"svg"},g=e=>{let{iconsType:t}=gd(fn),{size:o,themeColor:a,icon:l,type:s=t||Lr.type,rotate:c,flip:m,viewBox:h=Lr.viewBox,...N}=e;if(!l)return Uo(Tn,{});if((t||s)==="svg"){if(l==="none")return Uo(kr,{...N,className:r(e.className,Da),icon:l,size:o});let k=vr[l]?l:kd(`${l}-icon`);return vr[k]?Uo(kr,{...N,className:r(e.className,Da),icon:vr[k],size:o,themeColor:a,rotate:c,flip:m,viewBox:h}):Uo(Tn,{})}return Uo(pn,{...N,className:r(e.className,Da),icon:l,size:o,themeColor:a,rotate:c,flip:m})};g.states=vd;g.options=Ld;g.defaultOptions=Lr;g.className=Da;g.moduleName=un;g.folderName=bn;g.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var Cr="button",hn=Cr;import{Fragment as Sd,jsx as Fo,jsxs as xn}from"react/jsx-runtime";var Vo="k-button",Cd=["icon-button"],Md=[n.hover,n.focus,n.active,n.selected,n.disabled,n.generating],yd={size:[i.undefined,i.small,i.medium,i.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[f.undefined,f.base,f.primary,f.secondary,f.tertiary,f.success,f.warning,f.error,f.info,f.light,f.dark,f.inverse]},Mr={showArrow:!1,arrowIconName:"caret-alt-down"},d=e=>{let{as:t="button",size:o,rounded:a,fillMode:l,themeColor:s,showArrow:c=Mr.showArrow,arrowIconName:m=Mr.arrowIconName,variant:h,hover:N,focus:v,active:k,selected:u,disabled:M,togglable:C,icon:S,text:R,iconClassName:E,className:D,...se}=e,fe=S!==void 0,Ee=e.children!==void 0;return xn(t,{className:r(D,Vo,sn(Vo,h),y(Vo,{size:o,rounded:a,fillMode:l,themeColor:s}),A(Vo,{hover:N,focus:v,active:k,disabled:M,selected:u}),{"k-icon-button":!R&&!Ee&&fe}),...se,"aria-pressed":C?u?"true":"false":void 0,disabled:M||void 0,children:[S&&Fo(g,{className:r(E,"k-button-icon"),icon:S}),R?xn(Sd,{children:[R&&Fo("span",{className:"k-button-text",children:R}),e.children]}):e.children&&Fo("span",{className:"k-button-text",children:e.children}),c&&Fo("span",{className:"k-menu-button-arrow k-button-arrow",children:Fo(g,{icon:m})})]})};d.states=Md;d.options=yd;d.variants=Cd;d.className=Vo;d.defaultOptions=Mr;d.moduleName=Cr;d.folderName=hn;d.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};import{jsx as Ad}from"react/jsx-runtime";var Kt=e=>Ad(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as wd}from"react/jsx-runtime";var $o=e=>wd(d,{icon:"folder",children:"Button",...e});import{jsx as Ed}from"react/jsx-runtime";var to=e=>Ed(d,{children:"Button",...e});import{jsx as yr}from"react/jsx-runtime";var Id=d.options,Rd=d.states,Od={...d.defaultOptions,variant:"text"},Pd=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Hd=[],Xo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return yr(Kt,{...o,icon:"star"});case"icon-and-text":return yr($o,{...o,icon:"star",children:"Button"});default:return yr(to,{...o,children:"Button"})}};Xo.options=Id;Xo.states=Rd;Xo.variants=Pd;Xo.defaultOptions=Od;Xo.modifiers=Hd;var Sr="button",Nn=Sr;import{jsx as Dd}from"react/jsx-runtime";var Wo="k-button-group",Kd=[n.disabled],Gd={fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},Bd={},K=e=>{let{fillMode:t,disabled:o,stretched:a,...l}=e;return Dd("div",{role:"group",...l,className:r(e.className,Wo,y(Wo,{fillMode:t}),A(Wo,{disabled:o}),{[`${Wo}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};K.states=Kd;K.options=Gd;K.className=Wo;K.defaultOptions=Bd;K.moduleName=Sr;K.folderName=Nn;K.ariaSpec={selector:".k-button-group",rules:[{selector:".k-button-group:not(.k-split-button)",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-button-group.k-disabled",attribute:"aria-disabled=true",usage:"The attribute is rendered only when the entire button group is disabled."},{selector:".k-button-group:not(.k-split-button):not(.k-scheduler-navigation):not(.k-zoom-control) .k-button",attribute:"aria-pressed (when selected)",usage:"Specifies the current state of the ButtonGroup. Only the selected button within the group will have this attribute set to true."}]};import{Fragment as gx,jsx as Nx,jsxs as kx}from"react/jsx-runtime";import{Fragment as Sx,jsx as yx,jsxs as Ax}from"react/jsx-runtime";import{Fragment as Px,jsx as Ox,jsxs as Hx}from"react/jsx-runtime";import{Fragment as zx,jsx as _x,jsxs as Ux}from"react/jsx-runtime";import{Fragment as Jx,jsx as Wx,jsxs as qx}from"react/jsx-runtime";import{Fragment as tN,jsx as eN,jsxs as oN}from"react/jsx-runtime";import{jsx as yt,jsxs as Ar}from"react/jsx-runtime";var _d={...d.options,...K.options},zd=d.states,Ud={...d.defaultOptions,...K.defaultOptions,variant:"text-button"},Fd=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Vd=[],Jo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?Ar(K,{fillMode:a.fillMode,className:o,children:[yt(d,{...a,icon:"star"}),yt(d,{...a,icon:"star"}),yt(d,{...a,icon:"star"})]}):t==="icon-text-button"?Ar(K,{fillMode:a.fillMode,className:o,children:[yt(d,{...a,icon:"star",children:"First"}),yt(d,{...a,icon:"star",children:"Middle"}),yt(d,{...a,icon:"star",children:"Last"})]}):Ar(K,{fillMode:a.fillMode,className:o,children:[yt(d,{...a,children:"First"}),yt(d,{...a,children:"Middle"}),yt(d,{...a,children:"Last"})]})};Jo.options=_d;Jo.states=zd;Jo.variants=Fd;Jo.defaultOptions=Ud;Jo.modifiers=Vd;var qo="input",_a=qo;import{jsx as Jd}from"react/jsx-runtime";var za="k-input",$d=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Xd={size:[i.undefined,i.small,i.medium,i.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Wd={},Te=e=>{let{hover:t,focus:o,disabled:a,invalid:l,valid:s,loading:c,readonly:m,size:h,rounded:N,fillMode:v,...k}=e;return Jd("span",{...k,className:r(e.className,za,y(za,{size:h,rounded:N,fillMode:v}),A(za,{hover:t,focus:o,disabled:a,invalid:l,valid:s,loading:c,readonly:m}))})};Te.states=$d;Te.options=Xd;Te.className=za;Te.defaultOptions=Wd;Te.moduleName=qo;Te.folderName=_a;import{jsx as Zd}from"react/jsx-runtime";var Ua="k-picker",qd=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Yd={size:[i.undefined,i.small,i.medium,i.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Qd={},ht=e=>{let{hover:t,focus:o,disabled:a,invalid:l,valid:s,loading:c,readonly:m,size:h,rounded:N,fillMode:v,...k}=e;return Zd("span",{...k,className:r(e.className,Ua,y(Ua,{size:h,rounded:N,fillMode:v}),A(Ua,{hover:t,focus:o,disabled:a,invalid:l,valid:s,loading:c,readonly:m})),children:e.children})};ht.states=qd;ht.options=Yd;ht.className=Ua;ht.defaultOptions=Qd;ht.moduleName=qo;ht.folderName=_a;import{Fragment as tc,jsx as wr}from"react/jsx-runtime";var gn="k-clear-value",jd=[n.disabled,n.loading,n.readonly],ec={},We=e=>{let{disabled:t,loading:o,readonly:a,value:l}=e;return t||a||o||!l?wr(tc,{}):wr("span",{className:r(e.className,gn),children:wr(g,{icon:"x"})})};We.states=jd;We.options=ec;We.className=gn;import{jsx as rc}from"react/jsx-runtime";var Er="k-input-inner",oc=[],ac={},Fa={type:"text",autocomplete:"off",value:"",placeholder:""},Je=e=>{let{value:t=Fa.value,type:o=Fa.type,placeholder:a=Fa.placeholder,autocomplete:l=Fa.autocomplete,disabled:s,readOnly:c,...m}=e;return rc("input",{...m,type:o,className:r(e.className,Er,y(Er,e)),placeholder:a,autoComplete:l,defaultValue:t,disabled:s||void 0,readOnly:c||void 0})};Je.states=oc;Je.options=ac;Je.className=Er;import{jsx as kn,jsxs as sc}from"react/jsx-runtime";var Ir="k-input-inner",lc=[],nc={},oo=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:l,valueIconName:s,...c}=e;return sc("span",{...c,className:r(e.className,Ir,y(Ir,e)),children:[l,!l&&s&&kn(g,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&kn("span",{className:"k-input-value-text",children:t})]})};oo.states=lc;oo.options=nc;oo.className=Ir;import{jsx as cc}from"react/jsx-runtime";var Rr="k-input-inner",ic=[],dc={},vn={value:"",placeholder:""},Or=e=>{let{value:t=vn.value,placeholder:o=vn.placeholder,rows:a,disabled:l,...s}=e;return cc("textarea",{...s,className:r(e.className,Rr,y(Rr,e)),placeholder:o,rows:a,defaultValue:t,disabled:l||void 0})};Or.states=ic;Or.options=dc;Or.className=Rr;import{Fragment as mc,jsx as Ln}from"react/jsx-runtime";var Cn="k-input-loading-icon",pc=[n.disabled,n.loading],Be=e=>{let{disabled:t,loading:o}=e;return t||!o?Ln(mc,{}):Ln("span",{className:r(e.className,Cn,"k-icon k-i-loading")})};Be.states=pc;Be.className=Cn;import{Fragment as fc,jsx as Mn}from"react/jsx-runtime";var yn="k-input-validation-icon",uc=[n.valid,n.invalid,n.disabled,n.loading],bc={},Ie=e=>{let{valid:t,invalid:o,disabled:a,loading:l}=e,s=o?"warning-circle":"check-circle";return a||l||!!!(t||o)?Mn(fc,{}):Mn(g,{className:r(yn),icon:s})};Ie.states=uc;Ie.options=bc;Ie.className=yn;import{Fragment as xc,jsx as Sn}from"react/jsx-runtime";var Tc="k-input-prefix",hc={direction:"horizontal"},tt=e=>{let{direction:t=hc.direction,...o}=e;return e.children?Sn("span",{...o,className:r(Tc,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Sn(xc,{})};import{Fragment as kc,jsx as An}from"react/jsx-runtime";var Nc="k-input-suffix",gc={direction:"horizontal"},ot=e=>{let{direction:t=gc.direction,...o}=e;return e.children?An("span",{...o,className:r(Nc,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):An(kc,{})};import{jsx as og}from"react/jsx-runtime";import{jsx as Lc}from"react/jsx-runtime";var vc="k-input-suffix-text",Pr=e=>{let{children:t,...o}=e;return Lc("span",{...o,className:r(vc,e.className),children:t})};import{jsx as Mc}from"react/jsx-runtime";var wn="k-input-separator",Cc={direction:"vertical"},at=e=>{let{direction:t=Cc.direction,...o}=e;return Mc("span",{...o,className:r(wn,e.className,{[`${wn}-${t}`]:t})})};import{Fragment as En,jsx as xt,jsxs as Hr}from"react/jsx-runtime";var yc=Te.states,Sc=Te.defaultOptions,Ac=Te.options,wc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Ec=[],Yo=e=>{let{modifiers:t,valid:o,invalid:a,loading:l,disabled:s,readonly:c,...m}=e,h=t?.prefix,N=t?.suffix,v=t?.["clear-button"],k=t?.["validation-icon"],u=t?.separators;return Hr(Te,{...m,valid:o,invalid:a,loading:l,disabled:s,readonly:c,style:{width:300},children:[h&&Hr(En,{children:[xt(tt,{children:xt(g,{icon:"lock"})}),u&&xt(at,{})]}),xt(Je,{placeholder:"Placeholder",value:"Value"}),k&&xt(Ie,{valid:o,invalid:a,loading:l,disabled:s}),xt(Be,{loading:l,disabled:s}),v&&xt(We,{loading:l,disabled:s,readonly:c,value:"Value"}),N&&Hr(En,{children:[u&&xt(at,{}),xt(ot,{children:xt(to,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};Yo.options=Ac;Yo.states=yc;Yo.variants=Ec;Yo.defaultOptions=Sc;Yo.modifiers=wc;import{jsx as In,jsxs as Oc}from"react/jsx-runtime";var Rn="k-color-preview",Ic=[],Rc={},Gt=e=>{let{color:t,iconName:o,...a}=e;return Oc("span",{...a,className:r(e.className,Rn,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&In(g,{icon:o,className:"k-color-preview-icon"}),In("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Gt.states=Ic;Gt.options=Rc;Gt.className=Rn;var Kr="popup",On=Kr;import{jsx as Pn}from"react/jsx-runtime";var Hn="k-animation-container",Pc=[],Hc={},Kn={positionMode:"absolute"},Nt=e=>{let{positionMode:t=Kn.positionMode,animationStyle:o,offset:a,...l}=e;return Pn("div",{...l,style:{...a,...e.style},className:r(e.className,Hn,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:Pn("div",{className:"k-child-animation-container",style:o,children:e.children})})};Nt.states=Pc;Nt.options=Hc;Nt.className=Hn;Nt.defaultOptions=Kn;Nt.moduleName=Kr;Nt.folderName=On;var Gr="popup",Gn=Gr;import{jsx as Bn}from"react/jsx-runtime";var Dn="k-popup",Kc=[],Gc={},_n={positionMode:"absolute"},j=e=>{let{offset:t,positionMode:o=_n.positionMode,animationStyle:a,containerClassName:l,containerRole:s,containerAriaLabel:c,...m}=e;return Bn(Nt,{positionMode:o,offset:t,animationStyle:a,className:l,role:s,"aria-label":c,children:Bn("div",{...m,className:r(e.className,Dn),children:e.children})})};j.states=Kc;j.options=Gc;j.className=Dn;j.defaultOptions=_n;j.moduleName=Gr;j.folderName=Gn;j.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var Br="action-buttons",zn=Br;import{jsx as _c}from"react/jsx-runtime";var Va="k-actions",Bc=[],Dc={},Dr={alignment:"start",orientation:"horizontal"},gt=e=>{let{alignment:t=Dr.alignment,orientation:o=Dr.orientation,...a}=e;return _c("div",{...a,className:r(Va,{[`${Va}-${t}`]:t,[`${Va}-${o}`]:o},e.className),children:e.children})};gt.states=Bc;gt.options=Dc;gt.className=Va;gt.defaultOptions=Dr;gt.moduleName=Br;gt.folderName=zn;import{jsx as Uc}from"react/jsx-runtime";var zc="k-actionsheet-footer",Un={alignment:"stretched",orientation:"horizontal"},Bt=e=>{let{alignment:t=Un.alignment,orientation:o=Un.orientation,template:a,as:l=a?"div":gt,...s}=e;return Uc(l,{...s,...!a&&{alignment:t,orientation:o},className:r(e.className,zc),children:e.children})};var _r="searchbox",Fn=_r;import{jsx as Qo,jsxs as $c}from"react/jsx-runtime";var Vn="k-searchbox",Fc=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading],Vc={size:[i.undefined,i.small,i.medium,i.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},zr={showIcon:!0,icon:"search"},rt=e=>{let{value:t,placeholder:o,size:a,rounded:l,fillMode:s,hover:c,focus:m,valid:h,invalid:N,required:v,loading:k,disabled:u,showIcon:M=zr.showIcon,icon:C=zr.icon,...S}=e;return $c(Te,{...S,size:a,rounded:l,fillMode:s,hover:c,focus:m,valid:h,invalid:N,required:v,loading:k,disabled:u,className:r(e.className,Vn),children:[M&&Qo(g,{className:"k-input-icon",icon:C}),Qo(Je,{placeholder:o,value:t}),Qo(Be,{...e}),Qo(Ie,{...e}),Qo(We,{...e})]})};rt.states=Fc;rt.options=Vc;rt.className=Vn;rt.defaultOptions=zr;rt.moduleName=_r;rt.folderName=Fn;import{jsx as Sk}from"react/jsx-runtime";var Ur="textbox",$n=Ur;import{Fragment as Xn,jsx as Dt,jsxs as Fr}from"react/jsx-runtime";var Wn="k-textbox",Xc=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Wc={size:[i.undefined,i.small,i.medium,i.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},$a={showClearButton:!0,showValidationIcon:!0,separators:!0},ee=e=>{let{size:t,rounded:o,fillMode:a,separators:l=$a.separators,showClearButton:s=$a.showClearButton,showValidationIcon:c=$a.showValidationIcon,prefix:m,suffix:h,type:N,value:v,placeholder:k,hover:u,focus:M,valid:C,invalid:S,required:R,loading:E,disabled:D,readonly:se,id:fe,"aria-label":Ee,"aria-describedby":$e,...Xe}=e;return Fr(Te,{...Xe,size:t,rounded:o,fillMode:a,hover:u,focus:M,valid:C,invalid:S,required:R,loading:E,disabled:D,readonly:se,className:r(e.className,Wn),children:[m&&Fr(Xn,{children:[Dt(tt,{children:m}),l&&Dt(at,{})]}),Dt(Je,{id:fe,placeholder:k,value:v,type:N,disabled:D,"aria-label":Ee,"aria-describedby":$e,"aria-invalid":S?"true":void 0}),c&&Dt(Ie,{valid:C,invalid:S,loading:E,disabled:D}),Dt(Be,{loading:E,disabled:D}),s&&Dt(We,{loading:E,disabled:D,readonly:se,value:v}),h&&Fr(Xn,{children:[l&&Dt(at,{}),Dt(ot,{children:h})]})]})};ee.states=Xc;ee.options=Wc;ee.className=Wn;ee.defaultOptions=$a;ee.moduleName=Ur;ee.folderName=$n;ee.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var Zo=ee;import{jsx as Jc}from"react/jsx-runtime";var Jn=e=>Jc(Zo,{...e});import{Fragment as $k,jsx as Vk}from"react/jsx-runtime";import{Fragment as Qk,jsx as Yk}from"react/jsx-runtime";import{jsx as tv}from"react/jsx-runtime";import{jsx as Vr}from"react/jsx-runtime";var qc=ee.states,Yc=ee.defaultOptions,Qc=ee.options,Zc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],jc=[],jo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(l=>{switch(l){case"prefix":a.prefix=t?.[l]?Vr(g,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[l]?Vr(to,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[l];break;default:break}}),Vr(Jn,{value:"Value",style:{width:300},...o,...a})};jo.options=Qc;jo.states=qc;jo.variants=jc;jo.defaultOptions=Yc;jo.modifiers=Zc;import{jsx as _t,jsxs as $r}from"react/jsx-runtime";var qn="k-actionsheet-titlebar",ep={},Re=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:l,filter:s,input:c,inputValue:m,inputPlaceholder:h,adaptive:N,titleId:v,children:k,...u}=e;return $r("div",{...u,className:r(e.className,qn),children:[$r("div",{className:"k-actionsheet-titlebar-group",children:[a&&_t("div",{className:"k-actionsheet-actions",children:a}),!k&&$r("div",{className:"k-actionsheet-title",id:v,children:[t&&_t("div",{className:"k-text-center",children:t}),o&&_t("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),k&&_t("div",{className:"k-actionsheet-title",id:v,children:k}),l&&_t("div",{className:"k-actionsheet-actions",children:l})]}),(c||s)&&_t("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?_t(ee,{value:m,placeholder:h,size:N?"large":"medium","aria-label":t||h||"Input"}):_t(rt,{placeholder:"Filter",size:N?"large":"medium","aria-label":"Filter options"})})]})};Re.className=qn;Re.defaultOptions=ep;import{jsx as Xr,jsxs as rp}from"react/jsx-runtime";var Wr="k-actionsheet-view",tp=[],op={},ap={},No=e=>{let{adaptive:t,animated:o,children:a,header:l,footer:s,titleId:c,...m}=e,h=l?.type===Re&&Xr(Re,{adaptive:t,titleId:c,...l?.props}),N=s?.type===Bt&&Xr(Bt,{...s?.props});return rp("div",{...m,className:r(e.className,Wr,{[`${Wr}-animated`]:o}),children:[h,Xr("div",{className:"k-actionsheet-content",children:a}),N]})};No.states=tp;No.options=op;No.className=Wr;No.defaultOptions=ap;var ea="action-sheet",Xa=ea;var Jr="overlay",Yn=Jr;import{jsx as ip}from"react/jsx-runtime";var qr="k-overlay",lp=[],np={themeColor:[f.undefined,f.light,f.dark,f.inverse]},sp={},zt=e=>{let{themeColor:t,...o}=e;return ip("div",{...o,className:r(e.className,qr,y(qr,{themeColor:t})),children:e.children})};zt.states=lp;zt.options=np;zt.className=qr;zt.defaultOptions=sp;zt.moduleName=Jr;zt.folderName=Yn;import{jsx as Wa,jsxs as pp}from"react/jsx-runtime";var Qn="k-actionsheet",dp=[],cp={},ta={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},me=e=>{let{side:t=ta.side,fullscreen:o=ta.fullscreen,adaptive:a=ta.adaptive,overlay:l=ta.overlay,template:s,children:c,header:m,footer:h,id:N,...v}=e,k=N&&!s&&m?`${N}-title`:void 0;return pp("div",{className:"k-actionsheet-container",children:[l&&Wa(zt,{}),Wa(Nt,{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:Wa("div",{...v,id:N,role:"dialog","aria-modal":l?"true":void 0,"aria-labelledby":k,className:r(e.className,Qn,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||Wa(No,{header:m,footer:h,adaptive:a,titleId:k,...e,children:c})})})]})};me.states=dp;me.options=cp;me.className=Qn;me.defaultOptions=ta;me.moduleName=ea;me.folderName=Xa;me.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};import{jsx as fp}from"react/jsx-runtime";var Zn="k-actionsheet-container",mp=[],up={},bp={},go=e=>{let{children:t,...o}=e;return fp("div",{...o,className:Zn,children:t})};go.states=mp;go.options=up;go.className=Zn;go.defaultOptions=bp;go.moduleName=ea;go.folderName=Xa;import{jsx as Tp}from"react/jsx-runtime";var Yr=e=>{let{...t}=e;return Tp("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as xp,jsx as oa,jsxs as Qr}from"react/jsx-runtime";var Zr="k-actionsheet-item",hp=[n.hover,n.focus,n.selected,n.disabled],Ut=e=>{let{iconName:t,text:o,description:a,hover:l,focus:s,selected:c,disabled:m,...h}=e;return Qr("span",{...h,className:r(e.className,Zr,A(Zr,{hover:l,focus:s,selected:c,disabled:m})),children:[!e.children&&oa(xp,{children:Qr("span",{className:"k-actionsheet-action",children:[t&&oa("span",{className:"k-icon-wrap",children:oa(g,{className:"k-actionsheet-item-icon",icon:t})}),Qr("span",{className:"k-actionsheet-item-text",children:[o&&oa("span",{className:"k-actionsheet-item-title",children:o}),a&&oa("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Ut.states=hp;Ut.className=Zr;import{jsx as eL,jsxs as tL}from"react/jsx-runtime";import{jsx as lL}from"react/jsx-runtime";import{jsx as dL}from"react/jsx-runtime";import{jsx as uL}from"react/jsx-runtime";import{jsx as ve,jsxs as jr}from"react/jsx-runtime";var Np=me.options,gp=me.states,es={...me.defaultOptions,variant:"normal"},kp=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],vp=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],aa=e=>{let{variant:t,modifiers:o,...a}={...es,...e},l={},s=jr(Yr,{children:[ve(Ut,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),ve(Ut,{text:"Add to Favorites",iconName:"heart"}),ve(Ut,{text:"Upload New",iconName:"upload",disabled:!0}),ve("hr",{className:"k-hr"}),ve(Ut,{text:"Cancel",iconName:"cancel"})]}),c="Choose from the items below",m="Select Item";return t==="fullScreen"&&(l.fullScreen=!0),Object.keys(o||{}).forEach(h=>{switch(h){case"actions":l.actionsStart=!!o?.[h],l.actionsEnd=!!o?.[h];break;case"subtitle":l.subtitle=o?.[h]?c:void 0;break;case"footer":l.footer=!!o?.[h];break;default:break}}),t==="adaptive"?ve(me,{...a,adaptive:!0,fullscreen:l.fullScreen,header:ve(Re,{actionsStart:l.actionsStart?ve(d,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?ve(d,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:l.subtitle}),footer:l.footer?jr(Bt,{alignment:"stretched",children:[ve(d,{text:"Cancel",size:"large",themeColor:"base"}),ve(d,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):ve(me,{...a,fullscreen:l.fullScreen,header:ve(Re,{actionsStart:l.actionsStart?ve(d,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:l.actionsEnd?ve(d,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:l.subtitle}),footer:l.footer?jr(Bt,{alignment:"stretched",children:[ve(d,{text:"Apply",themeColor:"primary"}),ve(d,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};aa.options=Np;aa.states=gp;aa.variants=kp;aa.defaultOptions=es;aa.modifiers=vp;var el="slider",ts=el;import{jsx as ko,jsxs as tl}from"react/jsx-runtime";var ra="k-slider",Lp=[n.hover,n.focus,n.active,n.disabled,n.readonly],Cp={},lt={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},te=e=>{let{type:t=lt.type,orientation:o=lt.orientation,gradientType:a=lt.gradientType,readonly:l=lt.readonly,disabled:s=lt.disabled,handlePosition:c=lt.handlePosition,showButtons:m=lt.showButtons,showTicks:h=lt.showTicks,value:N=lt.value,min:v=lt.min,max:k=lt.max,startValue:u,endValue:M,hover:C,focus:S,active:R,trackStyle:E,dir:D,...se}=e,Ee=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),$e,Xe;return o==="horizontal"?($e=D==="rtl"?"caret-alt-left":"caret-alt-right",Xe=D==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&($e="caret-alt-up",Xe="caret-alt-down"),tl("div",{...se,className:r(ra,e.className,A(ra,{readonly:l,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:D,children:[m&&ko(d,{className:"k-button-decrease",rounded:"full",icon:Xe,tabIndex:-1,title:"Decrease"}),tl("div",{className:"k-slider-track-wrap",children:[h&&ko("ul",{className:"k-reset k-slider-items",children:e.children}),tl("div",{className:"k-slider-track",style:E,children:[ko("div",{className:"k-slider-selection"}),t==="range"&&ko("span",{className:r("k-draghandle","k-draghandle-start",A(ra,{hover:C,focus:S,active:R})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":u??v,"aria-valuemin":v,"aria-valuemax":M??k,"aria-orientation":Ee,"aria-disabled":s?"true":void 0,"aria-readonly":l?"true":void 0,"aria-label":se["aria-label"]?`${se["aria-label"]} start`:"Range start"}),ko("span",{className:r("k-draghandle",`k-draghandle-${c}`,A(ra,{hover:C,focus:S,active:R})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?M??k:N,"aria-valuemin":t==="range"?u??v:v,"aria-valuemax":k,"aria-orientation":Ee,"aria-disabled":s?"true":void 0,"aria-readonly":l?"true":void 0,"aria-label":t==="range"?se["aria-label"]?`${se["aria-label"]} end`:"Range end":se["aria-label"]})]})]}),m&&ko(d,{className:"k-button-increase",rounded:"full",icon:$e,tabIndex:-1,title:"Increase"})]})};te.states=Lp;te.options=Cp;te.className=ra;te.defaultOptions=lt;te.moduleName=el;te.folderName=ts;te.ariaSpec={selector:".k-slider",rules:[{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"role=slider",usage:"Sets the proper role for Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-label or aria-labelledby or title",usage:"The Slider needs an accessible name to be assigned to it."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the Slider is in a form and announces the invalid state."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuenow",usage:"Specifies the currently selected value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemin",usage:"Specifies the minimum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemax",usage:"Specifies the maximum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuetext (when has text alternative)",usage:"Specifies a human-readable text alternative to the numeric value. Provided by consuming applications."},{selector:".k-slider:not(.k-disabled) .k-draghandle:not(.k-hsv-draghandle)",attribute:"tabindex=0",usage:"The element must be focusable. Disabled sliders are removed from tab order."},{selector:".k-slider-vertical .k-draghandle",attribute:"aria-orientation=vertical (when vertical)",usage:"Present only when slider is vertical."},{selector:".k-slider.k-disabled .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-disabled=true",usage:"Rendered only when the Slider is disabled."},{selector:".k-slider.k-readonly .k-draghandle",attribute:"aria-readonly=true (when readonly)",usage:"Rendered only when the Slider is readonly. Readonly sliders remain focusable but their value cannot be changed."},{selector:".k-slider .k-button",attribute:"tabindex=-1",usage:"Excludes the buttons from the natural tab order. Keyboard users use arrow keys on the drag handle."},{selector:".k-slider .k-button",attribute:"title",usage:'Provides a tooltip describing the button action (e.g., "Decrease" or "Increase").'}]};import{jsx as os}from"react/jsx-runtime";var as="k-tick",Mp=[],yp={},rs={label:!1},P=e=>{let{style:t,label:o=rs.label,orientation:a,large:l,text:s,...c}=e;return os("li",{...c,className:r(e.className,as,{[`k-tick-${a}`]:a,"k-tick-large":l}),style:t,children:o&&os("span",{className:"k-label",children:s})})};P.states=Mp;P.options=yp;P.className=as;P.defaultOptions=rs;import{Fragment as Sp,jsx as nt,jsxs as Ap}from"react/jsx-runtime";var ls=e=>nt(te,{"aria-label":e["aria-label"]||"Slider",children:Ap(Sp,{children:[nt(P,{className:"k-first",label:!0,large:!0,text:"0"}),nt(P,{}),nt(P,{}),nt(P,{}),nt(P,{}),nt(P,{label:!0,large:!0,text:"5"}),nt(P,{}),nt(P,{}),nt(P,{}),nt(P,{}),nt(P,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as wp,jsx as st,jsxs as Ep}from"react/jsx-runtime";var ns=e=>st(te,{children:Ep(wp,{children:[st(P,{className:"k-first",label:!0,large:!0,text:"0"}),st(P,{}),st(P,{}),st(P,{}),st(P,{}),st(P,{label:!0,large:!0,text:"5"}),st(P,{}),st(P,{}),st(P,{}),st(P,{}),st(P,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as tC,jsx as eC,jsxs as oC}from"react/jsx-runtime";import{Fragment as sC,jsx as nC,jsxs as iC}from"react/jsx-runtime";import{jsx as Ip}from"react/jsx-runtime";var ol=e=>Ip(te,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as Rp}from"react/jsx-runtime";var al=e=>Rp(te,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as NC,jsx as xC,jsxs as gC}from"react/jsx-runtime";import{Fragment as MC,jsx as CC,jsxs as yC}from"react/jsx-runtime";import{jsx as kt,jsxs as ss}from"react/jsx-runtime";var Op=te.options,Pp=te.states,is={...te.defaultOptions,variant:"horizontal",label:!0},Hp=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Kp=[{name:"label",title:"Labels"},{name:"tick",title:"Ticks"},{name:"button",title:"Side Buttons"}],la=e=>{let{variant:t,modifiers:o,...a}={...is,...e},l={};Object.keys(o||{}).forEach(N=>{switch(N){case"button":{l.showButtons=!!o?.[N];break}case"label":{l.label=!!o?.[N];break}case"tick":{l.showTicks=!!o?.[N];break}}});let{label:s=!0,showButtons:c,showTicks:m}=l,h={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?ss(ns,{showTicks:m,showButtons:c,style:{height:"300px",...h},...a,children:[kt(P,{label:s,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),kt(P,{label:s,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),kt(P,{label:s,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),kt(P,{label:s,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),kt(P,{label:s,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):ss(ls,{showTicks:m,showButtons:c,style:{width:"400px",...h},...a,children:[kt(P,{label:s,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),kt(P,{label:s,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),kt(P,{label:s,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),kt(P,{label:s,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),kt(P,{label:s,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};la.options=Op;la.states=Pp;la.variants=Hp;la.defaultOptions=is;la.modifiers=Kp;import{jsx as ds,jsxs as zp}from"react/jsx-runtime";var cs="k-spin-button",Dp=[],_p={size:[i.undefined,i.small,i.medium,i.large],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},rl={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Ft=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:l=rl.increaseLabel,decreaseLabel:s=rl.decreaseLabel,...c}=e;return zp("span",{...c,className:r(cs,e.className),children:[ds(d,{className:"k-spinner-increase",icon:"caret-alt-up",size:t,fillMode:o,disabled:a,"aria-label":l}),ds(d,{className:"k-spinner-decrease",icon:"caret-alt-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Ft.states=Dp;Ft.options=_p;Ft.className=cs;Ft.defaultOptions=rl;Ft.moduleName=null;Ft.folderName=null;var ps="numeric-textbox",ms="numerictextbox";import{Fragment as us,jsx as St,jsxs as ll}from"react/jsx-runtime";var bs="k-numerictextbox",Up=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],Fp={size:[i.undefined,i.small,i.medium,i.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ja={showSpinButton:!0,showClearButton:!0,separators:!0},_=e=>{let{size:t,rounded:o,fillMode:a,separators:l=Ja.separators,showClearButton:s=Ja.showClearButton,showSpinButton:c=Ja.showSpinButton,prefix:m,suffix:h,value:N,placeholder:v,hover:k,focus:u,valid:M,invalid:C,required:S,loading:R,disabled:E,readonly:D,id:se,"aria-label":fe,"aria-describedby":Ee,...$e}=e;return ll(Te,{...$e,size:t,rounded:o,fillMode:a,hover:k,focus:u,valid:M,invalid:C,required:S,loading:R,disabled:E,readonly:D,className:r(e.className,bs),children:[m&&ll(us,{children:[St(tt,{children:m}),l&&St(at,{})]}),St(Je,{id:se,placeholder:v,value:N,role:"spinbutton",disabled:E,"aria-label":fe,"aria-describedby":Ee,"aria-invalid":C?"true":void 0}),St(Ie,{valid:M,invalid:C,loading:R,disabled:E}),St(Be,{loading:R,disabled:E}),s&&St(We,{loading:R,disabled:E,readonly:D,value:N}),h&&ll(us,{children:[l&&St(at,{}),St(ot,{children:h})]}),c&&St(Ft,{className:"k-input-spinner",size:t,fillMode:a,disabled:E})]})};_.states=Up;_.options=Fp;_.className=bs;_.defaultOptions=Ja;_.moduleName=ps;_.folderName=ms;_.ariaSpec={selector:".k-numerictextbox",rules:[{selector:".k-numerictextbox > .k-input-inner",attribute:"role=spinbutton",usage:"Announces the spin button capabilities of the NumericTextBox."},{selector:".k-numerictextbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuenow (when has value)",usage:"Announces the current value of the component."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemin (when has min)",usage:"Announces the minimum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemax (when has max)",usage:"Announces the maximum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the NumericTextBox is in an invalid state."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message."},{selector:".k-numerictextbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"role=button or nodeName=button",usage:"Describes the role of the spin buttons."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"aria-label",usage:"The button element requires discernible text."},{selector:".k-numerictextbox.k-disabled .k-spin-button > .k-button",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."}]};var na=_;import{jsx as Vp}from"react/jsx-runtime";var fs=e=>Vp(na,{...e});import sl from"react";import{jsx as Ts}from"react/jsx-runtime";var $p="k-list-group-sticky-header",nl=e=>Ts("div",{className:r($p,e.className),children:Ts("div",{className:"k-list-header-text",children:e.children})});import{jsx as Wp}from"react/jsx-runtime";var Xp="k-no-data",qa=e=>{let{live:t,...o}=e;return Wp("span",{...o,className:r(Xp,e.className),"aria-live":t?"polite":void 0,children:e.children})};var ao="list",vo=ao;import{jsx as hs,jsxs as xs}from"react/jsx-runtime";var il="k-list",Jp=[],qp={size:[i.undefined,i.small,i.medium,i.large]},Yp={},V=e=>{let{size:t,virtualization:o,children:a,header:l,optionLabel:s,customValue:c,noData:m,screenReaders:h,...N}=e,k=sl.Children.toArray(a)[0],u=k?.props?.children?sl.Children.count(k.props.children):sl.Children.count(a);return xs("div",{...N,className:r(e.className,il,y(il,{size:t}),{"k-virtual-list":o}),children:[s,c,l&&hs(nl,{children:l}),a||(m!==void 0?m:hs(qa,{live:!0,children:"No data found."})),h&&a&&xs(qa,{className:"k-sr-only",live:!0,children:[u," items found."]})]})};V.states=Jp;V.options=qp;V.className=il;V.defaultOptions=Yp;V.moduleName=ao;V.folderName=vo;V.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};import{jsx as em}from"react/jsx-runtime";var Ns="k-list-container",Qp=[],Zp={},jp={},Lo=e=>{let{...t}=e;return em("div",{...t,className:r(e.className,Ns),children:e.children})};Lo.states=Qp;Lo.options=Zp;Lo.className=Ns;Lo.defaultOptions=jp;Lo.moduleName=ao;Lo.folderName=vo;var ro="checkbox",Co=ro;import{jsx as gs}from"react/jsx-runtime";var Ya="k-checkbox",tm=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked,n.indeterminate],om={size:[i.undefined,i.small,i.medium,i.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full]},am={},De=e=>{let{id:t,checked:o,indeterminate:a,hover:l,focus:s,disabled:c,invalid:m,valid:h,required:N,size:v,rounded:k,...u}=e;return gs("span",{className:"k-checkbox-wrap",children:gs("input",{...u,id:t,type:"checkbox",defaultChecked:o,required:N,disabled:c||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,Ya,y(Ya,{size:v,rounded:k}),A(Ya,{hover:l,focus:s,disabled:c,invalid:m,valid:h,indeterminate:a,checked:o}))})})};De.states=tm;De.options=om;De.className=Ya;De.defaultOptions=am;De.moduleName=ro;De.folderName=Co;De.ariaSpec={selector:".k-checkbox",rules:[{selector:".k-checkbox",attribute:"role=checkbox or type=checkbox",usage:"Announces the checkbox role of the element."},{selector:".k-checkbox",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name to which it will be assigned."},{selector:".k-checkbox",attribute:"aria-checked=true/false/mixed or checked",usage:"For native checkboxes the checked state is handled by the browser. aria-checked is used for custom implementations."},{selector:".k-checkbox",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the checkbox."},{selector:".k-checkbox",attribute:"disabled or aria-disabled=true (when disabled)",usage:"For native checkboxes use the HTML disabled attribute. aria-disabled for custom implementations."},{selector:".k-invalid, .ng-invalid",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the CheckBox is in a form and announces the invalid state."}]};var vt=De;import{jsx as nm}from"react/jsx-runtime";var ks="k-checkbox-list",rm=[],lm={},vs={layout:"vertical"},_e=e=>{let{layout:t=vs.layout,...o}=e;return nm("ul",{...o,className:r(e.className,ks,{[`k-list-${t}`]:t}),children:e.children})};_e.states=rm;_e.options=lm;_e.className=ks;_e.defaultOptions=vs;_e.moduleName=ro;_e.folderName=Co;import{jsx as cm}from"react/jsx-runtime";var Ls="k-checkbox-list-item",sm=[],im={},dm={},Oe=e=>{let{...t}=e;return cm("li",{...t,className:r(e.className,Ls),children:e.children})};Oe.states=sm;Oe.options=im;Oe.className=Ls;Oe.defaultOptions=dm;Oe.moduleName=ro;Oe.folderName=Co;import{Fragment as pm,jsx as Cs,jsxs as mm}from"react/jsx-runtime";var At=({children:e,id:t,...o})=>mm(pm,{children:[Cs(vt,{id:t,...o}),Cs("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as YM,jsx as qM,jsxs as QM}from"react/jsx-runtime";import{Fragment as oy,jsx as ty,jsxs as ay}from"react/jsx-runtime";import{Fragment as iy,jsx as sy,jsxs as dy}from"react/jsx-runtime";import{jsx as uy}from"react/jsx-runtime";import{jsx as hy}from"react/jsx-runtime";import{jsx as ky}from"react/jsx-runtime";import{jsx as it,jsxs as Ms}from"react/jsx-runtime";var um=_e.options,bm=_e.states,fm={..._e.defaultOptions,variant:"vertical"},Tm=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],hm=[],sa=e=>{let{variant:t,...o}=e;return t==="horizontal"?Ms(_e,{layout:"horizontal",...o,children:[it(Oe,{children:it(At,{id:"first",defaultChecked:!0,children:"Label"})}),it(Oe,{children:it(At,{id:"second",children:"Label"})}),it(Oe,{children:it(At,{id:"third",children:"Label"})})]}):Ms(_e,{...o,children:[it(Oe,{children:it(At,{id:"first",defaultChecked:!0,children:"Label"})}),it(Oe,{children:it(At,{id:"second",children:"Label"})}),it(Oe,{children:it(At,{id:"third",children:"Label"})})]})};sa.options=um;sa.states=bm;sa.variants=Tm;sa.defaultOptions=fm;sa.modifiers=hm;import{jsx as Lm}from"react/jsx-runtime";var xm=vt.options,Nm=vt.states,gm=vt.defaultOptions,km=[],vm=[],ia=e=>Lm(At,{id:"checkbox-demo-checkbox",...e,defaultChecked:!0,children:"Label"});ia.options=xm;ia.states=Nm;ia.variants=km;ia.defaultOptions=gm;ia.modifiers=vm;import{jsx as lo,jsxs as Sm}from"react/jsx-runtime";var dl="k-list-item",Cm=[n.hover,n.focus,n.selected,n.disabled],Mm={},ym={},B=e=>{let{text:t,groupLabel:o,group:a,iconName:l,iconClassName:s,showCheckbox:c,checked:m,hover:h,focus:N,selected:v,disabled:k,actions:u,description:M,id:C,...S}=e,R=t||e.children;return Sm("li",{...S,id:C,role:a?"presentation":"option",tabIndex:a?void 0:N?0:-1,"aria-selected":!a&&v?"true":a?void 0:"false","aria-disabled":!a&&k?"true":void 0,className:r(e.className,a?"k-list-group-item":dl,A(dl,{hover:h,focus:N,disabled:k,selected:v})),children:[c&&lo(De,{checked:m}),l&&lo("span",{className:"k-list-item-icon-wrapper",children:lo(g,{icon:l,className:r("k-list-item-icon",s)})}),lo("span",{className:"k-list-item-text",children:R}),u&&lo("div",{className:"k-list-item-actions",children:u}),M&&lo("span",{className:"k-list-item-description",children:M}),o&&o!==""&&lo("div",{className:"k-list-item-group-label",children:o})]})};B.states=Cm;B.options=Mm;B.className=dl;B.defaultOptions=ym;B.moduleName=ao;B.folderName=vo;B.ariaSpec={selector:".k-list-item",rules:[{selector:".k-list-item",attribute:"role=option",usage:"Each list item is an option in the listbox."},{selector:".k-list-item",attribute:"id",usage:"ID for aria-activedescendant reference."},{selector:".k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state of the option."},{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-item-icon",attribute:"aria-hidden=true",usage:"Decorative icons are hidden from assistive technology."}]};import{jsx as wm}from"react/jsx-runtime";var Am="k-list-ul",wt=e=>{let{children:t,role:o,id:a,...l}=e;return wm("ul",{...l,id:a,role:o,className:r(Am,e.className),children:t})};wt.ariaSpec={selector:".k-list-ul",rules:[{selector:'.k-list-ul[role="listbox"]',attribute:"role=listbox",usage:"For ungrouped lists, the UL has the listbox role."},{selector:'.k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."},{selector:'.k-list-ul[role="group"]',attribute:"role=group",usage:"For grouped sublists under a group header."},{selector:'.k-list-ul[role="group"]',attribute:"aria-labelledby (when grouped)",usage:"References the group header ID."}]};import{jsx as cl,jsxs as Im}from"react/jsx-runtime";var Em="k-list-content",q=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":l,listboxId:s,...c}=e;return Im("div",{...c,className:r(Em,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?l:void 0,children:[o?e.children:cl(wt,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":l,children:e.children}),t&&cl("div",{className:"k-height-container",children:cl("div",{})})]})};q.ariaSpec={selector:".k-list-content",rules:[{selector:'.k-list-content[role="listbox"]',attribute:"role=listbox",usage:"For grouped lists, the list content container has the listbox role."},{selector:'.k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."}]};import{Fragment as dS,jsx as iS,jsxs as cS}from"react/jsx-runtime";import{jsx as pl,jsxs as Om}from"react/jsx-runtime";var Rm="k-list-group-item",no=e=>{let{groupIconName:t,...o}=e;return Om("li",{...o,role:"presentation",className:r(Rm,e.className),children:[t&&pl("span",{className:"k-list-item-icon-wrapper",children:pl(g,{icon:t,className:"k-list-item-icon"})}),pl("span",{className:"k-list-item-text",children:e.children})]})};no.ariaSpec={selector:".k-list-group-item",rules:[{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-group-item",attribute:"id (when referenced)",usage:"ID for aria-labelledby on the parent group UL."}]};import{jsx as Gm}from"react/jsx-runtime";var ml="k-list-optionlabel",Pm=[n.hover,n.focus,n.selected,n.disabled],Hm={},Km={},Qa=e=>{let{text:t,hover:o,focus:a,selected:l,disabled:s,...c}=e;return Gm("div",{...c,className:r(ml,A(ml,{hover:o,focus:a,selected:l,disabled:s})),children:t})};Qa.states=Pm;Qa.options=Hm;Qa.className=ml;Qa.defaultOptions=Km;import{jsx as zm}from"react/jsx-runtime";var ul="k-list-custom-value",Bm=[n.hover,n.focus,n.selected,n.disabled],Dm={},_m={},Vt=e=>{let{text:t,hover:o,focus:a,selected:l,disabled:s,...c}=e;return zm("div",{...c,className:r(ul,A(ul,{hover:o,focus:a,selected:l,disabled:s})),children:t})};Vt.states=Bm;Vt.options=Dm;Vt.className=ul;Vt.defaultOptions=_m;import{Fragment as yS,jsx as MS,jsxs as SS}from"react/jsx-runtime";import{Fragment as OS,jsx as RS,jsxs as PS}from"react/jsx-runtime";import{Fragment as zS,jsx as DS,jsxs as _S}from"react/jsx-runtime";import{Fragment as JS,jsx as XS,jsxs as WS}from"react/jsx-runtime";import{jsx as ZS}from"react/jsx-runtime";import{Fragment as rA,jsx as aA,jsxs as lA}from"react/jsx-runtime";var ys="dropdown-list",Ss="dropdownlist";import{Fragment as Vm,jsx as Pe,jsxs as bl}from"react/jsx-runtime";var As="k-dropdownlist",Um=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Fm={size:[i.undefined,i.small,i.medium,i.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},fl={showValue:!0,arrowIconName:"caret-alt-down"},Y=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:l=fl.arrowIconName,showValue:s=fl.showValue,valueIconName:c,prefix:m,suffix:h,value:N,placeholder:v,hover:k,focus:u,valid:M,invalid:C,required:S,loading:R,disabled:E,readonly:D,popup:se,opened:fe,adaptive:Ee,adaptiveSettings:$e,adaptiveTitle:Xe,adaptiveSubtitle:xo,adaptiveFilter:xr,...Ka}=e;return bl(Vm,{children:[bl(ht,{...Ka,size:t,rounded:o,fillMode:a,hover:k,focus:u,valid:M,invalid:C,required:S,loading:R,disabled:E,readonly:D,className:r(e.className,As,{"k-icon-picker":!s&&c}),children:[Pe(tt,{children:m}),Pe(oo,{placeholder:v,value:N,showValue:s,valueIconName:c}),Pe(Ie,{valid:M,invalid:C,loading:R,disabled:E}),Pe(Be,{loading:R,disabled:E}),Pe(ot,{children:h}),Pe(d,{className:"k-input-button",icon:l,size:e.size,fillMode:e.fillMode,"aria-label":v||"Toggle dropdown"})]}),fe&&se&&Pe(j,{className:"k-list-container k-dropdownlist-popup",children:se}),Ee&&Pe(me,{adaptive:!0,...$e,header:Pe(Re,{actionsEnd:Pe(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:xr,inputValue:N,inputPlaceholder:v,title:Xe,subtitle:xo}),children:Pe("div",{className:"k-list-container",children:Pe(V,{size:"large",children:bl(q,{children:[Pe(B,{text:"List item"}),Pe(B,{text:"List item"}),Pe(B,{text:"List item"})]})})})})]})};Y.states=Um;Y.options=Fm;Y.className=As;Y.defaultOptions=fl;Y.moduleName=ys;Y.folderName=Ss;import{jsx as GA}from"react/jsx-runtime";import{jsx as UA,jsxs as FA}from"react/jsx-runtime";import{Fragment as QA,jsx as qA,jsxs as YA}from"react/jsx-runtime";import{jsx as tw}from"react/jsx-runtime";import{jsx as nw,jsxs as sw}from"react/jsx-runtime";import{Fragment as fw,jsx as uw,jsxs as bw}from"react/jsx-runtime";import{Fragment as Ym,jsx as $t,jsxs as ws}from"react/jsx-runtime";var $m=Y.states,Xm=Y.defaultOptions,Wm=Y.options,Jm=[{name:"opened",title:"Opened"}],qm=[],ca=e=>{let{modifiers:t,...o}=e,a={},l=ws(Ym,{children:[$t("div",{className:"k-list-filter",children:$t(rt,{})}),$t(V,{style:{width:300},size:o.size,children:ws(q,{children:[$t(B,{children:"List item"}),$t(B,{children:"List item"}),$t(B,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!t?.[s],a.popup=t?.[s]?l:void 0)}),$t("div",{children:$t(Y,{placeholder:"Value",style:{width:300},...o,...a})})};ca.options=Wm;ca.states=$m;ca.variants=qm;ca.defaultOptions=Xm;ca.modifiers=Jm;import{Fragment as Kw,jsx as Hw}from"react/jsx-runtime";import{Fragment as Uw,jsx as zw}from"react/jsx-runtime";import{jsx as Xw}from"react/jsx-runtime";import{jsx as Tl}from"react/jsx-runtime";var Qm=_.states,Zm=_.defaultOptions,jm=_.options,eu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],tu=[],pa=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(l=>{switch(l){case"prefix":a.prefix=t?.[l]?Tl(Y,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[l]?Tl(Pr,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[l];break;case"spin-button":a.showSpinButton=t?.[l];break;default:break}}),Tl(fs,{value:"Value",style:{width:300},...o,...a})};pa.options=jm;pa.states=Qm;pa.variants=tu;pa.defaultOptions=Zm;pa.modifiers=eu;import{Fragment as ma,jsx as U,jsxs as ue}from"react/jsx-runtime";var Es="k-colorgradient-inputs",ou=[],au={size:[i.undefined,i.small,i.medium,i.large]},Is={mode:"rgba"},Mo=e=>{let{mode:t=Is.mode,size:o,...a}=e;return ue("div",{...a,className:r(Es,"k-hstack"),children:[U("div",{className:"k-vstack",children:U(d,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&ue(ma,{children:[ue("div",{className:"k-vstack",children:[U(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),U("label",{className:"k-colorgradient-input-label",children:"R"})]}),ue("div",{className:"k-vstack",children:[U(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),U("label",{className:"k-colorgradient-input-label",children:"G"})]}),ue("div",{className:"k-vstack",children:[U(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),U("label",{className:"k-colorgradient-input-label",children:"B"})]}),ue("div",{className:"k-vstack",children:[U(_,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),U("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&ue(ma,{children:[ue("div",{className:"k-vstack",children:[U(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),U("label",{className:"k-colorgradient-input-label",children:"R"})]}),ue("div",{className:"k-vstack",children:[U(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),U("label",{className:"k-colorgradient-input-label",children:"G"})]}),ue("div",{className:"k-vstack",children:[U(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),U("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&ue(ma,{children:[ue("div",{className:"k-vstack",children:[U(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),U("label",{className:"k-colorgradient-input-label",children:"H"})]}),ue("div",{className:"k-vstack",children:[U(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),U("label",{className:"k-colorgradient-input-label",children:"S"})]}),ue("div",{className:"k-vstack",children:[U(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),U("label",{className:"k-colorgradient-input-label",children:"V"})]}),ue("div",{className:"k-vstack",children:[U(_,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),U("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&ue(ma,{children:[ue("div",{className:"k-vstack",children:[U(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),U("label",{className:"k-colorgradient-input-label",children:"H"})]}),ue("div",{className:"k-vstack",children:[U(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),U("label",{className:"k-colorgradient-input-label",children:"S"})]}),ue("div",{className:"k-vstack",children:[U(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),U("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&U(ma,{children:ue("div",{className:"k-vstack k-flex-1",children:[U(ee,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),U("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Mo.states=ou;Mo.options=au;Mo.className=Es;Mo.defaultOptions=Is;import{jsx as so,jsxs as io}from"react/jsx-runtime";var Rs="k-colorgradient-color-contrast",ru=[],lu={},nu={},yo=()=>io("div",{className:r(Rs,"k-vbox"),children:[io("div",{className:"k-contrast-ratio",children:[so("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),io("span",{className:"k-contrast-validation !k-text-success",children:[so(g,{icon:"check"}),so(g,{icon:"check"})]})]}),io("div",{children:[so("span",{children:"AA: 4.5"}),io("span",{className:"k-contrast-validation !k-text-success",children:["Pass",so(g,{icon:"check"})]})]}),io("div",{children:[so("span",{children:"AAA: 7.0"}),io("span",{className:"k-contrast-validation !k-text-error",children:["Fail",so(g,{icon:"x"})]})]})]});yo.states=ru;yo.options=lu;yo.className=Rs;yo.defaultOptions=nu;var Os="color-gradient",Ps="colorgradient";import{jsx as ct,jsxs as ua}from"react/jsx-runtime";var Za="k-colorgradient",su=[n.hover,n.focus,n.readonly,n.disabled],iu={size:[i.undefined,i.small,i.medium,i.large]},Lt={mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},Le=e=>{let{size:t,mode:o=Lt.mode,readonly:a=Lt.readonly,disabled:l=Lt.disabled,gradientStyle:s=Lt.gradientStyle,dragHandleStyle:c=Lt.dragHandleStyle,alphaStyle:m=Lt.alphaStyle,alphaStyleHorizontal:h=Lt.alphaStyleHorizontal,contrast:N=Lt.contrast,dir:v,hover:k,focus:u,hoverHandle:M,focusHandle:C,canvasOrientation:S=Lt.canvasOrientation,role:R,tabIndex:E,...D}=e;return ua("div",{...D,role:R??"textbox","aria-label":R==="none"?void 0:"Color gradient",tabIndex:E??0,"aria-disabled":l?"true":void 0,className:r(e.className,Za,y(Za,{size:t}),A(Za,{hover:k,focus:u,readonly:a,disabled:l})),dir:v,children:[!S||S==="horizontal"&&ua("div",{className:"k-colorgradient-canvas k-hstack",children:[ct("div",{className:"k-hsv-rectangle",style:s,children:ct("div",{className:"k-hsv-gradient",children:ct("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":C}),style:c,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),ua("div",{className:"k-hsv-controls k-hstack",children:[ct(al,{className:"k-hue-slider",hover:M,focus:C}),o!=="rgb"&&o!=="hsv"&&ct(al,{className:"k-alpha-slider",hover:M,focus:C,trackStyle:m})]})]}),S==="vertical"&&ua("div",{className:"k-colorgradient-canvas k-vstack",children:[ct("div",{className:"k-hsv-rectangle",style:s,children:ct("div",{className:"k-hsv-gradient",children:ct("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":C}),style:c,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),ua("div",{className:"k-hsv-controls k-vstack",children:[ct(ol,{className:"k-hue-slider",hover:M,focus:C}),o!=="rgb"&&o!=="hsv"&&ct(ol,{className:"k-alpha-slider",hover:M,focus:C,trackStyle:h})]})]}),ct(Mo,{mode:e.mode,size:t}),N&&ct(yo,{})]})};Le.states=su;Le.options=iu;Le.className=Za;Le.defaultOptions=Lt;Le.moduleName=Os;Le.folderName=Ps;Le.ariaSpec={selector:".k-colorgradient",rules:[{selector:".k-colorgradient",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a value that could be submitted."},{selector:".k-colorgradient",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorgradient",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorgradient.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorGradient is disabled."},{selector:".k-hsv-draghandle",attribute:"role=slider",usage:"The 2D draghandle must have slider role for ARIA-allowed attributes."},{selector:".k-hsv-draghandle",attribute:"aria-orientation=undefined",usage:"The implicit orientation for the slider must be removed for the 2D handle."},{selector:".k-hsv-draghandle",attribute:"aria-label",usage:"Must provide information about the purpose of the slider and the currently selected color."},{selector:".k-hsv-draghandle",attribute:"aria-valuetext",usage:"Must specify the values on both X and Y axis."},{selector:".k-hsv-draghandle",attribute:"aria-valuenow",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemin",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemax",usage:"Required by the slider role."},{selector:".k-numerictextbox>.k-input-inner",attribute:"aria-label",usage:"Must provide the name of the channel (red, green, blue, or alpha)."}]};import{jsx as du}from"react/jsx-runtime";var ja=e=>du(Le,{...e});import{jsx as IE}from"react/jsx-runtime";import{jsx as HE}from"react/jsx-runtime";import{jsx as hl}from"react/jsx-runtime";var cu=Le.options,pu=Le.states,mu={...Le.defaultOptions,variant:"rgba"},uu=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],bu=[],ba=e=>{let{variant:t,...o}=e;switch(t){case"hex":return hl(ja,{...o,mode:t});case"rgb":return hl(ja,{...o,mode:t});default:return hl(ja,{...o,mode:t})}};ba.options=cu;ba.states=pu;ba.variants=uu;ba.defaultOptions=mu;ba.modifiers=bu;import{jsx as fu}from"react/jsx-runtime";var xl=e=>fu("tr",{role:"row",children:e.children});import{jsx as xu}from"react/jsx-runtime";var Nl="k-colorpalette-tile",Tu=[n.hover,n.focus,n.selected],hu={},So=e=>{let{color:t,tileSize:o,hover:a,focus:l,selected:s,...c}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return xu("td",{...c,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:r(e.className,Nl,A(Nl,{hover:a,focus:l,selected:s})),style:m})};So.states=Tu;So.options=hu;So.className=Nl;var Hs="color-palette",Ks="colorpalette";import{jsx as fa}from"react/jsx-runtime";var er="k-colorpalette",Nu=[n.disabled],gu={size:[i.undefined,i.small,i.medium,i.large]},Gs={columns:10},ze=e=>{let{size:t,palette:o,columns:a=Gs.columns,tileSize:l,disabled:s,...c}=e,m=[];if(o){let h=a||o.columns,N=o.colors?o.colors:o;Array.isArray(N)&&Array.from({length:Math.ceil(N.length/h)},(v,k)=>{let u=[];N.slice(k*h,(k+1)*h).map((C,S)=>{u.push(fa(So,{color:C,tileSize:l},S))});let M=fa(xl,{children:u},k);m.push(M)})}return fa("div",{...c,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:r(e.className,er,A(er,{disabled:s}),y(er,{size:t})),children:fa("table",{className:"k-colorpalette-table",role:"none",children:fa("tbody",{children:m.length>0?m:e.children})})})};ze.states=Nu;ze.options=gu;ze.className=er;ze.defaultOptions=Gs;ze.moduleName=Hs;ze.folderName=Ks;ze.ariaSpec={selector:".k-colorpalette",rules:[{selector:".k-colorpalette",attribute:"role=grid",usage:"The focusable wrapper announces its role as a grid."},{selector:".k-colorpalette",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpalette",attribute:"aria-activedescendant",usage:"Points to the focused cell in the table."},{selector:".k-colorpalette",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpalette.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorPalette is disabled."},{selector:".k-colorpalette-table",attribute:"role=none or role=presentation",usage:"Negates the default role of the table element."},{selector:".k-colorpalette-table>tbody>tr",attribute:"role=row",usage:"Required as the semantic role of the parent table has been removed."},{selector:".k-colorpalette-tile",attribute:"role=gridcell",usage:"Required as the semantic role of the parent table has been removed."},{selector:".k-colorpalette-tile",attribute:"aria-label or title",usage:"The text representation of the color value for the current cell."},{selector:".k-colorpalette-tile.k-selected",attribute:"aria-selected=true",usage:"Present on the currently selected cell."}]};var tr=ze;var Ta={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};import{jsx as ku}from"react/jsx-runtime";var Bs=e=>ku(tr,{palette:Ta.basic,...e});import{jsx as TI}from"react/jsx-runtime";import{jsx as vI,jsxs as LI}from"react/jsx-runtime";import{jsx as Au}from"react/jsx-runtime";var vu=ze.options,Lu=ze.states,Cu={...ze.defaultOptions,variant:"basic"},Mu=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],yu={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}},Su=[],ha=e=>{let{variant:t="basic",...o}=e,a=yu[t];return Au(Bs,{columns:a.columns,palette:a,...o})};ha.options=vu;ha.states=Lu;ha.variants=Mu;ha.defaultOptions=Cu;ha.modifiers=Su;var Ds="color-editor",_s="coloreditor";import{jsx as pt,jsxs as Ao}from"react/jsx-runtime";var or="k-coloreditor",wu=[n.focus],Eu={size:[i.undefined,i.small,i.medium,i.large]},xa={view:"gradient",palette:Ta.office,actionButtons:!0,canvasOrientation:"horizontal"},be=e=>{let{size:t,view:o=xa.view,palette:a=xa.palette,color:l,currentColor:s,focus:c,focusView:m,dir:h,group:N,actionButtons:v=xa.actionButtons,canvasOrientation:k=xa.canvasOrientation,...u}=e;return Ao("div",{...u,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",or,y(or,{size:t}),A(or,{focus:c})),dir:h,children:[Ao("div",{className:"k-coloreditor-header k-hstack",children:[pt("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&Ao(K,{fillMode:"flat",children:[pt(d,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),pt(d,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),pt("div",{className:"k-spacer"}),Ao("div",{className:"k-coloreditor-header-actions k-hstack",children:[pt(d,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),Ao("div",{className:"k-coloreditor-preview k-vstack",children:[pt(Gt,{className:"k-coloreditor-preview-color",color:l}),pt(Gt,{className:"k-coloreditor-current-color",color:s})]})]})]}),pt("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?pt(Le,{focus:m,size:t,canvasOrientation:k,role:"none",tabIndex:-1}):pt(ze,{palette:a,size:t})}),v&&Ao(gt,{className:"k-coloreditor-footer",alignment:"start",children:[pt(d,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),pt(d,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};be.states=wu;be.options=Eu;be.className=or;be.defaultOptions=xa;be.moduleName=Ds;be.folderName=_s;be.ariaSpec={selector:".k-flatcolorpicker",rules:[{selector:".k-flatcolorpicker",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a submittable value."},{selector:".k-flatcolorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-flatcolorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-flatcolorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the FlatColorPicker is disabled."},{selector:".k-colorgradient",attribute:"role=none",usage:"The inner ColorGradient must have its role removed."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var wo=be;import{jsx as ZI}from"react/jsx-runtime";import{jsx as oR}from"react/jsx-runtime";import{jsx as Iu}from"react/jsx-runtime";var zs=e=>Iu(wo,{group:!0,currentColor:"fuchsia",...e});import{jsx as Ru}from"react/jsx-runtime";var Us=e=>Ru(wo,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as Fs}from"react/jsx-runtime";var Ou=be.options,Pu=be.states,Hu={...be.defaultOptions,variant:"gradient"},Ku=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Gu=[],Na=e=>{let{variant:t,...o}=e;return t==="palette"?Fs(Us,{...o,color:"white"}):Fs(zs,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Na.options=Ou;Na.states=Pu;Na.variants=Ku;Na.defaultOptions=Hu;Na.modifiers=Gu;var Vs="color-picker",$s="colorpicker";import{Fragment as _u,jsx as mt,jsxs as gl}from"react/jsx-runtime";var Xs="k-colorpicker",Bu=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],Du={size:[i.undefined,i.small,i.medium,i.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ws={arrowIconName:"caret-alt-down"},qe=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:l=Ws.arrowIconName,prefix:s,suffix:c,value:m,placeholder:h,hover:N,focus:v,valid:k,invalid:u,required:M,disabled:C,valueIconName:S,popup:R,opened:E,adaptive:D,adaptiveSettings:se,adaptiveTitle:fe,adaptiveSubtitle:Ee,...$e}=e,Xe="colorpicker-popup";return gl(_u,{children:[gl(ht,{...$e,size:t,rounded:o,fillMode:a,hover:N,focus:v,valid:k,invalid:u,required:M,disabled:C,role:"combobox","aria-haspopup":"dialog","aria-expanded":E?"true":"false","aria-controls":E||D?Xe:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":C?"true":void 0,className:r(e.className,Xs,"k-icon-picker"),children:[mt(tt,{children:s}),mt(oo,{placeholder:h,value:m,showValue:!1,valueIcon:mt(Gt,{className:"k-value-icon",color:m,iconName:S}),valueIconName:S}),mt(ot,{children:c}),mt(d,{className:"k-input-button",icon:l,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:C})]}),E&&R&&mt(j,{id:Xe,className:"k-colorpicker-popup",children:R}),D&&mt(me,{adaptive:!0,id:Xe,...se,header:mt(Re,{actionsEnd:mt(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:fe,subtitle:Ee}),footer:gl(Bt,{children:[mt(d,{text:"Cancel",size:"large"}),mt(d,{text:"Set",size:"large",themeColor:"primary"})]}),children:mt(be,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};qe.states=Bu;qe.options=Du;qe.className=Xs;qe.defaultOptions=Ws;qe.moduleName=Vs;qe.folderName=$s;qe.ariaSpec={selector:".k-colorpicker",rules:[{selector:".k-colorpicker",attribute:"role=combobox",usage:"The focusable element should have role combobox (input with popup)."},{selector:".k-colorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpicker",attribute:"aria-haspopup=dialog",usage:"Indicates the component has a Dialog Popup."},{selector:".k-colorpicker",attribute:"aria-expanded=true/false",usage:"Announces the visibility state of the popup."},{selector:".k-colorpicker",attribute:"aria-controls (when open)",usage:"Points to the popup element."},{selector:".k-colorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorpicker.k-disabled .k-button",attribute:"disabled or aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var Xt=qe;import{jsx as zu}from"react/jsx-runtime";var ar=e=>zu(Xt,{...e});import{jsx as DR}from"react/jsx-runtime";import{jsx as VR}from"react/jsx-runtime";import{jsx as JR}from"react/jsx-runtime";import{jsx as ZR}from"react/jsx-runtime";import{jsx as oO}from"react/jsx-runtime";import{jsx as nO}from"react/jsx-runtime";import{jsx as co}from"react/jsx-runtime";var Uu=Xt.options,Fu=Xt.states,Js={...Xt.defaultOptions,variant:"color"},Vu=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],$u=[{name:"opened",title:"Opened"}],ga=e=>{let{variant:t,modifiers:o,...a}={...Js,...e},l={};Object.keys(o||{}).forEach(c=>{c==="opened"&&(l.opened=!!o?.[c],l.popup=o?.[c]?co(be,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let s=l.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return co("div",{style:s,children:co(ar,{...a,...l})});case"icon":return co("div",{style:s,children:co(ar,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...l})});default:return co("div",{style:s,children:co(ar,{value:"rgba(183, 118 , 118, 1.00)",...a,...l})})}};ga.options=Uu;ga.states=Fu;ga.variants=Vu;ga.defaultOptions=Js;ga.modifiers=$u;var kl="combobox",qs=kl;import{Fragment as vl,jsx as he,jsxs as ka}from"react/jsx-runtime";var Ys="k-combobox",Xu=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],Wu={size:[i.undefined,i.small,i.medium,i.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Qs={separators:!0},He=e=>{let{size:t,rounded:o,fillMode:a,separators:l=Qs.separators,prefix:s,suffix:c,value:m,placeholder:h,hover:N,focus:v,valid:k,invalid:u,required:M,loading:C,disabled:S,popup:R,opened:E,readonly:D,adaptive:se,adaptiveSettings:fe,adaptiveTitle:Ee,adaptiveSubtitle:$e,adaptiveCustomValue:Xe,id:xo,autocomplete:xr,activeDescendant:Ka,"aria-label":rd,...ld}=e,nd=xo?`${xo}-listbox`:void 0;return ka(vl,{children:[ka(Te,{...ld,size:t,rounded:o,fillMode:a,hover:N,focus:v,valid:k,invalid:u,required:M,loading:C,disabled:S,readonly:D,className:r(e.className,Ys),children:[s&&ka(vl,{children:[he(tt,{children:s}),l&&he(at,{})]}),he(Je,{placeholder:h,value:m,role:"combobox","aria-haspopup":"listbox","aria-expanded":E?"true":"false","aria-controls":E?nd:void 0,"aria-activedescendant":E&&Ka?Ka:void 0,"aria-autocomplete":xr,"aria-invalid":u?"true":void 0,"aria-busy":C?"true":void 0,"aria-label":rd,disabled:S,readOnly:D}),he(Ie,{valid:k,invalid:u,loading:C,disabled:S}),he(Be,{loading:C,disabled:S}),he(We,{loading:C,disabled:S,readonly:D,value:m}),c&&ka(vl,{children:[l&&he(at,{}),he(ot,{children:c})]}),he(d,{className:"k-input-button",icon:"caret-alt-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:S})]}),E&&R&&he(j,{className:"k-list-container k-combobox-popup",containerClassName:"k-combobox-popup-container",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:R}),se&&he(me,{adaptive:!0,id:xo?`${xo}-adaptive`:void 0,...fe,header:he(Re,{actionsEnd:he(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:m,inputPlaceholder:h,title:Ee,subtitle:$e}),children:he("div",{className:"k-list-container",children:he(V,{customValue:Xe?he(Vt,{text:`Use "${m}"`}):void 0,size:"large",children:ka(q,{"aria-label":Ee||"Options",children:[he(B,{text:"List item"}),he(B,{text:"List item"}),he(B,{text:"List item"})]})})})})]})};He.states=Xu;He.options=Wu;He.className=Ys;He.defaultOptions=Qs;He.moduleName=kl;He.folderName=qs;He.ariaSpec={selector:".k-combobox",rules:[{selector:".k-combobox > .k-input-inner",attribute:"role=combobox",usage:"Identifies the input as a combobox."},{selector:".k-combobox > .k-input-inner",attribute:"aria-haspopup=listbox",usage:"Indicates the combobox has a listbox popup."},{selector:".k-combobox > .k-input-inner",attribute:"aria-expanded",usage:"Indicates whether the popup is open."},{selector:".k-combobox > .k-input-inner",attribute:"aria-controls=${id}-listbox (when open)",usage:"Points to the listbox element when popup is open."},{selector:".k-combobox > .k-input-inner",attribute:"aria-activedescendant (when open)",usage:"Points to the focused item in the listbox."},{selector:".k-combobox > .k-input-inner",attribute:"aria-autocomplete=list|both|inline (when has autocomplete)",usage:"Indicates the autocomplete behavior."},{selector:".k-combobox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the combobox is in an invalid state."},{selector:".k-combobox > .k-input-inner",attribute:"aria-busy=true (when loading)",usage:"Rendered when the combobox is loading data."},{selector:".k-combobox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name provided by consuming app."},{selector:".k-combobox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the combobox is disabled."},{selector:".k-combobox .k-input-button",attribute:"role=button or nodeName=button",usage:"The dropdown toggle button."},{selector:".k-combobox .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-combobox .k-input-button",attribute:"tabindex=-1",usage:"Dropdown button is not in the tab order."},{selector:".k-combobox-popup .k-list-content, .k-combobox-popup .k-list-ul",attribute:"role=listbox",usage:"The popup list container has the listbox role."},{selector:".k-combobox-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."},{selector:".k-combobox-popup .k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state."},{selector:".k-combobox-popup .k-no-data",attribute:"aria-live=polite",usage:"Announces no-data state to screen readers."}]};var Ye=He;import{jsx as Ju}from"react/jsx-runtime";var Zs=e=>Ju(Ye,{...e});import{jsx as UO,jsxs as FO}from"react/jsx-runtime";import{jsx as qO,jsxs as YO}from"react/jsx-runtime";import{jsx as o0,jsxs as a0}from"react/jsx-runtime";import{Fragment as d0,jsx as i0}from"react/jsx-runtime";import{Fragment as f0,jsx as b0}from"react/jsx-runtime";import{jsx as k0,jsxs as v0}from"react/jsx-runtime";import{Fragment as E0,jsx as A0,jsxs as w0}from"react/jsx-runtime";import{jsx as P0}from"react/jsx-runtime";import{jsx as B0}from"react/jsx-runtime";import{jsx as V0,jsxs as $0}from"react/jsx-runtime";import{jsx as Q0,jsxs as Z0}from"react/jsx-runtime";import{jsx as Wt,jsxs as eb}from"react/jsx-runtime";var qu=He.states,Yu=He.defaultOptions,Qu=He.options,Zu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],ju=[],va=e=>{let{modifiers:t,...o}=e,a={},l=Wt(V,{style:{width:300},size:o.size,children:eb(q,{children:[Wt(B,{children:"List item"}),Wt(B,{children:"List item"}),Wt(B,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?Wt(g,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[s]?Wt(Kt,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[s],a.popup=t?.[s]?l:void 0;break;default:break}}),Wt("div",{children:Wt(Zs,{value:"Value",style:{width:300},...o,...a})})};va.options=Qu;va.states=qu;va.variants=ju;va.defaultOptions=Yu;va.modifiers=Zu;var Ll="menu-button",js=Ll;import{jsx as ab}from"react/jsx-runtime";var ei="k-menu-button",tb=[n.hover,n.focus,n.active,n.selected,n.disabled],ob={size:[i.undefined,i.small,i.medium,i.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[f.undefined,f.base,f.primary,f.secondary,f.tertiary,f.success,f.warning,f.error,f.info,f.light,f.dark,f.inverse]},Cl={showArrow:!0,arrowIconName:"caret-alt-down"},Q=e=>{let{size:t,rounded:o,fillMode:a,themeColor:l,hover:s,focus:c,active:m,selected:h,disabled:N,icon:v,text:k,showArrow:u=Cl.showArrow,arrowIconName:M=Cl.arrowIconName,expanded:C,...S}=e;return ab(d,{...S,className:r(e.className,ei),text:k,size:t,rounded:o,fillMode:a,themeColor:l,hover:s,focus:c,active:m,selected:h,disabled:N,icon:v,showArrow:u,arrowIconName:M,"aria-expanded":C?"true":"false",...!k&&v&&!e["aria-label"]&&{"aria-label":"Menu"},...N&&{"aria-disabled":"true"}})};Q.states=tb;Q.options=ob;Q.className=ei;Q.defaultOptions=Cl;Q.moduleName=Ll;Q.folderName=js;Q.ariaSpec={selector:".k-menu-button",rules:[{selector:".k-menu-button",attribute:"role=button or nodeName=button",usage:"Omitted if the button DOM element is used."},{selector:".k-menu-button",attribute:"aria-label (when icon-only)",usage:"Required when no text is visible in the button."},{selector:".k-menu-button",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-menu-button",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-menu-button.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};import{jsx as IP}from"react/jsx-runtime";import{jsx as HP}from"react/jsx-runtime";import{jsx as DP}from"react/jsx-runtime";var Qe="menu",ut=Qe;import{jsx as La,jsxs as ti}from"react/jsx-runtime";var Ml="k-menu-item",rb=[n.hover,n.focus,n.active,n.selected,n.disabled],lb={},oi={iconPosition:"before"},ye=e=>{let{hover:t,focus:o,active:a,selected:l,disabled:s,icon:c,text:m,first:h,last:N,showArrow:v,arrowIconName:k,iconPosition:u=oi.iconPosition,dir:M,children:C,expanded:S,...R}=e,E=k;return E||(E=M==="rtl"?"caret-alt-left":"caret-alt-right"),ti("li",{...R,className:r(e.className,Ml,"k-item",A(Ml,{focus:o,disabled:s,hover:t,active:a,selected:l}),{"k-first":h,"k-last":N}),role:"menuitem",...v&&{"aria-haspopup":"menu"},...v&&{"aria-expanded":S?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[ti("span",{className:r("k-link k-menu-link"),children:[c&&u==="before"&&La(g,{className:"k-menu-link-icon",icon:c}),La("span",{className:"k-menu-link-text",children:m}),c&&u==="after"&&La(g,{className:"k-menu-link-icon",icon:c}),v&&La("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:La(g,{icon:E})})]}),C]})};ye.states=rb;ye.options=lb;ye.className=Ml;ye.defaultOptions=oi;ye.moduleName=Qe;ye.folderName=ut;import{jsx as Ca,jsxs as ai}from"react/jsx-runtime";var yl="k-menu-item",nb=[n.hover,n.focus,n.active,n.selected,n.disabled],sb={},Sl={dir:"ltr",iconPosition:"before"},ie=e=>{let{hover:t,focus:o,active:a,selected:l,disabled:s,icon:c,text:m,first:h,last:N,showArrow:v,arrowIconName:k,iconPosition:u=Sl.iconPosition,dir:M=Sl.dir,children:C,popup:S,expanded:R,...E}=e,D=k;return D||(D=M==="rtl"?"caret-alt-left":"caret-alt-right"),ai("li",{...E,className:r(e.className,yl,"k-item",A(yl,{focus:o,disabled:s}),{"k-first":h,"k-last":N}),role:"menuitem",...v&&{"aria-haspopup":"menu"},...v&&{"aria-expanded":R?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[ai("span",{className:r("k-link k-menu-link",A("k-menu-link",{hover:t,active:a,selected:l,disabled:s})),children:[c&&u==="before"&&Ca(g,{className:"k-menu-link-icon",icon:c}),Ca("span",{className:"k-menu-link-text",children:m}),c&&u==="after"&&Ca(g,{className:"k-menu-link-icon",icon:c}),v&&Ca("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Ca(g,{icon:D})})]}),C,S]})};ie.states=nb;ie.options=sb;ie.className=yl;ie.defaultOptions=Sl;ie.moduleName=Qe;ie.folderName=ut;import{jsx as pb}from"react/jsx-runtime";var ri="k-menu-scroll-wrapper",ib=[],db={},cb={},po=e=>{let{className:t,children:o,orientation:a,...l}=e;return pb("div",{...l,className:r(t,ri,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};po.states=ib;po.options=db;po.className=ri;po.defaultOptions=cb;po.moduleName=Qe;po.folderName=ut;var li=po;import{Fragment as Al,jsx as mo,jsxs as lr}from"react/jsx-runtime";var wl="k-menu",mb=[],ub={},nr={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Ce=e=>{let{children:t,orientation:o=nr.orientation,header:a=nr.header,scrollable:l,scrollButtonsPosition:s=nr.scrollButtonsPosition,wrapperStyles:c,dir:m,popup:h,contextMenu:N,...v}=e,k={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},u=mo("ul",{dir:m,...v,className:r(e.className,"k-reset",wl,{[`${wl}-${o}`]:o,"k-header":a}),role:N?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return lr(Al,{children:[l?lr(li,{orientation:o,style:c,dir:e.dir,children:[s==="start"&&lr(Al,{children:[mo(d,{fillMode:"flat",icon:`caret-alt-${k[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),mo(d,{fillMode:"flat",icon:`caret-alt-${k[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&mo(d,{fillMode:"flat",icon:`caret-alt-${k[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),u,s==="end"&&lr(Al,{children:[mo(d,{fillMode:"flat",icon:`caret-alt-${k[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),mo(d,{fillMode:"flat",icon:`caret-alt-${k[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&mo(d,{fillMode:"flat",icon:`caret-alt-${k[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):u,h]})};Ce.states=mb;Ce.options=ub;Ce.className=wl;Ce.defaultOptions=nr;Ce.moduleName=Qe;Ce.folderName=ut;Ce.ariaSpec={selector:".k-menu",rules:[{selector:".k-menu:not(.k-context-menu)",attribute:"role=menubar",usage:"Announces the Menu menubar role."},{selector:".k-menu.k-menu-vertical",attribute:"aria-orientation=vertical",usage:"Announces the Menu orientation when vertical."},{selector:".k-menu-item",attribute:"role=menuitem",usage:"Announces the Menu item role."},{selector:".k-menu-item[aria-haspopup]",attribute:"aria-haspopup=menu",usage:"Indicates a popup menu is associated with the item."},{selector:".k-menu-item[aria-haspopup]",attribute:"aria-expanded=true/false",usage:"Indicates whether the submenu is expanded."},{selector:".k-menu-item.k-disabled",attribute:"aria-disabled=true",usage:"Informs assistive technologies that a Menu item is disabled."},{selector:".k-menu-expand-arrow",attribute:"aria-hidden=true",usage:"Expand arrow elements are hidden from assistive technologies."},{selector:".k-menu-popup .k-menu-group",attribute:"role=menu",usage:"The role of the nested menu displayed in a popup."},{selector:".k-menu-scroll-button",attribute:"tabindex=-1",usage:"Scroll buttons are removed from the tab sequence."},{selector:".k-menu-scroll-button",attribute:"aria-label",usage:"Scroll buttons have an accessible label."},{selector:".k-menu-item.k-focus",attribute:"tabindex=0",usage:"The focused item has tabindex 0."},{selector:".k-menu-item[aria-haspopup][aria-controls]",attribute:"aria-controls=ul.k-menu-group id",usage:"Points to the ID of the submenu. Only present when the item controls a submenu element."},{selector:".k-menu-popup .k-menu-group",attribute:"id",usage:"Each nested menu has a deterministic id linked to the parent aria-controls."}]};import{jsx as bb}from"react/jsx-runtime";var El="k-separator",ni={orientation:"horizontal"},Eo=e=>{let{orientation:t=ni.orientation,...o}=e;return bb("li",{...o,className:r(e.className,"k-item",El,{[`${El}-${t}`]:t}),role:"separator"})};Eo.className=El;Eo.defaultOptions=ni;Eo.moduleName=Qe;Eo.folderName=ut;import{Fragment as bH,jsx as fH}from"react/jsx-runtime";import{jsx as xb}from"react/jsx-runtime";var Il="k-menu-group",fb=[],Tb={size:[i.undefined,i.small,i.medium,i.large]},hb={},Se=e=>{let{children:t,size:o,...a}=e;return xb("ul",{...a,className:r(e.className,Il,y(Il,{size:o})),role:"menu",children:t})};Se.states=fb;Se.options=Tb;Se.className=Il;Se.defaultOptions=hb;Se.moduleName=Qe;Se.folderName=ut;import{Fragment as Nb,jsx as Io,jsxs as gb}from"react/jsx-runtime";var Rl=e=>Io(Ce,{children:gb(Nb,{children:[Io(ye,{first:!0,text:"Item 1"}),Io(ye,{showArrow:!0,arrowIconName:"caret-alt-down",text:"Item 2"}),Io(ye,{showArrow:!0,arrowIconName:"caret-alt-down",text:"Item 3"}),Io(ye,{text:"Item 4"}),Io(ye,{last:!0,text:"Item 5"})]}),...e});import{Fragment as wH,jsx as SH,jsxs as AH}from"react/jsx-runtime";import{Fragment as PH,jsx as OH,jsxs as HH}from"react/jsx-runtime";import{Fragment as _H,jsx as DH,jsxs as zH}from"react/jsx-runtime";import{Fragment as XH,jsx as $H,jsxs as WH}from"react/jsx-runtime";import{jsx as uo,jsxs as Mb}from"react/jsx-runtime";var kb=Ce.options,vb=Ce.states,si={...Ce.defaultOptions,variant:"horizontal"},Lb=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Cb=[{name:"scrollable",title:"Scrollable"},{name:"opened",title:"Opened"}],Ma=e=>{let{variant:t,modifiers:o,...a}={...si,...e},l={};return Object.keys(o||{}).forEach(s=>{switch(s){case"scrollable":l.scrollable=!!o?.[s];break;case"opened":l.opened=!!o?.[s],l.popup=uo(j,{className:"k-menu-popup",children:Mb(Se,{children:[uo(ie,{text:"Item 1"}),uo(ie,{text:"Item 2"}),uo(Eo,{}),uo(ie,{text:"Item 3"})]})});break}}),t==="vertical"?uo(Rl,{...a,...l,orientation:"vertical",style:{width:"200px"}}):uo(Rl,{...a,...l})};Ma.options=kb;Ma.states=vb;Ma.variants=Lb;Ma.defaultOptions=si;Ma.modifiers=Cb;import{Fragment as MK,jsx as LK,jsxs as CK}from"react/jsx-runtime";import{jsx as wK}from"react/jsx-runtime";import{Fragment as Eb,jsx as Ct,jsxs as ii}from"react/jsx-runtime";var yb=d.states,di={...d.defaultOptions,variant:"text"},Sb=d.options,Ab=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],wb=[{name:"opened",title:"Opened"}],ya=e=>{let{variant:t,modifiers:o,...a}={...di,...e},l={},s=Ct(j,{className:"k-menu-popup",children:ii(Se,{size:a.size,children:[Ct(ie,{first:!0,text:"Menu Item"}),Ct(ie,{text:"Menu Item"}),Ct(ie,{last:!0,text:"Menu Item"})]})}),c;switch(t){case"icon-only":c=Ct("div",{children:Ct(Q,{...a,...l,icon:"star"})});break;case"icon-and-text":c=Ct("div",{children:Ct(Q,{...a,...l,icon:"star",children:"Dropdown Button"})});break;default:c=Ct("div",{children:Ct(Q,{...a,...l,children:"Dropdown Button"})});break}return ii(Eb,{children:[c,o?.opened&&s]})};ya.options=Sb;ya.states=yb;ya.variants=Ab;ya.defaultOptions=di;ya.modifiers=wb;var Ol="split-button",ci=Ol;import{Fragment as Ob,jsx as Pl,jsxs as pi}from"react/jsx-runtime";var Hl="k-split-button",Ib=[n.hover,n.focus,n.active,n.selected,n.disabled],Rb={size:[i.undefined,i.small,i.medium,i.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[f.undefined,f.base,f.primary,f.secondary,f.tertiary,f.success,f.warning,f.error,f.info,f.light,f.dark,f.inverse]},mi={arrowIconName:"caret-alt-down"},$=e=>{let{size:t,rounded:o,fillMode:a,themeColor:l,hover:s,focus:c,active:m,selected:h,disabled:N,icon:v,text:k,arrowIconName:u=mi.arrowIconName,popup:M,opened:C,popupId:S,...R}=e;return pi(Ob,{children:[pi("div",{...R,className:r(e.className,Hl,"k-button-group",y(Hl,{rounded:o})),children:[Pl(d,{text:k,icon:v,size:t,rounded:o,fillMode:a,themeColor:l,hover:s,focus:c,active:m,selected:h,disabled:N,...!k&&!e.children&&v&&{"aria-label":"Action"},children:e.children}),Pl(d,{className:"k-split-button-arrow",icon:u,size:t,rounded:o,fillMode:a,disabled:N,"aria-label":"Toggle dropdown","aria-expanded":C?"true":"false","aria-controls":C?S:void 0,tabIndex:-1,...N&&{"aria-disabled":"true"}})]}),C&&M&&Pl(j,{className:"k-menu-popup",children:M})]})};$.states=Ib;$.options=Rb;$.className=Hl;$.defaultOptions=mi;$.moduleName=Ol;$.folderName=ci;$.ariaSpec={selector:".k-split-button",rules:[{selector:".k-split-button-arrow",attribute:"role=button or nodeName=button",usage:"Omitted if the <button> DOM element is used."},{selector:".k-split-button-arrow",attribute:"aria-label",usage:"The attribute must be present when no text is initially visible in the button."},{selector:".k-split-button-arrow",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-split-button-arrow",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-split-button-arrow",attribute:"tabindex=-1",usage:"The arrow button is removed from the tab sequence."},{selector:".k-split-button-arrow.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};var Kl=$;import{jsx as Hb}from"react/jsx-runtime";var Pb="k-toolbar-separator",Tt=e=>Hb("div",{className:r(Pb,e.className,"k-separator")});var Et="toolbar",Jt=Et;import{Fragment as Gl,jsx as X,jsxs as Ro}from"react/jsx-runtime";var It="k-toolbar",Kb=[n.focus],Gb={size:[i.undefined,i.small,i.medium,i.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},Bb={scrollButtons:"around"},Z=e=>{let{size:t,fillMode:o,focus:a,resizable:l,scrollable:s,scrollButtons:c,scrollingPosition:m,section:h,...N}=e,v=[],k=(u,M)=>{let C=[];if(u.type===d&&u.props.className&&u.props.className.includes("k-toolbar-overflow-button"))C.push(X(d,{...u.props,className:`${u.props.className?u.props.className:""}`},`${M}-${new Date().getTime()}`));else if(u.type===d)C.push(X(d,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${M}-${new Date().getTime()}`));else if(u.type===$o)C.push(X($o,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${M}-${new Date().getTime()}`));else if(u.type===Kt)C.push(X(Kt,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${M}-${new Date().getTime()}`));else if(u.type===Q)C.push(X(Q,{...u.props,className:`k-toolbar-menu-button ${u.props.className?u.props.className:""}`},`${M}-${new Date().getTime()}`));else if(u.type===Kl)C.push(X(Kl,{...u.props,className:`k-toolbar-split-button ${u.props.className?u.props.className:""}`},`${M}-${new Date().getTime()}`));else if(u.type===K||u.props.className&&u.props.className.includes("k-button-group")){let S=[];(Array.isArray(u.props.children)?u.props.children:[u.props.children]).forEach((E,D)=>{S.push(X(d,{...E.props,className:`${E.props.className?E.props.className:""}`},`${D}-${new Date().getTime()}`))}),C.push(X(K,{...u.props,className:`k-toolbar-button-group ${u.props.className?u.props.className:""}`,children:S},`${M}-${new Date().getTime()}`))}else u.type===He?C.push(X(He,{...u.props,className:`k-toolbar-combobox ${u.props.className?u.props.className:""}`},`${M}-${new Date().getTime()}`)):u.type===Y?C.push(X(Y,{...u.props,className:`k-toolbar-dropdownlist ${u.props.className?u.props.className:""}`},`${M}-${new Date().getTime()}`)):u.type===qe?C.push(X(qe,{...u.props,className:`k-toolbar-colorpicker ${u.props.className?u.props.className:""}`},`${M}-${new Date().getTime()}`)):C.push(u);C.forEach(S=>{v.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((M,C)=>{k(M,C)}),Ro("div",{...N,className:r(e.className,It,y(It,{size:t,fillMode:o}),A(It,{focus:a}),{[`${It}-resizable`]:l,[`${It}-scrollable`]:s,[`${It}-scrollable-overlay`]:s&&c==="hidden",[`${It}-scrollable-${m}`]:m&&m!=="both",[`${It}-section`]:h}),role:"toolbar","aria-label":"Toolbar",children:[!s&&v,s&&c==="hidden"&&X("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:v}),s&&c==="start"&&Ro(Gl,{children:[Ro(K,{children:[X("span",{className:r("k-toolbar-prev","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:X(g,{className:"k-button-icon",icon:"caret-alt-left"})}),X("span",{className:r("k-toolbar-next","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:X(g,{className:"k-button-icon",icon:"caret-alt-right"})})]}),X(Tt,{className:"k-toolbar-button-separator"}),X("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:v})]}),s&&c==="end"&&Ro(Gl,{children:[X("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:v}),X(Tt,{className:"k-toolbar-button-separator"}),Ro(K,{children:[X("span",{className:r("k-toolbar-prev","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:X(g,{className:"k-button-icon",icon:"caret-alt-left"})}),X("span",{className:r("k-toolbar-next","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:X(g,{className:"k-button-icon",icon:"caret-alt-right"})})]})]}),s&&(c==="around"||!c)&&Ro(Gl,{children:[X("span",{className:r("k-toolbar-prev","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:X(g,{className:"k-button-icon",icon:"caret-alt-left"})}),X(Tt,{className:"k-toolbar-button-separator"}),X("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:v}),X(Tt,{className:"k-toolbar-button-separator"}),X("span",{className:r("k-toolbar-next","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:X(g,{className:"k-button-icon",icon:"caret-alt-right"})})]})]})};Z.states=Kb;Z.options=Gb;Z.className=It;Z.defaultOptions=Bb;Z.moduleName=Et;Z.folderName=Jt;Z.ariaSpec={selector:".k-toolbar",rules:[{selector:".k-toolbar",attribute:"role=toolbar",usage:"The component role."},{selector:".k-toolbar",attribute:"aria-label or aria-labelledby",usage:"Must be supplied when multiple toolbars exist."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-haspopup=menu",usage:"The overflow button opens a menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-expanded=true/false",usage:"Announces popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])[aria-controls]',attribute:"aria-controls=.k-toolbar-popup .k-menu-group id",usage:"Indicates the connection between the toggle button and the menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:".k-toolbar-popup .k-menu-group",attribute:"role=menu",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-menu-group[aria-labelledby]",attribute:"aria-labelledby=.k-toolbar-overflow-button id",usage:"Associates the title of the menu toggle button."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-expanded=true/false",usage:"Announces section popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])[aria-controls]',attribute:"aria-controls=.k-toolbar-popup .k-toolbar-items-list id",usage:"Indicates the connection between the toggle button and the section popup."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"role=toolbar",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-toolbar-items-list[aria-labelledby]",attribute:"aria-labelledby=.k-toolbar-overflow-button id",usage:"Associates the title of the section toggle button."}]};import{jsx as Ub}from"react/jsx-runtime";var ui="k-floating-toolbar",Db=[],_b={},zb={},Oo=e=>{let{...t}=e;return Ub("div",{...t,className:r(e.className,ui),children:e.children})};Oo.states=Db;Oo.options=_b;Oo.className=ui;Oo.defaultOptions=zb;Oo.moduleName=Et;Oo.folderName=Jt;import{jsx as Xb}from"react/jsx-runtime";var Bl="k-toolbar-item",Fb=[n.focus],Vb={},$b={},Po=e=>{let{focus:t,...o}=e;return Xb("div",{...o,className:r(e.className,Bl,A(Bl,{focus:t})),children:e.children})};Po.states=Fb;Po.options=Vb;Po.className=Bl;Po.defaultOptions=$b;Po.moduleName=Et;Po.folderName=Jt;import{jsx as bi}from"react/jsx-runtime";var fi="k-toolbar-popup",Wb=[],Jb={size:[i.undefined,i.small,i.medium,i.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},qb={},bo=e=>{let{size:t,fillMode:o,section:a,...l}=e;return bi(j,{...l,className:r(e.className,fi),children:a?bi("span",{className:r("k-toolbar-items-list",y("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};bo.states=Wb;bo.options=Jb;bo.className=fi;bo.defaultOptions=qb;bo.moduleName=Et;bo.folderName=Jt;var sr=bo;import{jsx as RG}from"react/jsx-runtime";import{jsx as KG}from"react/jsx-runtime";import{jsx as _G}from"react/jsx-runtime";import{jsx as XG,jsxs as WG}from"react/jsx-runtime";import{jsx as QG}from"react/jsx-runtime";import{jsx as Rt,jsxs as ef}from"react/jsx-runtime";var Yb=$.states,Ti={...$.defaultOptions,variant:"text"},Qb=$.options,Zb=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],jb=[{name:"opened",title:"Opened"}],Sa=e=>{let{variant:t,modifiers:o,...a}={...Ti,...e},l={},s=ef(Se,{size:a.size,children:[Rt(ie,{first:!0,text:"Menu Item"}),Rt(ie,{text:"Menu Item"}),Rt(ie,{last:!0,text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(c=>{c==="opened"&&(l.opened=!!o?.[c],l.popup=o?.[c]?s:"")}),t){case"icon-only":return Rt("div",{children:Rt($,{...a,...l,icon:"star"})});case"icon-and-text":return Rt("div",{children:Rt($,{...a,...l,icon:"star",children:"Split Button"})});default:return Rt("div",{children:Rt($,{...a,...l,children:"Split Button"})})}};Sa.options=Qb;Sa.states=Yb;Sa.variants=Zb;Sa.defaultOptions=Ti;Sa.modifiers=jb;import{jsx as fo,jsxs as tf}from"react/jsx-runtime";var hi=e=>fo(Z,{children:[fo(d,{children:"Button"},"toolbar-button"),fo(Q,{text:"Menu button"},"toolbar-menu-button"),fo($,{children:"Split button"},"toolbar-split-button"),tf(K,{children:[fo(d,{className:"k-group-start",icon:"align-left",children:"Left"}),fo(d,{icon:"align-center",children:"Center"}),fo(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as yB,jsxs as SB}from"react/jsx-runtime";import{jsx as Ze,jsxs as xi}from"react/jsx-runtime";var Ni=e=>Ze(Z,{scrollable:!0,...e,children:[Ze(d,{children:"Button"},"toolbar-button"),Ze(Q,{text:"Menu button"},"toolbar-menu-button"),Ze($,{children:"Split button"},"toolbar-split-button"),xi(K,{children:[Ze(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Ze(d,{icon:"align-center",children:"Center"}),Ze(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Ze(d,{children:"Button"},"toolbar-button"),Ze(Q,{text:"Menu button"},"toolbar-menu-button"),Ze($,{children:"Split button"},"toolbar-split-button"),xi(K,{children:[Ze(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Ze(d,{icon:"align-center",children:"Center"}),Ze(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as je,jsxs as gi}from"react/jsx-runtime";var ki=({scrollingPosition:e="start",...t})=>je(Z,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[je(d,{children:"Button"},"toolbar-button"),je(Q,{text:"Menu button"},"toolbar-menu-button"),je($,{children:"Split button"},"toolbar-split-button"),gi(K,{children:[je(d,{className:"k-group-start",icon:"align-left",children:"Left"}),je(d,{icon:"align-center",children:"Center"}),je(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),je(d,{children:"Button"},"toolbar-button"),je(Q,{text:"Menu button"},"toolbar-menu-button"),je($,{children:"Split button"},"toolbar-split-button"),gi(K,{children:[je(d,{className:"k-group-start",icon:"align-left",children:"Left"}),je(d,{icon:"align-center",children:"Center"}),je(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as of,jsx as Ue,jsxs as ir}from"react/jsx-runtime";var vi=({fillMode:e,size:t,...o})=>ir(of,{children:[Ue(Z,{section:!0,fillMode:e,size:t,children:[Ue(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),ir(K,{fillMode:e,children:[Ue(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),Ue(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),Ue(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),Ue(Tt,{className:"k-toolbar-button-separator"}),Ue(d,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,rounded:"none","aria-label":"More options","aria-expanded":"false"})],...o}),ir(sr,{size:t,fillMode:e,section:!0,...o,children:[Ue($,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),Ue(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Ue(Tt,{}),Ue(Q,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),ir(K,{fillMode:e,children:[Ue(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),Ue(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),Ue(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as n1,jsx as r1,jsxs as l1}from"react/jsx-runtime";import{Fragment as h1,jsx as f1,jsxs as T1}from"react/jsx-runtime";import{jsx as qt}from"react/jsx-runtime";var af=Z.options,rf=Z.states,Li={...Z.defaultOptions,variant:"default"},lf=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],nf=[],Aa=e=>{let{variant:t,...o}={...Li,...e};switch(t){case"responsive":return qt("div",{children:qt(vi,{style:{width:"583px"},...o})});case"overlay":return qt("div",{children:qt(ki,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return qt("div",{children:qt(Ni,{style:{width:"583px"},...o})});default:return qt("div",{children:qt(hi,{style:{width:"583px"},...o})})}};Aa.options=af;Aa.states=rf;Aa.variants=lf;Aa.defaultOptions=Li;Aa.modifiers=nf;import{jsx as sf}from"react/jsx-runtime";var Ci="k-grid-toolbar",To=e=>sf(Z,{...e,className:r(e.className,Ci),children:e.children});To.className=Ci;To.moduleName=z;To.folderName=F;import{jsx as df}from"react/jsx-runtime";var Mi="k-grid-container",oe=e=>df("div",{...e,className:r(e.className,Mi),children:e.children});oe.className=Mi;oe.moduleName=z;oe.folderName=F;import{jsx as cf}from"react/jsx-runtime";var yi="k-grid-content",ae=e=>cf("div",{...e,className:r(e.className,yi),children:e.children});ae.className=yi;ae.moduleName=z;ae.folderName=F;import{jsx as pf}from"react/jsx-runtime";var Si="k-grid-header",de=e=>{let{draggable:t,...o}=e;return pf("div",{...o,className:r(e.className,Si,{"k-grid-draggable-header":t}),children:e.children})};de.className=Si;de.moduleName=z;de.folderName=F;var Me="table",Ae=Me;import{jsx as mf}from"react/jsx-runtime";var Ai="k-table-th",Ot=e=>{let{text:t,colspan:o,rowspan:a,...l}=e,s=t||e.children;return mf("th",{colSpan:o,rowSpan:a,...l,className:r(e.className,Ai),children:s})};Ot.className=Ai;Ot.moduleName=Me;Ot.folderName=Ae;import{jsx as Yt,jsxs as Dl}from"react/jsx-runtime";var _l="k-header",uf=[n.hover,n.focus,n.active],wi={sortIcon:"sort-asc-small"},I=e=>{let{menu:t,sortable:o,filterable:a,sticky:l,resizable:s,columnTitle:c,hover:m,focus:h,active:N,sortIcon:v=wi.sortIcon,sortOrder:k,accessibleLabel:u,...M}=e;return Dl(Ot,{...M,className:r(e.className,_l,{"k-filterable":t||a,"k-sorted":o,"k-grid-header-sticky":l,"k-touch-action-none":s},A(_l,{hover:m,focus:h,active:N})),children:[c&&Dl("span",{className:"k-cell-inner",children:[Dl("span",{className:"k-link",children:[Yt("span",{className:"k-column-title",children:c}),o&&Yt("span",{className:"k-sort-icon",children:Yt(g,{icon:v})}),k&&Yt("span",{className:"k-sort-order",children:k})]}),t&&Yt("a",{href:"#",className:r("k-grid-header-menu",{"k-active":N,"k-grid-filter-menu":t==="filter","k-grid-column-menu":t==="column"}),children:Yt(g,{icon:t==="filter"?"filter":"more-vertical"})})]}),!c&&u&&Yt("span",{className:"k-sr-only",children:u}),e.children,s&&Yt("span",{className:"k-column-resizer k-touch-action-none"})]})};I.states=uf;I.className=_l;I.defaultOptions=wi;I.moduleName=z;I.folderName=F;import{jsx as hf}from"react/jsx-runtime";var Ei="k-data-table",bf=[],ff={size:[i.undefined,i.small,i.medium,i.large]},Tf={},Pt=e=>{let{size:t,...o}=e;return hf("div",{...o,className:r(e.className,Ei,y("k-table",{size:t})),children:e.children})};Pt.states=bf;Pt.options=ff;Pt.className=Ei;Pt.defaultOptions=Tf;Pt.moduleName=Me;Pt.folderName=Ae;import{jsx as kf}from"react/jsx-runtime";var zl="k-table-header-wrap",xf=[n.hover,n.focus,n.disabled],Nf={},gf={},Qt=e=>{let{children:t,hover:o,focus:a,disabled:l,...s}=e;return kf("div",{...s,className:r(e.className,zl,A(zl,{hover:o,focus:a,disabled:l})),children:t})};Qt.states=xf;Qt.options=Nf;Qt.className=zl;Qt.defaultOptions=gf;Qt.moduleName=Me;Qt.folderName=Ae;import{jsx as Mf}from"react/jsx-runtime";var Ul="k-table",vf=[],Lf={size:[i.undefined,i.small,i.medium,i.large]},Cf={},we=e=>{let{size:t,...o}=e;return Mf("table",{...o,className:r(e.className,Ul,y(Ul,{size:t})),children:e.children})};we.states=vf;we.options=Lf;we.className=Ul;we.defaultOptions=Cf;we.moduleName=Me;we.folderName=Ae;import{jsx as Fl}from"react/jsx-runtime";var Vl="k-table-header",yf=[n.hover,n.focus,n.disabled],Sf={},Af={},Ht=e=>{let{children:t,hover:o,focus:a,disabled:l,...s}=e;return Fl("div",{...s,className:r(e.className,Vl,A(Vl,{hover:o,focus:a,disabled:l})),children:Fl(Qt,{children:Fl(we,{children:t})})})};Ht.states=yf;Ht.options=Sf;Ht.className=Vl;Ht.defaultOptions=Af;Ht.moduleName=Me;Ht.folderName=Ae;import{jsx as Rf}from"react/jsx-runtime";var Ii="k-table-scroller",wf=[],Ef={},If={},Ho=e=>{let{children:t,...o}=e;return Rf("div",{...o,className:r(e.className,Ii),children:t})};Ho.states=wf;Ho.options=Ef;Ho.className=Ii;Ho.defaultOptions=If;Ho.moduleName=Me;Ho.folderName=Ae;import{jsx as zD}from"react/jsx-runtime";import{jsx as Kf}from"react/jsx-runtime";var Ri="k-table-footer",Of=[],Pf={},Hf={},Zt=e=>{let{children:t,...o}=e;return Kf("div",{...o,className:r(e.className,Ri),children:t})};Zt.states=Of;Zt.options=Pf;Zt.className=Ri;Zt.defaultOptions=Hf;Zt.moduleName=Me;Zt.folderName=Ae;import{jsx as _f}from"react/jsx-runtime";var $l="k-table-list",Gf=[],Bf={size:[i.undefined,i.small,i.medium,i.large]},Df={},jt=e=>{let{size:t,virtualization:o,...a}=e;return _f("ul",{...a,className:r(e.className,"k-table",$l,y($l,{size:t}),{"k-virtual-table":o}),children:e.children})};jt.states=Gf;jt.options=Bf;jt.className=$l;jt.defaultOptions=Df;jt.moduleName=Me;jt.folderName=Ae;import{jsx as Uf}from"react/jsx-runtime";var zf="k-table-thead",re=e=>Uf("thead",{className:r(e.className,zf),children:e.children});import{jsx as Vf}from"react/jsx-runtime";var Ff="k-table-tbody",ce=e=>Vf("tbody",{className:r(e.className,Ff),children:e.children});import{jsx as l_}from"react/jsx-runtime";import{jsx as Xf}from"react/jsx-runtime";var Xl="k-table-row",$f=[n.hover,n.focus,n.selected,n.disabled,n.highlighted],w=e=>{let{hover:t,focus:o,selected:a,highlighted:l,disabled:s,alt:c,...m}=e;return Xf("tr",{...m,className:r(e.className,Xl,{"k-table-alt-row":c},A(Xl,{hover:t,focus:o,disabled:s,selected:a,highlighted:l})),children:e.children})};w.states=$f;w.className=Xl;import{jsx as Jf}from"react/jsx-runtime";var Wl="k-table-row",Wf=[n.hover,n.focus,n.selected,n.disabled],dr=e=>{let{hover:t,focus:o,selected:a,disabled:l,alt:s,...c}=e;return Jf("li",{...c,className:r(e.className,Wl,{"k-table-alt-row":s},A(Wl,{hover:t,focus:o,disabled:l,selected:a})),children:e.children})};dr.states=Wf;dr.className=Wl;import{jsx as f_}from"react/jsx-runtime";import{jsx as Yf}from"react/jsx-runtime";var Jl="k-table-td",qf=[n.focus,n.selected,n.highlighted],p=e=>{let{focus:t,selected:o,highlighted:a,text:l,colspan:s,rowspan:c,...m}=e,h=l||e.children;return Yf("td",{colSpan:s,rowSpan:c,...m,className:r(e.className,Jl,A(Jl,{focus:t,selected:o,highlighted:a})),children:h})};p.states=qf;p.className=Jl;import{jsx as v_}from"react/jsx-runtime";import{jsx as y_}from"react/jsx-runtime";import{jsx as E_}from"react/jsx-runtime";import{jsx as P_}from"react/jsx-runtime";import{jsx as B_}from"react/jsx-runtime";import{jsx as $_,jsxs as X_}from"react/jsx-runtime";import{jsx as Y_,jsxs as Q_}from"react/jsx-runtime";import{jsx as t2,jsxs as o2}from"react/jsx-runtime";import{Fragment as i2,jsx as n2,jsxs as s2}from"react/jsx-runtime";import{jsx as eT}from"react/jsx-runtime";var Pi="k-grid-header-table",pe=e=>eT(we,{...e,className:r(e.className,Pi),children:e.children});pe.className=Pi;pe.moduleName=z;pe.folderName=F;import{jsx as tT}from"react/jsx-runtime";var Hi="k-grid-table",le=e=>tT(we,{...e,className:r(e.className,Hi),children:e.children});le.className=Hi;le.moduleName=z;le.folderName=F;import{jsx as Ki,jsxs as oT}from"react/jsx-runtime";var Gi="k-grouping-header",eo=e=>{let{dropHint:t,dropClue:o,...a}=e;return oT("div",{...a,className:r(e.className,Gi),children:[o&&Ki("div",{className:"k-grouping-dropclue"}),e.children,Ki("div",{className:"k-grouping-drop-container",children:t})]})};eo.className=Gi;eo.moduleName=z;eo.folderName=F;import{jsx as aT}from"react/jsx-runtime";var Bi="k-grid-pinned-container",ql=e=>{let{position:t,...o}=e;return aT("div",{...o,className:r(e.className,Bi,{"k-pos-bottom":t==="bottom"}),children:e.children})};ql.className=Bi;ql.moduleName=z;ql.folderName=F;import{jsx as rT}from"react/jsx-runtime";var Di="k-grid-sticky-container",Yl=e=>{let{position:t,...o}=e;return rT("div",{...o,className:r(e.className,Di,{"k-pos-bottom":t==="bottom"}),children:e.children})};Yl.className=Di;Yl.moduleName=z;Yl.folderName=F;import{jsx as lT}from"react/jsx-runtime";var _i="k-grid-footer",Ql=e=>lT("div",{...e,className:r(e.className,_i),children:e.children});Ql.className=_i;Ql.moduleName=z;Ql.folderName=F;import{jsx as nT}from"react/jsx-runtime";var zi="k-grid-footer-table",Zl=e=>nT(we,{...e,className:r(e.className,zi),children:e.children});Zl.className=zi;Zl.moduleName=z;Zl.folderName=F;var jl="pager",Ui=jl;import{Fragment as Fi,jsx as Fe,jsxs as Ko}from"react/jsx-runtime";var cr="k-pager",sT=[n.focus,n.disabled],iT={size:[i.undefined,i.small,i.medium,i.large]},et={responsive:!0,pagerSizeInfo:!0,pageTitleInfo:!0,maxPagesInfo:!0,type:"numeric",pageSizes:!0,refresh:!0,previousNext:!0,info:"1 - 5 of 20 items",itemsPerPage:5,maxPages:6,currentPage:1},xe=e=>{let{responsive:t=et.responsive,size:o,pagerSizeInfo:a=et.pagerSizeInfo,pageTitleInfo:l=et.pageTitleInfo,maxPagesInfo:s=et.maxPagesInfo,itemsPerPage:c=et.itemsPerPage,maxPages:m=et.maxPages,currentPage:h=et.currentPage,previousNext:N=et.previousNext,type:v=et.type,pageSizes:k=et.pageSizes,refresh:u=et.refresh,info:M=et.info,focus:C,disabled:S,dir:R,...E}=e,D=[],se=[];for(let fe=1;fe<=m;fe++)D.push(Fe(d,{selected:fe===h,fillMode:"flat",themeColor:"primary",size:o,children:fe})),se.push(Fe("option",{selected:fe===h,children:fe}));return Ko("div",{dir:R,...E,className:r(e.className,cr,y(cr,{size:o}),A(cr,{focus:C,disabled:S}),{"k-pager-responsive":t}),children:[Ko("div",{className:r("k-pager-numbers-wrap"),children:[N&&Ko(Fi,{children:[Fe(d,{className:r("k-pager-nav","k-pager-first"),disabled:h===1&&!S,fillMode:"flat",size:o,icon:R==="rtl"?"caret-alt-to-right":"caret-alt-to-left"}),Fe(d,{className:r("k-pager-nav"),disabled:h===1&&!S,fillMode:"flat",size:o,icon:R==="rtl"?"caret-alt-right":"caret-alt-left"})]}),v==="numeric"&&Fe("div",{className:r("k-pager-numbers"),children:D}),v==="input"&&Ko("span",{className:r("k-pager-input"),children:[l&&Fe("span",{children:"Page"}),Fe(_,{value:`${h}`,size:o,showSpinButton:!1,showClearButton:!1}),Fe("span",{children:s&&`of ${m}`})]}),N&&Ko(Fi,{children:[Fe(d,{className:r("k-pager-nav"),disabled:h===m&&!S,fillMode:"flat",size:o,icon:R==="rtl"?"caret-alt-left":"caret-alt-right"}),Fe(d,{className:r("k-pager-nav","k-pager-last"),disabled:h===m&&!S,fillMode:"flat",size:o,icon:R==="rtl"?"caret-alt-to-left":"caret-alt-to-right"})]})]}),k&&Ko("span",{className:r("k-pager-sizes"),children:[Fe(Y,{value:`${c}`,size:o}),a&&Fe("span",{children:"items per page"})]}),u&&Fe(d,{className:r("k-pager-refresh"),fillMode:"flat",size:o,icon:"arrow-rotate-cw"}),M&&Fe("span",{className:r("k-pager-info"),children:M})]})};xe.states=sT;xe.options=iT;xe.className=cr;xe.defaultOptions=et;xe.moduleName=jl;xe.folderName=Ui;import{jsx as y3}from"react/jsx-runtime";import{jsx as E3}from"react/jsx-runtime";import{jsx as P3}from"react/jsx-runtime";import{jsx as Vi}from"react/jsx-runtime";var dT=xe.options,cT=xe.states,pT={...xe.defaultOptions,variant:"numeric"},mT=[{name:"numeric",title:"Numeric"},{name:"input",title:"Input"}],uT=[],wa=e=>{let{variant:t,...o}=e;return t==="input"?Vi(xe,{...o,type:"input"}):Vi(xe,{...o,type:"numeric"})};wa.options=dT;wa.states=cT;wa.variants=mT;wa.defaultOptions=pT;wa.modifiers=uT;import{jsx as bT}from"react/jsx-runtime";var $i="k-grid-pager",Mt=e=>bT(xe,{...e,className:r(e.className,$i),children:e.children});Mt.className=$i;Mt.moduleName=z;Mt.folderName=F;import{jsx as en,jsxs as TT}from"react/jsx-runtime";var tn="k-grid-stack-cell",fT=[n.focus,n.selected],pr=e=>{let{cellHeader:t,cellContent:o,edit:a,commandCell:l,dirty:s,focus:c,selected:m,...h}=e;return TT("div",{...h,className:r(e.className,tn,{"k-grid-stack-edit-cell":a,"k-command-cell":l,"k-dirty-cell":s},A(tn,{focus:c,selected:m})),children:[s&&en("span",{className:"k-dirty"}),t&&en("div",{className:"k-grid-stack-header",children:t}),en("div",{className:"k-grid-stack-content",children:o}),e.children]})};pr.states=fT;pr.className=tn;pr.moduleName=z;pr.folderName=F;import{jsx as hT}from"react/jsx-runtime";var Xi="k-grid-stack-row",mr=e=>{let{cols:t,...o}=e;return hT("div",{...o,className:r(e.className,Xi,{[`k-grid-cols-${t}`]:t}),children:e.children})};mr.className=Xi;mr.moduleName=z;mr.folderName=F;import{Fragment as p5,jsx as d5,jsxs as c5}from"react/jsx-runtime";import{Fragment as x5,jsx as T5,jsxs as h5}from"react/jsx-runtime";import{Fragment as M5,jsx as L5,jsxs as C5}from"react/jsx-runtime";import{Fragment as xT,jsx as L,jsxs as ne}from"react/jsx-runtime";var Wi=({contentClassName:e,...t})=>L(W,{_renderAriaRoot:!0,pager:L(Mt,{refresh:!1}),children:ne(xT,{children:[L(de,{children:L("div",{className:"k-grid-header-wrap",children:ne(pe,{children:[ne("colgroup",{children:[L("col",{}),L("col",{style:{width:"225px"}}),L("col",{}),L("col",{}),L("col",{})]}),ne(re,{children:[ne(w,{children:[L(I,{rowspan:1,colspan:1,columnTitle:"Product Id"}),L(I,{rowspan:1,colspan:1,columnTitle:"Name"}),L(I,{rowspan:1,colspan:1,columnTitle:"Quantity"}),L(I,{rowspan:1,colspan:1,columnTitle:"Unit Price"}),L(I,{rowspan:1,colspan:1,columnTitle:"Discontinued"})]}),ne(w,{className:"k-filter-row",children:[L(p,{children:L("div",{className:"k-filtercell",children:ne("div",{className:"k-filtercell-wrapper",children:[L(_,{}),ne("div",{className:"k-filtercell-operator",children:[L(Y,{className:"k-dropdown-operator",arrowIconName:"filter"})," ",L(d,{disabled:!0,icon:"filter-clear"})]})]})})}),L(p,{children:L("div",{className:"k-filtercell",children:ne("div",{className:"k-filtercell-wrapper",children:[L(ee,{}),ne("div",{className:"k-filtercell-operator",children:[L(Y,{className:"k-dropdown-operator",arrowIconName:"filter"})," ",L(d,{disabled:!0,icon:"filter-clear"})]})]})})}),L(p,{children:L("div",{className:"k-filtercell",children:ne("div",{className:"k-filtercell-wrapper",children:[L(ee,{}),ne("div",{className:"k-filtercell-operator",children:[L(Y,{className:"k-dropdown-operator",arrowIconName:"filter"})," ",L(d,{disabled:!0,icon:"filter-clear"})]})]})})}),L(p,{children:L("div",{className:"k-filtercell",children:ne("div",{className:"k-filtercell-wrapper",children:[L(_,{}),ne("div",{className:"k-filtercell-operator",children:[L(Y,{className:"k-dropdown-operator",arrowIconName:"filter"})," ",L(d,{disabled:!0,icon:"filter-clear"})]})]})})}),L(p,{children:L("div",{className:"k-filtercell",children:ne("div",{className:"k-filtercell-wrapper",children:[L(Y,{}),L("div",{className:"k-filtercell-operator",children:L(d,{disabled:!0,icon:"filter-clear"})})]})})})]})]})]})})}),L(oe,{children:L(ae,{className:e,children:ne(le,{children:[ne("colgroup",{children:[L("col",{}),L("col",{style:{width:"225px"}}),L("col",{}),L("col",{}),L("col",{})]}),ne(ce,{children:[ne(w,{className:"k-master-row",children:[L(p,{children:"1"}),L(p,{children:"Chai"}),L(p,{children:"10 boxes x 20 bags"}),L(p,{children:"18"}),L(p,{children:"false"})]}),ne(w,{className:"k-master-row",alt:!0,children:[L(p,{children:"2"}),L(p,{children:"Chang"}),L(p,{children:"24 - 12 oz bottles"}),L(p,{children:"19"}),L(p,{children:"false"})]}),ne(w,{className:"k-master-row",children:[L(p,{children:"3"}),L(p,{children:"Aniseed Syrup"}),L(p,{children:"12 - 550 ml bottles"}),L(p,{children:"10"}),L(p,{children:"false"})]}),ne(w,{className:"k-master-row",alt:!0,children:[L(p,{children:"4"}),L(p,{children:"Chef Anton's Cajun Seasoning"}),L(p,{children:"48 - 6 oz jars"}),L(p,{children:"22"}),L(p,{children:"false"})]}),ne(w,{className:"k-master-row",children:[L(p,{children:"5"}),L(p,{children:"Grandma's Boysenberry Spread"}),L(p,{children:"12 - 8 oz jars"}),L(p,{children:"25"}),L(p,{children:"false"})]})]})]})})})]}),...t});import{jsx as ur}from"react/jsx-runtime";var NT="k-chip-action";var Ne=e=>{let{type:t,...o}=e,a;switch(t){case"remove":a=ur(g,{icon:"x-circle",size:"small"});break;case"more":a=ur(g,{icon:"more-vertical",size:"small"});break;default:return ur(g,{icon:t,size:"small"})}return ur("span",{...o,className:r(e.className,NT,`k-chip-${t}-action`),children:a})};var on="avatar",Ji=on;import{jsx as qi}from"react/jsx-runtime";var Ea="k-avatar";var gT=[n.hover,n.focus,n.active,n.selected,n.disabled],kT={size:[i.undefined,i.small,i.medium,i.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.outline],themeColor:[f.undefined,f.base,f.primary,f.secondary,f.tertiary,f.success,f.warning,f.error,f.info,f.light,f.dark,f.inverse]},an={type:"text",border:!1},Ve=e=>{let{size:t,rounded:o,fillMode:a,themeColor:l,type:s=an.type,border:c=an.border,...m}=e;return qi("div",{...m,className:r(e.className,Ea,y(Ea,{size:t,rounded:o,fillMode:a,themeColor:l}),{[`${Ea}-bordered`]:c}),children:qi("span",{className:`${Ea}-${s}`,children:e.children})})};Ve.states=gT;Ve.options=kT;Ve.className=Ea;Ve.defaultOptions=an;Ve.moduleName=on;Ve.folderName=Ji;Ve.ariaSpec={selector:".k-avatar",rules:[{selector:".k-avatar img",attribute:"alt",usage:"Images inside Avatar must have alt text for screen readers."}]};var ho=Ve;import{jsx as vT}from"react/jsx-runtime";var Yi=e=>vT(ho,{type:"icon",...e});import{jsx as LT}from"react/jsx-runtime";var Qi=e=>LT(ho,{type:"text",...e});import{jsx as CT}from"react/jsx-runtime";var Zi=e=>CT(ho,{type:"image",...e});import{jsx as tz}from"react/jsx-runtime";import{jsx as Ia}from"react/jsx-runtime";var MT=Ve.options,yT=Ve.states,ST={...Ve.defaultOptions,variant:"image"},AT=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],wT=[],Ra=e=>{let{variant:t,...o}=e;switch(t){case"icon":return Ia(Yi,{...o,children:Ia(g,{icon:"star"})});case"text":return Ia(Qi,{...o,children:"JO"});default:return Ia(Zi,{...o,children:Ia("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};Ra.options=MT;Ra.states=yT;Ra.variants=AT;Ra.defaultOptions=ST;Ra.modifiers=wT;var Oa="chip",br=Oa;import{jsx as Go,jsxs as RT}from"react/jsx-runtime";var fr="k-chip",ET=[n.hover,n.focus,n.active,n.selected,n.disabled],IT={size:[i.undefined,i.small,i.medium,i.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full],fillMode:[x.undefined,x.solid,x.outline],themeColor:[f.undefined,f.base,f.success,f.warning,f.error,f.info]},ji={avatarImage:"/packages/html/assets/avatar.jpg"},ge=e=>{let{size:t,rounded:o,fillMode:a,themeColor:l,text:s,icon:c,actions:m,showAvatar:h,avatarImage:N=ji.avatarImage,hover:v,focus:k,active:u,selected:M,disabled:C,...S}=e;return RT("div",{...S,className:r(e.className,fr,y(fr,{size:t,rounded:o,fillMode:a,themeColor:l}),A(fr,{hover:v,focus:k,active:u,disabled:C,selected:M})),role:e.role||"button","aria-pressed":e.role==="option"?void 0:M?"true":"false","aria-selected":e.role==="option"?M?"true":"false":void 0,"aria-disabled":C?"true":void 0,children:[c&&Go(g,{className:"k-chip-icon",icon:c,size:"small"}),h&&Go(Ve,{className:"k-chip-avatar",type:"image",children:Go("img",{src:N,alt:""})}),Go("span",{className:"k-chip-content",children:e.children?e.children:s&&Go("span",{className:"k-chip-label",children:s})}),m&&Go("span",{className:"k-chip-actions",children:m})]})};ge.states=ET;ge.options=IT;ge.className=fr;ge.defaultOptions=ji;ge.moduleName=Oa;ge.folderName=br;ge.ariaSpec={selector:".k-chip",rules:[{selector:"*:not(.k-chip-list) > .k-chip",attribute:"role=button",usage:"Announces that the chip acts as a button when standalone."},{selector:"*:not(.k-chip-list) > .k-chip.k-selected",attribute:"aria-pressed=true",usage:"Announces that the Chip has been selected."},{selector:"*:not(.k-chip-list) > .k-chip:not(.k-selected)",attribute:"aria-pressed=false",usage:"Announces that the Chip has not been selected."},{selector:".k-chip",attribute:"aria-disabled=true (when disabled)",usage:"Announces that the Chip is disabled."}]};var bt=ge;import{jsx as KT}from"react/jsx-runtime";var rn="k-chip-list",OT=[],PT={size:[i.undefined,i.small,i.medium,i.large]},HT={},ke=e=>{let{size:t,multiselectable:o,ariaLabel:a,...l}=e;return KT("div",{...l,className:r(e.className,rn,y(rn,{size:t})),role:"listbox","aria-label":a||"chip list","aria-orientation":"horizontal","aria-multiselectable":o?"true":void 0,children:e.children})};ke.states=OT;ke.options=PT;ke.className=rn;ke.defaultOptions=HT;ke.moduleName=Oa;ke.folderName=br;ke.ariaSpec={selector:".k-chip-list",rules:[{selector:".k-chip-list",attribute:"role=listbox",usage:"Announces the list role of the chip list."},{selector:".k-chip-list",attribute:"aria-label or aria-labelledby",usage:"Adds label to the ChipList element. ListBox element requires an accessible name."},{selector:".k-chip-list",attribute:"aria-orientation=horizontal",usage:"Specifies the horizontal orientation of the chiplist."},{selector:".k-chip-list",attribute:"aria-multiselectable=true (when multiple selection)",usage:"Announces the multiple selection ability of the chiplist."},{selector:".k-chip-list .k-chip",attribute:"role=option",usage:"Announces the chip is an option inner component of the chip list."},{selector:".k-chip-list .k-chip.k-selected",attribute:"aria-selected=true",usage:"Announces the chip is selected."},{selector:".k-chip-list .k-chip:not(.k-selected)",attribute:"aria-selected=false",usage:"Announces the chip is not selected."},{selector:".k-chip-list .k-chip:has(.k-i-x-circle), .k-chip-list .k-chip:has(.k-svg-i-x-circle)",attribute:"aria-keyshortcuts=Enter Delete",usage:"Announces the Delete action along with the default Enter key."}]};import{jsx as Iz}from"react/jsx-runtime";import{jsx as Hz}from"react/jsx-runtime";import{jsx as GT}from"react/jsx-runtime";var Tr=e=>GT(bt,{text:"text",...e});import{jsx as Fz}from"react/jsx-runtime";import{jsx as Wz}from"react/jsx-runtime";import{Fragment as jz,jsx as Zz,jsxs as e6}from"react/jsx-runtime";import{jsx as l6,jsxs as n6}from"react/jsx-runtime";import{jsx as p6,jsxs as m6}from"react/jsx-runtime";import{jsx as x6,jsxs as N6}from"react/jsx-runtime";import{jsx as Bo,jsxs as FT}from"react/jsx-runtime";var BT={...bt.options,...ke.options},DT=[],_T=ke.states,zT={...bt.defaultOptions,...ke.defaultOptions},UT=[{name:"icon",title:"Icon",type:"boolean"},{name:"actions",title:"Actions",type:"boolean"},{name:"avatar",title:"Avatar",type:"boolean"}],Pa=e=>{let{modifiers:t,className:o,...a}=e,l=t?.icon,s=t?.actions,c=t?.avatar;return FT(ke,{size:a.size,className:o,children:[Bo(Tr,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:l?"star":void 0,actions:s?Bo(Ne,{type:"remove"}):void 0,showAvatar:c,children:"Chip"}),Bo(Tr,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:l?"star":void 0,actions:s?Bo(Ne,{type:"remove"}):void 0,showAvatar:c,children:"Chip"}),Bo(Tr,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:l?"star":void 0,actions:s?Bo(Ne,{type:"remove"}):void 0,showAvatar:c,children:"Chip"})]})};Pa.options=BT;Pa.states=_T;Pa.variants=DT;Pa.defaultOptions=zT;Pa.modifiers=UT;import{jsx as ln}from"react/jsx-runtime";var VT=ge.states,$T=ge.defaultOptions,XT=ge.options,WT=[],JT=[{name:"icon",title:"Icon"},{name:"avatar",title:"Avatar"},{name:"remove-icon",title:"`Remove` Icon"},{name:"more-options",title:"`More options` Icon"}],Ha=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(l=>{switch(l){case"icon":a.icon=t?.[l]?"arrow-down":void 0;break;case"avatar":a.showAvatar=!!t?.[l],a.avatarImage=t?.[l]?"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg":void 0;break;case"more-options":a.actions||(a.actions=[]),a.actions[0]=t?.[l]?ln(Ne,{type:"more"}):void 0;break;case"remove-icon":a.actions||(a.actions=[]),a.actions[1]=t?.[l]?ln(Ne,{type:"remove"}):void 0;break;default:break}}),ln(ge,{...o,...a,children:"Chip component"})};Ha.options=XT;Ha.states=VT;Ha.variants=WT;Ha.defaultOptions=$T;Ha.modifiers=JT;import{Fragment as nn,jsx as O,jsxs as Ke}from"react/jsx-runtime";var ed=({dropClue:e,contentClassName:t,...o})=>O(W,{_renderAriaRoot:!0,groupingHeader:O(eo,{dropClue:e,children:Ke(ke,{children:[O(ge,{icon:"sort-asc-small",text:"ID",actions:Ke(nn,{children:[O(Ne,{type:"more"}),O(Ne,{type:"remove"})]})}),O(ge,{icon:"sort-desc-small",text:"Name",actions:Ke(nn,{children:[O(Ne,{type:"more"}),O(Ne,{type:"remove"})]})})]})}),children:Ke(nn,{children:[O(de,{draggable:!0,children:O("div",{className:"k-grid-header-wrap",children:Ke(pe,{children:[Ke("colgroup",{children:[O("col",{className:"k-group-col"}),O("col",{className:"k-group-col"}),O("col",{}),O("col",{}),O("col",{}),O("col",{})]}),O(re,{children:Ke(w,{children:[O(I,{colspan:1,rowspan:1,className:"k-group-cell",accessibleLabel:"Group"}),O(I,{colspan:1,rowspan:1,className:"k-group-cell",accessibleLabel:"Group"}),O(I,{colspan:1,columnTitle:"ID"}),O(I,{colspan:1,columnTitle:"Name"}),O(I,{colspan:1,columnTitle:"Price"}),O(I,{colspan:1,columnTitle:"Category"})]})})]})})}),O(oe,{children:O(ae,{className:t,children:Ke(le,{children:[Ke("colgroup",{children:[O("col",{className:"k-group-col"}),O("col",{className:"k-group-col"}),O("col",{}),O("col",{}),O("col",{}),O("col",{})]}),Ke(ce,{children:[O(w,{className:"k-table-group-row k-grouping-row",children:O(p,{colspan:6,children:Ke("p",{className:"k-reset",children:[O(g,{icon:"caret-alt-right"}),"ID: 1"]})})}),O(w,{className:"k-table-group-row k-grouping-row",children:O(p,{colspan:6,children:Ke("p",{className:"k-reset",children:[O(g,{icon:"caret-alt-down"}),"ID: 2"]})})}),Ke(w,{className:"k-table-group-row k-grouping-row",children:[O(p,{className:"k-table-group-td k-group-cell"}),O(p,{colspan:5,children:Ke("p",{className:"k-reset",children:[O(g,{icon:"caret-alt-down"}),"Name: Chang"]})})]}),Ke(w,{className:"k-master-row",alt:!0,children:[O(p,{className:"k-table-group-td k-group-cell"}),O(p,{className:"k-table-group-td k-group-cell"}),O(p,{colspan:0,children:"2"}),O(p,{colspan:0,children:"Chang"}),O(p,{colspan:0,children:"$19.00"}),O(p,{colspan:0,children:"Beverages"})]})]})]})})})]}),...o});import{Fragment as s9,jsx as l9,jsxs as n9}from"react/jsx-runtime";import{Fragment as f9,jsx as u9,jsxs as b9}from"react/jsx-runtime";import{Fragment as v9,jsx as g9,jsxs as k9}from"react/jsx-runtime";import{Fragment as qT,jsx as G,jsxs as Ge}from"react/jsx-runtime";var td=({headerWrapClassName:e,contentClassName:t,...o})=>G(W,{_renderAriaRoot:!0,children:Ge(qT,{children:[G(de,{children:G("div",{className:`k-grid-header-wrap ${e}`,children:Ge(pe,{children:[Ge("colgroup",{children:[G("col",{}),G("col",{}),G("col",{}),G("col",{})]}),Ge(re,{children:[Ge(w,{children:[G(I,{rowspan:3,colspan:1,columnTitle:"ID"}),G(I,{rowspan:1,colspan:3,columnTitle:"Product Information"})]}),Ge(w,{children:[G(I,{rowspan:2,colspan:1,columnTitle:"Product Name",className:"k-first"}),G(I,{rowspan:1,colspan:2,columnTitle:"Unit"})]}),Ge(w,{children:[G(I,{rowspan:1,colspan:1,columnTitle:"Units In Stock",className:"k-first"}),G(I,{rowspan:1,colspan:1,columnTitle:"Units Price"})]})]})]})})}),G(oe,{children:G(ae,{className:t,children:Ge(le,{children:[Ge("colgroup",{children:[G("col",{}),G("col",{}),G("col",{}),G("col",{})]}),Ge(ce,{children:[Ge(w,{className:"k-master-row",children:[G(p,{children:"1"}),G(p,{children:"Chai"}),G(p,{children:"39"}),G(p,{children:"18"})]}),Ge(w,{className:"k-master-row",alt:!0,children:[G(p,{children:"2"}),G(p,{children:"Chang"}),G(p,{children:"17"}),G(p,{children:"19"})]}),Ge(w,{className:"k-master-row",children:[G(p,{children:"3"}),G(p,{children:"Aniseed Syrup"}),G(p,{children:"13"}),G(p,{children:"10"})]}),Ge(w,{className:"k-master-row",alt:!0,children:[G(p,{children:"4"}),G(p,{children:"Chef Anton's Cajun Seasoning"}),G(p,{children:"53"}),G(p,{children:"22"})]}),Ge(w,{className:"k-master-row",children:[G(p,{children:"5"}),G(p,{children:"Chef Anton's Gumbo Mix"}),G(p,{children:"0"}),G(p,{children:"21.35"})]})]})]})})})]}),...o});import{Fragment as P9,jsx as R9,jsxs as O9}from"react/jsx-runtime";import{Fragment as z9,jsx as D9,jsxs as _9}from"react/jsx-runtime";import{Fragment as rU,jsx as aU,jsxs as lU}from"react/jsx-runtime";import{Fragment as YT,jsx as H,jsxs as ft}from"react/jsx-runtime";var od=e=>H(W,{_renderAriaRoot:!0,toolbar:ft(To,{children:[H(d,{children:"Add new"}),H(d,{children:"Save Changes"}),H(d,{children:"Cancel Changes"})]}),children:ft(YT,{children:[H(de,{children:H("div",{className:"k-grid-header-wrap",children:ft(pe,{children:[ft("colgroup",{children:[H("col",{}),H("col",{}),H("col",{}),H("col",{style:{width:"300px"}})]}),H(re,{children:ft(w,{children:[H(I,{columnTitle:"Name"}),H(I,{columnTitle:"Price"}),H(I,{columnTitle:"Available"}),H(I,{accessibleLabel:"Commands"})]})})]})})}),H(oe,{children:H(ae,{children:H("div",{children:ft(le,{children:[ft("colgroup",{children:[H("col",{}),H("col",{}),H("col",{}),H("col",{style:{width:"300px"}})]}),ft(ce,{children:[ft(w,{className:"k-master-row k-grid-add-row k-grid-edit-row",children:[H(p,{children:H(ee,{value:"Towel"})}),H(p,{children:H(_,{value:"42"})}),H(p,{children:H(De,{})}),ft(p,{className:"k-command-cell",children:[H(d,{children:"Add"}),H(d,{children:"Cancel"})]})]}),ft(w,{className:"k-master-row",children:[H(p,{children:"Chai"}),H(p,{children:"18"}),H(p,{children:"false"}),H(p,{className:"k-command-cell",children:H(d,{children:"Remove"})})]}),ft(w,{className:"k-master-row",alt:!0,children:[H(p,{children:"Chang"}),H(p,{children:"19"}),H(p,{children:"false"}),H(p,{className:"k-command-cell",children:H(d,{children:"Remove"})})]})]})]})})})})]}),...e});import{Fragment as hr,jsx as b,jsxs as J}from"react/jsx-runtime";var QT=W.options,ZT=W.states,ad={...W.defaultOptions,variant:"normal"},jT=[{name:"normal",title:"Normal"},{name:"column-menu",title:"Column Menu"},{name:"filter-menu",title:"Filter Menu"},{name:"filter-row",title:"Filter Row"},{name:"row-reordering",title:"Row Reordering"},{name:"multicolumn-headers",title:"Multicolumn Headers"},{name:"grouping",title:"Grouping"},{name:"editing",title:"Editing"}],eh=[{name:"toolbar",title:"Toolbar",type:"boolean"},{name:"pager",title:"Pager",type:"boolean"}],Do=e=>{let{variant:t,modifiers:o,...a}={...ad,...e},l={toolbar:void 0,pager:void 0},s=J(To,{children:[b(d,{icon:"plus",children:"Add New"}),b(d,{icon:"file-pdf",children:"Export to PDF"}),b("span",{className:"k-spacer"}),b(ee,{prefix:b(g,{icon:"search"}),separators:!1,placeholder:"Search..."})]}),c=b(xe,{pageSizes:!1,refresh:!1});Object.keys(o||{}).forEach(N=>{switch(N){case"toolbar":l.toolbar=o?.[N]?s:void 0;break;case"pager":l.pager=o?.[N]?c:void 0;break;default:return}});let m={"column-menu":{menu:"column"},"filter-menu":{menu:"filter"},"filter-row":{}},h=J(hr,{children:[b(de,{children:b("div",{className:"k-grid-header-wrap",children:J(pe,{children:[J("colgroup",{children:[b("col",{}),b("col",{}),b("col",{}),b("col",{})]}),b(re,{children:J(w,{children:[b(I,{...m[t],columnTitle:"ID"}),b(I,{...m[t],columnTitle:"Product Name"}),b(I,{...m[t],columnTitle:"Units in Stock"}),b(I,{...m[t],columnTitle:"Units Price"})]})})]})})}),b(oe,{children:b(ae,{children:J(le,{children:[J("colgroup",{children:[b("col",{}),b("col",{}),b("col",{}),b("col",{})]}),J(ce,{children:[J(w,{children:[b(p,{children:"1"}),b(p,{children:"Chai"}),b(p,{children:"39"}),b(p,{children:"18"})]}),J(w,{className:"k-alt",alt:!0,children:[b(p,{children:"2"}),b(p,{children:"Chang"}),b(p,{children:"17"}),b(p,{children:"19"})]}),J(w,{children:[b(p,{children:"3"}),b(p,{children:"Aniseed Syrup"}),b(p,{children:"13"}),b(p,{children:"10"})]}),J(w,{className:"k-alt",alt:!0,children:[b(p,{children:"4"}),b(p,{children:"Chef Anton's Cajun Seasoning"}),b(p,{children:"53"}),b(p,{children:"22"})]}),J(w,{children:[b(p,{children:"5"}),b(p,{children:"Chef Anton's Gumbo Mix"}),b(p,{children:"0"}),b(p,{children:"21.35"})]})]})]})})})]});switch(t){case"multicolumn-headers":return b(td,{...a,...l});case"editing":return b(od,{...a,...l});case"grouping":return b(ed,{...a,...l,groupingHeader:b(eo,{children:J(ke,{children:[b(ge,{icon:"sort-asc-small",actions:J(hr,{children:[b(Ne,{type:"more"}),b(Ne,{type:"remove"})]}),children:"ID"}),b(ge,{icon:"sort-desc-small",actions:J(hr,{children:[b(Ne,{type:"more"}),b(Ne,{type:"remove"})]}),children:"Name"})]})})});case"row-reordering":return b(W,{...a,...l,children:J(hr,{children:[b(de,{children:J("div",{className:"k-grid-header-wrap",children:[" ",J(pe,{children:[J("colgroup",{children:[b("col",{className:"k-drag-col"}),b("col",{}),b("col",{}),b("col",{}),b("col",{})]}),b(re,{children:J(w,{children:[b(I,{className:"k-drag-cell",accessibleLabel:"Reorder"}),b(I,{columnTitle:"ID"}),b(I,{columnTitle:"Product Name"}),b(I,{columnTitle:"Units in Stock"}),b(I,{columnTitle:"Units Price"})]})})]})]})}),b(oe,{children:b(ae,{children:J(le,{children:[J("colgroup",{children:[b("col",{className:"k-drag-col"}),b("col",{}),b("col",{}),b("col",{}),b("col",{})]}),J(ce,{children:[J(w,{children:[b(p,{className:"k-drag-cell",children:b(g,{icon:"reorder"})}),b(p,{children:"1"}),b(p,{children:"Chai"}),b(p,{children:"39"}),b(p,{children:"18"})]}),J(w,{className:"k-alt",alt:!0,children:[b(p,{className:"k-drag-cell",children:b(g,{icon:"reorder"})}),b(p,{children:"2"}),b(p,{children:"Chang"}),b(p,{children:"17"}),b(p,{children:"19"})]}),J(w,{children:[b(p,{className:"k-drag-cell",children:b(g,{icon:"reorder"})}),b(p,{children:"3"}),b(p,{children:"Aniseed Syrup"}),b(p,{children:"13"}),b(p,{children:"10"})]}),J(w,{className:"k-alt",alt:!0,children:[b(p,{className:"k-drag-cell",children:b(g,{icon:"reorder"})}),b(p,{children:"4"}),b(p,{children:"Chef Anton's Cajun Seasoning"}),b(p,{children:"53"}),b(p,{children:"22"})]}),J(w,{children:[b(p,{className:"k-drag-cell",children:b(g,{icon:"reorder"})}),b(p,{children:"5"}),b(p,{children:"Chef Anton's Gumbo Mix"}),b(p,{children:"0"}),b(p,{children:"21.35"})]})]})]})})})]})});case"filter-row":return b(Wi,{...a,...l});default:return b(W,{...a,...l,children:h})}};Do.options=QT;Do.states=ZT;Do.variants=jT;Do.defaultOptions=ad;Do.modifiers=eh;var m7=Do;export{Do as GridDemo,m7 as default};