UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

2 lines (1 loc) 2.63 kB
var l=(...d)=>d.filter(i=>i!==!0&&!!i).map(i=>Array.isArray(i)?l(...i):typeof i=="object"?Object.keys(i).map((t,n)=>i[n]||i[t]&&t||null).filter(t=>t!==null).join(" "):i).filter(i=>!!i).join(" ");import{jsx as e}from"react/jsx-runtime";var c="k-spreadsheet-column-header",m=[],g={},v={configureSelection:{A:"partial"}},a=d=>{let{configureSelection:i=v.configureSelection,...t}=d,n=[e("div",{style:{position:"absolute",left:"0px",width:"100px",height:"30px"},children:e("div",{className:"k-vertical-align-center",children:"A"})}),e("div",{style:{position:"absolute",left:"100px",width:"215px",height:"30px"},children:e("div",{className:"k-vertical-align-center",children:"B"})}),e("div",{style:{position:"absolute",left:"315px",width:"115px",height:"30px"},children:e("div",{className:"k-vertical-align-center",children:"C"})}),e("div",{style:{position:"absolute",left:"430px",width:"115px",height:"30px"},children:e("div",{className:"k-vertical-align-center",children:"D"})}),e("div",{style:{position:"absolute",left:"545px",width:"115px",height:"30px"},children:e("div",{className:"k-vertical-align-center",children:"E"})}),e("div",{style:{position:"absolute",left:"660px",width:"155px",height:"30px"},children:e("div",{className:"k-vertical-align-center",children:"F"})}),e("div",{style:{position:"absolute",left:"815px",width:"64px",height:"30px"},children:e("div",{className:"k-vertical-align-center",children:"G"})}),e("div",{style:{position:"absolute",left:"879px",width:"64px",height:"30px"},children:e("div",{className:"k-vertical-align-center",children:"H"})}),e("div",{style:{position:"absolute",left:"943px",width:"64px",height:"30px"},children:e("div",{className:"k-vertical-align-center",children:"I"})}),e("div",{style:{position:"absolute",left:"1007px",width:"64px",height:"30px"},children:e("div",{className:"k-vertical-align-center",children:"J"})}),e("div",{style:{position:"absolute",left:"1071px",width:"64px",height:"30px"},children:e("div",{className:"k-vertical-align-center",children:"K"})}),e("div",{style:{position:"absolute",left:"1135px",width:"64px",height:"30px"},children:e("div",{className:"k-vertical-align-center",children:"L"})})],h=i?((x,s)=>x.map((o,u)=>{let r=o.props.children.props.children;return e("div",{style:o.props.style,className:l({"k-selection-partial":s[r]==="partial","k-selection-full":s[r]==="full","k-selection-none":!s[r]}),children:o.props.children},u)}))(n,i):n;return e("div",{...t,className:l(c,d.className),children:h})};a.states=m;a.options=g;a.className=c;a.defaultOptions=v;var A=a;export{c as SPREADSHEETCOLUMNHEADER_CLASSNAME,a as SpreadsheetColumnHeader,A as default};