@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"};import{Fragment as dd,jsx as sn}from"react/jsx-runtime";var gr="k-font-icon",nd=[],id={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]},sd={},Do=e=>{let{size:t,themeColor:o,icon:a,rotate:l,flip:i,...c}=e;return a?sn("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"}):sn(dd,{})};Do.states=nd;Do.options=id;Do.className=gr;Do.defaultOptions=sd;var dn=Do;import{Fragment as md,jsx as Ba}from"react/jsx-runtime";var kr="k-svg-icon",cd=[],pd={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]},cn={viewBox:"0 0 24 24"},_o=e=>{let{size:t,themeColor:o,rotate:a,flip:l,viewBox:i=cn.viewBox,icon:c,...m}=e;if(!c)return Ba(md,{});if(c==="none")return Ba("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 Ba("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:Ba("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})})};_o.states=cd;_o.options=pd;_o.className=kr;_o.defaultOptions=cn;var vr=_o;import*as Lr from"@progress/kendo-svg-icons";var pn="icon",mn="icons";import{useContext as bd}from"react";import{createContext as ud}from"react";var un=ud({iconsType:"svg"});import{Fragment as bn,jsx as zo}from"react/jsx-runtime";var Ga="k-icon",fd=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Td=[],hd={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}=bd(un),{size:o,themeColor:a,icon:l,type:i=t||Cr.type,rotate:c,flip:m,viewBox:h=Cr.viewBox,...N}=e;if(!l)return zo(bn,{});if((t||i)==="svg"){if(l==="none")return zo(vr,{...N,className:r(e.className,Ga),icon:l,size:o});let k=Lr[l]?l:fd(`${l}-icon`);return Lr[k]?zo(vr,{...N,className:r(e.className,Ga),icon:Lr[k],size:o,themeColor:a,rotate:c,flip:m,viewBox:h}):zo(bn,{})}return zo(dn,{...N,className:r(e.className,Ga),icon:l,size:o,themeColor:a,rotate:c,flip:m})};g.states=Td;g.options=hd;g.defaultOptions=Cr;g.className=Ga;g.moduleName=pn;g.folderName=mn;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",fn=Mr;import{Fragment as kd,jsx as Uo,jsxs as Tn}from"react/jsx-runtime";var Fo="k-button",xd=["icon-button"],Nd=[n.hover,n.focus,n.active,n.selected,n.disabled,n.generating],gd={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 Tn(t,{className:r(D,Fo,nn(Fo,h),y(Fo,{size:o,rounded:a,fillMode:l,themeColor:i}),A(Fo,{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&&Uo(g,{className:r(E,"k-button-icon"),icon:S}),R?Tn(kd,{children:[R&&Uo("span",{className:"k-button-text",children:R}),e.children]}):e.children&&Uo("span",{className:"k-button-text",children:e.children}),c&&Uo("span",{className:"k-menu-button-arrow k-button-arrow",children:Uo(g,{icon:m})})]})};d.states=Nd;d.options=gd;d.variants=xd;d.className=Fo;d.defaultOptions=yr;d.moduleName=Mr;d.folderName=fn;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 vd}from"react/jsx-runtime";var Kt=e=>vd(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as Ld}from"react/jsx-runtime";var Vo=e=>Ld(d,{icon:"folder",children:"Button",...e});import{jsx as Cd}from"react/jsx-runtime";var to=e=>Cd(d,{children:"Button",...e});import{jsx as Sr}from"react/jsx-runtime";var Md=d.options,yd=d.states,Sd={...d.defaultOptions,variant:"text"},Ad=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],wd=[],$o=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return Sr(Kt,{...o,icon:"star"});case"icon-and-text":return Sr(Vo,{...o,icon:"star",children:"Button"});default:return Sr(to,{...o,children:"Button"})}};$o.options=Md;$o.states=yd;$o.variants=Ad;$o.defaultOptions=Sd;$o.modifiers=wd;var oo="checkbox",No=oo;import{jsx as hn}from"react/jsx-runtime";var Da="k-checkbox",Ed=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked,n.indeterminate],Id={size:[s.undefined,s.small,s.medium,s.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full]},Rd={},Ge=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 hn("span",{className:"k-checkbox-wrap",children:hn("input",{...u,id:t,type:"checkbox",defaultChecked:o,required:N,disabled:c||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,Da,y(Da,{size:v,rounded:k}),A(Da,{hover:l,focus:i,disabled:c,invalid:m,valid:h,indeterminate:a,checked:o}))})})};Ge.states=Ed;Ge.options=Id;Ge.className=Da;Ge.defaultOptions=Rd;Ge.moduleName=oo;Ge.folderName=No;Ge.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 ht=Ge;import{jsx as Hd}from"react/jsx-runtime";var xn="k-checkbox-list",Od=[],Pd={},Nn={layout:"vertical"},De=e=>{let{layout:t=Nn.layout,...o}=e;return Hd("ul",{...o,className:r(e.className,xn,{[`k-list-${t}`]:t}),children:e.children})};De.states=Od;De.options=Pd;De.className=xn;De.defaultOptions=Nn;De.moduleName=oo;De.folderName=No;import{jsx as Dd}from"react/jsx-runtime";var gn="k-checkbox-list-item",Kd=[],Bd={},Gd={},Ie=e=>{let{...t}=e;return Dd("li",{...t,className:r(e.className,gn),children:e.children})};Ie.states=Kd;Ie.options=Bd;Ie.className=gn;Ie.defaultOptions=Gd;Ie.moduleName=oo;Ie.folderName=No;import{Fragment as _d,jsx as kn,jsxs as zd}from"react/jsx-runtime";var yt=({children:e,id:t,...o})=>zd(_d,{children:[kn(ht,{id:t,...o}),kn("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as Lx,jsx as vx,jsxs as Cx}from"react/jsx-runtime";import{Fragment as wx,jsx as Ax,jsxs as Ex}from"react/jsx-runtime";import{Fragment as Hx,jsx as Px,jsxs as Kx}from"react/jsx-runtime";import{jsx as _x}from"react/jsx-runtime";import{jsx as Vx}from"react/jsx-runtime";import{jsx as Jx}from"react/jsx-runtime";import{jsx as tt,jsxs as vn}from"react/jsx-runtime";var Ud=De.options,Fd=De.states,Vd={...De.defaultOptions,variant:"vertical"},$d=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Xd=[],Xo=e=>{let{variant:t,...o}=e;return t==="horizontal"?vn(De,{layout:"horizontal",...o,children:[tt(Ie,{children:tt(yt,{id:"first",defaultChecked:!0,children:"Label"})}),tt(Ie,{children:tt(yt,{id:"second",children:"Label"})}),tt(Ie,{children:tt(yt,{id:"third",children:"Label"})})]}):vn(De,{...o,children:[tt(Ie,{children:tt(yt,{id:"first",defaultChecked:!0,children:"Label"})}),tt(Ie,{children:tt(yt,{id:"second",children:"Label"})}),tt(Ie,{children:tt(yt,{id:"third",children:"Label"})})]})};Xo.options=Ud;Xo.states=Fd;Xo.variants=$d;Xo.defaultOptions=Vd;Xo.modifiers=Xd;import{jsx as Zd}from"react/jsx-runtime";var Wd=ht.options,Jd=ht.states,qd=ht.defaultOptions,Yd=[],Qd=[],Wo=e=>Zd(yt,{id:"checkbox-demo-checkbox",...e,defaultChecked:!0,children:"Label"});Wo.options=Wd;Wo.states=Jd;Wo.variants=Yd;Wo.defaultOptions=qd;Wo.modifiers=Qd;var Jo="input",_a=Jo;import{jsx as oc}from"react/jsx-runtime";var za="k-input",jd=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],ec={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]},tc={},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 oc("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=jd;Te.options=ec;Te.className=za;Te.defaultOptions=tc;Te.moduleName=Jo;Te.folderName=_a;import{jsx as nc}from"react/jsx-runtime";var Ua="k-picker",ac=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],rc={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]},lc={},xt=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 nc("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})};xt.states=ac;xt.options=rc;xt.className=Ua;xt.defaultOptions=lc;xt.moduleName=Jo;xt.folderName=_a;import{Fragment as dc,jsx as Ar}from"react/jsx-runtime";var Ln="k-clear-value",ic=[n.disabled,n.loading,n.readonly],sc={},We=e=>{let{disabled:t,loading:o,readonly:a,value:l}=e;return t||a||o||!l?Ar(dc,{}):Ar("span",{className:r(e.className,Ln),children:Ar(g,{icon:"x"})})};We.states=ic;We.options=sc;We.className=Ln;import{jsx as mc}from"react/jsx-runtime";var wr="k-input-inner",cc=[],pc={},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 mc("input",{...m,type:o,className:r(e.className,wr,y(wr,e)),placeholder:a,autoComplete:l,defaultValue:t,disabled:i||void 0,readOnly:c||void 0})};Je.states=cc;Je.options=pc;Je.className=wr;import{jsx as Cn,jsxs as fc}from"react/jsx-runtime";var Er="k-input-inner",uc=[],bc={},ao=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:l,valueIconName:i,...c}=e;return fc("span",{...c,className:r(e.className,Er,y(Er,e)),children:[l,!l&&i&&Cn(g,{className:"k-input-value-icon",icon:i}),a&&!t&&o,a&&t&&Cn("span",{className:"k-input-value-text",children:t})]})};ao.states=uc;ao.options=bc;ao.className=Er;import{jsx as xc}from"react/jsx-runtime";var Ir="k-input-inner",Tc=[],hc={},Mn={value:"",placeholder:""},Rr=e=>{let{value:t=Mn.value,placeholder:o=Mn.placeholder,rows:a,disabled:l,...i}=e;return xc("textarea",{...i,className:r(e.className,Ir,y(Ir,e)),placeholder:o,rows:a,defaultValue:t,disabled:l||void 0})};Rr.states=Tc;Rr.options=hc;Rr.className=Ir;import{Fragment as gc,jsx as yn}from"react/jsx-runtime";var Sn="k-input-loading-icon",Nc=[n.disabled,n.loading],_e=e=>{let{disabled:t,loading:o}=e;return t||!o?yn(gc,{}):yn("span",{className:r(e.className,Sn,"k-icon k-i-loading")})};_e.states=Nc;_e.className=Sn;import{Fragment as Lc,jsx as An}from"react/jsx-runtime";var wn="k-input-validation-icon",kc=[n.valid,n.invalid,n.disabled,n.loading],vc={},Re=e=>{let{valid:t,invalid:o,disabled:a,loading:l}=e,i=o?"warning-circle":"check-circle";return a||l||!!!(t||o)?An(Lc,{}):An(g,{className:r(wn),icon:i})};Re.states=kc;Re.options=vc;Re.className=wn;import{Fragment as yc,jsx as En}from"react/jsx-runtime";var Cc="k-input-prefix",Mc={direction:"horizontal"},ot=e=>{let{direction:t=Mc.direction,...o}=e;return e.children?En("span",{...o,className:r(Cc,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):En(yc,{})};import{Fragment as wc,jsx as In}from"react/jsx-runtime";var Sc="k-input-suffix",Ac={direction:"horizontal"},at=e=>{let{direction:t=Ac.direction,...o}=e;return e.children?In("span",{...o,className:r(Sc,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):In(wc,{})};import{jsx as rg}from"react/jsx-runtime";import{jsx as Ic}from"react/jsx-runtime";var Ec="k-input-suffix-text",Or=e=>{let{children:t,...o}=e;return Ic("span",{...o,className:r(Ec,e.className),children:t})};import{jsx as Oc}from"react/jsx-runtime";var Rn="k-input-separator",Rc={direction:"vertical"},rt=e=>{let{direction:t=Rc.direction,...o}=e;return Oc("span",{...o,className:r(Rn,e.className,{[`${Rn}-${t}`]:t})})};import{Fragment as On,jsx as Nt,jsxs as Pr}from"react/jsx-runtime";var Pc=Te.states,Hc=Te.defaultOptions,Kc=Te.options,Bc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Gc=[],qo=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 Pr(Te,{...m,valid:o,invalid:a,loading:l,disabled:i,readonly:c,style:{width:300},children:[h&&Pr(On,{children:[Nt(ot,{children:Nt(g,{icon:"lock"})}),u&&Nt(rt,{})]}),Nt(Je,{placeholder:"Placeholder",value:"Value"}),k&&Nt(Re,{valid:o,invalid:a,loading:l,disabled:i}),Nt(_e,{loading:l,disabled:i}),v&&Nt(We,{loading:l,disabled:i,readonly:c,value:"Value"}),N&&Pr(On,{children:[u&&Nt(rt,{}),Nt(at,{children:Nt(to,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};qo.options=Kc;qo.states=Pc;qo.variants=Gc;qo.defaultOptions=Hc;qo.modifiers=Bc;import{jsx as Pn,jsxs as Fc}from"react/jsx-runtime";var Hn="k-spin-button",zc=[],Uc={size:[s.undefined,s.small,s.medium,s.large],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},Hr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Bt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:l=Hr.increaseLabel,decreaseLabel:i=Hr.decreaseLabel,...c}=e;return Fc("span",{...c,className:r(Hn,e.className),children:[Pn(d,{className:"k-spinner-increase",icon:"caret-alt-up",size:t,fillMode:o,disabled:a,"aria-label":l}),Pn(d,{className:"k-spinner-decrease",icon:"caret-alt-down",size:t,fillMode:o,disabled:a,"aria-label":i})]})};Bt.states=zc;Bt.options=Uc;Bt.className=Hn;Bt.defaultOptions=Hr;Bt.moduleName=null;Bt.folderName=null;var Kn="numeric-textbox",Bn="numerictextbox";import{Fragment as Gn,jsx as St,jsxs as Kr}from"react/jsx-runtime";var Dn="k-numerictextbox",Vc=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],$c={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]},Va={showSpinButton:!0,showClearButton:!0,separators:!0},_=e=>{let{size:t,rounded:o,fillMode:a,separators:l=Va.separators,showClearButton:i=Va.showClearButton,showSpinButton:c=Va.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 Kr(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,Dn),children:[m&&Kr(Gn,{children:[St(ot,{children:m}),l&&St(rt,{})]}),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(Re,{valid:M,invalid:C,loading:R,disabled:E}),St(_e,{loading:R,disabled:E}),i&&St(We,{loading:R,disabled:E,readonly:D,value:N}),h&&Kr(Gn,{children:[l&&St(rt,{}),St(at,{children:h})]}),c&&St(Bt,{className:"k-input-spinner",size:t,fillMode:a,disabled:E})]})};_.states=Vc;_.options=$c;_.className=Dn;_.defaultOptions=Va;_.moduleName=Kn;_.folderName=Bn;_.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 Yo=_;import{jsx as Xc}from"react/jsx-runtime";var _n=e=>Xc(Yo,{...e});var Br="popup",zn=Br;import{jsx as Un}from"react/jsx-runtime";var Fn="k-animation-container",Wc=[],Jc={},Vn={positionMode:"absolute"},gt=e=>{let{positionMode:t=Vn.positionMode,animationStyle:o,offset:a,...l}=e;return Un("div",{...l,style:{...a,...e.style},className:r(e.className,Fn,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:Un("div",{className:"k-child-animation-container",style:o,children:e.children})})};gt.states=Wc;gt.options=Jc;gt.className=Fn;gt.defaultOptions=Vn;gt.moduleName=Br;gt.folderName=zn;var Gr="popup",$n=Gr;import{jsx as Xn}from"react/jsx-runtime";var Wn="k-popup",qc=[],Yc={},Jn={positionMode:"absolute"},j=e=>{let{offset:t,positionMode:o=Jn.positionMode,animationStyle:a,containerClassName:l,containerRole:i,containerAriaLabel:c,...m}=e;return Xn(gt,{positionMode:o,offset:t,animationStyle:a,className:l,role:i,"aria-label":c,children:Xn("div",{...m,className:r(e.className,Wn),children:e.children})})};j.states=qc;j.options=Yc;j.className=Wn;j.defaultOptions=Jn;j.moduleName=Gr;j.folderName=$n;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",qn=Dr;import{jsx as jc}from"react/jsx-runtime";var $a="k-actions",Qc=[],Zc={},_r={alignment:"start",orientation:"horizontal"},kt=e=>{let{alignment:t=_r.alignment,orientation:o=_r.orientation,...a}=e;return jc("div",{...a,className:r($a,{[`${$a}-${t}`]:t,[`${$a}-${o}`]:o},e.className),children:e.children})};kt.states=Qc;kt.options=Zc;kt.className=$a;kt.defaultOptions=_r;kt.moduleName=Dr;kt.folderName=qn;import{jsx as tp}from"react/jsx-runtime";var ep="k-actionsheet-footer",Yn={alignment:"stretched",orientation:"horizontal"},Gt=e=>{let{alignment:t=Yn.alignment,orientation:o=Yn.orientation,template:a,as:l=a?"div":kt,...i}=e;return tp(l,{...i,...!a&&{alignment:t,orientation:o},className:r(e.className,ep),children:e.children})};var zr="searchbox",Qn=zr;import{jsx as Qo,jsxs as rp}from"react/jsx-runtime";var Zn="k-searchbox",op=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading],ap={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"},lt=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 rp(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,Zn),children:[M&&Qo(g,{className:"k-input-icon",icon:C}),Qo(Je,{placeholder:o,value:t}),Qo(_e,{...e}),Qo(Re,{...e}),Qo(We,{...e})]})};lt.states=op;lt.options=ap;lt.className=Zn;lt.defaultOptions=Ur;lt.moduleName=zr;lt.folderName=Qn;import{jsx as zk}from"react/jsx-runtime";var Fr="textbox",jn=Fr;import{Fragment as ei,jsx as Dt,jsxs as Vr}from"react/jsx-runtime";var ti="k-textbox",lp=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],np={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]},Xa={showClearButton:!0,showValidationIcon:!0,separators:!0},ee=e=>{let{size:t,rounded:o,fillMode:a,separators:l=Xa.separators,showClearButton:i=Xa.showClearButton,showValidationIcon:c=Xa.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,ti),children:[m&&Vr(ei,{children:[Dt(ot,{children:m}),l&&Dt(rt,{})]}),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(Re,{valid:C,invalid:S,loading:E,disabled:D}),Dt(_e,{loading:E,disabled:D}),i&&Dt(We,{loading:E,disabled:D,readonly:ie,value:v}),h&&Vr(ei,{children:[l&&Dt(rt,{}),Dt(at,{children:h})]})]})};ee.states=lp;ee.options=np;ee.className=ti;ee.defaultOptions=Xa;ee.moduleName=Fr;ee.folderName=jn;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 ip}from"react/jsx-runtime";var oi=e=>ip(Zo,{...e});import{Fragment as lv,jsx as rv}from"react/jsx-runtime";import{Fragment as pv,jsx as cv}from"react/jsx-runtime";import{jsx as fv}from"react/jsx-runtime";import{jsx as $r}from"react/jsx-runtime";var sp=ee.states,dp=ee.defaultOptions,cp=ee.options,pp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],mp=[],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(oi,{value:"Value",style:{width:300},...o,...a})};jo.options=cp;jo.states=sp;jo.variants=mp;jo.defaultOptions=dp;jo.modifiers=pp;import{jsx as _t,jsxs as Xr}from"react/jsx-runtime";var ai="k-actionsheet-titlebar",up={},Oe=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,ai),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(lt,{placeholder:"Filter",size:N?"large":"medium","aria-label":"Filter options"})})]})};Oe.className=ai;Oe.defaultOptions=up;import{jsx as Wr,jsxs as hp}from"react/jsx-runtime";var Jr="k-actionsheet-view",bp=[],fp={},Tp={},go=e=>{let{adaptive:t,animated:o,children:a,header:l,footer:i,titleId:c,...m}=e,h=l?.type===Oe&&Wr(Oe,{adaptive:t,titleId:c,...l?.props}),N=i?.type===Gt&&Wr(Gt,{...i?.props});return hp("div",{...m,className:r(e.className,Jr,{[`${Jr}-animated`]:o}),children:[h,Wr("div",{className:"k-actionsheet-content",children:a}),N]})};go.states=bp;go.options=fp;go.className=Jr;go.defaultOptions=Tp;var ea="action-sheet",Wa=ea;var qr="overlay",ri=qr;import{jsx as kp}from"react/jsx-runtime";var Yr="k-overlay",xp=[],Np={themeColor:[f.undefined,f.light,f.dark,f.inverse]},gp={},zt=e=>{let{themeColor:t,...o}=e;return kp("div",{...o,className:r(e.className,Yr,y(Yr,{themeColor:t})),children:e.children})};zt.states=xp;zt.options=Np;zt.className=Yr;zt.defaultOptions=gp;zt.moduleName=qr;zt.folderName=ri;import{jsx as Ja,jsxs as Cp}from"react/jsx-runtime";var li="k-actionsheet",vp=[],Lp={},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&&Ja(zt,{}),Ja(gt,{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:Ja("div",{...v,id:N,role:"dialog","aria-modal":l?"true":void 0,"aria-labelledby":k,className:r(e.className,li,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:i||Ja(go,{header:m,footer:h,adaptive:a,titleId:k,...e,children:c})})})]})};me.states=vp;me.options=Lp;me.className=li;me.defaultOptions=ta;me.moduleName=ea;me.folderName=Wa;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 Ap}from"react/jsx-runtime";var ni="k-actionsheet-container",Mp=[],yp={},Sp={},ko=e=>{let{children:t,...o}=e;return Ap("div",{...o,className:ni,children:t})};ko.states=Mp;ko.options=yp;ko.className=ni;ko.defaultOptions=Sp;ko.moduleName=ea;ko.folderName=Wa;import{jsx as wp}from"react/jsx-runtime";var Qr=e=>{let{...t}=e;return wp("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Ip,jsx as oa,jsxs as Zr}from"react/jsx-runtime";var jr="k-actionsheet-item",Ep=[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(Ip,{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=Ep;Ut.className=jr;import{jsx as bL,jsxs as fL}from"react/jsx-runtime";import{jsx as NL}from"react/jsx-runtime";import{jsx as LL}from"react/jsx-runtime";import{jsx as SL}from"react/jsx-runtime";import{jsx as ve,jsxs as el}from"react/jsx-runtime";var Rp=me.options,Op=me.states,si={...me.defaultOptions,variant:"normal"},Pp=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Hp=[{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}={...si,...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(Oe,{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(Oe,{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=Rp;aa.states=Op;aa.variants=Pp;aa.defaultOptions=si;aa.modifiers=Hp;import ol from"react";import{jsx as di}from"react/jsx-runtime";var Kp="k-list-group-sticky-header",tl=e=>di("div",{className:r(Kp,e.className),children:di("div",{className:"k-list-header-text",children:e.children})});import{jsx as Gp}from"react/jsx-runtime";var Bp="k-no-data",qa=e=>{let{live:t,...o}=e;return Gp("span",{...o,className:r(Bp,e.className),"aria-live":t?"polite":void 0,children:e.children})};var ro="list",vo=ro;import{jsx as ci,jsxs as pi}from"react/jsx-runtime";var al="k-list",Dp=[],_p={size:[s.undefined,s.small,s.medium,s.large]},zp={},U=e=>{let{size:t,virtualization:o,children:a,header:l,optionLabel:i,customValue:c,noData:m,screenReaders:h,...N}=e,k=ol.Children.toArray(a)[0],u=k?.props?.children?ol.Children.count(k.props.children):ol.Children.count(a);return pi("div",{...N,className:r(e.className,al,y(al,{size:t}),{"k-virtual-list":o}),children:[i,c,l&&ci(tl,{children:l}),a||(m!==void 0?m:ci(qa,{live:!0,children:"No data found."})),h&&a&&pi(qa,{className:"k-sr-only",live:!0,children:[u," items found."]})]})};U.states=Dp;U.options=_p;U.className=al;U.defaultOptions=zp;U.moduleName=ro;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 $p}from"react/jsx-runtime";var mi="k-list-container",Up=[],Fp={},Vp={},Lo=e=>{let{...t}=e;return $p("div",{...t,className:r(e.className,mi),children:e.children})};Lo.states=Up;Lo.options=Fp;Lo.className=mi;Lo.defaultOptions=Vp;Lo.moduleName=ro;Lo.folderName=vo;import{jsx as lo,jsxs as qp}from"react/jsx-runtime";var rl="k-list-item",Xp=[n.hover,n.focus,n.selected,n.disabled],Wp={},Jp={},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 qp("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":rl,A(rl,{hover:h,focus:N,disabled:k,selected:v})),children:[c&&lo(Ge,{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=Xp;G.options=Wp;G.className=rl;G.defaultOptions=Jp;G.moduleName=ro;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 Qp}from"react/jsx-runtime";var Yp="k-list-ul",At=e=>{let{children:t,role:o,id:a,...l}=e;return Qp("ul",{...l,id:a,role:o,className:r(Yp,e.className),children:t})};At.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 ll,jsxs as jp}from"react/jsx-runtime";var Zp="k-list-content",q=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":l,listboxId:i,...c}=e;return jp("div",{...c,className:r(Zp,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:ll(At,{role:"listbox",id:i,"aria-label":a,"aria-labelledby":l,children:e.children}),t&&ll("div",{className:"k-height-container",children:ll("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 OC,jsx as RC,jsxs as PC}from"react/jsx-runtime";import{jsx as nl,jsxs as tm}from"react/jsx-runtime";var em="k-list-group-item",no=e=>{let{groupIconName:t,...o}=e;return tm("li",{...o,role:"presentation",className:r(em,e.className),children:[t&&nl("span",{className:"k-list-item-icon-wrapper",children:nl(g,{icon:t,className:"k-list-item-icon"})}),nl("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 lm}from"react/jsx-runtime";var il="k-list-optionlabel",om=[n.hover,n.focus,n.selected,n.disabled],am={},rm={},Ya=e=>{let{text:t,hover:o,focus:a,selected:l,disabled:i,...c}=e;return lm("div",{...c,className:r(il,A(il,{hover:o,focus:a,selected:l,disabled:i})),children:t})};Ya.states=om;Ya.options=am;Ya.className=il;Ya.defaultOptions=rm;import{jsx as dm}from"react/jsx-runtime";var sl="k-list-custom-value",nm=[n.hover,n.focus,n.selected,n.disabled],im={},sm={},Ft=e=>{let{text:t,hover:o,focus:a,selected:l,disabled:i,...c}=e;return dm("div",{...c,className:r(sl,A(sl,{hover:o,focus:a,selected:l,disabled:i})),children:t})};Ft.states=nm;Ft.options=im;Ft.className=sl;Ft.defaultOptions=sm;import{Fragment as YC,jsx as qC,jsxs as QC}from"react/jsx-runtime";import{Fragment as aM,jsx as oM,jsxs as rM}from"react/jsx-runtime";import{Fragment as pM,jsx as dM,jsxs as cM}from"react/jsx-runtime";import{Fragment as xM,jsx as TM,jsxs as hM}from"react/jsx-runtime";import{jsx as vM}from"react/jsx-runtime";import{Fragment as AM,jsx as SM,jsxs as wM}from"react/jsx-runtime";var ui="dropdown-list",bi="dropdownlist";import{Fragment as mm,jsx as Pe,jsxs as dl}from"react/jsx-runtime";var fi="k-dropdownlist",cm=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],pm={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]},cl={showValue:!0,arrowIconName:"caret-alt-down"},Y=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:l=cl.arrowIconName,showValue:i=cl.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 dl(mm,{children:[dl(xt,{...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,fi,{"k-icon-picker":!i&&c}),children:[Pe(ot,{children:m}),Pe(ao,{placeholder:v,value:N,showValue:i,valueIconName:c}),Pe(Re,{valid:M,invalid:C,loading:R,disabled:E}),Pe(_e,{loading:R,disabled:E}),Pe(at,{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(Oe,{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:dl(q,{children:[Pe(G,{text:"List item"}),Pe(G,{text:"List item"}),Pe(G,{text:"List item"})]})})})})]})};Y.states=cm;Y.options=pm;Y.className=fi;Y.defaultOptions=cl;Y.moduleName=ui;Y.folderName=bi;import{jsx as iy}from"react/jsx-runtime";import{jsx as my,jsxs as uy}from"react/jsx-runtime";import{Fragment as ky,jsx as Ny,jsxs as gy}from"react/jsx-runtime";import{jsx as My}from"react/jsx-runtime";import{jsx as Ey,jsxs as Iy}from"react/jsx-runtime";import{Fragment as Dy,jsx as By,jsxs as Gy}from"react/jsx-runtime";import{Fragment as xm,jsx as Vt,jsxs as Ti}from"react/jsx-runtime";var um=Y.states,bm=Y.defaultOptions,fm=Y.options,Tm=[{name:"opened",title:"Opened"}],hm=[],la=e=>{let{modifiers:t,...o}=e,a={},l=Ti(xm,{children:[Vt("div",{className:"k-list-filter",children:Vt(lt,{})}),Vt(U,{style:{width:300},size:o.size,children:Ti(q,{children:[Vt(G,{children:"List item"}),Vt(G,{children:"List item"}),Vt(G,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(i=>{i==="opened"&&(a.opened=!!t?.[i],a.popup=t?.[i]?l:void 0)}),Vt("div",{children:Vt(Y,{placeholder:"Value",style:{width:300},...o,...a})})};la.options=fm;la.states=um;la.variants=hm;la.defaultOptions=bm;la.modifiers=Tm;import{Fragment as nS,jsx as lS}from"react/jsx-runtime";import{Fragment as mS,jsx as pS}from"react/jsx-runtime";import{jsx as TS}from"react/jsx-runtime";import{jsx as pl}from"react/jsx-runtime";var Nm=_.states,gm=_.defaultOptions,km=_.options,vm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Lm=[],na=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(l=>{switch(l){case"prefix":a.prefix=t?.[l]?pl(Y,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[l]?pl(Or,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[l];break;case"spin-button":a.showSpinButton=t?.[l];break;default:break}}),pl(_n,{value:"Value",style:{width:300},...o,...a})};na.options=km;na.states=Nm;na.variants=Lm;na.defaultOptions=gm;na.modifiers=vm;var V="grid",X=V;import{jsx as Sm,jsxs as Am}from"react/jsx-runtime";var Qa="k-grid",Cm=[],Mm={size:[s.undefined,s.small,s.medium,s.large]},ym=[],hi={pagerPosition:"bottom"},W=e=>{let{size:t,pagerPosition:o=hi.pagerPosition,toolbar:a,pager:l,groupingHeader:i,gridSelectionAggregates:c,_renderAriaRoot:m,resizable:h,...N}=e;return Am("div",{...N,className:r(e.className,Qa,{[`${Qa}-resizable`]:h},y(Qa,{size:t})),children:[a,o==="top"&&l,i,e.children&&m?Sm("div",{className:"k-grid-aria-root",children:e.children}):e.children,c,o==="bottom"&&l]})};W.states=Cm;W.options=Mm;W.variants=ym;W.className=Qa;W.defaultOptions=hi;W.moduleName=V;W.folderName=X;import{jsx as wm}from"react/jsx-runtime";var xi="k-grid-header",se=e=>{let{draggable:t,...o}=e;return wm("div",{...o,className:r(e.className,xi,{"k-grid-draggable-header":t}),children:e.children})};se.className=xi;se.moduleName=V;se.folderName=X;import{jsx as Ni,jsxs as Em}from"react/jsx-runtime";var gi="k-grouping-header",$t=e=>{let{dropHint:t,dropClue:o,...a}=e;return Em("div",{...a,className:r(e.className,gi),children:[o&&Ni("div",{className:"k-grouping-dropclue"}),e.children,Ni("div",{className:"k-grouping-drop-container",children:t})]})};$t.className=gi;$t.moduleName=V;$t.folderName=X;import{jsx as Im}from"react/jsx-runtime";var ki="k-grid-sticky-container",vi={position:"top"},Za=e=>{let{position:t=vi.position,...o}=e;return Im("div",{...o,className:r(e.className,ki,{"k-grid-sticky-top-container":t==="top","k-grid-sticky-bottom-container":t==="bottom"}),children:e.children})};Za.className=ki;Za.defaultProps=vi;Za.moduleName=V;Za.folderName=X;var Le="table",ye=Le;import{jsx as Hm}from"react/jsx-runtime";var Li="k-data-table",Rm=[],Om={size:[s.undefined,s.small,s.medium,s.large]},Pm={},wt=e=>{let{size:t,...o}=e;return Hm("div",{...o,className:r(e.className,Li,y("k-table",{size:t})),children:e.children})};wt.states=Rm;wt.options=Om;wt.className=Li;wt.defaultOptions=Pm;wt.moduleName=Le;wt.folderName=ye;import{jsx as Dm}from"react/jsx-runtime";var ml="k-table-header-wrap",Km=[n.hover,n.focus,n.disabled],Bm={},Gm={},Xt=e=>{let{children:t,hover:o,focus:a,disabled:l,...i}=e;return Dm("div",{...i,className:r(e.className,ml,A(ml,{hover:o,focus:a,disabled:l})),children:t})};Xt.states=Km;Xt.options=Bm;Xt.className=ml;Xt.defaultOptions=Gm;Xt.moduleName=Le;Xt.folderName=ye;import{jsx as Fm}from"react/jsx-runtime";var ul="k-table",_m=[],zm={size:[s.undefined,s.small,s.medium,s.large]},Um={},Se=e=>{let{size:t,...o}=e;return Fm("table",{...o,className:r(e.className,ul,y(ul,{size:t})),children:e.children})};Se.states=_m;Se.options=zm;Se.className=ul;Se.defaultOptions=Um;Se.moduleName=Le;Se.folderName=ye;import{jsx as bl}from"react/jsx-runtime";var fl="k-table-header",Vm=[n.hover,n.focus,n.disabled],$m={},Xm={},Et=e=>{let{children:t,hover:o,focus:a,disabled:l,...i}=e;return bl("div",{...i,className:r(e.className,fl,A(fl,{hover:o,focus:a,disabled:l})),children:bl(Xt,{children:bl(Se,{children:t})})})};Et.states=Vm;Et.options=$m;Et.className=fl;Et.defaultOptions=Xm;Et.moduleName=Le;Et.folderName=ye;import{jsx as Ym}from"react/jsx-runtime";var Ci="k-table-scroller",Wm=[],Jm={},qm={},Co=e=>{let{children:t,...o}=e;return Ym("div",{...o,className:r(e.className,Ci),children:t})};Co.states=Wm;Co.options=Jm;Co.className=Ci;Co.defaultOptions=qm;Co.moduleName=Le;Co.folderName=ye;import{jsx as gA}from"react/jsx-runtime";import{jsx as eu}from"react/jsx-runtime";var Mi="k-table-footer",Qm=[],Zm={},jm={},Wt=e=>{let{children:t,...o}=e;return eu("div",{...o,className:r(e.className,Mi),children:t})};Wt.states=Qm;Wt.options=Zm;Wt.className=Mi;Wt.defaultOptions=jm;Wt.moduleName=Le;Wt.folderName=ye;import{jsx as ru}from"react/jsx-runtime";var Tl="k-table-list",tu=[],ou={size:[s.undefined,s.small,s.medium,s.large]},au={},Jt=e=>{let{size:t,virtualization:o,...a}=e;return ru("ul",{...a,className:r(e.className,"k-table",Tl,y(Tl,{size:t}),{"k-virtual-table":o}),children:e.children})};Jt.states=tu;Jt.options=ou;Jt.className=Tl;Jt.defaultOptions=au;Jt.moduleName=Le;Jt.folderName=ye;import{jsx as nu}from"react/jsx-runtime";var lu="k-table-thead",te=e=>nu("thead",{className:r(e.className,lu),children:e.children});import{jsx as su}from"react/jsx-runtime";var iu="k-table-tbody",de=e=>su("tbody",{className:r(e.className,iu),children:e.children});import{jsx as GA}from"react/jsx-runtime";import{jsx as cu}from"react/jsx-runtime";var hl="k-table-row",du=[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 cu("tr",{...m,className:r(e.className,hl,{"k-table-alt-row":c},A(hl,{hover:t,focus:o,disabled:i,selected:a,highlighted:l})),children:e.children})};w.states=du;w.className=hl;import{jsx as mu}from"react/jsx-runtime";var xl="k-table-row",pu=[n.hover,n.focus,n.selected,n.disabled],ja=e=>{let{hover:t,focus:o,selected:a,disabled:l,alt:i,...c}=e;return mu("li",{...c,className:r(e.className,xl,{"k-table-alt-row":i},A(xl,{hover:t,focus:o,disabled:l,selected:a})),children:e.children})};ja.states=pu;ja.className=xl;import{jsx as uu}from"react/jsx-runtime";var yi="k-table-th",It=e=>{let{text:t,colspan:o,rowspan:a,...l}=e,i=t||e.children;return uu("th",{colSpan:o,rowSpan:a,...l,className:r(e.className,yi),children:i})};It.className=yi;It.moduleName=Le;It.folderName=ye;import{jsx as ZA}from"react/jsx-runtime";import{jsx as fu}from"react/jsx-runtime";var Nl="k-table-td",bu=[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 fu("td",{colSpan:i,rowSpan:c,...m,className:r(e.className,Nl,A(Nl,{focus:t,selected:o,highlighted:a})),children:h})};p.states=bu;p.className=Nl;import{jsx as lw}from"react/jsx-runtime";import{jsx as dw}from"react/jsx-runtime";import{jsx as uw}from"react/jsx-runtime";import{jsx as hw}from"react/jsx-runtime";import{jsx as kw}from"react/jsx-runtime";import{jsx as Aw,jsxs as ww}from"react/jsx-runtime";import{jsx as Ow,jsxs as Pw}from"react/jsx-runtime";import{jsx as Gw,jsxs as Dw}from"react/jsx-runtime";import{Fragment as $w,jsx as Fw,jsxs as Vw}from"react/jsx-runtime";import{jsx as Nu}from"react/jsx-runtime";var Ai="k-grid-header-table",ce=e=>Nu(Se,{...e,className:r(e.className,Ai),children:e.children});ce.className=Ai;ce.moduleName=V;ce.folderName=X;import{jsx as qt,jsxs as gl}from"react/jsx-runtime";var kl="k-header",gu=[n.hover,n.focus,n.active],wi={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=wi.sortIcon,sortOrder:k,accessibleLabel:u,...M}=e;return gl(It,{...M,className:r(e.className,kl,{"k-filterable":t||a,"k-sorted":o,"k-grid-header-sticky":l,"k-touch-action-none":i},A(kl,{hover:m,focus:h,active:N})),children:[c&&gl("span",{className:"k-cell-inner",children:[gl("span",{className:"k-link",children:[qt("span",{className:"k-column-title",children:c}),o&&qt("span",{className:"k-sort-icon",children:qt(g,{icon:v})}),k&&qt("span",{className:"k-sort-order",children:k})]}),t&&qt("a",{href:"#",className:r("k-grid-header-menu",{"k-active":N,"k-grid-filter-menu":t==="filter","k-grid-column-menu":t==="column"}),children:qt(g,{icon:t==="filter"?"filter":"more-vertical"})})]}),!c&&u&&qt("span",{className:"k-sr-only",children:u}),e.children,i&&qt("span",{className:"k-column-resizer k-touch-action-none"})]})};I.states=gu;I.className=kl;I.defaultOptions=wi;I.moduleName=V;I.folderName=X;import{jsx as ku}from"react/jsx-runtime";var Ei="k-grid-container",oe=e=>ku("div",{...e,className:r(e.className,Ei),children:e.children});oe.className=Ei;oe.moduleName=V;oe.folderName=X;import{jsx as vu}from"react/jsx-runtime";var Ii="k-grid-content",ae=e=>vu("div",{...e,className:r(e.className,Ii),children:e.children});ae.className=Ii;ae.moduleName=V;ae.folderName=X;import{jsx as Lu}from"react/jsx-runtime";var Ri="k-grid-table",re=e=>Lu(Se,{...e,className:r(e.className,Ri),children:e.children});re.className=Ri;re.moduleName=V;re.folderName=X;import{jsx as Cu}from"react/jsx-runtime";var Oi="k-grid-footer",vl=e=>Cu("div",{...e,className:r(e.className,Oi),children:e.children});vl.className=Oi;vl.moduleName=V;vl.folderName=X;import{jsx as Mu}from"react/jsx-runtime";var Pi="k-grid-footer-table",Ll=e=>Mu(Se,{...e,className:r(e.className,Pi),children:e.children});Ll.className=Pi;Ll.moduleName=V;Ll.folderName=X;var Cl="pager",Hi=Cl;import{Fragment as Ki,jsx as ze,jsxs as Mo}from"react/jsx-runtime";var er="k-pager",yu=[n.focus,n.disabled],Su={size:[s.undefined,s.small,s.medium,s.large]},qe={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},he=e=>{let{responsive:t=qe.responsive,size:o,pagerSizeInfo:a=qe.pagerSizeInfo,pageTitleInfo:l=qe.pageTitleInfo,maxPagesInfo:i=qe.maxPagesInfo,itemsPerPage:c=qe.itemsPerPage,maxPages:m=qe.maxPages,currentPage:h=qe.currentPage,previousNext:N=qe.previousNext,type:v=qe.type,pageSizes:k=qe.pageSizes,refresh:u=qe.refresh,info:M=qe.info,focus:C,disabled:S,dir:R,...E}=e,D=[],ie=[];for(let fe=1;fe<=m;fe++)D.push(ze(d,{selected:fe===h,fillMode:"flat",themeColor:"primary",size:o,children:fe})),ie.push(ze("option",{selected:fe===h,children:fe}));return Mo("div",{dir:R,...E,className:r(e.className,er,y(er,{size:o}),A(er,{focus:C,disabled:S}),{"k-pager-responsive":t}),children:[Mo("div",{className:r("k-pager-numbers-wrap"),children:[N&&Mo(Ki,{children:[ze(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"}),ze(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"&&ze("div",{className:r("k-pager-numbers"),children:D}),v==="input"&&Mo("span",{className:r("k-pager-input"),children:[l&&ze("span",{children:"Page"}),ze(_,{value:`${h}`,size:o,showSpinButton:!1,showClearButton:!1}),ze("span",{children:i&&`of ${m}`})]}),N&&Mo(Ki,{children:[ze(d,{className:r("k-pager-nav"),disabled:h===m&&!S,fillMode:"flat",size:o,icon:R==="rtl"?"caret-alt-left":"caret-alt-right"}),ze(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&&Mo("span",{className:r("k-pager-sizes"),children:[ze(Y,{value:`${c}`,size:o}),a&&ze("span",{children:"items per page"})]}),u&&ze(d,{className:r("k-pager-refresh"),fillMode:"flat",size:o,icon:"arrow-rotate-cw"}),M&&ze("span",{className:r("k-pager-info"),children:M})]})};he.states=yu;he.options=Su;he.className=er;he.defaultOptions=qe;he.moduleName=Cl;he.folderName=Hi;import{jsx as mI}from"react/jsx-runtime";import{jsx as TI}from"react/jsx-runtime";import{jsx as gI}from"react/jsx-runtime";import{jsx as Bi}from"react/jsx-runtime";var Au=he.options,wu=he.states,Eu={...he.defaultOptions,variant:"numeric"},Iu=[{name:"numeric",title:"Numeric"},{name:"input",title:"Input"}],Ru=[],ia=e=>{let{variant:t,...o}=e;return t==="input"?Bi(he,{...o,type:"input"}):Bi(he,{...o,type:"numeric"})};ia.options=Au;ia.states=wu;ia.variants=Iu;ia.defaultOptions=Eu;ia.modifiers=Ru;import{jsx as Ou}from"react/jsx-runtime";var Gi="k-grid-pager",vt=e=>Ou(he,{...e,className:r(e.className,Gi),children:e.children});vt.className=Gi;vt.moduleName=V;vt.folderName=X;var Ml="button",Di=Ml;import{jsx as Bu}from"react/jsx-runtime";var sa="k-button-group",Pu=[n.disabled],Hu={fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},Ku={},K=e=>{let{fillMode:t,disabled:o,stretched:a,...l}=e;return Bu("div",{role:"group",...l,className:r(e.className,sa,y(sa,{fillMode:t}),A(sa,{disabled:o}),{[`${sa}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};K.states=Pu;K.options=Hu;K.className=sa;K.defaultOptions=Ku;K.moduleName=Ml;K.folderName=Di;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 WI,jsx as XI,jsxs as JI}from"react/jsx-runtime";import{Fragment as eR,jsx as jI,jsxs as tR}from"react/jsx-runtime";import{Fragment as iR,jsx as nR,jsxs as sR}from"react/jsx-runtime";import{Fragment as bR,jsx as uR,jsxs as fR}from"react/jsx-runtime";import{Fragment as kR,jsx as gR,jsxs as vR}from"react/jsx-runtime";import{Fragment as AR,jsx as SR,jsxs as wR}from"react/jsx-runtime";import{jsx as Rt,jsxs as yl}from"react/jsx-runtime";var Gu={...d.options,...K.options},Du=d.states,_u={...d.defaultOptions,...K.defaultOptions,variant:"text-button"},zu=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Uu=[],da=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?yl(K,{fillMode:a.fillMode,className:o,children:[Rt(d,{...a,icon:"star"}),Rt(d,{...a,icon:"star"}),Rt(d,{...a,icon:"star"})]}):t==="icon-text-button"?yl(K,{fillMode:a.fillMode,className:o,children:[Rt(d,{...a,icon:"star",children:"First"}),Rt(d,{...a,icon:"star",children:"Middle"}),Rt(d,{...a,icon:"star",children:"Last"})]}):yl(K,{fillMode:a.fillMode,className:o,children:[Rt(d,{...a,children:"First"}),Rt(d,{...a,children:"Middle"}),Rt(d,{...a,children:"Last"})]})};da.options=Gu;da.states=Du;da.variants=zu;da.defaultOptions=_u;da.modifiers=Uu;import{jsx as _i,jsxs as $u}from"react/jsx-runtime";var zi="k-color-preview",Fu=[],Vu={},Yt=e=>{let{color:t,iconName:o,...a}=e;return $u("span",{...a,className:r(e.className,zi,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&_i(g,{icon:o,className:"k-color-preview-icon"}),_i("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Yt.states=Fu;Yt.options=Vu;Yt.className=zi;var Sl="slider",Ui=Sl;import{jsx as yo,jsxs as Al}from"react/jsx-runtime";var ca="k-slider",Xu=[n.hover,n.focus,n.active,n.disabled,n.readonly],Wu={},it={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},le=e=>{let{type:t=it.type,orientation:o=it.orientation,gradientType:a=it.gradientType,readonly:l=it.readonly,disabled:i=it.disabled,handlePosition:c=it.handlePosition,showButtons:m=it.showButtons,showTicks:h=it.showTicks,value:N=it.value,min:v=it.min,max:k=it.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"),Al("div",{...ie,className:r(ca,e.className,A(ca,{readonly:l,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:D,children:[m&&yo(d,{className:"k-button-decrease",rounded:"full",icon:Xe,tabIndex:-1,title:"Decrease"}),Al("div",{className:"k-slider-track-wrap",children:[h&&yo("ul",{className:"k-reset k-slider-items",children:e.children}),Al("div",{className:"k-slider-track",style:E,children:[yo("div",{className:"k-slider-selection"}),t==="range"&&yo("span",{className:r("k-draghandle","k-draghandle-start",A(ca,{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"}),yo("span",{className:r("k-draghandle",`k-draghandle-${c}`,A(ca,{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&&yo(d,{className:"k-button-increase",rounded:"full",icon:$e,tabIndex:-1,title:"Increase"})]})};le.states=Xu;le.options=Wu;le.className=ca;le.defaultOptions=it;le.moduleName=Sl;le.folderName=Ui;le.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 Fi}from"react/jsx-runtime";var Vi="k-tick",Ju=[],qu={},$i={label:!1},P=e=>{let{style:t,label:o=$i.label,orientation:a,large:l,text:i,...c}=e;return Fi("li",{...c,className:r(e.className,Vi,{[`k-tick-${a}`]:a,"k-tick-large":l}),style:t,children:o&&Fi("span",{className:"k-label",children:i})})};P.states=Ju;P.options=qu;P.className=Vi;P.defaultOptions=$i;import{Fragment as Yu,jsx as st,jsxs as Qu}from"react/jsx-runtime";var Xi=e=>st(le,{"aria-label":e["aria-label"]||"Slider",children:Qu(Yu,{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"})]}),...e});import{Fragment as Zu,jsx as dt,jsxs as ju}from"react/jsx-runtime";var Wi=e=>dt(le,{children:ju(Zu,{children:[dt(P,{className:"k-first",label:!0,large:!0,text:"0"}),dt(P,{}),dt(P,{}),dt(P,{}),dt(P,{}),dt(P,{label:!0,large:!0,text:"5"}),dt(P,{}),dt(P,{}),dt(P,{}),dt(P,{}),dt(P,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as fO,jsx as bO,jsxs as TO}from"react/jsx-runtime";import{Fragment as kO,jsx as gO,jsxs as vO}from"react/jsx-runtime";import{jsx as eb}from"react/jsx-runtime";var wl=e=>eb(le,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as tb}from"react/jsx-runtime";var El=e=>tb(le,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as OO,jsx as RO,jsxs as PO}from"react/jsx-runtime";import{Fragment as DO,jsx as GO,jsxs as _O}from"react/jsx-runtime";import{jsx as Lt,jsxs as Ji}from"react/jsx-runtime";var ob=le.options,ab=le.states,qi={...le.defaultOptions,variant:"horizontal",label:!0},rb=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],lb=[{name:"label",title:"Labels"},{name:"tick",title:"Ticks"},{name:"button",title:"Side Buttons"}],pa=e=>{let{variant:t,modifiers:o,...a}={...qi,...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"?Ji(Wi,{showTicks:m,showButtons:c,style:{height:"300px",...h},...a,children:[Lt(P,{label:i,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),Lt(P,{label:i,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),Lt(P,{label:i,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),Lt(P,{label:i,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),Lt(P,{label:i,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):Ji(Xi,{showTicks:m,showButtons:c,style:{width:"400px",...h},...a,children:[Lt(P,{label:i,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),Lt(P,{label:i,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),Lt(P,{label:i,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),Lt(P,{label:i,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),Lt(P,{label:i,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};pa.options=ob;pa.states=ab;pa.variants=rb;pa.defaultOptions=qi;pa.modifiers=lb;import{Fragment as ma,jsx as z,jsxs as ue}from"react/jsx-runtime";var Yi="k-colorgradient-inputs",nb=[],ib={size:[s.undefined,s.small,s.medium,s.large]},Qi={mode:"rgba"},So=e=>{let{mode:t=Qi.mode,size:o,...a}=e;return ue("div",{...a,className:r(Yi,"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"})]})})]})};So.states=nb;So.options=ib;So.className=Yi;So.defaultOptions=Qi;import{jsx as io,jsxs as so}from"react/jsx-runtime";var Zi="k-colorgradient-color-contrast",sb=[],db={},cb={},Ao=()=>so("div",{className:r(Zi,"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"})]})]})]});Ao.states=sb;Ao.options=db;Ao.className=Zi;Ao.defaultOptions=cb;var ji="color-gradient",es="colorgradient";import{jsx as ct,jsxs as ua}from"react/jsx-runtime";var tr="k-colorgradient",pb=[n.hover,n.focus,n.readonly,n.disabled],mb={size:[s.undefined,s.small,s.medium,s.large]},Ct={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"},Ce=e=>{let{size:t,mode:o=Ct.mode,readonly:a=Ct.readonly,disabled:l=Ct.disabled,gradientStyle:i=Ct.gradientStyle,dragHandleStyle:c=Ct.dragHandleStyle,alphaStyle:m=Ct.alphaStyle,alphaStyleHorizontal:h=Ct.alphaStyleHorizontal,contrast:N=Ct.contrast,dir:v,hover:k,focus:u,hoverHandle:M,focusHandle:C,canvasOrientation:S=Ct.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,tr,y(tr,{size:t}),A(tr,{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(El,{className:"k-hue-slider",hover:M,focus:C}),o!=="rgb"&&o!=="hsv"&&ct(El,{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(wl,{className:"k-hue-slider",hover:M,focus:C}),o!=="rgb"&&o!=="hsv"&&ct(wl,{className:"k-alpha-slider",hover:M,focus:C,trackStyle:h})]})]}),ct(So,{mode:e.mode,size:t}),N&&ct(Ao,{})]})};Ce.states=pb;Ce.options=mb;Ce.className=tr;Ce.defaultOptions=Ct;Ce.moduleName=ji;Ce.folderName=es;Ce.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 ub}from"react/jsx-runtime";var or=e=>ub(Ce,{...e});import{jsx as E0}from"react/jsx-runtime";import{jsx as P0}from"react/jsx-runtime";import{jsx as Il}from"react/jsx-runtime";var bb=Ce.options,fb=Ce.states,Tb={...Ce.defaultOptions,variant:"rgba"},hb=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],xb=[],ba=e=>{let{variant:t,...o}=e;switch(t){case"hex":return Il(or,{...o,mode:t});case"rgb":return Il(or,{...o,mode:t});default:return Il(or,{...o,mode:t})}};ba.options=bb;ba.states=fb;ba.variants=hb;ba.defaultOptions=Tb;ba.modifiers=xb;import{jsx as Nb}from"react/jsx-runtime";var Rl=e=>Nb("tr",{role:"row",children:e.children});import{jsx as vb}from"react/jsx-runtime";var Ol="k-colorpalette-tile",gb=[n.hover,n.focus,n.selected],kb={},wo=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 vb("td",{...c,role:"gridcell","aria-label":t,"aria-selected":i?"true":void 0,className:r(e.className,Ol,A(Ol,{hover:a,focus:l,selected:i})),style:m})};wo.states=gb;wo.options=kb;wo.className=Ol;var ts="color-palette",os="colorpalette";import{jsx as fa}from"react/jsx-runtime";var ar="k-colorpalette",Lb=[n.disabled],Cb={size:[s.undefined,s.small,s.medium,s.large]},as={columns:10},Ue=e=>{let{size:t,palette:o,columns:a=as.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(wo,{color:C,tileSize:l},S))});let M=fa(Rl,{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,ar,A(ar,{disabled:i}),y(ar,{size:t})),children:fa("table",{className:"k-colorpalette-table",role:"none",children:fa("tbody",{children:m.length>0?m:e.children})})})};Ue.states=Lb;Ue.options=Cb;Ue.className=ar;Ue.defaultOptions=as;Ue.moduleName=ts;Ue.folderName=os;Ue.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 rr=Ue;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 Mb}from"react/jsx-runtime";var rs=e=>Mb(rr,{palette:Ta.basic,...e});import{jsx as fP}from"react/jsx-runtime";import{jsx as kP,jsxs as vP}from"react/jsx-runtime";import{jsx as Rb}from"react/jsx-runtime";var yb=Ue.options,Sb=Ue.states,Ab={...Ue.defaultOptions,variant:"basic"},wb=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],Eb={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}},Ib=[],ha=e=>{let{variant:t="basic",...o}=e,a=Eb[t];return Rb(rs,{columns:a.columns,palette:a,...o})};ha.options=yb;ha.states=Sb;ha.variants=wb;ha.defaultOptions=Ab;ha.modifiers=Ib;var ls="color-editor",ns="coloreditor";import{jsx as pt,jsxs as Eo}from"react/jsx-runtime";var lr="k-coloreditor",Ob=[n.focus],Pb={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 Eo("div",{...u,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",lr,y(lr,{size:t}),A(lr,{focus:c})),dir:h,children:[Eo("div",{className:"k-coloreditor-header k-hstack",children:[pt("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&Eo(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"}),Eo("div",{className:"k-coloreditor-header-actions k-hstack",children:[pt(d,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),Eo("div",{className:"k-coloreditor-preview k-vstack",children:[pt(Yt,{className:"k-coloreditor-preview-color",color:l}),pt(Yt,{className:"k-coloreditor-current-color",color:i})]})]})]}),pt("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?pt(Ce,{focus:m,size:t,canvasOrientation:k,role:"none",tabIndex:-1}):pt(Ue,{palette:a,size:t})}),v&&Eo(kt,{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=Ob;be.options=Pb;be.className=lr;be.defaultOptions=xa;be.moduleName=ls;be.folderName=ns;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 Io=be;import{jsx as QP}from"react/jsx-runtime";import{jsx as tH}from"react/jsx-runtime";import{jsx as Hb}from"react/jsx-runtime";var is=e=>Hb(Io,{group:!0,currentColor:"fuchsia",...e});import{jsx as Kb}from"react/jsx-runtime";var ss=e=>Kb(Io,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as ds}from"react/jsx-runtime";var Bb=be.options,Gb=be.states,Db={...be.defaultOptions,variant:"gradient"},_b=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],zb=[],Na=e=>{let{variant:t,...o}=e;return t==="palette"?ds(ss,{...o,color:"white"}):ds(is,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Na.options=Bb;Na.states=Gb;Na.variants=_b;Na.defaultOptions=Db;Na.modifiers=zb;var cs="color-picker",ps="colorpicker";import{Fragment as Vb,jsx as mt,jsxs as Pl}from"react/jsx-runtime";var ms="k-colorpicker",Ub=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],Fb={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]},us={arrowIconName:"caret-alt-down"},Ye=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:l=us.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 Pl(Vb,{children:[Pl(xt,{...$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,ms,"k-icon-picker"),children:[mt(ot,{children:i}),mt(ao,{placeholder:h,value:m,showValue:!1,valueIcon:mt(Yt,{className:"k-value-icon",color:m,iconName:S}),valueIconName:S}),mt(at,{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(Oe,{actionsEnd:mt(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:fe,subtitle:Ee}),footer:Pl(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})})]})};Ye.states=Ub;Ye.options=Fb;Ye.className=ms;Ye.defaultOptions=us;Ye.moduleName=cs;Ye.folderName=ps;Ye.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 Qt=Ye;import{jsx as $b}from"react/jsx-runtime";var nr=e=>$b(Qt,{...e});import{jsx as GH}from"react/jsx-runtime";import{jsx as FH}from"react/jsx-runtime";import{jsx as WH}from"react/jsx-runtime";import{jsx as QH}from"react/jsx-runtime";import{jsx as tK}from"react/jsx-runtime";import{jsx as lK}from"react/jsx-runtime";import{jsx as co}from"react/jsx-runtime";var Xb=Qt.options,Wb=Qt.states,bs={...Qt.defaultOptions,variant:"color"},Jb=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],qb=[{name:"opened",title:"Opened"}],ga=e=>{let{variant:t,modifiers:o,...a}={...bs,...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(nr,{...a,...l})});case"icon":return co("div",{style:i,children:co(nr,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...l})});default:return co("div",{style:i,children:co(nr,{value:"rgba(183, 118 , 118, 1.00)",...a,...l})})}};ga.options=Xb;ga.states=Wb;ga.variants=Jb;ga.defaultOptions=bs;ga.modifiers=qb;var Hl="combobox",fs=Hl;import{Fragment as Kl,jsx as xe,jsxs as ka}from"react/jsx-runtime";var Ts="k-combobox",Yb=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],Qb={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]},hs={separators:!0},He=e=>{let{size:t,rounded:o,fillMode:a,separators:l=hs.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(Kl,{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,Ts),children:[i&&ka(Kl,{children:[xe(ot,{children:i}),l&&xe(rt,{})]}),xe(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}),xe(Re,{valid:k,invalid:u,loading:C,disabled:S}),xe(_e,{loading:C,disabled:S}),xe(We,{loading:C,disabled:S,readonly:D,value:m}),c&&ka(Kl,{children:[l&&xe(rt,{}),xe(at,{children:c})]}),xe(d,{className:"k-input-button",icon:"caret-alt-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:S})]}),E&&R&&xe(j,{className:"k-list-container k-combobox-popup",containerClassName:"k-combobox-popup-container",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:R}),ie&&xe(me,{adaptive:!0,id:xo?`${xo}-adaptive`:void 0,...fe,header:xe(Oe,{actionsEnd:xe(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:m,inputPlaceholder:h,title:Ee,subtitle:$e}),children:xe("div",{className:"k-list-container",children:xe(U,{customValue:Xe?xe(Ft,{text:`Use "${m}"`}):void 0,size:"large",children:ka(q,{"aria-label":Ee||"Options",children:[xe(G,{text:"List item"}),xe(G,{text:"List item"}),xe(G,{text:"List item"})]})})})})]})};He.states=Yb;He.options=Qb;He.className=Ts;He.defaultOptions=hs;He.moduleName=Hl;He.folderName=fs;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 Qe=He;import{jsx as Zb}from"react/jsx-runtime";var xs=e=>Zb(Qe,{...e});import{jsx as zK,jsxs as UK}from"react/jsx-runtime";import{jsx as JK,jsxs as qK}from"react/jsx-runtime";import{jsx as tB,jsxs as oB}from"react/jsx-runtime";import{Fragment as sB,jsx as iB}from"react/jsx-runtime";import{Fragment as bB,jsx as uB}from"react/jsx-runtime";import{jsx as gB,jsxs as kB}from"react/jsx-runtime";import{Fragment as wB,jsx as SB,jsxs as AB}from"react/jsx-runtime";import{jsx as OB}from"react/jsx-runtime";import{jsx as BB}from"react/jsx-runtime";import{jsx as FB,jsxs as VB}from"react/jsx-runtime";import{jsx as YB,jsxs as QB}from"react/jsx-runtime";import{jsx as Zt,jsxs as rf}from"react/jsx-runtime";var jb=He.states,ef=He.defaultOptions,tf=He.options,of=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],af=[],va=e=>{let{modifiers:t,...o}=e,a={},l=Zt(U,{style:{width:300},size:o.size,children:rf(q,{children:[Zt(G,{children:"List item"}),Zt(G,{children:"List item"}),Zt(G,{children:"List item"})]})});return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?Zt(g,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[i]?Zt(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}}),Zt("div",{children:Zt(xs,{value:"Value",style:{width:300},...o,...a})})};va.options=tf;va.states=jb;va.variants=af;va.defaultOptions=ef;va.modifiers=of;var Bl="menu-button",Ns=Bl;import{jsx as sf}from"react/jsx-runtime";var gs="k-menu-button",lf=[n.hover,n.focus,n.active,n.selected,n.disabled],nf={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]},Gl={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=Gl.showArrow,arrowIconName:M=Gl.arrowIconName,expanded:C,...S}=e;return sf(d,{...S,className:r(e.className,gs),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=lf;Q.options=nf;Q.className=gs;Q.defaultOptions=Gl;Q.moduleName=Bl;Q.folderName=Ns;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 EG}from"react/jsx-runtime";import{jsx as PG}from"react/jsx-runtime";import{jsx as GG}from"react/jsx-runtime";var Ze="menu",ut=Ze;import{jsx as La,jsxs as ks}from"react/jsx-runtime";var Dl="k-menu-item",df=[n.hover,n.focus,n.active,n.selected,n.disabled],cf={},vs={iconPosition:"before"},Ae=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=vs.iconPosition,dir:M,children:C,expanded:S,...R}=e,E=k;return E||(E=M==="rtl"?"caret-alt-left":"caret-alt-right"),ks("li",{...R,className:r(e.className,Dl,"k-item",A(Dl,{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:[ks("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]})};Ae.states=df;Ae.options=cf;Ae.className=Dl;Ae.defaultOptions=vs;Ae.moduleName=Ze;Ae.folderName=ut;import{jsx as Ca,jsxs as Ls}from"react/jsx-runtime";var _l="k-menu-item",pf=[n.hover,n.focus,n.active,n.selected,n.disabled],mf={},zl={dir:"ltr",iconPosition:"before"},pe=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=zl.iconPosition,dir:M=zl.dir,children:C,popup:S,expanded:R,...E}=e,D=k;return D||(D=M==="rtl"?"caret-alt-left":"caret-alt-right"),Ls("li",{...E,className:r(e.className,_l,"k-item",A(_l,{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:[Ls("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]})};pe.states=pf;pe.options=mf;pe.className=_l;pe.defaultOptions=zl;pe.moduleName=Ze;pe.folderName=ut;import{jsx as Tf}from"react/jsx-runtime";var Cs="k-menu-scroll-wrapper",uf=[],bf={},ff={},po=e=>{let{className:t,children:o,orientation:a,...l}=e;return Tf("div",{...l,className:r(t,Cs,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};po.states=uf;po.options=bf;po.className=Cs;po.defaultOptions=ff;po.moduleName=Ze;po.folderName=ut;var Ms=po;import{Fragment as Ul,jsx as mo,jsxs as sr}from"react/jsx-runtime";var Fl="k-menu",hf=[],xf={},dr={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Me=e=>{let{children:t,orientation:o=dr.orientation,header:a=dr.header,scrollable:l,scrollButtonsPosition:i=dr.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",Fl,{[`${Fl}-${o}`]:o,"k-header":a}),role:N?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return sr(Ul,{children:[l?sr(Ms,{orientation:o,style:c,dir:e.dir,children:[i==="start"&&sr(Ul,{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"&&sr(Ul,{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]})};Me.states=hf;Me.options=xf;Me.className=Fl;Me.defaultOptions=dr;Me.moduleName=Ze;Me.folderName=ut;Me.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 Nf}from"react/jsx-runtime";var Vl="k-separator",ys={orientation:"horizontal"},Ro=e=>{let{orientation:t=ys.orientation,...o}=e;return Nf("li",{...o,className:r(e.className,"k-item",Vl,{[`${Vl}-${t}`]:t}),role:"separator"})};Ro.className=Vl;Ro.defaultOptions=ys;Ro.moduleName=Ze;Ro.folderName=ut;import{Fragment as u1,jsx as b1}from"react/jsx-runtime";import{jsx as Lf}from"react/jsx-runtime";var $l="k-menu-group",gf=[],kf={size:[s.undefined,s.small,s.medium,s.large]},vf={},we=e=>{let{children:t,size:o,...a}=e;return Lf("ul",{...a,className:r(e.className,$l,y($l,{size:o})),role:"menu",children:t})};we.states=gf;we.options=kf;we.className=$l;we.defaultOptions=vf;we.moduleName=Ze;we.folderName=ut;import{Fragment as Cf,jsx as Oo,jsxs as Mf}from"react/jsx-runtime";var Xl=e=>Oo(Me,{children:Mf(Cf,{children:[Oo(Ae,{first:!0,text:"Item 1"}),Oo(Ae,{showArrow:!0,arrowIconName:"caret-alt-down",text:"Item 2"}),Oo(Ae,{showArrow:!0,arrowIconName:"caret-alt-down",text:"Item 3"}),Oo(Ae,{text:"Item 4"}),Oo(Ae,{last:!0,text:"Item 5"})]}),...e});import{Fragment as A1,jsx as y1,jsxs as S1}from"react/jsx-runtime";import{Fragment as O1,jsx as R1,jsxs as P1}from"react/jsx-runtime";import{Fragment as D1,jsx as G1,jsxs as _1}from"react/jsx-runtime";import{Fragment as $1,jsx as V1,jsxs as X1}from"react/jsx-runtime";import{jsx as uo,jsxs as Ef}from"react/jsx-runtime";var yf=Me.options,Sf=Me.states,Ss={...Me.defaultOptions,variant:"horizontal"},Af=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],wf=[{name:"scrollable",title:"Scrollable"},{name:"opened",title:"Opened"}],Ma=e=>{let{variant:t,modifiers:o,...a}={...Ss,...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:Ef(we,{children:[uo(pe,{text:"Item 1"}),uo(pe,{text:"Item 2"}),uo(Ro,{}),uo(pe,{text:"Item 3"})]})});break}}),t==="vertical"?uo(Xl,{...a,...l,orientation:"vertical",style:{width:"200px"}}):uo(Xl,{...a,...l})};Ma.options=yf;Ma.states=Sf;Ma.variants=Af;Ma.defaultOptions=Ss;Ma.modifiers=wf;import{Fragment as CD,jsx as vD,jsxs as LD}from"react/jsx-runtime";import{jsx as AD}from"react/jsx-runtime";import{Fragment as Hf,jsx as Mt,jsxs as As}from"react/jsx-runtime";var If=d.states,ws={...d.defaultOptions,variant:"text"},Rf=d.options,Of=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Pf=[{name:"opened",title:"Opened"}],ya=e=>{let{variant:t,modifiers:o,...a}={...ws,...e},l={},i=Mt(j,{className:"k-menu-popup",children:As(we,{size:a.size,children:[Mt(pe,{first:!0,text:"Menu Item"}),Mt(pe,{text:"Menu Item"}),Mt(pe,{last:!0,text:"Menu Item"})]})}),c;switch(t){case"icon-only":c=Mt("div",{children:Mt(Q,{...a,...l,icon:"star"})});break;case"icon-and-text":c=Mt("div",{children:Mt(Q,{...a,...l,icon:"star",children:"Dropdown Button"})});break;default:c=Mt("div",{children:Mt(Q,{...a,...l,children:"Dropdown Button"})});break}return As(Hf,{children:[c,o?.opened&&i]})};ya.options=Rf;ya.states=If;ya.variants=Of;ya.defaultOptions=ws;ya.modifiers=Pf;var Wl="split-button",Es=Wl;import{Fragment as Gf,jsx as Jl,jsxs as Is}from"react/jsx-runtime";var ql="k-split-button",Kf=[n.hover,n.focus,n.active,n.selected,n.disabled],Bf={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]},Rs={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=Rs.arrowIconName,popup:M,opened:C,popupId:S,...R}=e;return Is(Gf,{children:[Is("div",{...R,className:r(e.className,ql,"k-button-group",y(ql,{rounded:o})),children:[Jl(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}),Jl(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&&Jl(j,{className:"k-menu-popup",children:M})]})};F.states=Kf;F.options=Bf;F.className=ql;F.defaultOptions=Rs;F.moduleName=Wl;F.folderName=Es;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 Yl=F;import{jsx as _f}from"react/jsx-runtime";var Df="k-toolbar-separator",Tt=e=>_f("div",{className:r(Df,e.className,"k-separator")});var Ot="toolbar",jt=Ot;import{Fragment as Ql,jsx as $,jsxs as Po}from"react/jsx-runtime";var Pt="k-toolbar",zf=[n.focus],Uf={size:[s.undefined,s.small,s.medium,s.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},Ff={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===Vo)C.push($(Vo,{...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===Yl)C.push($(Yl,{...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===Ye?C.push($(Ye,{...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)}),Po("div",{...N,className:r(e.className,Pt,y(Pt,{size:t,fillMode:o}),A(Pt,{focus:a}),{[`${Pt}-resizable`]:l,[`${Pt}-scrollable`]:i,[`${Pt}-scrollable-overlay`]:i&&c==="hidden",[`${Pt}-scrollable-${m}`]:m&&m!=="both",[`${Pt}-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"&&Po(Ql,{children:[Po(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"&&Po(Ql,{children:[$("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:v}),$(Tt,{className:"k-toolbar-button-separator"}),Po(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)&&Po(Ql,{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=zf;Z.options=Uf;Z.className=Pt;Z.defaultOptions=Ff;Z.moduleName=Ot;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 Wf}from"react/jsx-runtime";var Os="k-floating-toolbar",Vf=[],$f={},Xf={},Ho=e=>{let{...t}=e;return Wf("div",{...t,className:r(e.className,Os),children:e.children})};Ho.states=Vf;Ho.options=$f;Ho.className=Os;Ho.defaultOptions=Xf;Ho.moduleName=Ot;Ho.folderName=jt;import{jsx as Qf}from"react/jsx-runtime";var Zl="k-toolbar-item",Jf=[n.focus],qf={},Yf={},Ko=e=>{let{focus:t,...o}=e;return Qf("div",{...o,className:r(e.className,Zl,A(Zl,{focus:t})),children:e.children})};Ko.states=Jf;Ko.options=qf;Ko.className=Zl;Ko.defaultOptions=Yf;Ko.moduleName=Ot;Ko.folderName=jt;import{jsx as Ps}from"react/jsx-runtime";var Hs="k-toolbar-popup",Zf=[],jf={size:[s.undefined,s.small,s.medium,s.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},eT={},bo=e=>{let{size:t,fillMode:o,section:a,...l}=e;return Ps(j,{...l,className:r(e.className,Hs),children:a?Ps("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=Zf;bo.options=jf;bo.className=Hs;bo.defaultOptions=eT;bo.moduleName=Ot;bo.folderName=jt;var cr=bo;import{jsx as I_}from"react/jsx-runtime";import{jsx as H_}from"react/jsx-runtime";import{jsx as D_}from"react/jsx-runtime";import{jsx as $_,jsxs as X_}from"react/jsx-runtime";import{jsx as Y_}from"react/jsx-runtime";import{jsx as Ht,jsxs as lT}from"react/jsx-runtime";var tT=F.states,Ks={...F.defaultOptions,variant:"text"},oT=F.options,aT=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],rT=[{name:"opened",title:"Opened"}],Sa=e=>{let{variant:t,modifiers:o,...a}={...Ks,...e},l={},i=lT(we,{size:a.size,children:[Ht(pe,{first:!0,text:"Menu Item"}),Ht(pe,{text:"Menu Item"}),Ht(pe,{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 Ht("div",{children:Ht(F,{...a,...l,icon:"star"})});case"icon-and-text":return Ht("div",{children:Ht(F,{...a,...l,icon:"star",children:"Split Button"})});default:return Ht("div",{children:Ht(F,{...a,...l,children:"Split Button"})})}};Sa.options=oT;Sa.states=tT;Sa.variants=aT;Sa.defaultOptions=Ks;Sa.modifiers=rT;import{jsx as fo,jsxs as nT}from"react/jsx-runtime";var Bs=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"),nT(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 M2,jsxs as y2}from"react/jsx-runtime";import{jsx as je,jsxs as Gs}from"react/jsx-runtime";var Ds=e=>je(Z,{scrollable:!0,...e,children:[je(d,{children:"Button"},"toolbar-button"),je(Q,{text:"Menu button"},"toolbar-menu-button"),je(F,{children:"Split button"},"toolbar-split-button"),Gs(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"),Gs(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")],...e});import{jsx as et,jsxs as _s}from"react/jsx-runtime";var zs=({scrollingPosition:e="start",...t})=>et(Z,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[et(d,{children:"Button"},"toolbar-button"),et(Q,{text:"Menu button"},"toolbar-menu-button"),et(F,{children:"Split button"},"toolbar-split-button"),_s(K,{children:[et(d,{className:"k-group-start",icon:"align-left",children:"Left"}),et(d,{icon:"align-center",children:"Center"}),et(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),et(d,{children:"Button"},"toolbar-button"),et(Q,{text:"Menu button"},"toolbar-menu-button"),et(F,{children:"Split button"},"toolbar-split-button"),_s(K,{children:[et(d,{className:"k-group-start",icon:"align-left",children:"Left"}),et(d,{icon:"align-center",children:"Center"}),et(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as iT,jsx as Fe,jsxs as pr}from"react/jsx-runtime";var Us=({fillMode:e,size:t,...o})=>pr(iT,{children:[Fe(Z,{section:!0,fillMode:e,size:t,children:[Fe(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),pr(K,{fillMode:e,children:[Fe(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),Fe(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),Fe(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),Fe(Tt,{className:"k-toolbar-button-separator"}),Fe(d,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,rounded:"none","aria-label":"More options","aria-expanded":"false"})],...o}),pr(cr,{size:t,fillMode:e,section:!0,...o,children:[Fe(F,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),Fe(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Fe(Tt,{}),Fe(Q,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),pr(K,{fillMode:e,children:[Fe(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),Fe(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),Fe(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as l5,jsx as a5,jsxs as r5}from"react/jsx-runtime";import{Fragment as T5,jsx as b5,jsxs as f5}from"react/jsx-runtime";import{jsx as eo}from"react/jsx-runtime";var sT=Z.options,dT=Z.states,Fs={...Z.defaultOptions,variant:"default"},cT=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],pT=[],Aa=e=>{let{variant:t,...o}={...Fs,...e};switch(t){case"responsive":return eo("div",{children:eo(Us,{style:{width:"583px"},...o})});case"overlay":return eo("div",{children:eo(zs,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return eo("div",{children:eo(Ds,{style:{width:"583px"},...o})});default:return eo("div",{children:eo(Bs,{style:{width:"583px"},...o})})}};Aa.options=sT;Aa.states=dT;Aa.variants=cT;Aa.defaultOptions=Fs;Aa.modifiers=pT;import{jsx as mT}from"react/jsx-runtime";var Vs="k-grid-toolbar",To=e=>mT(Z,{...e,className:r(e.className,Vs),children:e.children});To.className=Vs;To.moduleName=V;To.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(vt,{refresh:!1}),children:ne(TT,{children:[L(se,{children:L("div",{className:"k-grid-header-wrap",children:ne(ce,{children:[ne("colgroup",{children:[L("col",{}),L("col",{style:{width:"225px"}}),L("col",{}),L("col",{}),L("col",{})]}),ne(te,{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(re,{children:[ne("colgroup",{children:[L("col",{}),L("col",{style:{width:"225px"}}),L("col",{}),L("col",{}),L("col",{})]}),ne(de,{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 wa="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,wa,y(wa,{size:t,rounded:o,fillMode:a,themeColor:l}),{[`${wa}-bordered`]:c}),children:Js("span",{className:`${wa}-${i}`,children:e.children})})};Ve.states=xT;Ve.options=NT;Ve.className=wa;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 Ea}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=[],Ia=e=>{let{variant:t,...o}=e;switch(t){case"icon":return Ea(qs,{...o,children:Ea(g,{icon:"star"})});case"text":return Ea(Ys,{...o,children:"JO"});default:return Ea(Qs,{...o,children:Ea("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};Ia.options=LT;Ia.states=CT;Ia.variants=yT;Ia.defaultOptions=MT;Ia.modifiers=ST;var Ra="chip",fr=Ra;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=Ra;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=Ra;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"}],Oa=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"})]})};Oa.options=KT;Oa.states=GT;Oa.variants=BT;Oa.defaultOptions=DT;Oa.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"}],Pa=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"})};Pa.options=VT;Pa.states=UT;Pa.variants=$T;Pa.defaultOptions=FT;Pa.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($t,{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(se,{draggable:!0,children:O("div",{className:"k-grid-header-wrap",children:Ke(ce,{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(te,{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(re,{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(de,{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(se,{children:B("div",{className:`k-grid-header-wrap ${e}`,children:Be(ce,{children:[Be("colgroup",{children:[B("col",{}),B("col",{}),B("col",{}),B("col",{})]}),Be(te,{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(re,{children:[Be("colgroup",{children:[B("col",{}),B("col",{}),B("col",{}),B("col",{})]}),Be(de,{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 xr,jsx as b,jsxs as J}from"react/jsx-runtime";var JT=W.options,qT=W.states,td={...W.defaultOptions,variant:"normal"},YT=[{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"}],QT=[{name:"toolbar",title:"Toolbar",type:"boolean"},{name:"pager",title:"Pager",type:"boolean"}],Ha=e=>{let{variant:t,modifiers:o,...a}={...td,...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(he,{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(se,{children:b("div",{className:"k-grid-header-wrap",children:J(ce,{children:[J("colgroup",{children:[b("col",{}),b("col",{}),b("col",{}),b("col",{})]}),b(te,{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(re,{children:[J("colgroup",{children:[b("col",{}),b("col",{}),b("col",{}),b("col",{})]}),J(de,{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(od,{...a,...l});case"grouping":return b(js,{...a,...l,groupingHeader:b($t,{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(se,{children:J("div",{className:"k-grid-header-wrap",children:[" ",J(ce,{children:[J("colgroup",{children:[b("col",{className:"k-drag-col"}),b("col",{}),b("col",{}),b("col",{}),b("col",{})]}),b(te,{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(re,{children:[J("colgroup",{children:[b("col",{className:"k-drag-col"}),b("col",{}),b("col",{}),b("col",{}),b("col",{})]}),J(de,{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})}};Ha.options=JT;Ha.states=qT;Ha.variants=YT;Ha.defaultOptions=td;Ha.modifiers=QT;import{Fragment as ZT,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(ZT,{children:[H(se,{children:H("div",{className:"k-grid-header-wrap",children:ft(ce,{children:[ft("colgroup",{children:[H("col",{}),H("col",{}),H("col",{}),H("col",{style:{width:"300px"}})]}),H(te,{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(re,{children:[ft("colgroup",{children:[H("col",{}),H("col",{}),H("col",{}),H("col",{style:{width:"300px"}})]}),ft(de,{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(Ge,{})}),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});export{od as GridWithEditRow};
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"};import{Fragment as cd,jsx as dn}from"react/jsx-runtime";var Nr="k-font-icon",sd=[],id={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]},dd={},Do=e=>{let{size:t,themeColor:o,icon:a,rotate:l,flip:s,...c}=e;return a?dn("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"}):dn(cd,{})};Do.states=sd;Do.options=id;Do.className=Nr;Do.defaultOptions=dd;var cn=Do;import{Fragment as ud,jsx as Ga}from"react/jsx-runtime";var gr="k-svg-icon",pd=[],md={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]},pn={viewBox:"0 0 24 24"},_o=e=>{let{size:t,themeColor:o,rotate:a,flip:l,viewBox:s=pn.viewBox,icon:c,...m}=e;if(!c)return Ga(ud,{});if(c==="none")return Ga("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 Ga("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:Ga("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})})};_o.states=pd;_o.options=md;_o.className=gr;_o.defaultOptions=pn;var kr=_o;import*as vr from"@progress/kendo-svg-icons";var mn="icon",un="icons";import{useContext as fd}from"react";import{createContext as bd}from"react";var bn=bd({iconsType:"svg"});import{Fragment as fn,jsx as zo}from"react/jsx-runtime";var Ba="k-icon",Td=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),hd=[],xd={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}=fd(bn),{size:o,themeColor:a,icon:l,type:s=t||Lr.type,rotate:c,flip:m,viewBox:h=Lr.viewBox,...N}=e;if(!l)return zo(fn,{});if((t||s)==="svg"){if(l==="none")return zo(kr,{...N,className:r(e.className,Ba),icon:l,size:o});let k=vr[l]?l:Td(`${l}-icon`);return vr[k]?zo(kr,{...N,className:r(e.className,Ba),icon:vr[k],size:o,themeColor:a,rotate:c,flip:m,viewBox:h}):zo(fn,{})}return zo(cn,{...N,className:r(e.className,Ba),icon:l,size:o,themeColor:a,rotate:c,flip:m})};g.states=hd;g.options=xd;g.defaultOptions=Lr;g.className=Ba;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 Cr="button",Tn=Cr;import{Fragment as vd,jsx as Uo,jsxs as hn}from"react/jsx-runtime";var Fo="k-button",Nd=["icon-button"],gd=[n.hover,n.focus,n.active,n.selected,n.disabled,n.generating],kd={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 hn(t,{className:r(D,Fo,sn(Fo,h),y(Fo,{size:o,rounded:a,fillMode:l,themeColor:s}),A(Fo,{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&&Uo(g,{className:r(E,"k-button-icon"),icon:S}),R?hn(vd,{children:[R&&Uo("span",{className:"k-button-text",children:R}),e.children]}):e.children&&Uo("span",{className:"k-button-text",children:e.children}),c&&Uo("span",{className:"k-menu-button-arrow k-button-arrow",children:Uo(g,{icon:m})})]})};d.states=gd;d.options=kd;d.variants=Nd;d.className=Fo;d.defaultOptions=Mr;d.moduleName=Cr;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 Ld}from"react/jsx-runtime";var Kt=e=>Ld(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as Cd}from"react/jsx-runtime";var Vo=e=>Cd(d,{icon:"folder",children:"Button",...e});import{jsx as Md}from"react/jsx-runtime";var to=e=>Md(d,{children:"Button",...e});import{jsx as yr}from"react/jsx-runtime";var yd=d.options,Sd=d.states,Ad={...d.defaultOptions,variant:"text"},wd=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ed=[],$o=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return yr(Kt,{...o,icon:"star"});case"icon-and-text":return yr(Vo,{...o,icon:"star",children:"Button"});default:return yr(to,{...o,children:"Button"})}};$o.options=yd;$o.states=Sd;$o.variants=wd;$o.defaultOptions=Ad;$o.modifiers=Ed;var oo="checkbox",No=oo;import{jsx as xn}from"react/jsx-runtime";var Da="k-checkbox",Id=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked,n.indeterminate],Rd={size:[i.undefined,i.small,i.medium,i.large],rounded:[T.undefined,T.none,T.small,T.medium,T.large,T.full]},Od={},Be=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 xn("span",{className:"k-checkbox-wrap",children:xn("input",{...u,id:t,type:"checkbox",defaultChecked:o,required:N,disabled:c||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,Da,y(Da,{size:v,rounded:k}),A(Da,{hover:l,focus:s,disabled:c,invalid:m,valid:h,indeterminate:a,checked:o}))})})};Be.states=Id;Be.options=Rd;Be.className=Da;Be.defaultOptions=Od;Be.moduleName=oo;Be.folderName=No;Be.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 ht=Be;import{jsx as Kd}from"react/jsx-runtime";var Nn="k-checkbox-list",Pd=[],Hd={},gn={layout:"vertical"},De=e=>{let{layout:t=gn.layout,...o}=e;return Kd("ul",{...o,className:r(e.className,Nn,{[`k-list-${t}`]:t}),children:e.children})};De.states=Pd;De.options=Hd;De.className=Nn;De.defaultOptions=gn;De.moduleName=oo;De.folderName=No;import{jsx as _d}from"react/jsx-runtime";var kn="k-checkbox-list-item",Gd=[],Bd={},Dd={},Ie=e=>{let{...t}=e;return _d("li",{...t,className:r(e.className,kn),children:e.children})};Ie.states=Gd;Ie.options=Bd;Ie.className=kn;Ie.defaultOptions=Dd;Ie.moduleName=oo;Ie.folderName=No;import{Fragment as zd,jsx as vn,jsxs as Ud}from"react/jsx-runtime";var yt=({children:e,id:t,...o})=>Ud(zd,{children:[vn(ht,{id:t,...o}),vn("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as Mx,jsx as Cx,jsxs as yx}from"react/jsx-runtime";import{Fragment as Ix,jsx as Ex,jsxs as Rx}from"react/jsx-runtime";import{Fragment as Gx,jsx as Kx,jsxs as Bx}from"react/jsx-runtime";import{jsx as Ux}from"react/jsx-runtime";import{jsx as Xx}from"react/jsx-runtime";import{jsx as Yx}from"react/jsx-runtime";import{jsx as tt,jsxs as Ln}from"react/jsx-runtime";var Fd=De.options,Vd=De.states,$d={...De.defaultOptions,variant:"vertical"},Xd=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Wd=[],Xo=e=>{let{variant:t,...o}=e;return t==="horizontal"?Ln(De,{layout:"horizontal",...o,children:[tt(Ie,{children:tt(yt,{id:"first",defaultChecked:!0,children:"Label"})}),tt(Ie,{children:tt(yt,{id:"second",children:"Label"})}),tt(Ie,{children:tt(yt,{id:"third",children:"Label"})})]}):Ln(De,{...o,children:[tt(Ie,{children:tt(yt,{id:"first",defaultChecked:!0,children:"Label"})}),tt(Ie,{children:tt(yt,{id:"second",children:"Label"})}),tt(Ie,{children:tt(yt,{id:"third",children:"Label"})})]})};Xo.options=Fd;Xo.states=Vd;Xo.variants=Xd;Xo.defaultOptions=$d;Xo.modifiers=Wd;import{jsx as jd}from"react/jsx-runtime";var Jd=ht.options,qd=ht.states,Yd=ht.defaultOptions,Qd=[],Zd=[],Wo=e=>jd(yt,{id:"checkbox-demo-checkbox",...e,defaultChecked:!0,children:"Label"});Wo.options=Jd;Wo.states=qd;Wo.variants=Qd;Wo.defaultOptions=Yd;Wo.modifiers=Zd;var Jo="input",_a=Jo;import{jsx as ac}from"react/jsx-runtime";var za="k-input",ec=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],tc={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]},oc={},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 ac("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=ec;Te.options=tc;Te.className=za;Te.defaultOptions=oc;Te.moduleName=Jo;Te.folderName=_a;import{jsx as sc}from"react/jsx-runtime";var Ua="k-picker",rc=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],lc={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]},nc={},xt=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 sc("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})};xt.states=rc;xt.options=lc;xt.className=Ua;xt.defaultOptions=nc;xt.moduleName=Jo;xt.folderName=_a;import{Fragment as cc,jsx as Sr}from"react/jsx-runtime";var Cn="k-clear-value",ic=[n.disabled,n.loading,n.readonly],dc={},We=e=>{let{disabled:t,loading:o,readonly:a,value:l}=e;return t||a||o||!l?Sr(cc,{}):Sr("span",{className:r(e.className,Cn),children:Sr(g,{icon:"x"})})};We.states=ic;We.options=dc;We.className=Cn;import{jsx as uc}from"react/jsx-runtime";var Ar="k-input-inner",pc=[],mc={},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 uc("input",{...m,type:o,className:r(e.className,Ar,y(Ar,e)),placeholder:a,autoComplete:l,defaultValue:t,disabled:s||void 0,readOnly:c||void 0})};Je.states=pc;Je.options=mc;Je.className=Ar;import{jsx as Mn,jsxs as Tc}from"react/jsx-runtime";var wr="k-input-inner",bc=[],fc={},ao=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:l,valueIconName:s,...c}=e;return Tc("span",{...c,className:r(e.className,wr,y(wr,e)),children:[l,!l&&s&&Mn(g,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&Mn("span",{className:"k-input-value-text",children:t})]})};ao.states=bc;ao.options=fc;ao.className=wr;import{jsx as Nc}from"react/jsx-runtime";var Er="k-input-inner",hc=[],xc={},yn={value:"",placeholder:""},Ir=e=>{let{value:t=yn.value,placeholder:o=yn.placeholder,rows:a,disabled:l,...s}=e;return Nc("textarea",{...s,className:r(e.className,Er,y(Er,e)),placeholder:o,rows:a,defaultValue:t,disabled:l||void 0})};Ir.states=hc;Ir.options=xc;Ir.className=Er;import{Fragment as kc,jsx as Sn}from"react/jsx-runtime";var An="k-input-loading-icon",gc=[n.disabled,n.loading],_e=e=>{let{disabled:t,loading:o}=e;return t||!o?Sn(kc,{}):Sn("span",{className:r(e.className,An,"k-icon k-i-loading")})};_e.states=gc;_e.className=An;import{Fragment as Cc,jsx as wn}from"react/jsx-runtime";var En="k-input-validation-icon",vc=[n.valid,n.invalid,n.disabled,n.loading],Lc={},Re=e=>{let{valid:t,invalid:o,disabled:a,loading:l}=e,s=o?"warning-circle":"check-circle";return a||l||!!!(t||o)?wn(Cc,{}):wn(g,{className:r(En),icon:s})};Re.states=vc;Re.options=Lc;Re.className=En;import{Fragment as Sc,jsx as In}from"react/jsx-runtime";var Mc="k-input-prefix",yc={direction:"horizontal"},ot=e=>{let{direction:t=yc.direction,...o}=e;return e.children?In("span",{...o,className:r(Mc,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):In(Sc,{})};import{Fragment as Ec,jsx as Rn}from"react/jsx-runtime";var Ac="k-input-suffix",wc={direction:"horizontal"},at=e=>{let{direction:t=wc.direction,...o}=e;return e.children?Rn("span",{...o,className:r(Ac,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Rn(Ec,{})};import{jsx as ng}from"react/jsx-runtime";import{jsx as Rc}from"react/jsx-runtime";var Ic="k-input-suffix-text",Rr=e=>{let{children:t,...o}=e;return Rc("span",{...o,className:r(Ic,e.className),children:t})};import{jsx as Pc}from"react/jsx-runtime";var On="k-input-separator",Oc={direction:"vertical"},rt=e=>{let{direction:t=Oc.direction,...o}=e;return Pc("span",{...o,className:r(On,e.className,{[`${On}-${t}`]:t})})};import{Fragment as Pn,jsx as Nt,jsxs as Or}from"react/jsx-runtime";var Hc=Te.states,Kc=Te.defaultOptions,Gc=Te.options,Bc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Dc=[],qo=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 Or(Te,{...m,valid:o,invalid:a,loading:l,disabled:s,readonly:c,style:{width:300},children:[h&&Or(Pn,{children:[Nt(ot,{children:Nt(g,{icon:"lock"})}),u&&Nt(rt,{})]}),Nt(Je,{placeholder:"Placeholder",value:"Value"}),k&&Nt(Re,{valid:o,invalid:a,loading:l,disabled:s}),Nt(_e,{loading:l,disabled:s}),v&&Nt(We,{loading:l,disabled:s,readonly:c,value:"Value"}),N&&Or(Pn,{children:[u&&Nt(rt,{}),Nt(at,{children:Nt(to,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};qo.options=Gc;qo.states=Hc;qo.variants=Dc;qo.defaultOptions=Kc;qo.modifiers=Bc;import{jsx as Hn,jsxs as Vc}from"react/jsx-runtime";var Kn="k-spin-button",Uc=[],Fc={size:[i.undefined,i.small,i.medium,i.large],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},Pr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Gt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:l=Pr.increaseLabel,decreaseLabel:s=Pr.decreaseLabel,...c}=e;return Vc("span",{...c,className:r(Kn,e.className),children:[Hn(d,{className:"k-spinner-increase",icon:"caret-alt-up",size:t,fillMode:o,disabled:a,"aria-label":l}),Hn(d,{className:"k-spinner-decrease",icon:"caret-alt-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Gt.states=Uc;Gt.options=Fc;Gt.className=Kn;Gt.defaultOptions=Pr;Gt.moduleName=null;Gt.folderName=null;var Gn="numeric-textbox",Bn="numerictextbox";import{Fragment as Dn,jsx as St,jsxs as Hr}from"react/jsx-runtime";var _n="k-numerictextbox",$c=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],Xc={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]},Va={showSpinButton:!0,showClearButton:!0,separators:!0},_=e=>{let{size:t,rounded:o,fillMode:a,separators:l=Va.separators,showClearButton:s=Va.showClearButton,showSpinButton:c=Va.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 Hr(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,_n),children:[m&&Hr(Dn,{children:[St(ot,{children:m}),l&&St(rt,{})]}),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(Re,{valid:M,invalid:C,loading:R,disabled:E}),St(_e,{loading:R,disabled:E}),s&&St(We,{loading:R,disabled:E,readonly:D,value:N}),h&&Hr(Dn,{children:[l&&St(rt,{}),St(at,{children:h})]}),c&&St(Gt,{className:"k-input-spinner",size:t,fillMode:a,disabled:E})]})};_.states=$c;_.options=Xc;_.className=_n;_.defaultOptions=Va;_.moduleName=Gn;_.folderName=Bn;_.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 Yo=_;import{jsx as Wc}from"react/jsx-runtime";var zn=e=>Wc(Yo,{...e});var Kr="popup",Un=Kr;import{jsx as Fn}from"react/jsx-runtime";var Vn="k-animation-container",Jc=[],qc={},$n={positionMode:"absolute"},gt=e=>{let{positionMode:t=$n.positionMode,animationStyle:o,offset:a,...l}=e;return Fn("div",{...l,style:{...a,...e.style},className:r(e.className,Vn,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:Fn("div",{className:"k-child-animation-container",style:o,children:e.children})})};gt.states=Jc;gt.options=qc;gt.className=Vn;gt.defaultOptions=$n;gt.moduleName=Kr;gt.folderName=Un;var Gr="popup",Xn=Gr;import{jsx as Wn}from"react/jsx-runtime";var Jn="k-popup",Yc=[],Qc={},qn={positionMode:"absolute"},j=e=>{let{offset:t,positionMode:o=qn.positionMode,animationStyle:a,containerClassName:l,containerRole:s,containerAriaLabel:c,...m}=e;return Wn(gt,{positionMode:o,offset:t,animationStyle:a,className:l,role:s,"aria-label":c,children:Wn("div",{...m,className:r(e.className,Jn),children:e.children})})};j.states=Yc;j.options=Qc;j.className=Jn;j.defaultOptions=qn;j.moduleName=Gr;j.folderName=Xn;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",Yn=Br;import{jsx as ep}from"react/jsx-runtime";var $a="k-actions",Zc=[],jc={},Dr={alignment:"start",orientation:"horizontal"},kt=e=>{let{alignment:t=Dr.alignment,orientation:o=Dr.orientation,...a}=e;return ep("div",{...a,className:r($a,{[`${$a}-${t}`]:t,[`${$a}-${o}`]:o},e.className),children:e.children})};kt.states=Zc;kt.options=jc;kt.className=$a;kt.defaultOptions=Dr;kt.moduleName=Br;kt.folderName=Yn;import{jsx as op}from"react/jsx-runtime";var tp="k-actionsheet-footer",Qn={alignment:"stretched",orientation:"horizontal"},Bt=e=>{let{alignment:t=Qn.alignment,orientation:o=Qn.orientation,template:a,as:l=a?"div":kt,...s}=e;return op(l,{...s,...!a&&{alignment:t,orientation:o},className:r(e.className,tp),children:e.children})};var _r="searchbox",Zn=_r;import{jsx as Qo,jsxs as lp}from"react/jsx-runtime";var jn="k-searchbox",ap=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading],rp={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"},lt=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 lp(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,jn),children:[M&&Qo(g,{className:"k-input-icon",icon:C}),Qo(Je,{placeholder:o,value:t}),Qo(_e,{...e}),Qo(Re,{...e}),Qo(We,{...e})]})};lt.states=ap;lt.options=rp;lt.className=jn;lt.defaultOptions=zr;lt.moduleName=_r;lt.folderName=Zn;import{jsx as Fk}from"react/jsx-runtime";var Ur="textbox",es=Ur;import{Fragment as ts,jsx as Dt,jsxs as Fr}from"react/jsx-runtime";var os="k-textbox",np=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],sp={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]},Xa={showClearButton:!0,showValidationIcon:!0,separators:!0},ee=e=>{let{size:t,rounded:o,fillMode:a,separators:l=Xa.separators,showClearButton:s=Xa.showClearButton,showValidationIcon:c=Xa.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,os),children:[m&&Fr(ts,{children:[Dt(ot,{children:m}),l&&Dt(rt,{})]}),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(Re,{valid:C,invalid:S,loading:E,disabled:D}),Dt(_e,{loading:E,disabled:D}),s&&Dt(We,{loading:E,disabled:D,readonly:se,value:v}),h&&Fr(ts,{children:[l&&Dt(rt,{}),Dt(at,{children:h})]})]})};ee.states=np;ee.options=sp;ee.className=os;ee.defaultOptions=Xa;ee.moduleName=Ur;ee.folderName=es;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 ip}from"react/jsx-runtime";var as=e=>ip(Zo,{...e});import{Fragment as sv,jsx as nv}from"react/jsx-runtime";import{Fragment as uv,jsx as mv}from"react/jsx-runtime";import{jsx as hv}from"react/jsx-runtime";import{jsx as Vr}from"react/jsx-runtime";var dp=ee.states,cp=ee.defaultOptions,pp=ee.options,mp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],up=[],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(as,{value:"Value",style:{width:300},...o,...a})};jo.options=pp;jo.states=dp;jo.variants=up;jo.defaultOptions=cp;jo.modifiers=mp;import{jsx as _t,jsxs as $r}from"react/jsx-runtime";var rs="k-actionsheet-titlebar",bp={},Oe=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,rs),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(lt,{placeholder:"Filter",size:N?"large":"medium","aria-label":"Filter options"})})]})};Oe.className=rs;Oe.defaultOptions=bp;import{jsx as Xr,jsxs as xp}from"react/jsx-runtime";var Wr="k-actionsheet-view",fp=[],Tp={},hp={},go=e=>{let{adaptive:t,animated:o,children:a,header:l,footer:s,titleId:c,...m}=e,h=l?.type===Oe&&Xr(Oe,{adaptive:t,titleId:c,...l?.props}),N=s?.type===Bt&&Xr(Bt,{...s?.props});return xp("div",{...m,className:r(e.className,Wr,{[`${Wr}-animated`]:o}),children:[h,Xr("div",{className:"k-actionsheet-content",children:a}),N]})};go.states=fp;go.options=Tp;go.className=Wr;go.defaultOptions=hp;var ea="action-sheet",Wa=ea;var Jr="overlay",ls=Jr;import{jsx as vp}from"react/jsx-runtime";var qr="k-overlay",Np=[],gp={themeColor:[f.undefined,f.light,f.dark,f.inverse]},kp={},zt=e=>{let{themeColor:t,...o}=e;return vp("div",{...o,className:r(e.className,qr,y(qr,{themeColor:t})),children:e.children})};zt.states=Np;zt.options=gp;zt.className=qr;zt.defaultOptions=kp;zt.moduleName=Jr;zt.folderName=ls;import{jsx as Ja,jsxs as Mp}from"react/jsx-runtime";var ns="k-actionsheet",Lp=[],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 Mp("div",{className:"k-actionsheet-container",children:[l&&Ja(zt,{}),Ja(gt,{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:Ja("div",{...v,id:N,role:"dialog","aria-modal":l?"true":void 0,"aria-labelledby":k,className:r(e.className,ns,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||Ja(go,{header:m,footer:h,adaptive:a,titleId:k,...e,children:c})})})]})};me.states=Lp;me.options=Cp;me.className=ns;me.defaultOptions=ta;me.moduleName=ea;me.folderName=Wa;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 wp}from"react/jsx-runtime";var ss="k-actionsheet-container",yp=[],Sp={},Ap={},ko=e=>{let{children:t,...o}=e;return wp("div",{...o,className:ss,children:t})};ko.states=yp;ko.options=Sp;ko.className=ss;ko.defaultOptions=Ap;ko.moduleName=ea;ko.folderName=Wa;import{jsx as Ep}from"react/jsx-runtime";var Yr=e=>{let{...t}=e;return Ep("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Rp,jsx as oa,jsxs as Qr}from"react/jsx-runtime";var Zr="k-actionsheet-item",Ip=[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(Rp,{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=Ip;Ut.className=Zr;import{jsx as TL,jsxs as hL}from"react/jsx-runtime";import{jsx as kL}from"react/jsx-runtime";import{jsx as ML}from"react/jsx-runtime";import{jsx as wL}from"react/jsx-runtime";import{jsx as ve,jsxs as jr}from"react/jsx-runtime";var Op=me.options,Pp=me.states,ds={...me.defaultOptions,variant:"normal"},Hp=[{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}={...ds,...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(Oe,{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(Oe,{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=Op;aa.states=Pp;aa.variants=Hp;aa.defaultOptions=ds;aa.modifiers=Kp;import tl from"react";import{jsx as cs}from"react/jsx-runtime";var Gp="k-list-group-sticky-header",el=e=>cs("div",{className:r(Gp,e.className),children:cs("div",{className:"k-list-header-text",children:e.children})});import{jsx as Dp}from"react/jsx-runtime";var Bp="k-no-data",qa=e=>{let{live:t,...o}=e;return Dp("span",{...o,className:r(Bp,e.className),"aria-live":t?"polite":void 0,children:e.children})};var ro="list",vo=ro;import{jsx as ps,jsxs as ms}from"react/jsx-runtime";var ol="k-list",_p=[],zp={size:[i.undefined,i.small,i.medium,i.large]},Up={},F=e=>{let{size:t,virtualization:o,children:a,header:l,optionLabel:s,customValue:c,noData:m,screenReaders:h,...N}=e,k=tl.Children.toArray(a)[0],u=k?.props?.children?tl.Children.count(k.props.children):tl.Children.count(a);return ms("div",{...N,className:r(e.className,ol,y(ol,{size:t}),{"k-virtual-list":o}),children:[s,c,l&&ps(el,{children:l}),a||(m!==void 0?m:ps(qa,{live:!0,children:"No data found."})),h&&a&&ms(qa,{className:"k-sr-only",live:!0,children:[u," items found."]})]})};F.states=_p;F.options=zp;F.className=ol;F.defaultOptions=Up;F.moduleName=ro;F.folderName=vo;F.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 Xp}from"react/jsx-runtime";var us="k-list-container",Fp=[],Vp={},$p={},Lo=e=>{let{...t}=e;return Xp("div",{...t,className:r(e.className,us),children:e.children})};Lo.states=Fp;Lo.options=Vp;Lo.className=us;Lo.defaultOptions=$p;Lo.moduleName=ro;Lo.folderName=vo;import{jsx as lo,jsxs as Yp}from"react/jsx-runtime";var al="k-list-item",Wp=[n.hover,n.focus,n.selected,n.disabled],Jp={},qp={},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 Yp("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":al,A(al,{hover:h,focus:N,disabled:k,selected:v})),children:[c&&lo(Be,{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=Wp;B.options=Jp;B.className=al;B.defaultOptions=qp;B.moduleName=ro;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 Zp}from"react/jsx-runtime";var Qp="k-list-ul",At=e=>{let{children:t,role:o,id:a,...l}=e;return Zp("ul",{...l,id:a,role:o,className:r(Qp,e.className),children:t})};At.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 rl,jsxs as em}from"react/jsx-runtime";var jp="k-list-content",q=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":l,listboxId:s,...c}=e;return em("div",{...c,className:r(jp,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:rl(At,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":l,children:e.children}),t&&rl("div",{className:"k-height-container",children:rl("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 HC,jsx as PC,jsxs as KC}from"react/jsx-runtime";import{jsx as ll,jsxs as om}from"react/jsx-runtime";var tm="k-list-group-item",no=e=>{let{groupIconName:t,...o}=e;return om("li",{...o,role:"presentation",className:r(tm,e.className),children:[t&&ll("span",{className:"k-list-item-icon-wrapper",children:ll(g,{icon:t,className:"k-list-item-icon"})}),ll("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 nm}from"react/jsx-runtime";var nl="k-list-optionlabel",am=[n.hover,n.focus,n.selected,n.disabled],rm={},lm={},Ya=e=>{let{text:t,hover:o,focus:a,selected:l,disabled:s,...c}=e;return nm("div",{...c,className:r(nl,A(nl,{hover:o,focus:a,selected:l,disabled:s})),children:t})};Ya.states=am;Ya.options=rm;Ya.className=nl;Ya.defaultOptions=lm;import{jsx as cm}from"react/jsx-runtime";var sl="k-list-custom-value",sm=[n.hover,n.focus,n.selected,n.disabled],im={},dm={},Ft=e=>{let{text:t,hover:o,focus:a,selected:l,disabled:s,...c}=e;return cm("div",{...c,className:r(sl,A(sl,{hover:o,focus:a,selected:l,disabled:s})),children:t})};Ft.states=sm;Ft.options=im;Ft.className=sl;Ft.defaultOptions=dm;import{Fragment as ZC,jsx as QC,jsxs as jC}from"react/jsx-runtime";import{Fragment as lM,jsx as rM,jsxs as nM}from"react/jsx-runtime";import{Fragment as uM,jsx as pM,jsxs as mM}from"react/jsx-runtime";import{Fragment as gM,jsx as xM,jsxs as NM}from"react/jsx-runtime";import{jsx as CM}from"react/jsx-runtime";import{Fragment as EM,jsx as wM,jsxs as IM}from"react/jsx-runtime";var bs="dropdown-list",fs="dropdownlist";import{Fragment as um,jsx as Pe,jsxs as il}from"react/jsx-runtime";var Ts="k-dropdownlist",pm=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],mm={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]},dl={showValue:!0,arrowIconName:"caret-alt-down"},Y=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:l=dl.arrowIconName,showValue:s=dl.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 il(um,{children:[il(xt,{...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,Ts,{"k-icon-picker":!s&&c}),children:[Pe(ot,{children:m}),Pe(ao,{placeholder:v,value:N,showValue:s,valueIconName:c}),Pe(Re,{valid:M,invalid:C,loading:R,disabled:E}),Pe(_e,{loading:R,disabled:E}),Pe(at,{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(Oe,{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(F,{size:"large",children:il(q,{children:[Pe(B,{text:"List item"}),Pe(B,{text:"List item"}),Pe(B,{text:"List item"})]})})})})]})};Y.states=pm;Y.options=mm;Y.className=Ts;Y.defaultOptions=dl;Y.moduleName=bs;Y.folderName=fs;import{jsx as dy}from"react/jsx-runtime";import{jsx as by,jsxs as fy}from"react/jsx-runtime";import{Fragment as Ly,jsx as ky,jsxs as vy}from"react/jsx-runtime";import{jsx as Sy}from"react/jsx-runtime";import{jsx as Ry,jsxs as Oy}from"react/jsx-runtime";import{Fragment as zy,jsx as Dy,jsxs as _y}from"react/jsx-runtime";import{Fragment as Nm,jsx as Vt,jsxs as hs}from"react/jsx-runtime";var bm=Y.states,fm=Y.defaultOptions,Tm=Y.options,hm=[{name:"opened",title:"Opened"}],xm=[],la=e=>{let{modifiers:t,...o}=e,a={},l=hs(Nm,{children:[Vt("div",{className:"k-list-filter",children:Vt(lt,{})}),Vt(F,{style:{width:300},size:o.size,children:hs(q,{children:[Vt(B,{children:"List item"}),Vt(B,{children:"List item"}),Vt(B,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!t?.[s],a.popup=t?.[s]?l:void 0)}),Vt("div",{children:Vt(Y,{placeholder:"Value",style:{width:300},...o,...a})})};la.options=Tm;la.states=bm;la.variants=xm;la.defaultOptions=fm;la.modifiers=hm;import{Fragment as iS,jsx as sS}from"react/jsx-runtime";import{Fragment as bS,jsx as uS}from"react/jsx-runtime";import{jsx as xS}from"react/jsx-runtime";import{jsx as cl}from"react/jsx-runtime";var gm=_.states,km=_.defaultOptions,vm=_.options,Lm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Cm=[],na=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(l=>{switch(l){case"prefix":a.prefix=t?.[l]?cl(Y,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[l]?cl(Rr,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[l];break;case"spin-button":a.showSpinButton=t?.[l];break;default:break}}),cl(zn,{value:"Value",style:{width:300},...o,...a})};na.options=vm;na.states=gm;na.variants=Cm;na.defaultOptions=km;na.modifiers=Lm;var z="grid",V=z;import{jsx as Am,jsxs as wm}from"react/jsx-runtime";var Qa="k-grid",Mm=[],ym={size:[i.undefined,i.small,i.medium,i.large]},Sm=[],xs={pagerPosition:"bottom"},W=e=>{let{size:t,pagerPosition:o=xs.pagerPosition,toolbar:a,pager:l,groupingHeader:s,gridSelectionAggregates:c,_renderAriaRoot:m,resizable:h,...N}=e;return wm("div",{...N,className:r(e.className,Qa,{[`${Qa}-resizable`]:h},y(Qa,{size:t})),children:[a,o==="top"&&l,s,e.children&&m?Am("div",{className:"k-grid-aria-root",children:e.children}):e.children,c,o==="bottom"&&l]})};W.states=Mm;W.options=ym;W.variants=Sm;W.className=Qa;W.defaultOptions=xs;W.moduleName=z;W.folderName=V;import{jsx as Em}from"react/jsx-runtime";var Ns="k-grid-header",ie=e=>{let{draggable:t,...o}=e;return Em("div",{...o,className:r(e.className,Ns,{"k-grid-draggable-header":t}),children:e.children})};ie.className=Ns;ie.moduleName=z;ie.folderName=V;import{jsx as gs,jsxs as Im}from"react/jsx-runtime";var ks="k-grouping-header",$t=e=>{let{dropHint:t,dropClue:o,...a}=e;return Im("div",{...a,className:r(e.className,ks),children:[o&&gs("div",{className:"k-grouping-dropclue"}),e.children,gs("div",{className:"k-grouping-drop-container",children:t})]})};$t.className=ks;$t.moduleName=z;$t.folderName=V;import{jsx as Rm}from"react/jsx-runtime";var vs="k-grid-pinned-container",pl=e=>{let{position:t,...o}=e;return Rm("div",{...o,className:r(e.className,vs,{"k-pos-bottom":t==="bottom"}),children:e.children})};pl.className=vs;pl.moduleName=z;pl.folderName=V;import{jsx as Om}from"react/jsx-runtime";var Ls="k-grid-sticky-container",ml=e=>{let{position:t,...o}=e;return Om("div",{...o,className:r(e.className,Ls,{"k-pos-bottom":t==="bottom"}),children:e.children})};ml.className=Ls;ml.moduleName=z;ml.folderName=V;var Le="table",ye=Le;import{jsx as Gm}from"react/jsx-runtime";var Cs="k-data-table",Pm=[],Hm={size:[i.undefined,i.small,i.medium,i.large]},Km={},wt=e=>{let{size:t,...o}=e;return Gm("div",{...o,className:r(e.className,Cs,y("k-table",{size:t})),children:e.children})};wt.states=Pm;wt.options=Hm;wt.className=Cs;wt.defaultOptions=Km;wt.moduleName=Le;wt.folderName=ye;import{jsx as zm}from"react/jsx-runtime";var ul="k-table-header-wrap",Bm=[n.hover,n.focus,n.disabled],Dm={},_m={},Xt=e=>{let{children:t,hover:o,focus:a,disabled:l,...s}=e;return zm("div",{...s,className:r(e.className,ul,A(ul,{hover:o,focus:a,disabled:l})),children:t})};Xt.states=Bm;Xt.options=Dm;Xt.className=ul;Xt.defaultOptions=_m;Xt.moduleName=Le;Xt.folderName=ye;import{jsx as $m}from"react/jsx-runtime";var bl="k-table",Um=[],Fm={size:[i.undefined,i.small,i.medium,i.large]},Vm={},Se=e=>{let{size:t,...o}=e;return $m("table",{...o,className:r(e.className,bl,y(bl,{size:t})),children:e.children})};Se.states=Um;Se.options=Fm;Se.className=bl;Se.defaultOptions=Vm;Se.moduleName=Le;Se.folderName=ye;import{jsx as fl}from"react/jsx-runtime";var Tl="k-table-header",Xm=[n.hover,n.focus,n.disabled],Wm={},Jm={},Et=e=>{let{children:t,hover:o,focus:a,disabled:l,...s}=e;return fl("div",{...s,className:r(e.className,Tl,A(Tl,{hover:o,focus:a,disabled:l})),children:fl(Xt,{children:fl(Se,{children:t})})})};Et.states=Xm;Et.options=Wm;Et.className=Tl;Et.defaultOptions=Jm;Et.moduleName=Le;Et.folderName=ye;import{jsx as Zm}from"react/jsx-runtime";var Ms="k-table-scroller",qm=[],Ym={},Qm={},Co=e=>{let{children:t,...o}=e;return Zm("div",{...o,className:r(e.className,Ms),children:t})};Co.states=qm;Co.options=Ym;Co.className=Ms;Co.defaultOptions=Qm;Co.moduleName=Le;Co.folderName=ye;import{jsx as yA}from"react/jsx-runtime";import{jsx as ou}from"react/jsx-runtime";var ys="k-table-footer",jm=[],eu={},tu={},Wt=e=>{let{children:t,...o}=e;return ou("div",{...o,className:r(e.className,ys),children:t})};Wt.states=jm;Wt.options=eu;Wt.className=ys;Wt.defaultOptions=tu;Wt.moduleName=Le;Wt.folderName=ye;import{jsx as nu}from"react/jsx-runtime";var hl="k-table-list",au=[],ru={size:[i.undefined,i.small,i.medium,i.large]},lu={},Jt=e=>{let{size:t,virtualization:o,...a}=e;return nu("ul",{...a,className:r(e.className,"k-table",hl,y(hl,{size:t}),{"k-virtual-table":o}),children:e.children})};Jt.states=au;Jt.options=ru;Jt.className=hl;Jt.defaultOptions=lu;Jt.moduleName=Le;Jt.folderName=ye;import{jsx as iu}from"react/jsx-runtime";var su="k-table-thead",te=e=>iu("thead",{className:r(e.className,su),children:e.children});import{jsx as cu}from"react/jsx-runtime";var du="k-table-tbody",de=e=>cu("tbody",{className:r(e.className,du),children:e.children});import{jsx as VA}from"react/jsx-runtime";import{jsx as mu}from"react/jsx-runtime";var xl="k-table-row",pu=[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 mu("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=pu;w.className=xl;import{jsx as bu}from"react/jsx-runtime";var Nl="k-table-row",uu=[n.hover,n.focus,n.selected,n.disabled],Za=e=>{let{hover:t,focus:o,selected:a,disabled:l,alt:s,...c}=e;return bu("li",{...c,className:r(e.className,Nl,{"k-table-alt-row":s},A(Nl,{hover:t,focus:o,disabled:l,selected:a})),children:e.children})};Za.states=uu;Za.className=Nl;import{jsx as fu}from"react/jsx-runtime";var Ss="k-table-th",It=e=>{let{text:t,colspan:o,rowspan:a,...l}=e,s=t||e.children;return fu("th",{colSpan:o,rowSpan:a,...l,className:r(e.className,Ss),children:s})};It.className=Ss;It.moduleName=Le;It.folderName=ye;import{jsx as rw}from"react/jsx-runtime";import{jsx as hu}from"react/jsx-runtime";var gl="k-table-td",Tu=[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 hu("td",{colSpan:s,rowSpan:c,...m,className:r(e.className,gl,A(gl,{focus:t,selected:o,highlighted:a})),children:h})};p.states=Tu;p.className=gl;import{jsx as pw}from"react/jsx-runtime";import{jsx as fw}from"react/jsx-runtime";import{jsx as Nw}from"react/jsx-runtime";import{jsx as Lw}from"react/jsx-runtime";import{jsx as Sw}from"react/jsx-runtime";import{jsx as Pw,jsxs as Hw}from"react/jsx-runtime";import{jsx as Dw,jsxs as _w}from"react/jsx-runtime";import{jsx as Vw,jsxs as $w}from"react/jsx-runtime";import{Fragment as Qw,jsx as qw,jsxs as Yw}from"react/jsx-runtime";import{jsx as ku}from"react/jsx-runtime";var ws="k-grid-header-table",ce=e=>ku(Se,{...e,className:r(e.className,ws),children:e.children});ce.className=ws;ce.moduleName=z;ce.folderName=V;import{jsx as qt,jsxs as kl}from"react/jsx-runtime";var vl="k-header",vu=[n.hover,n.focus,n.active],Es={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=Es.sortIcon,sortOrder:k,accessibleLabel:u,...M}=e;return kl(It,{...M,className:r(e.className,vl,{"k-filterable":t||a,"k-sorted":o,"k-grid-header-sticky":l,"k-touch-action-none":s},A(vl,{hover:m,focus:h,active:N})),children:[c&&kl("span",{className:"k-cell-inner",children:[kl("span",{className:"k-link",children:[qt("span",{className:"k-column-title",children:c}),o&&qt("span",{className:"k-sort-icon",children:qt(g,{icon:v})}),k&&qt("span",{className:"k-sort-order",children:k})]}),t&&qt("a",{href:"#",className:r("k-grid-header-menu",{"k-active":N,"k-grid-filter-menu":t==="filter","k-grid-column-menu":t==="column"}),children:qt(g,{icon:t==="filter"?"filter":"more-vertical"})})]}),!c&&u&&qt("span",{className:"k-sr-only",children:u}),e.children,s&&qt("span",{className:"k-column-resizer k-touch-action-none"})]})};I.states=vu;I.className=vl;I.defaultOptions=Es;I.moduleName=z;I.folderName=V;import{jsx as Lu}from"react/jsx-runtime";var Is="k-grid-container",oe=e=>Lu("div",{...e,className:r(e.className,Is),children:e.children});oe.className=Is;oe.moduleName=z;oe.folderName=V;import{jsx as Cu}from"react/jsx-runtime";var Rs="k-grid-content",ae=e=>Cu("div",{...e,className:r(e.className,Rs),children:e.children});ae.className=Rs;ae.moduleName=z;ae.folderName=V;import{jsx as Mu}from"react/jsx-runtime";var Os="k-grid-table",re=e=>Mu(Se,{...e,className:r(e.className,Os),children:e.children});re.className=Os;re.moduleName=z;re.folderName=V;import{jsx as yu}from"react/jsx-runtime";var Ps="k-grid-footer",Ll=e=>yu("div",{...e,className:r(e.className,Ps),children:e.children});Ll.className=Ps;Ll.moduleName=z;Ll.folderName=V;import{jsx as Su}from"react/jsx-runtime";var Hs="k-grid-footer-table",Cl=e=>Su(Se,{...e,className:r(e.className,Hs),children:e.children});Cl.className=Hs;Cl.moduleName=z;Cl.folderName=V;var Ml="pager",Ks=Ml;import{Fragment as Gs,jsx as ze,jsxs as Mo}from"react/jsx-runtime";var ja="k-pager",Au=[n.focus,n.disabled],wu={size:[i.undefined,i.small,i.medium,i.large]},qe={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},he=e=>{let{responsive:t=qe.responsive,size:o,pagerSizeInfo:a=qe.pagerSizeInfo,pageTitleInfo:l=qe.pageTitleInfo,maxPagesInfo:s=qe.maxPagesInfo,itemsPerPage:c=qe.itemsPerPage,maxPages:m=qe.maxPages,currentPage:h=qe.currentPage,previousNext:N=qe.previousNext,type:v=qe.type,pageSizes:k=qe.pageSizes,refresh:u=qe.refresh,info:M=qe.info,focus:C,disabled:S,dir:R,...E}=e,D=[],se=[];for(let fe=1;fe<=m;fe++)D.push(ze(d,{selected:fe===h,fillMode:"flat",themeColor:"primary",size:o,children:fe})),se.push(ze("option",{selected:fe===h,children:fe}));return Mo("div",{dir:R,...E,className:r(e.className,ja,y(ja,{size:o}),A(ja,{focus:C,disabled:S}),{"k-pager-responsive":t}),children:[Mo("div",{className:r("k-pager-numbers-wrap"),children:[N&&Mo(Gs,{children:[ze(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"}),ze(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"&&ze("div",{className:r("k-pager-numbers"),children:D}),v==="input"&&Mo("span",{className:r("k-pager-input"),children:[l&&ze("span",{children:"Page"}),ze(_,{value:`${h}`,size:o,showSpinButton:!1,showClearButton:!1}),ze("span",{children:s&&`of ${m}`})]}),N&&Mo(Gs,{children:[ze(d,{className:r("k-pager-nav"),disabled:h===m&&!S,fillMode:"flat",size:o,icon:R==="rtl"?"caret-alt-left":"caret-alt-right"}),ze(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&&Mo("span",{className:r("k-pager-sizes"),children:[ze(Y,{value:`${c}`,size:o}),a&&ze("span",{children:"items per page"})]}),u&&ze(d,{className:r("k-pager-refresh"),fillMode:"flat",size:o,icon:"arrow-rotate-cw"}),M&&ze("span",{className:r("k-pager-info"),children:M})]})};he.states=Au;he.options=wu;he.className=ja;he.defaultOptions=qe;he.moduleName=Ml;he.folderName=Ks;import{jsx as xI}from"react/jsx-runtime";import{jsx as vI}from"react/jsx-runtime";import{jsx as yI}from"react/jsx-runtime";import{jsx as Bs}from"react/jsx-runtime";var Eu=he.options,Iu=he.states,Ru={...he.defaultOptions,variant:"numeric"},Ou=[{name:"numeric",title:"Numeric"},{name:"input",title:"Input"}],Pu=[],sa=e=>{let{variant:t,...o}=e;return t==="input"?Bs(he,{...o,type:"input"}):Bs(he,{...o,type:"numeric"})};sa.options=Eu;sa.states=Iu;sa.variants=Ou;sa.defaultOptions=Ru;sa.modifiers=Pu;import{jsx as Hu}from"react/jsx-runtime";var Ds="k-grid-pager",vt=e=>Hu(he,{...e,className:r(e.className,Ds),children:e.children});vt.className=Ds;vt.moduleName=z;vt.folderName=V;var yl="button",_s=yl;import{jsx as Du}from"react/jsx-runtime";var ia="k-button-group",Ku=[n.disabled],Gu={fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},Bu={},K=e=>{let{fillMode:t,disabled:o,stretched:a,...l}=e;return Du("div",{role:"group",...l,className:r(e.className,ia,y(ia,{fillMode:t}),A(ia,{disabled:o}),{[`${ia}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};K.states=Ku;K.options=Gu;K.className=ia;K.defaultOptions=Bu;K.moduleName=yl;K.folderName=_s;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 jI,jsx as ZI,jsxs as eR}from"react/jsx-runtime";import{Fragment as nR,jsx as lR,jsxs as sR}from"react/jsx-runtime";import{Fragment as uR,jsx as mR,jsxs as bR}from"react/jsx-runtime";import{Fragment as gR,jsx as NR,jsxs as kR}from"react/jsx-runtime";import{Fragment as SR,jsx as yR,jsxs as AR}from"react/jsx-runtime";import{Fragment as PR,jsx as OR,jsxs as HR}from"react/jsx-runtime";import{jsx as Rt,jsxs as Sl}from"react/jsx-runtime";var _u={...d.options,...K.options},zu=d.states,Uu={...d.defaultOptions,...K.defaultOptions,variant:"text-button"},Fu=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Vu=[],da=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?Sl(K,{fillMode:a.fillMode,className:o,children:[Rt(d,{...a,icon:"star"}),Rt(d,{...a,icon:"star"}),Rt(d,{...a,icon:"star"})]}):t==="icon-text-button"?Sl(K,{fillMode:a.fillMode,className:o,children:[Rt(d,{...a,icon:"star",children:"First"}),Rt(d,{...a,icon:"star",children:"Middle"}),Rt(d,{...a,icon:"star",children:"Last"})]}):Sl(K,{fillMode:a.fillMode,className:o,children:[Rt(d,{...a,children:"First"}),Rt(d,{...a,children:"Middle"}),Rt(d,{...a,children:"Last"})]})};da.options=_u;da.states=zu;da.variants=Fu;da.defaultOptions=Uu;da.modifiers=Vu;import{jsx as zs,jsxs as Wu}from"react/jsx-runtime";var Us="k-color-preview",$u=[],Xu={},Yt=e=>{let{color:t,iconName:o,...a}=e;return Wu("span",{...a,className:r(e.className,Us,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&zs(g,{icon:o,className:"k-color-preview-icon"}),zs("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Yt.states=$u;Yt.options=Xu;Yt.className=Us;var Al="slider",Fs=Al;import{jsx as yo,jsxs as wl}from"react/jsx-runtime";var ca="k-slider",Ju=[n.hover,n.focus,n.active,n.disabled,n.readonly],qu={},st={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},le=e=>{let{type:t=st.type,orientation:o=st.orientation,gradientType:a=st.gradientType,readonly:l=st.readonly,disabled:s=st.disabled,handlePosition:c=st.handlePosition,showButtons:m=st.showButtons,showTicks:h=st.showTicks,value:N=st.value,min:v=st.min,max:k=st.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"),wl("div",{...se,className:r(ca,e.className,A(ca,{readonly:l,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:D,children:[m&&yo(d,{className:"k-button-decrease",rounded:"full",icon:Xe,tabIndex:-1,title:"Decrease"}),wl("div",{className:"k-slider-track-wrap",children:[h&&yo("ul",{className:"k-reset k-slider-items",children:e.children}),wl("div",{className:"k-slider-track",style:E,children:[yo("div",{className:"k-slider-selection"}),t==="range"&&yo("span",{className:r("k-draghandle","k-draghandle-start",A(ca,{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"}),yo("span",{className:r("k-draghandle",`k-draghandle-${c}`,A(ca,{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&&yo(d,{className:"k-button-increase",rounded:"full",icon:$e,tabIndex:-1,title:"Increase"})]})};le.states=Ju;le.options=qu;le.className=ca;le.defaultOptions=st;le.moduleName=Al;le.folderName=Fs;le.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 Vs}from"react/jsx-runtime";var $s="k-tick",Yu=[],Qu={},Xs={label:!1},P=e=>{let{style:t,label:o=Xs.label,orientation:a,large:l,text:s,...c}=e;return Vs("li",{...c,className:r(e.className,$s,{[`k-tick-${a}`]:a,"k-tick-large":l}),style:t,children:o&&Vs("span",{className:"k-label",children:s})})};P.states=Yu;P.options=Qu;P.className=$s;P.defaultOptions=Xs;import{Fragment as Zu,jsx as it,jsxs as ju}from"react/jsx-runtime";var Ws=e=>it(le,{"aria-label":e["aria-label"]||"Slider",children:ju(Zu,{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"})]}),...e});import{Fragment as eb,jsx as dt,jsxs as tb}from"react/jsx-runtime";var Js=e=>dt(le,{children:tb(eb,{children:[dt(P,{className:"k-first",label:!0,large:!0,text:"0"}),dt(P,{}),dt(P,{}),dt(P,{}),dt(P,{}),dt(P,{label:!0,large:!0,text:"5"}),dt(P,{}),dt(P,{}),dt(P,{}),dt(P,{}),dt(P,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as kO,jsx as gO,jsxs as vO}from"react/jsx-runtime";import{Fragment as SO,jsx as yO,jsxs as AO}from"react/jsx-runtime";import{jsx as ob}from"react/jsx-runtime";var El=e=>ob(le,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as ab}from"react/jsx-runtime";var Il=e=>ab(le,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as DO,jsx as BO,jsxs as _O}from"react/jsx-runtime";import{Fragment as $O,jsx as VO,jsxs as XO}from"react/jsx-runtime";import{jsx as Lt,jsxs as qs}from"react/jsx-runtime";var rb=le.options,lb=le.states,Ys={...le.defaultOptions,variant:"horizontal",label:!0},nb=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],sb=[{name:"label",title:"Labels"},{name:"tick",title:"Ticks"},{name:"button",title:"Side Buttons"}],pa=e=>{let{variant:t,modifiers:o,...a}={...Ys,...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"?qs(Js,{showTicks:m,showButtons:c,style:{height:"300px",...h},...a,children:[Lt(P,{label:s,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),Lt(P,{label:s,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),Lt(P,{label:s,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),Lt(P,{label:s,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),Lt(P,{label:s,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):qs(Ws,{showTicks:m,showButtons:c,style:{width:"400px",...h},...a,children:[Lt(P,{label:s,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),Lt(P,{label:s,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),Lt(P,{label:s,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),Lt(P,{label:s,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),Lt(P,{label:s,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};pa.options=rb;pa.states=lb;pa.variants=nb;pa.defaultOptions=Ys;pa.modifiers=sb;import{Fragment as ma,jsx as U,jsxs as ue}from"react/jsx-runtime";var Qs="k-colorgradient-inputs",ib=[],db={size:[i.undefined,i.small,i.medium,i.large]},Zs={mode:"rgba"},So=e=>{let{mode:t=Zs.mode,size:o,...a}=e;return ue("div",{...a,className:r(Qs,"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"})]})})]})};So.states=ib;So.options=db;So.className=Qs;So.defaultOptions=Zs;import{jsx as so,jsxs as io}from"react/jsx-runtime";var js="k-colorgradient-color-contrast",cb=[],pb={},mb={},Ao=()=>io("div",{className:r(js,"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"})]})]})]});Ao.states=cb;Ao.options=pb;Ao.className=js;Ao.defaultOptions=mb;var ei="color-gradient",ti="colorgradient";import{jsx as ct,jsxs as ua}from"react/jsx-runtime";var er="k-colorgradient",ub=[n.hover,n.focus,n.readonly,n.disabled],bb={size:[i.undefined,i.small,i.medium,i.large]},Ct={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"},Ce=e=>{let{size:t,mode:o=Ct.mode,readonly:a=Ct.readonly,disabled:l=Ct.disabled,gradientStyle:s=Ct.gradientStyle,dragHandleStyle:c=Ct.dragHandleStyle,alphaStyle:m=Ct.alphaStyle,alphaStyleHorizontal:h=Ct.alphaStyleHorizontal,contrast:N=Ct.contrast,dir:v,hover:k,focus:u,hoverHandle:M,focusHandle:C,canvasOrientation:S=Ct.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,er,y(er,{size:t}),A(er,{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(Il,{className:"k-hue-slider",hover:M,focus:C}),o!=="rgb"&&o!=="hsv"&&ct(Il,{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(El,{className:"k-hue-slider",hover:M,focus:C}),o!=="rgb"&&o!=="hsv"&&ct(El,{className:"k-alpha-slider",hover:M,focus:C,trackStyle:h})]})]}),ct(So,{mode:e.mode,size:t}),N&&ct(Ao,{})]})};Ce.states=ub;Ce.options=bb;Ce.className=er;Ce.defaultOptions=Ct;Ce.moduleName=ei;Ce.folderName=ti;Ce.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 fb}from"react/jsx-runtime";var tr=e=>fb(Ce,{...e});import{jsx as K0}from"react/jsx-runtime";import{jsx as _0}from"react/jsx-runtime";import{jsx as Rl}from"react/jsx-runtime";var Tb=Ce.options,hb=Ce.states,xb={...Ce.defaultOptions,variant:"rgba"},Nb=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],gb=[],ba=e=>{let{variant:t,...o}=e;switch(t){case"hex":return Rl(tr,{...o,mode:t});case"rgb":return Rl(tr,{...o,mode:t});default:return Rl(tr,{...o,mode:t})}};ba.options=Tb;ba.states=hb;ba.variants=Nb;ba.defaultOptions=xb;ba.modifiers=gb;import{jsx as kb}from"react/jsx-runtime";var Ol=e=>kb("tr",{role:"row",children:e.children});import{jsx as Cb}from"react/jsx-runtime";var Pl="k-colorpalette-tile",vb=[n.hover,n.focus,n.selected],Lb={},wo=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 Cb("td",{...c,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:r(e.className,Pl,A(Pl,{hover:a,focus:l,selected:s})),style:m})};wo.states=vb;wo.options=Lb;wo.className=Pl;var oi="color-palette",ai="colorpalette";import{jsx as fa}from"react/jsx-runtime";var or="k-colorpalette",Mb=[n.disabled],yb={size:[i.undefined,i.small,i.medium,i.large]},ri={columns:10},Ue=e=>{let{size:t,palette:o,columns:a=ri.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(wo,{color:C,tileSize:l},S))});let M=fa(Ol,{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,or,A(or,{disabled:s}),y(or,{size:t})),children:fa("table",{className:"k-colorpalette-table",role:"none",children:fa("tbody",{children:m.length>0?m:e.children})})})};Ue.states=Mb;Ue.options=yb;Ue.className=or;Ue.defaultOptions=ri;Ue.moduleName=oi;Ue.folderName=ai;Ue.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 ar=Ue;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 Sb}from"react/jsx-runtime";var li=e=>Sb(ar,{palette:Ta.basic,...e});import{jsx as kP}from"react/jsx-runtime";import{jsx as SP,jsxs as AP}from"react/jsx-runtime";import{jsx as Pb}from"react/jsx-runtime";var Ab=Ue.options,wb=Ue.states,Eb={...Ue.defaultOptions,variant:"basic"},Ib=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],Rb={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}},Ob=[],ha=e=>{let{variant:t="basic",...o}=e,a=Rb[t];return Pb(li,{columns:a.columns,palette:a,...o})};ha.options=Ab;ha.states=wb;ha.variants=Ib;ha.defaultOptions=Eb;ha.modifiers=Ob;var ni="color-editor",si="coloreditor";import{jsx as pt,jsxs as Eo}from"react/jsx-runtime";var rr="k-coloreditor",Hb=[n.focus],Kb={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 Eo("div",{...u,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",rr,y(rr,{size:t}),A(rr,{focus:c})),dir:h,children:[Eo("div",{className:"k-coloreditor-header k-hstack",children:[pt("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&Eo(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"}),Eo("div",{className:"k-coloreditor-header-actions k-hstack",children:[pt(d,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),Eo("div",{className:"k-coloreditor-preview k-vstack",children:[pt(Yt,{className:"k-coloreditor-preview-color",color:l}),pt(Yt,{className:"k-coloreditor-current-color",color:s})]})]})]}),pt("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?pt(Ce,{focus:m,size:t,canvasOrientation:k,role:"none",tabIndex:-1}):pt(Ue,{palette:a,size:t})}),v&&Eo(kt,{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=Hb;be.options=Kb;be.className=rr;be.defaultOptions=xa;be.moduleName=ni;be.folderName=si;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 Io=be;import{jsx as aH}from"react/jsx-runtime";import{jsx as sH}from"react/jsx-runtime";import{jsx as Gb}from"react/jsx-runtime";var ii=e=>Gb(Io,{group:!0,currentColor:"fuchsia",...e});import{jsx as Bb}from"react/jsx-runtime";var di=e=>Bb(Io,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as ci}from"react/jsx-runtime";var Db=be.options,_b=be.states,zb={...be.defaultOptions,variant:"gradient"},Ub=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Fb=[],Na=e=>{let{variant:t,...o}=e;return t==="palette"?ci(di,{...o,color:"white"}):ci(ii,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Na.options=Db;Na.states=_b;Na.variants=Ub;Na.defaultOptions=zb;Na.modifiers=Fb;var pi="color-picker",mi="colorpicker";import{Fragment as Xb,jsx as mt,jsxs as Hl}from"react/jsx-runtime";var ui="k-colorpicker",Vb=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],$b={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]},bi={arrowIconName:"caret-alt-down"},Ye=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:l=bi.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 Hl(Xb,{children:[Hl(xt,{...$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,ui,"k-icon-picker"),children:[mt(ot,{children:s}),mt(ao,{placeholder:h,value:m,showValue:!1,valueIcon:mt(Yt,{className:"k-value-icon",color:m,iconName:S}),valueIconName:S}),mt(at,{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(Oe,{actionsEnd:mt(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:fe,subtitle:Ee}),footer:Hl(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})})]})};Ye.states=Vb;Ye.options=$b;Ye.className=ui;Ye.defaultOptions=bi;Ye.moduleName=pi;Ye.folderName=mi;Ye.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 Qt=Ye;import{jsx as Wb}from"react/jsx-runtime";var lr=e=>Wb(Qt,{...e});import{jsx as VH}from"react/jsx-runtime";import{jsx as qH}from"react/jsx-runtime";import{jsx as jH}from"react/jsx-runtime";import{jsx as aK}from"react/jsx-runtime";import{jsx as sK}from"react/jsx-runtime";import{jsx as pK}from"react/jsx-runtime";import{jsx as co}from"react/jsx-runtime";var Jb=Qt.options,qb=Qt.states,fi={...Qt.defaultOptions,variant:"color"},Yb=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Qb=[{name:"opened",title:"Opened"}],ga=e=>{let{variant:t,modifiers:o,...a}={...fi,...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(lr,{...a,...l})});case"icon":return co("div",{style:s,children:co(lr,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...l})});default:return co("div",{style:s,children:co(lr,{value:"rgba(183, 118 , 118, 1.00)",...a,...l})})}};ga.options=Jb;ga.states=qb;ga.variants=Yb;ga.defaultOptions=fi;ga.modifiers=Qb;var Kl="combobox",Ti=Kl;import{Fragment as Gl,jsx as xe,jsxs as ka}from"react/jsx-runtime";var hi="k-combobox",Zb=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],jb={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]},xi={separators:!0},He=e=>{let{size:t,rounded:o,fillMode:a,separators:l=xi.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(Gl,{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,hi),children:[s&&ka(Gl,{children:[xe(ot,{children:s}),l&&xe(rt,{})]}),xe(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}),xe(Re,{valid:k,invalid:u,loading:C,disabled:S}),xe(_e,{loading:C,disabled:S}),xe(We,{loading:C,disabled:S,readonly:D,value:m}),c&&ka(Gl,{children:[l&&xe(rt,{}),xe(at,{children:c})]}),xe(d,{className:"k-input-button",icon:"caret-alt-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:S})]}),E&&R&&xe(j,{className:"k-list-container k-combobox-popup",containerClassName:"k-combobox-popup-container",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:R}),se&&xe(me,{adaptive:!0,id:xo?`${xo}-adaptive`:void 0,...fe,header:xe(Oe,{actionsEnd:xe(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:m,inputPlaceholder:h,title:Ee,subtitle:$e}),children:xe("div",{className:"k-list-container",children:xe(F,{customValue:Xe?xe(Ft,{text:`Use "${m}"`}):void 0,size:"large",children:ka(q,{"aria-label":Ee||"Options",children:[xe(B,{text:"List item"}),xe(B,{text:"List item"}),xe(B,{text:"List item"})]})})})})]})};He.states=Zb;He.options=jb;He.className=hi;He.defaultOptions=xi;He.moduleName=Kl;He.folderName=Ti;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 Qe=He;import{jsx as ef}from"react/jsx-runtime";var Ni=e=>ef(Qe,{...e});import{jsx as WK,jsxs as JK}from"react/jsx-runtime";import{jsx as eG,jsxs as tG}from"react/jsx-runtime";import{jsx as sG,jsxs as iG}from"react/jsx-runtime";import{Fragment as bG,jsx as uG}from"react/jsx-runtime";import{Fragment as gG,jsx as NG}from"react/jsx-runtime";import{jsx as yG,jsxs as SG}from"react/jsx-runtime";import{Fragment as HG,jsx as OG,jsxs as PG}from"react/jsx-runtime";import{jsx as DG}from"react/jsx-runtime";import{jsx as FG}from"react/jsx-runtime";import{jsx as qG,jsxs as YG}from"react/jsx-runtime";import{jsx as oB,jsxs as aB}from"react/jsx-runtime";import{jsx as Zt,jsxs as nf}from"react/jsx-runtime";var tf=He.states,of=He.defaultOptions,af=He.options,rf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],lf=[],va=e=>{let{modifiers:t,...o}=e,a={},l=Zt(F,{style:{width:300},size:o.size,children:nf(q,{children:[Zt(B,{children:"List item"}),Zt(B,{children:"List item"}),Zt(B,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?Zt(g,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[s]?Zt(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}}),Zt("div",{children:Zt(Ni,{value:"Value",style:{width:300},...o,...a})})};va.options=af;va.states=tf;va.variants=lf;va.defaultOptions=of;va.modifiers=rf;var Bl="menu-button",gi=Bl;import{jsx as cf}from"react/jsx-runtime";var ki="k-menu-button",sf=[n.hover,n.focus,n.active,n.selected,n.disabled],df={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]},Dl={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=Dl.showArrow,arrowIconName:M=Dl.arrowIconName,expanded:C,...S}=e;return cf(d,{...S,className:r(e.className,ki),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=sf;Q.options=df;Q.className=ki;Q.defaultOptions=Dl;Q.moduleName=Bl;Q.folderName=gi;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 KB}from"react/jsx-runtime";import{jsx as _B}from"react/jsx-runtime";import{jsx as VB}from"react/jsx-runtime";var Ze="menu",ut=Ze;import{jsx as La,jsxs as vi}from"react/jsx-runtime";var _l="k-menu-item",pf=[n.hover,n.focus,n.active,n.selected,n.disabled],mf={},Li={iconPosition:"before"},Ae=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=Li.iconPosition,dir:M,children:C,expanded:S,...R}=e,E=k;return E||(E=M==="rtl"?"caret-alt-left":"caret-alt-right"),vi("li",{...R,className:r(e.className,_l,"k-item",A(_l,{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:[vi("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]})};Ae.states=pf;Ae.options=mf;Ae.className=_l;Ae.defaultOptions=Li;Ae.moduleName=Ze;Ae.folderName=ut;import{jsx as Ca,jsxs as Ci}from"react/jsx-runtime";var zl="k-menu-item",uf=[n.hover,n.focus,n.active,n.selected,n.disabled],bf={},Ul={dir:"ltr",iconPosition:"before"},pe=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=Ul.iconPosition,dir:M=Ul.dir,children:C,popup:S,expanded:R,...E}=e,D=k;return D||(D=M==="rtl"?"caret-alt-left":"caret-alt-right"),Ci("li",{...E,className:r(e.className,zl,"k-item",A(zl,{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:[Ci("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]})};pe.states=uf;pe.options=bf;pe.className=zl;pe.defaultOptions=Ul;pe.moduleName=Ze;pe.folderName=ut;import{jsx as xf}from"react/jsx-runtime";var Mi="k-menu-scroll-wrapper",ff=[],Tf={},hf={},po=e=>{let{className:t,children:o,orientation:a,...l}=e;return xf("div",{...l,className:r(t,Mi,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};po.states=ff;po.options=Tf;po.className=Mi;po.defaultOptions=hf;po.moduleName=Ze;po.folderName=ut;var yi=po;import{Fragment as Fl,jsx as mo,jsxs as sr}from"react/jsx-runtime";var Vl="k-menu",Nf=[],gf={},ir={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Me=e=>{let{children:t,orientation:o=ir.orientation,header:a=ir.header,scrollable:l,scrollButtonsPosition:s=ir.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",Vl,{[`${Vl}-${o}`]:o,"k-header":a}),role:N?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return sr(Fl,{children:[l?sr(yi,{orientation:o,style:c,dir:e.dir,children:[s==="start"&&sr(Fl,{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"&&sr(Fl,{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]})};Me.states=Nf;Me.options=gf;Me.className=Vl;Me.defaultOptions=ir;Me.moduleName=Ze;Me.folderName=ut;Me.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 kf}from"react/jsx-runtime";var $l="k-separator",Si={orientation:"horizontal"},Ro=e=>{let{orientation:t=Si.orientation,...o}=e;return kf("li",{...o,className:r(e.className,"k-item",$l,{[`${$l}-${t}`]:t}),role:"separator"})};Ro.className=$l;Ro.defaultOptions=Si;Ro.moduleName=Ze;Ro.folderName=ut;import{Fragment as N1,jsx as g1}from"react/jsx-runtime";import{jsx as Mf}from"react/jsx-runtime";var Xl="k-menu-group",vf=[],Lf={size:[i.undefined,i.small,i.medium,i.large]},Cf={},we=e=>{let{children:t,size:o,...a}=e;return Mf("ul",{...a,className:r(e.className,Xl,y(Xl,{size:o})),role:"menu",children:t})};we.states=vf;we.options=Lf;we.className=Xl;we.defaultOptions=Cf;we.moduleName=Ze;we.folderName=ut;import{Fragment as yf,jsx as Oo,jsxs as Sf}from"react/jsx-runtime";var Wl=e=>Oo(Me,{children:Sf(yf,{children:[Oo(Ae,{first:!0,text:"Item 1"}),Oo(Ae,{showArrow:!0,arrowIconName:"caret-alt-down",text:"Item 2"}),Oo(Ae,{showArrow:!0,arrowIconName:"caret-alt-down",text:"Item 3"}),Oo(Ae,{text:"Item 4"}),Oo(Ae,{last:!0,text:"Item 5"})]}),...e});import{Fragment as P1,jsx as R1,jsxs as O1}from"react/jsx-runtime";import{Fragment as D1,jsx as B1,jsxs as _1}from"react/jsx-runtime";import{Fragment as $1,jsx as V1,jsxs as X1}from"react/jsx-runtime";import{Fragment as Q1,jsx as Y1,jsxs as Z1}from"react/jsx-runtime";import{jsx as uo,jsxs as Rf}from"react/jsx-runtime";var Af=Me.options,wf=Me.states,Ai={...Me.defaultOptions,variant:"horizontal"},Ef=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],If=[{name:"scrollable",title:"Scrollable"},{name:"opened",title:"Opened"}],Ma=e=>{let{variant:t,modifiers:o,...a}={...Ai,...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:Rf(we,{children:[uo(pe,{text:"Item 1"}),uo(pe,{text:"Item 2"}),uo(Ro,{}),uo(pe,{text:"Item 3"})]})});break}}),t==="vertical"?uo(Wl,{...a,...l,orientation:"vertical",style:{width:"200px"}}):uo(Wl,{...a,...l})};Ma.options=Af;Ma.states=wf;Ma.variants=Ef;Ma.defaultOptions=Ai;Ma.modifiers=If;import{Fragment as ED,jsx as AD,jsxs as wD}from"react/jsx-runtime";import{jsx as PD}from"react/jsx-runtime";import{Fragment as Gf,jsx as Mt,jsxs as wi}from"react/jsx-runtime";var Of=d.states,Ei={...d.defaultOptions,variant:"text"},Pf=d.options,Hf=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Kf=[{name:"opened",title:"Opened"}],ya=e=>{let{variant:t,modifiers:o,...a}={...Ei,...e},l={},s=Mt(j,{className:"k-menu-popup",children:wi(we,{size:a.size,children:[Mt(pe,{first:!0,text:"Menu Item"}),Mt(pe,{text:"Menu Item"}),Mt(pe,{last:!0,text:"Menu Item"})]})}),c;switch(t){case"icon-only":c=Mt("div",{children:Mt(Q,{...a,...l,icon:"star"})});break;case"icon-and-text":c=Mt("div",{children:Mt(Q,{...a,...l,icon:"star",children:"Dropdown Button"})});break;default:c=Mt("div",{children:Mt(Q,{...a,...l,children:"Dropdown Button"})});break}return wi(Gf,{children:[c,o?.opened&&s]})};ya.options=Pf;ya.states=Of;ya.variants=Hf;ya.defaultOptions=Ei;ya.modifiers=Kf;var Jl="split-button",Ii=Jl;import{Fragment as _f,jsx as ql,jsxs as Ri}from"react/jsx-runtime";var Yl="k-split-button",Bf=[n.hover,n.focus,n.active,n.selected,n.disabled],Df={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]},Oi={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=Oi.arrowIconName,popup:M,opened:C,popupId:S,...R}=e;return Ri(_f,{children:[Ri("div",{...R,className:r(e.className,Yl,"k-button-group",y(Yl,{rounded:o})),children:[ql(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}),ql(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&&ql(j,{className:"k-menu-popup",children:M})]})};$.states=Bf;$.options=Df;$.className=Yl;$.defaultOptions=Oi;$.moduleName=Jl;$.folderName=Ii;$.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 Ql=$;import{jsx as Uf}from"react/jsx-runtime";var zf="k-toolbar-separator",Tt=e=>Uf("div",{className:r(zf,e.className,"k-separator")});var Ot="toolbar",jt=Ot;import{Fragment as Zl,jsx as X,jsxs as Po}from"react/jsx-runtime";var Pt="k-toolbar",Ff=[n.focus],Vf={size:[i.undefined,i.small,i.medium,i.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},$f={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===Vo)C.push(X(Vo,{...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===Ql)C.push(X(Ql,{...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===Ye?C.push(X(Ye,{...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)}),Po("div",{...N,className:r(e.className,Pt,y(Pt,{size:t,fillMode:o}),A(Pt,{focus:a}),{[`${Pt}-resizable`]:l,[`${Pt}-scrollable`]:s,[`${Pt}-scrollable-overlay`]:s&&c==="hidden",[`${Pt}-scrollable-${m}`]:m&&m!=="both",[`${Pt}-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"&&Po(Zl,{children:[Po(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"&&Po(Zl,{children:[X("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:v}),X(Tt,{className:"k-toolbar-button-separator"}),Po(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)&&Po(Zl,{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=Ff;Z.options=Vf;Z.className=Pt;Z.defaultOptions=$f;Z.moduleName=Ot;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 qf}from"react/jsx-runtime";var Pi="k-floating-toolbar",Xf=[],Wf={},Jf={},Ho=e=>{let{...t}=e;return qf("div",{...t,className:r(e.className,Pi),children:e.children})};Ho.states=Xf;Ho.options=Wf;Ho.className=Pi;Ho.defaultOptions=Jf;Ho.moduleName=Ot;Ho.folderName=jt;import{jsx as jf}from"react/jsx-runtime";var jl="k-toolbar-item",Yf=[n.focus],Qf={},Zf={},Ko=e=>{let{focus:t,...o}=e;return jf("div",{...o,className:r(e.className,jl,A(jl,{focus:t})),children:e.children})};Ko.states=Yf;Ko.options=Qf;Ko.className=jl;Ko.defaultOptions=Zf;Ko.moduleName=Ot;Ko.folderName=jt;import{jsx as Hi}from"react/jsx-runtime";var Ki="k-toolbar-popup",eT=[],tT={size:[i.undefined,i.small,i.medium,i.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},oT={},bo=e=>{let{size:t,fillMode:o,section:a,...l}=e;return Hi(j,{...l,className:r(e.className,Ki),children:a?Hi("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=eT;bo.options=tT;bo.className=Ki;bo.defaultOptions=oT;bo.moduleName=Ot;bo.folderName=jt;var dr=bo;import{jsx as G_}from"react/jsx-runtime";import{jsx as z_}from"react/jsx-runtime";import{jsx as $_}from"react/jsx-runtime";import{jsx as Q_,jsxs as Z_}from"react/jsx-runtime";import{jsx as o2}from"react/jsx-runtime";import{jsx as Ht,jsxs as sT}from"react/jsx-runtime";var aT=$.states,Gi={...$.defaultOptions,variant:"text"},rT=$.options,lT=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],nT=[{name:"opened",title:"Opened"}],Sa=e=>{let{variant:t,modifiers:o,...a}={...Gi,...e},l={},s=sT(we,{size:a.size,children:[Ht(pe,{first:!0,text:"Menu Item"}),Ht(pe,{text:"Menu Item"}),Ht(pe,{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 Ht("div",{children:Ht($,{...a,...l,icon:"star"})});case"icon-and-text":return Ht("div",{children:Ht($,{...a,...l,icon:"star",children:"Split Button"})});default:return Ht("div",{children:Ht($,{...a,...l,children:"Split Button"})})}};Sa.options=rT;Sa.states=aT;Sa.variants=lT;Sa.defaultOptions=Gi;Sa.modifiers=nT;import{jsx as fo,jsxs as iT}from"react/jsx-runtime";var Bi=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"),iT(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 I2,jsxs as R2}from"react/jsx-runtime";import{jsx as je,jsxs as Di}from"react/jsx-runtime";var _i=e=>je(Z,{scrollable:!0,...e,children:[je(d,{children:"Button"},"toolbar-button"),je(Q,{text:"Menu button"},"toolbar-menu-button"),je($,{children:"Split button"},"toolbar-split-button"),Di(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"),Di(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")],...e});import{jsx as et,jsxs as zi}from"react/jsx-runtime";var Ui=({scrollingPosition:e="start",...t})=>et(Z,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[et(d,{children:"Button"},"toolbar-button"),et(Q,{text:"Menu button"},"toolbar-menu-button"),et($,{children:"Split button"},"toolbar-split-button"),zi(K,{children:[et(d,{className:"k-group-start",icon:"align-left",children:"Left"}),et(d,{icon:"align-center",children:"Center"}),et(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),et(d,{children:"Button"},"toolbar-button"),et(Q,{text:"Menu button"},"toolbar-menu-button"),et($,{children:"Split button"},"toolbar-split-button"),zi(K,{children:[et(d,{className:"k-group-start",icon:"align-left",children:"Left"}),et(d,{icon:"align-center",children:"Center"}),et(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as dT,jsx as Fe,jsxs as cr}from"react/jsx-runtime";var Fi=({fillMode:e,size:t,...o})=>cr(dT,{children:[Fe(Z,{section:!0,fillMode:e,size:t,children:[Fe(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),cr(K,{fillMode:e,children:[Fe(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),Fe(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),Fe(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),Fe(Tt,{className:"k-toolbar-button-separator"}),Fe(d,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,rounded:"none","aria-label":"More options","aria-expanded":"false"})],...o}),cr(dr,{size:t,fillMode:e,section:!0,...o,children:[Fe($,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),Fe(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Fe(Tt,{}),Fe(Q,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),cr(K,{fillMode:e,children:[Fe(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),Fe(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),Fe(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as p3,jsx as d3,jsxs as c3}from"react/jsx-runtime";import{Fragment as v3,jsx as g3,jsxs as k3}from"react/jsx-runtime";import{jsx as eo}from"react/jsx-runtime";var cT=Z.options,pT=Z.states,Vi={...Z.defaultOptions,variant:"default"},mT=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],uT=[],Aa=e=>{let{variant:t,...o}={...Vi,...e};switch(t){case"responsive":return eo("div",{children:eo(Fi,{style:{width:"583px"},...o})});case"overlay":return eo("div",{children:eo(Ui,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return eo("div",{children:eo(_i,{style:{width:"583px"},...o})});default:return eo("div",{children:eo(Bi,{style:{width:"583px"},...o})})}};Aa.options=cT;Aa.states=pT;Aa.variants=mT;Aa.defaultOptions=Vi;Aa.modifiers=uT;import{jsx as bT}from"react/jsx-runtime";var $i="k-grid-toolbar",To=e=>bT(Z,{...e,className:r(e.className,$i),children:e.children});To.className=$i;To.moduleName=z;To.folderName=V;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=V;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=V;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(vt,{refresh:!1}),children:ne(xT,{children:[L(ie,{children:L("div",{className:"k-grid-header-wrap",children:ne(ce,{children:[ne("colgroup",{children:[L("col",{}),L("col",{style:{width:"225px"}}),L("col",{}),L("col",{}),L("col",{})]}),ne(te,{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(re,{children:[ne("colgroup",{children:[L("col",{}),L("col",{style:{width:"225px"}}),L("col",{}),L("col",{}),L("col",{})]}),ne(de,{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 wa="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,wa,y(wa,{size:t,rounded:o,fillMode:a,themeColor:l}),{[`${wa}-bordered`]:c}),children:qi("span",{className:`${wa}-${s}`,children:e.children})})};Ve.states=gT;Ve.options=kT;Ve.className=wa;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 Ea}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=[],Ia=e=>{let{variant:t,...o}=e;switch(t){case"icon":return Ea(Yi,{...o,children:Ea(g,{icon:"star"})});case"text":return Ea(Qi,{...o,children:"JO"});default:return Ea(Zi,{...o,children:Ea("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};Ia.options=MT;Ia.states=yT;Ia.variants=AT;Ia.defaultOptions=ST;Ia.modifiers=wT;var Ra="chip",br=Ra;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=Ra;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=Ra;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"}],Oa=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"})]})};Oa.options=BT;Oa.states=_T;Oa.variants=DT;Oa.defaultOptions=zT;Oa.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"}],Pa=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"})};Pa.options=XT;Pa.states=VT;Pa.variants=WT;Pa.defaultOptions=$T;Pa.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($t,{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(ie,{draggable:!0,children:O("div",{className:"k-grid-header-wrap",children:Ke(ce,{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(te,{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(re,{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(de,{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(ie,{children:G("div",{className:`k-grid-header-wrap ${e}`,children:Ge(ce,{children:[Ge("colgroup",{children:[G("col",{}),G("col",{}),G("col",{}),G("col",{})]}),Ge(te,{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(re,{children:[Ge("colgroup",{children:[G("col",{}),G("col",{}),G("col",{}),G("col",{})]}),Ge(de,{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 hr,jsx as b,jsxs as J}from"react/jsx-runtime";var YT=W.options,QT=W.states,od={...W.defaultOptions,variant:"normal"},ZT=[{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"}],jT=[{name:"toolbar",title:"Toolbar",type:"boolean"},{name:"pager",title:"Pager",type:"boolean"}],Ha=e=>{let{variant:t,modifiers:o,...a}={...od,...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(he,{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(ie,{children:b("div",{className:"k-grid-header-wrap",children:J(ce,{children:[J("colgroup",{children:[b("col",{}),b("col",{}),b("col",{}),b("col",{})]}),b(te,{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(re,{children:[J("colgroup",{children:[b("col",{}),b("col",{}),b("col",{}),b("col",{})]}),J(de,{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(ad,{...a,...l});case"grouping":return b(ed,{...a,...l,groupingHeader:b($t,{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(ie,{children:J("div",{className:"k-grid-header-wrap",children:[" ",J(ce,{children:[J("colgroup",{children:[b("col",{className:"k-drag-col"}),b("col",{}),b("col",{}),b("col",{}),b("col",{})]}),b(te,{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(re,{children:[J("colgroup",{children:[b("col",{className:"k-drag-col"}),b("col",{}),b("col",{}),b("col",{}),b("col",{})]}),J(de,{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})}};Ha.options=YT;Ha.states=QT;Ha.variants=ZT;Ha.defaultOptions=od;Ha.modifiers=jT;import{Fragment as eh,jsx as H,jsxs as ft}from"react/jsx-runtime";var ad=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(eh,{children:[H(ie,{children:H("div",{className:"k-grid-header-wrap",children:ft(ce,{children:[ft("colgroup",{children:[H("col",{}),H("col",{}),H("col",{}),H("col",{style:{width:"300px"}})]}),H(te,{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(re,{children:[ft("colgroup",{children:[H("col",{}),H("col",{}),H("col",{}),H("col",{style:{width:"300px"}})]}),ft(de,{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(Be,{})}),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});export{ad as GridWithEditRow};