@progress/kendo-themes-html 11.3.1 → 11.3.2-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/prompt/templates/prompt-suggestions.js +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-suggestions.mjs +1 -1
- package/package.json +2 -2
- package/src/prompt/templates/prompt-suggestions.tsx +1 -1
- package/src/suggestion/tests/suggestion-group.tsx +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
var n=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?n(...e):typeof e=="object"?Object.keys(e).map((o,r)=>e[r]||e[o]&&o||null).filter(o=>o!==null).join(" "):e).filter(e=>!!e).join(" ");var k=(t,e)=>n({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.fillMode}-${e.themeColor}`]:e.fillMode&&e.themeColor},{[`${t}-${e.themeColor}`]:e.themeColor&&e.fillMode===void 0},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full"}),L=(t,e)=>n({"k-valid":e.valid,"k-invalid":e.invalid,"k-hover":e.hover,"k-focus":e.focus,"k-checked":e.checked,"k-active":e.active,"k-selected":e.selected,"k-disabled":e.disabled,"k-indeterminate":e.indeterminate&&!e.checked,"k-loading":e.loading,"k-empty":e.empty,"k-readonly":e.readonly,"k-highlighted":e.highlighted});var s={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={small:"small",medium:"medium",large:"large",full:"full"},d={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},l={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"},$n={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};import{jsx as Hr}from"react/jsx-runtime";var ao="k-actions",Kr=[],Rr={},wo={alignment:"start",orientation:"horizontal"},D=t=>{let{alignment:e=wo.alignment,orientation:o=wo.orientation,...r}=t;return Hr("div",{...r,className:n(ao,{[`${ao}-${e}`]:e,[`${ao}-${o}`]:o},t.className),children:t.children})};D.states=Kr;D.options=Rr;D.className=ao;D.defaultOptions=wo;import{Fragment as Vr,jsx as Vn}from"react/jsx-runtime";var Ko="k-icon k-font-icon",Gr=[],Dr={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.light,l.dark]},$r={},Pe=t=>{let{size:e,themeColor:o,icon:r,rotate:p,flip:c,...i}=t;return r?Vn("span",{...i,className:n(t.className,Ko,k(Ko,{size:e}),{[`k-i-${r}`]:r,[`k-color-${o}`]:o,[`k-rotate-${p}`]:p,"k-flip-h":c==="h"||c==="both","k-flip-v":c==="v"||c==="both"})}):Vn(Vr,{})};Pe.states=Gr;Pe.options=Dr;Pe.className=Ko;Pe.defaultOptions=$r;var _n=Pe;import{Fragment as Xr,jsx as ro}from"react/jsx-runtime";var Ro="k-icon k-svg-icon",_r=[],Fr={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.light,l.dark]},Fn={viewBox:"0 0 24 24"},Ee=t=>{let{size:e,themeColor:o,rotate:r,flip:p,viewBox:c=Fn.viewBox,icon:i,...u}=t;if(!i)return ro(Xr,{});i==="none"&&{...u,className:n(t.className,Ro,"k-none")};let b=typeof i=="object"&&i.name&&i.name;return ro("span",{...u,className:n(t.className,Ro,k("k-icon",{size:e}),{[`k-svg-i-${b}`]:b,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":p==="h"||p==="both","k-flip-v":p==="v"||p==="both"}),children:ro("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof i=="object"?i.viewBox:c,dangerouslySetInnerHTML:typeof i=="object"?{__html:i.content}:void 0,children:i?void 0:t.children})})};Ee.states=_r;Ee.options=Fr;Ee.className=Ro;Ee.defaultOptions=Fn;var Ho=Ee;import*as Xn from"@progress/kendo-svg-icons";import{Fragment as Jn,jsx as ze}from"react/jsx-runtime";var Jr=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),Ur=[],qr={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.light,l.dark]},Go={viewBox:"0 0 24 24",type:"svg"},C=t=>{let{size:e,themeColor:o,icon:r,type:p=Go.type,rotate:c,flip:i,viewBox:u=Go.viewBox,...b}=t;if(!r)return ze(Jn,{});if(p==="svg"){if(r==="none")return ze(Ho,{...b,icon:r,size:e});let x=Jr(`${r}-icon`);return Xn[x]?ze(Ho,{...b,icon:Xn[x],size:e,themeColor:o,rotate:c,flip:i,viewBox:u}):ze(Jn,{})}return ze(_n,{...b,icon:r,size:e,themeColor:o,rotate:c,flip:i})};C.states=Ur;C.options=qr;C.defaultOptions=Go;import{Fragment as Qr,jsx as Oe,jsxs as Un}from"react/jsx-runtime";var so="k-button",Wr=[a.hover,a.focus,a.active,a.selected,a.disabled],Yr={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link],themeColor:[l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.light,l.dark,l.inverse]},Vt={size:s.medium,rounded:f.medium,fillMode:d.solid,themeColor:l.base,showArrow:!1,arrowIconName:"caret-alt-down"},h=t=>{let{size:e=Vt.size,rounded:o=Vt.rounded,fillMode:r=Vt.fillMode,themeColor:p=Vt.themeColor,showArrow:c=Vt.showArrow,arrowIconName:i=Vt.arrowIconName,hover:u,focus:b,active:x,selected:N,disabled:g,icon:m,text:S,iconClassName:v,...M}=t,y=m!==void 0,T=t.children!==void 0;return Un("button",{...M,className:n(t.className,so,k(so,{size:e,rounded:o,fillMode:r,themeColor:p}),L(so,{hover:u,focus:b,active:x,disabled:g,selected:N}),{"k-icon-button":!S&&!T&&y}),children:[m&&Oe(C,{className:n(v,"k-button-icon"),icon:m}),S?Un(Qr,{children:[S&&Oe("span",{className:"k-button-text",children:S}),t.children]}):t.children&&Oe("span",{className:"k-button-text",children:t.children}),c&&Oe("span",{className:"k-menu-button-arrow k-button-arrow",children:Oe(C,{icon:i})})]})};h.states=Wr;h.options=Yr;h.className=so;h.defaultOptions=Vt;import{jsx as Zr}from"react/jsx-runtime";var X=t=>Zr(h,{icon:"folder",...t,children:void 0});import{jsx as jr}from"react/jsx-runtime";var _=t=>jr(h,{icon:"folder",children:"Button",...t});import{jsx as Qc}from"react/jsx-runtime";import{jsx as os}from"react/jsx-runtime";var we="k-button-group",ts=[a.disabled],es={fillMode:[d.solid,d.flat,d.outline,d.clear,d.link]},qn={fillMode:d.solid},O=t=>{let{fillMode:e=qn.fillMode,disabled:o,stretched:r,...p}=t;return os("div",{...p,className:n(t.className,we,k(we,{fillMode:e}),L(we,{disabled:o}),{[`${we}-stretched`]:r}),children:t.children})};O.states=ts;O.options=es;O.className=we;O.defaultOptions=qn;import{Fragment as mm,jsx as cm,jsxs as dm}from"react/jsx-runtime";import{Fragment as Nm,jsx as hm,jsxs as Sm}from"react/jsx-runtime";import{Fragment as Mm,jsx as Cm,jsxs as Im}from"react/jsx-runtime";import{Fragment as Em,jsx as Pm,jsxs as zm}from"react/jsx-runtime";import{jsx as rs}from"react/jsx-runtime";var io="k-input",ns=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],as={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},lo={size:s.medium,rounded:s.medium,fillMode:d.solid},P=t=>{let{hover:e,focus:o,disabled:r,invalid:p,valid:c,loading:i,readonly:u,size:b=lo.size,rounded:x=lo.rounded,fillMode:N=lo.fillMode,...g}=t;return rs("span",{...g,className:n(t.className,io,k(io,{size:b,rounded:x,fillMode:N}),L(io,{hover:e,focus:o,disabled:r,invalid:p,valid:c,loading:i,readonly:u}))})};P.states=ns;P.options=as;P.className=io;P.defaultOptions=lo;import{jsx as ls}from"react/jsx-runtime";var po="k-picker",ss=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],is={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},co={size:s.medium,rounded:f.medium,fillMode:d.solid},it=t=>{let{hover:e,focus:o,disabled:r,invalid:p,valid:c,loading:i,readonly:u,size:b=co.size,rounded:x=co.rounded,fillMode:N=co.fillMode,...g}=t;return ls("span",{...g,className:n(t.className,po,k(po,{size:b,rounded:x,fillMode:N}),L(po,{hover:e,focus:o,disabled:r,invalid:p,valid:c,loading:i,readonly:u})),children:t.children})};it.states=ss;it.options=is;it.className=po;it.defaultOptions=co;import{Fragment as ms,jsx as Do}from"react/jsx-runtime";var Wn="k-clear-value",ps=[a.disabled,a.loading,a.readonly],cs={},lt=t=>{let{disabled:e,loading:o,readonly:r,value:p}=t;return e||r||o||!p?Do(ms,{}):Do("span",{className:n(t.className,Wn),children:Do(C,{icon:"x"})})};lt.states=ps;lt.options=cs;lt.className=Wn;import{jsx as fs}from"react/jsx-runtime";var $o="k-input-inner",ds=[],us={},mo={type:"text",autocomplete:"off",value:"",placeholder:""},pt=t=>{let{value:e=mo.value,type:o=mo.type,placeholder:r=mo.placeholder,autocomplete:p=mo.autocomplete,...c}=t;return fs("input",{...c,type:o,className:n(t.className,$o,k($o,t)),placeholder:r,autoComplete:p,defaultValue:e})};pt.states=ds;pt.options=us;pt.className=$o;import{jsx as Yn,jsxs as hs}from"react/jsx-runtime";var Vo="k-input-inner",bs=[],xs={},_t=t=>{let{value:e,placeholder:o,showValue:r,valueIcon:p,valueIconName:c,...i}=t;return hs("span",{...i,className:n(t.className,Vo,k(Vo,t)),children:[p,!p&&c&&Yn(C,{className:"k-input-value-icon",icon:c}),r&&!e&&o,r&&e&&Yn("span",{className:"k-input-value-text",children:e})]})};_t.states=bs;_t.options=xs;_t.className=Vo;import{jsx as vs}from"react/jsx-runtime";var _o="k-input-inner",Ns=[],Ss={},Qn={value:"",placeholder:""},Ke=t=>{let{value:e=Qn.value,placeholder:o=Qn.placeholder,rows:r,...p}=t;return vs("textarea",{...p,className:n(t.className,_o,k(_o,t)),placeholder:o,rows:r,defaultValue:e})};Ke.states=Ns;Ke.options=Ss;Ke.className=_o;import{Fragment as ks,jsx as Zn}from"react/jsx-runtime";var jn="k-input-loading-icon",gs=[a.disabled,a.loading],Q=t=>{let{disabled:e,loading:o}=t;return e||!o?Zn(ks,{}):Zn("span",{className:n(t.className,jn,"k-icon k-i-loading")})};Q.states=gs;Q.className=jn;import{Fragment as Ms,jsx as ta}from"react/jsx-runtime";var ea="k-input-validation-icon",Ls=[a.valid,a.invalid,a.disabled,a.loading],Cs={},q=t=>{let{valid:e,invalid:o,disabled:r,loading:p}=t,c=o?"warning-circle":"check-circle";return r||p||!!!(e||o)?ta(Ms,{}):ta(C,{className:n(ea),icon:c})};q.states=Ls;q.options=Cs;q.className=ea;import{Fragment as Ts,jsx as oa}from"react/jsx-runtime";var Is="k-input-prefix",ys={direction:"horizontal"},Z=t=>{let{direction:e=ys.direction,...o}=t;return t.children?oa("span",{...o,className:n(Is,t.className,{[`k-input-prefix-${e}`]:e}),children:t.children}):oa(Ts,{})};import{Fragment as Ps,jsx as na}from"react/jsx-runtime";var As="k-input-suffix",Bs={direction:"horizontal"},j=t=>{let{direction:e=Bs.direction,...o}=t;return t.children?na("span",{...o,className:n(As,t.className,{[`k-input-suffix-${e}`]:e}),children:t.children}):na(Ps,{})};import{jsx as kd}from"react/jsx-runtime";import{jsx as Id}from"react/jsx-runtime";import{jsx as zs}from"react/jsx-runtime";var aa="k-input-separator",Es={direction:"vertical"},tt=t=>{let{direction:e=Es.direction,...o}=t;return zs("span",{...o,className:n(aa,t.className,{[`${aa}-${e}`]:e})})};import{jsx as ra,jsxs as Ks}from"react/jsx-runtime";var sa="k-color-preview",Os=[],ws={},yt=t=>{let{color:e,iconName:o,...r}=t;return Ks("span",{...r,className:n(t.className,sa,{"k-icon-color-preview":o,"k-no-color":!e}),children:[o&&ra(C,{icon:o,className:"k-color-preview-icon"}),ra("span",{className:"k-color-preview-mask",style:{backgroundColor:e}})]})};yt.states=Os;yt.options=ws;yt.className=sa;import{jsx as ia}from"react/jsx-runtime";var la="k-animation-container",Rs=[],Hs={},pa={positionMode:"absolute"},Tt=t=>{let{positionMode:e=pa.positionMode,animationStyle:o,offset:r,...p}=t;return ia("div",{...p,style:{...r,...t.style},className:n(t.className,la,"k-animation-container-shown",{"k-animation-container-fixed":e==="fixed"}),children:ia("div",{className:"k-child-animation-container",style:o,children:t.children})})};Tt.states=Rs;Tt.options=Hs;Tt.className=la;Tt.defaultOptions=pa;import{jsx as ca}from"react/jsx-runtime";var ma="k-popup",Gs=[],Ds={},da={positionMode:"absolute"},R=t=>{let{offset:e,positionMode:o=da.positionMode,animationStyle:r,...p}=t;return ca(Tt,{positionMode:o,offset:e,animationStyle:r,children:ca("div",{...p,className:n(t.className,ma),children:t.children})})};R.states=Gs;R.options=Ds;R.className=ma;R.defaultOptions=da;import{jsx as Vs}from"react/jsx-runtime";var $s="k-actionsheet-footer",ua={alignment:"stretched",orientation:"horizontal"},Re=t=>{let{alignment:e=ua.alignment,orientation:o=ua.orientation,template:r,as:p=r?"div":D,...c}=t;return Vs(p,{...c,...!r&&{alignment:e,orientation:o},className:n(t.className,$s),children:t.children})};import{jsx as He,jsxs as Xs}from"react/jsx-runtime";var fa="k-searchbox",_s=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading],Fs={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Fo={showIcon:!0,icon:"search",size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode},ht=t=>{let{value:e,placeholder:o,size:r,rounded:p,fillMode:c,hover:i,focus:u,valid:b,invalid:x,required:N,loading:g,disabled:m,showIcon:S=Fo.showIcon,icon:v=Fo.icon,...M}=t;return Xs(P,{...M,size:r,rounded:p,fillMode:c,hover:i,focus:u,valid:b,invalid:x,required:N,loading:g,disabled:m,className:n(t.className,fa),children:[S&&He(C,{className:"k-input-icon",icon:v}),He(pt,{placeholder:o,value:e}),He(Q,{...t}),He(q,{...t}),He(lt,{...t})]})};ht.states=_s;ht.options=Fs;ht.className=fa;ht.defaultOptions=Fo;import{jsx as vu}from"react/jsx-runtime";import{Fragment as ba,jsx as At,jsxs as Xo}from"react/jsx-runtime";var xa="k-textbox",Js=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Us={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Ft={showClearButton:!0,showValidationIcon:!0,size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode,separators:!0},Bt=t=>{let{size:e=Ft.size,rounded:o=Ft.rounded,fillMode:r=Ft.fillMode,separators:p=Ft.separators,showClearButton:c=Ft.showClearButton,showValidationIcon:i=Ft.showValidationIcon,prefix:u,suffix:b,type:x,value:N,placeholder:g,hover:m,focus:S,valid:v,invalid:M,required:y,loading:T,disabled:E,readonly:G,...ut}=t;return Xo(P,{...ut,size:e,rounded:o,fillMode:r,hover:m,focus:S,valid:v,invalid:M,required:y,loading:T,disabled:E,readonly:G,className:n(t.className,xa),children:[u&&Xo(ba,{children:[At(Z,{children:u}),p&&At(tt,{})]}),At(pt,{placeholder:g,value:N,type:x}),i&&At(q,{valid:v,invalid:M,loading:T,disabled:E}),At(Q,{loading:T,disabled:E}),c&&At(lt,{loading:T,disabled:E,readonly:G,value:N}),b&&Xo(ba,{children:[p&&At(tt,{}),At(j,{children:b})]})]})};Bt.states=Js;Bt.options=Us;Bt.className=xa;Bt.defaultOptions=Ft;import{jsx as Pu}from"react/jsx-runtime";import{Fragment as Ru,jsx as Ku}from"react/jsx-runtime";import{Fragment as Fu,jsx as _u}from"react/jsx-runtime";import{jsx as Pt,jsxs as Jo}from"react/jsx-runtime";var Na="k-actionsheet-titlebar",qs={},et=t=>{let{title:e,subtitle:o,actionsStart:r,actionsEnd:p,filter:c,input:i,inputValue:u,inputPlaceholder:b,adaptive:x,children:N,...g}=t;return Jo("div",{...g,className:n(t.className,Na),children:[Jo("div",{className:"k-actionsheet-titlebar-group",children:[r&&Pt("div",{className:"k-actionsheet-actions",children:r}),!N&&Jo("div",{className:"k-actionsheet-title",children:[e&&Pt("div",{className:"k-text-center",children:e}),o&&Pt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&Pt("div",{className:"k-actionsheet-title",children:N}),p&&Pt("div",{className:"k-actionsheet-actions",children:p})]}),(i||c)&&Pt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:i?Pt(Bt,{value:u,placeholder:b,size:x?"large":"medium"}):Pt(ht,{placeholder:"Filter",size:x?"large":"medium"})})]})};et.className=Na;et.defaultOptions=qs;import{jsx as Uo,jsxs as Zs}from"react/jsx-runtime";var qo="k-actionsheet-view",Ws=[],Ys={},Qs={},se=t=>{let{adaptive:e,animated:o,children:r,header:p,footer:c,...i}=t,u=p?.type===et&&Uo(et,{adaptive:e,...p?.props}),b=c?.type===Re&&Uo(Re,{...c?.props});return Zs("div",{...i,className:n(t.className,qo,{[`${qo}-animated`]:o}),children:[u,Uo("div",{className:"k-actionsheet-content",children:r}),b]})};se.states=Ws;se.options=Ys;se.className=qo;se.defaultOptions=Qs;import{jsx as uo,jsxs as ei}from"react/jsx-runtime";var Sa="k-actionsheet",js=[],ti={},Ge={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ct=t=>{let{side:e=Ge.side,fullscreen:o=Ge.fullscreen,adaptive:r=Ge.adaptive,overlay:p=Ge.overlay,template:c,children:i,header:u,footer:b,...x}=t;return ei("div",{className:"k-actionsheet-container",children:[p&&uo("div",{className:"k-overlay"}),uo(Tt,{animationStyle:{[`${o===!0?"top":e}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${e==="top"||e==="bottom"?"width":null}`]:"100%",[`${e==="left"||e==="right"?"height":null}`]:"100%"},children:uo("div",{...x,className:n(t.className,Sa,{[`k-actionsheet-${e}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":r}),children:c||uo(se,{header:u,footer:b,adaptive:r,...t,children:i})})})]})};ct.states=js;ct.options=ti;ct.className=Sa;ct.defaultOptions=Ge;import{jsx as bf}from"react/jsx-runtime";import{Fragment as ni,jsx as De,jsxs as Wo}from"react/jsx-runtime";var Yo="k-actionsheet-item",oi=[a.hover,a.focus,a.selected,a.disabled],Qo=t=>{let{iconName:e,text:o,description:r,hover:p,focus:c,selected:i,disabled:u,...b}=t;return Wo("span",{...b,className:n(t.className,Yo,L(Yo,{hover:p,focus:c,selected:i,disabled:u})),children:[!t.children&&De(ni,{children:Wo("span",{className:"k-actionsheet-action",children:[e&&De("span",{className:"k-icon-wrap",children:De(C,{className:"k-actionsheet-item-icon",icon:e})}),Wo("span",{className:"k-actionsheet-item-text",children:[o&&De("span",{className:"k-actionsheet-item-title",children:o}),r&&De("span",{className:"k-actionsheet-item-description",children:r})]})]})}),t.children]})};Qo.states=oi;Qo.className=Yo;import{jsx as Cf,jsxs as Mf}from"react/jsx-runtime";import{jsx as Af}from"react/jsx-runtime";import{jsx as zf}from"react/jsx-runtime";import{jsx as Rf}from"react/jsx-runtime";import{jsx as ie,jsxs as Zo}from"react/jsx-runtime";var $e="k-slider",ai=[a.hover,a.focus,a.active,a.disabled,a.readonly],ri={},Et={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},ot=t=>{let{type:e=Et.type,orientation:o=Et.orientation,readonly:r=Et.readonly,disabled:p=Et.disabled,handlePosition:c=Et.handlePosition,showButtons:i=Et.showButtons,showTicks:u=Et.showTicks,hover:b,focus:x,active:N,trackStyle:g,dir:m,...S}=t,v,M;return o==="horizontal"?(v=m==="rtl"?"caret-alt-left":"caret-alt-right",M=m==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(v="caret-alt-up",M="caret-alt-down"),Zo("div",{...S,className:n($e,t.className,L($e,{readonly:r,disabled:p}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":e==="gradient"}),dir:m,children:[i&&ie(h,{className:"k-button-decrease",rounded:"full",icon:M}),Zo("div",{className:"k-slider-track-wrap",children:[u&&ie("ul",{className:"k-reset k-slider-items",children:t.children}),Zo("div",{className:"k-slider-track",style:g,children:[ie("div",{className:"k-slider-selection"}),e==="range"&&ie("span",{className:n("k-draghandle","k-draghandle-start",L($e,{hover:b,focus:x,active:N}))}),ie("span",{className:n("k-draghandle",`k-draghandle-${c}`,L($e,{hover:b,focus:x,active:N}))})]})]}),i&&ie(h,{className:"k-button-increase",rounded:"full",icon:v})]})};ot.states=ai;ot.options=ri;ot.className=$e;ot.defaultOptions=Et;import{jsx as ga}from"react/jsx-runtime";var ka="k-tick",si=[],ii={},La={label:!1},zt=t=>{let{style:e,label:o=La.label,orientation:r,large:p,text:c,...i}=t;return ga("li",{...i,className:n(t.className,ka,{[`k-tick-${r}`]:r,"k-tick-large":p}),style:e,children:o&&ga("span",{className:"k-label",children:c})})};zt.states=si;zt.options=ii;zt.className=ka;zt.defaultOptions=La;import{Fragment as sb,jsx as rb,jsxs as ib}from"react/jsx-runtime";import{Fragment as db,jsx as mb,jsxs as ub}from"react/jsx-runtime";import{Fragment as Nb,jsx as hb,jsxs as Sb}from"react/jsx-runtime";import{Fragment as Cb,jsx as Lb,jsxs as Mb}from"react/jsx-runtime";import{jsx as li}from"react/jsx-runtime";var jo=t=>li(ot,{type:"gradient",showButtons:!1,showTicks:!1,...t});import{jsx as pi}from"react/jsx-runtime";var tn=t=>pi(ot,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...t});import{jsx as Ca,jsxs as di}from"react/jsx-runtime";var Ma="k-spin-button",ci=[],mi={size:[s.small,s.medium,s.large],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link]},en={size:s.medium,fillMode:d.solid},le=t=>{let{size:e=en.size,fillMode:o=en.fillMode,...r}=t;return di("span",{...r,className:n(Ma,t.className),children:[Ca(h,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:e,fillMode:o}),Ca(h,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:e,fillMode:o})]})};le.states=ci;le.options=mi;le.className=Ma;le.defaultOptions=en;import{Fragment as Ia,jsx as Nt,jsxs as on}from"react/jsx-runtime";var ya="k-numerictextbox",ui=[a.hover,a.focus,a.valid,a.invalid,a.loading,a.required,a.disabled,a.readonly],fi={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Xt={showSpinButton:!0,showClearButton:!0,size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode,separators:!0},K=t=>{let{size:e=Xt.size,rounded:o=Xt.rounded,fillMode:r=Xt.fillMode,separators:p=Xt.separators,showClearButton:c=Xt.showClearButton,showSpinButton:i=Xt.showSpinButton,prefix:u,suffix:b,value:x,placeholder:N,hover:g,focus:m,valid:S,invalid:v,required:M,loading:y,disabled:T,readonly:E,...G}=t;return on(P,{...G,size:e,rounded:o,fillMode:r,hover:g,focus:m,valid:S,invalid:v,required:M,loading:y,disabled:T,readonly:E,className:n(t.className,ya),children:[u&&on(Ia,{children:[Nt(Z,{children:u}),p&&Nt(tt,{})]}),Nt(pt,{placeholder:N,value:x}),Nt(q,{valid:S,invalid:v,loading:y,disabled:T}),Nt(Q,{loading:y,disabled:T}),c&&Nt(lt,{loading:y,disabled:T,readonly:E,value:x}),b&&on(Ia,{children:[p&&Nt(tt,{}),Nt(j,{children:b})]}),i&&Nt(le,{className:"k-input-spinner",size:e,fillMode:r})]})};K.states=ui;K.options=fi;K.className=ya;K.defaultOptions=Xt;import{jsx as ex}from"react/jsx-runtime";import{jsx as xi}from"react/jsx-runtime";var bi="k-no-data",Ve=t=>xi("span",{className:n(bi,t.className),children:t.children});import{jsx as pe,jsxs as Aa}from"react/jsx-runtime";var nn="k-list",hi=[],Ni={size:[s.small,s.medium,s.large]},Ba={size:s.medium},z=t=>{let{size:e=Ba.size,virtualization:o,children:r,optionLabel:p,customValue:c,screenReaders:i,...u}=t,b,x,N,g,m=[];return r?r.map((S,v)=>{S.type===$?(S.props.root===!0?(b=S.props.label,S.props.children.map((M,y)=>{m.push(pe(I,{...M.props},`optChild-${y}-${new Date().getTime()}`))})):S.props.children.forEach((M,y)=>{let T="";y===0&&(T=S.props.label),m.push(pe(I,{className:y===0?"k-first":"",...M.props,groupLabel:T},`groupLabel-${y}-${new Date().getTime()}`))}),x=pe($,{label:b,virtualization:o,children:m})):S.type===I&&(m.push(pe(I,{...S.props},`${S.type}-${v}`)),N=pe(ce,{virtualization:o,children:m}),i&&(g=Aa(Ve,{className:"k-sr-only",children:[m.length," items found."]})))}):g=pe(Ve,{children:"No data found."}),Aa("div",{...u,className:n(t.className,nn,k(nn,{size:e}),{"k-virtual-list":o}),children:[p,c,x,N,g]})};z.states=hi;z.options=Ni;z.className=nn;z.defaultOptions=Ba;import{jsx as Jt,jsxs as gi}from"react/jsx-runtime";var an="k-list",Si=[],vi={size:[s.small,s.medium,s.large]},Pa={size:s.medium},Ut=t=>{let{size:e=Pa.size,virtualization:o,children:r,...p}=t,c,i,u,b=[];return r?r.map((x,N)=>{x.type===$?(x.props.root===!0?(c=x.props.label,x.props.children.map((g,m)=>{b.push(Jt(I,{...g.props},`optChild-${m}-${new Date().getTime()}`))})):(b.push(Jt(Ea,{...x.props,children:x.props.label},`listChild-${N}`)),x.props.children.map((g,m)=>{b.push(Jt(I,{...g.props},`fwOptChild-${m}-${new Date().getTime()}`))})),i=Jt($,{label:c,virtualization:o,children:b})):x.type===I&&(b.push(Jt(I,{...x.props},`${x.type}-${N}`)),u=Jt(ce,{virtualization:o,children:b}))}):u=Jt(Ve,{children:"No data found."}),gi("div",{...p,className:n(t.className,an,k(an,{size:e}),{"k-virtual-list":o}),children:[i,u]})};Ut.states=Si;Ut.options=vi;Ut.className=an;Ut.defaultOptions=Pa;import{jsx as za}from"react/jsx-runtime";var fo="k-checkbox",ki=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.checked,a.indeterminate],Li={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full]},rn={size:s.medium,rounded:f.medium},Ot=t=>{let{id:e,checked:o,indeterminate:r,hover:p,focus:c,disabled:i,invalid:u,valid:b,required:x,size:N=rn.size,rounded:g=rn.rounded,...m}=t;return za("span",{className:"k-checkbox-wrap",children:za("input",{...m,id:e,type:"checkbox",defaultChecked:o,required:x,className:n(t.className,fo,k(fo,{size:N,rounded:g}),L(fo,{hover:p,focus:c,disabled:i,invalid:u,valid:b,indeterminate:r,checked:o}))})})};Ot.states=ki;Ot.options=Li;Ot.className=fo;Ot.defaultOptions=rn;import{jsx as Ii}from"react/jsx-runtime";var Oa="k-checkbox-list",Ci=[],Mi={},wa={layout:"vertical"},me=t=>{let{layout:e=wa.layout,...o}=t;return Ii("ul",{...o,className:n(t.className,Oa,{[`k-list-${e}`]:e}),children:t.children})};me.states=Ci;me.options=Mi;me.className=Oa;me.defaultOptions=wa;import{jsx as Bi}from"react/jsx-runtime";var Ka="k-checkbox-list-item",yi=[],Ti={},Ai={},de=t=>{let{...e}=t;return Bi("li",{...e,className:n(t.className,Ka),children:t.children})};de.states=yi;de.options=Ti;de.className=Ka;de.defaultOptions=Ai;import{Fragment as Bx,jsx as Ax,jsxs as Px}from"react/jsx-runtime";import{Fragment as Kx,jsx as wx,jsxs as Rx}from"react/jsx-runtime";import{Fragment as Vx,jsx as $x,jsxs as _x}from"react/jsx-runtime";import{Fragment as qx,jsx as Ux,jsxs as Wx}from"react/jsx-runtime";import{jsx as jx}from"react/jsx-runtime";import{jsx as nh}from"react/jsx-runtime";import{jsx as bo,jsxs as Oi}from"react/jsx-runtime";var ln="k-list-item",Pi=[a.hover,a.focus,a.selected,a.disabled],Ei={},zi={},I=t=>{let{text:e,groupLabel:o,group:r,showIcon:p,iconName:c,showCheckbox:i,checked:u,hover:b,focus:x,selected:N,disabled:g,...m}=t,S=e||t.children;return Oi("li",{...m,className:n(t.className,r?"k-list-group-item":ln,L(ln,{hover:b,focus:x,disabled:g,selected:N})),children:[i&&bo(Ot,{checked:u}),p&&bo(C,{icon:c}),bo("span",{className:"k-list-item-text",children:S}),o&&o!==""&&bo("div",{className:"k-list-item-group-label",children:o})]})};I.states=Pi;I.options=Ei;I.className=ln;I.defaultOptions=zi;import{jsx as pn,jsxs as Ki}from"react/jsx-runtime";var wi="k-list-content",ce=t=>{let{virtualization:e,...o}=t;return Ki("div",{...o,className:n(wi,t.className),children:[pn("ul",{className:n("k-list-ul"),children:t.children}),e&&pn("div",{className:"k-height-container",children:pn("div",{})})]})};import{jsx as Ra}from"react/jsx-runtime";var Ri="k-list-group-sticky-header",Ha=t=>Ra("div",{className:n(Ri,t.className),children:Ra("div",{className:"k-list-header-text",children:t.children})});import{Fragment as Hi,jsx as Ga,jsxs as Gi}from"react/jsx-runtime";var $=t=>{let{virtualization:e,label:o}=t;return Gi(Hi,{children:[o&&Ga(Ha,{children:o}),t.children&&Ga(ce,{virtualization:e,children:t.children})]})};import{jsx as Da}from"react/jsx-runtime";var Di="k-list-group-item",Ea=t=>Da("li",{className:n(Di,t.className),children:Da("span",{className:"k-list-item-text",children:t.children})});import{jsx as Fi}from"react/jsx-runtime";var cn="k-list-optionlabel",$i=[a.hover,a.focus,a.selected,a.disabled],Vi={},_i={},xo=t=>{let{text:e,hover:o,focus:r,selected:p,disabled:c,...i}=t;return Fi("div",{...i,className:n(cn,L(cn,{hover:o,focus:r,selected:p,disabled:c})),children:e})};xo.states=$i;xo.options=Vi;xo.className=cn;xo.defaultOptions=_i;import{jsx as qi}from"react/jsx-runtime";var mn="k-list-custom-value",Xi=[a.hover,a.focus,a.selected,a.disabled],Ji={},Ui={},wt=t=>{let{text:e,hover:o,focus:r,selected:p,disabled:c,...i}=t;return qi("div",{...i,className:n(mn,L(mn,{hover:o,focus:r,selected:p,disabled:c})),children:e})};wt.states=Xi;wt.options=Ji;wt.className=mn;wt.defaultOptions=Ui;import{jsx as Dh}from"react/jsx-runtime";import{jsx as Fh}from"react/jsx-runtime";import{jsx as qh,jsxs as Wh}from"react/jsx-runtime";import{jsx as jh,jsxs as tN}from"react/jsx-runtime";import{jsx as aN}from"react/jsx-runtime";import{jsx as lN,jsxs as pN}from"react/jsx-runtime";import{jsx as uN,jsxs as fN}from"react/jsx-runtime";import{Fragment as Qi,jsx as J,jsxs as dn}from"react/jsx-runtime";var $a="k-dropdownlist",Wi=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Yi={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},ue={showValue:!0,arrowIconName:"caret-alt-down",size:s.medium,rounded:f.medium,fillMode:d.solid},Kt=t=>{let{size:e=ue.size,rounded:o=ue.rounded,fillMode:r=ue.fillMode,arrowIconName:p=ue.arrowIconName,showValue:c=ue.showValue,valueIconName:i,prefix:u,suffix:b,value:x,placeholder:N,hover:g,focus:m,valid:S,invalid:v,required:M,loading:y,disabled:T,readonly:E,popup:G,opened:ut,adaptive:Ae,adaptiveSettings:Be,adaptiveTitle:zo,adaptiveSubtitle:Oo,adaptiveFilter:Or,...wr}=t;return dn(Qi,{children:[dn(it,{...wr,size:e,rounded:o,fillMode:r,hover:g,focus:m,valid:S,invalid:v,required:M,loading:y,disabled:T,readonly:E,className:n(t.className,$a,{"k-icon-picker":!c&&i}),children:[J(Z,{children:u}),J(_t,{placeholder:N,value:x,showValue:c,valueIconName:i}),J(q,{valid:S,invalid:v,loading:y,disabled:T}),J(Q,{loading:y,disabled:T}),J(j,{children:b}),J(h,{className:"k-input-button",icon:p,rounded:null,size:t.size,fillMode:t.fillMode})]}),ut&&G&&J(R,{className:"k-list-container k-dropdownlist-popup",children:G}),Ae&&J(ct,{adaptive:!0,...Be,header:J(et,{actionsEnd:J(h,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Or,inputValue:x,inputPlaceholder:N,title:zo,subtitle:Oo}),children:J("div",{className:"k-list-container",children:dn(z,{size:"large",children:[J(I,{text:"List item"}),J(I,{text:"List item"}),J(I,{text:"List item"})]})})})]})};Kt.states=Wi;Kt.options=Yi;Kt.className=$a;Kt.defaultOptions=ue;import{jsx as FN}from"react/jsx-runtime";import{jsx as WN,jsxs as YN}from"react/jsx-runtime";import{Fragment as aS,jsx as oS,jsxs as nS}from"react/jsx-runtime";import{jsx as lS}from"react/jsx-runtime";import{jsx as uS,jsxs as fS}from"react/jsx-runtime";import{jsx as SS,jsxs as vS}from"react/jsx-runtime";import{Fragment as TS,jsx as IS,jsxs as yS}from"react/jsx-runtime";import{Fragment as KS,jsx as OS,jsxs as wS}from"react/jsx-runtime";import{Fragment as ZS,jsx as QS}from"react/jsx-runtime";import{Fragment as rv,jsx as av}from"react/jsx-runtime";import{Fragment as _e,jsx as A,jsxs as w}from"react/jsx-runtime";var Va="k-colorgradient-inputs",Zi=[],ji={size:[s.small,s.medium,s.large]},_a={mode:"rgba",size:s.medium},fe=t=>{let{mode:e=_a.mode,size:o,...r}=t;return w("div",{...r,className:n(Va,"k-hstack"),children:[A("div",{className:"k-vstack",children:A(h,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),e==="rgba"&&w(_e,{children:[w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),A("label",{className:"k-colorgradient-input-label",children:"R"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),A("label",{className:"k-colorgradient-input-label",children:"G"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),A("label",{className:"k-colorgradient-input-label",children:"B"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),A("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),e==="rgb"&&w(_e,{children:[w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"R"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"G"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),e==="hsva"&&w(_e,{children:[w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"H"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"S"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"V"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),A("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),e==="hsv"&&w(_e,{children:[w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"H"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"S"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),e==="hex"&&A(_e,{children:w("div",{className:"k-vstack k-flex-1",children:[A(Bt,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),A("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};fe.states=Zi;fe.options=ji;fe.className=Va;fe.defaultOptions=_a;import{jsx as Wt,jsxs as Yt}from"react/jsx-runtime";var Fa="k-colorgradient-color-contrast",tl=[],el={},ol={},be=()=>Yt("div",{className:n(Fa,"k-vbox"),children:[Yt("div",{className:"k-contrast-ratio",children:[Wt("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),Yt("span",{className:"k-contrast-validation !k-text-success",children:[Wt(C,{icon:"check"}),Wt(C,{icon:"check"})]})]}),Yt("div",{children:[Wt("span",{children:"AA: 4.5"}),Yt("span",{className:"k-contrast-validation !k-text-success",children:["Pass",Wt(C,{icon:"check"})]})]}),Yt("div",{children:[Wt("span",{children:"AAA: 7.0"}),Yt("span",{className:"k-contrast-validation !k-text-error",children:["Fail",Wt(C,{icon:"x"})]})]})]});be.states=tl;be.options=el;be.className=Fa;be.defaultOptions=ol;import{jsx as nt,jsxs as Fe}from"react/jsx-runtime";var ho="k-colorgradient",nl=[a.hover,a.focus,a.readonly,a.disabled],al={size:[s.small,s.medium,s.large]},mt={size:s.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"},Rt=t=>{let{size:e=mt.size,mode:o=mt.mode,readonly:r=mt.readonly,disabled:p=mt.disabled,gradientStyle:c=mt.gradientStyle,dragHandleStyle:i=mt.dragHandleStyle,alphaStyle:u=mt.alphaStyle,alphaStyleHorizontal:b=mt.alphaStyleHorizontal,contrast:x=mt.contrast,dir:N,hover:g,focus:m,hoverHandle:S,focusHandle:v,canvasOrientation:M=mt.canvasOrientation,...y}=t;return Fe("div",{...y,className:n(t.className,ho,k(ho,{size:e}),L(ho,{hover:g,focus:m,readonly:r,disabled:p})),dir:N,children:[!M||M==="horizontal"&&Fe("div",{className:"k-colorgradient-canvas k-hstack",children:[nt("div",{className:"k-hsv-rectangle",style:c,children:nt("div",{className:"k-hsv-gradient",children:nt("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":S,"k-focus":v}),style:i})})}),Fe("div",{className:"k-hsv-controls k-hstack",children:[nt(tn,{className:"k-hue-slider",hover:S,focus:v}),o!=="rgb"&&o!=="hsv"&&nt(tn,{className:"k-alpha-slider",hover:S,focus:v,trackStyle:u})]})]}),M==="vertical"&&Fe("div",{className:"k-colorgradient-canvas k-vstack",children:[nt("div",{className:"k-hsv-rectangle",style:c,children:nt("div",{className:"k-hsv-gradient",children:nt("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":S,"k-focus":v}),style:i})})}),Fe("div",{className:"k-hsv-controls k-vstack",children:[nt(jo,{className:"k-hue-slider",hover:S,focus:v}),o!=="rgb"&&o!=="hsv"&&nt(jo,{className:"k-alpha-slider",hover:S,focus:v,trackStyle:b})]})]}),nt(fe,{mode:t.mode,size:e}),x&&nt(be,{})]})};Rt.states=nl;Rt.options=al;Rt.className=ho;Rt.defaultOptions=mt;import{jsx as Bv}from"react/jsx-runtime";import{jsx as Ov}from"react/jsx-runtime";import{jsx as rl}from"react/jsx-runtime";var Xa=t=>rl("tr",{children:t.children});import{jsx as ll}from"react/jsx-runtime";var un="k-colorpalette-tile",sl=[a.hover,a.focus,a.selected],il={},Xe=t=>{let{color:e,tileSize:o,hover:r,focus:p,selected:c,...i}=t,u={backgroundColor:e,width:o?o+"px":"",height:o?o+"px":""};return ll("td",{...i,className:n(t.className,un,L(un,{hover:r,focus:p,selected:c})),style:u})};Xe.states=sl;Xe.options=il;Xe.className=un;import{jsx as Je}from"react/jsx-runtime";var No="k-colorpalette",pl=[a.disabled],cl={size:[s.small,s.medium,s.large]},fn={columns:10,size:s.medium},xe=t=>{let{size:e=fn.size,palette:o,columns:r=fn.columns,tileSize:p,disabled:c,...i}=t,u=[];if(o){let b=r||o.columns,x=o.colors?o.colors:o;Array.isArray(x)&&Array.from({length:Math.ceil(x.length/b)},(N,g)=>{let m=[];x.slice(g*b,(g+1)*b).map((v,M)=>{m.push(Je(Xe,{color:v,tileSize:p},M))});let S=Je(Xa,{children:m},g);u.push(S)})}return Je("div",{...i,className:n(t.className,No,L(No,{disabled:c}),k(No,{size:e})),children:Je("table",{className:"k-colorpalette-table",children:Je("tbody",{children:u.length>0?u:t.children})})})};xe.states=pl;xe.options=cl;xe.className=No;xe.defaultOptions=fn;var bn={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 ng}from"react/jsx-runtime";import{jsx as at,jsxs as he}from"react/jsx-runtime";var So="k-coloreditor",ml=[a.focus],dl={size:[s.small,s.medium,s.large]},Ne={size:s.medium,view:"gradient",palette:bn.office,actionButtons:!0,canvasOrientation:"horizontal"},ft=t=>{let{size:e=Ne.size,view:o=Ne.view,palette:r=Ne.palette,color:p,currentColor:c,focus:i,focusView:u,dir:b,group:x,actionButtons:N=Ne.actionButtons,canvasOrientation:g=Ne.canvasOrientation,...m}=t;return he("div",{...m,className:n(t.className,"k-flatcolorpicker",So,k(So,{size:e}),L(So,{focus:i})),dir:b,children:[he("div",{className:"k-coloreditor-header k-hstack",children:[at("div",{className:"k-coloreditor-header-actions k-hstack",children:x&&he(O,{fillMode:"flat",children:[at(h,{className:"k-group-start",size:e,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),at(h,{className:"k-group-end",size:e,fillMode:"flat",icon:"palette",selected:o==="palette"})]})}),at("div",{className:"k-spacer"}),he("div",{className:"k-coloreditor-header-actions k-hstack",children:[at(h,{fillMode:"flat",icon:"droplet-slash",size:e}),he("div",{className:"k-coloreditor-preview k-vstack",children:[at(yt,{className:"k-coloreditor-preview-color",color:p}),at(yt,{className:"k-coloreditor-current-color",color:c})]})]})]}),at("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?at(Rt,{focus:u,size:e,canvasOrientation:g}):at(xe,{palette:r,size:e})}),N&&he(D,{className:"k-coloreditor-footer",alignment:"start",children:[at(h,{themeColor:"primary",size:e,className:"k-coloreditor-apply",children:"Apply"}),at(h,{className:"k-coloreditor-cancel",size:e,children:"Cancel"})]})]})};ft.states=ml;ft.options=dl;ft.className=So;ft.defaultOptions=Ne;import{jsx as kg}from"react/jsx-runtime";import{jsx as Ig}from"react/jsx-runtime";import{jsx as Bg}from"react/jsx-runtime";import{jsx as Og}from"react/jsx-runtime";import{Fragment as bl,jsx as rt,jsxs as hn}from"react/jsx-runtime";var Ja="k-colorpicker",ul=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled],fl={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Ue={arrowIconName:"caret-alt-down",size:it.defaultOptions.size,rounded:it.defaultOptions.rounded,fillMode:it.defaultOptions.fillMode},St=t=>{let{size:e=Ue.size,rounded:o=Ue.rounded,fillMode:r=Ue.fillMode,arrowIconName:p=Ue.arrowIconName,prefix:c,suffix:i,value:u,placeholder:b,hover:x,focus:N,valid:g,invalid:m,required:S,disabled:v,valueIconName:M,popup:y,opened:T,adaptive:E,adaptiveSettings:G,adaptiveTitle:ut,adaptiveSubtitle:Ae,...Be}=t;return hn(bl,{children:[hn(it,{...Be,size:e,rounded:o,fillMode:r,hover:x,focus:N,valid:g,invalid:m,required:S,disabled:v,className:n(t.className,Ja,"k-icon-picker"),children:[rt(Z,{children:c}),rt(_t,{placeholder:b,value:u,showValue:!1,valueIcon:rt(yt,{className:"k-value-icon",color:u,iconName:M}),valueIconName:M}),rt(j,{children:i}),rt(h,{className:"k-input-button",icon:p,rounded:null,size:e,fillMode:r})]}),T&&y&&rt(R,{className:"k-colorpicker-popup",children:y}),E&&rt(ct,{adaptive:!0,...G,header:rt(et,{actionsEnd:rt(h,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),title:ut,subtitle:Ae}),footer:hn(Re,{children:[rt(h,{text:"Cancel",size:"large",themeColor:"base"}),rt(h,{text:"Set",size:"large",themeColor:"primary"})]}),children:rt(ft,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};St.states=ul;St.options=fl;St.className=Ja;St.defaultOptions=Ue;import{jsx as tk}from"react/jsx-runtime";import{jsx as rk}from"react/jsx-runtime";import{jsx as ck}from"react/jsx-runtime";import{jsx as fk}from"react/jsx-runtime";import{jsx as Nk}from"react/jsx-runtime";import{jsx as kk}from"react/jsx-runtime";import{Fragment as Nn,jsx as H,jsxs as qe}from"react/jsx-runtime";var Ua="k-combobox",hl=[a.hover,a.focus,a.valid,a.invalid,a.loading,a.required,a.disabled,a.readonly],Nl={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},We={size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode,separators:!0},Qt=t=>{let{size:e=We.size,rounded:o=We.rounded,fillMode:r=We.fillMode,separators:p=We.separators,prefix:c,suffix:i,value:u,placeholder:b,hover:x,focus:N,valid:g,invalid:m,required:S,loading:v,disabled:M,popup:y,opened:T,readonly:E,adaptive:G,adaptiveSettings:ut,adaptiveTitle:Ae,adaptiveSubtitle:Be,adaptiveCustomValue:zo,...Oo}=t;return qe(Nn,{children:[qe(P,{...Oo,size:e,rounded:o,fillMode:r,hover:x,focus:N,valid:g,invalid:m,required:S,loading:v,disabled:M,readonly:E,className:n(t.className,Ua),children:[c&&qe(Nn,{children:[H(Z,{children:c}),p&&H(tt,{})]}),H(pt,{placeholder:b,value:u}),H(q,{valid:g,invalid:m,loading:v,disabled:M}),H(Q,{loading:v,disabled:M}),H(lt,{loading:v,disabled:M,readonly:E,value:u}),i&&qe(Nn,{children:[p&&H(tt,{}),H(j,{children:i})]}),H(h,{className:"k-input-button",icon:"caret-alt-down",rounded:null,size:e,fillMode:r})]}),T&&y&&H(R,{className:"k-list-container k-combobox-popup",children:y}),G&&H(ct,{adaptive:!0,...ut,header:H(et,{actionsEnd:H(h,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),input:!0,inputValue:u,inputPlaceholder:b,title:Ae,subtitle:Be}),children:H("div",{className:"k-list-container",children:qe(z,{customValue:zo?H(wt,{text:`Use "${u}"`}):void 0,size:"large",children:[H(I,{text:"List item"}),H(I,{text:"List item"}),H(I,{text:"List item"})]})})})]})};Qt.states=hl;Qt.options=Nl;Qt.className=Ua;Qt.defaultOptions=We;import{jsx as _k}from"react/jsx-runtime";import{jsx as qk,jsxs as Wk}from"react/jsx-runtime";import{jsx as tL,jsxs as eL}from"react/jsx-runtime";import{jsx as sL,jsxs as iL}from"react/jsx-runtime";import{jsx as mL}from"react/jsx-runtime";import{Fragment as hL,jsx as xL}from"react/jsx-runtime";import{Fragment as LL,jsx as kL}from"react/jsx-runtime";import{jsx as TL,jsxs as AL}from"react/jsx-runtime";import{Fragment as KL,jsx as OL,jsxs as wL}from"react/jsx-runtime";import{Fragment as gl,jsx as qa,jsxs as kl}from"react/jsx-runtime";var Wa="k-menu-button",Sl=[a.hover,a.focus,a.active,a.selected,a.disabled],vl={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link],themeColor:[l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.light,l.dark,l.inverse]},Zt={size:s.medium,rounded:f.medium,fillMode:d.solid,themeColor:l.base,showArrow:!0,arrowIconName:"caret-alt-down"},st=t=>{let{size:e=Zt.size,rounded:o=Zt.rounded,fillMode:r=Zt.fillMode,themeColor:p=Zt.themeColor,hover:c,focus:i,active:u,selected:b,disabled:x,icon:N,text:g,showArrow:m=Zt.showArrow,arrowIconName:S=Zt.arrowIconName,popup:v,opened:M,...y}=t;return kl(gl,{children:[qa(h,{...y,className:n(t.className,Wa),text:g,size:e,rounded:o,fillMode:r,themeColor:p,hover:c,focus:i,active:u,selected:b,disabled:x,icon:N,showArrow:m,arrowIconName:S}),M&&v&&qa(R,{className:"k-menu-popup",children:v})]})};st.states=Sl;st.options=vl;st.className=Wa;st.defaultOptions=Zt;import{jsx as oC}from"react/jsx-runtime";import{jsx as sC}from"react/jsx-runtime";import{jsx as cC}from"react/jsx-runtime";import{Fragment as Ml,jsx as Se,jsxs as Ya}from"react/jsx-runtime";var vn="k-menu-item",Ll=[a.hover,a.focus,a.active,a.selected,a.disabled],Cl={},Qa={iconPosition:"before"},vt=t=>{let{hover:e,focus:o,active:r,selected:p,disabled:c,icon:i,text:u,first:b,last:x,showArrow:N,arrowIconName:g,iconPosition:m=Qa.iconPosition,dir:S,children:v,...M}=t,y=Se(Ml,{});v&&v.forEach(E=>{if(E.type==="MenuItemContent"){y.props.children.push(E);return}});let T=g;return T||(T=S==="rtl"?"caret-alt-left":"caret-alt-right"),Ya("li",{...M,className:n(t.className,vn,"k-item",L(vn,{focus:o,disabled:c,hover:e,active:r,selected:p}),{"k-first":b,"k-last":x}),children:[Ya("span",{className:n("k-link k-menu-link"),children:[i&&m==="before"&&Se(C,{className:"k-menu-link-icon",icon:i}),Se("span",{className:"k-menu-link-text",children:u}),i&&m==="after"&&Se(C,{className:"k-menu-link-icon",icon:i}),N&&Se("span",{className:"k-menu-expand-arrow",children:Se(C,{icon:T})})]}),y]})};vt.states=Ll;vt.options=Cl;vt.className=vn;vt.defaultOptions=Qa;import{Fragment as Tl,jsx as ve,jsxs as Za}from"react/jsx-runtime";var gn="k-menu-item",Il=[a.hover,a.focus,a.active,a.selected,a.disabled],yl={},kn={dir:"ltr",iconPosition:"before"},bt=t=>{let{hover:e,focus:o,active:r,selected:p,disabled:c,icon:i,text:u,first:b,last:x,showArrow:N,arrowIconName:g,iconPosition:m=kn.iconPosition,dir:S=kn.dir,children:v,popup:M,...y}=t,T=ve(Tl,{});v&&v.forEach(G=>{if(G.type==="MenuListItemContent"){T.props.children.push(G);return}});let E=g;return E||(E=S==="rtl"?"caret-alt-left":"caret-alt-right"),Za("li",{...y,className:n(t.className,gn,"k-item",L(gn,{focus:o,disabled:c}),{"k-first":b,"k-last":x}),children:[Za("span",{className:n("k-link k-menu-link",L("k-menu-link",{hover:e,active:r,selected:p,disabled:c})),children:[i&&m==="before"&&ve(C,{className:"k-menu-link-icon",icon:i}),ve("span",{className:"k-menu-link-text",children:u}),i&&m==="after"&&ve(C,{className:"k-menu-link-icon",icon:i}),N&&ve("span",{className:"k-menu-expand-arrow",children:ve(C,{icon:E})})]}),T,M]})};bt.states=Il;bt.options=yl;bt.className=gn;bt.defaultOptions=kn;import{jsx as El}from"react/jsx-runtime";var ja="k-menu-scroll-wrapper",Al=[],Bl={},Pl={},Ye=t=>{let{className:e,children:o,orientation:r,...p}=t;return El("div",{...p,className:n(e,ja,{"k-menu-scroll-wrapper-vertical":r==="vertical"}),children:o})};Ye.states=Al;Ye.options=Bl;Ye.className=ja;Ye.defaultOptions=Pl;var tr=Ye;import{Fragment as Ln,jsx as jt,jsxs as vo}from"react/jsx-runtime";var Cn="k-menu",zl=[],Ol={},go={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},gt=t=>{let{children:e,orientation:o=go.orientation,header:r=go.header,scrollable:p,scrollButtonsPosition:c=go.scrollButtonsPosition,wrapperStyles:i,dir:u,popup:b,...x}=t,N={horizontal:{prev:u!=="rtl"?"left":"right",next:u!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},g=jt("ul",{dir:u,...x,className:n(t.className,"k-reset",Cn,{[`${Cn}-${o}`]:o,"k-header":r}),children:e});return vo(Ln,{children:[p?vo(tr,{orientation:o,style:i,dir:t.dir,children:[c==="start"&&vo(Ln,{children:[jt(h,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${N[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),jt(h,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${N[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),c==="around"&&jt(h,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${N[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),g,c==="end"&&vo(Ln,{children:[jt(h,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${N[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),jt(h,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${N[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),c==="around"&&jt(h,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${N[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}):g,b]})};gt.states=zl;gt.options=Ol;gt.className=Cn;gt.defaultOptions=go;import{jsx as wl}from"react/jsx-runtime";var Mn="k-separator",er={orientation:"horizontal"},Qe=t=>{let{orientation:e=er.orientation,...o}=t;return wl("li",{...o,className:n(t.className,"k-item",Mn,{[`${Mn}-${e}`]:e})})};Qe.className=Mn;Qe.defaultOptions=er;import{Fragment as zC,jsx as OC}from"react/jsx-runtime";import{jsx as or}from"react/jsx-runtime";import{createElement as Hl}from"react";var In="k-menu-group",Kl=[],Rl={size:[s.small,s.medium,s.large]},yn={size:s.medium,dir:"ltr"},te=t=>{let{children:e,size:o=yn.size,dir:r=yn.dir,...p}=t,c=[];return e&&Array.isArray(e)&&e.map((i,u)=>{i.type===bt?c.push(Hl(bt,{...i.props,dir:r,key:u})):i.type===Qe?c.push(or(Qe,{})):c.push(i)}),or("ul",{...p,className:n(t.className,In,k(In,{size:o})),children:c})};te.states=Kl;te.options=Rl;te.className=In;te.defaultOptions=yn;import{Fragment as FC,jsx as _C,jsxs as XC}from"react/jsx-runtime";import{Fragment as ZC,jsx as YC,jsxs as QC}from"react/jsx-runtime";import{Fragment as nM,jsx as oM,jsxs as aM}from"react/jsx-runtime";import{Fragment as pM,jsx as lM,jsxs as cM}from"react/jsx-runtime";import{Fragment as bM,jsx as fM,jsxs as xM}from"react/jsx-runtime";import{jsx as OM,jsxs as wM}from"react/jsx-runtime";import{Fragment as $l,jsx as Tn,jsxs as nr}from"react/jsx-runtime";var An="k-split-button",Gl=[a.hover,a.focus,a.active,a.selected,a.disabled],Dl={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link],themeColor:[l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.light,l.dark,l.inverse]},ge={size:s.medium,rounded:f.medium,fillMode:d.solid,themeColor:l.base,arrowIconName:"caret-alt-down"},U=t=>{let{size:e=ge.size,rounded:o=ge.rounded,fillMode:r=ge.fillMode,themeColor:p=ge.themeColor,hover:c,focus:i,active:u,selected:b,disabled:x,icon:N,text:g,arrowIconName:m=ge.arrowIconName,popup:S,opened:v,...M}=t;return nr($l,{children:[nr("div",{...M,className:n(t.className,An,"k-button-group",k(An,{rounded:o})),children:[Tn(h,{text:g,icon:N,size:e,rounded:o,fillMode:r,themeColor:p,hover:c,focus:i,active:u,selected:b,disabled:x,children:t.children}),Tn(h,{className:"k-split-button-arrow",icon:m,size:e,rounded:o,fillMode:r,disabled:x})]}),v&&S&&Tn(R,{className:"k-menu-popup",children:S})]})};U.states=Gl;U.options=Dl;U.className=An;U.defaultOptions=ge;var Bn=U;import{jsx as _l}from"react/jsx-runtime";var Vl="k-toolbar-separator",ee=t=>_l("div",{className:n(Vl,t.className,"k-separator")});import{Fragment as Pn,jsx as B,jsxs as ke}from"react/jsx-runtime";var kt="k-toolbar",Fl=[a.focus],Xl={size:[s.small,s.medium,s.large],fillMode:[d.solid,d.outline,d.flat]},En={size:s.medium,fillMode:d.solid,scrollButtons:"around"},V=t=>{let{size:e=En.size,fillMode:o=En.fillMode,focus:r,resizable:p,scrollable:c,scrollButtons:i,scrollingPosition:u,section:b,...x}=t,N=[],g=(m,S)=>{let v=[];if(m.type===h&&m.props.className&&m.props.className.includes("k-toolbar-overflow-button"))v.push(B(h,{...m.props,className:`${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`));else if(m.type===h)v.push(B(h,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`));else if(m.type===_)v.push(B(_,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`));else if(m.type===X)v.push(B(X,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`));else if(m.type===st)v.push(B(st,{...m.props,className:`k-toolbar-menu-button ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`));else if(m.type===Bn)v.push(B(Bn,{...m.props,className:`k-toolbar-split-button ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`));else if(m.type===O||m.props.className&&m.props.className.includes("k-button-group")){let M=[];(Array.isArray(m.props.children)?m.props.children:[m.props.children]).forEach((T,E)=>{M.push(B(h,{...T.props,className:`${T.props.className?T.props.className:""}`},`${E}-${new Date().getTime()}`))}),v.push(B(O,{...m.props,className:`k-toolbar-button-group ${m.props.className?m.props.className:""}`,children:M},`${S}-${new Date().getTime()}`))}else m.type===Qt?v.push(B(Qt,{...m.props,className:`k-toolbar-combobox ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`)):m.type===Kt?v.push(B(Kt,{...m.props,className:`k-toolbar-dropdownlist ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`)):m.type===St?v.push(B(St,{...m.props,className:`k-toolbar-colorpicker ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`)):v.push(m);v.forEach(M=>{N.push(M)})};return t.children&&(Array.isArray(t.children)?t.children:[t.children]).forEach((S,v)=>{g(S,v)}),ke("div",{...x,className:n(t.className,kt,k(kt,{size:e,fillMode:o}),L(kt,{focus:r}),{[`${kt}-resizable`]:p,[`${kt}-scrollable`]:c,[`${kt}-scrollable-overlay`]:c&&i==="hidden",[`${kt}-scrollable-${u}`]:u&&u!=="both",[`${kt}-section`]:b}),children:[!c&&N,c&&i==="hidden"&&B("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),c&&i==="start"&&ke(Pn,{children:[ke(O,{children:[B("span",{className:n("k-toolbar-prev","k-button",k("k-button",{size:e,fillMode:o,themeColor:l.base,rounded:f.medium}),"k-icon-button"),children:B(C,{className:"k-button-icon",icon:"caret-alt-left"})}),B("span",{className:n("k-toolbar-next","k-button",k("k-button",{size:e,fillMode:o,themeColor:l.base,rounded:f.medium}),"k-icon-button"),children:B(C,{className:"k-button-icon",icon:"caret-alt-right"})})]}),B(ee,{className:"k-toolbar-button-separator"}),B("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N})]}),c&&i==="end"&&ke(Pn,{children:[B("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),B(ee,{className:"k-toolbar-button-separator"}),ke(O,{children:[B("span",{className:n("k-toolbar-prev","k-button",k("k-button",{size:e,fillMode:o,themeColor:l.base,rounded:f.medium}),"k-icon-button"),children:B(C,{className:"k-button-icon",icon:"caret-alt-left"})}),B("span",{className:n("k-toolbar-next","k-button",k("k-button",{size:e,fillMode:o,themeColor:l.base,rounded:f.medium}),"k-icon-button"),children:B(C,{className:"k-button-icon",icon:"caret-alt-right"})})]})]}),c&&(i==="around"||!i)&&ke(Pn,{children:[B("span",{className:n("k-toolbar-prev","k-button",k("k-button",{size:e,fillMode:o,themeColor:l.base,rounded:f.medium}),"k-icon-button"),children:B(C,{className:"k-button-icon",icon:"caret-alt-left"})}),B(ee,{className:"k-toolbar-button-separator"}),B("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),B(ee,{className:"k-toolbar-button-separator"}),B("span",{className:n("k-toolbar-next","k-button",k("k-button",{size:e,fillMode:o,themeColor:l.base,rounded:f.medium}),"k-icon-button"),children:B(C,{className:"k-button-icon",icon:"caret-alt-right"})})]})]})};V.states=Fl;V.options=Xl;V.className=kt;V.defaultOptions=En;import{jsx as Wl}from"react/jsx-runtime";var zn="k-toolbar-item",Jl=[a.focus],Ul={},ql={},ko=t=>{let{focus:e,...o}=t;return Wl("div",{...o,className:n(t.className,zn,L(zn,{focus:e})),children:t.children})};ko.states=Jl;ko.options=Ul;ko.className=zn;ko.defaultOptions=ql;import{jsx as ar}from"react/jsx-runtime";var rr="k-toolbar-popup",Yl=[],Ql={size:[s.small,s.medium,s.large],fillMode:[d.solid,d.outline,d.flat]},On={size:s.medium,fillMode:d.solid},Lo=t=>{let{size:e=On.size,fillMode:o=On.fillMode,section:r,...p}=t;return ar(R,{...p,className:n(t.className,rr),children:r?ar("span",{className:n("k-toolbar-items-list",k("k-toolbar-items-list",{size:e,fillMode:o})),children:t.children}):t.children})};Lo.states=Yl;Lo.options=Ql;Lo.className=rr;Lo.defaultOptions=On;import{jsx as NI}from"react/jsx-runtime";import{jsx as kI}from"react/jsx-runtime";import{jsx as II}from"react/jsx-runtime";import{jsx as PI,jsxs as EI}from"react/jsx-runtime";import{jsx as JI,jsxs as UI}from"react/jsx-runtime";import{jsx as oy,jsxs as ny}from"react/jsx-runtime";import{jsx as my,jsxs as dy}from"react/jsx-runtime";import{jsx as vy,jsxs as gy}from"react/jsx-runtime";import{Fragment as Oy,jsx as Ey,jsxs as zy}from"react/jsx-runtime";import{Fragment as ep,jsx as sr}from"react/jsx-runtime";var ir="k-prompt",Zl=[],jl={},tp={},W=t=>{let{...e}=t;return sr("div",{...e,className:n(t.className,ir),children:sr(ep,{children:t.children})})};W.states=Zl;W.options=jl;W.className=ir;W.defaultOptions=tp;import{jsx as np}from"react/jsx-runtime";var op="k-prompt-header",oe=t=>{let{...e}=t;return np("div",{...e,className:n(t.className,op),children:t.children})};import{Fragment as rp,jsx as lr}from"react/jsx-runtime";var ap="k-prompt-content",Lt=t=>{let{...e}=t;return lr("div",{...e,className:n(t.className,ap),children:lr(rp,{children:t.children})})};import{jsx as ip}from"react/jsx-runtime";var sp="k-prompt-view",Ct=t=>{let{...e}=t;return ip("div",{...e,className:n(t.className,sp),children:t.children})};import{jsx as pr,jsxs as pp}from"react/jsx-runtime";var lp="k-prompt-expander",wn=t=>{let{title:e,children:o,expanded:r,...p}=t;return pp("div",{...p,className:n(t.className,lp),children:[pr(_,{fillMode:"flat",icon:r?"chevron-up":"chevron-down",children:e}),r&&pr("div",{className:"k-prompt-expander-content",children:o})]})};import{jsx as mp}from"react/jsx-runtime";var cp="k-prompt-footer",Ze=t=>{let{...e}=t;return mp("div",{...e,className:n(t.className,cp),children:t.children})};import{jsx as uT}from"react/jsx-runtime";import{jsx as dp}from"react/jsx-runtime";var cr="k-prompt-send",mr={generating:!1},Le=t=>{let{generating:e=mr.generating,...o}=t;return dp(h,{...o,className:n(t.className,cr,{"k-generating":e}),icon:e?"stop-sm":"paper-plane",active:e,fillMode:"flat"})};Le.states=h.states;Le.options=h.options;Le.className=cr;Le.defaultOptions=mr;import{jsx as dr,jsxs as bp}from"react/jsx-runtime";var Co="k-fab",up=[a.hover,a.focus,a.active,a.selected,a.disabled],fp={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link],themeColor:[l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.light,l.dark,l.inverse]},Ce={size:s.medium,rounded:f.full,fillMode:d.solid,themeColor:l.primary,type:"button"},Mt=t=>{let{size:e=Ce.size,rounded:o=Ce.rounded,fillMode:r=Ce.fillMode,themeColor:p=Ce.themeColor,text:c,icon:i,type:u=Ce.type,position:b,hover:x,focus:N,active:g,selected:m,disabled:S,...v}=t;return bp("button",{...v,type:u,className:n(t.className,Co,k(Co,{size:e,rounded:o,fillMode:r,themeColor:p}),L(Co,{hover:x,focus:N,active:g,disabled:S,selected:m}),{[`!k-pos-absolute k-${b}`]:b}),children:[i&&dr(C,{className:"k-fab-icon",icon:i}),c&&dr("span",{className:"k-fab-text",children:c})]})};Mt.states=up;Mt.options=fp;Mt.className=Co;Mt.defaultOptions=Ce;import{jsx as yT}from"react/jsx-runtime";import{jsx as fr,jsxs as Np}from"react/jsx-runtime";var ur="k-fab-item",xp=[a.hover,a.focus,a.active,a.disabled],hp=t=>{let{text:e,icon:o,align:r,hover:p,focus:c,active:i,disabled:u,...b}=t;return Np("li",{...b,className:n(t.className,ur,{[`k-text-${r}`]:r},L(ur,{hover:p,focus:c,active:i,disabled:u})),children:[fr("span",{className:"k-fab-item-text",children:e}),fr(C,{className:"k-fab-item-icon",icon:o})]})};hp.states=xp;import{jsx as wT}from"react/jsx-runtime";import{jsx as GT}from"react/jsx-runtime";import{jsx as _T}from"react/jsx-runtime";import{jsx as Sp}from"react/jsx-runtime";var br="k-prompt-stop-fab",xr={generating:!0},je=t=>{let{generating:e=xr.generating,icon:o,...r}=t;return Sp(Mt,{...r,className:n(t.className,br,{"k-generating":e}),style:{bottom:"16px",right:"16px"},position:"bottom-end",icon:e?"stop-sm":o,active:e})};je.states=h.states;je.options=h.options;je.className=br;je.defaultOptions=xr;import{jsx as vp}from"react/jsx-runtime";var hr="k-speech-to-text-button",Nr={icon:"microphone-outline"},Y=t=>{let{listening:e=!1,icon:o=Nr.icon,...r}=t;return vp(h,{...r,icon:e?"stop-sm":o,className:n(t.className,hr,{"k-listening":e})})};Y.states=h.states;Y.options=h.options;Y.className=hr;Y.defaultOptions=Nr;import{jsx as xA}from"react/jsx-runtime";import{jsx as vA}from"react/jsx-runtime";import{Fragment as Sr,jsx as to,jsxs as Kn}from"react/jsx-runtime";var vr="k-textarea",gp=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled],kp={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},It={size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode,flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},dt=t=>{let{size:e=It.size,rounded:o=It.rounded,fillMode:r=It.fillMode,prefixSeparator:p=It.prefixSeparator,suffixSeparator:c=It.prefixSeparator,affixesOrientation:i=It.affixesOrientation,flow:u=It.flow,resize:b=It.resize,prefix:x,suffix:N,rows:g,value:m,placeholder:S,hover:v,focus:M,valid:y,invalid:T,required:E,disabled:G,...ut}=t;return Kn(P,{...ut,size:e,rounded:o,fillMode:r,hover:v,focus:M,valid:y,invalid:T,required:E,disabled:G,className:n(t.className,vr,{"!k-flex-col":u==="vertical","!k-flex-row":u==="horizontal"}),children:[x&&Kn(Sr,{children:[to(Z,{className:n({"!k-align-items-start":u===i}),direction:i,children:x}),p&&to(tt,{direction:u==="horizontal"?"vertical":"horizontal"})]}),to(Ke,{className:n("!k-overflow-auto",{"!k-flex-none":u==="vertical","k-resize-x":b==="x","k-resize-y":b==="y","k-resize":b==="both","k-resize-none":b==="none"}),value:m,placeholder:S,rows:g}),N&&Kn(Sr,{children:[c&&to(tt,{direction:u==="horizontal"?"vertical":"horizontal"}),to(j,{className:n({"!k-align-items-start":u===i}),direction:i,children:N})]})]})};dt.states=gp;dt.options=kp;dt.className=vr;dt.defaultOptions=It;import{jsx as EA}from"react/jsx-runtime";import{Fragment as HA,jsx as RA}from"react/jsx-runtime";import{Fragment as FA,jsx as _A}from"react/jsx-runtime";import{Fragment as sB,jsx as aB,jsxs as rB}from"react/jsx-runtime";import{jsx as mB}from"react/jsx-runtime";import{jsx as kr}from"react/jsx-runtime";var eo="k-avatar";var Lp=[a.hover,a.focus,a.active,a.selected,a.disabled],Cp={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline],themeColor:[l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.light,l.dark,l.inverse]},ne={type:"text",size:s.medium,rounded:f.full,fillMode:d.solid,themeColor:l.primary,border:!1},Me=t=>{let{size:e=ne.size,rounded:o=ne.rounded,fillMode:r=ne.fillMode,themeColor:p=ne.themeColor,type:c=ne.type,border:i=ne.border,...u}=t;return kr("div",{...u,className:n(t.className,eo,k(eo,{size:e,rounded:o,fillMode:r,themeColor:p}),{[`${eo}-bordered`]:i}),children:kr("span",{className:`${eo}-${c}`,children:t.children})})};Me.states=Lp;Me.options=Cp;Me.className=eo;Me.defaultOptions=ne;import{jsx as NB}from"react/jsx-runtime";import{jsx as kB}from"react/jsx-runtime";import{jsx as IB}from"react/jsx-runtime";import{jsx as Ie,jsxs as yp}from"react/jsx-runtime";var Mo="k-chip",Mp=[a.hover,a.focus,a.active,a.selected,a.disabled],Ip={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.outline],themeColor:[l.base,l.success,l.warning,l.error,l.info]},ye={size:s.medium,rounded:f.medium,fillMode:d.solid,themeColor:l.base,avatarImage:"/packages/html/assets/avatar.jpg"},oo=t=>{let{size:e=ye.size,rounded:o=ye.rounded,fillMode:r=ye.fillMode,themeColor:p=ye.themeColor,text:c,icon:i,actions:u,showAvatar:b,avatarImage:x=ye.avatarImage,hover:N,focus:g,active:m,selected:S,disabled:v,...M}=t;return yp("div",{...M,className:n(t.className,Mo,k(Mo,{size:e,rounded:o,fillMode:r,themeColor:p}),L(Mo,{hover:N,focus:g,active:m,disabled:v,selected:S})),children:[i&&Ie(C,{className:"k-chip-icon",icon:i,size:"small"}),b&&Ie(Me,{className:"k-chip-avatar",type:"image",children:Ie("img",{src:x})}),Ie("span",{className:"k-chip-content",children:t.children?t.children:c&&Ie("span",{className:"k-chip-label",children:c})}),u&&Ie("span",{className:"k-chip-actions",children:u})]})};oo.states=Mp;oo.options=Ip;oo.className=Mo;oo.defaultOptions=ye;import{jsx as Bp}from"react/jsx-runtime";var Rn="k-chip-list",Tp=[],Ap={size:[s.small,s.medium,s.large]},Cr={size:s.medium},no=t=>{let{size:e=Cr.size,...o}=t;return Bp("div",{...o,className:n(t.className,Rn,k(Rn,{size:e})),children:t.children})};no.states=Tp;no.options=Ap;no.className=Rn;no.defaultOptions=Cr;import{jsx as _B}from"react/jsx-runtime";import{jsx as UB}from"react/jsx-runtime";import{jsx as QB}from"react/jsx-runtime";import{jsx as oP}from"react/jsx-runtime";import{Fragment as lP,jsx as iP,jsxs as pP}from"react/jsx-runtime";import{Fragment as PP,jsx as AP,jsxs as BP}from"react/jsx-runtime";import{jsx as zp}from"react/jsx-runtime";var Ep="k-card-callout",Mr=t=>{let{callout:e,...o}=t;return zp("span",{...o,className:n(t.className,Ep,{[`k-callout-${$n.calloutMap[e]||e}`]:e})})};import{Fragment as Rp,jsx as Ir,jsxs as Hp}from"react/jsx-runtime";var yo="k-card",Op=[a.hover,a.focus,a.selected,a.disabled],wp={themeColor:[l.primary,l.success,l.warning,l.error,l.info]},Kp={},Gt=t=>{let{orientation:e,themeColor:o,callout:r,hover:p,focus:c,selected:i,disabled:u,...b}=t;return Hp("div",{...b,className:n(t.className,yo,k(yo,{themeColor:o}),L(yo,{hover:p,focus:c,disabled:u,selected:i}),{[`k-card-${e}`]:e,"k-card-with-callout":r}),children:[r&&r!=="true"&&Ir(Mr,{callout:r}),Ir(Rp,{children:t.children})]})};Gt.states=Op;Gt.options=wp;Gt.className=yo;Gt.defaultOptions=Kp;import{jsx as Dp}from"react/jsx-runtime";var Hn="k-card-title",Gp=[a.hover,a.focus],To=t=>{let{hover:e,focus:o,...r}=t;return Dp("div",{...r,className:n(t.className,Hn,L(Hn,{hover:e,focus:o})),children:t.children})};To.states=Gp;To.className=Hn;import{jsx as XP}from"react/jsx-runtime";import{Fragment as YP,jsx as WP}from"react/jsx-runtime";import{Fragment as aE,jsx as nE,jsxs as rE}from"react/jsx-runtime";import{jsx as pE}from"react/jsx-runtime";import{Fragment as hE,jsx as xE,jsxs as NE}from"react/jsx-runtime";import{jsx as kE}from"react/jsx-runtime";import{Fragment as BE,jsx as TE,jsxs as AE}from"react/jsx-runtime";import{Fragment as HE,jsx as KE,jsxs as RE}from"react/jsx-runtime";import{jsx as a0,jsxs as r0}from"react/jsx-runtime";import{jsx as Jp}from"react/jsx-runtime";var yr="k-panelbar",_p=[],Fp={},Xp={},ae=t=>{let{...e}=t;return Jp("ul",{...e,className:n(t.className,yr),children:t.children})};ae.states=_p;ae.options=Fp;ae.className=yr;ae.defaultOptions=Xp;import{jsx as Ao,jsxs as Tr}from"react/jsx-runtime";var Ar="k-panelbar-item",Up=[a.hover,a.focus,a.selected,a.disabled],qp={},Bo={level:0,expanded:!1,text:"Item"},Dt=t=>{let{text:e=Bo.text,level:o=Bo.level,expanded:r=Bo.expanded,header:p,hover:c,focus:i,selected:u,disabled:b,icon:x,iconClass:N,children:g,...m}=t;return Tr("li",{...m,className:n(t.className,Ar,{"k-panelbar-header":p,[`k-level-${o}`]:o||o===0,"k-expanded":r}),children:[Tr("span",{className:n("k-link",L("k-link",{hover:c,focus:i,disabled:b,selected:u})),children:[x&&Ao(C,{className:"k-panelbar-item-icon",icon:x}),N&&!x&&Ao("span",{className:`k-panelbar-item-icon ${N}`}),Ao("span",{className:"k-panelbar-item-text",children:e}),g&&Ao(C,{className:n("k-panelbar-toggle",r?"k-panelbar-collapse":"k-panelbar-expand"),icon:`chevron-${r?"up":"down"}`})]}),r&&g]})};Dt.states=Up;Dt.options=qp;Dt.className=Ar;Dt.defaultOptions=Bo;import{jsx as Zp}from"react/jsx-runtime";var Br="k-panelbar-group",Wp=[],Yp={},Qp={},Te=t=>{let{...e}=t;return Zp("ul",{...e,className:n(t.className,Br),children:t.children})};Te.states=Wp;Te.options=Yp;Te.className=Br;Te.defaultOptions=Qp;import{jsx as oc}from"react/jsx-runtime";var Pr="k-panelbar-content",jp=[],tc={},ec={},re=t=>{let{...e}=t;return oc("div",{...e,className:n(t.className,Pr),children:t.children})};re.states=jp;re.options=tc;re.className=Pr;re.defaultOptions=ec;import{Fragment as L0,jsx as k0,jsxs as C0}from"react/jsx-runtime";import{Fragment as A0,jsx as T0,jsxs as B0}from"react/jsx-runtime";import{Fragment as K0,jsx as O0,jsxs as w0}from"react/jsx-runtime";import{jsx as Z0,jsxs as j0}from"react/jsx-runtime";import{Fragment as mz,jsx as pz,jsxs as cz}from"react/jsx-runtime";import{Fragment as kz,jsx as vz,jsxs as gz}from"react/jsx-runtime";import{Fragment as Bz,jsx as Az,jsxs as Pz}from"react/jsx-runtime";import{jsx as Dn,jsxs as rc}from"react/jsx-runtime";var Er="k-suggestion-group",nc=[],ac={},zr={scrollable:!0},$t=t=>{let{scrollable:e=zr.scrollable,...o}=t,r=Dn("div",{...o,className:n(Er,t.className),children:t.children});return e?rc("div",{className:"k-suggestion-scrollwrap",children:[Dn(h,{icon:"chevron-left"}),r,Dn(h,{icon:"chevron-right"})]}):r};$t.states=nc;$t.options=ac;$t.className=Er;$t.defaultOptions=zr;import{jsx as pc}from"react/jsx-runtime";var Po="k-suggestion",sc=[a.active,a.hover,a.focus],ic={themeColor:[l.base,l.primary,l.secondary]},lc={text:"Suggestion"},xt=t=>{let{themeColor:e,active:o,hover:r,focus:p,text:c,...i}=t;return pc("span",{...i,className:n(t.className,Po,L(Po,{hover:r,active:o,focus:p}),k(Po,{themeColor:e})),children:c})};xt.states=sc;xt.options=ic;xt.className=Po;xt.item=lc;import{Fragment as iO,jsx as sO,jsxs as lO}from"react/jsx-runtime";import{Fragment as uO,jsx as dO,jsxs as fO}from"react/jsx-runtime";import{Fragment as cc,jsx as F,jsxs as Eo}from"react/jsx-runtime";var TO=t=>Eo(W,{...t,children:[F(oe,{children:Eo(V,{fillMode:"flat",children:[F(_,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",selected:!0,children:"Ask AI"}),F(_,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),F(X,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full"})]})}),F(Lt,{children:Eo(Ct,{children:[F(dt,{resize:"y",rows:1,suffixSeparator:!1,placeholder:"Ask or generate content with AI",suffix:F(cc,{children:F(Y,{fillMode:"flat"})})}),F(wn,{expanded:!0,title:"Prompt Suggestions",children:Eo($t,{scrollable:!1,children:[F(xt,{text:"Suggestion 1"}),F(xt,{text:"Suggestion 2"}),F(xt,{text:"Suggestion 3"})]})})]})}),F(Ze,{children:F(D,{className:"k-prompt-actions",alignment:"start",children:F(_,{icon:"sparkles",themeColor:"primary",rounded:"full",children:"Generate"})})})]});export{TO as PromptSuggestions};
|
|
1
|
+
var n=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?n(...e):typeof e=="object"?Object.keys(e).map((o,r)=>e[r]||e[o]&&o||null).filter(o=>o!==null).join(" "):e).filter(e=>!!e).join(" ");var k=(t,e)=>n({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.fillMode}-${e.themeColor}`]:e.fillMode&&e.themeColor},{[`${t}-${e.themeColor}`]:e.themeColor&&e.fillMode===void 0},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full"}),L=(t,e)=>n({"k-valid":e.valid,"k-invalid":e.invalid,"k-hover":e.hover,"k-focus":e.focus,"k-checked":e.checked,"k-active":e.active,"k-selected":e.selected,"k-disabled":e.disabled,"k-indeterminate":e.indeterminate&&!e.checked,"k-loading":e.loading,"k-empty":e.empty,"k-readonly":e.readonly,"k-highlighted":e.highlighted});var s={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={small:"small",medium:"medium",large:"large",full:"full"},d={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},l={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"},$n={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};import{jsx as Hr}from"react/jsx-runtime";var ao="k-actions",Kr=[],Rr={},wo={alignment:"start",orientation:"horizontal"},D=t=>{let{alignment:e=wo.alignment,orientation:o=wo.orientation,...r}=t;return Hr("div",{...r,className:n(ao,{[`${ao}-${e}`]:e,[`${ao}-${o}`]:o},t.className),children:t.children})};D.states=Kr;D.options=Rr;D.className=ao;D.defaultOptions=wo;import{Fragment as Vr,jsx as Vn}from"react/jsx-runtime";var Ko="k-icon k-font-icon",Gr=[],Dr={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.light,l.dark]},$r={},Pe=t=>{let{size:e,themeColor:o,icon:r,rotate:p,flip:c,...i}=t;return r?Vn("span",{...i,className:n(t.className,Ko,k(Ko,{size:e}),{[`k-i-${r}`]:r,[`k-color-${o}`]:o,[`k-rotate-${p}`]:p,"k-flip-h":c==="h"||c==="both","k-flip-v":c==="v"||c==="both"})}):Vn(Vr,{})};Pe.states=Gr;Pe.options=Dr;Pe.className=Ko;Pe.defaultOptions=$r;var _n=Pe;import{Fragment as Xr,jsx as ro}from"react/jsx-runtime";var Ro="k-icon k-svg-icon",_r=[],Fr={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.light,l.dark]},Fn={viewBox:"0 0 24 24"},Ee=t=>{let{size:e,themeColor:o,rotate:r,flip:p,viewBox:c=Fn.viewBox,icon:i,...u}=t;if(!i)return ro(Xr,{});i==="none"&&{...u,className:n(t.className,Ro,"k-none")};let b=typeof i=="object"&&i.name&&i.name;return ro("span",{...u,className:n(t.className,Ro,k("k-icon",{size:e}),{[`k-svg-i-${b}`]:b,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":p==="h"||p==="both","k-flip-v":p==="v"||p==="both"}),children:ro("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof i=="object"?i.viewBox:c,dangerouslySetInnerHTML:typeof i=="object"?{__html:i.content}:void 0,children:i?void 0:t.children})})};Ee.states=_r;Ee.options=Fr;Ee.className=Ro;Ee.defaultOptions=Fn;var Ho=Ee;import*as Xn from"@progress/kendo-svg-icons";import{Fragment as Jn,jsx as ze}from"react/jsx-runtime";var Jr=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),Ur=[],qr={size:[s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.light,l.dark]},Go={viewBox:"0 0 24 24",type:"svg"},C=t=>{let{size:e,themeColor:o,icon:r,type:p=Go.type,rotate:c,flip:i,viewBox:u=Go.viewBox,...b}=t;if(!r)return ze(Jn,{});if(p==="svg"){if(r==="none")return ze(Ho,{...b,icon:r,size:e});let x=Jr(`${r}-icon`);return Xn[x]?ze(Ho,{...b,icon:Xn[x],size:e,themeColor:o,rotate:c,flip:i,viewBox:u}):ze(Jn,{})}return ze(_n,{...b,icon:r,size:e,themeColor:o,rotate:c,flip:i})};C.states=Ur;C.options=qr;C.defaultOptions=Go;import{Fragment as Qr,jsx as Oe,jsxs as Un}from"react/jsx-runtime";var so="k-button",Wr=[a.hover,a.focus,a.active,a.selected,a.disabled],Yr={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link],themeColor:[l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.light,l.dark,l.inverse]},Vt={size:s.medium,rounded:f.medium,fillMode:d.solid,themeColor:l.base,showArrow:!1,arrowIconName:"caret-alt-down"},h=t=>{let{size:e=Vt.size,rounded:o=Vt.rounded,fillMode:r=Vt.fillMode,themeColor:p=Vt.themeColor,showArrow:c=Vt.showArrow,arrowIconName:i=Vt.arrowIconName,hover:u,focus:b,active:x,selected:N,disabled:g,icon:m,text:S,iconClassName:v,...M}=t,y=m!==void 0,T=t.children!==void 0;return Un("button",{...M,className:n(t.className,so,k(so,{size:e,rounded:o,fillMode:r,themeColor:p}),L(so,{hover:u,focus:b,active:x,disabled:g,selected:N}),{"k-icon-button":!S&&!T&&y}),children:[m&&Oe(C,{className:n(v,"k-button-icon"),icon:m}),S?Un(Qr,{children:[S&&Oe("span",{className:"k-button-text",children:S}),t.children]}):t.children&&Oe("span",{className:"k-button-text",children:t.children}),c&&Oe("span",{className:"k-menu-button-arrow k-button-arrow",children:Oe(C,{icon:i})})]})};h.states=Wr;h.options=Yr;h.className=so;h.defaultOptions=Vt;import{jsx as Zr}from"react/jsx-runtime";var X=t=>Zr(h,{icon:"folder",...t,children:void 0});import{jsx as jr}from"react/jsx-runtime";var _=t=>jr(h,{icon:"folder",children:"Button",...t});import{jsx as Qc}from"react/jsx-runtime";import{jsx as os}from"react/jsx-runtime";var we="k-button-group",ts=[a.disabled],es={fillMode:[d.solid,d.flat,d.outline,d.clear,d.link]},qn={fillMode:d.solid},O=t=>{let{fillMode:e=qn.fillMode,disabled:o,stretched:r,...p}=t;return os("div",{...p,className:n(t.className,we,k(we,{fillMode:e}),L(we,{disabled:o}),{[`${we}-stretched`]:r}),children:t.children})};O.states=ts;O.options=es;O.className=we;O.defaultOptions=qn;import{Fragment as mm,jsx as cm,jsxs as dm}from"react/jsx-runtime";import{Fragment as Nm,jsx as hm,jsxs as Sm}from"react/jsx-runtime";import{Fragment as Mm,jsx as Cm,jsxs as Im}from"react/jsx-runtime";import{Fragment as Em,jsx as Pm,jsxs as zm}from"react/jsx-runtime";import{jsx as rs}from"react/jsx-runtime";var io="k-input",ns=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],as={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},lo={size:s.medium,rounded:s.medium,fillMode:d.solid},P=t=>{let{hover:e,focus:o,disabled:r,invalid:p,valid:c,loading:i,readonly:u,size:b=lo.size,rounded:x=lo.rounded,fillMode:N=lo.fillMode,...g}=t;return rs("span",{...g,className:n(t.className,io,k(io,{size:b,rounded:x,fillMode:N}),L(io,{hover:e,focus:o,disabled:r,invalid:p,valid:c,loading:i,readonly:u}))})};P.states=ns;P.options=as;P.className=io;P.defaultOptions=lo;import{jsx as ls}from"react/jsx-runtime";var po="k-picker",ss=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],is={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},co={size:s.medium,rounded:f.medium,fillMode:d.solid},it=t=>{let{hover:e,focus:o,disabled:r,invalid:p,valid:c,loading:i,readonly:u,size:b=co.size,rounded:x=co.rounded,fillMode:N=co.fillMode,...g}=t;return ls("span",{...g,className:n(t.className,po,k(po,{size:b,rounded:x,fillMode:N}),L(po,{hover:e,focus:o,disabled:r,invalid:p,valid:c,loading:i,readonly:u})),children:t.children})};it.states=ss;it.options=is;it.className=po;it.defaultOptions=co;import{Fragment as ms,jsx as Do}from"react/jsx-runtime";var Wn="k-clear-value",ps=[a.disabled,a.loading,a.readonly],cs={},lt=t=>{let{disabled:e,loading:o,readonly:r,value:p}=t;return e||r||o||!p?Do(ms,{}):Do("span",{className:n(t.className,Wn),children:Do(C,{icon:"x"})})};lt.states=ps;lt.options=cs;lt.className=Wn;import{jsx as fs}from"react/jsx-runtime";var $o="k-input-inner",ds=[],us={},mo={type:"text",autocomplete:"off",value:"",placeholder:""},pt=t=>{let{value:e=mo.value,type:o=mo.type,placeholder:r=mo.placeholder,autocomplete:p=mo.autocomplete,...c}=t;return fs("input",{...c,type:o,className:n(t.className,$o,k($o,t)),placeholder:r,autoComplete:p,defaultValue:e})};pt.states=ds;pt.options=us;pt.className=$o;import{jsx as Yn,jsxs as hs}from"react/jsx-runtime";var Vo="k-input-inner",bs=[],xs={},_t=t=>{let{value:e,placeholder:o,showValue:r,valueIcon:p,valueIconName:c,...i}=t;return hs("span",{...i,className:n(t.className,Vo,k(Vo,t)),children:[p,!p&&c&&Yn(C,{className:"k-input-value-icon",icon:c}),r&&!e&&o,r&&e&&Yn("span",{className:"k-input-value-text",children:e})]})};_t.states=bs;_t.options=xs;_t.className=Vo;import{jsx as vs}from"react/jsx-runtime";var _o="k-input-inner",Ns=[],Ss={},Qn={value:"",placeholder:""},Ke=t=>{let{value:e=Qn.value,placeholder:o=Qn.placeholder,rows:r,...p}=t;return vs("textarea",{...p,className:n(t.className,_o,k(_o,t)),placeholder:o,rows:r,defaultValue:e})};Ke.states=Ns;Ke.options=Ss;Ke.className=_o;import{Fragment as ks,jsx as Zn}from"react/jsx-runtime";var jn="k-input-loading-icon",gs=[a.disabled,a.loading],Q=t=>{let{disabled:e,loading:o}=t;return e||!o?Zn(ks,{}):Zn("span",{className:n(t.className,jn,"k-icon k-i-loading")})};Q.states=gs;Q.className=jn;import{Fragment as Ms,jsx as ta}from"react/jsx-runtime";var ea="k-input-validation-icon",Ls=[a.valid,a.invalid,a.disabled,a.loading],Cs={},q=t=>{let{valid:e,invalid:o,disabled:r,loading:p}=t,c=o?"warning-circle":"check-circle";return r||p||!!!(e||o)?ta(Ms,{}):ta(C,{className:n(ea),icon:c})};q.states=Ls;q.options=Cs;q.className=ea;import{Fragment as Ts,jsx as oa}from"react/jsx-runtime";var Is="k-input-prefix",ys={direction:"horizontal"},Z=t=>{let{direction:e=ys.direction,...o}=t;return t.children?oa("span",{...o,className:n(Is,t.className,{[`k-input-prefix-${e}`]:e}),children:t.children}):oa(Ts,{})};import{Fragment as Ps,jsx as na}from"react/jsx-runtime";var As="k-input-suffix",Bs={direction:"horizontal"},j=t=>{let{direction:e=Bs.direction,...o}=t;return t.children?na("span",{...o,className:n(As,t.className,{[`k-input-suffix-${e}`]:e}),children:t.children}):na(Ps,{})};import{jsx as kd}from"react/jsx-runtime";import{jsx as Id}from"react/jsx-runtime";import{jsx as zs}from"react/jsx-runtime";var aa="k-input-separator",Es={direction:"vertical"},tt=t=>{let{direction:e=Es.direction,...o}=t;return zs("span",{...o,className:n(aa,t.className,{[`${aa}-${e}`]:e})})};import{jsx as ra,jsxs as Ks}from"react/jsx-runtime";var sa="k-color-preview",Os=[],ws={},yt=t=>{let{color:e,iconName:o,...r}=t;return Ks("span",{...r,className:n(t.className,sa,{"k-icon-color-preview":o,"k-no-color":!e}),children:[o&&ra(C,{icon:o,className:"k-color-preview-icon"}),ra("span",{className:"k-color-preview-mask",style:{backgroundColor:e}})]})};yt.states=Os;yt.options=ws;yt.className=sa;import{jsx as ia}from"react/jsx-runtime";var la="k-animation-container",Rs=[],Hs={},pa={positionMode:"absolute"},Tt=t=>{let{positionMode:e=pa.positionMode,animationStyle:o,offset:r,...p}=t;return ia("div",{...p,style:{...r,...t.style},className:n(t.className,la,"k-animation-container-shown",{"k-animation-container-fixed":e==="fixed"}),children:ia("div",{className:"k-child-animation-container",style:o,children:t.children})})};Tt.states=Rs;Tt.options=Hs;Tt.className=la;Tt.defaultOptions=pa;import{jsx as ca}from"react/jsx-runtime";var ma="k-popup",Gs=[],Ds={},da={positionMode:"absolute"},R=t=>{let{offset:e,positionMode:o=da.positionMode,animationStyle:r,...p}=t;return ca(Tt,{positionMode:o,offset:e,animationStyle:r,children:ca("div",{...p,className:n(t.className,ma),children:t.children})})};R.states=Gs;R.options=Ds;R.className=ma;R.defaultOptions=da;import{jsx as Vs}from"react/jsx-runtime";var $s="k-actionsheet-footer",ua={alignment:"stretched",orientation:"horizontal"},Re=t=>{let{alignment:e=ua.alignment,orientation:o=ua.orientation,template:r,as:p=r?"div":D,...c}=t;return Vs(p,{...c,...!r&&{alignment:e,orientation:o},className:n(t.className,$s),children:t.children})};import{jsx as He,jsxs as Xs}from"react/jsx-runtime";var fa="k-searchbox",_s=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading],Fs={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Fo={showIcon:!0,icon:"search",size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode},ht=t=>{let{value:e,placeholder:o,size:r,rounded:p,fillMode:c,hover:i,focus:u,valid:b,invalid:x,required:N,loading:g,disabled:m,showIcon:S=Fo.showIcon,icon:v=Fo.icon,...M}=t;return Xs(P,{...M,size:r,rounded:p,fillMode:c,hover:i,focus:u,valid:b,invalid:x,required:N,loading:g,disabled:m,className:n(t.className,fa),children:[S&&He(C,{className:"k-input-icon",icon:v}),He(pt,{placeholder:o,value:e}),He(Q,{...t}),He(q,{...t}),He(lt,{...t})]})};ht.states=_s;ht.options=Fs;ht.className=fa;ht.defaultOptions=Fo;import{jsx as vu}from"react/jsx-runtime";import{Fragment as ba,jsx as At,jsxs as Xo}from"react/jsx-runtime";var xa="k-textbox",Js=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Us={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Ft={showClearButton:!0,showValidationIcon:!0,size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode,separators:!0},Bt=t=>{let{size:e=Ft.size,rounded:o=Ft.rounded,fillMode:r=Ft.fillMode,separators:p=Ft.separators,showClearButton:c=Ft.showClearButton,showValidationIcon:i=Ft.showValidationIcon,prefix:u,suffix:b,type:x,value:N,placeholder:g,hover:m,focus:S,valid:v,invalid:M,required:y,loading:T,disabled:E,readonly:G,...ut}=t;return Xo(P,{...ut,size:e,rounded:o,fillMode:r,hover:m,focus:S,valid:v,invalid:M,required:y,loading:T,disabled:E,readonly:G,className:n(t.className,xa),children:[u&&Xo(ba,{children:[At(Z,{children:u}),p&&At(tt,{})]}),At(pt,{placeholder:g,value:N,type:x}),i&&At(q,{valid:v,invalid:M,loading:T,disabled:E}),At(Q,{loading:T,disabled:E}),c&&At(lt,{loading:T,disabled:E,readonly:G,value:N}),b&&Xo(ba,{children:[p&&At(tt,{}),At(j,{children:b})]})]})};Bt.states=Js;Bt.options=Us;Bt.className=xa;Bt.defaultOptions=Ft;import{jsx as Pu}from"react/jsx-runtime";import{Fragment as Ru,jsx as Ku}from"react/jsx-runtime";import{Fragment as Fu,jsx as _u}from"react/jsx-runtime";import{jsx as Pt,jsxs as Jo}from"react/jsx-runtime";var Na="k-actionsheet-titlebar",qs={},et=t=>{let{title:e,subtitle:o,actionsStart:r,actionsEnd:p,filter:c,input:i,inputValue:u,inputPlaceholder:b,adaptive:x,children:N,...g}=t;return Jo("div",{...g,className:n(t.className,Na),children:[Jo("div",{className:"k-actionsheet-titlebar-group",children:[r&&Pt("div",{className:"k-actionsheet-actions",children:r}),!N&&Jo("div",{className:"k-actionsheet-title",children:[e&&Pt("div",{className:"k-text-center",children:e}),o&&Pt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&Pt("div",{className:"k-actionsheet-title",children:N}),p&&Pt("div",{className:"k-actionsheet-actions",children:p})]}),(i||c)&&Pt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:i?Pt(Bt,{value:u,placeholder:b,size:x?"large":"medium"}):Pt(ht,{placeholder:"Filter",size:x?"large":"medium"})})]})};et.className=Na;et.defaultOptions=qs;import{jsx as Uo,jsxs as Zs}from"react/jsx-runtime";var qo="k-actionsheet-view",Ws=[],Ys={},Qs={},se=t=>{let{adaptive:e,animated:o,children:r,header:p,footer:c,...i}=t,u=p?.type===et&&Uo(et,{adaptive:e,...p?.props}),b=c?.type===Re&&Uo(Re,{...c?.props});return Zs("div",{...i,className:n(t.className,qo,{[`${qo}-animated`]:o}),children:[u,Uo("div",{className:"k-actionsheet-content",children:r}),b]})};se.states=Ws;se.options=Ys;se.className=qo;se.defaultOptions=Qs;import{jsx as uo,jsxs as ei}from"react/jsx-runtime";var Sa="k-actionsheet",js=[],ti={},Ge={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ct=t=>{let{side:e=Ge.side,fullscreen:o=Ge.fullscreen,adaptive:r=Ge.adaptive,overlay:p=Ge.overlay,template:c,children:i,header:u,footer:b,...x}=t;return ei("div",{className:"k-actionsheet-container",children:[p&&uo("div",{className:"k-overlay"}),uo(Tt,{animationStyle:{[`${o===!0?"top":e}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${e==="top"||e==="bottom"?"width":null}`]:"100%",[`${e==="left"||e==="right"?"height":null}`]:"100%"},children:uo("div",{...x,className:n(t.className,Sa,{[`k-actionsheet-${e}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":r}),children:c||uo(se,{header:u,footer:b,adaptive:r,...t,children:i})})})]})};ct.states=js;ct.options=ti;ct.className=Sa;ct.defaultOptions=Ge;import{jsx as bf}from"react/jsx-runtime";import{Fragment as ni,jsx as De,jsxs as Wo}from"react/jsx-runtime";var Yo="k-actionsheet-item",oi=[a.hover,a.focus,a.selected,a.disabled],Qo=t=>{let{iconName:e,text:o,description:r,hover:p,focus:c,selected:i,disabled:u,...b}=t;return Wo("span",{...b,className:n(t.className,Yo,L(Yo,{hover:p,focus:c,selected:i,disabled:u})),children:[!t.children&&De(ni,{children:Wo("span",{className:"k-actionsheet-action",children:[e&&De("span",{className:"k-icon-wrap",children:De(C,{className:"k-actionsheet-item-icon",icon:e})}),Wo("span",{className:"k-actionsheet-item-text",children:[o&&De("span",{className:"k-actionsheet-item-title",children:o}),r&&De("span",{className:"k-actionsheet-item-description",children:r})]})]})}),t.children]})};Qo.states=oi;Qo.className=Yo;import{jsx as Cf,jsxs as Mf}from"react/jsx-runtime";import{jsx as Af}from"react/jsx-runtime";import{jsx as zf}from"react/jsx-runtime";import{jsx as Rf}from"react/jsx-runtime";import{jsx as ie,jsxs as Zo}from"react/jsx-runtime";var $e="k-slider",ai=[a.hover,a.focus,a.active,a.disabled,a.readonly],ri={},Et={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},ot=t=>{let{type:e=Et.type,orientation:o=Et.orientation,readonly:r=Et.readonly,disabled:p=Et.disabled,handlePosition:c=Et.handlePosition,showButtons:i=Et.showButtons,showTicks:u=Et.showTicks,hover:b,focus:x,active:N,trackStyle:g,dir:m,...S}=t,v,M;return o==="horizontal"?(v=m==="rtl"?"caret-alt-left":"caret-alt-right",M=m==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(v="caret-alt-up",M="caret-alt-down"),Zo("div",{...S,className:n($e,t.className,L($e,{readonly:r,disabled:p}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":e==="gradient"}),dir:m,children:[i&&ie(h,{className:"k-button-decrease",rounded:"full",icon:M}),Zo("div",{className:"k-slider-track-wrap",children:[u&&ie("ul",{className:"k-reset k-slider-items",children:t.children}),Zo("div",{className:"k-slider-track",style:g,children:[ie("div",{className:"k-slider-selection"}),e==="range"&&ie("span",{className:n("k-draghandle","k-draghandle-start",L($e,{hover:b,focus:x,active:N}))}),ie("span",{className:n("k-draghandle",`k-draghandle-${c}`,L($e,{hover:b,focus:x,active:N}))})]})]}),i&&ie(h,{className:"k-button-increase",rounded:"full",icon:v})]})};ot.states=ai;ot.options=ri;ot.className=$e;ot.defaultOptions=Et;import{jsx as ga}from"react/jsx-runtime";var ka="k-tick",si=[],ii={},La={label:!1},zt=t=>{let{style:e,label:o=La.label,orientation:r,large:p,text:c,...i}=t;return ga("li",{...i,className:n(t.className,ka,{[`k-tick-${r}`]:r,"k-tick-large":p}),style:e,children:o&&ga("span",{className:"k-label",children:c})})};zt.states=si;zt.options=ii;zt.className=ka;zt.defaultOptions=La;import{Fragment as sb,jsx as rb,jsxs as ib}from"react/jsx-runtime";import{Fragment as db,jsx as mb,jsxs as ub}from"react/jsx-runtime";import{Fragment as Nb,jsx as hb,jsxs as Sb}from"react/jsx-runtime";import{Fragment as Cb,jsx as Lb,jsxs as Mb}from"react/jsx-runtime";import{jsx as li}from"react/jsx-runtime";var jo=t=>li(ot,{type:"gradient",showButtons:!1,showTicks:!1,...t});import{jsx as pi}from"react/jsx-runtime";var tn=t=>pi(ot,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...t});import{jsx as Ca,jsxs as di}from"react/jsx-runtime";var Ma="k-spin-button",ci=[],mi={size:[s.small,s.medium,s.large],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link]},en={size:s.medium,fillMode:d.solid},le=t=>{let{size:e=en.size,fillMode:o=en.fillMode,...r}=t;return di("span",{...r,className:n(Ma,t.className),children:[Ca(h,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:e,fillMode:o}),Ca(h,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:e,fillMode:o})]})};le.states=ci;le.options=mi;le.className=Ma;le.defaultOptions=en;import{Fragment as Ia,jsx as Nt,jsxs as on}from"react/jsx-runtime";var ya="k-numerictextbox",ui=[a.hover,a.focus,a.valid,a.invalid,a.loading,a.required,a.disabled,a.readonly],fi={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Xt={showSpinButton:!0,showClearButton:!0,size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode,separators:!0},K=t=>{let{size:e=Xt.size,rounded:o=Xt.rounded,fillMode:r=Xt.fillMode,separators:p=Xt.separators,showClearButton:c=Xt.showClearButton,showSpinButton:i=Xt.showSpinButton,prefix:u,suffix:b,value:x,placeholder:N,hover:g,focus:m,valid:S,invalid:v,required:M,loading:y,disabled:T,readonly:E,...G}=t;return on(P,{...G,size:e,rounded:o,fillMode:r,hover:g,focus:m,valid:S,invalid:v,required:M,loading:y,disabled:T,readonly:E,className:n(t.className,ya),children:[u&&on(Ia,{children:[Nt(Z,{children:u}),p&&Nt(tt,{})]}),Nt(pt,{placeholder:N,value:x}),Nt(q,{valid:S,invalid:v,loading:y,disabled:T}),Nt(Q,{loading:y,disabled:T}),c&&Nt(lt,{loading:y,disabled:T,readonly:E,value:x}),b&&on(Ia,{children:[p&&Nt(tt,{}),Nt(j,{children:b})]}),i&&Nt(le,{className:"k-input-spinner",size:e,fillMode:r})]})};K.states=ui;K.options=fi;K.className=ya;K.defaultOptions=Xt;import{jsx as ex}from"react/jsx-runtime";import{jsx as xi}from"react/jsx-runtime";var bi="k-no-data",Ve=t=>xi("span",{className:n(bi,t.className),children:t.children});import{jsx as pe,jsxs as Aa}from"react/jsx-runtime";var nn="k-list",hi=[],Ni={size:[s.small,s.medium,s.large]},Ba={size:s.medium},z=t=>{let{size:e=Ba.size,virtualization:o,children:r,optionLabel:p,customValue:c,screenReaders:i,...u}=t,b,x,N,g,m=[];return r?r.map((S,v)=>{S.type===$?(S.props.root===!0?(b=S.props.label,S.props.children.map((M,y)=>{m.push(pe(I,{...M.props},`optChild-${y}-${new Date().getTime()}`))})):S.props.children.forEach((M,y)=>{let T="";y===0&&(T=S.props.label),m.push(pe(I,{className:y===0?"k-first":"",...M.props,groupLabel:T},`groupLabel-${y}-${new Date().getTime()}`))}),x=pe($,{label:b,virtualization:o,children:m})):S.type===I&&(m.push(pe(I,{...S.props},`${S.type}-${v}`)),N=pe(ce,{virtualization:o,children:m}),i&&(g=Aa(Ve,{className:"k-sr-only",children:[m.length," items found."]})))}):g=pe(Ve,{children:"No data found."}),Aa("div",{...u,className:n(t.className,nn,k(nn,{size:e}),{"k-virtual-list":o}),children:[p,c,x,N,g]})};z.states=hi;z.options=Ni;z.className=nn;z.defaultOptions=Ba;import{jsx as Jt,jsxs as gi}from"react/jsx-runtime";var an="k-list",Si=[],vi={size:[s.small,s.medium,s.large]},Pa={size:s.medium},Ut=t=>{let{size:e=Pa.size,virtualization:o,children:r,...p}=t,c,i,u,b=[];return r?r.map((x,N)=>{x.type===$?(x.props.root===!0?(c=x.props.label,x.props.children.map((g,m)=>{b.push(Jt(I,{...g.props},`optChild-${m}-${new Date().getTime()}`))})):(b.push(Jt(Ea,{...x.props,children:x.props.label},`listChild-${N}`)),x.props.children.map((g,m)=>{b.push(Jt(I,{...g.props},`fwOptChild-${m}-${new Date().getTime()}`))})),i=Jt($,{label:c,virtualization:o,children:b})):x.type===I&&(b.push(Jt(I,{...x.props},`${x.type}-${N}`)),u=Jt(ce,{virtualization:o,children:b}))}):u=Jt(Ve,{children:"No data found."}),gi("div",{...p,className:n(t.className,an,k(an,{size:e}),{"k-virtual-list":o}),children:[i,u]})};Ut.states=Si;Ut.options=vi;Ut.className=an;Ut.defaultOptions=Pa;import{jsx as za}from"react/jsx-runtime";var fo="k-checkbox",ki=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.checked,a.indeterminate],Li={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full]},rn={size:s.medium,rounded:f.medium},Ot=t=>{let{id:e,checked:o,indeterminate:r,hover:p,focus:c,disabled:i,invalid:u,valid:b,required:x,size:N=rn.size,rounded:g=rn.rounded,...m}=t;return za("span",{className:"k-checkbox-wrap",children:za("input",{...m,id:e,type:"checkbox",defaultChecked:o,required:x,className:n(t.className,fo,k(fo,{size:N,rounded:g}),L(fo,{hover:p,focus:c,disabled:i,invalid:u,valid:b,indeterminate:r,checked:o}))})})};Ot.states=ki;Ot.options=Li;Ot.className=fo;Ot.defaultOptions=rn;import{jsx as Ii}from"react/jsx-runtime";var Oa="k-checkbox-list",Ci=[],Mi={},wa={layout:"vertical"},me=t=>{let{layout:e=wa.layout,...o}=t;return Ii("ul",{...o,className:n(t.className,Oa,{[`k-list-${e}`]:e}),children:t.children})};me.states=Ci;me.options=Mi;me.className=Oa;me.defaultOptions=wa;import{jsx as Bi}from"react/jsx-runtime";var Ka="k-checkbox-list-item",yi=[],Ti={},Ai={},de=t=>{let{...e}=t;return Bi("li",{...e,className:n(t.className,Ka),children:t.children})};de.states=yi;de.options=Ti;de.className=Ka;de.defaultOptions=Ai;import{Fragment as Bx,jsx as Ax,jsxs as Px}from"react/jsx-runtime";import{Fragment as Kx,jsx as wx,jsxs as Rx}from"react/jsx-runtime";import{Fragment as Vx,jsx as $x,jsxs as _x}from"react/jsx-runtime";import{Fragment as qx,jsx as Ux,jsxs as Wx}from"react/jsx-runtime";import{jsx as jx}from"react/jsx-runtime";import{jsx as nh}from"react/jsx-runtime";import{jsx as bo,jsxs as Oi}from"react/jsx-runtime";var ln="k-list-item",Pi=[a.hover,a.focus,a.selected,a.disabled],Ei={},zi={},I=t=>{let{text:e,groupLabel:o,group:r,showIcon:p,iconName:c,showCheckbox:i,checked:u,hover:b,focus:x,selected:N,disabled:g,...m}=t,S=e||t.children;return Oi("li",{...m,className:n(t.className,r?"k-list-group-item":ln,L(ln,{hover:b,focus:x,disabled:g,selected:N})),children:[i&&bo(Ot,{checked:u}),p&&bo(C,{icon:c}),bo("span",{className:"k-list-item-text",children:S}),o&&o!==""&&bo("div",{className:"k-list-item-group-label",children:o})]})};I.states=Pi;I.options=Ei;I.className=ln;I.defaultOptions=zi;import{jsx as pn,jsxs as Ki}from"react/jsx-runtime";var wi="k-list-content",ce=t=>{let{virtualization:e,...o}=t;return Ki("div",{...o,className:n(wi,t.className),children:[pn("ul",{className:n("k-list-ul"),children:t.children}),e&&pn("div",{className:"k-height-container",children:pn("div",{})})]})};import{jsx as Ra}from"react/jsx-runtime";var Ri="k-list-group-sticky-header",Ha=t=>Ra("div",{className:n(Ri,t.className),children:Ra("div",{className:"k-list-header-text",children:t.children})});import{Fragment as Hi,jsx as Ga,jsxs as Gi}from"react/jsx-runtime";var $=t=>{let{virtualization:e,label:o}=t;return Gi(Hi,{children:[o&&Ga(Ha,{children:o}),t.children&&Ga(ce,{virtualization:e,children:t.children})]})};import{jsx as Da}from"react/jsx-runtime";var Di="k-list-group-item",Ea=t=>Da("li",{className:n(Di,t.className),children:Da("span",{className:"k-list-item-text",children:t.children})});import{jsx as Fi}from"react/jsx-runtime";var cn="k-list-optionlabel",$i=[a.hover,a.focus,a.selected,a.disabled],Vi={},_i={},xo=t=>{let{text:e,hover:o,focus:r,selected:p,disabled:c,...i}=t;return Fi("div",{...i,className:n(cn,L(cn,{hover:o,focus:r,selected:p,disabled:c})),children:e})};xo.states=$i;xo.options=Vi;xo.className=cn;xo.defaultOptions=_i;import{jsx as qi}from"react/jsx-runtime";var mn="k-list-custom-value",Xi=[a.hover,a.focus,a.selected,a.disabled],Ji={},Ui={},wt=t=>{let{text:e,hover:o,focus:r,selected:p,disabled:c,...i}=t;return qi("div",{...i,className:n(mn,L(mn,{hover:o,focus:r,selected:p,disabled:c})),children:e})};wt.states=Xi;wt.options=Ji;wt.className=mn;wt.defaultOptions=Ui;import{jsx as Dh}from"react/jsx-runtime";import{jsx as Fh}from"react/jsx-runtime";import{jsx as qh,jsxs as Wh}from"react/jsx-runtime";import{jsx as jh,jsxs as tN}from"react/jsx-runtime";import{jsx as aN}from"react/jsx-runtime";import{jsx as lN,jsxs as pN}from"react/jsx-runtime";import{jsx as uN,jsxs as fN}from"react/jsx-runtime";import{Fragment as Qi,jsx as J,jsxs as dn}from"react/jsx-runtime";var $a="k-dropdownlist",Wi=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Yi={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},ue={showValue:!0,arrowIconName:"caret-alt-down",size:s.medium,rounded:f.medium,fillMode:d.solid},Kt=t=>{let{size:e=ue.size,rounded:o=ue.rounded,fillMode:r=ue.fillMode,arrowIconName:p=ue.arrowIconName,showValue:c=ue.showValue,valueIconName:i,prefix:u,suffix:b,value:x,placeholder:N,hover:g,focus:m,valid:S,invalid:v,required:M,loading:y,disabled:T,readonly:E,popup:G,opened:ut,adaptive:Ae,adaptiveSettings:Be,adaptiveTitle:zo,adaptiveSubtitle:Oo,adaptiveFilter:Or,...wr}=t;return dn(Qi,{children:[dn(it,{...wr,size:e,rounded:o,fillMode:r,hover:g,focus:m,valid:S,invalid:v,required:M,loading:y,disabled:T,readonly:E,className:n(t.className,$a,{"k-icon-picker":!c&&i}),children:[J(Z,{children:u}),J(_t,{placeholder:N,value:x,showValue:c,valueIconName:i}),J(q,{valid:S,invalid:v,loading:y,disabled:T}),J(Q,{loading:y,disabled:T}),J(j,{children:b}),J(h,{className:"k-input-button",icon:p,rounded:null,size:t.size,fillMode:t.fillMode})]}),ut&&G&&J(R,{className:"k-list-container k-dropdownlist-popup",children:G}),Ae&&J(ct,{adaptive:!0,...Be,header:J(et,{actionsEnd:J(h,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Or,inputValue:x,inputPlaceholder:N,title:zo,subtitle:Oo}),children:J("div",{className:"k-list-container",children:dn(z,{size:"large",children:[J(I,{text:"List item"}),J(I,{text:"List item"}),J(I,{text:"List item"})]})})})]})};Kt.states=Wi;Kt.options=Yi;Kt.className=$a;Kt.defaultOptions=ue;import{jsx as FN}from"react/jsx-runtime";import{jsx as WN,jsxs as YN}from"react/jsx-runtime";import{Fragment as aS,jsx as oS,jsxs as nS}from"react/jsx-runtime";import{jsx as lS}from"react/jsx-runtime";import{jsx as uS,jsxs as fS}from"react/jsx-runtime";import{jsx as SS,jsxs as vS}from"react/jsx-runtime";import{Fragment as TS,jsx as IS,jsxs as yS}from"react/jsx-runtime";import{Fragment as KS,jsx as OS,jsxs as wS}from"react/jsx-runtime";import{Fragment as ZS,jsx as QS}from"react/jsx-runtime";import{Fragment as rv,jsx as av}from"react/jsx-runtime";import{Fragment as _e,jsx as A,jsxs as w}from"react/jsx-runtime";var Va="k-colorgradient-inputs",Zi=[],ji={size:[s.small,s.medium,s.large]},_a={mode:"rgba",size:s.medium},fe=t=>{let{mode:e=_a.mode,size:o,...r}=t;return w("div",{...r,className:n(Va,"k-hstack"),children:[A("div",{className:"k-vstack",children:A(h,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),e==="rgba"&&w(_e,{children:[w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),A("label",{className:"k-colorgradient-input-label",children:"R"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),A("label",{className:"k-colorgradient-input-label",children:"G"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),A("label",{className:"k-colorgradient-input-label",children:"B"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),A("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),e==="rgb"&&w(_e,{children:[w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"R"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"G"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),e==="hsva"&&w(_e,{children:[w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"H"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"S"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"V"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),A("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),e==="hsv"&&w(_e,{children:[w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"H"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"S"})]}),w("div",{className:"k-vstack",children:[A(K,{showSpinButton:!1,showClearButton:!1,value:"132"}),A("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),e==="hex"&&A(_e,{children:w("div",{className:"k-vstack k-flex-1",children:[A(Bt,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),A("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};fe.states=Zi;fe.options=ji;fe.className=Va;fe.defaultOptions=_a;import{jsx as Wt,jsxs as Yt}from"react/jsx-runtime";var Fa="k-colorgradient-color-contrast",tl=[],el={},ol={},be=()=>Yt("div",{className:n(Fa,"k-vbox"),children:[Yt("div",{className:"k-contrast-ratio",children:[Wt("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),Yt("span",{className:"k-contrast-validation !k-text-success",children:[Wt(C,{icon:"check"}),Wt(C,{icon:"check"})]})]}),Yt("div",{children:[Wt("span",{children:"AA: 4.5"}),Yt("span",{className:"k-contrast-validation !k-text-success",children:["Pass",Wt(C,{icon:"check"})]})]}),Yt("div",{children:[Wt("span",{children:"AAA: 7.0"}),Yt("span",{className:"k-contrast-validation !k-text-error",children:["Fail",Wt(C,{icon:"x"})]})]})]});be.states=tl;be.options=el;be.className=Fa;be.defaultOptions=ol;import{jsx as nt,jsxs as Fe}from"react/jsx-runtime";var ho="k-colorgradient",nl=[a.hover,a.focus,a.readonly,a.disabled],al={size:[s.small,s.medium,s.large]},mt={size:s.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"},Rt=t=>{let{size:e=mt.size,mode:o=mt.mode,readonly:r=mt.readonly,disabled:p=mt.disabled,gradientStyle:c=mt.gradientStyle,dragHandleStyle:i=mt.dragHandleStyle,alphaStyle:u=mt.alphaStyle,alphaStyleHorizontal:b=mt.alphaStyleHorizontal,contrast:x=mt.contrast,dir:N,hover:g,focus:m,hoverHandle:S,focusHandle:v,canvasOrientation:M=mt.canvasOrientation,...y}=t;return Fe("div",{...y,className:n(t.className,ho,k(ho,{size:e}),L(ho,{hover:g,focus:m,readonly:r,disabled:p})),dir:N,children:[!M||M==="horizontal"&&Fe("div",{className:"k-colorgradient-canvas k-hstack",children:[nt("div",{className:"k-hsv-rectangle",style:c,children:nt("div",{className:"k-hsv-gradient",children:nt("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":S,"k-focus":v}),style:i})})}),Fe("div",{className:"k-hsv-controls k-hstack",children:[nt(tn,{className:"k-hue-slider",hover:S,focus:v}),o!=="rgb"&&o!=="hsv"&&nt(tn,{className:"k-alpha-slider",hover:S,focus:v,trackStyle:u})]})]}),M==="vertical"&&Fe("div",{className:"k-colorgradient-canvas k-vstack",children:[nt("div",{className:"k-hsv-rectangle",style:c,children:nt("div",{className:"k-hsv-gradient",children:nt("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":S,"k-focus":v}),style:i})})}),Fe("div",{className:"k-hsv-controls k-vstack",children:[nt(jo,{className:"k-hue-slider",hover:S,focus:v}),o!=="rgb"&&o!=="hsv"&&nt(jo,{className:"k-alpha-slider",hover:S,focus:v,trackStyle:b})]})]}),nt(fe,{mode:t.mode,size:e}),x&&nt(be,{})]})};Rt.states=nl;Rt.options=al;Rt.className=ho;Rt.defaultOptions=mt;import{jsx as Bv}from"react/jsx-runtime";import{jsx as Ov}from"react/jsx-runtime";import{jsx as rl}from"react/jsx-runtime";var Xa=t=>rl("tr",{children:t.children});import{jsx as ll}from"react/jsx-runtime";var un="k-colorpalette-tile",sl=[a.hover,a.focus,a.selected],il={},Xe=t=>{let{color:e,tileSize:o,hover:r,focus:p,selected:c,...i}=t,u={backgroundColor:e,width:o?o+"px":"",height:o?o+"px":""};return ll("td",{...i,className:n(t.className,un,L(un,{hover:r,focus:p,selected:c})),style:u})};Xe.states=sl;Xe.options=il;Xe.className=un;import{jsx as Je}from"react/jsx-runtime";var No="k-colorpalette",pl=[a.disabled],cl={size:[s.small,s.medium,s.large]},fn={columns:10,size:s.medium},xe=t=>{let{size:e=fn.size,palette:o,columns:r=fn.columns,tileSize:p,disabled:c,...i}=t,u=[];if(o){let b=r||o.columns,x=o.colors?o.colors:o;Array.isArray(x)&&Array.from({length:Math.ceil(x.length/b)},(N,g)=>{let m=[];x.slice(g*b,(g+1)*b).map((v,M)=>{m.push(Je(Xe,{color:v,tileSize:p},M))});let S=Je(Xa,{children:m},g);u.push(S)})}return Je("div",{...i,className:n(t.className,No,L(No,{disabled:c}),k(No,{size:e})),children:Je("table",{className:"k-colorpalette-table",children:Je("tbody",{children:u.length>0?u:t.children})})})};xe.states=pl;xe.options=cl;xe.className=No;xe.defaultOptions=fn;var bn={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 ng}from"react/jsx-runtime";import{jsx as at,jsxs as he}from"react/jsx-runtime";var So="k-coloreditor",ml=[a.focus],dl={size:[s.small,s.medium,s.large]},Ne={size:s.medium,view:"gradient",palette:bn.office,actionButtons:!0,canvasOrientation:"horizontal"},ft=t=>{let{size:e=Ne.size,view:o=Ne.view,palette:r=Ne.palette,color:p,currentColor:c,focus:i,focusView:u,dir:b,group:x,actionButtons:N=Ne.actionButtons,canvasOrientation:g=Ne.canvasOrientation,...m}=t;return he("div",{...m,className:n(t.className,"k-flatcolorpicker",So,k(So,{size:e}),L(So,{focus:i})),dir:b,children:[he("div",{className:"k-coloreditor-header k-hstack",children:[at("div",{className:"k-coloreditor-header-actions k-hstack",children:x&&he(O,{fillMode:"flat",children:[at(h,{className:"k-group-start",size:e,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),at(h,{className:"k-group-end",size:e,fillMode:"flat",icon:"palette",selected:o==="palette"})]})}),at("div",{className:"k-spacer"}),he("div",{className:"k-coloreditor-header-actions k-hstack",children:[at(h,{fillMode:"flat",icon:"droplet-slash",size:e}),he("div",{className:"k-coloreditor-preview k-vstack",children:[at(yt,{className:"k-coloreditor-preview-color",color:p}),at(yt,{className:"k-coloreditor-current-color",color:c})]})]})]}),at("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?at(Rt,{focus:u,size:e,canvasOrientation:g}):at(xe,{palette:r,size:e})}),N&&he(D,{className:"k-coloreditor-footer",alignment:"start",children:[at(h,{themeColor:"primary",size:e,className:"k-coloreditor-apply",children:"Apply"}),at(h,{className:"k-coloreditor-cancel",size:e,children:"Cancel"})]})]})};ft.states=ml;ft.options=dl;ft.className=So;ft.defaultOptions=Ne;import{jsx as kg}from"react/jsx-runtime";import{jsx as Ig}from"react/jsx-runtime";import{jsx as Bg}from"react/jsx-runtime";import{jsx as Og}from"react/jsx-runtime";import{Fragment as bl,jsx as rt,jsxs as hn}from"react/jsx-runtime";var Ja="k-colorpicker",ul=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled],fl={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},Ue={arrowIconName:"caret-alt-down",size:it.defaultOptions.size,rounded:it.defaultOptions.rounded,fillMode:it.defaultOptions.fillMode},St=t=>{let{size:e=Ue.size,rounded:o=Ue.rounded,fillMode:r=Ue.fillMode,arrowIconName:p=Ue.arrowIconName,prefix:c,suffix:i,value:u,placeholder:b,hover:x,focus:N,valid:g,invalid:m,required:S,disabled:v,valueIconName:M,popup:y,opened:T,adaptive:E,adaptiveSettings:G,adaptiveTitle:ut,adaptiveSubtitle:Ae,...Be}=t;return hn(bl,{children:[hn(it,{...Be,size:e,rounded:o,fillMode:r,hover:x,focus:N,valid:g,invalid:m,required:S,disabled:v,className:n(t.className,Ja,"k-icon-picker"),children:[rt(Z,{children:c}),rt(_t,{placeholder:b,value:u,showValue:!1,valueIcon:rt(yt,{className:"k-value-icon",color:u,iconName:M}),valueIconName:M}),rt(j,{children:i}),rt(h,{className:"k-input-button",icon:p,rounded:null,size:e,fillMode:r})]}),T&&y&&rt(R,{className:"k-colorpicker-popup",children:y}),E&&rt(ct,{adaptive:!0,...G,header:rt(et,{actionsEnd:rt(h,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),title:ut,subtitle:Ae}),footer:hn(Re,{children:[rt(h,{text:"Cancel",size:"large",themeColor:"base"}),rt(h,{text:"Set",size:"large",themeColor:"primary"})]}),children:rt(ft,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};St.states=ul;St.options=fl;St.className=Ja;St.defaultOptions=Ue;import{jsx as tk}from"react/jsx-runtime";import{jsx as rk}from"react/jsx-runtime";import{jsx as ck}from"react/jsx-runtime";import{jsx as fk}from"react/jsx-runtime";import{jsx as Nk}from"react/jsx-runtime";import{jsx as kk}from"react/jsx-runtime";import{Fragment as Nn,jsx as H,jsxs as qe}from"react/jsx-runtime";var Ua="k-combobox",hl=[a.hover,a.focus,a.valid,a.invalid,a.loading,a.required,a.disabled,a.readonly],Nl={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},We={size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode,separators:!0},Qt=t=>{let{size:e=We.size,rounded:o=We.rounded,fillMode:r=We.fillMode,separators:p=We.separators,prefix:c,suffix:i,value:u,placeholder:b,hover:x,focus:N,valid:g,invalid:m,required:S,loading:v,disabled:M,popup:y,opened:T,readonly:E,adaptive:G,adaptiveSettings:ut,adaptiveTitle:Ae,adaptiveSubtitle:Be,adaptiveCustomValue:zo,...Oo}=t;return qe(Nn,{children:[qe(P,{...Oo,size:e,rounded:o,fillMode:r,hover:x,focus:N,valid:g,invalid:m,required:S,loading:v,disabled:M,readonly:E,className:n(t.className,Ua),children:[c&&qe(Nn,{children:[H(Z,{children:c}),p&&H(tt,{})]}),H(pt,{placeholder:b,value:u}),H(q,{valid:g,invalid:m,loading:v,disabled:M}),H(Q,{loading:v,disabled:M}),H(lt,{loading:v,disabled:M,readonly:E,value:u}),i&&qe(Nn,{children:[p&&H(tt,{}),H(j,{children:i})]}),H(h,{className:"k-input-button",icon:"caret-alt-down",rounded:null,size:e,fillMode:r})]}),T&&y&&H(R,{className:"k-list-container k-combobox-popup",children:y}),G&&H(ct,{adaptive:!0,...ut,header:H(et,{actionsEnd:H(h,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),input:!0,inputValue:u,inputPlaceholder:b,title:Ae,subtitle:Be}),children:H("div",{className:"k-list-container",children:qe(z,{customValue:zo?H(wt,{text:`Use "${u}"`}):void 0,size:"large",children:[H(I,{text:"List item"}),H(I,{text:"List item"}),H(I,{text:"List item"})]})})})]})};Qt.states=hl;Qt.options=Nl;Qt.className=Ua;Qt.defaultOptions=We;import{jsx as _k}from"react/jsx-runtime";import{jsx as qk,jsxs as Wk}from"react/jsx-runtime";import{jsx as tL,jsxs as eL}from"react/jsx-runtime";import{jsx as sL,jsxs as iL}from"react/jsx-runtime";import{jsx as mL}from"react/jsx-runtime";import{Fragment as hL,jsx as xL}from"react/jsx-runtime";import{Fragment as LL,jsx as kL}from"react/jsx-runtime";import{jsx as TL,jsxs as AL}from"react/jsx-runtime";import{Fragment as KL,jsx as OL,jsxs as wL}from"react/jsx-runtime";import{Fragment as gl,jsx as qa,jsxs as kl}from"react/jsx-runtime";var Wa="k-menu-button",Sl=[a.hover,a.focus,a.active,a.selected,a.disabled],vl={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link],themeColor:[l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.light,l.dark,l.inverse]},Zt={size:s.medium,rounded:f.medium,fillMode:d.solid,themeColor:l.base,showArrow:!0,arrowIconName:"caret-alt-down"},st=t=>{let{size:e=Zt.size,rounded:o=Zt.rounded,fillMode:r=Zt.fillMode,themeColor:p=Zt.themeColor,hover:c,focus:i,active:u,selected:b,disabled:x,icon:N,text:g,showArrow:m=Zt.showArrow,arrowIconName:S=Zt.arrowIconName,popup:v,opened:M,...y}=t;return kl(gl,{children:[qa(h,{...y,className:n(t.className,Wa),text:g,size:e,rounded:o,fillMode:r,themeColor:p,hover:c,focus:i,active:u,selected:b,disabled:x,icon:N,showArrow:m,arrowIconName:S}),M&&v&&qa(R,{className:"k-menu-popup",children:v})]})};st.states=Sl;st.options=vl;st.className=Wa;st.defaultOptions=Zt;import{jsx as oC}from"react/jsx-runtime";import{jsx as sC}from"react/jsx-runtime";import{jsx as cC}from"react/jsx-runtime";import{Fragment as Ml,jsx as Se,jsxs as Ya}from"react/jsx-runtime";var vn="k-menu-item",Ll=[a.hover,a.focus,a.active,a.selected,a.disabled],Cl={},Qa={iconPosition:"before"},vt=t=>{let{hover:e,focus:o,active:r,selected:p,disabled:c,icon:i,text:u,first:b,last:x,showArrow:N,arrowIconName:g,iconPosition:m=Qa.iconPosition,dir:S,children:v,...M}=t,y=Se(Ml,{});v&&v.forEach(E=>{if(E.type==="MenuItemContent"){y.props.children.push(E);return}});let T=g;return T||(T=S==="rtl"?"caret-alt-left":"caret-alt-right"),Ya("li",{...M,className:n(t.className,vn,"k-item",L(vn,{focus:o,disabled:c,hover:e,active:r,selected:p}),{"k-first":b,"k-last":x}),children:[Ya("span",{className:n("k-link k-menu-link"),children:[i&&m==="before"&&Se(C,{className:"k-menu-link-icon",icon:i}),Se("span",{className:"k-menu-link-text",children:u}),i&&m==="after"&&Se(C,{className:"k-menu-link-icon",icon:i}),N&&Se("span",{className:"k-menu-expand-arrow",children:Se(C,{icon:T})})]}),y]})};vt.states=Ll;vt.options=Cl;vt.className=vn;vt.defaultOptions=Qa;import{Fragment as Tl,jsx as ve,jsxs as Za}from"react/jsx-runtime";var gn="k-menu-item",Il=[a.hover,a.focus,a.active,a.selected,a.disabled],yl={},kn={dir:"ltr",iconPosition:"before"},bt=t=>{let{hover:e,focus:o,active:r,selected:p,disabled:c,icon:i,text:u,first:b,last:x,showArrow:N,arrowIconName:g,iconPosition:m=kn.iconPosition,dir:S=kn.dir,children:v,popup:M,...y}=t,T=ve(Tl,{});v&&v.forEach(G=>{if(G.type==="MenuListItemContent"){T.props.children.push(G);return}});let E=g;return E||(E=S==="rtl"?"caret-alt-left":"caret-alt-right"),Za("li",{...y,className:n(t.className,gn,"k-item",L(gn,{focus:o,disabled:c}),{"k-first":b,"k-last":x}),children:[Za("span",{className:n("k-link k-menu-link",L("k-menu-link",{hover:e,active:r,selected:p,disabled:c})),children:[i&&m==="before"&&ve(C,{className:"k-menu-link-icon",icon:i}),ve("span",{className:"k-menu-link-text",children:u}),i&&m==="after"&&ve(C,{className:"k-menu-link-icon",icon:i}),N&&ve("span",{className:"k-menu-expand-arrow",children:ve(C,{icon:E})})]}),T,M]})};bt.states=Il;bt.options=yl;bt.className=gn;bt.defaultOptions=kn;import{jsx as El}from"react/jsx-runtime";var ja="k-menu-scroll-wrapper",Al=[],Bl={},Pl={},Ye=t=>{let{className:e,children:o,orientation:r,...p}=t;return El("div",{...p,className:n(e,ja,{"k-menu-scroll-wrapper-vertical":r==="vertical"}),children:o})};Ye.states=Al;Ye.options=Bl;Ye.className=ja;Ye.defaultOptions=Pl;var tr=Ye;import{Fragment as Ln,jsx as jt,jsxs as vo}from"react/jsx-runtime";var Cn="k-menu",zl=[],Ol={},go={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},gt=t=>{let{children:e,orientation:o=go.orientation,header:r=go.header,scrollable:p,scrollButtonsPosition:c=go.scrollButtonsPosition,wrapperStyles:i,dir:u,popup:b,...x}=t,N={horizontal:{prev:u!=="rtl"?"left":"right",next:u!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},g=jt("ul",{dir:u,...x,className:n(t.className,"k-reset",Cn,{[`${Cn}-${o}`]:o,"k-header":r}),children:e});return vo(Ln,{children:[p?vo(tr,{orientation:o,style:i,dir:t.dir,children:[c==="start"&&vo(Ln,{children:[jt(h,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${N[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),jt(h,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${N[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),c==="around"&&jt(h,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${N[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),g,c==="end"&&vo(Ln,{children:[jt(h,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${N[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),jt(h,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${N[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),c==="around"&&jt(h,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${N[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}):g,b]})};gt.states=zl;gt.options=Ol;gt.className=Cn;gt.defaultOptions=go;import{jsx as wl}from"react/jsx-runtime";var Mn="k-separator",er={orientation:"horizontal"},Qe=t=>{let{orientation:e=er.orientation,...o}=t;return wl("li",{...o,className:n(t.className,"k-item",Mn,{[`${Mn}-${e}`]:e})})};Qe.className=Mn;Qe.defaultOptions=er;import{Fragment as zC,jsx as OC}from"react/jsx-runtime";import{jsx as or}from"react/jsx-runtime";import{createElement as Hl}from"react";var In="k-menu-group",Kl=[],Rl={size:[s.small,s.medium,s.large]},yn={size:s.medium,dir:"ltr"},te=t=>{let{children:e,size:o=yn.size,dir:r=yn.dir,...p}=t,c=[];return e&&Array.isArray(e)&&e.map((i,u)=>{i.type===bt?c.push(Hl(bt,{...i.props,dir:r,key:u})):i.type===Qe?c.push(or(Qe,{})):c.push(i)}),or("ul",{...p,className:n(t.className,In,k(In,{size:o})),children:c})};te.states=Kl;te.options=Rl;te.className=In;te.defaultOptions=yn;import{Fragment as FC,jsx as _C,jsxs as XC}from"react/jsx-runtime";import{Fragment as ZC,jsx as YC,jsxs as QC}from"react/jsx-runtime";import{Fragment as nM,jsx as oM,jsxs as aM}from"react/jsx-runtime";import{Fragment as pM,jsx as lM,jsxs as cM}from"react/jsx-runtime";import{Fragment as bM,jsx as fM,jsxs as xM}from"react/jsx-runtime";import{jsx as OM,jsxs as wM}from"react/jsx-runtime";import{Fragment as $l,jsx as Tn,jsxs as nr}from"react/jsx-runtime";var An="k-split-button",Gl=[a.hover,a.focus,a.active,a.selected,a.disabled],Dl={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link],themeColor:[l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.light,l.dark,l.inverse]},ge={size:s.medium,rounded:f.medium,fillMode:d.solid,themeColor:l.base,arrowIconName:"caret-alt-down"},U=t=>{let{size:e=ge.size,rounded:o=ge.rounded,fillMode:r=ge.fillMode,themeColor:p=ge.themeColor,hover:c,focus:i,active:u,selected:b,disabled:x,icon:N,text:g,arrowIconName:m=ge.arrowIconName,popup:S,opened:v,...M}=t;return nr($l,{children:[nr("div",{...M,className:n(t.className,An,"k-button-group",k(An,{rounded:o})),children:[Tn(h,{text:g,icon:N,size:e,rounded:o,fillMode:r,themeColor:p,hover:c,focus:i,active:u,selected:b,disabled:x,children:t.children}),Tn(h,{className:"k-split-button-arrow",icon:m,size:e,rounded:o,fillMode:r,disabled:x})]}),v&&S&&Tn(R,{className:"k-menu-popup",children:S})]})};U.states=Gl;U.options=Dl;U.className=An;U.defaultOptions=ge;var Bn=U;import{jsx as _l}from"react/jsx-runtime";var Vl="k-toolbar-separator",ee=t=>_l("div",{className:n(Vl,t.className,"k-separator")});import{Fragment as Pn,jsx as B,jsxs as ke}from"react/jsx-runtime";var kt="k-toolbar",Fl=[a.focus],Xl={size:[s.small,s.medium,s.large],fillMode:[d.solid,d.outline,d.flat]},En={size:s.medium,fillMode:d.solid,scrollButtons:"around"},V=t=>{let{size:e=En.size,fillMode:o=En.fillMode,focus:r,resizable:p,scrollable:c,scrollButtons:i,scrollingPosition:u,section:b,...x}=t,N=[],g=(m,S)=>{let v=[];if(m.type===h&&m.props.className&&m.props.className.includes("k-toolbar-overflow-button"))v.push(B(h,{...m.props,className:`${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`));else if(m.type===h)v.push(B(h,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`));else if(m.type===_)v.push(B(_,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`));else if(m.type===X)v.push(B(X,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`));else if(m.type===st)v.push(B(st,{...m.props,className:`k-toolbar-menu-button ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`));else if(m.type===Bn)v.push(B(Bn,{...m.props,className:`k-toolbar-split-button ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`));else if(m.type===O||m.props.className&&m.props.className.includes("k-button-group")){let M=[];(Array.isArray(m.props.children)?m.props.children:[m.props.children]).forEach((T,E)=>{M.push(B(h,{...T.props,className:`${T.props.className?T.props.className:""}`},`${E}-${new Date().getTime()}`))}),v.push(B(O,{...m.props,className:`k-toolbar-button-group ${m.props.className?m.props.className:""}`,children:M},`${S}-${new Date().getTime()}`))}else m.type===Qt?v.push(B(Qt,{...m.props,className:`k-toolbar-combobox ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`)):m.type===Kt?v.push(B(Kt,{...m.props,className:`k-toolbar-dropdownlist ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`)):m.type===St?v.push(B(St,{...m.props,className:`k-toolbar-colorpicker ${m.props.className?m.props.className:""}`},`${S}-${new Date().getTime()}`)):v.push(m);v.forEach(M=>{N.push(M)})};return t.children&&(Array.isArray(t.children)?t.children:[t.children]).forEach((S,v)=>{g(S,v)}),ke("div",{...x,className:n(t.className,kt,k(kt,{size:e,fillMode:o}),L(kt,{focus:r}),{[`${kt}-resizable`]:p,[`${kt}-scrollable`]:c,[`${kt}-scrollable-overlay`]:c&&i==="hidden",[`${kt}-scrollable-${u}`]:u&&u!=="both",[`${kt}-section`]:b}),children:[!c&&N,c&&i==="hidden"&&B("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),c&&i==="start"&&ke(Pn,{children:[ke(O,{children:[B("span",{className:n("k-toolbar-prev","k-button",k("k-button",{size:e,fillMode:o,themeColor:l.base,rounded:f.medium}),"k-icon-button"),children:B(C,{className:"k-button-icon",icon:"caret-alt-left"})}),B("span",{className:n("k-toolbar-next","k-button",k("k-button",{size:e,fillMode:o,themeColor:l.base,rounded:f.medium}),"k-icon-button"),children:B(C,{className:"k-button-icon",icon:"caret-alt-right"})})]}),B(ee,{className:"k-toolbar-button-separator"}),B("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N})]}),c&&i==="end"&&ke(Pn,{children:[B("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),B(ee,{className:"k-toolbar-button-separator"}),ke(O,{children:[B("span",{className:n("k-toolbar-prev","k-button",k("k-button",{size:e,fillMode:o,themeColor:l.base,rounded:f.medium}),"k-icon-button"),children:B(C,{className:"k-button-icon",icon:"caret-alt-left"})}),B("span",{className:n("k-toolbar-next","k-button",k("k-button",{size:e,fillMode:o,themeColor:l.base,rounded:f.medium}),"k-icon-button"),children:B(C,{className:"k-button-icon",icon:"caret-alt-right"})})]})]}),c&&(i==="around"||!i)&&ke(Pn,{children:[B("span",{className:n("k-toolbar-prev","k-button",k("k-button",{size:e,fillMode:o,themeColor:l.base,rounded:f.medium}),"k-icon-button"),children:B(C,{className:"k-button-icon",icon:"caret-alt-left"})}),B(ee,{className:"k-toolbar-button-separator"}),B("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),B(ee,{className:"k-toolbar-button-separator"}),B("span",{className:n("k-toolbar-next","k-button",k("k-button",{size:e,fillMode:o,themeColor:l.base,rounded:f.medium}),"k-icon-button"),children:B(C,{className:"k-button-icon",icon:"caret-alt-right"})})]})]})};V.states=Fl;V.options=Xl;V.className=kt;V.defaultOptions=En;import{jsx as Wl}from"react/jsx-runtime";var zn="k-toolbar-item",Jl=[a.focus],Ul={},ql={},ko=t=>{let{focus:e,...o}=t;return Wl("div",{...o,className:n(t.className,zn,L(zn,{focus:e})),children:t.children})};ko.states=Jl;ko.options=Ul;ko.className=zn;ko.defaultOptions=ql;import{jsx as ar}from"react/jsx-runtime";var rr="k-toolbar-popup",Yl=[],Ql={size:[s.small,s.medium,s.large],fillMode:[d.solid,d.outline,d.flat]},On={size:s.medium,fillMode:d.solid},Lo=t=>{let{size:e=On.size,fillMode:o=On.fillMode,section:r,...p}=t;return ar(R,{...p,className:n(t.className,rr),children:r?ar("span",{className:n("k-toolbar-items-list",k("k-toolbar-items-list",{size:e,fillMode:o})),children:t.children}):t.children})};Lo.states=Yl;Lo.options=Ql;Lo.className=rr;Lo.defaultOptions=On;import{jsx as NI}from"react/jsx-runtime";import{jsx as kI}from"react/jsx-runtime";import{jsx as II}from"react/jsx-runtime";import{jsx as PI,jsxs as EI}from"react/jsx-runtime";import{jsx as JI,jsxs as UI}from"react/jsx-runtime";import{jsx as oy,jsxs as ny}from"react/jsx-runtime";import{jsx as my,jsxs as dy}from"react/jsx-runtime";import{jsx as vy,jsxs as gy}from"react/jsx-runtime";import{Fragment as Oy,jsx as Ey,jsxs as zy}from"react/jsx-runtime";import{Fragment as ep,jsx as sr}from"react/jsx-runtime";var ir="k-prompt",Zl=[],jl={},tp={},W=t=>{let{...e}=t;return sr("div",{...e,className:n(t.className,ir),children:sr(ep,{children:t.children})})};W.states=Zl;W.options=jl;W.className=ir;W.defaultOptions=tp;import{jsx as np}from"react/jsx-runtime";var op="k-prompt-header",oe=t=>{let{...e}=t;return np("div",{...e,className:n(t.className,op),children:t.children})};import{Fragment as rp,jsx as lr}from"react/jsx-runtime";var ap="k-prompt-content",Lt=t=>{let{...e}=t;return lr("div",{...e,className:n(t.className,ap),children:lr(rp,{children:t.children})})};import{jsx as ip}from"react/jsx-runtime";var sp="k-prompt-view",Ct=t=>{let{...e}=t;return ip("div",{...e,className:n(t.className,sp),children:t.children})};import{jsx as pr,jsxs as pp}from"react/jsx-runtime";var lp="k-prompt-expander",wn=t=>{let{title:e,children:o,expanded:r,...p}=t;return pp("div",{...p,className:n(t.className,lp),children:[pr(_,{fillMode:"flat",icon:r?"chevron-up":"chevron-down",children:e}),r&&pr("div",{className:"k-prompt-expander-content",children:o})]})};import{jsx as mp}from"react/jsx-runtime";var cp="k-prompt-footer",Ze=t=>{let{...e}=t;return mp("div",{...e,className:n(t.className,cp),children:t.children})};import{jsx as uT}from"react/jsx-runtime";import{jsx as dp}from"react/jsx-runtime";var cr="k-prompt-send",mr={generating:!1},Le=t=>{let{generating:e=mr.generating,...o}=t;return dp(h,{...o,className:n(t.className,cr,{"k-generating":e}),icon:e?"stop-sm":"paper-plane",active:e,fillMode:"flat"})};Le.states=h.states;Le.options=h.options;Le.className=cr;Le.defaultOptions=mr;import{jsx as dr,jsxs as bp}from"react/jsx-runtime";var Co="k-fab",up=[a.hover,a.focus,a.active,a.selected,a.disabled],fp={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline,d.clear,d.link],themeColor:[l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.light,l.dark,l.inverse]},Ce={size:s.medium,rounded:f.full,fillMode:d.solid,themeColor:l.primary,type:"button"},Mt=t=>{let{size:e=Ce.size,rounded:o=Ce.rounded,fillMode:r=Ce.fillMode,themeColor:p=Ce.themeColor,text:c,icon:i,type:u=Ce.type,position:b,hover:x,focus:N,active:g,selected:m,disabled:S,...v}=t;return bp("button",{...v,type:u,className:n(t.className,Co,k(Co,{size:e,rounded:o,fillMode:r,themeColor:p}),L(Co,{hover:x,focus:N,active:g,disabled:S,selected:m}),{[`!k-pos-absolute k-${b}`]:b}),children:[i&&dr(C,{className:"k-fab-icon",icon:i}),c&&dr("span",{className:"k-fab-text",children:c})]})};Mt.states=up;Mt.options=fp;Mt.className=Co;Mt.defaultOptions=Ce;import{jsx as yT}from"react/jsx-runtime";import{jsx as fr,jsxs as Np}from"react/jsx-runtime";var ur="k-fab-item",xp=[a.hover,a.focus,a.active,a.disabled],hp=t=>{let{text:e,icon:o,align:r,hover:p,focus:c,active:i,disabled:u,...b}=t;return Np("li",{...b,className:n(t.className,ur,{[`k-text-${r}`]:r},L(ur,{hover:p,focus:c,active:i,disabled:u})),children:[fr("span",{className:"k-fab-item-text",children:e}),fr(C,{className:"k-fab-item-icon",icon:o})]})};hp.states=xp;import{jsx as wT}from"react/jsx-runtime";import{jsx as GT}from"react/jsx-runtime";import{jsx as _T}from"react/jsx-runtime";import{jsx as Sp}from"react/jsx-runtime";var br="k-prompt-stop-fab",xr={generating:!0},je=t=>{let{generating:e=xr.generating,icon:o,...r}=t;return Sp(Mt,{...r,className:n(t.className,br,{"k-generating":e}),style:{bottom:"16px",right:"16px"},position:"bottom-end",icon:e?"stop-sm":o,active:e})};je.states=h.states;je.options=h.options;je.className=br;je.defaultOptions=xr;import{jsx as vp}from"react/jsx-runtime";var hr="k-speech-to-text-button",Nr={icon:"microphone-outline"},Y=t=>{let{listening:e=!1,icon:o=Nr.icon,...r}=t;return vp(h,{...r,icon:e?"stop-sm":o,className:n(t.className,hr,{"k-listening":e})})};Y.states=h.states;Y.options=h.options;Y.className=hr;Y.defaultOptions=Nr;import{jsx as xA}from"react/jsx-runtime";import{jsx as vA}from"react/jsx-runtime";import{Fragment as Sr,jsx as to,jsxs as Kn}from"react/jsx-runtime";var vr="k-textarea",gp=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled],kp={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline]},It={size:P.defaultOptions.size,rounded:P.defaultOptions.rounded,fillMode:P.defaultOptions.fillMode,flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},dt=t=>{let{size:e=It.size,rounded:o=It.rounded,fillMode:r=It.fillMode,prefixSeparator:p=It.prefixSeparator,suffixSeparator:c=It.prefixSeparator,affixesOrientation:i=It.affixesOrientation,flow:u=It.flow,resize:b=It.resize,prefix:x,suffix:N,rows:g,value:m,placeholder:S,hover:v,focus:M,valid:y,invalid:T,required:E,disabled:G,...ut}=t;return Kn(P,{...ut,size:e,rounded:o,fillMode:r,hover:v,focus:M,valid:y,invalid:T,required:E,disabled:G,className:n(t.className,vr,{"!k-flex-col":u==="vertical","!k-flex-row":u==="horizontal"}),children:[x&&Kn(Sr,{children:[to(Z,{className:n({"!k-align-items-start":u===i}),direction:i,children:x}),p&&to(tt,{direction:u==="horizontal"?"vertical":"horizontal"})]}),to(Ke,{className:n("!k-overflow-auto",{"!k-flex-none":u==="vertical","k-resize-x":b==="x","k-resize-y":b==="y","k-resize":b==="both","k-resize-none":b==="none"}),value:m,placeholder:S,rows:g}),N&&Kn(Sr,{children:[c&&to(tt,{direction:u==="horizontal"?"vertical":"horizontal"}),to(j,{className:n({"!k-align-items-start":u===i}),direction:i,children:N})]})]})};dt.states=gp;dt.options=kp;dt.className=vr;dt.defaultOptions=It;import{jsx as EA}from"react/jsx-runtime";import{Fragment as HA,jsx as RA}from"react/jsx-runtime";import{Fragment as FA,jsx as _A}from"react/jsx-runtime";import{Fragment as sB,jsx as aB,jsxs as rB}from"react/jsx-runtime";import{jsx as mB}from"react/jsx-runtime";import{jsx as kr}from"react/jsx-runtime";var eo="k-avatar";var Lp=[a.hover,a.focus,a.active,a.selected,a.disabled],Cp={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.flat,d.outline],themeColor:[l.base,l.primary,l.secondary,l.tertiary,l.success,l.warning,l.error,l.info,l.light,l.dark,l.inverse]},ne={type:"text",size:s.medium,rounded:f.full,fillMode:d.solid,themeColor:l.primary,border:!1},Me=t=>{let{size:e=ne.size,rounded:o=ne.rounded,fillMode:r=ne.fillMode,themeColor:p=ne.themeColor,type:c=ne.type,border:i=ne.border,...u}=t;return kr("div",{...u,className:n(t.className,eo,k(eo,{size:e,rounded:o,fillMode:r,themeColor:p}),{[`${eo}-bordered`]:i}),children:kr("span",{className:`${eo}-${c}`,children:t.children})})};Me.states=Lp;Me.options=Cp;Me.className=eo;Me.defaultOptions=ne;import{jsx as NB}from"react/jsx-runtime";import{jsx as kB}from"react/jsx-runtime";import{jsx as IB}from"react/jsx-runtime";import{jsx as Ie,jsxs as yp}from"react/jsx-runtime";var Mo="k-chip",Mp=[a.hover,a.focus,a.active,a.selected,a.disabled],Ip={size:[s.small,s.medium,s.large],rounded:[f.small,f.medium,f.large,f.full],fillMode:[d.solid,d.outline],themeColor:[l.base,l.success,l.warning,l.error,l.info]},ye={size:s.medium,rounded:f.medium,fillMode:d.solid,themeColor:l.base,avatarImage:"/packages/html/assets/avatar.jpg"},oo=t=>{let{size:e=ye.size,rounded:o=ye.rounded,fillMode:r=ye.fillMode,themeColor:p=ye.themeColor,text:c,icon:i,actions:u,showAvatar:b,avatarImage:x=ye.avatarImage,hover:N,focus:g,active:m,selected:S,disabled:v,...M}=t;return yp("div",{...M,className:n(t.className,Mo,k(Mo,{size:e,rounded:o,fillMode:r,themeColor:p}),L(Mo,{hover:N,focus:g,active:m,disabled:v,selected:S})),children:[i&&Ie(C,{className:"k-chip-icon",icon:i,size:"small"}),b&&Ie(Me,{className:"k-chip-avatar",type:"image",children:Ie("img",{src:x})}),Ie("span",{className:"k-chip-content",children:t.children?t.children:c&&Ie("span",{className:"k-chip-label",children:c})}),u&&Ie("span",{className:"k-chip-actions",children:u})]})};oo.states=Mp;oo.options=Ip;oo.className=Mo;oo.defaultOptions=ye;import{jsx as Bp}from"react/jsx-runtime";var Rn="k-chip-list",Tp=[],Ap={size:[s.small,s.medium,s.large]},Cr={size:s.medium},no=t=>{let{size:e=Cr.size,...o}=t;return Bp("div",{...o,className:n(t.className,Rn,k(Rn,{size:e})),children:t.children})};no.states=Tp;no.options=Ap;no.className=Rn;no.defaultOptions=Cr;import{jsx as _B}from"react/jsx-runtime";import{jsx as UB}from"react/jsx-runtime";import{jsx as QB}from"react/jsx-runtime";import{jsx as oP}from"react/jsx-runtime";import{Fragment as lP,jsx as iP,jsxs as pP}from"react/jsx-runtime";import{Fragment as PP,jsx as AP,jsxs as BP}from"react/jsx-runtime";import{jsx as zp}from"react/jsx-runtime";var Ep="k-card-callout",Mr=t=>{let{callout:e,...o}=t;return zp("span",{...o,className:n(t.className,Ep,{[`k-callout-${$n.calloutMap[e]||e}`]:e})})};import{Fragment as Rp,jsx as Ir,jsxs as Hp}from"react/jsx-runtime";var yo="k-card",Op=[a.hover,a.focus,a.selected,a.disabled],wp={themeColor:[l.primary,l.success,l.warning,l.error,l.info]},Kp={},Gt=t=>{let{orientation:e,themeColor:o,callout:r,hover:p,focus:c,selected:i,disabled:u,...b}=t;return Hp("div",{...b,className:n(t.className,yo,k(yo,{themeColor:o}),L(yo,{hover:p,focus:c,disabled:u,selected:i}),{[`k-card-${e}`]:e,"k-card-with-callout":r}),children:[r&&r!=="true"&&Ir(Mr,{callout:r}),Ir(Rp,{children:t.children})]})};Gt.states=Op;Gt.options=wp;Gt.className=yo;Gt.defaultOptions=Kp;import{jsx as Dp}from"react/jsx-runtime";var Hn="k-card-title",Gp=[a.hover,a.focus],To=t=>{let{hover:e,focus:o,...r}=t;return Dp("div",{...r,className:n(t.className,Hn,L(Hn,{hover:e,focus:o})),children:t.children})};To.states=Gp;To.className=Hn;import{jsx as XP}from"react/jsx-runtime";import{Fragment as YP,jsx as WP}from"react/jsx-runtime";import{Fragment as aE,jsx as nE,jsxs as rE}from"react/jsx-runtime";import{jsx as pE}from"react/jsx-runtime";import{Fragment as hE,jsx as xE,jsxs as NE}from"react/jsx-runtime";import{jsx as kE}from"react/jsx-runtime";import{Fragment as BE,jsx as TE,jsxs as AE}from"react/jsx-runtime";import{Fragment as HE,jsx as KE,jsxs as RE}from"react/jsx-runtime";import{jsx as a0,jsxs as r0}from"react/jsx-runtime";import{jsx as Jp}from"react/jsx-runtime";var yr="k-panelbar",_p=[],Fp={},Xp={},ae=t=>{let{...e}=t;return Jp("ul",{...e,className:n(t.className,yr),children:t.children})};ae.states=_p;ae.options=Fp;ae.className=yr;ae.defaultOptions=Xp;import{jsx as Ao,jsxs as Tr}from"react/jsx-runtime";var Ar="k-panelbar-item",Up=[a.hover,a.focus,a.selected,a.disabled],qp={},Bo={level:0,expanded:!1,text:"Item"},Dt=t=>{let{text:e=Bo.text,level:o=Bo.level,expanded:r=Bo.expanded,header:p,hover:c,focus:i,selected:u,disabled:b,icon:x,iconClass:N,children:g,...m}=t;return Tr("li",{...m,className:n(t.className,Ar,{"k-panelbar-header":p,[`k-level-${o}`]:o||o===0,"k-expanded":r}),children:[Tr("span",{className:n("k-link",L("k-link",{hover:c,focus:i,disabled:b,selected:u})),children:[x&&Ao(C,{className:"k-panelbar-item-icon",icon:x}),N&&!x&&Ao("span",{className:`k-panelbar-item-icon ${N}`}),Ao("span",{className:"k-panelbar-item-text",children:e}),g&&Ao(C,{className:n("k-panelbar-toggle",r?"k-panelbar-collapse":"k-panelbar-expand"),icon:`chevron-${r?"up":"down"}`})]}),r&&g]})};Dt.states=Up;Dt.options=qp;Dt.className=Ar;Dt.defaultOptions=Bo;import{jsx as Zp}from"react/jsx-runtime";var Br="k-panelbar-group",Wp=[],Yp={},Qp={},Te=t=>{let{...e}=t;return Zp("ul",{...e,className:n(t.className,Br),children:t.children})};Te.states=Wp;Te.options=Yp;Te.className=Br;Te.defaultOptions=Qp;import{jsx as oc}from"react/jsx-runtime";var Pr="k-panelbar-content",jp=[],tc={},ec={},re=t=>{let{...e}=t;return oc("div",{...e,className:n(t.className,Pr),children:t.children})};re.states=jp;re.options=tc;re.className=Pr;re.defaultOptions=ec;import{Fragment as L0,jsx as k0,jsxs as C0}from"react/jsx-runtime";import{Fragment as A0,jsx as T0,jsxs as B0}from"react/jsx-runtime";import{Fragment as K0,jsx as O0,jsxs as w0}from"react/jsx-runtime";import{jsx as Z0,jsxs as j0}from"react/jsx-runtime";import{Fragment as mz,jsx as pz,jsxs as cz}from"react/jsx-runtime";import{Fragment as kz,jsx as vz,jsxs as gz}from"react/jsx-runtime";import{Fragment as Bz,jsx as Az,jsxs as Pz}from"react/jsx-runtime";import{jsx as Dn,jsxs as rc}from"react/jsx-runtime";var Er="k-suggestion-group",nc=[],ac={},zr={scrollable:!0},$t=t=>{let{scrollable:e=zr.scrollable,...o}=t,r=Dn("div",{...o,className:n(Er,t.className),children:t.children});return e?rc("div",{className:"k-suggestion-scrollwrap",children:[Dn(h,{icon:"chevron-left"}),r,Dn(h,{icon:"chevron-right"})]}):r};$t.states=nc;$t.options=ac;$t.className=Er;$t.defaultOptions=zr;import{jsx as pc}from"react/jsx-runtime";var Po="k-suggestion",sc=[a.active,a.hover,a.focus],ic={themeColor:[l.base,l.primary,l.secondary]},lc={text:"Suggestion"},xt=t=>{let{themeColor:e,active:o,hover:r,focus:p,text:c,...i}=t;return pc("span",{...i,className:n(t.className,Po,L(Po,{hover:r,active:o,focus:p}),k(Po,{themeColor:e})),children:c})};xt.states=sc;xt.options=ic;xt.className=Po;xt.item=lc;import{Fragment as iO,jsx as sO,jsxs as lO}from"react/jsx-runtime";import{Fragment as uO,jsx as dO,jsxs as fO}from"react/jsx-runtime";import{Fragment as cc,jsx as F,jsxs as Eo}from"react/jsx-runtime";var TO=t=>Eo(W,{...t,children:[F(oe,{children:Eo(V,{fillMode:"flat",children:[F(_,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",selected:!0,children:"Ask AI"}),F(_,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),F(X,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full"})]})}),F(Lt,{children:Eo(Ct,{children:[F(dt,{resize:"y",rows:1,suffixSeparator:!1,placeholder:"Ask or generate content with AI",suffix:F(cc,{children:F(Y,{fillMode:"flat"})})}),F(wn,{expanded:!0,title:"Prompt Suggestions",children:Eo($t,{scrollable:!1,children:[F(xt,{text:"Suggestion 1"}),F(xt,{text:"Suggestion 2"}),F(xt,{text:"Reply with very very very very very very very long text"})]})})]})}),F(Ze,{children:F(D,{className:"k-prompt-actions",alignment:"start",children:F(_,{icon:"sparkles",themeColor:"primary",rounded:"full",children:"Generate"})})})]});export{TO as PromptSuggestions};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-themes-html",
|
|
3
3
|
"description": "A collection of HTML helpers used for developing Kendo UI themes",
|
|
4
|
-
"version": "11.3.
|
|
4
|
+
"version": "11.3.2-dev.0",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"react": "^19.0.0",
|
|
58
58
|
"react-dom": "^19.0.0"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "a61bce1a1e2ca344905a263d2349ee7462bc1c9c"
|
|
61
61
|
}
|
|
@@ -33,7 +33,7 @@ export const PromptSuggestions = (props) => (
|
|
|
33
33
|
<SuggestionGroup scrollable={false}>
|
|
34
34
|
<Suggestion text="Suggestion 1" />
|
|
35
35
|
<Suggestion text="Suggestion 2" />
|
|
36
|
-
<Suggestion text="
|
|
36
|
+
<Suggestion text="Reply with very very very very very very very long text" />
|
|
37
37
|
</SuggestionGroup>
|
|
38
38
|
</PromptExpander>
|
|
39
39
|
</PromptView>
|
|
@@ -22,7 +22,7 @@ export default () => (
|
|
|
22
22
|
<Suggestion themeColor={themeColor} text="Hover" hover />
|
|
23
23
|
<Suggestion themeColor={themeColor} text="Focus" focus />
|
|
24
24
|
<Suggestion themeColor={themeColor} text="Active" active />
|
|
25
|
-
<Suggestion themeColor={themeColor} text="Suggestion with
|
|
25
|
+
<Suggestion themeColor={themeColor} text="Suggestion with very very very very very very very very very very very very very very very long text" />
|
|
26
26
|
</SuggestionGroupNormal>
|
|
27
27
|
</section>
|
|
28
28
|
<section>
|
|
@@ -31,7 +31,7 @@ export default () => (
|
|
|
31
31
|
<Suggestion themeColor={themeColor} text="Hover" hover />
|
|
32
32
|
<Suggestion themeColor={themeColor} text="Focus" focus />
|
|
33
33
|
<Suggestion themeColor={themeColor} text="Active" active />
|
|
34
|
-
<Suggestion themeColor={themeColor} text="Suggestion with
|
|
34
|
+
<Suggestion themeColor={themeColor} text="Suggestion with very very very very very very very very very very very very very very very long text" />
|
|
35
35
|
</SuggestionGroupWrap>
|
|
36
36
|
</section>
|
|
37
37
|
</>
|