UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

2 lines 76.6 kB
var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...t):typeof t=="object"?Object.keys(t).map((o,s)=>t[s]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var E=(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.fillMode}-${t.themeColor}`]:t.fillMode&&t.themeColor},{[`${e}-${t.themeColor}`]:t.themeColor&&t.fillMode===void 0},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full"}),g=(e,t)=>{let{valid:o,invalid:s,hover:i,focus:p,checked:l,active:u,selected:c,disabled:N,indeterminate:L,loading:k,empty:m,readonly:M,highlighted:h,...S}=t;return n({"k-valid":o,"k-invalid":s,"k-hover":i,"k-focus":p,"k-checked":l,"k-active":u,"k-selected":c,"k-disabled":N,"k-indeterminate":L&&!l,"k-loading":k,"k-empty":m,"k-readonly":M,"k-highlighted":h},Object.keys(S).reduce((C,T)=>(T.startsWith("k-")?C[T]=S[T]:C[`k-${T}`]=S[T],C),{}))};function ea(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(s=>[`k-${s}`,!0]))}var r={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},x={small:"small",medium:"medium",large:"large",full:"full"},f={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},b={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},a={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 us,jsx as ta}from"react/jsx-runtime";var Ko="k-font-icon",ms=[],ds={size:[r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[b.base,b.primary,b.secondary,b.tertiary,b.success,b.warning,b.error,b.info,b.light,b.dark]},cs={},Pt=e=>{let{size:t,themeColor:o,icon:s,rotate:i,flip:p,...l}=e;return s?ta("span",{...l,className:n(e.className,Ko,E(Ko,{size:t}),{[`k-i-${s}`]:s,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":p==="h"||p==="both","k-flip-v":p==="v"||p==="both"})}):ta(us,{})};Pt.states=ms;Pt.options=ds;Pt.className=Ko;Pt.defaultOptions=cs;var oa=Pt;import{Fragment as Ns,jsx as lo}from"react/jsx-runtime";var _o="k-svg-icon",fs=[],bs={size:[r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[b.base,b.primary,b.secondary,b.tertiary,b.success,b.warning,b.error,b.info,b.light,b.dark]},na={viewBox:"0 0 24 24"},zt=e=>{let{size:t,themeColor:o,rotate:s,flip:i,viewBox:p=na.viewBox,icon:l,...u}=e;if(!l)return lo(Ns,{});l==="none"&&{...u,className:n(e.className,_o,"k-none")};let c=typeof l=="object"&&l.name&&l.name;return lo("span",{...u,className:n(e.className,_o,E("k-icon",{size:t}),{[`k-svg-i-${c}`]:c,[`k-color-${o}`]:o,[`k-rotate-${s}`]:s,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),children:lo("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof l=="object"?l.viewBox:p,dangerouslySetInnerHTML:typeof l=="object"?{__html:l.content}:void 0,children:l?void 0:e.children})})};zt.states=fs;zt.options=bs;zt.className=_o;zt.defaultOptions=na;var Po=zt;import*as zo from"@progress/kendo-svg-icons";var aa="icon",ra="icons";import{Fragment as sa,jsx as wt}from"react/jsx-runtime";var po="k-icon",Ls=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),xs=[],Ms={size:[r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[b.base,b.primary,b.secondary,b.tertiary,b.success,b.warning,b.error,b.info,b.light,b.dark]},wo={viewBox:"0 0 24 24",type:"svg"},v=e=>{let{size:t,themeColor:o,icon:s,type:i=wo.type,rotate:p,flip:l,viewBox:u=wo.viewBox,...c}=e;if(!s)return wt(sa,{});if(i==="svg"){if(s==="none")return wt(Po,{...c,className:n(e.className,po),icon:s,size:t});let N=zo[s]?s:Ls(`${s}-icon`);return zo[N]?wt(Po,{...c,className:n(e.className,po),icon:zo[N],size:t,themeColor:o,rotate:p,flip:l,viewBox:u}):wt(sa,{})}return wt(oa,{...c,className:n(e.className,po),icon:s,size:t,themeColor:o,rotate:p,flip:l})};v.states=xs;v.options=Ms;v.defaultOptions=wo;v.className=po;v.moduleName=aa;v.folderName=ra;var Ho="button",ia=Ho;import{Fragment as Es,jsx as Ht,jsxs as la}from"react/jsx-runtime";var Dt="k-button",hs=["icon-button"],ks=[a.hover,a.focus,a.active,a.selected,a.disabled,a.generating],Ss={size:[r.small,r.medium,r.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[b.base,b.primary,b.secondary,b.tertiary,b.success,b.warning,b.error,b.info,b.light,b.dark,b.inverse]},je={size:r.medium,rounded:x.medium,fillMode:f.solid,themeColor:b.base,showArrow:!1,arrowIconName:"caret-alt-down"},d=e=>{let{size:t=je.size,rounded:o=je.rounded,fillMode:s=je.fillMode,themeColor:i=je.themeColor,showArrow:p=je.showArrow,arrowIconName:l=je.arrowIconName,variant:u,hover:c,focus:N,active:L,selected:k,disabled:m,icon:M,text:h,iconClassName:S,...C}=e,T=M!==void 0,B=e.children!==void 0;return la("button",{...C,className:n(e.className,Dt,ea(Dt,u),E(Dt,{size:t,rounded:o,fillMode:s,themeColor:i}),g(Dt,{hover:c,focus:N,active:L,disabled:m,selected:k}),{"k-icon-button":!h&&!B&&T}),children:[M&&Ht(v,{className:n(S,"k-button-icon"),icon:M}),h?la(Es,{children:[h&&Ht("span",{className:"k-button-text",children:h}),e.children]}):e.children&&Ht("span",{className:"k-button-text",children:e.children}),p&&Ht("span",{className:"k-menu-button-arrow k-button-arrow",children:Ht(v,{icon:l})})]})};d.states=ks;d.options=Ss;d.variants=hs;d.className=Dt;d.defaultOptions=je;d.moduleName=Ho;d.folderName=ia;import{jsx as vs}from"react/jsx-runtime";var mo=e=>vs(d,{icon:"folder",...e,children:void 0});import{jsx as gs}from"react/jsx-runtime";var Do=e=>gs(d,{icon:"folder",children:"Button",...e});import{jsx as Ym}from"react/jsx-runtime";var Fo="button",pa=Fo;import{jsx as Cs}from"react/jsx-runtime";var Ft="k-button-group",Is=[a.disabled],Ts={fillMode:[f.solid,f.flat,f.outline,f.clear,f.link]},ma={fillMode:f.solid},P=e=>{let{fillMode:t=ma.fillMode,disabled:o,stretched:s,...i}=e;return Cs("div",{...i,className:n(e.className,Ft,E(Ft,{fillMode:t}),g(Ft,{disabled:o}),{[`${Ft}-stretched`]:s}),children:e.children})};P.states=Is;P.options=Ts;P.className=Ft;P.defaultOptions=ma;P.moduleName=Fo;P.folderName=pa;import{Fragment as fd,jsx as ud,jsxs as bd}from"react/jsx-runtime";import{Fragment as kd,jsx as hd,jsxs as Sd}from"react/jsx-runtime";import{Fragment as Cd,jsx as Td,jsxs as Ad}from"react/jsx-runtime";import{Fragment as _d,jsx as Kd,jsxs as Pd}from"react/jsx-runtime";var Gt="input",co=Gt;import{jsx as ys}from"react/jsx-runtime";var uo="k-input",As=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Os={size:[r.small,r.medium,r.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[f.solid,f.flat,f.outline]},fo={size:r.medium,rounded:r.medium,fillMode:f.solid},R=e=>{let{hover:t,focus:o,disabled:s,invalid:i,valid:p,loading:l,readonly:u,size:c=fo.size,rounded:N=fo.rounded,fillMode:L=fo.fillMode,...k}=e;return ys("span",{...k,className:n(e.className,uo,E(uo,{size:c,rounded:N,fillMode:L}),g(uo,{hover:t,focus:o,disabled:s,invalid:i,valid:p,loading:l,readonly:u}))})};R.states=As;R.options=Os;R.className=uo;R.defaultOptions=fo;R.moduleName=Gt;R.folderName=co;import{jsx as Ks}from"react/jsx-runtime";var bo="k-picker",Rs=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Bs={size:[r.small,r.medium,r.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[f.solid,f.flat,f.outline]},No={size:r.medium,rounded:x.medium,fillMode:f.solid},Q=e=>{let{hover:t,focus:o,disabled:s,invalid:i,valid:p,loading:l,readonly:u,size:c=No.size,rounded:N=No.rounded,fillMode:L=No.fillMode,...k}=e;return Ks("span",{...k,className:n(e.className,bo,E(bo,{size:c,rounded:N,fillMode:L}),g(bo,{hover:t,focus:o,disabled:s,invalid:i,valid:p,loading:l,readonly:u})),children:e.children})};Q.states=Rs;Q.options=Bs;Q.className=bo;Q.defaultOptions=No;Q.moduleName=Gt;Q.folderName=co;import{Fragment as zs,jsx as Go}from"react/jsx-runtime";var da="k-clear-value",_s=[a.disabled,a.loading,a.readonly],Ps={},de=e=>{let{disabled:t,loading:o,readonly:s,value:i}=e;return t||s||o||!i?Go(zs,{}):Go("span",{className:n(e.className,da),children:Go(v,{icon:"x"})})};de.states=_s;de.options=Ps;de.className=da;import{jsx as Ds}from"react/jsx-runtime";var Uo="k-input-inner",ws=[],Hs={},Lo={type:"text",autocomplete:"off",value:"",placeholder:""},ce=e=>{let{value:t=Lo.value,type:o=Lo.type,placeholder:s=Lo.placeholder,autocomplete:i=Lo.autocomplete,...p}=e;return Ds("input",{...p,type:o,className:n(e.className,Uo,E(Uo,e)),placeholder:s,autoComplete:i,defaultValue:t})};ce.states=ws;ce.options=Hs;ce.className=Uo;import{jsx as ca,jsxs as Us}from"react/jsx-runtime";var $o="k-input-inner",Fs=[],Gs={},et=e=>{let{value:t,placeholder:o,showValue:s,valueIcon:i,valueIconName:p,...l}=e;return Us("span",{...l,className:n(e.className,$o,E($o,e)),children:[i,!i&&p&&ca(v,{className:"k-input-value-icon",icon:p}),s&&!t&&o,s&&t&&ca("span",{className:"k-input-value-text",children:t})]})};et.states=Fs;et.options=Gs;et.className=$o;import{jsx as Vs}from"react/jsx-runtime";var Xo="k-input-inner",$s=[],Xs={},ua={value:"",placeholder:""},Vo=e=>{let{value:t=ua.value,placeholder:o=ua.placeholder,rows:s,...i}=e;return Vs("textarea",{...i,className:n(e.className,Xo,E(Xo,e)),placeholder:o,rows:s,defaultValue:t})};Vo.states=$s;Vo.options=Xs;Vo.className=Xo;import{Fragment as qs,jsx as fa}from"react/jsx-runtime";var ba="k-input-loading-icon",Js=[a.disabled,a.loading],ne=e=>{let{disabled:t,loading:o}=e;return t||!o?fa(qs,{}):fa("span",{className:n(e.className,ba,"k-icon k-i-loading")})};ne.states=Js;ne.className=ba;import{Fragment as Qs,jsx as Na}from"react/jsx-runtime";var La="k-input-validation-icon",Ws=[a.valid,a.invalid,a.disabled,a.loading],Zs={},Y=e=>{let{valid:t,invalid:o,disabled:s,loading:i}=e,p=o?"warning-circle":"check-circle";return s||i||!!!(t||o)?Na(Qs,{}):Na(v,{className:n(La),icon:p})};Y.states=Ws;Y.options=Zs;Y.className=La;import{Fragment as ei,jsx as xa}from"react/jsx-runtime";var Ys="k-input-prefix",js={direction:"horizontal"},Se=e=>{let{direction:t=js.direction,...o}=e;return e.children?xa("span",{...o,className:n(Ys,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):xa(ei,{})};import{Fragment as ni,jsx as Ma}from"react/jsx-runtime";var ti="k-input-suffix",oi={direction:"horizontal"},Ee=e=>{let{direction:t=oi.direction,...o}=e;return e.children?Ma("span",{...o,className:n(ti,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Ma(ni,{})};import{jsx as Cc}from"react/jsx-runtime";import{jsx as Rc}from"react/jsx-runtime";import{jsx as ri}from"react/jsx-runtime";var ha="k-input-separator",ai={direction:"vertical"},Ae=e=>{let{direction:t=ai.direction,...o}=e;return ri("span",{...o,className:n(ha,e.className,{[`${ha}-${t}`]:t})})};import{jsx as ka,jsxs as li}from"react/jsx-runtime";var Sa="k-color-preview",si=[],ii={},we=e=>{let{color:t,iconName:o,...s}=e;return li("span",{...s,className:n(e.className,Sa,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&ka(v,{icon:o,className:"k-color-preview-icon"}),ka("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};we.states=si;we.options=ii;we.className=Sa;var Jo="popup",Ea=Jo;import{jsx as va}from"react/jsx-runtime";var ga="k-animation-container",pi=[],mi={},Ia={positionMode:"absolute"},ve=e=>{let{positionMode:t=Ia.positionMode,animationStyle:o,offset:s,...i}=e;return va("div",{...i,style:{...s,...e.style},className:n(e.className,ga,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:va("div",{className:"k-child-animation-container",style:o,children:e.children})})};ve.states=pi;ve.options=mi;ve.className=ga;ve.defaultOptions=Ia;ve.moduleName=Jo;ve.folderName=Ea;var qo="popup",Ta=qo;import{jsx as Ca}from"react/jsx-runtime";var Aa="k-popup",di=[],ci={},Oa={positionMode:"absolute"},D=e=>{let{offset:t,positionMode:o=Oa.positionMode,animationStyle:s,...i}=e;return Ca(ve,{positionMode:o,offset:t,animationStyle:s,children:Ca("div",{...i,className:n(e.className,Aa),children:e.children})})};D.states=di;D.options=ci;D.className=Aa;D.defaultOptions=Oa;D.moduleName=qo;D.folderName=Ta;var Wo="action-buttons",ya=Wo;import{jsx as bi}from"react/jsx-runtime";var xo="k-actions",ui=[],fi={},Zo={alignment:"start",orientation:"horizontal"},ge=e=>{let{alignment:t=Zo.alignment,orientation:o=Zo.orientation,...s}=e;return bi("div",{...s,className:n(xo,{[`${xo}-${t}`]:t,[`${xo}-${o}`]:o},e.className),children:e.children})};ge.states=ui;ge.options=fi;ge.className=xo;ge.defaultOptions=Zo;ge.moduleName=Wo;ge.folderName=ya;import{jsx as Li}from"react/jsx-runtime";var Ni="k-actionsheet-footer",Ra={alignment:"stretched",orientation:"horizontal"},Ut=e=>{let{alignment:t=Ra.alignment,orientation:o=Ra.orientation,template:s,as:i=s?"div":ge,...p}=e;return Li(i,{...p,...!s&&{alignment:t,orientation:o},className:n(e.className,Ni),children:e.children})};var Qo="searchbox",Ba=Qo;import{jsx as $t,jsxs as hi}from"react/jsx-runtime";var Ka="k-searchbox",xi=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading],Mi={size:[r.small,r.medium,r.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[f.solid,f.flat,f.outline]},Yo={showIcon:!0,icon:"search",size:R.defaultOptions.size,rounded:R.defaultOptions.rounded,fillMode:R.defaultOptions.fillMode},ue=e=>{let{value:t,placeholder:o,size:s,rounded:i,fillMode:p,hover:l,focus:u,valid:c,invalid:N,required:L,loading:k,disabled:m,showIcon:M=Yo.showIcon,icon:h=Yo.icon,...S}=e;return hi(R,{...S,size:s,rounded:i,fillMode:p,hover:l,focus:u,valid:c,invalid:N,required:L,loading:k,disabled:m,className:n(e.className,Ka),children:[M&&$t(v,{className:"k-input-icon",icon:h}),$t(ce,{placeholder:o,value:t}),$t(ne,{...e}),$t(Y,{...e}),$t(de,{...e})]})};ue.states=xi;ue.options=Mi;ue.className=Ka;ue.defaultOptions=Yo;ue.moduleName=Qo;ue.folderName=Ba;import{jsx as Hu}from"react/jsx-runtime";var jo="textbox",_a=jo;import{Fragment as Pa,jsx as He,jsxs as en}from"react/jsx-runtime";var za="k-textbox",ki=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Si={size:[r.small,r.medium,r.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[f.solid,f.flat,f.outline]},tt={showClearButton:!0,showValidationIcon:!0,size:R.defaultOptions.size,rounded:R.defaultOptions.rounded,fillMode:R.defaultOptions.fillMode,separators:!0},X=e=>{let{size:t=tt.size,rounded:o=tt.rounded,fillMode:s=tt.fillMode,separators:i=tt.separators,showClearButton:p=tt.showClearButton,showValidationIcon:l=tt.showValidationIcon,prefix:u,suffix:c,type:N,value:L,placeholder:k,hover:m,focus:M,valid:h,invalid:S,required:C,loading:T,disabled:B,readonly:$,...ze}=e;return en(R,{...ze,size:t,rounded:o,fillMode:s,hover:m,focus:M,valid:h,invalid:S,required:C,loading:T,disabled:B,readonly:$,className:n(e.className,za),children:[u&&en(Pa,{children:[He(Se,{children:u}),i&&He(Ae,{})]}),He(ce,{placeholder:k,value:L,type:N}),l&&He(Y,{valid:h,invalid:S,loading:T,disabled:B}),He(ne,{loading:T,disabled:B}),p&&He(de,{loading:T,disabled:B,readonly:$,value:L}),c&&en(Pa,{children:[i&&He(Ae,{}),He(Ee,{children:c})]})]})};X.states=ki;X.options=Si;X.className=za;X.defaultOptions=tt;X.moduleName=jo;X.folderName=_a;import{jsx as Yu}from"react/jsx-runtime";import{Fragment as af,jsx as nf}from"react/jsx-runtime";import{Fragment as cf,jsx as df}from"react/jsx-runtime";import{jsx as De,jsxs as tn}from"react/jsx-runtime";var Ha="k-actionsheet-titlebar",Ei={},ae=e=>{let{title:t,subtitle:o,actionsStart:s,actionsEnd:i,filter:p,input:l,inputValue:u,inputPlaceholder:c,adaptive:N,children:L,...k}=e;return tn("div",{...k,className:n(e.className,Ha),children:[tn("div",{className:"k-actionsheet-titlebar-group",children:[s&&De("div",{className:"k-actionsheet-actions",children:s}),!L&&tn("div",{className:"k-actionsheet-title",children:[t&&De("div",{className:"k-text-center",children:t}),o&&De("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),L&&De("div",{className:"k-actionsheet-title",children:L}),i&&De("div",{className:"k-actionsheet-actions",children:i})]}),(l||p)&&De("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?De(X,{value:u,placeholder:c,size:N?"large":"medium"}):De(ue,{placeholder:"Filter",size:N?"large":"medium"})})]})};ae.className=Ha;ae.defaultOptions=Ei;import{jsx as on,jsxs as Ti}from"react/jsx-runtime";var nn="k-actionsheet-view",vi=[],gi={},Ii={},ut=e=>{let{adaptive:t,animated:o,children:s,header:i,footer:p,...l}=e,u=i?.type===ae&&on(ae,{adaptive:t,...i?.props}),c=p?.type===Ut&&on(Ut,{...p?.props});return Ti("div",{...l,className:n(e.className,nn,{[`${nn}-animated`]:o}),children:[u,on("div",{className:"k-actionsheet-content",children:s}),c]})};ut.states=vi;ut.options=gi;ut.className=nn;ut.defaultOptions=Ii;var Xt="action-sheet",Mo=Xt;import{jsx as ho,jsxs as Oi}from"react/jsx-runtime";var Da="k-actionsheet",Ci=[],Ai={},Vt={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},j=e=>{let{side:t=Vt.side,fullscreen:o=Vt.fullscreen,adaptive:s=Vt.adaptive,overlay:i=Vt.overlay,template:p,children:l,header:u,footer:c,...N}=e;return Oi("div",{className:"k-actionsheet-container",children:[i&&ho("div",{className:"k-overlay"}),ho(ve,{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:ho("div",{...N,className:n(e.className,Da,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":s}),children:p||ho(ut,{header:u,footer:c,adaptive:s,...e,children:l})})})]})};j.states=Ci;j.options=Ai;j.className=Da;j.defaultOptions=Vt;j.moduleName=Xt;j.folderName=Mo;import{jsx as Ki}from"react/jsx-runtime";var Fa="k-actionsheet-container",yi=[],Ri={},Bi={},ft=e=>{let{children:t,...o}=e;return Ki("div",{...o,className:Fa,children:t})};ft.states=yi;ft.options=Ri;ft.className=Fa;ft.defaultOptions=Bi;ft.moduleName=Xt;ft.folderName=Mo;import{jsx as Ff}from"react/jsx-runtime";import{Fragment as Pi,jsx as Jt,jsxs as an}from"react/jsx-runtime";var rn="k-actionsheet-item",_i=[a.hover,a.focus,a.selected,a.disabled],sn=e=>{let{iconName:t,text:o,description:s,hover:i,focus:p,selected:l,disabled:u,...c}=e;return an("span",{...c,className:n(e.className,rn,g(rn,{hover:i,focus:p,selected:l,disabled:u})),children:[!e.children&&Jt(Pi,{children:an("span",{className:"k-actionsheet-action",children:[t&&Jt("span",{className:"k-icon-wrap",children:Jt(v,{className:"k-actionsheet-item-icon",icon:t})}),an("span",{className:"k-actionsheet-item-text",children:[o&&Jt("span",{className:"k-actionsheet-item-title",children:o}),s&&Jt("span",{className:"k-actionsheet-item-description",children:s})]})]})}),e.children]})};sn.states=_i;sn.className=rn;import{jsx as Zf,jsxs as Qf}from"react/jsx-runtime";import{jsx as tb}from"react/jsx-runtime";import{jsx as rb}from"react/jsx-runtime";import{jsx as pb}from"react/jsx-runtime";var ln="slider",Ua=ln;import{jsx as bt,jsxs as pn}from"react/jsx-runtime";var qt="k-slider",zi=[a.hover,a.focus,a.active,a.disabled,a.readonly],wi={},Fe={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},V=e=>{let{type:t=Fe.type,orientation:o=Fe.orientation,readonly:s=Fe.readonly,disabled:i=Fe.disabled,handlePosition:p=Fe.handlePosition,showButtons:l=Fe.showButtons,showTicks:u=Fe.showTicks,hover:c,focus:N,active:L,trackStyle:k,dir:m,...M}=e,h,S;return o==="horizontal"?(h=m==="rtl"?"caret-alt-left":"caret-alt-right",S=m==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(h="caret-alt-up",S="caret-alt-down"),pn("div",{...M,className:n(qt,e.className,g(qt,{readonly:s,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:m,children:[l&&bt(d,{className:"k-button-decrease",rounded:"full",icon:S}),pn("div",{className:"k-slider-track-wrap",children:[u&&bt("ul",{className:"k-reset k-slider-items",children:e.children}),pn("div",{className:"k-slider-track",style:k,children:[bt("div",{className:"k-slider-selection"}),t==="range"&&bt("span",{className:n("k-draghandle","k-draghandle-start",g(qt,{hover:c,focus:N,active:L}))}),bt("span",{className:n("k-draghandle",`k-draghandle-${p}`,g(qt,{hover:c,focus:N,active:L}))})]})]}),l&&bt(d,{className:"k-button-increase",rounded:"full",icon:h})]})};V.states=zi;V.options=wi;V.className=qt;V.defaultOptions=Fe;V.moduleName=ln;V.folderName=Ua;import{jsx as $a}from"react/jsx-runtime";var Xa="k-tick",Hi=[],Di={},Va={label:!1},Ge=e=>{let{style:t,label:o=Va.label,orientation:s,large:i,text:p,...l}=e;return $a("li",{...l,className:n(e.className,Xa,{[`k-tick-${s}`]:s,"k-tick-large":i}),style:t,children:o&&$a("span",{className:"k-label",children:p})})};Ge.states=Hi;Ge.options=Di;Ge.className=Xa;Ge.defaultOptions=Va;import{Fragment as _b,jsx as Kb,jsxs as Pb}from"react/jsx-runtime";import{Fragment as Fb,jsx as Db,jsxs as Gb}from"react/jsx-runtime";import{Fragment as Jb,jsx as Vb,jsxs as qb}from"react/jsx-runtime";import{Fragment as jb,jsx as Yb,jsxs as eN}from"react/jsx-runtime";import{jsx as Fi}from"react/jsx-runtime";var mn=e=>Fi(V,{type:"gradient",showButtons:!1,showTicks:!1,...e});import{jsx as Gi}from"react/jsx-runtime";var dn=e=>Gi(V,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});import{jsx as Ja,jsxs as Ji}from"react/jsx-runtime";var qa="k-spin-button",Xi=[],Vi={size:[r.small,r.medium,r.large],fillMode:[f.solid,f.flat,f.outline,f.clear,f.link]},cn={size:r.medium,fillMode:f.solid},Ue=e=>{let{size:t=cn.size,fillMode:o=cn.fillMode,...s}=e;return Ji("span",{...s,className:n(qa,e.className),children:[Ja(d,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),Ja(d,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};Ue.states=Xi;Ue.options=Vi;Ue.className=qa;Ue.defaultOptions=cn;Ue.moduleName=null;Ue.folderName=null;var Wa="numeric-textbox",Za="numerictextbox";import{Fragment as Qa,jsx as Oe,jsxs as un}from"react/jsx-runtime";var Ya="k-numerictextbox",qi=[a.hover,a.focus,a.valid,a.invalid,a.loading,a.required,a.disabled,a.readonly],Wi={size:[r.small,r.medium,r.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[f.solid,f.flat,f.outline]},ot={showSpinButton:!0,showClearButton:!0,size:R.defaultOptions.size,rounded:R.defaultOptions.rounded,fillMode:R.defaultOptions.fillMode,separators:!0},K=e=>{let{size:t=ot.size,rounded:o=ot.rounded,fillMode:s=ot.fillMode,separators:i=ot.separators,showClearButton:p=ot.showClearButton,showSpinButton:l=ot.showSpinButton,prefix:u,suffix:c,value:N,placeholder:L,hover:k,focus:m,valid:M,invalid:h,required:S,loading:C,disabled:T,readonly:B,...$}=e;return un(R,{...$,size:t,rounded:o,fillMode:s,hover:k,focus:m,valid:M,invalid:h,required:S,loading:C,disabled:T,readonly:B,className:n(e.className,Ya),children:[u&&un(Qa,{children:[Oe(Se,{children:u}),i&&Oe(Ae,{})]}),Oe(ce,{placeholder:L,value:N}),Oe(Y,{valid:M,invalid:h,loading:C,disabled:T}),Oe(ne,{loading:C,disabled:T}),p&&Oe(de,{loading:C,disabled:T,readonly:B,value:N}),c&&un(Qa,{children:[i&&Oe(Ae,{}),Oe(Ee,{children:c})]}),l&&Oe(Ue,{className:"k-input-spinner",size:t,fillMode:s})]})};K.states=qi;K.options=Wi;K.className=Ya;K.defaultOptions=ot;K.moduleName=Wa;K.folderName=Za;import{jsx as KN}from"react/jsx-runtime";import{jsx as Qi}from"react/jsx-runtime";var Zi="k-no-data",Wt=e=>Qi("span",{className:n(Zi,e.className),children:e.children});var ye="list",$e=ye;import{jsx as Nt,jsxs as er}from"react/jsx-runtime";var fn="k-list",Yi=[],ji={size:[r.small,r.medium,r.large]},tr={size:r.medium},_=e=>{let{size:t=tr.size,virtualization:o,children:s,optionLabel:i,customValue:p,screenReaders:l,...u}=e,c,N,L,k,m=[];return s?s.map((M,h)=>{M.type===G?(M.props.root===!0?(c=M.props.label,M.props.children.map((S,C)=>{m.push(Nt(I,{...S.props},`optChild-${C}-${new Date().getTime()}`))})):M.props.children.forEach((S,C)=>{let T="";C===0&&(T=M.props.label),m.push(Nt(I,{className:C===0?"k-first":"",...S.props,groupLabel:T},`groupLabel-${C}-${new Date().getTime()}`))}),N=Nt(G,{label:c,virtualization:o,children:m})):M.type===I&&(m.push(Nt(I,{...M.props},`${M.type}-${h}`)),L=Nt(Lt,{virtualization:o,children:m}),l&&(k=er(Wt,{className:"k-sr-only",children:[m.length," items found."]})))}):k=Nt(Wt,{children:"No data found."}),er("div",{...u,className:n(e.className,fn,E(fn,{size:t}),{"k-virtual-list":o}),children:[i,p,N,L,k]})};_.states=Yi;_.options=ji;_.className=fn;_.defaultOptions=tr;_.moduleName=ye;_.folderName=$e;import{jsx as nl}from"react/jsx-runtime";var or="k-list-container",el=[],tl={},ol={},xt=e=>{let{...t}=e;return nl("div",{...t,className:n(e.className,or),children:e.children})};xt.states=el;xt.options=tl;xt.className=or;xt.defaultOptions=ol;xt.moduleName=ye;xt.folderName=$e;import{jsx as nt,jsxs as sl}from"react/jsx-runtime";var bn="k-list",al=[],rl={size:[r.small,r.medium,r.large]},nr={size:r.medium},Re=e=>{let{size:t=nr.size,virtualization:o,children:s,...i}=e,p,l,u,c=[];return s?s.map((N,L)=>{N.type===G?(N.props.root===!0?(p=N.props.label,N.props.children.map((k,m)=>{c.push(nt(I,{...k.props},`optChild-${m}-${new Date().getTime()}`))})):(c.push(nt(ar,{...N.props,children:N.props.label},`listChild-${L}`)),N.props.children.map((k,m)=>{c.push(nt(I,{...k.props},`fwOptChild-${m}-${new Date().getTime()}`))})),l=nt(G,{label:p,virtualization:o,children:c})):N.type===I&&(c.push(nt(I,{...N.props},`${N.type}-${L}`)),u=nt(Lt,{virtualization:o,children:c}))}):u=nt(Wt,{children:"No data found."}),sl("div",{...i,className:n(e.className,bn,E(bn,{size:t}),{"k-virtual-list":o}),children:[l,u]})};Re.states=al;Re.options=rl;Re.className=bn;Re.defaultOptions=nr;Re.moduleName=ye;Re.folderName=$e;var at="checkbox",Mt=at;import{jsx as rr}from"react/jsx-runtime";var ko="k-checkbox",il=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.checked,a.indeterminate],ll={size:[r.small,r.medium,r.large],rounded:[x.small,x.medium,x.large,x.full]},Nn={size:r.medium,rounded:x.medium},fe=e=>{let{id:t,checked:o,indeterminate:s,hover:i,focus:p,disabled:l,invalid:u,valid:c,required:N,size:L=Nn.size,rounded:k=Nn.rounded,...m}=e;return rr("span",{className:"k-checkbox-wrap",children:rr("input",{...m,id:t,type:"checkbox",defaultChecked:o,required:N,className:n(e.className,ko,E(ko,{size:L,rounded:k}),g(ko,{hover:i,focus:p,disabled:l,invalid:u,valid:c,indeterminate:s,checked:o}))})})};fe.states=il;fe.options=ll;fe.className=ko;fe.defaultOptions=Nn;fe.moduleName=at;fe.folderName=Mt;var Zt=fe;import{jsx as dl}from"react/jsx-runtime";var sr="k-checkbox-list",pl=[],ml={},ir={layout:"vertical"},Xe=e=>{let{layout:t=ir.layout,...o}=e;return dl("ul",{...o,className:n(e.className,sr,{[`k-list-${t}`]:t}),children:e.children})};Xe.states=pl;Xe.options=ml;Xe.className=sr;Xe.defaultOptions=ir;Xe.moduleName=at;Xe.folderName=Mt;import{jsx as bl}from"react/jsx-runtime";var lr="k-checkbox-list-item",cl=[],ul={},fl={},Ve=e=>{let{...t}=e;return bl("li",{...t,className:n(e.className,lr),children:e.children})};Ve.states=cl;Ve.options=ul;Ve.className=lr;Ve.defaultOptions=fl;Ve.moduleName=at;Ve.folderName=Mt;import{Fragment as Nl,jsx as pr,jsxs as Ll}from"react/jsx-runtime";var Ln=({children:e,id:t,...o})=>Ll(Nl,{children:[pr(Zt,{id:t,...o}),pr("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as EL,jsx as SL,jsxs as vL}from"react/jsx-runtime";import{Fragment as AL,jsx as CL,jsxs as OL}from"react/jsx-runtime";import{Fragment as _L,jsx as KL,jsxs as PL}from"react/jsx-runtime";import{jsx as DL}from"react/jsx-runtime";import{jsx as $L}from"react/jsx-runtime";import{jsx as So,jsxs as kl}from"react/jsx-runtime";var xn="k-list-item",xl=[a.hover,a.focus,a.selected,a.disabled],Ml={},hl={},I=e=>{let{text:t,groupLabel:o,group:s,showIcon:i,iconName:p,showCheckbox:l,checked:u,hover:c,focus:N,selected:L,disabled:k,...m}=e,M=t||e.children;return kl("li",{...m,className:n(e.className,s?"k-list-group-item":xn,g(xn,{hover:c,focus:N,disabled:k,selected:L})),children:[l&&So(fe,{checked:u}),i&&So(v,{icon:p}),So("span",{className:"k-list-item-text",children:M}),o&&o!==""&&So("div",{className:"k-list-item-group-label",children:o})]})};I.states=xl;I.options=Ml;I.className=xn;I.defaultOptions=hl;I.moduleName=ye;I.folderName=$e;import{jsx as Mn,jsxs as El}from"react/jsx-runtime";var Sl="k-list-content",Lt=e=>{let{virtualization:t,...o}=e;return El("div",{...o,className:n(Sl,e.className),children:[Mn("ul",{className:n("k-list-ul"),children:e.children}),t&&Mn("div",{className:"k-height-container",children:Mn("div",{})})]})};import{jsx as mr}from"react/jsx-runtime";var vl="k-list-group-sticky-header",dr=e=>mr("div",{className:n(vl,e.className),children:mr("div",{className:"k-list-header-text",children:e.children})});import{Fragment as gl,jsx as cr,jsxs as Il}from"react/jsx-runtime";var G=e=>{let{virtualization:t,label:o}=e;return Il(gl,{children:[o&&cr(dr,{children:o}),e.children&&cr(Lt,{virtualization:t,children:e.children})]})};import{jsx as ur}from"react/jsx-runtime";var Tl="k-list-group-item",ar=e=>ur("li",{className:n(Tl,e.className),children:ur("span",{className:"k-list-item-text",children:e.children})});import{jsx as yl}from"react/jsx-runtime";var hn="k-list-optionlabel",Cl=[a.hover,a.focus,a.selected,a.disabled],Al={},Ol={},Eo=e=>{let{text:t,hover:o,focus:s,selected:i,disabled:p,...l}=e;return yl("div",{...l,className:n(hn,g(hn,{hover:o,focus:s,selected:i,disabled:p})),children:t})};Eo.states=Cl;Eo.options=Al;Eo.className=hn;Eo.defaultOptions=Ol;import{jsx as _l}from"react/jsx-runtime";var kn="k-list-custom-value",Rl=[a.hover,a.focus,a.selected,a.disabled],Bl={},Kl={},Je=e=>{let{text:t,hover:o,focus:s,selected:i,disabled:p,...l}=e;return _l("div",{...l,className:n(kn,g(kn,{hover:o,focus:s,selected:i,disabled:p})),children:t})};Je.states=Rl;Je.options=Bl;Je.className=kn;Je.defaultOptions=Kl;import{jsx as Cx}from"react/jsx-runtime";import{jsx as Rx}from"react/jsx-runtime";import{jsx as Px,jsxs as zx}from"react/jsx-runtime";import{jsx as Fx,jsxs as Gx}from"react/jsx-runtime";import{jsx as Vx}from"react/jsx-runtime";import{jsx as Zx,jsxs as Qx}from"react/jsx-runtime";import{jsx as tM,jsxs as oM}from"react/jsx-runtime";var fr="dropdown-list",br="dropdownlist";import{Fragment as wl,jsx as J,jsxs as Sn}from"react/jsx-runtime";var Nr="k-dropdownlist",Pl=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],zl={size:[r.small,r.medium,r.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[f.solid,f.flat,f.outline]},ht={showValue:!0,arrowIconName:"caret-alt-down",size:r.medium,rounded:x.medium,fillMode:f.solid},z=e=>{let{size:t=ht.size,rounded:o=ht.rounded,fillMode:s=ht.fillMode,arrowIconName:i=ht.arrowIconName,showValue:p=ht.showValue,valueIconName:l,prefix:u,suffix:c,value:N,placeholder:L,hover:k,focus:m,valid:M,invalid:h,required:S,loading:C,disabled:T,readonly:B,popup:$,opened:ze,adaptive:Kt,adaptiveSettings:_t,adaptiveTitle:Ro,adaptiveSubtitle:Bo,adaptiveFilter:ls,...ps}=e;return Sn(wl,{children:[Sn(Q,{...ps,size:t,rounded:o,fillMode:s,hover:k,focus:m,valid:M,invalid:h,required:S,loading:C,disabled:T,readonly:B,className:n(e.className,Nr,{"k-icon-picker":!p&&l}),children:[J(Se,{children:u}),J(et,{placeholder:L,value:N,showValue:p,valueIconName:l}),J(Y,{valid:M,invalid:h,loading:C,disabled:T}),J(ne,{loading:C,disabled:T}),J(Ee,{children:c}),J(d,{className:"k-input-button",icon:i,rounded:null,size:e.size,fillMode:e.fillMode})]}),ze&&$&&J(D,{className:"k-list-container k-dropdownlist-popup",children:$}),Kt&&J(j,{adaptive:!0,..._t,header:J(ae,{actionsEnd:J(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:ls,inputValue:N,inputPlaceholder:L,title:Ro,subtitle:Bo}),children:J("div",{className:"k-list-container",children:Sn(_,{size:"large",children:[J(I,{text:"List item"}),J(I,{text:"List item"}),J(I,{text:"List item"})]})})})]})};z.states=Pl;z.options=zl;z.className=Nr;z.defaultOptions=ht;z.moduleName=fr;z.folderName=br;import{jsx as _M}from"react/jsx-runtime";import{jsx as DM,jsxs as FM}from"react/jsx-runtime";import{Fragment as WM,jsx as JM,jsxs as qM}from"react/jsx-runtime";import{jsx as jM}from"react/jsx-runtime";import{jsx as ah,jsxs as rh}from"react/jsx-runtime";import{jsx as mh,jsxs as dh}from"react/jsx-runtime";import{Fragment as Mh,jsx as Lh,jsxs as xh}from"react/jsx-runtime";import{Fragment as Th,jsx as gh,jsxs as Ih}from"react/jsx-runtime";import{Fragment as Uh,jsx as Gh}from"react/jsx-runtime";import{Fragment as Zh,jsx as Wh}from"react/jsx-runtime";import{Fragment as Qt,jsx as O,jsxs as w}from"react/jsx-runtime";var Lr="k-colorgradient-inputs",Hl=[],Dl={size:[r.small,r.medium,r.large]},xr={mode:"rgba",size:r.medium},kt=e=>{let{mode:t=xr.mode,size:o,...s}=e;return w("div",{...s,className:n(Lr,"k-hstack"),children:[O("div",{className:"k-vstack",children:O(d,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),t==="rgba"&&w(Qt,{children:[w("div",{className:"k-vstack",children:[O(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),O("label",{className:"k-colorgradient-input-label",children:"R"})]}),w("div",{className:"k-vstack",children:[O(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),O("label",{className:"k-colorgradient-input-label",children:"G"})]}),w("div",{className:"k-vstack",children:[O(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),O("label",{className:"k-colorgradient-input-label",children:"B"})]}),w("div",{className:"k-vstack",children:[O(K,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),O("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&w(Qt,{children:[w("div",{className:"k-vstack",children:[O(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"R"})]}),w("div",{className:"k-vstack",children:[O(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"G"})]}),w("div",{className:"k-vstack",children:[O(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&w(Qt,{children:[w("div",{className:"k-vstack",children:[O(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"H"})]}),w("div",{className:"k-vstack",children:[O(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"S"})]}),w("div",{className:"k-vstack",children:[O(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"V"})]}),w("div",{className:"k-vstack",children:[O(K,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),O("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&w(Qt,{children:[w("div",{className:"k-vstack",children:[O(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"H"})]}),w("div",{className:"k-vstack",children:[O(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"S"})]}),w("div",{className:"k-vstack",children:[O(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&O(Qt,{children:w("div",{className:"k-vstack k-flex-1",children:[O(X,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),O("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};kt.states=Hl;kt.options=Dl;kt.className=Lr;kt.defaultOptions=xr;import{jsx as st,jsxs as it}from"react/jsx-runtime";var Mr="k-colorgradient-color-contrast",Fl=[],Gl={},Ul={},St=()=>it("div",{className:n(Mr,"k-vbox"),children:[it("div",{className:"k-contrast-ratio",children:[st("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),it("span",{className:"k-contrast-validation !k-text-success",children:[st(v,{icon:"check"}),st(v,{icon:"check"})]})]}),it("div",{children:[st("span",{children:"AA: 4.5"}),it("span",{className:"k-contrast-validation !k-text-success",children:["Pass",st(v,{icon:"check"})]})]}),it("div",{children:[st("span",{children:"AAA: 7.0"}),it("span",{className:"k-contrast-validation !k-text-error",children:["Fail",st(v,{icon:"x"})]})]})]});St.states=Fl;St.options=Gl;St.className=Mr;St.defaultOptions=Ul;var hr="color-gradient",kr="colorgradient";import{jsx as re,jsxs as Yt}from"react/jsx-runtime";var vo="k-colorgradient",$l=[a.hover,a.focus,a.readonly,a.disabled],Xl={size:[r.small,r.medium,r.large]},be={size:r.medium,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"},Ie=e=>{let{size:t=be.size,mode:o=be.mode,readonly:s=be.readonly,disabled:i=be.disabled,gradientStyle:p=be.gradientStyle,dragHandleStyle:l=be.dragHandleStyle,alphaStyle:u=be.alphaStyle,alphaStyleHorizontal:c=be.alphaStyleHorizontal,contrast:N=be.contrast,dir:L,hover:k,focus:m,hoverHandle:M,focusHandle:h,canvasOrientation:S=be.canvasOrientation,...C}=e;return Yt("div",{...C,className:n(e.className,vo,E(vo,{size:t}),g(vo,{hover:k,focus:m,readonly:s,disabled:i})),dir:L,children:[!S||S==="horizontal"&&Yt("div",{className:"k-colorgradient-canvas k-hstack",children:[re("div",{className:"k-hsv-rectangle",style:p,children:re("div",{className:"k-hsv-gradient",children:re("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":h}),style:l})})}),Yt("div",{className:"k-hsv-controls k-hstack",children:[re(dn,{className:"k-hue-slider",hover:M,focus:h}),o!=="rgb"&&o!=="hsv"&&re(dn,{className:"k-alpha-slider",hover:M,focus:h,trackStyle:u})]})]}),S==="vertical"&&Yt("div",{className:"k-colorgradient-canvas k-vstack",children:[re("div",{className:"k-hsv-rectangle",style:p,children:re("div",{className:"k-hsv-gradient",children:re("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":h}),style:l})})}),Yt("div",{className:"k-hsv-controls k-vstack",children:[re(mn,{className:"k-hue-slider",hover:M,focus:h}),o!=="rgb"&&o!=="hsv"&&re(mn,{className:"k-alpha-slider",hover:M,focus:h,trackStyle:c})]})]}),re(kt,{mode:e.mode,size:t}),N&&re(St,{})]})};Ie.states=$l;Ie.options=Xl;Ie.className=vo;Ie.defaultOptions=be;Ie.moduleName=hr;Ie.folderName=kr;import{jsx as Ek}from"react/jsx-runtime";import{jsx as Tk}from"react/jsx-runtime";import{jsx as Vl}from"react/jsx-runtime";var Sr=e=>Vl("tr",{children:e.children});import{jsx as Wl}from"react/jsx-runtime";var En="k-colorpalette-tile",Jl=[a.hover,a.focus,a.selected],ql={},jt=e=>{let{color:t,tileSize:o,hover:s,focus:i,selected:p,...l}=e,u={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return Wl("td",{...l,className:n(e.className,En,g(En,{hover:s,focus:i,selected:p})),style:u})};jt.states=Jl;jt.options=ql;jt.className=En;var Er="color-palette",vr="colorpalette";import{jsx as eo}from"react/jsx-runtime";var go="k-colorpalette",Zl=[a.disabled],Ql={size:[r.small,r.medium,r.large]},vn={columns:10,size:r.medium},qe=e=>{let{size:t=vn.size,palette:o,columns:s=vn.columns,tileSize:i,disabled:p,...l}=e,u=[];if(o){let c=s||o.columns,N=o.colors?o.colors:o;Array.isArray(N)&&Array.from({length:Math.ceil(N.length/c)},(L,k)=>{let m=[];N.slice(k*c,(k+1)*c).map((h,S)=>{m.push(eo(jt,{color:h,tileSize:i},S))});let M=eo(Sr,{children:m},k);u.push(M)})}return eo("div",{...l,className:n(e.className,go,g(go,{disabled:p}),E(go,{size:t})),children:eo("table",{className:"k-colorpalette-table",children:eo("tbody",{children:u.length>0?u:e.children})})})};qe.states=Zl;qe.options=Ql;qe.className=go;qe.defaultOptions=vn;qe.moduleName=Er;qe.folderName=vr;var gn={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 Yk}from"react/jsx-runtime";var gr="color-editor",Ir="coloreditor";import{jsx as se,jsxs as Et}from"react/jsx-runtime";var Io="k-coloreditor",Yl=[a.focus],jl={size:[r.small,r.medium,r.large]},vt={size:r.medium,view:"gradient",palette:gn.office,actionButtons:!0,canvasOrientation:"horizontal"},ie=e=>{let{size:t=vt.size,view:o=vt.view,palette:s=vt.palette,color:i,currentColor:p,focus:l,focusView:u,dir:c,group:N,actionButtons:L=vt.actionButtons,canvasOrientation:k=vt.canvasOrientation,...m}=e;return Et("div",{...m,className:n(e.className,"k-flatcolorpicker",Io,E(Io,{size:t}),g(Io,{focus:l})),dir:c,children:[Et("div",{className:"k-coloreditor-header k-hstack",children:[se("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&Et(P,{fillMode:"flat",children:[se(d,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),se(d,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette"})]})}),se("div",{className:"k-spacer"}),Et("div",{className:"k-coloreditor-header-actions k-hstack",children:[se(d,{fillMode:"flat",icon:"droplet-slash",size:t}),Et("div",{className:"k-coloreditor-preview k-vstack",children:[se(we,{className:"k-coloreditor-preview-color",color:i}),se(we,{className:"k-coloreditor-current-color",color:p})]})]})]}),se("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?se(Ie,{focus:u,size:t,canvasOrientation:k}):se(qe,{palette:s,size:t})}),L&&Et(ge,{className:"k-coloreditor-footer",alignment:"start",children:[se(d,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),se(d,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};ie.states=Yl;ie.options=jl;ie.className=Io;ie.defaultOptions=vt;ie.moduleName=gr;ie.folderName=Ir;import{jsx as MS}from"react/jsx-runtime";import{jsx as ES}from"react/jsx-runtime";import{jsx as TS}from"react/jsx-runtime";import{jsx as yS}from"react/jsx-runtime";var Tr="color-picker",Cr="colorpicker";import{Fragment as op,jsx as le,jsxs as Tn}from"react/jsx-runtime";var Ar="k-colorpicker",ep=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled],tp={size:[r.small,r.medium,r.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[f.solid,f.flat,f.outline]},to={arrowIconName:"caret-alt-down",size:Q.defaultOptions.size,rounded:Q.defaultOptions.rounded,fillMode:Q.defaultOptions.fillMode},Ne=e=>{let{size:t=to.size,rounded:o=to.rounded,fillMode:s=to.fillMode,arrowIconName:i=to.arrowIconName,prefix:p,suffix:l,value:u,placeholder:c,hover:N,focus:L,valid:k,invalid:m,required:M,disabled:h,valueIconName:S,popup:C,opened:T,adaptive:B,adaptiveSettings:$,adaptiveTitle:ze,adaptiveSubtitle:Kt,..._t}=e;return Tn(op,{children:[Tn(Q,{..._t,size:t,rounded:o,fillMode:s,hover:N,focus:L,valid:k,invalid:m,required:M,disabled:h,className:n(e.className,Ar,"k-icon-picker"),children:[le(Se,{children:p}),le(et,{placeholder:c,value:u,showValue:!1,valueIcon:le(we,{className:"k-value-icon",color:u,iconName:S}),valueIconName:S}),le(Ee,{children:l}),le(d,{className:"k-input-button",icon:i,rounded:null,size:t,fillMode:s})]}),T&&C&&le(D,{className:"k-colorpicker-popup",children:C}),B&&le(j,{adaptive:!0,...$,header:le(ae,{actionsEnd:le(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),title:ze,subtitle:Kt}),footer:Tn(Ut,{children:[le(d,{text:"Cancel",size:"large",themeColor:"base"}),le(d,{text:"Set",size:"large",themeColor:"primary"})]}),children:le(ie,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Ne.states=ep;Ne.options=tp;Ne.className=Ar;Ne.defaultOptions=to;Ne.moduleName=Tr;Ne.folderName=Cr;import{jsx as jS}from"react/jsx-runtime";import{jsx as aE}from"react/jsx-runtime";import{jsx as pE}from"react/jsx-runtime";import{jsx as uE}from"react/jsx-runtime";import{jsx as LE}from"react/jsx-runtime";import{jsx as kE}from"react/jsx-runtime";var Cn="combobox",Or=Cn;import{Fragment as An,jsx as F,jsxs as oo}from"react/jsx-runtime";var yr="k-combobox",ap=[a.hover,a.focus,a.valid,a.invalid,a.loading,a.required,a.disabled,a.readonly],rp={size:[r.small,r.medium,r.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[f.solid,f.flat,f.outline]},no={size:R.defaultOptions.size,rounded:R.defaultOptions.rounded,fillMode:R.defaultOptions.fillMode,separators:!0},Be=e=>{let{size:t=no.size,rounded:o=no.rounded,fillMode:s=no.fillMode,separators:i=no.separators,prefix:p,suffix:l,value:u,placeholder:c,hover:N,focus:L,valid:k,invalid:m,required:M,loading:h,disabled:S,popup:C,opened:T,readonly:B,adaptive:$,adaptiveSettings:ze,adaptiveTitle:Kt,adaptiveSubtitle:_t,adaptiveCustomValue:Ro,...Bo}=e;return oo(An,{children:[oo(R,{...Bo,size:t,rounded:o,fillMode:s,hover:N,focus:L,valid:k,invalid:m,required:M,loading:h,disabled:S,readonly:B,className:n(e.className,yr),children:[p&&oo(An,{children:[F(Se,{children:p}),i&&F(Ae,{})]}),F(ce,{placeholder:c,value:u}),F(Y,{valid:k,invalid:m,loading:h,disabled:S}),F(ne,{loading:h,disabled:S}),F(de,{loading:h,disabled:S,readonly:B,value:u}),l&&oo(An,{children:[i&&F(Ae,{}),F(Ee,{children:l})]}),F(d,{className:"k-input-button",icon:"caret-alt-down",rounded:null,size:t,fillMode:s})]}),T&&C&&F(D,{className:"k-list-container k-combobox-popup",children:C}),$&&F(j,{adaptive:!0,...ze,header:F(ae,{actionsEnd:F(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),input:!0,inputValue:u,inputPlaceholder:c,title:Kt,subtitle:_t}),children:F("div",{className:"k-list-container",children:oo(_,{customValue:Ro?F(Je,{text:`Use "${u}"`}):void 0,size:"large",children:[F(I,{text:"List item"}),F(I,{text:"List item"}),F(I,{text:"List item"})]})})})]})};Be.states=ap;Be.options=rp;Be.className=yr;Be.defaultOptions=no;Be.moduleName=Cn;Be.folderName=Or;import{jsx as $E}from"react/jsx-runtime";import{jsx as WE,jsxs as ZE}from"react/jsx-runtime";import{jsx as tv,jsxs as ov}from"react/jsx-runtime";import{jsx as iv,jsxs as lv}from"react/jsx-runtime";import{jsx as cv}from"react/jsx-runtime";import{Fragment as xv,jsx as Lv}from"react/jsx-runtime";import{Fragment as vv,jsx as Ev}from"react/jsx-runtime";import{jsx as Av,jsxs as Ov}from"react/jsx-runtime";import{Fragment as zv,jsx as _v,jsxs as Pv}from"react/jsx-runtime";var On="menu-button",Rr=On;import{Fragment as lp,jsx as Br,jsxs as pp}from"react/jsx-runtime";var Kr="k-menu-button",sp=[a.hover,a.focus,a.active,a.selected,a.disabled],ip={size:[r.small,r.medium,r.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[b.base,b.primary,b.secondary,b.tertiary,b.success,b.warning,b.error,b.info,b.light,b.dark,b.inverse]},lt={size:r.medium,rounded:x.medium,fillMode:f.solid,themeColor:b.base,showArrow:!0,arrowIconName:"caret-alt-down"},q=e=>{let{size:t=lt.size,rounded:o=lt.rounded,fillMode:s=lt.fillMode,themeColor:i=lt.themeColor,hover:p,focus:l,active:u,selected:c,disabled:N,icon:L,text:k,showArrow:m=lt.showArrow,arrowIconName:M=lt.arrowIconName,popup:h,opened:S,...C}=e;return pp(lp,{children:[Br(d,{...C,className:n(e.className,Kr),text:k,size:t,rounded:o,fillMode:s,themeColor:i,hover:p,focus:l,active:u,selected:c,disabled:N,icon:L,showArrow:m,arrowIconName:M}),S&&h&&Br(D,{className:"k-menu-popup",children:h})]})};q.states=sp;q.options=ip;q.className=Kr;q.defaultOptions=lt;q.moduleName=On;q.folderName=Rr;import{jsx as rg}from"react/jsx-runtime";import{jsx as pg}from"react/jsx-runtime";import{jsx as ug}from"react/jsx-runtime";var ee="menu",pe=ee;import{Fragment as cp,jsx as gt,jsxs as _r}from"react/jsx-runtime";var Rn="k-menu-item",mp=[a.hover,a.focus,a.active,a.selected,a.disabled],dp={},Pr={iconPosition:"before"},Le=e=>{let{hover:t,focus:o,active:s,selected:i,disabled:p,icon:l,text:u,first:c,last:N,showArrow:L,arrowIconName:k,iconPosition:m=Pr.iconPosition,dir:M,children:h,...S}=e,C=gt(cp,{});h&&h.forEach(B=>{if(B.type==="MenuItemContent"){C.props.children.push(B);return}});let T=k;return T||(T=M==="rtl"?"caret-alt-left":"caret-alt-right"),_r("li",{...S,className:n(e.className,Rn,"k-item",g(Rn,{focus:o,disabled:p,hover:t,active:s,selected:i}),{"k-first":c,"k-last":N}),children:[_r("span",{className:n("k-link k-menu-link"),children:[l&&m==="before"&&gt(v,{className:"k-menu-link-icon",icon:l}),gt("span",{className:"k-menu-link-text",children:u}),l&&m==="after"&&gt(v,{className:"k-menu-link-icon",icon:l}),L&&gt("span",{className:"k-menu-expand-arrow",children:gt(v,{icon:T})})]}),C]})};Le.states=mp;Le.options=dp;Le.className=Rn;Le.defaultOptions=Pr;Le.moduleName=ee;Le.folderName=pe;import{Fragment as bp,jsx as It,jsxs as zr}from"react/jsx-runtime";var Bn="k-menu-item",up=[a.hover,a.focus,a.active,a.selected,a.disabled],fp={},Kn={dir:"ltr",iconPosition:"before"},me=e=>{let{hover:t,focus:o,active:s,selected:i,disabled:p,icon:l,text:u,first:c,last:N,showArrow:L,arrowIconName:k,iconPosition:m=Kn.iconPosition,dir:M=Kn.dir,children:h,popup:S,...C}=e,T=It(bp,{});h&&h.forEach($=>{if($.type==="MenuListItemContent"){T.props.children.push($);return}});let B=k;return B||(B=M==="rtl"?"caret-alt-left":"caret-alt-right"),zr("li",{...C,className:n(e.className,Bn,"k-item",g(Bn,{focus:o,disabled:p}),{"k-first":c,"k-last":N}),children:[zr("span",{className:n("k-link k-menu-link",g("k-menu-link",{hover:t,active:s,selected:i,disabled:p})),children:[l&&m==="before"&&It(v,{className:"k-menu-link-icon",icon:l}),It("span",{className:"k-menu-link-text",children:u}),l&&m==="after"&&It(v,{className:"k-menu-link-icon",icon:l}),L&&It("span",{className:"k-menu-expand-arrow",children:It(v,{icon:B})})]}),T,S]})};me.states=up;me.options=fp;me.className=Bn;me.defaultOptions=Kn;me.moduleName=ee;me.folderName=pe;import{jsx as Mp}from"react/jsx-runtime";var wr="k-menu-scroll-wrapper",Np=[],Lp={},xp={},pt=e=>{let{className:t,children:o,orientation:s,...i}=e;return Mp("div",{...i,className:n(t,wr,{"k-menu-scroll-wrapper-vertical":s==="vertical"}),children:o})};pt.states=Np;pt.options=Lp;pt.className=wr;pt.defaultOptions=xp;pt.moduleName=ee;pt.folderName=pe;var Hr=pt;import{Fragment as _n,jsx as mt,jsxs as To}from"react/jsx-runtime";var Pn="k-menu",hp=[],kp={},Co={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},xe=e=>{let{children:t,orientation:o=Co.orientation,header:s=Co.header,scrollable:i,scrollButtonsPosition:p=Co.scrollButtonsPosition,wrapperStyles:l,dir:u,popup:c,...N}=e,L={horizontal:{prev:u!=="rtl"?"left":"right",next:u!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},k=mt("ul",{dir:u,...N,className:n(e.className,"k-reset",Pn,{[`${Pn}-${o}`]:o,"k-header":s}),children:t});return To(_n,{children:[i?To(Hr,{orientation:o,style:l,dir:e.dir,children:[p==="start"&&To(_n,{children:[mt(d,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${L[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),mt(d,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${L[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),p==="around"&&mt(d,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${L[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),k,p==="end"&&To(_n,{children:[mt(d,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${L[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),mt(d,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${L[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),p==="around"&&mt(d,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${L[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}):k,c]})};xe.states=hp;xe.options=kp;xe.className=Pn;xe.defaultOptions=Co;xe.moduleName=ee;xe.folderName=pe;import{jsx as Sp}from"react/jsx-runtime";var zn="k-separator",Dr={orientation:"horizontal"},dt=e=>{let{orientation:t=Dr.orientation,...o}=e;return Sp("li",{...o,className:n(e.className,"k-item",zn,{[`${zn}-${t}`]:t})})};dt.className=zn;dt.defaultOptions=Dr;dt.moduleName=ee;dt.folderName=pe;import{Fragment as Gg,jsx as Ug}from"react/jsx-runtime";import{jsx as Fr}from"react/jsx-runtime";import{createElement as gp}from"react";var wn="k-menu-group",Ep=[],vp={size:[r.small,r.medium,r.large]},Hn={size:r.medium,dir:"ltr"},Ke=e=>{let{children:t,size:o=Hn.size,dir:s=Hn.dir,...i}=e,p=[];return t&&Array.isArray(t)&&t.map((l,u)=>{l.type===me?p.push(gp(me,{...l.props,dir:s,key:u})):l.type===dt?p.push(Fr(dt,{})):p.push(l)}),Fr("ul",{...i,className:n(e.className,wn,E(wn,{size:o})),children:p})};Ke.states=Ep;Ke.options=vp;Ke.className=wn;Ke.defaultOptions=Hn;Ke.moduleName=ee;Ke.folderName=pe;import{Fragment as eI,jsx as jg,jsxs as tI}from"react/jsx-runtime";import{Fragment as lI,jsx as sI,jsxs as iI}from"react/jsx-runtime";import{Fragment as uI,jsx as cI,jsxs as fI}from"react/jsx-runtime";import{Fragment as MI,jsx as xI,jsxs as hI}from"react/jsx-runtime";import{Fragment as gI,jsx as vI,jsxs as II}from"react/jsx-runtime";import{jsx as $I,jsxs as XI}from"react/jsx-runtime";var Dn="split-button",Gr=Dn;import{Fragment as Cp,jsx as Fn,jsxs as Ur}from"react/jsx-runtime";var Gn="k-split-button",Ip=[a.hover,a.focus,a.active,a.selected,a.disabled],Tp={size:[r.small,r.medium,r.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[b.base,b.primary,b.secondary,b.tertiary,b.success,b.warning,b.error,b.info,b.light,b.dark,b.inverse]},Tt={size:r.medium,rounded:x.medium,fillMode:f.solid,themeColor:b.base,arrowIconName:"caret-alt-down"},U=e=>{let{size:t=Tt.size,rounded:o=Tt.rounded,fillMode:s=Tt.fillMode,themeColor:i=Tt.themeColor,hover:p,focus:l,active:u,selected:c,disabled:N,icon:L,text:k,arrowIconName:m=Tt.arrowIconName,popup:M,opened:h,...S}=e;return Ur(Cp,{children:[Ur("div",{...S,className:n(e.className,Gn,"k-button-group",E(Gn,{rounded:o})),children:[Fn(d,{text:k,icon:L,size:t,rounded:o,fillMode:s,themeColor:i,hover:p,focus:l,active:u,selected:c,disabled:N,children:e.children}),Fn(d,{className:"k-split-button-arrow",icon:m,size:t,rounded:o,fillMode:s,disabled:N})]}),h&&M&&Fn(D,{className:"k-menu-popup",children:M})]})};U.states=Ip;U.options=Tp;U.className=Gn;U.defaultOptions=Tt;U.moduleName=Dn;U.folderName=Gr;var Un=U;import{jsx as Op}from"react/jsx-runtime";var Ap="k-toolbar-separator",W=e=>Op("div",{className:n(Ap,e.className,"k-separator")});var _e="toolbar",Ze=_e;import{Fragment as $n,jsx as y,jsxs as Ct}from"react/jsx-runtime";var Pe="k-toolbar",yp=[a.focus],Rp={size:[r.small,r.medium,r.large],fillMode:[f.solid,f.outline,f.flat]},Xn={size:r.medium,fillMode:f.solid,scrollButtons:"around"},te=e=>{let{size:t=Xn.size,fillMode:o=Xn.fillMode,focus:s,resizable:i,scrollable:p,scrollButtons:l,scrollingPosition:u,section:c,...N}=e,L=[],k=(m,M)=>{let h=[];if(m.type===d&&m.props.className&&m.props.className.includes("k-toolbar-overflow-button"))h.push(y(d,{...m.props,className:`${m.props.className?m.props.className:""}`},`${M}-${new Date().getTime()}`));else if(m.type===d)h.push(y(d,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${M}-${new Date().getTime()}`));else if(m.type===Do)h.push(y(Do,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${M}-${new Date().getTime()}`));else if(m.type===mo)h.push(y(mo,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${M}-${new Date().getTime()}`));else if(m.type===q)h.push(y(q,{...m.props,className:`k-toolbar-menu-button ${m.props.className?m.props.className:""}`},`${M}-${new Date().getTime()}`));else if(m.type===Un)h.push(y(Un,{...m.props,className:`k-toolbar-split-button ${m.props.className?m.props.className:""}`},`${M}-${new Date().getTime()}`));else if(m.type===P||m.props.className&&m.props.className.includes("k-button-group")){let S=[];(Array.isArray(m.props.children)?m.props.children:[m.props.children]).forEach((T,B)=>{S.push(y(d,{...T.props,className:`${T.props.className?T.props.className:""}`},`${B}-${new Date().getTime()}`))}),h.push(y(P,{...m.props,className:`k-toolbar-button-group ${m.props.className?m.props.className:""}`,children:S},`${M}-${new Date().getTime()}`))}else m.type===Be?h.push(y(Be,{...m.props,className:`k-toolbar-combobox ${m.props.className?m.props.className:""}`},`${M}-${new Date().getTime()}`)):m.type===z?h.push(y(z,{...m.props,className:`k-toolbar-dropdownlist ${m.props.className?m.props.className:""}`},`${M}-${new Date().getTime()}`)):m.type===Ne?h.push(y(Ne,{...m.props,className:`k-toolbar-colorpicker ${m.props.className?m.props.className:""}`},`${M}-${new Date().getTime()}`)):h.push(m);h.forEach(S=>{L.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((M,h)=>{k(M,h)}),Ct("div",{...N,className:n(e.className,Pe,E(Pe,{size:t,fillMode:o}),g(Pe,{focus:s}),{[`${Pe}-resizable`]:i,[`${Pe}-scrollable`]:p,[`${Pe}-scrollable-overlay`]:p&&l==="hidden",[`${Pe}-scrollable-${u}`]:u&&u!=="both",[`${Pe}-section`]:c}),children:[!p&&L,p&&l==="hidden"&&y("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:L}),p&&l==="start"&&Ct($n,{children:[Ct(P,{children:[y("span",{className:n("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o,themeColor:b.base,rounded:x.medium}),"k-icon-button"),children:y(v,{className:"k-button-icon",icon:"caret-alt-left"})}),y("span",{className:n("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o,themeColor:b.base,rounded:x.medium}),"k-icon-button"),children:y(v,{className:"k-button-icon",icon:"caret-alt-right"})})]}),y(W,{className:"k-toolbar-button-separator"}),y("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:L})]}),p&&l==="end"&&Ct($n,{children:[y("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:L}),y(W,{className:"k-toolbar-button-separator"}),Ct(P,{children:[y("span",{className:n("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o,themeColor:b.base,rounded:x.medium}),"k-icon-button"),children:y(v,{className:"k-button-icon",icon:"caret-alt-left"})}),y("span",{className:n("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o,themeColor:b.base,rounded:x.medium}),"k-icon-button"),children:y(v,{className:"k-button-icon",icon:"caret-alt-right"})})]})]}),p&&(l==="around"||!l)&&Ct($n,{children:[y("span",{className:n("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o,themeColor:b.base,rounded:x.medium}),"k-icon-button"),children:y(v,{className:"k-button-icon",icon:"caret-alt-left"})}),y(W,{className:"k-toolbar-button-separator"}),y("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:L}),y(W,{className:"k-toolbar-button-separator"}),y("span",{className:n("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o,themeColor:b.base,rounded:x.medium}),"k-icon-button"),children:y(v,{className:"k-button-icon",icon:"caret-alt-right"})})]})]})};te.states=yp;te.options=Rp;te.className=Pe;te.defaultOptions=Xn;te.moduleName=_e;te.folderName=Ze;import{jsx as Pp}from"react/jsx-runtime";var $r="k-floating-toolbar",Bp=[],Kp={},_p={},At=e=>{let{...t}=e;return Pp("div",{...t,className:n(e.className,$r),children:e.children})};At.states=Bp;At.options=Kp;At.className=$r;At.defaultOptions=_p;At.moduleName=_e;At.folderName=Ze;import{jsx as Dp}from"react/jsx-runtime";var Vn="k-toolbar-item",zp=[a.focus],wp={},Hp={},Me=e=>{let{focus:t,...o}=e;return Dp("div",{...o,className:n(e.className,Vn,g(Vn,{focus:t})),children:e.children})};Me.states=zp;Me.options=wp;Me.className=Vn;Me.defaultOptions=Hp;Me.moduleName=_e;Me.folderName=Ze;import{jsx as Xr}from"react/jsx-runtime";var Vr="k-toolbar-popup",Fp=[],Gp={size:[r.small,r.medium,r.large],fillMode:[f.solid,f.outline,f.flat]},Jn={size:r.medium,fillMode:f.solid},Ot=e=>{let{size:t=Jn.size,fillMode:o=Jn.fillMode,section:s,...i}=e;return Xr(D,{...i,className:n(e.className,Vr),children:s?Xr("span",{className:n("k-toolbar-items-list",E("k-toolbar-items-list",{size:t,fillMode:o})),children:e.children}):e.children})};Ot.states=Fp;Ot.options=Gp;Ot.className=Vr;Ot.defaultOptions=Jn;Ot.moduleName=_e;Ot.folderName=Ze;import{jsx as wT}from"react/jsx-runtime";import{jsx as GT}from"react/jsx-runtime";import{jsx as VT}from"react/jsx-runtime";import{jsx as QT,jsxs as YT}from"react/jsx-runtime";import{jsx as cC,jsxs as uC}from"react/jsx-runtime";import{jsx as SC,jsxs as EC}from"react/jsx-runtime";import{jsx as yC,jsxs as RC}from"react/jsx-runtime";import{jsx as DC,jsxs as FC}from"react/jsx-runtime";import{Fragment as eA,jsx as YC,jsxs as jC}from"react/jsx-runtime";import{jsx as oe}from"react/jsx-runtime";var Jr="k-imageeditor-toolbar",Up=[],$p={},Xp=[oe(d,{icon:"upload"},"toolbar-button-1"),oe(d,{disabled:!0,icon:"download"},"toolbar-button-2"),oe(W,{},"toolbar-separator-1"),oe(d,{disabled:!0,icon:"undo"},"toolbar-button-3"),oe(d,{disabled:!0,icon:"redo"},"toolbar-button-4"),oe(W,{},"toolbar-separator-2"),oe(d,{disabled:!0,icon:"crop"},"toolbar-button-5"),oe(d,{disabled:!0,icon:"image-resize"},"toolbar-button-6"),oe(d,{disabled:!0,icon:"zoom-in"},"toolbar-button-7"),oe(d,{disabled:!0,icon:"zoom-out"},"toolbar-button-8"),oe(Me,{children:oe(z,{disabled:!0,value:"Zoom options"})},"toolbar-item-1")],qr={toolbarItems:Xp},yt=e=>{let{toolbarItems:t=qr.toolbarItems,...o}=e;return oe(te,{...o,className:n(e.className,Jr),children:t})};yt.states=Up;yt.options=$p;yt.className=Jr;yt.defaultOptions=qr;var Wr="image-editor",Zr="imageeditor";import{jsx as ao,jsxs as Qr}from"react/jsx-runtime";var Yr="k-imageeditor",Vp=[],Jp={},qp={},Te=e=>{let{toolbarItems:t,actionPane:o,contentHeight:s,children:i,...p}=e;return Qr("div",{...p,className:n(e.className,Yr),children:[ao("div",{className:"k-imageeditor-header",children:ao(yt,{toolbarItems:t})}),Qr("div",{className:"k-imageeditor-content",style:{height:s},children:[ao("div",{className:"k-imageeditor-canvas-container",children:ao("div",{className:"k-imageeditor-canvas",children:i})}),o&&ao("div",{className:"k-imageeditor-action-pane",children:o})]})]})};Te.states=Vp;Te.options=Jp;Te.className=Yr;Te.defaultOptions=qp;Te.moduleName=Wr;Te.folderName=Zr;import{jsx as CA}from"react/jsx-runtime";import{jsx as ro,jsxs as qn}from"react/jsx-runtime";var Wn="k-form-field",Wp=[a.disabled],H=e=>{let{label:t,orientation:o,optional:s,editor:i,hint:p,error:l,info:u,disabled:c,dir:N,colSpan:L}=e;return qn("div",{className:n(Wn,e.className,g(Wn,{disabled:c}),{[`k-col-span-${L}`]:L}),dir:N,children:[t&&qn("label",{className:n("k-label","k-form-label"),children:[t,s&&ro("span",{className:"k-label-optional",children:"(Optional)"}),u&&ro("span",{className:"k-field-info",children:"(field info)"})]}),o==="horizontal"&&!t&&ro("span",{className:"k-label k-form-label k-label-empty"}),qn("div",{className:"k-form-field-wrap",children:[i,p&&ro("div",{className:"k-form-hint",children:p}),l&&ro("div",{className:"k-form-error",children:l})]})]})};H.states=Wp;H.className=Wn;import{Fragment as Zp,jsx as Zn,jsxs as Qp}from"react/jsx-runtime";var jr="k-form-fieldset",he=e=>{let{legend:t,layout:o,cols:s,gutters:i,colSpan:p}=e;return Qp("fieldset",{className:n(jr,{[`k-col-span-${p}`]:p}),children:[t&&Zn("legend",{className:"k-form-legend",children:t}),o==="grid"?Zn("div",{className:n("k-form-layout","k-d-grid",{[`k-grid-cols-${s}`]:s}),style:{...typeof i=="string"&&{gap:i},...typeof i=="object"&&i.rows&&{rowGap:i.rows},...typeof i=="object"&&i.cols&&{columnGap:i.cols}},children:e.children}):Zn(Zp,{children:e.children})]})};he.className=jr;var es="form",ts="forms";import{Fragment as em,jsx as so,jsxs as tm}from"react/jsx-runtime";import{createElement as Qn}from"react";var Ao="k-form",Yp=[],jp={size:[r.small,r.medium,r.large]},Oo={size:r.medium,layout:"basic",tag:"form"},Ce=e=>{let{size:t=Oo.size,orientation:o,layout:s=Oo.layout,formButtons:i,cols:p,gutters:l,tag:u=Oo.tag,children:c}=e,N=({tag:k,className:m,children:M})=>k==="form"?so("form",{className:m,children:M}):so("div",{className:m,children:M}),L=[];return c&&(Array.isArray(c)?c.map((k,m)=>{k.type===H?L.push(Qn(H,{...k.props,orientation:o,key:m})):L.push(k)}):c.type===H?L.push(Qn(H,{...c.props,orientation:o,key:`${new Date().getTime()}`})):c.type===he&&L.push(Qn(he,{...c.props,key:`${new Date().getTime()}`}))),tm(N,{tag:u,className:n(e.className,Ao,E(Ao,{size:t}),{[`${Ao}-${o}`]:o}),children:[s==="grid"?so("div",{className:n("k-form-layout","k-d-grid",{[`k-grid-cols-${p}`]:p}),style:{...typeof l=="string"&&{gap:l},...typeof l=="object"&&l.rows&&{rowGap:l.rows},...typeof l=="object"&&l.cols&&{columnGap:l.cols}},children:L}):so(em,{children:L}),i&&so("div",{className:"k-form-buttons",children:i})]})};Ce.states=Yp;Ce.options=jp;Ce.className=Ao;Ce.defaultOptions=Oo;Ce.moduleName=es;Ce.folderName=ts;var ct="radio",Rt=ct;import{jsx as os}from"react/jsx-runtime";var yo="k-radio",om=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.checked],nm={size:[r.small,r.medium,r.large]},ns={size:r.medium},ke=e=>{let{id:t,checked:o,hover:s,focus:i,disabled:p,invalid:l,valid:u,required:c,size:N=ns.size,...L}=e;return os("span",{className:"k-radio-wrap",children:os("input",{...L,id:t,type:"radio",checked:o,required:c,className:n(e.className,yo,E(yo,{size:N}),g(yo,{hover:s,focus:i,disabled:p,invalid:l,valid:u,checked:o}))})})};ke.states=om;ke.options=nm;ke.className=yo;ke.defaultOptions=ns;ke.moduleName=ct;ke.folderName=Rt;import{jsx as sm}from"react/jsx-runtime";var as="k-radio-list",am=[],rm={},rs={layout:"vertical"},Qe=e=>{let{layout:t=rs.layout,...o}=e;return sm("ul",{...o,className:n(e.className,as,{[`k-list-${t}`]:t}),children:e.children})};Qe.states=am;Qe.options=rm;Qe.className=as;Qe.defaultOptions=rs;Qe.moduleName=ct;Qe.folderName=Rt;import{jsx as mm}from"react/jsx-runtime";var ss="k-radio-list-item",im=[],lm={},pm={},Ye=e=>{let{...t}=e;return mm("li",{...t,className:n(e.className,ss),children:e.children})};Ye.states=im;Ye.options=lm;Ye.className=ss;Ye.defaultOptions=pm;Ye.moduleName=ct;Ye.folderName=Rt;import{jsx as rO}from"react/jsx-runtime";import{Fragment as mO,jsx as pO,jsxs as dO}from"react/jsx-runtime";import{Fragment as NO,jsx as bO,jsxs as LO}from"react/jsx-runtime";import{Fragment as EO,jsx as kO,jsxs as SO}from"react/jsx-runtime";import{Fragment as CO,jsx as TO,jsxs as AO}from"react/jsx-runtime";import{Fragment as KO,jsx as BO,jsxs as _O}from"react/jsx-runtime";import{Fragment as cm,jsx as Z,jsxs as Bt}from"react/jsx-runtime";var jn=({size:e,...t})=>Z(Ce,{formButtons:Bt(cm,{children:[Z(d,{className:"k-form-submit",themeColor:"primary",size:e,children:"Submit"}),Z(d,{className:"k-form-clear",size:e,children:"Clear"})]}),children:Bt(he,{legend:"Form Legend",children:[Z(H,{label:"Label",editor:Z(X,{size:e})}),Z(H,{label:"Label",hint:"Hint text",editor:Z(z,{value:"Dropdown List",size:e})}),Z(H,{label:"City",editor:Bt("ul",{className:"k-radio-list k-list-horizontal",children:[Bt("li",{className:"k-radio-list-item",children:[Z(ke,{checked:!0,size:e}),Z("label",{className:"k-radio-label",children:"Label"})]}),Bt("li",{className:"k-radio-list-item",children:[Z(ke,{size:e}),Z("label",{className:"k-radio-label",children:"Label"})]}),Bt("li",{className:"k-radio-list-item",children:[Z(ke,{size:e}),Z("label",{className:"k-radio-label",children:"Label"})]})]})})]}),size:e,...t});import{Fragment as iy,jsx as sy,jsxs as ly}from"react/jsx-runtime";import{Fragment as by,jsx as fy,jsxs as Ny}from"react/jsx-runtime";import{Fragment as Ky,jsx as By,jsxs as _y}from"react/jsx-runtime";import{Fragment as is,jsx as A,jsxs as io}from"react/jsx-runtime";var Qy=e=>A(Te,{toolbarItems:[A(d,{icon:"upload"},"toolbar-button-1"),A(d,{icon:"download"},"toolbar-button-2"),A(W,{},"toolbar-separator-1"),A(d,{disabled:!0,icon:"undo"},"toolbar-button-3"),A(d,{disabled:!0,icon:"redo"},"toolbar-button-4"),A(W,{},"toolbar-separator-2"),A(d,{icon:"crop"},"toolbar-button-5"),A(d,{icon:"image-resize"},"toolbar-button-6"),A(d,{icon:"zoom-in"},"toolbar-button-7"),A(d,{icon:"zoom-out"},"toolbar-button-8"),A(Me,{children:A(z,{value:"Zoom options"})},"toolbar-item-1")],actionPane:A(jn,{tag:"div",className:"k-imageeditor-pane-form",formButtons:io(is,{children:[A(d,{themeColor:"primary",icon:"check",children:"Confirm"}),A(d,{icon:"cancel-outline",children:"Cancel"})]}),children:io(he,{layout:"grid",legend:"Crop Image",cols:2,gutters:{cols:"8px"},children:[A(H,{colSpan:"2",label:"Aspect Ratio:",editor:A(z,{value:"Original ratio"})}),A(H,{colSpan:"2",label:"Orientation:",editor:io(P,{children:[A(d,{className:"k-group-start",selected:!0,children:"Portrait"}),A(d,{className:"k-group-end",children:"Landscape"})]})}),A(H,{colSpan:"1",label:"Width:",editor:A(K,{showClearButton:!1,value:"61"})}),A(H,{colSpan:"1",label:"Height:",editor:A(K,{showClearButton:!1,value:"68"})}),A(H,{colSpan:"2",editor:A(Ln,{children:"Lock aspect ratio"})})]})}),children:io(is,{children:[A("canvas",{width:"61",height:"68"}),A("div",{className:"k-imageeditor-crop-overlay",children:io("div",{className:"k-imageeditor-crop",style:{width:"61px",height:"68px"},children:[A("span",{className:"k-resize-handle k-resize-nw"}),A("span",{className:"k-resize-handle k-resize-n"}),A("span",{className:"k-resize-handle k-resize-ne"}),A("span",{className:"k-resize-handle k-resize-w"}),A("span",{className:"k-resize-handle k-resize-e"}),A("span",{className:"k-resize-handle k-resize-sw"}),A("span",{className:"k-resize-handle k-resize-s"}),A("span",{className:"k-resize-handle k-resize-se"})]})})]}),...e});export{Qy as ImageEditorCrop};