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