@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
2 lines (1 loc) • 3.27 kB
JavaScript
var u=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var k=Object.prototype.hasOwnProperty;var y=(i,t)=>{for(var l in t)u(i,l,{get:t[l],enumerable:!0})},b=(i,t,l,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let d of f(t))!k.call(i,d)&&d!==l&&u(i,d,{get:()=>t[d],enumerable:!(n=g(t,d))||n.enumerable});return i};var N=i=>b(u({},"__esModule",{value:!0}),i);var A={};y(A,{SPREADSHEETCOLUMNHEADER_CLASSNAME:()=>v,SpreadsheetColumnHeader:()=>s,default:()=>$});module.exports=N(A);var a=(...i)=>i.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?a(...t):typeof t=="object"?Object.keys(t).map((l,n)=>t[n]||t[l]&&l||null).filter(l=>l!==null).join(" "):t).filter(t=>!!t).join(" ");var e=require("react/jsx-runtime"),v="k-spreadsheet-column-header",S=[],w={},x={configureSelection:{A:"partial"}},s=i=>{let{configureSelection:t=x.configureSelection,...l}=i,n=[(0,e.jsx)("div",{style:{position:"absolute",left:"0px",width:"100px",height:"30px"},children:(0,e.jsx)("div",{className:"k-vertical-align-center",children:"A"})}),(0,e.jsx)("div",{style:{position:"absolute",left:"100px",width:"215px",height:"30px"},children:(0,e.jsx)("div",{className:"k-vertical-align-center",children:"B"})}),(0,e.jsx)("div",{style:{position:"absolute",left:"315px",width:"115px",height:"30px"},children:(0,e.jsx)("div",{className:"k-vertical-align-center",children:"C"})}),(0,e.jsx)("div",{style:{position:"absolute",left:"430px",width:"115px",height:"30px"},children:(0,e.jsx)("div",{className:"k-vertical-align-center",children:"D"})}),(0,e.jsx)("div",{style:{position:"absolute",left:"545px",width:"115px",height:"30px"},children:(0,e.jsx)("div",{className:"k-vertical-align-center",children:"E"})}),(0,e.jsx)("div",{style:{position:"absolute",left:"660px",width:"155px",height:"30px"},children:(0,e.jsx)("div",{className:"k-vertical-align-center",children:"F"})}),(0,e.jsx)("div",{style:{position:"absolute",left:"815px",width:"64px",height:"30px"},children:(0,e.jsx)("div",{className:"k-vertical-align-center",children:"G"})}),(0,e.jsx)("div",{style:{position:"absolute",left:"879px",width:"64px",height:"30px"},children:(0,e.jsx)("div",{className:"k-vertical-align-center",children:"H"})}),(0,e.jsx)("div",{style:{position:"absolute",left:"943px",width:"64px",height:"30px"},children:(0,e.jsx)("div",{className:"k-vertical-align-center",children:"I"})}),(0,e.jsx)("div",{style:{position:"absolute",left:"1007px",width:"64px",height:"30px"},children:(0,e.jsx)("div",{className:"k-vertical-align-center",children:"J"})}),(0,e.jsx)("div",{style:{position:"absolute",left:"1071px",width:"64px",height:"30px"},children:(0,e.jsx)("div",{className:"k-vertical-align-center",children:"K"})}),(0,e.jsx)("div",{style:{position:"absolute",left:"1135px",width:"64px",height:"30px"},children:(0,e.jsx)("div",{className:"k-vertical-align-center",children:"L"})})],h=t?((m,o)=>m.map((r,p)=>{let c=r.props.children.props.children;return(0,e.jsx)("div",{style:r.props.style,className:a({"k-selection-partial":o[c]==="partial","k-selection-full":o[c]==="full","k-selection-none":!o[c]}),children:r.props.children},p)}))(n,t):n;return(0,e.jsx)("div",{...l,className:a(v,i.className),children:h})};s.states=S;s.options=w;s.className=v;s.defaultOptions=x;var $=s;