UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

2 lines 89.5 kB
var an=Object.create;var eo=Object.defineProperty;var rn=Object.getOwnPropertyDescriptor;var nn=Object.getOwnPropertyNames;var sn=Object.getPrototypeOf,ln=Object.prototype.hasOwnProperty;var dn=(e,t)=>{for(var o in t)eo(e,o,{get:t[o],enumerable:!0})},Fa=(e,t,o,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of nn(t))!ln.call(e,a)&&a!==o&&eo(e,a,{get:()=>t[a],enumerable:!(i=rn(t,a))||i.enumerable});return e};var Va=(e,t,o)=>(o=e!=null?an(sn(e)):{},Fa(t||!e||!e.__esModule?eo(o,"default",{value:e,enumerable:!0}):o,e)),cn=e=>Fa(eo({},"__esModule",{value:!0}),e);var dc={};dn(dc,{ColorPickerPopupPalette:()=>lc});module.exports=cn(dc);var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...t):typeof t=="object"?Object.keys(t).map((o,i)=>t[i]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var A=(e,t)=>n({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),E=(e,t)=>{let{valid:o,invalid:i,hover:a,focus:s,checked:d,active:c,selected:f,disabled:h,indeterminate:x,loading:v,empty:N,readonly:I,highlighted:L,...T}=t;return n({"k-valid":o,"k-invalid":i,"k-hover":a,"k-focus":s,"k-checked":d,"k-active":c,"k-selected":f,"k-disabled":h,"k-indeterminate":x&&!d,"k-loading":v,"k-empty":N,"k-readonly":I,"k-highlighted":L},Object.keys(T).reduce((S,y)=>(y.startsWith("k-")?S[y]=T[y]:S[`k-${y}`]=T[y],S),{}))};function Xa(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(i=>[`k-${i}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},u={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},b={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Te={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},g={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},r={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var To={};function D(e){return To[e]=(To[e]||0)+1,`k-${e}-${To[e]}`}var Ao="action-buttons",$a=Ao;var qa=require("react/jsx-runtime"),to="k-actions",pn=[],un={},Oo={alignment:"start",orientation:"horizontal"},Ae=e=>{let{alignment:t=Oo.alignment,orientation:o=Oo.orientation,...i}=e;return(0,qa.jsx)("div",{...i,className:n(to,{[`${to}-${t}`]:t,[`${to}-${o}`]:o},e.className),children:e.children})};Ae.states=pn;Ae.options=un;Ae.className=to;Ae.defaultOptions=Oo;Ae.moduleName=Ao;Ae.folderName=$a;var wt=require("react/jsx-runtime"),Mo="k-font-icon",mn=[],fn={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info]},bn={},Rt=e=>{let{size:t,themeColor:o,icon:i,rotate:a,flip:s,...d}=e;return i?(0,wt.jsx)("span",{...d,className:n(e.className,Mo,A(Mo,{size:t}),{[`k-i-${i}`]:i,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):(0,wt.jsx)(wt.Fragment,{})};Rt.states=mn;Rt.options=fn;Rt.className=Mo;Rt.defaultOptions=bn;var Ja=Rt;var qe=require("react/jsx-runtime"),Po="k-svg-icon",hn=[],xn={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info],variant:[Te.outline,Te.solid,Te.duotone]},wo={viewBox:"0 0 24 24",variant:Te.outline},Kt=e=>{var v,N;let{size:t,themeColor:o,rotate:i,flip:a,viewBox:s=wo.viewBox,variant:d=wo.variant,icon:c,...f}=e;if(!c)return(0,qe.jsx)(qe.Fragment,{});if(c==="none")return(0,qe.jsx)("span",{...f,className:n(e.className,Po,A("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let h=typeof c=="object"&&c.name&&c.name,x=typeof c=="object"?d&&((v=c.variants)==null?void 0:v[d])||((N=c.variants)==null?void 0:N.outline)||c.content:void 0;return(0,qe.jsx)("span",{...f,className:n(e.className,Po,A("k-icon",{size:t}),{[`k-svg-i-${h}`]:h,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":a==="h"||a==="both","k-flip-v":a==="v"||a==="both"}),"aria-hidden":"true",children:(0,qe.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:s,dangerouslySetInnerHTML:x!==void 0?{__html:x}:void 0,children:c?void 0:e.children})})};Kt.states=hn;Kt.options=xn;Kt.className=Po;Kt.defaultOptions=wo;var Ro=Kt;var Ko=Va(require("@progress/kendo-svg-icons"));var Wa="icon",Ya="icons";var ja=require("react");var Qa=require("react"),Za=(0,Qa.createContext)({iconsType:"svg"});var Be=require("react/jsx-runtime"),oo="k-icon",vn=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Nn=[],kn={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info],variant:[Te.outline,Te.solid,Te.duotone]},ao={viewBox:"0 0 24 24",type:"svg",variant:Te.outline},C=e=>{let{iconsType:t}=(0,ja.useContext)(Za),{size:o,themeColor:i,icon:a,type:s=t||ao.type,rotate:d,flip:c,viewBox:f=ao.viewBox,variant:h=ao.variant,...x}=e;if(!a)return(0,Be.jsx)(Be.Fragment,{});if((t||s)==="svg"){if(a==="none")return(0,Be.jsx)(Ro,{...x,className:n(e.className,oo),icon:a,size:o,variant:h});let N=Ko[a]?a:vn(`${a}-icon`);return Ko[N]?(0,Be.jsx)(Ro,{...x,className:n(e.className,oo),icon:Ko[N],size:o,themeColor:i,rotate:d,flip:c,viewBox:f,variant:h}):(0,Be.jsx)(Be.Fragment,{})}return(0,Be.jsx)(Ja,{...x,className:n(e.className,oo),icon:a,size:o,themeColor:i,rotate:d,flip:c})};C.states=Nn;C.options=kn;C.defaultOptions=ao;C.className=oo;C.moduleName=Wa;C.folderName=Ya;C.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 Bo="button",ei=Bo;var me=require("react/jsx-runtime"),Bt="k-button",gn=["icon-button"],Ln=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],Sn={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info,g.inverse]},_o={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:i,fillMode:a,themeColor:s,showArrow:d=_o.showArrow,arrowIconName:c=_o.arrowIconName,variant:f,hover:h,focus:x,active:v,selected:N,disabled:I,togglable:L,ariaDisabled:T,icon:S,iconSize:y,text:M,iconClassName:V,className:ne,...xe}=e,pe=S!=null,ue=e.children!==void 0;return(0,me.jsxs)(t,{className:n(ne,Bt,Xa(Bt,f),A(Bt,{size:o,rounded:i,fillMode:a,themeColor:s}),E(Bt,{hover:h,focus:x,active:v,disabled:I||T,selected:N}),{"k-icon-button":!M&&!ue&&pe}),"aria-pressed":L?N?"true":"false":void 0,...xe,"aria-disabled":T?"true":void 0,disabled:I||void 0,children:[typeof S=="string"&&S&&(0,me.jsx)(C,{className:n(V,"k-button-icon"),icon:S,size:y}),S&&typeof S!="string"&&(0,me.jsx)(me.Fragment,{children:S}),M?(0,me.jsxs)(me.Fragment,{children:[M&&(0,me.jsx)("span",{className:"k-button-text",children:M}),e.children]}):e.children&&(0,me.jsx)("span",{className:"k-button-text",children:e.children}),d&&(0,me.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,me.jsx)(C,{icon:c})})]})};p.states=Ln;p.options=Sn;p.variants=gn;p.className=Bt;p.defaultOptions=_o;p.moduleName=Bo;p.folderName=ei;p.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var oi=require("react/jsx-runtime"),ti=e=>(0,oi.jsx)(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var ii=require("react/jsx-runtime"),ai=e=>(0,ii.jsx)(p,{icon:"folder",children:"Button",...e});var ri=require("react/jsx-runtime"),Je=e=>(0,ri.jsx)(p,{children:"Button",...e});var io=require("react/jsx-runtime"),Cn=p.options,In=p.states,yn={...p.defaultOptions,variant:"text"},En=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Tn=[],tt=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,io.jsx)(ti,{...o,icon:"star"});case"icon-and-text":return(0,io.jsx)(ai,{...o,icon:"star",children:"Button"});default:return(0,io.jsx)(Je,{...o,children:"Button"})}};tt.options=Cn;tt.states=In;tt.variants=En;tt.defaultOptions=yn;tt.modifiers=Tn;tt.className=p.className;var Do="button",ni=Do;var si=require("react/jsx-runtime"),_t="k-button-group",An=[r.disabled],On={fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},Mn={},R=e=>{let{fillMode:t,disabled:o,stretched:i,...a}=e;return(0,si.jsx)("div",{role:"group",...a,className:n(e.className,_t,A(_t,{fillMode:t}),E(_t,{disabled:o}),{[`${_t}-stretched`]:i}),...o&&{"aria-disabled":"true"},children:e.children})};R.states=An;R.options=On;R.className=_t;R.defaultOptions=Mn;R.moduleName=Do;R.folderName=ni;R.ariaSpec={selector:".k-button-group",rules:[{selector:".k-button-group:not(.k-split-button)",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-button-group.k-disabled",attribute:"aria-disabled=true",usage:"The attribute is rendered only when the entire button group is disabled."},{selector:".k-button-group:not(.k-split-button):not(.k-scheduler-navigation):not(.k-zoom-control) .k-button",attribute:"aria-pressed (when selected)",usage:"Specifies the current state of the ButtonGroup. Only the selected button within the group will have this attribute set to true."}]};var Ho=require("react/jsx-runtime");var zo=require("react/jsx-runtime");var Go=require("react/jsx-runtime");var Uo=require("react/jsx-runtime");var Fo=require("react/jsx-runtime");var Vo=require("react/jsx-runtime");var se=require("react/jsx-runtime"),Pn={...p.options,...R.options},wn=p.states,Rn={...p.defaultOptions,...R.defaultOptions,variant:"text-button"},Kn=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Bn=[],ot=e=>{let{variant:t,className:o,...i}=e;return t==="icon-button"?(0,se.jsxs)(R,{fillMode:i.fillMode,className:o,children:[(0,se.jsx)(p,{...i,icon:"star"}),(0,se.jsx)(p,{...i,icon:"star"}),(0,se.jsx)(p,{...i,icon:"star"})]}):t==="icon-text-button"?(0,se.jsxs)(R,{fillMode:i.fillMode,className:o,children:[(0,se.jsx)(p,{...i,icon:"star",children:"First"}),(0,se.jsx)(p,{...i,icon:"star",children:"Middle"}),(0,se.jsx)(p,{...i,icon:"star",children:"Last"})]}):(0,se.jsxs)(R,{fillMode:i.fillMode,className:o,children:[(0,se.jsx)(p,{...i,children:"First"}),(0,se.jsx)(p,{...i,children:"Middle"}),(0,se.jsx)(p,{...i,children:"Last"})]})};ot.options=Pn;ot.states=wn;ot.variants=Kn;ot.defaultOptions=Rn;ot.modifiers=Bn;ot.className=R.className;var Xo="slider",li=Xo;var Le=require("react/jsx-runtime"),Dt="k-slider",_n=[r.hover,r.focus,r.active,r.disabled,r.readonly],Dn={},ve={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},P=e=>{let{type:t=ve.type,orientation:o=ve.orientation,gradientType:i=ve.gradientType,readonly:a=ve.readonly,disabled:s=ve.disabled,handlePosition:d=ve.handlePosition,showButtons:c=ve.showButtons,showTicks:f=ve.showTicks,value:h=ve.value,min:x=ve.min,max:v=ve.max,startValue:N,endValue:I,hover:L,focus:T,active:S,trackStyle:y,dir:M,...V}=e,xe=(()=>{if(t==="gradient"&&i==="2d")return"undefined";if(o==="vertical")return"vertical"})(),pe,ue;return o==="horizontal"?(pe=M==="rtl"?"chevron-left":"chevron-right",ue=M==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(pe="chevron-up",ue="chevron-down"),(0,Le.jsxs)("div",{...V,className:n(Dt,e.className,E(Dt,{readonly:a,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:M,children:[c&&(0,Le.jsx)(p,{className:"k-button-decrease",rounded:"full",icon:ue,tabIndex:-1,title:"Decrease"}),(0,Le.jsxs)("div",{className:"k-slider-track-wrap",children:[f&&(0,Le.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,Le.jsxs)("div",{className:"k-slider-track",style:y,children:[(0,Le.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,Le.jsx)("span",{className:n("k-draghandle","k-draghandle-start",E(Dt,{hover:L,focus:T,active:S})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":N??x,"aria-valuemin":x,"aria-valuemax":I??v,"aria-orientation":xe,"aria-disabled":s?"true":void 0,"aria-readonly":a?"true":void 0,"aria-label":V["aria-label"]?`${V["aria-label"]} start`:"Range start"}),(0,Le.jsx)("span",{className:n("k-draghandle",`k-draghandle-${d}`,E(Dt,{hover:L,focus:T,active:S})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?I??v:h,"aria-valuemin":t==="range"?N??x:x,"aria-valuemax":v,"aria-orientation":xe,"aria-disabled":s?"true":void 0,"aria-readonly":a?"true":void 0,"aria-label":t==="range"?V["aria-label"]?`${V["aria-label"]} end`:"Range end":V["aria-label"]})]})]}),c&&(0,Le.jsx)(p,{className:"k-button-increase",rounded:"full",icon:pe,tabIndex:-1,title:"Increase"})]})};P.states=_n;P.options=Dn;P.className=Dt;P.defaultOptions=ve;P.moduleName=Xo;P.folderName=li;P.ariaSpec={selector:".k-slider",rules:[{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"role=slider",usage:"Sets the proper role for Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-label or aria-labelledby or title",usage:"The Slider needs an accessible name to be assigned to it."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the Slider is in a form and announces the invalid state."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuenow",usage:"Specifies the currently selected value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemin",usage:"Specifies the minimum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemax",usage:"Specifies the maximum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuetext (when has text alternative)",usage:"Specifies a human-readable text alternative to the numeric value. Provided by consuming applications."},{selector:".k-slider:not(.k-disabled) .k-draghandle:not(.k-hsv-draghandle)",attribute:"tabindex=0",usage:"The element must be focusable. Disabled sliders are removed from tab order."},{selector:".k-slider-vertical .k-draghandle",attribute:"aria-orientation=vertical (when vertical)",usage:"Present only when slider is vertical."},{selector:".k-slider.k-disabled .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-disabled=true",usage:"Rendered only when the Slider is disabled."},{selector:".k-slider.k-readonly .k-draghandle",attribute:"aria-readonly=true (when readonly)",usage:"Rendered only when the Slider is readonly. Readonly sliders remain focusable but their value cannot be changed."},{selector:".k-slider .k-button",attribute:"tabindex=-1",usage:"Excludes the buttons from the natural tab order. Keyboard users use arrow keys on the drag handle."},{selector:".k-slider .k-button",attribute:"title",usage:'Provides a tooltip describing the button action (e.g., "Decrease" or "Increase").'},{selector:".k-slider .k-slider-items",attribute:"aria-hidden=true",usage:"Hides the tick list from assistive technologies. Tick values are redundant with the drag handle value attributes."},{selector:".k-slider .k-tick",attribute:"role=presentation",usage:"Removes semantic meaning from individual tick elements. Ticks are visual-only markers."},{selector:".k-slider .k-tick",attribute:"title",usage:"Represents the value associated with the respective tick."}]};var $o=require("react/jsx-runtime"),di="k-tick",Hn=[],zn={},ci={label:!1},k=e=>{let{style:t,label:o=ci.label,orientation:i,large:a,text:s,...d}=e;return(0,$o.jsx)("li",{...d,role:"presentation",title:s||"Tick",className:n(e.className,di,{[`k-tick-${i}`]:i,"k-tick-large":a}),style:t,children:o&&(0,$o.jsx)("span",{className:"k-label",children:s})})};k.states=Hn;k.options=zn;k.className=di;k.defaultOptions=ci;var J=require("react/jsx-runtime"),pi=e=>(0,J.jsx)(P,{"aria-label":e["aria-label"]||"Slider",children:(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(k,{className:"k-first",label:!0,large:!0,text:"0"}),(0,J.jsx)(k,{}),(0,J.jsx)(k,{}),(0,J.jsx)(k,{}),(0,J.jsx)(k,{}),(0,J.jsx)(k,{label:!0,large:!0,text:"5"}),(0,J.jsx)(k,{}),(0,J.jsx)(k,{}),(0,J.jsx)(k,{}),(0,J.jsx)(k,{}),(0,J.jsx)(k,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var W=require("react/jsx-runtime"),ui=e=>(0,W.jsx)(P,{children:(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(k,{className:"k-first",label:!0,large:!0,text:"0"}),(0,W.jsx)(k,{}),(0,W.jsx)(k,{}),(0,W.jsx)(k,{}),(0,W.jsx)(k,{}),(0,W.jsx)(k,{label:!0,large:!0,text:"5"}),(0,W.jsx)(k,{}),(0,W.jsx)(k,{}),(0,W.jsx)(k,{}),(0,W.jsx)(k,{}),(0,W.jsx)(k,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var qo=require("react/jsx-runtime");var Jo=require("react/jsx-runtime");var mi=require("react/jsx-runtime"),Wo=e=>(0,mi.jsx)(P,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var fi=require("react/jsx-runtime"),Yo=e=>(0,fi.jsx)(P,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Qo=require("react/jsx-runtime");var Zo=require("react/jsx-runtime");var le=require("react/jsx-runtime"),Gn=P.options,Un=P.states,bi={...P.defaultOptions,variant:"horizontal",label:!0},Fn=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Vn=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],at=e=>{let{variant:t,modifiers:o,...i}=e,a=bi.label,s={};Object.keys(o||{}).forEach(c=>{switch(c){case"button":{s.showButtons=!!(o!=null&&o[c]);break}case"label":{a=!!(o!=null&&o[c]);break}case"tick":{s.showTicks=!!(o!=null&&o[c]);break}}});let d={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,le.jsxs)(ui,{style:{height:"300px",...d},...i,...s,children:[(0,le.jsx)(k,{label:a,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,le.jsx)(k,{label:a,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,le.jsx)(k,{label:a,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,le.jsx)(k,{label:a,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,le.jsx)(k,{label:a,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,le.jsxs)(pi,{style:{width:"400px",...d},...i,...s,children:[(0,le.jsx)(k,{label:a,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,le.jsx)(k,{label:a,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,le.jsx)(k,{label:a,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,le.jsx)(k,{label:a,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,le.jsx)(k,{label:a,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};at.options=Gn;at.states=Un;at.variants=Fn;at.defaultOptions=bi;at.modifiers=Vn;at.className=P.className;var Ht="input",ro=Ht;var hi=require("react/jsx-runtime"),no="k-input",Xn=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],$n={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},qn={},X=e=>{let{hover:t,focus:o,disabled:i,invalid:a,valid:s,loading:d,readonly:c,size:f,rounded:h,fillMode:x,...v}=e;return(0,hi.jsx)("span",{...v,className:n(e.className,no,A(no,{size:f,rounded:h,fillMode:x}),E(no,{hover:t,focus:o,disabled:i,invalid:a,valid:s,loading:d,readonly:c}))})};X.states=Xn;X.options=$n;X.className=no;X.defaultOptions=qn;X.moduleName=Ht;X.folderName=ro;var xi=require("react/jsx-runtime"),so="k-picker",Jn=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Wn={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Yn={},Oe=e=>{let{hover:t,focus:o,disabled:i,invalid:a,valid:s,loading:d,readonly:c,size:f,rounded:h,fillMode:x,...v}=e;return(0,xi.jsx)("span",{...v,className:n(e.className,so,A(so,{size:f,rounded:h,fillMode:x}),E(so,{hover:t,focus:o,disabled:i,invalid:a,valid:s,loading:d,readonly:c})),children:e.children})};Oe.states=Jn;Oe.options=Wn;Oe.className=so;Oe.defaultOptions=Yn;Oe.moduleName=Ht;Oe.folderName=ro;var it=require("react/jsx-runtime"),vi="k-clear-value",Qn=[r.disabled,r.loading,r.readonly],Zn={},Se=e=>{let{disabled:t,loading:o,readonly:i,value:a}=e;return t||i||o||!a?(0,it.jsx)(it.Fragment,{}):(0,it.jsx)("span",{className:n(e.className,vi),children:(0,it.jsx)(C,{icon:"x"})})};Se.states=Qn;Se.options=Zn;Se.className=vi;var Ni=require("react/jsx-runtime"),jo="k-input-inner",jn=[],es={},lo={type:"text",autocomplete:"off",value:"",placeholder:""},Ce=e=>{let{value:t=lo.value,type:o=lo.type,placeholder:i=lo.placeholder,autocomplete:a=lo.autocomplete,disabled:s,readOnly:d,...c}=e;return(0,Ni.jsx)("input",{...c,type:o,className:n(e.className,jo,A(jo,e)),placeholder:i,autoComplete:a,defaultValue:t,disabled:s||void 0,readOnly:d||void 0})};Ce.states=jn;Ce.options=es;Ce.className=jo;var zt=require("react/jsx-runtime"),ea="k-input-inner",ts=[],os={},We=e=>{let{value:t,placeholder:o,showValue:i,valueIcon:a,valueIconName:s,...d}=e;return(0,zt.jsxs)("span",{...d,className:n(e.className,ea,A(ea,e)),children:[a,!a&&s&&(0,zt.jsx)(C,{className:"k-input-value-icon",icon:s}),i&&!t&&o,i&&t&&(0,zt.jsx)("span",{className:"k-input-value-text",children:t})]})};We.states=ts;We.options=os;We.className=ea;var gi=require("react/jsx-runtime"),ta="k-input-inner",as=[],is={},ki={value:"",placeholder:""},oa=e=>{let{value:t=ki.value,placeholder:o=ki.placeholder,rows:i,disabled:a,...s}=e;return(0,gi.jsx)("textarea",{...s,className:n(e.className,ta,A(ta,e)),placeholder:o,rows:i,defaultValue:t,disabled:a||void 0})};oa.states=as;oa.options=is;oa.className=ta;var Gt=require("react/jsx-runtime"),Li="k-input-loading-icon",rs=[r.disabled,r.loading],Ne=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Gt.jsx)(Gt.Fragment,{}):(0,Gt.jsx)("span",{className:n(e.className,Li,"k-icon k-i-loading")})};Ne.states=rs;Ne.className=Li;var Ut=require("react/jsx-runtime"),Si="k-input-validation-icon",ns=[r.valid,r.invalid,r.disabled,r.loading],ss={},fe=e=>{let{valid:t,invalid:o,disabled:i,loading:a}=e,s=o?"warning-circle":"check-circle";return i||a||!!!(t||o)?(0,Ut.jsx)(Ut.Fragment,{}):(0,Ut.jsx)(C,{className:n(Si),icon:s})};fe.states=ns;fe.options=ss;fe.className=Si;var Ft=require("react/jsx-runtime"),ls="k-input-prefix",ds={direction:"horizontal"},Me=e=>{let{direction:t=ds.direction,...o}=e;return e.children?(0,Ft.jsx)("span",{...o,className:n(ls,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Ft.jsx)(Ft.Fragment,{})};var Vt=require("react/jsx-runtime"),cs="k-input-suffix",ps={direction:"horizontal"},Pe=e=>{let{direction:t=ps.direction,...o}=e;return e.children?(0,Vt.jsx)("span",{...o,className:n(cs,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Vt.jsx)(Vt.Fragment,{})};var us=require("react/jsx-runtime");var Ci=require("react/jsx-runtime"),ms="k-input-suffix-text",aa=e=>{let{children:t,...o}=e;return(0,Ci.jsx)("span",{...o,className:n(ms,e.className),children:t})};var yi=require("react/jsx-runtime"),Ii="k-input-separator",fs={direction:"vertical"},_e=e=>{let{direction:t=fs.direction,...o}=e;return(0,yi.jsx)("span",{...o,className:n(Ii,e.className,{[`${Ii}-${t}`]:t})})};var $=require("react/jsx-runtime"),bs=X.states,hs=X.defaultOptions,xs=X.options,vs=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Ns=[],rt=e=>{let{modifiers:t,valid:o,invalid:i,loading:a,disabled:s,readonly:d,...c}=e,f=t==null?void 0:t.prefix,h=t==null?void 0:t.suffix,x=t==null?void 0:t["clear-button"],v=t==null?void 0:t["validation-icon"],N=t==null?void 0:t.separators;return(0,$.jsxs)(X,{...c,valid:o,invalid:i,loading:a,disabled:s,readonly:d,style:{width:300},children:[f&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(Me,{children:(0,$.jsx)(C,{icon:"lock"})}),N&&(0,$.jsx)(_e,{})]}),(0,$.jsx)(Ce,{placeholder:"Placeholder",value:"Value"}),v&&(0,$.jsx)(fe,{valid:o,invalid:i,loading:a,disabled:s}),(0,$.jsx)(Ne,{loading:a,disabled:s}),x&&(0,$.jsx)(Se,{loading:a,disabled:s,readonly:d,value:"Value"}),h&&(0,$.jsxs)($.Fragment,{children:[N&&(0,$.jsx)(_e,{}),(0,$.jsx)(Pe,{children:(0,$.jsx)(Je,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};rt.options=xs;rt.states=bs;rt.variants=Ns;rt.defaultOptions=hs;rt.modifiers=vs;rt.className=X.className;var Xt=require("react/jsx-runtime"),Ei="k-spin-button",Ls=[],Ss={size:[l.undefined,l.small,l.medium,l.large],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},ia={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},ze=e=>{let{size:t,fillMode:o,disabled:i,increaseLabel:a=ia.increaseLabel,decreaseLabel:s=ia.decreaseLabel,...d}=e;return(0,Xt.jsxs)("span",{...d,className:n(Ei,e.className),children:[(0,Xt.jsx)(p,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:i,"aria-label":a}),(0,Xt.jsx)(p,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:i,"aria-label":s})]})};ze.states=Ls;ze.options=Ss;ze.className=Ei;ze.defaultOptions=ia;ze.moduleName=null;ze.folderName=null;var Ti="numeric-textbox",Ai="numerictextbox";var Y=require("react/jsx-runtime"),Oi="k-numerictextbox",Cs=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],Is={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},co={showSpinButton:!0,showClearButton:!0,separators:!0},O=e=>{let{size:t,rounded:o,fillMode:i,separators:a=co.separators,showClearButton:s=co.showClearButton,showSpinButton:d=co.showSpinButton,prefix:c,suffix:f,value:h,placeholder:x,hover:v,focus:N,valid:I,invalid:L,required:T,loading:S,disabled:y,readonly:M,id:V,"aria-label":ne,"aria-describedby":xe,...pe}=e;return(0,Y.jsxs)(X,{...pe,size:t,rounded:o,fillMode:i,hover:v,focus:N,valid:I,invalid:L,required:T,loading:S,disabled:y,readonly:M,className:n(e.className,Oi),children:[c&&(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(Me,{children:c}),a&&(0,Y.jsx)(_e,{})]}),(0,Y.jsx)(Ce,{id:V,placeholder:x,value:h,role:"spinbutton",disabled:y,"aria-label":ne,"aria-describedby":xe,"aria-invalid":L?"true":void 0}),(0,Y.jsx)(fe,{valid:I,invalid:L,loading:S,disabled:y}),(0,Y.jsx)(Ne,{loading:S,disabled:y}),s&&(0,Y.jsx)(Se,{loading:S,disabled:y,readonly:M,value:h}),f&&(0,Y.jsxs)(Y.Fragment,{children:[a&&(0,Y.jsx)(_e,{}),(0,Y.jsx)(Pe,{children:f})]}),d&&(0,Y.jsx)(ze,{className:"k-input-spinner",size:t,fillMode:i,disabled:y})]})};O.states=Cs;O.options=Is;O.className=Oi;O.defaultOptions=co;O.moduleName=Ti;O.folderName=Ai;O.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 $t=O;var Pi=require("react/jsx-runtime"),Mi=e=>(0,Pi.jsx)($t,{...e});var ra="popup",wi=ra;var sa=require("react/jsx-runtime"),Ri="k-animation-container",ys=[],Es={},na={positionMode:"absolute",shown:!0},we=e=>{let{positionMode:t=na.positionMode,shown:o=na.shown,animationStyle:i,offset:a,...s}=e;return(0,sa.jsx)("div",{...s,style:{...a,...e.style},className:n(e.className,Ri,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,sa.jsx)("div",{className:"k-child-animation-container",style:i,children:e.children})})};we.states=ys;we.options=Es;we.className=Ri;we.defaultOptions=na;we.moduleName=ra;we.folderName=wi;var la="popup",Ki=la;var da=require("react/jsx-runtime"),Bi="k-popup",Ts=[],As={},_i={positionMode:"absolute"},Ie=e=>{let{offset:t,positionMode:o=_i.positionMode,animationStyle:i,containerClassName:a,containerRole:s,containerAriaLabel:d,...c}=e;return(0,da.jsx)(we,{positionMode:o,offset:t,animationStyle:i,className:a,role:s,"aria-label":d,children:(0,da.jsx)("div",{...c,className:n(e.className,Bi),children:e.children})})};Ie.states=Ts;Ie.options=As;Ie.className=Bi;Ie.defaultOptions=_i;Ie.moduleName=la;Ie.folderName=Ki;Ie.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 Hi=require("react/jsx-runtime"),Os="k-actionsheet-footer",Di={alignment:"stretched",orientation:"horizontal"},Ge=e=>{let{alignment:t=Di.alignment,orientation:o=Di.orientation,template:i,as:a=i?"div":Ae,...s}=e;return(0,Hi.jsx)(a,{...s,...!i&&{alignment:t,orientation:o},className:n(e.className,Os),children:e.children})};var ca="searchbox",zi=ca;var Ue=require("react/jsx-runtime"),Gi="k-searchbox",Ms=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],Ps={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},pa={showIcon:!0,icon:"search"},ke=e=>{let{value:t,placeholder:o,size:i,rounded:a,fillMode:s,hover:d,focus:c,valid:f,invalid:h,required:x,loading:v,disabled:N,showIcon:I=pa.showIcon,icon:L=pa.icon,"aria-label":T,...S}=e;return(0,Ue.jsxs)(X,{...S,size:i,rounded:a,fillMode:s,hover:d,focus:c,valid:f,invalid:h,required:x,loading:v,disabled:N,className:n(e.className,Gi),children:[I&&(0,Ue.jsx)(C,{className:"k-input-icon",icon:L}),(0,Ue.jsx)(Ce,{placeholder:o,value:t,"aria-label":T}),(0,Ue.jsx)(Ne,{...e}),(0,Ue.jsx)(fe,{...e}),(0,Ue.jsx)(Se,{...e})]})};ke.states=Ms;ke.options=Ps;ke.className=Gi;ke.defaultOptions=pa;ke.moduleName=ca;ke.folderName=zi;var ws=require("react/jsx-runtime");var ua="textbox",Ui=ua;var Z=require("react/jsx-runtime"),Fi="k-textbox",Rs=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Ks={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},po={showClearButton:!0,showValidationIcon:!0,separators:!0},Q=e=>{let{size:t,rounded:o,fillMode:i,separators:a=po.separators,showClearButton:s=po.showClearButton,showValidationIcon:d=po.showValidationIcon,prefix:c,suffix:f,type:h,value:x,placeholder:v,hover:N,focus:I,valid:L,invalid:T,required:S,loading:y,disabled:M,readonly:V,id:ne,"aria-label":xe,"aria-describedby":pe,...ue}=e;return(0,Z.jsxs)(X,{...ue,size:t,rounded:o,fillMode:i,hover:N,focus:I,valid:L,invalid:T,required:S,loading:y,disabled:M,readonly:V,className:n(e.className,Fi),children:[c&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(Me,{children:c}),a&&(0,Z.jsx)(_e,{})]}),(0,Z.jsx)(Ce,{id:ne,placeholder:v,value:x,type:h,disabled:M,"aria-label":xe,"aria-describedby":pe,"aria-invalid":T?"true":void 0}),d&&(0,Z.jsx)(fe,{valid:L,invalid:T,loading:y,disabled:M}),(0,Z.jsx)(Ne,{loading:y,disabled:M}),s&&(0,Z.jsx)(Se,{loading:y,disabled:M,readonly:V,value:x}),f&&(0,Z.jsxs)(Z.Fragment,{children:[a&&(0,Z.jsx)(_e,{}),(0,Z.jsx)(Pe,{children:f})]})]})};Q.states=Rs;Q.options=Ks;Q.className=Fi;Q.defaultOptions=po;Q.moduleName=ua;Q.folderName=Ui;Q.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 qt=Q;var Xi=require("react/jsx-runtime"),Vi=e=>(0,Xi.jsx)(qt,{...e});var $i=require("react/jsx-runtime");var qi=require("react/jsx-runtime");var Bs=require("react/jsx-runtime");var uo=require("react/jsx-runtime"),_s=Q.states,Ds=Q.defaultOptions,Hs=Q.options,zs=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Gs=[],nt=e=>{let{modifiers:t,...o}=e,i={};return Object.keys(t||{}).forEach(a=>{switch(a){case"prefix":i.prefix=t!=null&&t[a]?(0,uo.jsx)(C,{icon:"lock"}):void 0;break;case"suffix":i.suffix=t!=null&&t[a]?(0,uo.jsx)(Je,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":i.showClearButton=t==null?void 0:t[a];break;default:break}}),(0,uo.jsx)(Vi,{value:"Value",style:{width:300},...o,...i})};nt.options=Hs;nt.states=_s;nt.variants=Gs;nt.defaultOptions=Ds;nt.modifiers=zs;nt.className=Q.className;var be=require("react/jsx-runtime"),Ji="k-actionsheet-titlebar",Us={},he=e=>{let{title:t,subtitle:o,actionsStart:i,actionsEnd:a,filter:s,input:d,inputValue:c,inputPlaceholder:f,adaptive:h,titleId:x,children:v,...N}=e;return(0,be.jsxs)("div",{...N,className:n(e.className,Ji),children:[(0,be.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[i&&(0,be.jsx)("div",{className:"k-actionsheet-actions",children:i}),!v&&(0,be.jsxs)("div",{className:"k-actionsheet-title",id:x,children:[t&&(0,be.jsx)("div",{className:"k-text-center",children:t}),o&&(0,be.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),v&&(0,be.jsx)("div",{className:"k-actionsheet-title",id:x,children:v}),a&&(0,be.jsx)("div",{className:"k-actionsheet-actions",children:a})]}),(d||s)&&(0,be.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?(0,be.jsx)(Q,{value:c,placeholder:f,size:h?"large":"medium","aria-label":t||f||"Input"}):(0,be.jsx)(ke,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};he.className=Ji;he.defaultOptions=Us;var st=require("react/jsx-runtime"),ma="k-actionsheet-view",Fs=[],Vs={},Xs={},lt=e=>{let{adaptive:t,animated:o,children:i,header:a,footer:s,titleId:d,...c}=e,f=(a==null?void 0:a.type)===he&&(0,st.jsx)(he,{adaptive:t,titleId:d,...a==null?void 0:a.props}),h=(s==null?void 0:s.type)===Ge&&(0,st.jsx)(Ge,{...s==null?void 0:s.props});return(0,st.jsxs)("div",{...c,className:n(e.className,ma,{[`${ma}-animated`]:o}),children:[f,(0,st.jsx)("div",{className:"k-actionsheet-content",children:i}),h]})};lt.states=Fs;lt.options=Vs;lt.className=ma;lt.defaultOptions=Xs;var Jt="action-sheet",mo=Jt;var fa="overlay",Wi=fa;var Qi=require("react/jsx-runtime"),Yi="k-overlay",$s=[],qs={},Js={},Fe=e=>{let{...t}=e;return(0,Qi.jsx)("div",{...t,className:n(e.className,Yi),children:e.children})};Fe.states=$s;Fe.options=qs;Fe.className=Yi;Fe.defaultOptions=Js;Fe.moduleName=fa;Fe.folderName=Wi;var Ye=require("react/jsx-runtime"),Zi="k-actionsheet",Ws=[],Ys={},Wt={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},G=e=>{let{side:t=Wt.side,fullscreen:o=Wt.fullscreen,adaptive:i=Wt.adaptive,overlay:a=Wt.overlay,template:s,children:d,header:c,footer:f,id:h,...x}=e,v=h&&!s&&c?`${h}-title`:void 0;return(0,Ye.jsxs)("div",{className:"k-actionsheet-container",children:[a&&(0,Ye.jsx)(Fe,{}),(0,Ye.jsx)(we,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:(0,Ye.jsx)("div",{...x,id:h,role:"dialog","aria-modal":a?"true":void 0,"aria-labelledby":v,className:n(e.className,Zi,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":i}),children:s||(0,Ye.jsx)(lt,{header:c,footer:f,adaptive:i,titleId:v,...e,children:d})})})]})};G.states=Ws;G.options=Ys;G.className=Zi;G.defaultOptions=Wt;G.moduleName=Jt;G.folderName=mo;G.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};var er=require("react/jsx-runtime"),ji="k-actionsheet-container",Qs=[],Zs={},js={},dt=e=>{let{children:t,...o}=e;return(0,er.jsx)("div",{...o,className:ji,children:t})};dt.states=Qs;dt.options=Zs;dt.className=ji;dt.defaultOptions=js;dt.moduleName=Jt;dt.folderName=mo;var tr=require("react/jsx-runtime"),ba=e=>{let{...t}=e;return(0,tr.jsx)("div",{...t,className:n(e.className,"k-list-ul"),children:e.children})};var ge=require("react/jsx-runtime"),ha="k-actionsheet-item",el=[r.hover,r.focus,r.selected,r.disabled],Ve=e=>{let{iconName:t,text:o,description:i,hover:a,focus:s,selected:d,disabled:c,...f}=e;return(0,ge.jsxs)("span",{...f,className:n(e.className,ha,E(ha,{hover:a,focus:s,selected:d,disabled:c})),children:[!e.children&&(0,ge.jsx)(ge.Fragment,{children:(0,ge.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,ge.jsx)("span",{className:"k-icon-wrap",children:(0,ge.jsx)(C,{className:"k-actionsheet-item-icon",icon:t})}),(0,ge.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,ge.jsx)("span",{className:"k-actionsheet-item-title",children:o}),i&&(0,ge.jsx)("span",{className:"k-actionsheet-item-description",children:i})]})]})}),e.children]})};Ve.states=el;Ve.className=ha;var or=require("react/jsx-runtime");var tl=require("react/jsx-runtime");var ol=require("react/jsx-runtime");var al=require("react/jsx-runtime");var K=require("react/jsx-runtime"),il=G.options,rl=G.states,ir={...G.defaultOptions,variant:"normal"},nl=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],sl=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],ct=e=>{let{variant:t,modifiers:o,...i}={...ir,...e},a={},s=(0,K.jsxs)(ba,{children:[(0,K.jsx)(Ve,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,K.jsx)(Ve,{text:"Add to Favorites",iconName:"heart"}),(0,K.jsx)(Ve,{text:"Upload New",iconName:"upload",disabled:!0}),(0,K.jsx)("hr",{className:"k-hr"}),(0,K.jsx)(Ve,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",c="Select Item";return t==="fullScreen"&&(a.fullScreen=!0),Object.keys(o||{}).forEach(f=>{switch(f){case"actions":a.actionsStart=!!(o!=null&&o[f]),a.actionsEnd=!!(o!=null&&o[f]);break;case"subtitle":a.subtitle=o!=null&&o[f]?d:void 0;break;case"footer":a.footer=!!(o!=null&&o[f]);break;default:break}}),t==="adaptive"?(0,K.jsx)(G,{...i,adaptive:!0,fullscreen:a.fullScreen,header:(0,K.jsx)(he,{actionsStart:a.actionsStart?(0,K.jsx)(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:a.actionsEnd?(0,K.jsx)(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:a.subtitle}),footer:a.footer?(0,K.jsxs)(Ge,{alignment:"stretched",children:[(0,K.jsx)(p,{text:"Cancel",size:"large",themeColor:"base"}),(0,K.jsx)(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):(0,K.jsx)(G,{...i,fullscreen:a.fullScreen,header:(0,K.jsx)(he,{actionsStart:a.actionsStart?(0,K.jsx)(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:a.actionsEnd?(0,K.jsx)(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:a.subtitle}),footer:a.footer?(0,K.jsxs)(Ge,{alignment:"stretched",children:[(0,K.jsx)(p,{text:"Apply",themeColor:"primary"}),(0,K.jsx)(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};ct.options=il;ct.states=rl;ct.variants=nl;ct.defaultOptions=ir;ct.modifiers=sl;ct.className=G.className;var fo=Va(require("react"));var xa=require("react/jsx-runtime"),ll="k-list-group-sticky-header",va=e=>(0,xa.jsx)("div",{className:n(ll,e.className),children:(0,xa.jsx)("div",{className:"k-list-header-text",children:e.children})});var rr=require("react/jsx-runtime"),dl="k-no-data",Na=e=>{let{live:t,...o}=e;return(0,rr.jsx)("span",{...o,className:n(dl,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Qe="list",pt=Qe;var ut=require("react/jsx-runtime"),ka="k-list",cl=[],pl={size:[l.undefined,l.small,l.medium,l.large]},ul={},H=e=>{var L;let{size:t,virtualization:o,children:i,header:a,selectAll:s,optionLabel:d,customValue:c,noData:f,screenReaders:h,...x}=e,N=fo.default.Children.toArray(i)[0],I=(L=N==null?void 0:N.props)!=null&&L.children?fo.default.Children.count(N.props.children):fo.default.Children.count(i);return(0,ut.jsxs)("div",{...x,className:n(e.className,ka,A(ka,{size:t}),{"k-virtual-list":o}),children:[d,s,c,a&&(0,ut.jsx)(va,{children:a}),i||(f!==void 0?f:(0,ut.jsx)(Na,{live:!0,children:"No data found."})),h&&i&&(0,ut.jsxs)(Na,{className:"k-sr-only",live:!0,children:[I," items found."]})]})};H.states=cl;H.options=pl;H.className=ka;H.defaultOptions=ul;H.moduleName=Qe;H.folderName=pt;H.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var sr=require("react/jsx-runtime"),nr="k-list-container",ml=[],fl={},bl={},mt=e=>{let{...t}=e;return(0,sr.jsx)("div",{...t,className:n(e.className,nr),children:e.children})};mt.states=ml;mt.options=fl;mt.className=nr;mt.defaultOptions=bl;mt.moduleName=Qe;mt.folderName=pt;var Ze="checkbox",ft=Ze;var ga=require("react/jsx-runtime"),bo="k-checkbox",hl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],xl={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},vl={},de=e=>{let{id:t,checked:o,indeterminate:i,hover:a,focus:s,disabled:d,invalid:c,valid:f,required:h,size:x,rounded:v,wrapperRole:N,...I}=e;return(0,ga.jsx)("span",{className:"k-checkbox-wrap",role:N,children:(0,ga.jsx)("input",{...I,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:d||void 0,"aria-invalid":c?"true":void 0,className:n(e.className,bo,A(bo,{size:x,rounded:v}),E(bo,{hover:a,focus:s,disabled:d,invalid:c,valid:f,indeterminate:i,checked:o}))})})};de.states=hl;de.options=xl;de.className=bo;de.defaultOptions=vl;de.moduleName=Ze;de.folderName=ft;de.ariaSpec={selector:".k-checkbox",rules:[{selector:".k-checkbox",attribute:"role=checkbox or type=checkbox",usage:"Announces the checkbox role of the element."},{selector:".k-checkbox",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name to which it will be assigned."},{selector:".k-checkbox",attribute:"aria-checked=true/false/mixed or checked",usage:"For native checkboxes the checked state is handled by the browser. aria-checked is used for custom implementations."},{selector:".k-checkbox",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the checkbox."},{selector:".k-checkbox",attribute:"disabled or aria-disabled=true (when disabled)",usage:"For native checkboxes use the HTML disabled attribute. aria-disabled for custom implementations."},{selector:".k-invalid, .ng-invalid",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the CheckBox is in a form and announces the invalid state."}]};var ye=de;var cr=require("react/jsx-runtime"),lr="k-checkbox-list",Nl=[],kl={},dr={layout:"vertical"},oe=e=>{let{layout:t=dr.layout,...o}=e;return(0,cr.jsx)("ul",{...o,className:n(e.className,lr,{[`k-list-${t}`]:t}),children:e.children})};oe.states=Nl;oe.options=kl;oe.className=lr;oe.defaultOptions=dr;oe.moduleName=Ze;oe.folderName=ft;var ur=require("react/jsx-runtime"),pr="k-checkbox-list-item",gl=[],Ll={},Sl={},ae=e=>{let{...t}=e;return(0,ur.jsx)("li",{...t,className:n(e.className,pr),children:e.children})};ae.states=gl;ae.options=Ll;ae.className=pr;ae.defaultOptions=Sl;ae.moduleName=Ze;ae.folderName=ft;var je=require("react/jsx-runtime"),De=({children:e="Label",id:t="cb-label-after",...o})=>(0,je.jsxs)(je.Fragment,{children:[(0,je.jsx)(ye,{id:t,...o}),(0,je.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var La=require("react/jsx-runtime");var Sa=require("react/jsx-runtime");var Ca=require("react/jsx-runtime");var Cl=require("react/jsx-runtime");var Il=require("react/jsx-runtime");var yl=require("react/jsx-runtime");var j=require("react/jsx-runtime"),El=oe.options,Tl=oe.states,Al={...oe.defaultOptions,variant:"vertical"},Ol=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Ml=[],bt=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,j.jsxs)(oe,{layout:"horizontal",...o,children:[(0,j.jsx)(ae,{children:(0,j.jsx)(De,{id:D("cb"),defaultChecked:!0,children:"Label"})}),(0,j.jsx)(ae,{children:(0,j.jsx)(De,{id:D("cb"),children:"Label"})}),(0,j.jsx)(ae,{children:(0,j.jsx)(De,{id:D("cb"),children:"Label"})})]}):(0,j.jsxs)(oe,{...o,children:[(0,j.jsx)(ae,{children:(0,j.jsx)(De,{id:D("cb"),defaultChecked:!0,children:"Label"})}),(0,j.jsx)(ae,{children:(0,j.jsx)(De,{id:D("cb"),children:"Label"})}),(0,j.jsx)(ae,{children:(0,j.jsx)(De,{id:D("cb"),children:"Label"})})]})};bt.options=El;bt.states=Tl;bt.variants=Ol;bt.defaultOptions=Al;bt.modifiers=Ml;bt.className=oe.className;var mr=require("react/jsx-runtime"),Pl=ye.options,wl=ye.states,Rl=ye.defaultOptions,Kl=[],Bl=[],ht=e=>(0,mr.jsx)(De,{id:D("checkbox"),...e,defaultChecked:!0,children:"Label"});ht.options=Pl;ht.states=wl;ht.variants=Kl;ht.defaultOptions=Rl;ht.modifiers=Bl;ht.className=ye.className;var Re=require("react/jsx-runtime"),Ia="k-list-item",_l=[r.hover,r.focus,r.selected,r.disabled],Dl={},Hl={},w=e=>{let{text:t,groupLabel:o,group:i,iconName:a,iconClassName:s,showCheckbox:d,checked:c,hover:f,focus:h,selected:x,disabled:v,actions:N,description:I,id:L,...T}=e,S=t||e.children;return(0,Re.jsxs)("li",{...T,id:L,role:i?"presentation":"option",tabIndex:i?void 0:h?0:-1,"aria-selected":!i&&x?"true":i?void 0:"false","aria-disabled":!i&&v?"true":void 0,className:n(e.className,i?"k-list-group-item":Ia,E(Ia,{hover:f,focus:h,disabled:v,selected:x})),children:[d&&(0,Re.jsx)(de,{checked:c}),a&&(0,Re.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,Re.jsx)(C,{icon:a,className:n("k-list-item-icon",s)})}),(0,Re.jsx)("span",{className:"k-list-item-text",children:S}),N&&(0,Re.jsx)("div",{className:"k-list-item-actions",children:N}),I&&(0,Re.jsx)("span",{className:"k-list-item-description",children:I}),o&&o!==""&&(0,Re.jsx)("div",{className:"k-list-item-group-label",children:o})]})};w.states=_l;w.options=Dl;w.className=Ia;w.defaultOptions=Hl;w.moduleName=Qe;w.folderName=pt;w.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."}]};var fr=require("react/jsx-runtime"),zl="k-list-ul",et=e=>{let{children:t,role:o,id:i,...a}=e;return(0,fr.jsx)("ul",{...a,id:i,role:o,className:n(zl,e.className),children:t})};et.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."}]};var xt=require("react/jsx-runtime"),Gl="k-list-content",ie=e=>{let{virtualization:t,grouping:o,"aria-label":i,"aria-labelledby":a,listboxId:s,...d}=e;return(0,xt.jsxs)("div",{...d,className:n(Gl,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?i:void 0,"aria-labelledby":o?a:void 0,children:[o?e.children:(0,xt.jsx)(et,{role:"listbox",id:s,"aria-label":i,"aria-labelledby":a,children:e.children}),t&&(0,xt.jsx)("div",{className:"k-height-container",children:(0,xt.jsx)("div",{})})]})};ie.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."}]};var vt=require("react/jsx-runtime"),ho="k-list-sticky-header",Ul=[r.hover,r.focus,r.selected],Fl={},Vl={},xo=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:i,indeterminate:a,hover:s,focus:d,selected:c,...f}=e;return(0,vt.jsx)("div",{...f,className:n(ho,e.className),children:(0,vt.jsxs)("div",{className:n(`${ho}-item`,E(`${ho}-item`,{hover:s,focus:d,selected:c})),children:[o&&(0,vt.jsx)(de,{checked:i,indeterminate:a,"aria-label":t}),(0,vt.jsx)("span",{className:"k-list-item-text",children:t})]})})};xo.states=Ul;xo.options=Fl;xo.className=ho;xo.defaultOptions=Vl;var ya=require("react/jsx-runtime");var Nt=require("react/jsx-runtime"),Xl="k-list-group-item",Yt=e=>{let{groupIconName:t,...o}=e;return(0,Nt.jsxs)("li",{...o,role:"presentation",className:n(Xl,e.className),children:[t&&(0,Nt.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,Nt.jsx)(C,{icon:t,className:"k-list-item-icon"})}),(0,Nt.jsx)("span",{className:"k-list-item-text",children:e.children})]})};Yt.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."}]};var br=require("react/jsx-runtime"),Ea="k-list-optionlabel",$l=[r.hover,r.focus,r.selected,r.disabled],ql={},Jl={},vo=e=>{let{text:t,hover:o,focus:i,selected:a,disabled:s,...d}=e;return(0,br.jsx)("div",{...d,className:n(Ea,E(Ea,{hover:o,focus:i,selected:a,disabled:s})),children:t})};vo.states=$l;vo.options=ql;vo.className=Ea;vo.defaultOptions=Jl;var hr=require("react/jsx-runtime"),Ta="k-list-custom-value",Wl=[r.hover,r.focus,r.selected,r.disabled],Yl={},Ql={},No=e=>{let{text:t,hover:o,focus:i,selected:a,disabled:s,...d}=e;return(0,hr.jsx)("div",{...d,className:n(Ta,E(Ta,{hover:o,focus:i,selected:a,disabled:s})),children:t})};No.states=Wl;No.options=Yl;No.className=Ta;No.defaultOptions=Ql;var Aa=require("react/jsx-runtime");var Oa=require("react/jsx-runtime");var Ma=require("react/jsx-runtime");var Pa=require("react/jsx-runtime");var Zl=require("react/jsx-runtime");var wa=require("react/jsx-runtime");var xr="dropdown-list",vr="dropdownlist";var B=require("react/jsx-runtime"),Nr="k-dropdownlist",jl=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],ed={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Ra={showValue:!0,arrowIconName:"chevron-down"},ee=e=>{let{size:t,rounded:o,fillMode:i,arrowIconName:a=Ra.arrowIconName,showValue:s=Ra.showValue,valueIconName:d,prefix:c,suffix:f,value:h,placeholder:x,hover:v,focus:N,valid:I,invalid:L,required:T,loading:S,disabled:y,readonly:M,popup:V,opened:ne,adaptive:xe,adaptiveSettings:pe,adaptiveTitle:ue,adaptiveSubtitle:Zr,adaptiveFilter:jr,id:Pt,activeDescendant:Ga,"aria-label":en,...tn}=e,on=Pt?`${Pt}-listbox`:void 0,Ua=Pt?`${Pt}-value`:void 0;return(0,B.jsxs)(B.Fragment,{children:[(0,B.jsxs)(Oe,{...tn,id:Pt,size:t,rounded:o,fillMode:i,hover:v,focus:N,valid:I,invalid:L,required:T,loading:S,disabled:y,readonly:M,className:n(e.className,Nr,{"k-icon-picker":!s&&d}),role:"combobox","aria-haspopup":"listbox","aria-expanded":ne?"true":"false","aria-controls":ne?on:void 0,"aria-activedescendant":ne&&Ga?Ga:void 0,"aria-describedby":ne?Ua:void 0,"aria-disabled":y?"true":void 0,"aria-label":en,tabIndex:0,children:[(0,B.jsx)(Me,{children:c}),(0,B.jsx)(We,{placeholder:x,value:h,showValue:s,valueIconName:d,id:Ua}),(0,B.jsx)(fe,{valid:I,invalid:L,loading:S,disabled:y}),(0,B.jsx)(Ne,{loading:S,disabled:y}),(0,B.jsx)(Pe,{children:f}),(0,B.jsx)(p,{className:"k-input-button",icon:a,size:e.size,fillMode:e.fillMode,"aria-label":x||"Toggle dropdown",tabIndex:-1})]}),ne&&V&&(0,B.jsx)(Ie,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:V}),xe&&(0,B.jsx)(G,{adaptive:!0,...pe,header:(0,B.jsx)(he,{actionsEnd:(0,B.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:jr,inputValue:h,inputPlaceholder:x,title:ue,subtitle:Zr}),children:(0,B.jsx)("div",{className:"k-list-container",children:(0,B.jsx)(H,{size:"large",children:(0,B.jsxs)(ie,{"aria-label":"Options",children:[(0,B.jsx)(w,{text:"List item"}),(0,B.jsx)(w,{text:"List item"}),(0,B.jsx)(w,{text:"List item"})]})})})})]})};ee.states=jl;ee.options=ed;ee.className=Nr;ee.defaultOptions=Ra;ee.moduleName=xr;ee.folderName=vr;ee.ariaSpec={rules:[{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"role=combobox",usage:"Announces the dropdown element."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-haspopup=listbox",usage:"Indicates the presence of a listbox popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-expanded",usage:"Announces the visibility state of the popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-label",usage:"Accessible name for the dropdown."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-dropdownlist.k-disabled",attribute:"aria-disabled=true",usage:"Rendered when the dropdown is disabled."},{selector:".k-dropdownlist .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-dropdownlist .k-input-button",attribute:"tabindex=-1",usage:"The button must not be focusable."},{selector:".k-dropdownlist-popup .k-list-content, .k-dropdownlist-popup .k-list-ul",attribute:"role=listbox",usage:"Popup list has listbox role."},{selector:'.k-dropdownlist-popup .k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby",usage:"Popup listbox must have an accessible name. Consuming code is responsible for associating with the component label via aria-labelledby."},{selector:".k-dropdownlist-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."}]};var td=require("react/jsx-runtime");var kr=require("react/jsx-runtime");var Ka=require("react/jsx-runtime");var od=require("react/jsx-runtime");var gr=require("react/jsx-runtime");var Ba=require("react/jsx-runtime");var ad=require("react/jsx-runtime");var ce=require("react/jsx-runtime"),id=ee.states,rd=ee.defaultOptions,nd=ee.options,sd=[{name:"opened",title:"Opened"}],ld=[],gt=e=>{let{modifiers:t,...o}=e,i={},a=(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)("div",{className:"k-list-filter",children:(0,ce.jsx)(ke,{})}),(0,ce.jsx)(H,{style:{width:300},size:o.size,children:(0,ce.jsxs)(ie,{children:[(0,ce.jsx)(w,{children:"List item"}),(0,ce.jsx)(w,{children:"List item"}),(0,ce.jsx)(w,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(i.opened=!!(t!=null&&t[s]),i.popup=t!=null&&t[s]?a:void 0)}),(0,ce.jsx)("div",{children:(0,ce.jsx)(ee,{placeholder:"Value",style:{width:300},...o,...i})})};gt.options=nd;gt.states=id;gt.variants=ld;gt.defaultOptions=rd;gt.modifiers=sd;gt.className=ee.className;var Lr=require("react/jsx-runtime");var Sr=require("react/jsx-runtime");var dd=require("react/jsx-runtime");var ko=require("react/jsx-runtime"),cd=O.states,pd=O.defaultOptions,ud=O.options,md=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],fd=[],Lt=e=>{let{modifiers:t,...o}=e,i={};return Object.keys(t||{}).forEach(a=>{switch(a){case"prefix":i.prefix=t!=null&&t[a]?(0,ko.jsx)(ee,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":i.suffix=t!=null&&t[a]?(0,ko.jsx)(aa,{children:"mm"}):void 0;break;case"clear-button":i.showClearButton=t==null?void 0:t[a];break;case"spin-button":i.showSpinButton=t==null?void 0:t[a];break;default:break}}),(0,ko.jsx)(Mi,{value:"Value",style:{width:300},...o,...i})};Lt.options=ud;Lt.states=cd;Lt.variants=fd;Lt.defaultOptions=pd;Lt.modifiers=md;Lt.className=O.className;var m=require("react/jsx-runtime"),Cr="k-colorgradient-inputs",bd=[],hd={size:[l.undefined,l.small,l.medium,l.large]},Ir={mode:"rgba"},St=e=>{let{mode:t=Ir.mode,size:o,...i}=e;return(0,m.jsxs)("div",{...i,className:n(Cr,"k-hstack"),children:[(0,m.jsx)("div",{className:"k-vstack",children:(0,m.jsx)(p,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)("div",{className:"k-vstack",children:[(0,m.jsx)(O,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),(0,m.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,m.jsxs)("div",{className:"k-vstack",children:[(0,m.jsx)(O,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),(0,m.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,m.jsxs)("div",{className:"k-vstack",children:[(0,m.jsx)(O,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),(0,m.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,m.jsxs)("div",{className:"k-vstack",children:[(0,m.jsx)(O,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),(0,m.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)("div",{className:"k-vstack",children:[(0,m.jsx)(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),(0,m.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,m.jsxs)("div",{className:"k-vstack",children:[(0,m.jsx)(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),(0,m.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,m.jsxs)("div",{className:"k-vstack",children:[(0,m.jsx)(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),(0,m.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)("div",{className:"k-vstack",children:[(0,m.jsx)(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,m.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,m.jsxs)("div",{className:"k-vstack",children:[(0,m.jsx)(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,m.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,m.jsxs)("div",{className:"k-vstack",children:[(0,m.jsx)(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,m.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,m.jsxs)("div",{className:"k-vstack",children:[(0,m.jsx)(O,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),(0,m.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)("div",{className:"k-vstack",children:[(0,m.jsx)(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,m.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,m.jsxs)("div",{className:"k-vstack",children:[(0,m.jsx)(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,m.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,m.jsxs)("div",{className:"k-vstack",children:[(0,m.jsx)(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,m.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,m.jsx)(Q,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,m.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};St.states=bd;St.options=hd;St.className=Cr;St.defaultOptions=Ir;var te=require("react/jsx-runtime"),yr="k-colorgradient-color-contrast",xd=[],vd={},Nd={},Ct=()=>(0,te.jsxs)("div",{className:n(yr,"k-vbox"),children:[(0,te.jsxs)("div",{className:"k-contrast-ratio",children:[(0,te.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,te.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,te.jsx)(C,{icon:"check"}),(0,te.jsx)(C,{icon:"check"})]})]}),(0,te.jsxs)("div",{children:[(0,te.jsx)("span",{children:"AA: 4.5"}),(0,te.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,te.jsx)(C,{icon:"check"})]})]}),(0,te.jsxs)("div",{children:[(0,te.jsx)("span",{children:"AAA: 7.0"}),(0,te.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,te.jsx)(C,{icon:"x"})]})]})]});Ct.states=xd;Ct.options=vd;Ct.className=yr;Ct.defaultOptions=Nd;var Er="color-gradient",Tr="colorgradient";var U=require("react/jsx-runtime"),go="k-colorgradient",kd=[r.hover,r.focus,r.readonly,r.disabled],gd={size:[l.undefined,l.small,l.medium,l.large]},Ke={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"},q=e=>{let{size:t,mode:o=Ke.mode,readonly:i=Ke.readonly,disabled:a=Ke.disabled,gradientStyle:s=Ke.gradientStyle,dragHandleStyle:d=Ke.dragHandleStyle,alphaStyle:c=Ke.alphaStyle,alphaStyleHorizontal:f=Ke.alphaStyleHorizontal,contrast:h=Ke.contrast,dir:x,hover:v,focus:N,hoverHandle:I,focusHandle:L,canvasOrientation:T=Ke.canvasOrientation,role:S,tabIndex:y,...M}=e;return(0,U.jsxs)("div",{...M,role:S??"textbox","aria-label":S==="none"?void 0:"Color gradient",tabIndex:y??0,"aria-disabled":a?"true":void 0,className:n(e.className,go,A(go,{size:t}),E(go,{hover:v,focus:N,readonly:i,disabled:a})),dir:x,children:[!T||T==="horizontal"&&(0,U.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,U.jsx)("div",{className:"k-hsv-rectangle",style:s,children:(0,U.jsx)("div",{className:"k-hsv-gradient",children:(0,U.jsx)("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":I,"k-focus":L}),style:d,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})})}),(0,U.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,U.jsx)(Yo,{className:"k-hue-slider",hover:I,focus:L}),o!=="rgb"&&o!=="hsv"&&(0,U.jsx)(Yo,{className:"k-alpha-slider",hover:I,focus:L,trackStyle:c})]})]}),T==="vertical"&&(0,U.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,U.jsx)("div",{className:"k-hsv-rectangle",style:s,children:(0,U.jsx)("div",{className:"k-hsv-gradient",children:(0,U.jsx)("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":I,"k-focus":L}),style:d,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})})}),(0,U.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,U.jsx)(Wo,{className:"k-hue-slider",hover:I,focus:L}),o!=="rgb"&&o!=="hsv"&&(0,U.jsx)(Wo,{className:"k-alpha-slider",hover:I,focus:L,trackStyle:f})]})]}),(0,U.jsx)(St,{mode:e.mode,size:t}),h&&(0,U.jsx)(Ct,{})]})};q.states=kd;q.options=gd;q.className=go;q.defaultOptions=Ke;q.moduleName=Er;q.folderName=Tr;q.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)."}]};var Ar=require("react/jsx-runtime"),Lo=e=>(0,Ar.jsx)(q,{...e});var Ld=require("react/jsx-runtime");var Sd=require("react/jsx-runtime");var So=require("react/jsx-runtime"),Cd=q.options,Id=q.states,yd={...q.defaultOptions,variant:"rgba"},Ed=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Td=[],It=e=>{let{variant:t,...o}=e;switch(t){case"hex":return(0,So.jsx)(Lo,{...o,mode:t});case"rgb":return(0,So.jsx)(Lo,{...o,mode:t});default:return(0,So.jsx)(Lo,{...o,mode:t})}};It.options=Cd;It.states=Id;It.variants=Ed;It.defaultOptions=yd;It.modifiers=Td;It.className=q.className;var Or=require("react/jsx-runtime"),_a=e=>(0,Or.jsx)("tr",{role:"row",children:e.children});var Mr=require("react/jsx-runtime"),Da="k-colorpalette-tile",Ad=[r.hover,r.focus,r.selected],Od={},yt=e=>{let{color:t,tileSize:o,hover:i,focus:a,selected:s,...d}=e,c={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,Mr.jsx)("td",{...d,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:n(e.className,Da,E(Da,{hover:i,focus:a,selected:s})),style:c})};yt.states=Ad;yt.options=Od;yt.className=Da;var Pr="color-palette",wr="colorpalette";var Et=require("react/jsx-runtime"),Co="k-colorpalette",Md=[r.disabled],Pd={size:[l.undefined,l.small,l.medium,l.large]},Rr={columns:10},re=e=>{let{size:t,palette:o,columns:i=Rr.columns,tileSize:a,disabled:s,...d}=e,c=[];if(o){let f=i||o.columns,h=o.colors?o.colors:o;Array.isArray(h)&&Array.from({length:Math.ceil(h.length/f)},(x,v)=>{let N=[];h.slice(v*f,(v+1)*f).map((L,T)=>{N.push((0,Et.jsx)(yt,{color:L,tileSize:a},T))});let I=(0,Et.jsx)(_a,{children:N},v);c.push(I)})}return(0,Et.jsx)("div",{...d,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:n(e.className,Co,E(Co,{disabled:s}),A(Co,{size:t})),children:(0,Et.jsx)("table",{className:"k-colorpalette-table",role:"none",children:(0,Et.jsx)("tbody",{children:c.length>0?c:e.children})})})};re.states=Md;re.options=Pd;re.className=Co;re.defaultOptions=Rr;re.moduleName=Pr;re.folderName=wr;re.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 Io=re;var Qt={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}};var Br=require("react/jsx-runtime"),Kr=e=>(0,Br.jsx)(Io,{palette:Qt.basic,...e});var wd=require("react/jsx-runtime");var _r=require("react/jsx-runtime");var Dr=require("react/jsx-runtime"),Rd=re.options,Kd=re.states,Bd={...re.defaultOptions,variant:"basic"},_d=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],Dd={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}},Hd=[],Tt=e=>{let{variant:t="basic",...o}=e,i=Dd[t];return(0,Dr.jsx)(Kr,{columns:i.columns,palette:i,...o})};Tt.options=Rd;Tt.states=Kd;Tt.variants=_d;Tt.defaultOptions=Bd;Tt.modifiers=Hd;Tt.className=re.className;var Zt=require("react/jsx-runtime"),Hr="k-color-preview",zd=[],Gd={},Xe=e=>{let{color:t,iconName:o,...i}=e;return(0,Zt.jsxs)("span",{...i,className:n(e.className,Hr,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,Zt.jsx)(C,{icon:o,className:"k-color-preview-icon"}),(0,Zt.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Xe.states=zd;Xe.options=Gd;Xe.className=Hr;var zr="color-editor",Gr="coloreditor";var z=require("react/jsx-runtime"),yo="k-coloreditor",Ud=[r.focus],Fd={size:[l.undefined,l.small,l.medium,l.large]},jt={view:"gradient",palette:Qt.office,actionButtons:!0,canvasOrientation:"horizontal"},_=e=>{let{size:t,view:o=jt.view,palette:i=jt.palette,color:a,currentColor:s,focus:d,focusView:c,dir:f,group:h,actionButtons:x=jt.actionButtons,canvasOrientation:v=jt.canvasOrientation,...N}=e;return(0,z.jsxs)("div",{...N,role:"textbox","aria-label":"Color editor",tabIndex:0,className:n(e.className,"k-flatcolorpicker",yo,A(yo,{size:t}),E(yo,{focus:d})),dir:f,children:[(0,z.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,z.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:h&&(0,z.jsxs)(R,{fillMode:"flat",children:[(0,z.jsx)(p,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),(0,z.jsx)(p,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),(0,z.jsx)("div",{className:"k-spacer"}),(0,z.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,z.jsx)(p,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),(0,z.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,z.jsx)(Xe,{className:"k-coloreditor-preview-color",color:a}),(0,z.jsx)(Xe,{className:"k-coloreditor-current-color",color:s})]})]})]}),(0,z.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,z.jsx)(q,{focus:c,size:t,canvasOrientation:v,role:"none",tabIndex:-1}):(0,z.jsx)(re,{palette:i,size:t})}),x&&(0,z.jsxs)(Ae,{className:"k-coloreditor-footer",alignment:"start",children:[(0,z.jsx)(p,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,z.jsx)(p,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};_.states=Ud;_.options=Fd;_.className=yo;_.defaultOptions=jt;_.moduleName=zr;_.folderName=Gr;_.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 At=_;var Vd=require("react/jsx-runtime");var Xd=require("react/jsx-runtime");var Fr=require("react/jsx-runtime"),Ur=e=>(0,Fr.jsx)(At,{group:!0,currentColor:"fuchsia",...e});var Xr=require("react/jsx-runtime"),Vr=e=>(0,Xr.jsx)(At,{view:"palette",group:!0,currentColor:"fuchsia",...e});var Ha=require("react/jsx-runtime"),$d=_.options,qd=_.states,Jd={..._.defaultOptions,variant:"gradient"},Wd=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Yd=[],Ot=e=>{let{variant:t,...o}=e;return t==="palette"?(0,Ha.jsx)(Vr,{...o,color:"white"}):(0,Ha.jsx)(Ur,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Ot.options=$d;Ot.states=qd;Ot.variants=Wd;Ot.defaultOptions=Jd;Ot.modifiers=Yd;Ot.className=_.className;var $r="color-picker",qr="colorpicker";var F=require("react/jsx-runtime"),Jr="k-colorpicker",Qd=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],Zd={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Wr={arrowIconName:"chevron-down"},Ee=e=>{let{size:t,rounded:o,fillMode:i,arrowIconName:a=Wr.arrowIconName,prefix:s,suffix:d,value:c,placeholder:f,hover:h,focus:x,valid:v,invalid:N,required:I,disabled:L,valueIconName:T,popup:S,opened:y,adaptive:M,adaptiveSettings:V,adaptiveTitle:ne,adaptiveSubtitle:xe,...pe}=e,ue="colorpicker-popup";return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(Oe,{...pe,size:t,rounded:o,fillMode:i,hover:h,focus:x,valid:v,invalid:N,required:I,disabled:L,role:"combobox","aria-haspopup":"dialog","aria-expanded":y?"true":"false","aria-controls":y||M?ue:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":L?"true":void 0,className:n(e.className,Jr,"k-icon-picker"),children:[(0,F.jsx)(Me,{children:s}),(0,F.jsx)(We,{placeholder:f,value:c,showValue:!1,valueIcon:(0,F.jsx)(Xe,{className:"k-value-icon",color:c,iconName:T}),valueIconName:T}),(0,F.jsx)(Pe,{children:d}),(0,F.jsx)(p,{className:"k-input-button",icon:a,size:t,fillMode:i,tabIndex:-1,"aria-label":"Open color picker",disabled:L})]}),y&&S&&(0,F.jsx)(Ie,{id:ue,className:"k-colorpicker-popup",children:S}),M&&(0,F.jsx)(G,{adaptive:!0,id:ue,...V,header:(0,F.jsx)(he,{actionsEnd:(0,F.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:ne,subtitle:xe}),footer:(0,F.jsxs)(Ge,{children:[(0,F.jsx)(p,{text:"Cancel",size:"large"}),(0,F.jsx)(p,{text:"Set",size:"large",themeColor:"primary"})]}),children:(0,F.jsx)(_,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Ee.states=Qd;Ee.options=Zd;Ee.className=Jr;Ee.defaultOptions=Wr;Ee.moduleName=$r;Ee.folderName=qr;Ee.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 He=Ee;var Yr=require("react/jsx-runtime"),Eo=e=>(0,Yr.jsx)(He,{...e});var jd=require("react/jsx-runtime");var ec=require("react/jsx-runtime");var tc=require("react/jsx-runtime");var oc=require("react/jsx-runtime");var ac=require("react/jsx-runtime");var $e=require("react/jsx-runtime"),ic=He.options,rc=He.states,Qr={...He.defaultOptions,variant:"color"},nc=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],sc=[{name:"opened",title:"Opened"}],Mt=e=>{let{variant:t,modifiers:o,...i}={...Qr,...e},a={};Object.keys(o||{}).forEach(d=>{d==="opened"&&(a.opened=!!(o!=null&&o[d]),a.popup=o!=null&&o[d]?(0,$e.jsx)(_,{size:i.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let s=a.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return(0,$e.jsx)("div",{style:s,children:(0,$e.jsx)(Eo,{...i,...a})});case"icon":return(0,$e.jsx)("div",{style:s,children:(0,$e.jsx)(Eo,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...i,...a})});default:return(0,$e.jsx)("div",{style:s,children:(0,$e.jsx)(Eo,{value:"rgba(183, 118 , 118, 1.00)",...i,...a})})}};Mt.options=ic;Mt.states=rc;Mt.variants=nc;Mt.defaultOptions=Qr;Mt.modifiers=sc;Mt.className=He.className;var za=require("react/jsx-runtime"),lc=({value:e="fuchsia",color:t="fuchsia",currentColor:o="fuchsia",...i})=>(0,za.jsx)(Ee,{value:e,opened:!0,popup:(0,za.jsx)(_,{group:!0,view:"palette",color:t,currentColor:o}),...i});