@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
2 lines (1 loc) • 25 kB
JavaScript
var To=Object.create;var we=Object.defineProperty;var uo=Object.getOwnPropertyDescriptor;var bo=Object.getOwnPropertyNames;var xo=Object.getPrototypeOf,fo=Object.prototype.hasOwnProperty;var ho=(e,t)=>{for(var o in t)we(e,o,{get:t[o],enumerable:!0})},pt=(e,t,o,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of bo(t))!fo.call(e,n)&&n!==o&&we(e,n,{get:()=>t[n],enumerable:!(s=uo(t,n))||s.enumerable});return e};var No=(e,t,o)=>(o=e!=null?To(xo(e)):{},pt(t||!e||!e.__esModule?we(o,"default",{value:e,enumerable:!0}):o,e)),yo=e=>pt(we({},"__esModule",{value:!0}),e);var ol={};ho(ol,{DropdownGridNormal:()=>tl});module.exports=yo(ol);var a=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?a(...t):typeof t=="object"?Object.keys(t).map((o,s)=>t[s]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var x=(e,t)=>a({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.fillMode}-${t.themeColor}`]:t.fillMode&&t.themeColor},{[`${e}-${t.themeColor}`]:t.themeColor&&t.fillMode===void 0},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full"}),w=(e,t)=>a({"k-valid":t.valid,"k-invalid":t.invalid,"k-hover":t.hover,"k-focus":t.focus,"k-checked":t.checked,"k-active":t.active,"k-selected":t.selected,"k-disabled":t.disabled,"k-indeterminate":t.indeterminate&&!t.checked,"k-loading":t.loading,"k-empty":t.empty,"k-readonly":t.readonly,"k-highlighted":t.highlighted});var r={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},m={small:"small",medium:"medium",large:"large",full:"full"},b={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},p={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},l={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"};var mt=require("react/jsx-runtime"),ge="k-input",Lo=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],So={size:[r.small,r.medium,r.large],rounded:[m.small,m.medium,m.large,m.full],fillMode:[b.solid,b.flat,b.outline]},Me={size:r.medium,rounded:r.medium,fillMode:b.solid},N=e=>{let{hover:t,focus:o,disabled:s,invalid:n,valid:d,loading:c,readonly:T,size:u=Me.size,rounded:h=Me.rounded,fillMode:L=Me.fillMode,...v}=e;return(0,mt.jsx)("span",{...v,className:a(e.className,ge,x(ge,{size:u,rounded:h,fillMode:L}),w(ge,{hover:t,focus:o,disabled:s,invalid:n,valid:d,loading:c,readonly:T}))})};N.states=Lo;N.options=So;N.className=ge;N.defaultOptions=Me;var Tt=require("react/jsx-runtime"),Ie="k-picker",vo=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],wo={size:[r.small,r.medium,r.large],rounded:[m.small,m.medium,m.large,m.full],fillMode:[b.solid,b.flat,b.outline]},Ae={size:r.medium,rounded:m.medium,fillMode:b.solid},ke=e=>{let{hover:t,focus:o,disabled:s,invalid:n,valid:d,loading:c,readonly:T,size:u=Ae.size,rounded:h=Ae.rounded,fillMode:L=Ae.fillMode,...v}=e;return(0,Tt.jsx)("span",{...v,className:a(e.className,Ie,x(Ie,{size:u,rounded:h,fillMode:L}),w(Ie,{hover:t,focus:o,disabled:s,invalid:n,valid:d,loading:c,readonly:T})),children:e.children})};ke.states=vo;ke.options=wo;ke.className=Ie;ke.defaultOptions=Ae;var ce=require("react/jsx-runtime"),Ge="k-icon k-font-icon",go=[],Mo={size:[r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info,p.light,p.dark]},Io={},pe=e=>{let{size:t,themeColor:o,icon:s,rotate:n,flip:d,...c}=e;return s?(0,ce.jsx)("span",{...c,className:a(e.className,Ge,x(Ge,{size:t}),{[`k-i-${s}`]:s,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":d==="h"||d==="both","k-flip-v":d==="v"||d==="both"})}):(0,ce.jsx)(ce.Fragment,{})};pe.states=go;pe.options=Mo;pe.className=Ge;pe.defaultOptions=Io;var ut=pe;var W=require("react/jsx-runtime"),Ve="k-icon k-svg-icon",Ao=[],ko={size:[r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info,p.light,p.dark]},bt={viewBox:"0 0 24 24"},me=e=>{let{size:t,themeColor:o,rotate:s,flip:n,viewBox:d=bt.viewBox,icon:c,...T}=e;if(!c)return(0,W.jsx)(W.Fragment,{});c==="none"&&{...T,className:a(e.className,Ve,"k-none")};let u=typeof c=="object"&&c.name&&c.name;return(0,W.jsx)("span",{...T,className:a(e.className,Ve,x("k-icon",{size:t}),{[`k-svg-i-${u}`]:u,[`k-color-${o}`]:o,[`k-rotate-${s}`]:s,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),children:(0,W.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:d,dangerouslySetInnerHTML:typeof c=="object"?{__html:c.content}:void 0,children:c?void 0:e.children})})};me.states=Ao;me.options=ko;me.className=Ve;me.defaultOptions=bt;var $e=me;var xt=No(require("@progress/kendo-svg-icons")),C=require("react/jsx-runtime"),Ro=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Ho=[],Do={size:[r.xsmall,r.small,r.medium,r.large,r.xlarge,r.xxlarge,r.xxxlarge],themeColor:[p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info,p.light,p.dark]},Fe={viewBox:"0 0 24 24",type:"svg"},y=e=>{let{size:t,themeColor:o,icon:s,type:n=Fe.type,rotate:d,flip:c,viewBox:T=Fe.viewBox,...u}=e;if(!s)return(0,C.jsx)(C.Fragment,{});if(n==="svg"){if(s==="none")return(0,C.jsx)($e,{...u,icon:s,size:t});let h=Ro(`${s}-icon`);return xt[h]?(0,C.jsx)($e,{...u,icon:xt[h],size:t,themeColor:o,rotate:d,flip:c,viewBox:T}):(0,C.jsx)(C.Fragment,{})}return(0,C.jsx)(ut,{...u,icon:s,size:t,themeColor:o,rotate:d,flip:c})};y.states=Ho;y.options=Do;y.defaultOptions=Fe;var te=require("react/jsx-runtime"),ft="k-clear-value",Eo=[l.disabled,l.loading,l.readonly],Co={},O=e=>{let{disabled:t,loading:o,readonly:s,value:n}=e;return t||s||o||!n?(0,te.jsx)(te.Fragment,{}):(0,te.jsx)("span",{className:a(e.className,ft),children:(0,te.jsx)(y,{icon:"x"})})};O.states=Eo;O.options=Co;O.className=ft;var ht=require("react/jsx-runtime"),_e="k-input-inner",Oo=[],zo={},Re={type:"text",autocomplete:"off",value:"",placeholder:""},z=e=>{let{value:t=Re.value,type:o=Re.type,placeholder:s=Re.placeholder,autocomplete:n=Re.autocomplete,...d}=e;return(0,ht.jsx)("input",{...d,type:o,className:a(e.className,_e,x(_e,e)),placeholder:s,autoComplete:n,defaultValue:t})};z.states=Oo;z.options=zo;z.className=_e;var Te=require("react/jsx-runtime"),Je="k-input-inner",Ko=[],Po={},Xe=e=>{let{value:t,placeholder:o,showValue:s,valueIcon:n,valueIconName:d,...c}=e;return(0,Te.jsxs)("span",{...c,className:a(e.className,Je,x(Je,e)),children:[n,!n&&d&&(0,Te.jsx)(y,{className:"k-input-value-icon",icon:d}),s&&!t&&o,s&&t&&(0,Te.jsx)("span",{className:"k-input-value-text",children:t})]})};Xe.states=Ko;Xe.options=Po;Xe.className=Je;var yt=require("react/jsx-runtime"),qe="k-input-inner",Bo=[],Go={},Nt={value:"",placeholder:""},Ue=e=>{let{value:t=Nt.value,placeholder:o=Nt.placeholder,rows:s,...n}=e;return(0,yt.jsx)("textarea",{...n,className:a(e.className,qe,x(qe,e)),placeholder:o,rows:s,defaultValue:t})};Ue.states=Bo;Ue.options=Go;Ue.className=qe;var ue=require("react/jsx-runtime"),Lt="k-input-loading-icon",Vo=[l.disabled,l.loading],G=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,ue.jsx)(ue.Fragment,{}):(0,ue.jsx)("span",{className:a(e.className,Lt,"k-icon k-i-loading")})};G.states=Vo;G.className=Lt;var be=require("react/jsx-runtime"),St="k-input-validation-icon",$o=[l.valid,l.invalid,l.disabled,l.loading],Fo={},K=e=>{let{valid:t,invalid:o,disabled:s,loading:n}=e,d=o?"warning-circle":"check-circle";return s||n||!!!(t||o)?(0,be.jsx)(be.Fragment,{}):(0,be.jsx)(y,{className:a(St),icon:d})};K.states=$o;K.options=Fo;K.className=St;var xe=require("react/jsx-runtime"),_o="k-input-prefix",Jo={direction:"horizontal"},He=e=>{let{direction:t=Jo.direction,...o}=e;return e.children?(0,xe.jsx)("span",{...o,className:a(_o,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,xe.jsx)(xe.Fragment,{})};var fe=require("react/jsx-runtime"),Xo="k-input-suffix",qo={direction:"horizontal"},De=e=>{let{direction:t=qo.direction,...o}=e;return e.children?(0,fe.jsx)("span",{...o,className:a(Xo,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,fe.jsx)(fe.Fragment,{})};var Uo=require("react/jsx-runtime");var Wo=require("react/jsx-runtime");var wt=require("react/jsx-runtime"),vt="k-input-separator",Qo={direction:"vertical"},oe=e=>{let{direction:t=Qo.direction,...o}=e;return(0,wt.jsx)("span",{...o,className:a(vt,e.className,{[`${vt}-${t}`]:t})})};var k=require("react/jsx-runtime"),Ee="k-button",Yo=[l.hover,l.focus,l.active,l.selected,l.disabled],Zo={size:[r.small,r.medium,r.large],rounded:[m.small,m.medium,m.large,m.full],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[p.base,p.primary,p.secondary,p.tertiary,p.success,p.warning,p.error,p.info,p.light,p.dark,p.inverse]},Q={size:r.medium,rounded:m.medium,fillMode:b.solid,themeColor:p.base,showArrow:!1,arrowIconName:"caret-alt-down"},E=e=>{let{size:t=Q.size,rounded:o=Q.rounded,fillMode:s=Q.fillMode,themeColor:n=Q.themeColor,showArrow:d=Q.showArrow,arrowIconName:c=Q.arrowIconName,hover:T,focus:u,active:h,selected:L,disabled:v,icon:H,text:D,iconClassName:I,...A}=e,ee=H!==void 0,B=e.children!==void 0;return(0,k.jsxs)("button",{...A,className:a(e.className,Ee,x(Ee,{size:t,rounded:o,fillMode:s,themeColor:n}),w(Ee,{hover:T,focus:u,active:h,disabled:v,selected:L}),{"k-icon-button":!D&&!B&&ee}),children:[H&&(0,k.jsx)(y,{className:a(I,"k-button-icon"),icon:H}),D?(0,k.jsxs)(k.Fragment,{children:[D&&(0,k.jsx)("span",{className:"k-button-text",children:D}),e.children]}):e.children&&(0,k.jsx)("span",{className:"k-button-text",children:e.children}),d&&(0,k.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,k.jsx)(y,{icon:c})})]})};E.states=Yo;E.options=Zo;E.className=Ee;E.defaultOptions=Q;var jo=require("react/jsx-runtime");var ea=require("react/jsx-runtime");var ta=require("react/jsx-runtime");var We=require("react/jsx-runtime"),gt="k-animation-container",oa=[],aa={},Mt={positionMode:"absolute"},V=e=>{let{positionMode:t=Mt.positionMode,animationStyle:o,offset:s,...n}=e;return(0,We.jsx)("div",{...n,style:{...s,...e.style},className:a(e.className,gt,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,We.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};V.states=oa;V.options=aa;V.className=gt;V.defaultOptions=Mt;var Qe=require("react/jsx-runtime"),It="k-popup",la=[],sa={},At={positionMode:"absolute"},ae=e=>{let{offset:t,positionMode:o=At.positionMode,animationStyle:s,...n}=e;return(0,Qe.jsx)(V,{positionMode:o,offset:t,animationStyle:s,children:(0,Qe.jsx)("div",{...n,className:a(e.className,It),children:e.children})})};ae.states=la;ae.options=sa;ae.className=It;ae.defaultOptions=At;var kt=require("react/jsx-runtime"),Ce="k-actions",na=[],ia={},Ye={alignment:"start",orientation:"horizontal"},le=e=>{let{alignment:t=Ye.alignment,orientation:o=Ye.orientation,...s}=e;return(0,kt.jsx)("div",{...s,className:a(Ce,{[`${Ce}-${t}`]:t,[`${Ce}-${o}`]:o},e.className),children:e.children})};le.states=na;le.options=ia;le.className=Ce;le.defaultOptions=Ye;var Ht=require("react/jsx-runtime"),ra="k-actionsheet-footer",Rt={alignment:"stretched",orientation:"horizontal"},Ze=e=>{let{alignment:t=Rt.alignment,orientation:o=Rt.orientation,template:s,as:n=s?"div":le,...d}=e;return(0,Ht.jsx)(n,{...d,...!s&&{alignment:t,orientation:o},className:a(e.className,ra),children:e.children})};var $=require("react/jsx-runtime"),Dt="k-searchbox",da=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading],ca={size:[r.small,r.medium,r.large],rounded:[m.small,m.medium,m.large,m.full],fillMode:[b.solid,b.flat,b.outline]},je={showIcon:!0,icon:"search",size:N.defaultOptions.size,rounded:N.defaultOptions.rounded,fillMode:N.defaultOptions.fillMode},se=e=>{let{value:t,placeholder:o,size:s,rounded:n,fillMode:d,hover:c,focus:T,valid:u,invalid:h,required:L,loading:v,disabled:H,showIcon:D=je.showIcon,icon:I=je.icon,...A}=e;return(0,$.jsxs)(N,{...A,size:s,rounded:n,fillMode:d,hover:c,focus:T,valid:u,invalid:h,required:L,loading:v,disabled:H,className:a(e.className,Dt),children:[D&&(0,$.jsx)(y,{className:"k-input-icon",icon:I}),(0,$.jsx)(z,{placeholder:o,value:t}),(0,$.jsx)(G,{...e}),(0,$.jsx)(K,{...e}),(0,$.jsx)(O,{...e})]})};se.states=da;se.options=ca;se.className=Dt;se.defaultOptions=je;var pa=require("react/jsx-runtime");var S=require("react/jsx-runtime"),Et="k-textbox",ma=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],Ta={size:[r.small,r.medium,r.large],rounded:[m.small,m.medium,m.large,m.full],fillMode:[b.solid,b.flat,b.outline]},Y={showClearButton:!0,showValidationIcon:!0,size:N.defaultOptions.size,rounded:N.defaultOptions.rounded,fillMode:N.defaultOptions.fillMode,separators:!0},ne=e=>{let{size:t=Y.size,rounded:o=Y.rounded,fillMode:s=Y.fillMode,separators:n=Y.separators,showClearButton:d=Y.showClearButton,showValidationIcon:c=Y.showValidationIcon,prefix:T,suffix:u,type:h,value:L,placeholder:v,hover:H,focus:D,valid:I,invalid:A,required:ee,loading:B,disabled:U,readonly:ve,...Be}=e;return(0,S.jsxs)(N,{...Be,size:t,rounded:o,fillMode:s,hover:H,focus:D,valid:I,invalid:A,required:ee,loading:B,disabled:U,readonly:ve,className:a(e.className,Et),children:[T&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(He,{children:T}),n&&(0,S.jsx)(oe,{})]}),(0,S.jsx)(z,{placeholder:v,value:L,type:h}),c&&(0,S.jsx)(K,{valid:I,invalid:A,loading:B,disabled:U}),(0,S.jsx)(G,{loading:B,disabled:U}),d&&(0,S.jsx)(O,{loading:B,disabled:U,readonly:ve,value:L}),u&&(0,S.jsxs)(S.Fragment,{children:[n&&(0,S.jsx)(oe,{}),(0,S.jsx)(De,{children:u})]})]})};ne.states=ma;ne.options=Ta;ne.className=Et;ne.defaultOptions=Y;var ua=require("react/jsx-runtime");var Ot=require("react/jsx-runtime");var zt=require("react/jsx-runtime");var g=require("react/jsx-runtime"),Kt="k-actionsheet-titlebar",ba={},F=e=>{let{title:t,subtitle:o,actionsStart:s,actionsEnd:n,filter:d,input:c,inputValue:T,inputPlaceholder:u,adaptive:h,children:L,...v}=e;return(0,g.jsxs)("div",{...v,className:a(e.className,Kt),children:[(0,g.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[s&&(0,g.jsx)("div",{className:"k-actionsheet-actions",children:s}),!L&&(0,g.jsxs)("div",{className:"k-actionsheet-title",children:[t&&(0,g.jsx)("div",{className:"k-text-center",children:t}),o&&(0,g.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),L&&(0,g.jsx)("div",{className:"k-actionsheet-title",children:L}),n&&(0,g.jsx)("div",{className:"k-actionsheet-actions",children:n})]}),(c||d)&&(0,g.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:c?(0,g.jsx)(ne,{value:T,placeholder:u,size:h?"large":"medium"}):(0,g.jsx)(se,{placeholder:"Filter",size:h?"large":"medium"})})]})};F.className=Kt;F.defaultOptions=ba;var ie=require("react/jsx-runtime"),et="k-actionsheet-view",xa=[],fa={},ha={},re=e=>{let{adaptive:t,animated:o,children:s,header:n,footer:d,...c}=e,T=(n==null?void 0:n.type)===F&&(0,ie.jsx)(F,{adaptive:t,...n==null?void 0:n.props}),u=(d==null?void 0:d.type)===Ze&&(0,ie.jsx)(Ze,{...d==null?void 0:d.props});return(0,ie.jsxs)("div",{...c,className:a(e.className,et,{[`${et}-animated`]:o}),children:[T,(0,ie.jsx)("div",{className:"k-actionsheet-content",children:s}),u]})};re.states=xa;re.options=fa;re.className=et;re.defaultOptions=ha;var Z=require("react/jsx-runtime"),Pt="k-actionsheet",Na=[],ya={},he={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},j=e=>{let{side:t=he.side,fullscreen:o=he.fullscreen,adaptive:s=he.adaptive,overlay:n=he.overlay,template:d,children:c,header:T,footer:u,...h}=e;return(0,Z.jsxs)("div",{className:"k-actionsheet-container",children:[n&&(0,Z.jsx)("div",{className:"k-overlay"}),(0,Z.jsx)(V,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:(0,Z.jsx)("div",{...h,className:a(e.className,Pt,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":s}),children:d||(0,Z.jsx)(re,{header:T,footer:u,adaptive:s,...e,children:c})})})]})};j.states=Na;j.options=ya;j.className=Pt;j.defaultOptions=he;var La=require("react/jsx-runtime");var M=require("react/jsx-runtime"),tt="k-actionsheet-item",Sa=[l.hover,l.focus,l.selected,l.disabled],ot=e=>{let{iconName:t,text:o,description:s,hover:n,focus:d,selected:c,disabled:T,...u}=e;return(0,M.jsxs)("span",{...u,className:a(e.className,tt,w(tt,{hover:n,focus:d,selected:c,disabled:T})),children:[!e.children&&(0,M.jsx)(M.Fragment,{children:(0,M.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,M.jsx)("span",{className:"k-icon-wrap",children:(0,M.jsx)(y,{className:"k-actionsheet-item-icon",icon:t})}),(0,M.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,M.jsx)("span",{className:"k-actionsheet-item-title",children:o}),s&&(0,M.jsx)("span",{className:"k-actionsheet-item-description",children:s})]})]})}),e.children]})};ot.states=Sa;ot.className=tt;var Bt=require("react/jsx-runtime");var va=require("react/jsx-runtime");var wa=require("react/jsx-runtime");var ga=require("react/jsx-runtime");var Ft=require("react/jsx-runtime"),Vt="k-data-table",Ma=[],Ia={size:[r.small,r.medium,r.large]},$t={size:r.medium},P=e=>{let{size:t=$t.size,...o}=e;return(0,Ft.jsx)("div",{...o,className:a(e.className,Vt,x("k-table",{size:t})),children:e.children})};P.states=Ma;P.options=Ia;P.className=Vt;P.defaultOptions=$t;var Oe=require("react/jsx-runtime"),Aa="k-table-header",Ne=e=>(0,Oe.jsx)("div",{className:a(e.className,Aa),children:(0,Oe.jsx)("div",{className:"k-table-header-wrap",children:(0,Oe.jsx)(_,{children:e.children})})});var _t=require("react/jsx-runtime"),ka="k-table-body",ye=e=>(0,_t.jsx)("div",{className:a(e.className,ka,"k-table-scroller"),children:e.children});var Jt=require("react/jsx-runtime"),Ra="k-table-footer",ze=e=>(0,Jt.jsx)("div",{className:a(e.className,Ra),children:e.children});var Xt=require("react/jsx-runtime"),at="k-table",Ha=[],Da={size:[r.small,r.medium,r.large]},Ea={},_=e=>{let{size:t,...o}=e;return(0,Xt.jsx)("table",{...o,className:a(e.className,at,x(at,{size:t})),children:e.children})};_.states=Ha;_.options=Da;_.className=at;_.defaultOptions=Ea;var qt=require("react/jsx-runtime"),lt="k-table-list",Ca=[],Oa={size:[r.small,r.medium,r.large]},za={},J=e=>{let{size:t,virtualization:o,...s}=e;return(0,qt.jsx)("ul",{...s,className:a(e.className,"k-table",lt,x(lt,{size:t}),{"k-virtual-table":o}),children:e.children})};J.states=Ca;J.options=Oa;J.className=lt;J.defaultOptions=za;var Ut=require("react/jsx-runtime"),Ka="k-table-thead",de=e=>(0,Ut.jsx)("thead",{className:a(e.className,Ka),children:e.children});var Pa=require("react/jsx-runtime");var Ba=require("react/jsx-runtime");var Wt=require("react/jsx-runtime"),st="k-table-row",Ga=[l.hover,l.focus,l.selected,l.disabled,l.highlighted],X=e=>{let{hover:t,focus:o,selected:s,highlighted:n,disabled:d,alt:c,...T}=e;return(0,Wt.jsx)("tr",{...T,className:a(e.className,st,{"k-table-alt-row":c},w(st,{hover:t,focus:o,disabled:d,selected:s,highlighted:n})),children:e.children})};X.states=Ga;X.className=st;var Qt=require("react/jsx-runtime"),nt="k-table-row",Va=[l.hover,l.focus,l.selected,l.disabled],R=e=>{let{hover:t,focus:o,selected:s,disabled:n,alt:d,...c}=e;return(0,Qt.jsx)("li",{...c,className:a(e.className,nt,{"k-table-alt-row":d},w(nt,{hover:t,focus:o,disabled:n,selected:s})),children:e.children})};R.states=Va;R.className=nt;var Yt=require("react/jsx-runtime"),$a="k-table-th",q=e=>{let{text:t,colspan:o,rowspan:s,...n}=e,d=t||e.children;return(0,Yt.jsx)("th",{colSpan:o,rowSpan:s,...n,className:a(e.className,$a),children:d})};var Zt=require("react/jsx-runtime"),Fa="k-table-th",Ke=e=>{let{text:t,...o}=e,s=t||e.children;return(0,Zt.jsx)("span",{...o,className:a(e.className,Fa),children:s})};var jt=require("react/jsx-runtime"),it="k-table-td",_a=[l.focus,l.selected,l.highlighted],Pe=e=>{let{focus:t,selected:o,highlighted:s,text:n,colspan:d,rowspan:c,...T}=e,u=n||e.children;return(0,jt.jsx)("td",{colSpan:d,rowSpan:c,...T,className:a(e.className,it,w(it,{focus:t,selected:o,highlighted:s})),children:u})};Pe.states=_a;Pe.className=it;var eo=require("react/jsx-runtime"),Ja="k-table-td",f=e=>{let{text:t,...o}=e,s=t||e.children;return(0,eo.jsx)("span",{...o,className:a(e.className,Ja),children:s})};var Xa=require("react/jsx-runtime");var to=require("react/jsx-runtime"),qa="k-table-group-sticky-header",rt=e=>(0,to.jsx)("div",{className:a(e.className,qa),children:e.children});var Ua=require("react/jsx-runtime");var oo=require("react/jsx-runtime"),Wa="k-table-group-row",dt=e=>(0,oo.jsx)("li",{className:a(e.className,Wa),children:e.children});var ao=require("react/jsx-runtime");var lo=require("react/jsx-runtime");var so=require("react/jsx-runtime");var ct=require("react/jsx-runtime");var i=require("react/jsx-runtime"),no="k-dropdowngrid",ja=[l.hover,l.focus,l.valid,l.invalid,l.required,l.disabled,l.loading,l.readonly],el={size:[r.small,r.medium,r.large],rounded:[m.small,m.medium,m.large,m.full],fillMode:[b.solid,b.flat,b.outline]},Le={size:N.defaultOptions.size,rounded:N.defaultOptions.rounded,fillMode:N.defaultOptions.fillMode,separators:!0},Se=e=>{let{size:t=Le.size,rounded:o=Le.rounded,fillMode:s=Le.fillMode,separators:n=Le.separators,prefix:d,suffix:c,value:T,placeholder:u,hover:h,focus:L,valid:v,invalid:H,required:D,loading:I,disabled:A,popup:ee,opened:B,readonly:U,adaptive:ve,adaptiveSettings:Be,adaptiveTitle:co,adaptiveSubtitle:po,...mo}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(N,{...mo,size:t,rounded:o,fillMode:s,hover:h,focus:L,valid:v,invalid:H,required:D,loading:I,disabled:A,readonly:U,className:a(e.className,no,"k-combobox"),children:[d&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(He,{children:d}),n&&(0,i.jsx)(oe,{})]}),(0,i.jsx)(z,{placeholder:u,value:T}),(0,i.jsx)(K,{valid:v,invalid:H,loading:I,disabled:A}),(0,i.jsx)(G,{loading:I,disabled:A}),(0,i.jsx)(O,{loading:I,disabled:A,readonly:U,value:T}),c&&(0,i.jsxs)(i.Fragment,{children:[n&&(0,i.jsx)(oe,{}),(0,i.jsx)(De,{children:c})]}),(0,i.jsx)(E,{className:"k-input-button",icon:"caret-alt-down",rounded:null,size:t,fillMode:s})]}),B&&ee&&(0,i.jsx)(ae,{className:"k-dropdowngrid-popup",children:ee}),ve&&(0,i.jsx)(j,{adaptive:!0,...Be,header:(0,i.jsx)(F,{actionsEnd:(0,i.jsx)(E,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),input:!0,inputValue:T,inputPlaceholder:u,title:co,subtitle:po}),children:(0,i.jsx)("div",{className:"k-list-container",children:(0,i.jsxs)(P,{size:"large",children:[(0,i.jsxs)(Ne,{children:[(0,i.jsxs)("colgroup",{children:[(0,i.jsx)("col",{style:{width:"50px"}}),(0,i.jsx)("col",{style:{width:"160px"}}),(0,i.jsx)("col",{})]}),(0,i.jsx)(de,{children:(0,i.jsxs)(X,{children:[(0,i.jsx)(q,{text:"ID"}),(0,i.jsx)(q,{text:"Name"}),(0,i.jsx)(q,{text:"Job Title"})]})})]}),(0,i.jsx)(rt,{children:(0,i.jsx)(Ke,{text:"Initial group"})}),(0,i.jsx)(ye,{children:(0,i.jsxs)(J,{children:[(0,i.jsxs)(R,{children:[(0,i.jsx)(f,{text:"1",style:{width:"50px"}}),(0,i.jsx)(f,{text:"Data 1.2",style:{width:"160px"}}),(0,i.jsx)(f,{text:"Data 1.3"})]}),(0,i.jsxs)(R,{alt:!0,children:[(0,i.jsx)(f,{text:"2",style:{width:"50px"}}),(0,i.jsx)(f,{text:"Data 2.2 (alt)",style:{width:"160px"}}),(0,i.jsx)(f,{text:"Data 2.3"})]}),(0,i.jsxs)(R,{children:[(0,i.jsx)(f,{text:"3",style:{width:"50px"}}),(0,i.jsx)(f,{text:"Data 3.2",style:{width:"160px"}}),(0,i.jsx)(f,{text:"Data 3.3"})]}),(0,i.jsx)(dt,{children:(0,i.jsx)(Ke,{text:"Group"})}),(0,i.jsxs)(R,{children:[(0,i.jsx)(f,{text:"4",style:{width:"50px"}}),(0,i.jsx)(f,{text:"Data 4.2",style:{width:"160px"}}),(0,i.jsx)(f,{text:"Data 4.3"})]}),(0,i.jsxs)(R,{alt:!0,children:[(0,i.jsx)(f,{text:"5",style:{width:"50px"}}),(0,i.jsx)(f,{text:"Data 5.2 (alt)",style:{width:"160px"}}),(0,i.jsx)(f,{text:"Data 5.3"})]}),(0,i.jsxs)(R,{children:[(0,i.jsx)(f,{text:"6",style:{width:"50px"}}),(0,i.jsx)(f,{text:"Data 6.2",style:{width:"160px"}}),(0,i.jsx)(f,{text:"Data 6.3"})]})]})}),(0,i.jsx)(ze,{children:(0,i.jsx)(f,{text:"30 records in total"})})]})})})]})};Se.states=ja;Se.options=el;Se.className=no;Se.defaultOptions=Le;var io=Se;var ro=require("react/jsx-runtime"),tl=e=>(0,ro.jsx)(io,{...e});